| Permanent magnet synchronous motor (PMSM) has outstanding characteristic of high energy density, simple structure, high efficiency, small Inertia moment, so it is widely applied in several fields such as robot, lathe, aeronautics and astronautics and etc, and gradually takes the place of DC motor and step motor, meanwhile, people put forward higher and higher demand on the cost performance of permanent magnet synchronous motor servo system. In this background, base on STM32F103RDT6, this paper carries out research and development of the permanent magnet synchronous motor servo system with the purpose of improving the cost performance.In this paper, vector control theory and current control strategy in servo control system is analyzed based on the detailed derivation of the mathematical model of permanent magnet synchronous motor, the SVPWM modulation strategy and its implementation is expound. Based on MATLAB/Simulink, the AC servo system simulation model is established, and a double closed-loop control for current and speed is accomplish, the simulation results verify the validity of the design.The hardware platform and software design is completed on the basis of the analysis of theory and simulation, and the design of the servo system debugging software is completed using Visual Basic. An in-depth study on some technique problems such as speed measurement, detecting rotor initial position, eliminating dead-time effects, is carried out, and some innovative solutions is presented.Finally, the performance test of the effect of dead-time effect eliminating, the current following performance, speed following performance, position servo performance, and the phase current is carried out, and the result is analyzed carefully. The results indicate that the servo system has a good dynamic and static performance, all of these lay the solid foundation for the follow-up study. |