[srsran-users] Trouble decoding E-UTRA 3.1 test model
Ben Gribble
benjgribble at hotmail.com
Mon Jan 31 13:59:15 UTC 2022
Thanks Andre,
I've been working with the gain and the attenuation and am getting a different result now, but it's still not quite right. I've adjusted the gain to get the peak PSR when attempting decode and to match the signal power on the scope with the srsRAN ENodeB signal (which seems to work fine.) the power level is now the same to within a couple of dBm but there seems to be a problem with the decode as it's not reading the number of RIBs correctly and so tries to read the rest of the signal at the wrong bandwidth and frequency. This example here is looking for a 10MHz carrier, but seems to find a 15MHz one:
$ ./pdsch_ue -f 634500000 -Q -D
Opening RF device with 1 RX antennas...
Available RF device list: UHD soapy bladeRF zmq
Trying to open RF device 'UHD'
[INFO] [UHD] linux; GNU C++ version 8.3.0; Boost_106700; UHD_3.15.0.HEAD-0-gaea0e2de
[INFO] [LOGGING] Fastpath logging disabled at runtime.
Opening USRP channels=1, args:
[INFO] [UHD RF] RF UHD Generic instance constructed
[ERROR] [UHD RF] LookupError: KeyError: No devices found for ----->
Empty Device Address
/home/user/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:930: uhd_init failed, freeing...
Unable to open RF device 'UHD'
Trying to open RF device 'soapy'
Soapy has found device #0: addr=24607:1027, driver=lime, label=LimeSDR Mini [USB 3.0] 1D53D1F9370009, media=USB 3.0, module=FT601, name=LimeSDR Mini, serial=1D53D1F9370009,
Selecting Soapy device: 0
[INFO] Make connection: 'LimeSDR Mini [USB 3.0] 1D53D1F9370009'
[INFO] Reference clock 40.00 MHz
[INFO] Device name: LimeSDR-Mini
[INFO] Reference: 40 MHz
[INFO] LMS7002M register cache: Disabled
Setting up Rx stream with 1 channel(s)
Setting up Tx stream with 1 channel(s)
[INFO] RX LPF configured
[INFO] Filter calibrated. Filter order-4th, filter bandwidth set to 5 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
[INFO] TX LPF configured
Available device sensors:
- clock_locked
- lms7_temp
Available sensors for Rx channel 0:
- lo_locked
State of gain elements for Rx channel 0 (AGC not supported):
- TIA: 9.00 dB
- LNA: 30.00 dB
- PGA: -7.00 dB
State of gain elements for Tx channel 0 (AGC not supported):
- PAD: 0.00 dB
- IAMP: 0.00 dB
Rx antenna set to LNAH
Tx antenna set to BAND1
RF device 'soapy' successfully opened
Starting AGC thread...
Tunning receiver to 634.500 MHz
[INFO] Selected RX path: LNAW
Searching for cell...
[ERROR] Tx Calibration: MCU error 5 (Loopback signal weak: not connected/insufficient gain?)
[INFO] Rx calibration finished
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
*Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=5.05, Power=50.9 dBm
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
Decoding PBCH for cell 1 (N_id_2=1)
Cell not found after 0 trials. Trying again (Press Ctrl+C to exit)
Searching for cell...
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
*Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=5.36, Power=50.9 dBm
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
Decoding PBCH for cell 1 (N_id_2=1)
Cell not found after 1 trials. Trying again (Press Ctrl+C to exit)
Searching for cell...
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
*Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=4.60, Power=51.2 dBm
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
Decoding PBCH for cell 1 (N_id_2=1)
Cell not found after 2 trials. Trying again (Press Ctrl+C to exit)
Searching for cell...
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
*Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=4.90, Power=51.1 dBm
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
Decoding PBCH for cell 1 (N_id_2=1)
Cell not found after 3 trials. Trying again (Press Ctrl+C to exit)
Searching for cell...
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
*Found Cell_id: 1 FDD, CP: Normal , DetectRatio=100% PSR=3.98, Power=50.8 dBm
Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00, Power=-inf dBm
Decoding PBCH for cell 1 (N_id_2=1)
Setting sampling rate 23.04 MHz
[INFO] RX LPF configured
SIGINT received. Exiting....8, FrameCnt: 2182, State: 0 0
Finding PSS... Peak: 1.4, FrameCnt: 2182, State: 0
Bye
Each time I run it it seems to choose a different sampling rate, seemingly at random. occationally it even gets it right by chance, but doesn't seem to progress any further.
Does anybody have any ideas?
Thanks,
Ben.
________________________________
From: Andre Puschmann <andre.puschmann at srs.io>
Sent: 25 January 2022 09:23
To: Ben Gribble <BenJGribble at hotmail.com>; srsran-users at lists.srsran.com <srsran-users at lists.srsran.com>
Subject: Re: [srsran-users] Trouble decoding E-UTRA 3.1 test model
Hey,
looks like he's getting the PSS/SSS right but then fails with the PBCH
for that cell. That usually happens when the gains aren't set correctly.
Perhaps your signal is saturating the receiver or it's too weak. Play
around with that and make sure you put enough attenuation on the wire.
Thanks
Andre
On 24/1/22 23:20, Ben Gribble wrote:
> Hi all,
>
> I'm trying to decode a 5MHz E-UTRA 3.1 test signal using the PDSCH_UE
> example and I'm having trouble.
>
> I'm transmitting the test signal using a signal generator and I can
> decode it perfectly well with a spectrum analyser, getting a solid EVM
> of 0.9%. If I run the srsRAN ENodeB instead then PDSCH_UE works fine,
> but when I run it against the test signal it never finds anything solid.
>
> I'm using a BladeRF as the receiver at the moment, although I've also
> tried a limesdr mini with pretty much the same result.
>
> Here's the output from PDSCH_UE:
>
> user at usercontrolleuser@usercontroller2:~/repos/srsRAN/build/lib/examples$
> sudo ./pdsch_ue -f 634500000 -d
> Opening RF device with 1 RX antennas...
> Available RF device list: soapy bladeRF zmq
> Trying to open RF device 'soapy'
> No Soapy devices found.
> Unable to open RF device 'soapy'
> Trying to open RF device 'bladeRF'
> Opening bladeRF...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> RF device 'bladeRF' successfully opened
> Starting AGC thread...
> Tunning receiver to 634.500 MHz
> set RX frequency to 634499998
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=75% PSR=2.54,
> Power=51.7 dBm
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> Decoding PBCH for cell 1 (N_id_2=1)
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Cell not found after 0 trials. Trying again (Press Ctrl+C to exit)
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> /home/user/repos/srsRAN/lib/src/phy/rf/rf_utils.c:207: Could not
> find any cell in this frequency
> Cell not found after 1 trials. Trying again (Press Ctrl+C to exit)
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> *Found Cell_id: 1 TDD, CP: Normal , DetectRatio=100% PSR=2.29,
> Power=51.9 dBm
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> Decoding PBCH for cell 1 (N_id_2=1)
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Cell not found after 2 trials. Trying again (Press Ctrl+C to exit)
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> *Found Cell_id: 1 FDD, CP: Normal , DetectRatio=75% PSR=2.21,
> Power=51.9 dBm
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> Decoding PBCH for cell 1 (N_id_2=1)
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Cell not found after 3 trials. Trying again (Press Ctrl+C to exit)
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> *Found Cell_id: 274 TDD, CP: Normal , DetectRatio=50% PSR=2.16,
> Power=52.6 dBm
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> Decoding PBCH for cell 274 (N_id_2=1)
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Cell not found after 4 trials. Trying again (Press Ctrl+C to exit)
> Searching for cell...
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> *Found Cell_id: 187 TDD, CP: Normal , DetectRatio=25% PSR=2.31,
> Power=52.2 dBm
> Found Cell_id: 0 FDD, CP: Normal , DetectRatio= 0% PSR=0.00,
> Power=-inf dBm
> Decoding PBCH for cell 187 (N_id_2=1)
> Set RX sampling rate 1.92 Mhz, filter BW: 1.92 Mhz
> Cell not found after 5 trials. Trying again (Press Ctrl+C to exit)
>
>
> ...and so on. the correct cell id is 1 so it gets that right some of the
> time but never seems to get any further.
>
> Am I missing something obvious here?
>
> Many thanks,
>
> Ben.
>
> _______________________________________________
> srsran-users mailing list
> srsran-users at lists.srsran.com
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.srsran.com%2Fmailman%2Flistinfo%2Fsrsran-users&data=04%7C01%7C%7Cfb7c73b8f92f466b710208d9dfe46677%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637786994323496484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2B7%2Fh%2Bj3raRf7DRmCUO3gaWl1knZGOY%2FtYX6oz5xQgA8%3D&reserved=0
--
Andre Puschmann
Software Radio Systems (SRS)
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.srs.io%2F&data=04%7C01%7C%7Cfb7c73b8f92f466b710208d9dfe46677%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637786994323496484%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=1RqVJssAnSSj%2BUm3ojnFYB0S4UIZSnn2K8ivOcKjZZs%3D&reserved=0
andre at srs.io
PGP/GnuPG key: 0x204A85DFEA324D58
fingerprint: 3924 1C60 D52E 81A2 1F2E 0C9D 204A 85DF EA32 4D58
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220131/5b73c121/attachment-0001.htm>
More information about the srsran-users
mailing list