The invention discloses a motor and a control method and device thereof, a storage medium and a
computer program product, and the method comprises the steps: arranging an
inductance filtering module between the output end of an
inverter and the input end of the motor, obtaining the parameters of the motor before the motor is powered on, and obtaining the parameters of the
inductance filtering module; according to the parameters of the motor and the parameters of the
inductance filtering module, inductance filtering compensation
voltage of the inductance filtering module is determined; in a
vector control system of the power supply control end of the motor,
vector control is carried out according to the parameters of the motor and the inductance filtering compensation
voltage of the inductance filtering module, and a
control signal of an
inverter is determined, so that the
inverter controls the motor to operate based on the
control signal of the inverter. According to the scheme, the inductance filter is added to the output end of the inverter in the power supply control end of the motor, and inductance filtering
voltage compensation is added on the basis of motor
vector control, so that current
harmonics can be suppressed, the motor performance can be improved, and few resources are occupied.