• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

MeowLucian/SDR_Matlab_OFDM_802.11n: Using Software Designed Radio to transmit MI ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

MeowLucian/SDR_Matlab_OFDM_802.11n

开源软件地址(OpenSource Url):

https://github.com/MeowLucian/SDR_Matlab_OFDM_802.11n

开源编程语言(OpenSource Language):

MATLAB 99.1%

开源软件介绍(OpenSource Introduction):

SDR_Matlab_OFDM_802.11n

npm

This simple OFDM demo is based on IEEE 802.11n 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 :

  • Matlab R2016a
  • support package for Xilinx Zynq-Based Radio (R2016a version)

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

  • data_Payload_1.mat
  • data_Payload_2.mat
  • oversamp.m
  • setstate0_TX.m

Hardware_RX.m

OFDM_RX.m

  • Long_preamble_slot_Frequency.mat
  • HTL_k_slot_Frequency.mat
  • setstate0_RX.m

RX_test

  • RX.mat
  • RX2.mat

GUI :

  • GUI_TX

Program GUI_TX

  • GUI_RX

Program GUI_RX

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

System Model :

OFDM Block Diagram

Code Function :

Implemented

  • Data Signal Mapping
  • Packet Detection
  • Coarse/Fine Frequency Offset Estimation & Compensation
  • Channel Estimation & One-Tap Equalizer
  • Data De-Mapping

Not implemented yet

  • AGC (Auto Gain Control)
  • Fine Symbol Timing Estimation
  • Convolutional Decoding
  • De-Interleaving
  • Frame check calculation (It assumes every packet is the same length)

TX System Model

  • Short Preamble
  • Long Preamble
  • HT-Long Preamble (Tone Interleaving)
  • Payload
  • TX signal

TX RX Hardware Parameters

Center Frequency 5 GHz
Baseband Sample Rate (Bandwidth) 20 MHz
Ts (Sampling time) 50 ns
Samples Per Frame 3500
PC Host IP address 192.168.3.1
TX IP address 192.168.3.2
RX IP address 192.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

  • "Delay and Correlate" algorithm for Packet Detection
  • Packet Detection (normal case) , Threshold=0.75
  • Coarse CFO Estimation & Compensation
  • Fine CFO Estimation & Compensation
  • MIMO Channel Estimation Diagram (Tone Interleaving)
  • Channel Estimation & Equalizer



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap