参考:https://files.ettus.com/manual/page_rdtesting.html#rdtesting_devtest_manual
总体测试步骤:
1.Without connecting the peripheral to the device, run uhd_usrp_probe on the device and verify that the lack of GPSDO is correctly reported under "sensors". No warning or error must be printed.
没装GPSDO时,probe的时候,sensor里面没有gps相关内容
2.This and the following tests are run with the peripheral connected: Run uhd_usrp_probe and verify that the GPSDO is correctly reported under "sensors". Power down the device before connecting the peripheral. The GPSDO must be reported found, and no error or warning must be printed.
装上GPSDO时,probe的时候,sensor里面出现gps相关内容
3.OCXO only: Without connecting the GPS antenna input, run utils/query_gpsdo_sensors. To pass, it must report the GPSDO as found, lock to the external reference, but then report not being locked to GPS. The tool will report a valid GPS time, and a string such as "GPS and UHD Device time are aligned" in case of success.
4.Connect a GPS antenna to the input and make sure it is in a position to receive GPS satellite data. Confirm that GPS lock is reported by running utils/query_gpsdo_sensors within 20 minutes of connecting the antenna. The tool query_gpsdo_sensors will print a string such as "GPS Locked" in case of success.
连上GPS天线后,再运行一个程序,查看信号状态。
实际实验:
USRP B210:
未装时钟源时:

未安装时运行/usr/local/lib/uhd/utils/query_gpsdo_sensors

安装后(TCXO):



USRP N310:
N310自带GPSDO,在probe的时候能直接显示出来

查看GPS信号:
关机状态下连接好GPS天线后
cd /usr/local/lib/uhd/utils
sudo ./query_gpsdo_sensors

即可验证并锁定GPS信号

本文档详细介绍了如何使用uhd_usrp_probe和query_gpsdo_sensors工具对USRP B210和N310设备进行GPSDO(GPS Discipline Oscillator)的测试。包括在未安装和安装GPSDO时的设备探测,以及连接GPS天线后的GPS锁状态验证。通过这些步骤确保设备能够正确报告GPSDO的状态并与GPS时间对齐。
2931

被折叠的 条评论
为什么被折叠?



