DOI:10.3969/j.issn.1003-5060.2023.04.007
PMSM 驱动系统建模及其实时仿真平台设计
尤浩哲,苏建徽,施永,解宝,赖纪东
(合肥工业大学电气与自动化工程学院,安徽合肥230009)
摘要
硬件在环实时仿真系统可以方便电机控制策略测试,显著缩短电机控制策略的研发周期,文章针对永磁同步电机(permanent magnet synchronous machine,PMSM)驱动系统,建立PMSM+三相逆变器主电路数学模型,并运用改进的CORDIC算法,利用System Generator(SG)搭建系统被控对象仿真模型,基于Xilinx公司ZYNQ开发板,设计一套基于现场可编程门阵列(field programmable gate array,FPGA)和LabVIEW虚拟示波的实时仿真平台,在该平台上对SG建立的逆变器主电路及电机系统模型进行硬件在环仿真。测试结果与Simulink中仿真结果对比表明,该文建立的基于FPGA的电机驱动系统硬件在环仿真模型能够准确模拟电机变频系统的运行特性。
关键词
永磁同步电机(PMSM);现场可编程门阵列(FPGA);实时仿真;改进 CORDIC 算法;建模
中图分类号:TM341
文献标志码:A
文章编号:1003-5060(2023)04-0468-05
Modeling of PMSM drive system and design of real-time simulation platform
YOU Haozhe, SU Jianhui, SHI Yong, XIE Bao, LAI Jidong
(School of Electrical Engineering and Automation, Hefei University of Technology, Hefei 230009, China)
Abstract
The hardware-in-the-loop real-time simulation system can facilitate the testing of motor control strategies and significantly shorten the development cycle of motor control strategies. Focusing on the permanent magnet synchronous machine (PMSM) drive system, this paper establishes the mathematical models of the PMSM and the three-phase inverter respectively. An improved CORDIC algorithm is proposed, and the simulation model of controlled object is built using System Generator(SG). Based on the Xilinx ZYNQ development board, a real-time simulation platform based on field programmable gate array (FPGA) and LabVIEW virtual oscilloscope is designed. The hardware-in-the-loop simulation on the inverter and the motor system models built by SG is carried out on the platform. The comparison between the test results and the simulation results in Simulink shows that the FPGA-based hardware-in-the-loop simulation model of the motor drive system established can accurately simulate the operation characteristic of the motor variable frequency system.
Keywords
permanent magnet synchronous motor(PMSM); field programmable gate array(FPGA); real-time simulation; improved CORDIC algorithm; modeling
收稿日期:2021-03-09
修回日期:2021-04-15
基金项目:国家自然科学基金资助项目(51907045);安徽省自然科学基金资助项目(1908085QE238)和中央高校基本科研业务费专项资金资助项目(PA2020GDGP0053)