中国电子科学研究院学报2024,Vol.19Issue(4) :315-322.DOI:10.3969/j.issn.1673-5692.2024.04.003

基于FPGA的永磁同步电机SVPWM的数字电路设计

Digital Circuit Design of SVPWM of Permanent Magnet Synchronous Motor Based on FPGA

邵乐乐 刘恒 邵建龙
中国电子科学研究院学报2024,Vol.19Issue(4) :315-322.DOI:10.3969/j.issn.1673-5692.2024.04.003

基于FPGA的永磁同步电机SVPWM的数字电路设计

Digital Circuit Design of SVPWM of Permanent Magnet Synchronous Motor Based on FPGA

邵乐乐 1刘恒 1邵建龙1
扫码查看

作者信息

  • 1. 昆明理工大学信息工程与自动化学院,云南昆明 650504
  • 折叠

摘要

针对永磁同步电机矢量控制算法中的空间矢量脉冲宽度调制(Space Vector Pulse Width Modulation,SVPWM)在现场可编程门阵列(Field-Programmable Gate Array,FPGA)中不能直接实现正余弦计算、无理数乘法的问题进行优化设计.设计了基于查表法和一次线性补偿的正余弦数值计算、有符号数的√3乘法计算模块,并使用Cyclone Ⅳ FPGA的硬件乘法器资源,对反Park变换、扇区判断和三相作用时间的计算进行了时序约束,对输入电机编码器数值、旋转坐标系的V_d和V_q参数经过进行计算,输出带死区功能的三相七段式PWM控制信号.在FPGA中实现SVPWM算法精度为3.0×10-5,计算时间为1.6 μs,对比高性能STM32F429微处理器有一定优势,满足了永磁同步电机的矢量控制要求.

Abstract

This article focuses on the optimization design of space vector pulse width modulation(SVP-WM)in the vector control algorithm of permanent magnet synchronous motors,which cannot directly a-chieve sine and cosine calculation and irrational number multiplication in the field programmable gate ar-ray(FPGA).Sine and cosine numerical calculation module based on lookup table method and linear compensation,as well as a number root sign 3 multiplication calculation module.Utilized the hardware multiplier resources of Cyclone Ⅳ FPGA,timing constraints were applied to the calculation of inverse Park transform,sector judgment,and three-phase action time.Implemented the input of motor encoder values and rotation coordinate system V_d and V_q.The parameter is calculated and outputs a three-phase seven segment PWM control signal with dead zone function.The accuracy of SVPWM algorithm is 3×10-5 and the computation time is 1.6 µs in FPGA.It has some advantages compared with high per-formance STM32F429 microprocessor and meets the requirement of vector control of PMSM.

关键词

SVPWM/查找表/Cyclone//FPGA/永磁同步电机/矢量控制/数字电路

Key words

SVPWM/lookup table/Cyclone Ⅳ FPGA/permanent magnet synchronous motors/vector control algorithm/digital circuit

引用本文复制引用

基金项目

国家自然科学基金资助项目(61971208)

出版年

2024
中国电子科学研究院学报
中国电子科学研究院

中国电子科学研究院学报

CSTPCD
影响因子:0.663
ISSN:1673-5692
参考文献量16
段落导航相关论文