USRP B210 communication using OFDM
16 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to have an OFDM communication using 2 USRPs B210.
When I run the code using a channel model, it works perfectly, once I try it using the USRPs I face problems. Sometimes the packets are received and decoded correctly by the receiver, but not all the packets and it is only happening a few times. I am constantly transmitting 802.11a packets using OFDM. My packet length is 480, sampling rate is 20e6 and the configuration of the transmitted and receiver usrp are as follows:
Transmitter:
SimParams.StopTime = 1000;
SimParams.ChannelMapping = 1;
SimParams.USRPFrameLength = 480;
SimParams.USRPCenterFrequency = 2.415e9;
SimParams.USRPGain = 50;
SimParams.MasterClockRate = 60e6;
SimParams.USRPInterpolationFactor = 3;
Receiver:
SimParams.MasterClockRate = 60e6;
SimParams.USRPCenterFrequency = 2.415e9;
SimParams.USRPGain = 45;
SimParams.StopTime = 1;
SimParams.USRPDecimationFactor = 3;
SimParams.SamplesPerFrame = 48000;
SimParams.ChannelMapping = 1;
Can please someone help me understand what am I doing wrong??
0 个评论
回答(1 个)
Karunya Choppara
2022-5-10
Hi
As the sample rate is 20e6, the packet errors could be due underruns and overruns during transmit and receive https://in.mathworks.com/help/supportpkg/usrpradio/ug/detect-underruns-and-overruns.html
To avoid underruns and overruns you can try using burst mode with USRP
Also for R2021b, there are performance improvements with USRP Support Package. Please take a look into the release notes for R2021b https://in.mathworks.com/help/supportpkg/usrpradio/release-notes.html
Thanks
Karunya
另请参阅
类别
在 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!