基于FPGA的PMSM矢量控制技术设计实现

包朝伟, 范维, 熊庚帆, 唐万韬

集成电路与嵌入式系统 ›› 2025, Vol. 25 ›› Issue (6) : 58-67.

PDF(14839 KB)
PDF(14839 KB)
集成电路与嵌入式系统 ›› 2025, Vol. 25 ›› Issue (6) : 58-67. DOI: 10.20193/j.ices2097-4191.2025.0029
FPGA前沿技术与应用研究专刊

基于FPGA的PMSM矢量控制技术设计实现

作者信息 +

Design and implementation of PMSM vector control technology based on FPGA

Author information +
文章历史 +

摘要

针对目前永磁同步电机控制广泛采用MCU和DSP串行计算导致复杂矢量控制算法动态精度不够、移植性较差等问题,搭建了基于国产FPGA的永磁同步电机(Permanent Magnet Synchronous Motors,PMSM)矢量控制系统。采用硬件描述语言(Hardware Description Language,HDL)和电子设计自动化(Electronic Design Automation,EDA)的模块化设计方法,在国产FPGA上分别进行了前馈双闭环PI控制策略、空间矢量脉宽调制(Space Vector Pulse Width Modulation,SVPWM)算法、坐标变换、编码器反馈等底层关键模块的自主设计开发,并通过Modelsim进行关键功能模块的逻辑与时序仿真测试。最终,构建了基于国产FPGA的PMSM矢量控制系统试验平台,分别进行SVPWM波形测试、在阶跃信号和方波信号等多信号输入下的速度跟踪精度测试以及芯片资源性能分析测试,验证了本系统的有效性。

Abstract

In order to solve the problems of MCU and DSP serial calculation widely used in permanent magnet synchronous motor control, insufficient dynamic accuracy and long development cycle of complex vector control algorithms, a vector control technology of Permanent Magnet Synchronous Motors (PMSM) based on domestic FPGA is proposed. By adopting the modular design methods of Hardware Description Language (HDL) and Electronic Design Automation (EDA), the dual closed-loop feedforward PI control strategy, Space Vector Pulse Width Modulation (SVPWM) algorithm, and the underlying key modules such as coordinate transformation and encoder feedback are independently designed, and the logic and timing simulation tests of key functional modules are carried out by Modelsim respectively. Finally, a PMSM vector control hardware system based on domestic FPGA is constructed. The SVPWM waveform test, the dynamic accuracy under multiple signal inputs such as step signal and square wave signal, and the chip performance test analysis are conducted, which verified the effectiveness of the design and implementation results of the proposed vector control technology for permanent magnet synchronous motor based on domestic FPGA.

关键词

FPGA / 永磁同步电机 / 前馈双闭环 / 矢量控制 / 硬件测试

Key words

FPGA / permanent magnet synchronous motor / feed forward dual closed-loop / vector control / hardware experiment

引用本文

导出引用
包朝伟, 范维, 熊庚帆, . 基于FPGA的PMSM矢量控制技术设计实现[J]. 集成电路与嵌入式系统. 2025, 25(6): 58-67 https://doi.org/10.20193/j.ices2097-4191.2025.0029
BAO Chaowei, FAN Wei, XIONG Gengfan, et al. Design and implementation of PMSM vector control technology based on FPGA[J]. Integrated Circuits and Embedded Systems. 2025, 25(6): 58-67 https://doi.org/10.20193/j.ices2097-4191.2025.0029
中图分类号: TN791   

参考文献

