| With the rapid development of servo control technology, the requirement of servo system is higher and higher in practical application. Permanent magnet synchronous motors (PMSM) have the advantages of small volume, high efficiency, high reliability, low loss, high power density, fast response etc. So the PMSM has been widely used in industrial control, and gradually become one of the first choice for the servo system. Therefore, permanent magnet synchronous motor servo system of high performance and strong adaptability has great economic and social benefits. And this paper mainly focuses on the research of the controller parameters auto tuning of PMSM servo system, which can improve the performance of the servo system controller.Firstly, the development status and future development trend of servo system and PID parameter tuning method are introduced, and the structure and mathematical model of permanent magnet synchronous motor are analyzed. The mathematical model of permanent magnet synchronous motor in d-q coordinate system is obtained by means of coordinate transformation. This paper introduces the principle of vector control, and uses the id=0 vector control method as the control strategy of this system.Secondly, the current loop and speed loop controller of PMSM servo system are designed, and the disadvantages of the traditional PI controller are analyzed. In order to overcome the shortcomings of traditional controller, this paper proposes a fuzzy PI parameter self-tuning controller for the speed loop to replace the traditional PI controller. A simulation model of the control system is set up by MATLAB/Simulink software. The simulation results verify the effectiveness of the controller design, and provide a reference for the design of the software and hardware of the system.Thirdly, the software of the whole control system is designed by using modular thought, C language and assembly language. These programs include:interrupting the main program, timer T1 underflow subroutine, subprogram of SVPWM generation, motor rotor initial position detection subroutine, motor speed calculation subroutine and so on. And the design flow chart of the relevant program is given.Finally, the experimental platform of the control system is built by using the DSP TMS320F2812 control panel, permanent magnet synchronous motor and permanent magnet synchronous motor drive board. And the interface circuit of photoelectric encoder and current sampling circuit are designed. Then the current loop and the speed loop of PMSM servo system are carried out on the experimental platform, the current curve of the motor and the speed response curve under different conditions are obtained. Through the comparative analysis of the experimental curves, it can be known that the system has fast response speed and strong anti-interference ability. The results verify the feasibility of the designed controller, and it proves that this control method can improve the performance of permanent magnet synchronous motor servo system controller. |