Patent attributes
A motor control device selectively turns on or off a drive transistor in-accordance with a PWM control signal Sp, such that a drive current Im supplied to a motor is adjusted. The device also samples and holds a motor current Sm for obtaining a motor current value Ih. With reference to the motor current value Ih, the device protects the motor from an overcurrent. Sampling and holding of the motor current Sm is performed for a sampling and holding time Ts. The sampling and holding time Ts corresponds to a time period between a first point in time when the level of the PWM control signal Sp is switched for turning off the drive transistor and a second point in time that precedes the first point in time by a predetermined period. As a result, the motor current value Ih is detected with high accuracy.