摘要:随着科学技术的进一步发展以及对节能环保的重视,人们对电机的效率、性能两方面均提出了更高的要求,永磁同步电机(PMSM)因其具有效率高、功率因数高、起动力矩大等优点得到了广泛的使用。永磁同步电机在各个领域的普及也提高了对其的控制要求,随之出现了矢量控制(FOC)、直接转矩控制(DTC)等多种高性能控制方案。
本文首先分析了永磁同步电机的工作原理、数学模型以及控制策略,以此为基础选用意法半导体的STM32F103作为控制器,设计出了此永磁同步电机矢量控制系统。本文并对整个矢量控制系统进行了详细的说明,其分为硬件、软件两部分,硬件部分包括:STM32F103主控核心电路、三相桥式逆变电路、电压电流采样电路、PWM输出电路、HALL接口电路等;软件部分又包括:初始化程序、主程序、状态机控制程序、FOC算法控制程序、上位机调试程序等。
STM32F103作为系统主控具有众多优势。其有完备的FOC解决方案,意法半导体公司为其制作了完善的PMSMFOC电机库及STMotorControlWorkbench上位机调试软件。此外该芯片性能好,价格低廉,在电机控制领域被广泛采用。STM32F103具有丰富的片内资源,有多路定时器、多通道高精度AD模块、丰富的通讯接口、霍尔检测接口等,使整个控制系统的电路设计简化。实验表明,使用STM32F103主控,配合FOC算法,可以很好的实现永磁同步电机的矢量控制。
关键词:永磁同步电动机STM32F103矢量控制SVPWM
Abstract:With the further development of science and technology and pay more attention to energy conservation and environmental protection, people have put forward higher requirements in two aspects of the performance and efficiency of the motor. The permanent magnet synchronous motor (PMSM) has been widely used because of its high efficiency, high power factor and high starting torque. Permanent magnet synchronous motor (PMSM) has been widely used in many fields, and its control requirements have also been improved. A lot of high-performance control schemes, such as vector control (FOC) and direct torque control (DTC), have been developed.
This paper analyzes the working principle of permanent magnet synchronous motor, the mathematical model and control strategy. Based on using STMicroelectronics STM32F103 as controller, I designed the permanent magnet synchronous motor vector control system. In this paper, there is a detailed description of the vector control system, which is pided into two parts of hardware and software. The hardware part includes: STM32F103 main control core circuit, three-phase bridge inverter circuit, voltage and current sampling circuit, PWM output circuit, HALL interface circuit; software part includes: initialization program, main program, state machine control program, FOC algorithm control program and PC debugging procedures.
STM32F103 has many advantages as a system master. It has a complete FOC solution, and STMicroelectronics designed a perfect PMSM FOC motor library and ST Motor Control Workbench PC debugging software for its production. In addition, the chip is widely used in the field of motor control because of its good performance and low cost. STM32F103 has rich on-chip resources, include multi-channel timers, multi-channel high-precision AD module, rich communication interface, Hall detection interface, and so on, so that the entire control system circuit design is simplified. The experimental results show that the STM32F103 master control and FOC algorithm can realize the vector control of PMSM.
Keywords: Permanent Magnet Synchronous Motor STM32F103 Field Oriented Control SVPWM
目录
第一章绪论 1
1.1永磁同步电机的特点 1
1.2永磁同步电机调速系统的发展现状与趋势 STM32F103永磁同步电机矢量控制系统设计:http://www.youerw.com/zidonghua/lunwen_204494.html