摘要 |
PROBLEM TO BE SOLVED: To provide a motor controller which can perform feedback control properly on the basis of motor current even when the motor current contains ripples.SOLUTION: A motor controller 100 has: a current detection section 7 for detecting current flowing to a DC motor 200; a low pass filter 8 for removing ripples from the current detected by the current detection section 7; a speed detection section 30 for extracting the ripples from the current detected by the current detection section 7 and detecting rotation speed of the DC motor 200 on the basis of the ripples; a speed controller 2 for outputting a current instruction value on the basis of the comparison result between the speed instruction value and the detection speed; a current controller 3 for outputting a voltage instruction value on the basis of the comparison result between the current instruction value and the detection current outputted from the low pass filter 8; and a motor driving section 20 for driving the DC motor 200 on the basis of the voltage instruction value. |