Patent ID: 8813905

Claim:
A rotating electrical machine control device for controlling a rotating electrical machine that has a winding group including a plurality of windings corresponding to a plurality of phases, comprising: a target current value calculation section that calculates target current values supplied to the respective windings; a pulse width modulation (PWM) signal generation section that generates PWM signals having pulse shape for the respective windings based on the target current values calculated by the target current value calculation section; a voltage application section that applies voltages to the respective windings based on the PWM signals generated by the PWM signal generation section; and a control section that controls the target current value calculation section, the PWM signal generation section, and the voltage application section to control driving of the rotating electrical machine, wherein when the control section stops the driving of the rotating electrical machine, the control section controls the PWM signal generation section to generate the PWM signals such that a timing of a pulse change in the PWM signal of at least one of the phases is different from timings of pulse changes in the PWM signals of the other phases by controlling the target current value calculation section to calculate the target current value supplied to at least one of the windings to be a predetermined value other than zero.