RSSI, RSRP, RSRQ, SINR in LteRealisticChannelModel

Aperta
#181 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
networking

Direzione di ricerca

Start by reading LteRealisticChannelModel.cc, especially getSINR and getRSRP, and LtePhyUe::initialize(...) where the RSRP-based RSSI value is obtained. Trace how incoming airframes and existing SINR/RSRP signals are handled, then inspect the rsrqFile.dat path and rsrqScale_/rsrqShift_. Done means runtime RSSI and RSRQ values have a defined calculation and signal path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello,

I need to estimate these values in runtime in simu5g but I'm quite confused by how these values are partially presented in the model. With RSRP and SINR it is more or less clear and for SINR there are already proper signals. But when we move to RSRQ and RSSI I'm a bit lost.

For RSSI there is a block at the beginning of LtePhyUe::initialize(...) method:

std::vector<double> rssiV = primaryChannelModel_->getRSRP(frame, cInfo);

From my understanding, RSSI can't be just RSRP, especially measuring this from a UE perspective, it needs to take channel width and other stuff into account..

Then we go to RSRQ. There is a very strange block of code that is duplicated in both getSINR and getRSRP methods. Is there any example of such a log? Where should one get it? And what are rsrqScale and rsrqShift?

   {
       int time = -1, rsrq = oldRsrq_;
       double currentTime = simTime().dbl();
       if (currentTime > oldTime_+1)
       {
           std::ifstream file;

           // open the rsrq file
           file.clear();
           file.open("rsrqFile.dat");

           file >> time;
           file >> rsrq;

           file.close();

           oldTime_ = simTime().dbl();
           oldRsrq_ = rsrq;

           std::cout << "LteRealisticChannelModel::getRSRP - time["<<time<<"] rsrq["<<rsrq<<"]" << endl;
       }

       double sinr = rsrqScale_ * (rsrq + rsrqShift_);
       std::vector<double> snrVector;
       snrVector.resize(numBands_, sinr);

       return snrVector;
   }

In short, my question is very simple: how to calculate RSSI and RSRQ parameters in runtime as it is done with both SINR and RSRP using the incoming airframes and appropriate methods from LteRealisticChannelModel.cc? Is there a way to calculate them in order to further propagate in the form of signals? If yes, then could you express how because I'm a bit lost.

With best regards
Nikita

Lingua principale
C++
Stelle
240
Fork
123
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Unipisa/Simu5G

Tutte le issue di Unipisa/Simu5G

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.