Garbage Data received for USRP X310 using Loopback Test (Wireless Testbench)
12 次查看(过去 30 天)
显示 更早的评论
I am trying to do a LoopBack Test for USRP X310 using MATLAB 2022b's Wireless Testbench support package for NI USRP. I have successfully setup the USRP and gone through that process. I have also run the example of Loopback test given in MATLAB in the following link
I have modified and selected X310 and got the waveform as shown below. It shows there is some noise in the received signal compared to the one shown in example
Furthermore, when I tried to use some random bits for QPSK modulation and then send confirm the transmission using Loopback I am getting some ridiculously large data points. Attached is my code..!!!
The constellation point for QPSK should NOT be greater than 0.707 for both in-phase and Quadrature samples, however I am getting the following values (sample snippet)
I have been trying this in the older versions but due to the Wireless Testbench shifted to 2022b. Any helps in why I am getting this is much appreciated
Thank you..!!
0 个评论
回答(1 个)
Martin Enderwitz
2022-12-16
Hi Uzair,
I've tried your script on our own X310 setup and was unable to reproduce the noisy spectrum you've shown. The signal looks to be particularly low in power (-20 dBm at the peak) - are you using loopback cables or antennas with the radio? You may also need to adjust the values for the CaptureRadioGain and TransmitRadioGain properties on the basebandTransceiver object to tune this to your particular environment and ensure you are receiving a strong signal.
With regards to the size of the data you are receiving, the capture method of the basebandTransceiver returns data as complex int16, compared to the compelx double type being transmitted.
Finally, if you're not already familiar with the QPSK Transmitter & Reciever example, you may find this useful. In particular, you may need to incorporate recovery and synchronization on your received data to ensure your constellation plot and bit error calculations are working as expected.
Regards,
Martin
10 个评论
Martin Enderwitz
2022-12-22
If you open and inspect the code for the QPSK Transmitter & Receiver Example I mentioned previously, you'll see there's a FrameSynchronizer system object which is used within the receiver. In particular, if you look at the stepImpl method of the receiver you'll see the various stages of compensation/recovery/synchronization used on the signal before decoding and calculating the BER. Hopefully that helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Communications Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!