필터 지우기
필터 지우기

Simulink Ettus USRP SDRu Transmistter/Receiver Blocks

조회 수: 1 (최근 30일)
Ruolin Zhou
Ruolin Zhou 2015년 7월 2일
댓글: Aiden Mitio 2020년 1월 24일
Is there any way that I can use the SDRu transmitter and receiver blocks to reference a specified RF port? Currently I am unable to transmit and receive a signal without running two different simulink models at the same time.
  댓글 수: 1
Aiden Mitio
Aiden Mitio 2020년 1월 24일
I haven't been able to transmit or recieve RF signal, can you provide some insight on how you did it?

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

답변 (2개)

Ethem
Ethem 2015년 7월 7일
Hi Ruolin,
It is possible to use transmit and receive blocks in the same model, enabling you to transmit and receive at the same time. Can you explain a little more your set up so that we can give you a more detailed answer?
On the other hand, it is not possible to specify RF ports using the USRP Support Package. If the daughterboard has a Tx/Rx and Rx port, then the support package uses Tx/Rx to transmit and Rx to receive.
  댓글 수: 1
Seppeli
Seppeli 2016년 3월 23일
Hi,
if I get Ethem right, I cannot receive via the Tx/Rx ports of my Ettus B210. In GNU I can decide whether I want to receive via Rx or Tx/Rx. Is there the possibility that also the USRP SupportPackage for MATLAB supports this operation in further days?
Best!

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


John Rodgers
John Rodgers 2016년 1월 27일
Hi Ethem, I'm trying to Transmit and Receive at the same time with one USRP. This is my stream processing loop :
if radioFound
timeCounter=0;
while timeCounter<10
% Transmitter Stream processing
data_tx = step(hwav);% Generate waveform
step(radioTx,data_tx);
% Receiver Stream processing
[data_rx, len_rx] = step(radioRx);
timeCounter=timeCounter+FrameLength/FrontEndSampleRate;
end
end
It seems that it is sequential : when it sends data, it doesn't receive and vice versa. The prolem is that i just receive a part of the waveform i send. Can you please give me some advice ? Thanks in advance. John
  댓글 수: 1
Ethem
Ethem 2016년 5월 31일
This code looks like it is serial but in fact it is not. Any system that communicates with hardware uses buffers to store the received or transmitted data. The hardware driver reads and writes to these buffers in parallel (at the same time). The sequential MATLAB code sends and receives data to these buffers. The fact that you receive the data you sent also confirms this.
Why you receive the data you sent is a result of hardware + physics. First of all, there is always some amount of electrical leakage between the transmitter circuit of the radio and the receiver circuit. Also, the receiver antenna will receive signals from your transmitter antenna. You need to algorithmically handle this self-interference.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by