| Permanent magnet synchronal motor (PMSM) is the main implementing component of digital control machine tool and the robot control etc. With the development of rare earth permanent magnetic material, manufacturing techniques of PMSM, power electronics and microprocessor, the control of PMSM is becoming a new development in AC electric drives. Based on the excellent performance and importance, PMSM has been widely studied and used.In this dissertation, the author firstly analyzed the structure character of PMSM; secondly, introduced the strategy of vector control on PMSM; finally, we adopted the strategy of i_d=0. The model of vector control based on current hysteresis band control and SVPWM control was founded. Then the simulation reseach of vector control on different inverter control methods has been done, which authenticated SVPWM control strategy is superior to current hysteresis band control menthod. After designing the frame of decoupling control, the mathematical model of decoupling control on PMSM is presented. We adopted general PI control strategy in current control, a kind of fuzzy PI control method was used in the speed loop.As for hardware, intelligent power module (IPM) PS21564 is used as the core of power circuit, the filter circuit, current collection circuit, velocity/position collection circuit and protection circuit were designed. In the DSP control circuit, we chose TMS320LF2407A as the core of control circuit. At last, a kind of controller of the full digital is completed.As for software, interrupt method was chose as the main scheme to realize the control function. Most programs were designed in PWM interrupt service program module. The flow charts of timer interrupt service program routines and main programs of vector control were given. In order to unite all the variables in the program, scaling and PU model were used.In the conclusion, the author listed the testing results of motor's rotate speed, authenticating the design of software and hardware, it is precise and logical. |