摘要 |
A motor controller is provided to improve an erroneous operation of a motor by detecting a noise from an output of a position sensor and compensating for the output based on the noise. A motor driver(6) supplies a current to a motor. A motor current transmitter(7) detects a motor current. A controller(50) receives the motor current and outputs a driving signal to the motor driver. The controller includes an instruction calculator(51), an error detector(53), and a regenerative operation determining unit(59). The instruction calculator calculates a motor current instruction value corresponding to a target value. The error detector generates an error signal when the difference between the motor current and the motor current instruction value is greater than a predetermined value. The regenerative operation determining unit determines a regenerative operation state of the motor. During the regenerative operation state, the threshold value is set to be greater than a reverse operation value.
|