srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.42k stars 1.13k forks source link

Time Advance Issue??? #190

Closed michalakisk closed 6 years ago

michalakisk commented 6 years ago

Hi, I am using srsENB to get the TA which is assigned to the UE. I am using USRP B205mini-i as my SDR platform. After bringing up the cell and trying to perform attachment from a very short distance [4 meters], I get an unexpected time advance value of 4, which sometimes can get 5 depending on the run. I am not sure if this is a hardware issue or is it the software. Can you please guide me on how to approach this issue?

This is what I get: [note these are additions I made to print TA in terminal window]

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Timing Advance: 4 [Preable Idx: 36] RNTI: 75 ==================== SCHED: Could not transmit RAR within the window (RA TTI=9831, Window=10, Now=9850) Disconnecting rnti=0x4b. RACH: tti=9951, preamble=27, offset=13, temp_crnti=0x4c """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Also, I have noticed than when trying to increase the number of resource blocks from 50 to 75 or 100, the cell never brings up and the code crushes without indicating any error. This happens even when using 50 sometimes.

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Reading configuration file enb.conf... Opening USRP with args: type=b200,master_clock_rate=30.72e6 -- Detected Device: B205mini -- Operating over USB 3. -- Initialize CODEC control... -- Initialize Radio control... -- Performing register loopback test... pass -- Performing CODEC loopback test... pass -- Asking for clock rate 30.720000 MHz... -- Actually got clock rate 30.720000 MHz. -- Performing timer loopback test... pass Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz Failed to connect to MME - retrying in 10 seconds Setting Sampling frequency 11.52 MHz

==== eNodeB started === Type to view trace srsLTE crashed... backtrace saved in './srsLTE.backtrace.crash'... --- exiting --- pure virtual method called terminate called without an active exception srsLTE crashed... backtrace saved in './srsLTE.backtrace.crash'... --- exiting --- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

andrepuschmann commented 6 years ago

Hey, first of all it seems there is an issue with connecting to the EPC in your run. Regarding the TA, I assume you use srsUE+B210 or similar as UE. In this case, a TA of 4 or 5 is normal because of an uncalibrated Rx/Tx time offset, so no need to worry and no issue at all.

michalakisk commented 6 years ago

Thanks for your feedback. I haven't connected EPC since I don't need it for my experiments. Can you please guide me on how to calibrate my Rx and Tx paths? I have a b205mini-i which I guess has similar RF characteristics as b210 considering they use the same RFIC from AD. The UE I am using is a COTS UE.

Thanks again Michalis

On Tue, 3 Jul 2018, 13:17 Andre Puschmann, notifications@github.com wrote:

Hey, first of all it seems there is an issue with connecting to the EPC in your run. Regarding the TA, I assume you use srsUE+B210 or similar as UE. In this case, a TA of 4 or 5 is normal because of an uncalibrated Rx/Tx time offset, so no need to worry and no issue at all.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/srsLTE/srsLTE/issues/190#issuecomment-402094009, or mute the thread https://github.com/notifications/unsubscribe-auth/AYKl7tV0c0jqkS-INc2Hanm57U3dBzkRks5uC0S7gaJpZM4U-V_2 .