Home

Awesome

SDR_Matlab_OFDM_802.11a

npm

This simple OFDM demo is based on IEEE 802.11a OFDM format for testing SDR hardware.

Using Software Designed Radio (SDR) to transmit OFDM signals at 5 GHz.

Transmitter and Receiver hardware : Zedboard (Xilinx Zynq®-7000) + AD9361 (Analog Device-FMCOMMS3)

Hardware

Software needed :

Before executing this code, please follow this tutorial to install support package for Xilinx Zynq-Based Radio in Matlab.

Code Structure :

Please open multiple Matlab windows to run Hardware_TX.m and Hardware_RX.m respectively.

Hardware_TX.m

TX_signal.mat

OFDM_TX.m

Hardware_RX.m

OFDM_RX.m

RX_test

GUI :

Program GUI_TX

Program GUI_RX

Video Demo : https://www.youtube.com/watch?v=gNmMxtsWckw Program GUI gif

System Model :

OFDM Block Diagram

<img src="https://raw.githubusercontent.com/MeowLucian/SDR_Matlab_OFDM_802.11a/master/Picture/OFDM_Block_Diagram.png" width="800">

Code Function :

Implemented

Not implemented yet

TX System Model

<img src="https://raw.githubusercontent.com/MeowLucian/SDR_Matlab_OFDM_802.11a/master/Picture/TX%20System%20Model.png" width="500">

TX RX Hardware Parameters

Center Frequency5 GHz
Baseband Sample Rate (Bandwidth)20 MHz
Ts (Sampling time)50 ns
Samples Per Frame3000
PC Host IP address192.168.3.1
TX IP address192.168.3.2
RX IP address192.168.3.3

The way to change Hardware IP / Mac address

Edit newip.sh file in SD card

# Flush existing config
ip addr flush dev eth0
ip link set dev eth0 down
# Set up new config
ip addr add 192.168.3.3/24 dev eth0
ip link set eth0 address 00:0A:35:00:01:23
ip route add default via 192.168.3.1
ip link set dev eth0 up

Then, use router DHCP hand setting mode to distribute network configuration parameters :

Router setting

RX System Model

<img src="https://raw.githubusercontent.com/MeowLucian/SDR_Matlab_OFDM_802.11a/master/Picture/RX%20System%20Model.png" width="300">