0

I'm currently using two USRP X310, one for transmitting and another one for receiving. Programming is done using GNU Radio. I want to transmit a chirp signal to find the distance between both USRPs.

However, before I can do it, I need to find out the receiving time of the signal. Anyone know how to do it using GNU radio?

4

2 回答 2

2

GNU Radio UHD 源将rx_time在流媒体开始时和每次流媒体中断后生成流标签,这将为您提供第一个样本的设备时间。之后,就是那个时间+n_samples_since_tag / sampling_rate来获取当前时间。

有关详细信息,这里不容易解释,但在官方文档中很好地介绍了。

于 2015-02-27T17:49:57.813 回答
0

rx_time 标签可能会给出 USRP 接收噪声的时间,而不是接收所需信号的时间。我能想到的唯一方法是计算信号的 FFT 并获得 FFT 的 PSD 超过一定水平的时间

于 2016-01-17T11:30:50.560 回答