| CPC H02P 21/20 (2016.02) [H02P 21/22 (2016.02); H02P 27/08 (2013.01)] | 23 Claims |

|
1. A motor controller configured to drive a motor coupled to a shaft, the motor controller comprising:
a measurement interface configured to measure a mechanical angle of the shaft and a rotational speed of the shaft, and generate a speed feedback signal representative of the rotational speed;
a speed regulator comprising:
a first error component configured to receive a speed reference signal corresponding to a speed reference value and the speed feedback signal, and generate a speed error signal based on a difference between the speed reference signal and the speed feedback signal;
a proportional integral (PI) controller configured to, based on the speed error signal, regulate a torque reference value that is configured to sustain the speed reference value; and
a load torque ripple compensator configured to apply a torque feedforward function to reduce a load torque ripple in the torque reference value, wherein applying the torque feedforward function includes generating a feedforward compensation signal that matches a frequency, a magnitude, and a phase of the load torque ripple, and adding the feedforward compensation signal to an output signal of the PI controller to generate the torque reference value,
wherein the load torque ripple varies with the mechanical angle, and
wherein the load torque ripple compensator is configured to dynamically adjust a magnitude and a phase of the feedforward compensation signal in real time as a load of the motor varies over time; and
a current regulator configured to receive the torque reference value and drive motor currents of the motor for generating a torque corresponding to the torque reference value.
|