Patent attributes
A rise in the power supply voltage as a result of a sudden speed reducing command causing the motor current to flow to the power supply is prevented. The motor drive device has a drive signal generating unit for generating a drive signal by an energizing control unit, PWM control unit, and oscillation unit; a drive unit for producing drive power to drive the motor based on the drive signal; a torque control signal generating unit for generating a torque control signal specifying the motor torque; a speed detection unit for detecting the rotational speed of the motor and generating a rotational speed signal denoting motor speed information; and a decision unit for generating a speed difference detection signal denoting the difference between the torque control signal and the rotational speed signal. The drive signal generating unit is controlled based on the speed difference detection signal.