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)
Before executing this code, please follow this tutorial to install support package for Xilinx Zynq-Based Radio in Matlab.
Please open multiple Matlab windows to run Hardware_TX.m
and Hardware_RX.m
respectively.
TX_signal.mat
OFDM_TX.m
OFDM_RX.m
Video Demo : https://www.youtube.com/watch?v=gNmMxtsWckw
- Short Preamble
- Long Preamble
- Payload
- TX signal
Center Frequency | 5 GHz |
---|---|
Baseband Sample Rate (Bandwidth) | 20 MHz |
Ts (Sampling time) | 50 ns |
Samples Per Frame | 3000 |
PC Host IP address | 192.168.3.1 |
TX IP address | 192.168.3.2 |
RX IP address | 192.168.3.3 |
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 :
- "Delay and Correlate" algorithm for Packet Detection
- Packet Detection (normal case) , Threshold=0.75
- Packet Detection (problem case & deselect the imperfect packet)
- Coarse CFO Estimation & Compensation
- Fine CFO Estimation & Compensation
- Channel Estimation & Equalizer
【实例简介】 整个802.11a协议的仿真,包括发射端和接收端,所有设置均严格按照协议标准 【实例截图】 【核心代码】 802.11a_OFDM_MATLAB └── 802.11a OFDM MATLAB ├── channel.m ├── create_freq_offset.m ├── get_bits_per_symbol.m ├── get_channel_ir.m ├── get_n_
【实例简介】 802.11a标准编写的OFDM matlab程序,对初学者有用 【实例截图】 【核心代码】 8f422d022625 └── 802.11a OFDM MATLAB仿真代码!(推荐) ├── channel.m ├── get_bits_per_symbol.m ├── get_channel_ir.m ├── get_n_antennas.m ├── get_punc_param