This project is the code complimenting this paper:
it requires MATLAB, the MATLAB USRP communications toolbox, and 2 USRPs
Photos of the application running:
-
Clone repository to local machine
-
open two separate terminal sessions
-
In each start matlab
-
In 1 instance of matlab open runOFDMradarRx.m - This script compiles and runs:
- runOFDMradarRx.m
- velocity1B.m
-
In a 2nd instance of matlab open TxofdmRadarTop.m - This script compiles and runs:
- TxrunOFDMradar.m
-
Connect 2 USRPs to USB ports:
-
ensure USRP platform is configured in TxrunOFDMradar.m & runOFDMradarRx.m ofdmRadarReceiver.Platform='B210'; ofdmRadarTransmitter.Platform = 'B210';
-
make sure serial number is configured in TxrunOFDMradar.m & runOFDMradarRx.m ofdmRadarReceiver.SeralNum='30D0D3E'; ofdmRadarTransmitter.SeralNum = '30D0D28';
-
make sure you are transmitting/receiving on expected port / antennas are wired correctly.
-
Set ChannelMapping appropriately in runOFDMradarRx & TxrunOFDMradar: 'ChannelMapping', 1, ...
-
-
Hit run on each matlab session (each will take a while to compile an begin upwards of 45s - 1 minute)
-
runOFDMradarRx.m should display a plot once it starts receiving transmitted OFDM symbols