中圖分類號: TN919.5,;TP391.9;TP274 文獻(xiàn)標(biāo)識碼: A DOI:10.16157/j.issn.0258-7998.211283 中文引用格式: 疏成成,,蘇建徽,,施永,等. 基于LabVIEW和FPGA的半實(shí)物仿真平臺的設(shè)計與實(shí)現(xiàn)[J].電子技術(shù)應(yīng)用,,2021,,47(10):57-62. 英文引用格式: Shu Chengcheng,Su Jianhui,,Shi Yong,,et al. Design and implementation of a hardware-in-the-loop simulation platform based on LabVIEW and FPGA[J]. Application of Electronic Technique,2021,,47(10):57-62.
Design and implementation of a hardware-in-the-loop simulation platform based on LabVIEW and FPGA
Shu Chengcheng1,,2,Su Jianhui1,,2,,Shi Yong1,2,,Xie Bao1,,2,Lai Jidong1,,2
1.Photovoltaic System Ministry of Education Engineering Center,,Hefei 230009,China,; 2.School of Electrical and Automation Engineering,,Hefei University of Technology,,Hefei 230009,China
Abstract: Aiming at the teaching experiment of undergraduate or graduate students in power electronics, based on LabVIEW and simple FPGA board, a high cost-effective hardware in the loop real-time simulation teaching experiment platform for power electronics is designed. The simulation platform system is composed of upper computer and FPGA board. The man-machine interface and experimental waveform data display are based on LabVIEW software platform. Data exchange with FPGA board is realized through Ethernet. The platform system can download and install various circuit topology models and HIL real-time simulation experiments.
Key words : hardware-in-the-loop simulation platform,;LabVIEW,;FPGA;Ethernet control
0 引言
半實(shí)物實(shí)時仿真的技術(shù)有兩種方式:一種是快速控制原型(Rapid Control Prototyping,,RCP)采用“虛擬控制器+實(shí)際對象”方式,;另一種是硬件在回路(Hardware in Loop,HIL)采用“實(shí)際控制器+虛擬對象”方式,,主要應(yīng)用于電力電子系統(tǒng)控制器軟件的開發(fā),。半實(shí)物實(shí)時仿真的應(yīng)用領(lǐng)域非常廣泛,涉及軌道交通,、風(fēng)電,、光伏發(fā)電、新能源汽車,、電力系統(tǒng),、工業(yè)傳動等[1-5]。半實(shí)物仿真的硬件在回路(HIL)仿真的方式是將數(shù)學(xué)化的實(shí)體模型和實(shí)際控制器聯(lián)系在一起運(yùn)行的仿真系統(tǒng)[6-7],。相對于純計算機(jī)軟件仿真,,半實(shí)物仿真具有有效性、可重復(fù)性,、經(jīng)濟(jì)性,、安全性等諸多優(yōu)點(diǎn),是一種更接近實(shí)際情形的仿真技術(shù)[8-11],。