摘要 |
PROBLEM TO BE SOLVED: To provide a motor controller capable of exhibiting early rising of the motor current, and executing motor drive control at a constant period after the transition of the constant current control.SOLUTION: A motor controller comprises: a H bridge circuit 100 for on-off controlling a current Im flowing through a motor 110; a drive instruction signal generation part 300 for generating a drive instruction signal Vs which is a pulse signal having a predetermined drive frequency and duty; a current detection circuit 400 for outputting a comparison output signal Vc by comparing a current detection signal Vi of the motor current Im with the target signal Va; a latch circuit 500 for keeping a current detection result based on an ON signal of the drive instruction signal Vs and the comparison output signal Vc; a gate circuit 600 for driving a drive circuit 200 based on the ON signal and a latch output signal Vr from the latch circuit; and a control part 800 for controlling changing of duty of the drive instruction signal Vs on the drive instruction signal generation part 300 based on the current detection result of the latch circuit. |