Patent attributes
A control device includes a PWM control unit that executes PWM control over an alternating-current motor mounted on a vehicle. The PWM control unit includes an alarm sound generation processing unit and a slip determination unit. The slip determination unit determines whether a drive wheel coupled to the alternating-current motor is slipping on the basis. of a d-axis current (Id), a q-axis current (Iq), a d-axis voltage command value (Vd) and a q-axis voltage command value (Vq) of the alternating-current motor. When the drive wheel is not slipping, the alarm sound generation processing unit generates an alarm sound from the alternating-current motor by adding a variation value (ΔV) to the d-axis voltage command value (Vd) at a predetermined interval. When the drive wheel is slipping, the alarm sound generation processing unit temporarily stops adding the variation value (ΔV) to the d-axis voltage command value (Vd).