| In recent years,we pay more and more attention to the research and development of green energy products due to the aggravation of environmental pollution and energy shortage.Electric vehicles which is environmentally friendly and convenient is praised by people.Electric vehicles will become the mainstay of the automobile industry in the future.The motor drive system of electric vehicle is an important part which affects the performance of electric vehicle.The PMSM has the advantages of small in size,light weight and good control.So it is the first choice of drive system.It is very important to study the control strategy of PMSM for the practical application in life.This study introduces the development of DTC technology and the research status at home and abroad.It analyses the development and application of sliding mode control and the advantages of model-based design.It establishes the mathematical model of PMSM.This study analyses the SVPWM technology.According to the principle of direct torque control and the principle of direct torque control based on sliding mode control,the model of SIMULINK system is established.Then the system is improved according to the simulation results,and the improved super-twisting sliding mode control mode is obtained.The model-based automatic code generation technology is applied to overcome the disadvantages of low efficiency and long cycle in traditional code development.According to the requirements of the control system,the STM32F407ZGT6 of ST company is chosen as the hardware main control chip and the IPM-PS21A79 of Mitsubishi company as the driving module.The hardware control system is designed to verify the feasibility of the code. |