필터 지우기
필터 지우기

USRP B210 communication using OFDM

조회 수: 16 (최근 30일)
Giti Dimrov
Giti Dimrov 2022년 5월 9일
댓글: Giti Dimrov 2022년 5월 11일
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??

답변 (1개)

Karunya Choppara
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
  댓글 수: 2
Giti Dimrov
Giti Dimrov 2022년 5월 11일
Hi Karunya,
Thank you for your answer.
I checked and apparently overrun==1 sometimes. I would not like to switch to burst mode. To overcome the overrun, should I reduce the SampleRate = MasterClockRate/DecimationFactor??
Thank you
Sigrid
Giti Dimrov
Giti Dimrov 2022년 5월 11일
I also tried to switch to burst mode, and overrun is always 0, but I can not decode anymore my packets. Can you please help me?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by