Abstract:The traditional PI optimization method is difficult to meet the application of permanent magnet synchronous motor (PMSM) in highspeed, highprecision and load change. Therefore, based on the honey badger algorithm (HBA), combined with the tent map and normal cloud, an improved HBA is designed to optimize the PI parameters, so as to improve the control accuracy and speed of the PMSM speed loop and current loop control. The tent map is used to improve the distribution uniformity in the initialization stage of the algorithm and strengthen the global development ability in the early stage of the algorithm; The second group of honey badgers is generated by using the normal cloud to update the best position in the same generation, and strengthen the ability of jumping out of the local optimization. During the optimization process, the normal cloud model is dynamically changed to improve the local search ability. Using MATLAB/Simulink for simulation comparison, the improved HBA has certain advantages in adjustment time, stability and so on. It is a new algorithm that can be used in PMSM speed control system.