Abstract:In view of the weak magnetic control system of permanent magnetic synchronous motor (PMSM), the basic structure of the system is analyzed, but the system under the conventional fuzzy PID is still insufficient.In this paper, a control strategy combining fuzzy control with moth flame optimization (MFO) algorithm, constructs the current loop and speed loop in the control system and self-rectify the control parameters in real time.This paper tests the traditional PID control algorithm, fuzzy PID control algorithm, obtains the corresponding speed and torque simulation curve and analyzes the fluctuation error and recovery time. The final results show that the system recovery time under the control of the algorithm has improved 0.04s and 0.02s, compared with the traditional PI control algorithm and fuzzy PID control algorithm and anti-interference capability.