# FPGA Adaptive Beamforming with HDL Coder and Zynq RFSoC
## Overview
These models will demonstrate how to design and implement the minimum-variance
distortionless-response (MVDR) adaptive beamforming algorithm on the Xilinx®
Zynq UltraScale+™ RFSoC platform. By following a Model-Based Design strategy,
we show how the MVDR beamformer can be articulated in MATLAB, Simulink,
Fixed-Point and HDL. We further demonstrate a prototyping workflow by deploying
the beamformer to the ZCU111 RFSoC evaluation board for run-time testing,
debugging and visualization.
## MVDR Demo Files
### mvdr_hdl_sim ###
This model uses the phased array toolbox to demonstrate high-level modeling
of adaptive beamforming processing. Comparisons are made to various elaborated
versions of the same design starting originally in floating point then
to eventual fixed-point HDL. Blocks from the fixed-point toolbox were used
to aid in this design for computing the adaptive weights using QR decomposition.
Two examples for 4x4 and 16x16 MVDR matrix solves have been provided.
### zcu111_mvdr_demo ###
This HDL model uses the same algorithm from the previous design but now integrates
it for a ZCU111 RFSoC evaluation kit. Using 4 channels of ADC and DAC looped
back on itself, a beam is electronically steered out the DAC and then processed
by the ADC. Using four inputs, a 4x4 covariance matrix is composed and then
QR decomposition is applied to yield optimal steering weights that augment the
desired steering angle. A QPSK signal of interest is resolved in the presence of
interference which is artificially introduced in the transmit signal.
##### Required software #####
Xilinx Vivado 2020.2
MATLAB R2021b with the following add-ons:
- Simulink
- HDL Coder
- Fixed-Point Designer
- DSP System Toolbox
- Communications Toolbox
- Phased Array System Toolbox
- [HDL Coder Support Package for Xilinx RFSoC Devices](https://www.mathworks.com/hardware-support/rfsoc-hdl-coder.html )
##### Run the demo #####
1. Ensure the ZCU111 board has been configured with the SD card provided by the HDL Coder RFSoC Support Package.
See [this page](https://www.mathworks.com/help/releases/R2021b/supportpkg/xilinxrfsocdevices/ug/guided-sd-card-setup.html) for more information.
2. On the XM500 balun card, connect the differential ADC cables for the ADC Tile 2 (Channel 0 and 1) and Tile 3 (Channel 0 and 1)
to the DAC Tile 0 Channel 0 1 2 and 3. See [section below](#adcdac-loopback-wiring-details) for more details.
3. Power-on the board and program the prebuilt FPGA bitstream:
`>> program_board('BitfilePath','binaries/zcu111_mvdr.bit')`
4. After the board reboots, run the setup script to configure the RF Data Converter:
`>> setup_rfsoc`
5. Run "RFSoC_MVDR_Demo.mlapp" by right clicking on it and selecting "run" or running it from the MATLAB command prompt:
`>> RFSoC_MVDR_Demo`
<img src = "mvdr_app.png" width="600">
You can use this UI app to adjust the angle of arrival for the signal of interest and the interference.
To regain stable constellation, change the "Azimuth Angle" value to the signal of interest by adjusting the slider
to the same angle. Measurements from the MVDR optimized weights are read back from the device to show the beamforming
response and how nulls are placed to minimize interference.
##### Build the demo #####
To rebuild the bitstream from scratch, follow these instructions.
1. Open "TxSteering_RxMVDR_4x4_HDL_IQ.slx"
2. Right-click on the "DUT" subsystem, then click HDL Code → HDL Workflow Advisor
3. In the HDL Workflow Advisor, right-click on step 4.3, then click "Run to selected task".
For more details on the individual steps of HDLWFA, please see this [example](https://www.mathworks.com/help/releases/R2021b/supportpkg/xilinxrfsocdevices/ug/DACAndADCLoopbackDataCaptureExample.html).
4. Wait for the Vivado command window to show that bitstream generation has finished.
5. Run provided utility function to program the board:
NOTE: You must use this to program the board instead of HDL WFA step 4.4.
`>> program_board`
6. Proceed from step 4 in the Demo instructions.
##### ADC/DAC Loopback Wiring Details #####
To loop back the 4 DAC and ADC channels with the XM500 board you will need to make the following connections:
<img src = "xm500_wiring.png" width="400">
Because these connections are differential, you will need SMA DC Blocks.
Connection details:
- RFMC_ADC_04 connects to RFMC_DAC_00
- RFMC_ADC_05 connects to RFMC_DAC_01
- RFMC_ADC_06 connects to RFMC_DAC_02
- RFMC_ADC_07 connects to RFMC_DAC_03
The above names refer to labels on the XM500. Match the SMA connectors to the above physical labels of the XM500.
Each label represents a specific tile/channel:
- ADC Tile 2 Ch0 maps to RFMC_ADC_04
- ADC Tile 2 Ch1 maps to RFMC_ADC_05
- ADC Tile 3 Ch0 maps to RFMC_ADC_06
- ADC Tile 3 Ch1 maps to RFMC_ADC_07
- DAC Tile 0 Ch0 maps to RFMC_DAC_00
- DAC Tile 0 Ch1 maps to RFMC_DAC_01
- DAC Tile 0 Ch2 maps to RFMC_DAC_02
- DAC Tile 0 Ch3 maps to RFMC_DAC_03
Note that the PN differential connections pair up such that P connects to N.
## Documentation: Background Theory of Operation ##
A PDF file "FPGA_Adaptive_Beamforming_with_HDL_Coder_and_Zynq_RFSoC.pdf" has been included.
### Introduction: Motivation and Challenges
- Applications: Radar, Comms and Wireless (5G)
- Hardware FPGA challenges
### Theory and Implementation
- Linear algebra
- QR Decomposition
- Matrix Divide
### Zynq RFSoC and HDL Coder Implementation
- MATLAB MVDR reference code
- HDL Coder implementation
- Hardware Prototyping – live demo
The license used in this contribution is the XSLA license, which is the most common license for MathWorks staff contributions.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
该存储库包含 FPGA/HDL 演示了多种波束成形和雷达设计。 提供 Simulink 模型和 MATLAB 参考代码来展示各种雷达和阵列处理算法的高级仿真和 HDL 设计。 演示列表: 适用于 RFSoC ZCU111 的 MVDR 4x4 自适应波束形成 ZCU111 上的距离多普勒 HDL 模拟和硬件测试/瞄准 This repository contains FPGA/HDL demonstrations several beamforming and radar designs. Simulink models and MATLAB reference code are provided to showcase high-level simulation and HDL designs of various radar and array processing algorithms. List of demos: MVDR 4x4 adaptive beamforming for RFSoC ZCU111
资源推荐
资源详情
资源评论
























收起资源包目录





































































































共 135 条
- 1
- 2
资源评论


xuanwenchao
- 粉丝: 2539
- 资源: 70
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 【平安证券-2025研报】策略周报:迎接两会政策窗口.pdf
- 3-运输车间牵引网络布置图20231125.dwg..bin
- 【平安证券-2025研报】晨会纪要.pdf
- 【平安证券-2025研报】电子行业:中国ICT支出稳定增长,全球AIPC渗透加速.pdf
- 【平安证券-2025研报】地产行业周报:板块关注度有所提升,节后楼市超市场预期.pdf
- 【平安证券-2025研报】海外宏观周报:关税风险再升,美债美元走强.pdf
- 【平安证券-2025研报】宏观动态跟踪报告:“美国例外论”反转.pdf
- 【平安证券-2025研报】行业周报:我国风电整机出口步伐加快,印度推出光伏强制配储政策.pdf
- 【平安证券-2025研报】金融行业周报:绿色金融高质量发展方案出台,强化AIC投资引领.pdf
- 【平安证券-2025研报】基金双周报:ETF市场跟踪报告.pdf
- 【平安证券-2025研报】酒类出海系列报告(三)东南亚篇:白酒行业突围新蓝海,第二增长曲线或渐显.pdf
- 【平安证券-2025研报】另类资产观察:REITs转跌,可转债建议关注低价、地产产业链.pdf
- easycode模板案例
- elasticsearch.txt
- elasticsearch.txt
- elasticsearch.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
