In view of the disadvantages of the traditional high-frequency square wave signal injection method in the low-speed operation of high-power interior permanent magnet synchronous motor (IPMSM), such as the large error of rotor position calculation and delay of position update, a method based on high-frequency square wave signal injection is proposed to obtain an effective vector action current through oversampling. When the vector is zero, the current changes to not zero, but when the vector is effective, the current changes greatly. In the traditional sampling and calculation methods, the change of the zero-vector is ignored, resulting in errors, especially in the case of small power, and the errors are more obvious. Through the method of oversampling the current of the effective vector, the high-frequency response current of the effective vector is obtained. Through the reasonable demodulation method, the high-frequency response current of the effective vector is extracted, and then the rotor position information is obtained through the phase-locked loop. On this basis, the influence of the inherent nonlinear characteristics of the motor system and the sampling delay on the calculation of the rotor position is analyzed, and the error is compensated to obtain a more accurate rotor position.