This article focuses on deploying a high-fidelity Halfwave Rectifier Simulation Model (containing Simscape™ blocks) in FPGA using NI VeriStand. The workflow in the article is divided into
three categories for deploying the Half Wave Rectifier Model directly on FPGA at the target rate of
40MHz for a closed-loop simulation system.
- Compile the Half Wave Rectifier Simscape Model to Simulink HDL Implementation Model - Using Simscape HDL Workflow Advisor.
- Convert Simulink HDL Implementation Model into NI FPGA Bit Files - Using the HDL Coder Support Package for NI FPGA Hardware Add-On for generating bit files for NI FPGA hardware from HDL Coder by providing LabVIEW FPGA integration.
- Deploying the Generated Half Wave Rectifier bit file on FPGA Real-Time Target Using NI VeriStand- Using FPGA Add-On Custom Device
The outcome of this article is to demonstrate the enhanced workflow of deploying Simscape models on NI FPGA to be tested in real-time targets using NI VeriStand. The intended audiences are users who work closely with Model-In-Loop & Hardware-In-Loop Validation Testing.
Pre Requisite Knowledge Required:
- Matlab Simulink® Modeling
- NI VeriStand 2021 R2
- FPGA Addon Custom Device
- IP to FPGA Conversion Utility