This paper designs a permanent magnet synchronous motor controller based on STM32. The space vector control algorithm is introduced. The space vector control algorithm and SVPWM are realized based on STM32. The speed and current loop PID regulator can make the accurate control of permanent magnet synchronous motor. This paper presents the hardware and software design of the control system and software architecture. The result shows that the controller design is feasible and it can be widely applied to various CNS.
Read full abstract