Aiming at the wide speed range robust disturbance rejection speed tracking problem of interior permanent magnet synchronous motor (IPMSM) in electric vehicles, a high performance IPMSM nonlinear control technology is proposed. The maximum torque pea ampere (MTPA) scheme and flux weakening scheme are used to realize the wide speed range operation of IPMSM, and the algorithm is simplified by Taylor expansion. To eliminate the differential noise of the virtual controller, a second-order sliding mode differentiator is introduced to estimate its derivative, and an error compensation signal is designed. In addition, to improve the anti-interference ability of the system in the wide speed range, a disturbance observer is designed to estimate the load torque, the feedforward compensation is performed on the controller, and the integral sliding mode control (SMC) is combined to enhance the robustness of the system. Finally, the stability of the system is proved by Lyapunov stability criterion. The hardware in loop (HIL) platform of IPMSM is built based on FPGA, which verifies that the controller designed has excellent anti-interference ability and robustness.