开源无线网络-OSRAN

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1320|回复: 1

【求助】空口没有解码到PBCH信号

[复制链接]

6

主题

13

帖子

97

积分

注册会员

Rank: 2

积分
97
发表于 2020-12-10 16:47:03 | 显示全部楼层 |阅读模式
分支:ngap-wf-1120-srb-gtp
环境:Ubuntu 18.04.3 LTS X86_64
命令:
GNB侧:./targets/bin/nr-softmodem.Rel15 -E  -O ./gnb.conf --do-ra
GNB配置:
      absoluteFrequencySSB                                          = 500208;

      dl_frequencyBand                                                 = 41;

      dl_absoluteFrequencyPointA                                       = 499200;

        dl_offstToCarrier                                              = 0;

        dl_subcarrierSpacing                                           = 1;
        dl_carrierBandwidth                                            = 106;

        initialDLBWPlocationAndBandwidth                                        = 13475;

        initialDLBWPsubcarrierSpacing                                           = 1;

        initialDLBWPcontrolResourceSetZero                                      = 12;
        initialDLBWPsearchSpaceZero                                             = 0;

      ul_frequencyBand                                                 = 41;

      ul_offstToCarrier                                              = 0;

      ul_subcarrierSpacing                                           = 1;
      ul_carrierBandwidth                                            = 106;

        initialULBWPlocationAndBandwidth                                        = 13475;

        initialULBWPsubcarrierSpacing                                           = 1;


nrUE侧: ./targets/bin/nr-uesoftmodem.Rel15  --numerology 1 -r 106  -C 2501040000 --ue-scan-carrier --ue-txgain 70 --ue-rxgain 90  -E --usrp-args type=b200 --do-ra -T -U 1

运行结果:
GNB侧:
[HW]   RX Gain 0 114.000000 (49.800000) => 64.200000 (max 76.000000)
[HW]   USRP TX_GAIN:89.75 gain_range:89.75 tx_gain:0.00

...
TYPE <CTRL-C> TO TERMINATE
Entering ITTI signals handler
[PHY]   ru_thread_prach() RACH waiting for RU to be configured
[PHY]   ru_thread_prach() RU configured - RACH processing thread running
[PHY]   RU 0 rf device ready
[PHY]   RU 0 no asynch_south interface
ru_thread_tx ready
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
[PHY]   gNB 0 frame 0, subframe 0 : previous information from RU tx 0 (num_RU 1,mask 1) has not been served yet!
[MAC]   [gNB 0] Frame 8 : MIB->BCH  CC_id 0, Received 3 bytes
[MAC]   [gNB 0] Frame 16 : MIB->BCH  CC_id 0, Received 3 bytes
[MAC]   [gNB 0] Frame 24 : MIB->BCH  CC_id 0, Received 3 bytes
[MAC]   [gNB 0] Frame 32 : MIB->BCH  CC_id 0, Received 3 bytes


nrUE侧:
[HW]   RX Gain 0 90.000000 (49.800000) => 40.200000 (max 76.000000)
[HW]   USRP TX_GAIN:19.75 gain_range:89.75 tx_gain:70.00
[HW]   Actual master clock: 46.080000MHz...
[HW]   Actual clock source internal...
[HW]   Actual time source internal...
[HW]   RF board max packet size 1916, size for 100µs jitter 4608
[HW]   rx_max_num_samps 1916
[HW]   RX Channel 0
[HW]     Actual RX sample rate: 46.080000MSps...
[HW]     Actual RX frequency: 2.501040GHz...
[HW]     Actual RX gain: 40.000000...
[HW]     Actual RX bandwidth: 40.000000M...
[HW]     Actual RX antenna: RX2...
[HW]   TX Channel 0
[HW]     Actual TX sample rate: 46.080000MSps...
[HW]     Actual TX frequency: 2.501040GHz...
[HW]     Actual TX gain: 19.750000...
[HW]     Actual TX bandwidth: 40.000000M...
[HW]     Actual TX antenna: TX/RX...
[HW]     Actual TX packet size: 1916
[HW]   Device timestamp: 2.359897...
[HW]   [RRU] has loaded USRP B200 device.
10 Dec 16:30:55 ntpdate[13945]: adjust time server 172.19.1.64 offset 0.014141 sec
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
sleep...
[PHY]   [SCHED][UE] Check absolute frequency DL 2501040000, UL 2501040000 (oai_exit 0, rx_num_channels 1)
[PHY]   Starting sync detection
[PHY]   [UE thread Synch] Running Initial Synch (mode 0)
[PHY]   [UE] nr_synchro_time: Sync source = 2, Peak found at pos 305244, val = 7537049 (69 dB) avg 61 dB, ffo 0.000000
PSS execution duration 155128 microseconds
[PHY]   [UE0] Initial sync : Estimated PSS position 305244, Nid2 2
[PHY]   sync_pos 305244 ssb_offset 305136
[PHY]   Calling sss detection (normal CP)
[PHY]   [UE0] Initial sync: starting PBCH detection (rx_offset 0)
[PHY]   TDD Normal prefix: CellId 881 metric 1089, phase 1, pbch -1
[PHY]   [UE] nr_synchro_time: Sync source = 0, Peak found at pos 17512, val = 8553649 (69 dB) avg 61 dB, ffo 0.000000
PSS execution duration 154172 microseconds
[PHY]   [UE0] Initial sync : Estimated PSS position 17512, Nid2 0
[PHY]   sync_pos 17512 ssb_offset 17404
[PHY]   Calling sss detection (normal CP)
[PHY]   [UE0] Initial sync: starting PBCH detection (rx_offset 0)
[PHY]   TDD Normal prefix: CellId 627 metric 1290, phase 5, pbch -1
[PHY]   [UE0] Initial sync : Estimated power: 0 dB
[PHY]   [initial_sync] trying carrier off -100 Hz, rxgain 90 (DL 2501039900, UL 2501039900)
Setting USRP TX Freq 2501039900.000000, RX Freq 2501039900.000000
[PHY]   [SCHED][UE] Check absolute frequency DL 2501040000, UL 2501040000 (oai_exit 0, rx_num_channels 1)
[PHY]   Starting sync detection


问题:
都是do-ra, 走射频板,UE 没有成功解码PBCH,可能是UE和GNB频率没有对应上。另外GNB侧tx-gain配置读取值为0,不太正常。GNB怎么配置tx-gain?
回复

使用道具 举报

4

主题

22

帖子

220

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
220
发表于 2020-12-14 21:35:01 | 显示全部楼层
射频线直连,10db衰减,ue和gnb都不设置gain的值。可以试一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|OpenXG  

Copyright © 2001-2013 Comsenz Inc.Template by Comsenz Inc.All Rights Reserved.

Powered by Discuz!X3.2

快速回复 返回顶部 返回列表