According to the space vector PWM technology, the voltage vector needed is selected, and the action time of the adjacent voltage vector is calculated, so as to output the corresponding inverter control signal, and then control the switch state of the inverter, so as to realize the continuous and stable operation of the permanent magnet synchronous motor.