摘要 |
A system for measuring speed of a high-speed motor using a moving average filter. A position sensor generates a rotor position signal. A signal processing module determines a rotor angle from the rotor position signal. A speed observer module calculates a raw speed of the motor from the rotor angle. A filter module selectively generates a filtered speed of the motor from the raw speed of the motor. A frequency-to-period converter module calculates a rotor period from one of the raw speed of the motor and the filtered speed of the motor. A divider module calculates number of points in a moving average from the rotor period. A moving average filter module adjusts a window size of the moving average to the rotor period. A moving average filter removes ripple and harmonics of the ripple from the raw speed of the motor.
|