[1]
孙兆龙, 钱翰宁, 刘振田, 等. 基于ARM+FPGA的永磁无刷直流电机控制智能方法[J]. 海军工程大学学报, 2023, 35(1):93-98.
SUN Z L, QIAN H N, LIU Z T, et al. Intelligent method for permanent magnet brushless DC motor control based on ARM+FPGA[J]. Journal of Naval Engineering University, 2023, 35(1):93-98. (in Chinese)
[2]
周磊, 王邦继, 刘庆想, 等. 基于FPGA的多轴直流电机控制系统[J]. 强激光与粒子束, 2018, 30(1):27-32.
ZHOU L, WANG B J, LIU Q X, et al. Multi-axis DC motor control system based on FPGA[J]. High Power Laser and Particle Beams, 2018, 30(1):27-32. (in Chinese)
[3]
林方, 王煜, 付毅宾, 等. 基于FPGA的星载步进电机控制电路设计[J]. 中国空间科学技术, 2017, 37(3):77-85.
LIN F, WANG Y, FU Y B, et al. Design of FPGA-based satellite-borne stepper motor control circuit[J]. Chinese Space Science and Technology, 2017, 37(3):77-85. (in Chinese)
[4]
李俊颖, 杨志军, 邝俊澎. 基于FPGA的永磁同步电机伺服控制系统设计[J]. 机电工程技术, 2021, 50(9):30-32,241.
LI J Y, YANG Z J, KUANG J P. Design of FPGA-based permanent magnet synchronous motor servo control system[J]. Mechanical & Electrical Engineering Technology, 2021, 50(9):30-32,241. (in Chinese)
[5]
包朝伟. 基于CMOS逻辑工艺的反熔丝FPGA编程架构及其工程实现[D]. 杭州: 浙江大学, 2023.
BAO C W. Antifuse FPGA programming architecture based on CMOS logic process and its engineering implementation[D]. Hangzhou: Zhejiang University, 2023. (in Chinese)
[6]
WANG B, WANG S, PENG Y, et al. Design and high-order precision numerical implementation of fractional-order Pl controller for PMSM speed system based on FPGA[J]. Fractal and Fractional, 2022, 6(4):218.
[7]
NAOUAR M W, MONMASSON E, NAASSANI A A, et al. FPGA-Based Current Controllers for AC Machine Drives—A Review[J]. IEEE Transactions on Industrial Electronics, 2007, 54(4):1907-1925.
[8]
XU Y X, WEI Y Y, WANG B C, et al. A Novel Inverter Topology for Brushless DC Motor Drive to Shorten Commutation Time[J]. IEEE Trans. Industrial Electronics, 2016, 63(2):796-807.
[9]
孟庆仙. 基于FPGA的伺服电机控制系统设计[J]. 电子技术与软件工程, 2020(18):80-81.
MENG Q X. Design of servo motor control system based on FPGA[J]. Electronic Technology & Software Engineering, 2020(18):80-81. (in Chinese)
[10]
王杨睿. 永磁同步电机无位置传感器控制的位置误差分析与对策[D]. 哈尔滨: 哈尔滨工业大学, 2021.
WANG Y R. Analysis and countermeasures of position error in sensorless control of permanent magnet synchronous motor[D]. Harbin: Harbin Institute of Technology, 2021. (in Chinese)
[11]
吕帆. 基于FPGA的永磁同步电机矢量控制系统的研究[D]. 武汉: 华中科技大学, 2019.
LYU F. Research on FPGA-based vector control system of permanent magnet synchronous motor[D]. Wuhan: Huazhong University of Science and Technology, 2019. (in Chinese)
[12]
蒋思宇, 王斌, 余龙海, 等. 基于FPGA+AD7606的多通道数据采样系统设计与实现[J]. 电子设计工程, 2022, 30(22):103-107.
JIANG S Y, WANG B, YU L H, et al. Design and implementation of multi-channel data sampling system based on FPGA+AD7606[J]. Electronic Design Engineering, 2022, 30(22):103-107. (in Chinese)
[13]
杨扬. 基于单片机系统的电机转速测量电路设计[J]. 科学技术创新, 2021(2):183-184.
YANG Y. Design of motor speed measurement circuit based on single-chip microcomputer system[J]. Scientific and Technological Innovation, 2021(2):183-184. (in Chinese)
[14]
昌鹏, 高瑾. 基于FPGA的永磁同步电机电流环带宽拓展的比较研究[J]. 电机与控制应用, 2018, 45(1):89-93.
CHANG P, GAO J. Comparative study on current loop bandwidth expansion of permanent magnet synchronous motor based on FPGA[J]. Electric Machines & Control Application, 2018, 45(1):89-93. (in Chinese)
[15]
杜思航. 基于FOC算法的永磁同步电机控制器设计[D]. 西安: 西安电子科技大学, 2023.
DU S H. Design of permanent magnet synchronous motor controller based on FOC algorithm[D]. Xi’an: Xidian University, 2023. (in Chinese)
[16]
柳洋, 周心睿, 贾铭, 等. 基于PI控制器的PMSM矢量控制[J]. 微电机, 2021, 54(12):88-92.
LIU Y, ZHOU X R, JIA M, et al. Vector control of PMSM based on PI controller[J]. Micromotors, 2021, 54(12):88-92. (in Chinese)
[17]
彭景然. 基于FPGA的中频逆变器SVPWM算法和仿真[J]. 电子技术与软件工程, 2020(23):220-221.
PENG J R. SVPWM algorithm and simulation of medium-frequency inverter based on FPGA[J]. Electronic Technology & Software Engineering, 2020(23):220-221. (in Chinese)
[18]
韩胜, 席诗琼, 耿卫东. 基于FPGA的直流无刷电机新型控制系统设计[J]. 南开大学学报(自然科学版), 2021, 54(3):21-24.
HAN S, XI S Q, GENG W D. Novel control system design for brushless DC motor based on FPGA[J]. Journal of Nankai University (Natural Science Edition), 2021, 54(3):21-24. (in Chinese)
[19]
CHEN W, LI S, SUN W, et al. Wide Frequency PWM Rectifier Control System Based on Improved Deadbeat Direct Power Control[J]. World Electric Vehicle Journal, 2022, 13(12).
[20]
王鹏, 李梁京, 田久东, 等. 高可靠性永磁同步电机控制系统设计[J]. 制造业自动化, 2023, 45(12):131-135,162.
WANG P, LI L J, TIAN J D, et al. Design of high-reliability permanent magnet synchronous motor control system[J]. Manufacturing Automation, 2023, 45(12):131-135,162. (in Chinese)
[21]
高春伦, 高文进, 张冀, 等. 基于FPGA的电机控制器设计与性能验证[J]. 机电工程技术, 2022, 51(4):224-227.
GAO C L, GAO W J, ZHANG J, et al. Design and performance verification of FPGA-based motor controller[J]. Mechanical & Electrical Engineering Technology, 2022, 51(4):224-227. (in Chinese)
[22]
陈宇舟. 基于FOC的高速直线电机控制系统设计及Zynq实现[D]. 成都: 成都信息工程大学, 2023.
CHEN Y Z. Design of FOC-Based High-Speed Linear Motor Control System and Zynq Implementation[D]. Chengdu: Chengdu University of Information Technology, 2023. (in Chinese)

基金

深圳市重2022D006国产化高性能工业机器人控制器研发及应用(JSGGZD20220822095000001)

编辑: 薛士然
PDF(14839 KB)

Accesses

Citation

Detail

段落导航
相关文章

/