| In recent years, with the development of magnetic materials, computer-aided design technology, and motor control technology, the performance of permanent magnet synchronous motor (PMSM) has been greatly improved. Therefore, high-performance permanent magnet synchronous motor has been used as actuator of servo system in a variety of fields.the general situation of AC Servo System, the structure and characteristics of PMSM, the mathematic model of PMSM was introduced, then based on vector control and the coordinate transformation theory, the vector structure of PMSM are introduced. The hardware of the system, the method of estimating initialized position of the PMSM, the software of the system, and some related debugging experience, as well as the understanding of the system were designed.Firstly, it analysised all the aspects of the project and completed the design of each component by means of regulator design, based on the mathematical model of PMSM. Then it established simulation model of PMSM by MATLAB. The result of current loop simulation has showed that the regulator design method was still applicable. The design parameters need to make the appropriate fine-tuning, for the anti-EMF effects on the current loop were ignored. The result of speed loop and position loop simulation were closed to the design values, providing guidance for the actual system debugging. So it can achieve the position loop based on the speed loop. However, load changes, inertia changes, speed limiter have all affected the response, so the design parameters need to be changed .Secondly, hardware and software control system based on high-speed digital signal processor TMS320F2812 was designed. In terms of hardware, main circuit and control circuit were designed and debugged. In terms of software, we made full use of the modular design of object-oriented thinking and embedded DSP programming to design software system, which can enhance the system's portability and readability.Lastly, it completed the actual system debugging based on the hardware and software platform, and realized the initialization of rotor position using magnetic orientation.Then it gave debugging analysis and summary about the current loop and velocity loop. The experiment showed the system had good steady-state and dynamic performance, providing a good foundation for the next position loop control. |