摘要 |
PROBLEM TO BE SOLVED: To provide a motor controller in which a detection current can be obtained without requiring an amplifier having high response characteristics or a sampling and hold unit. SOLUTION: A voltage V1 obtained by filtering the voltage Vi of a shunt resistor 13 through a first voltage filter unit 14 is inputted to a current operating unit 16 along with a voltage V2 obtained by processing a voltage V0 representative of the output voltage from a control operating unit 18 through a second voltage filter unit 15. The current operating unit 16 divides the voltage V1 by the resistance of the shunt resistor 13 to calculate a current which is then divided by a duty calculated from the voltage V2 thus obtaining a detection current ID. Since an amplifier having high response characteristics or a sampling and hold unit is not required, cost reduction can be realized. |