In order to solve the problem that the permanent magnet synchronous motor is sensitive to the external disturbance and the internal parameter perturbation, a self-learning sliding mode control method is proposed. A class of nonlinear smoothing functions is designed and applied to the extended state observer and the sliding mode approximation law, and the stepless descent method is used to update the gain parameters of the sliding mode controller in real time. The simulation results show that compared with the traditional PI control method, the control method not only has the advantages of fast...