Patent attributes
A drive device includes a motor, an inverter, an electric power storage device, and an electronic control unit. The electronic control unit is configured to generate a first pulse width modulation (PWM) signal of the switching elements by comparison of a voltage command of each phase according to a torque command of the motor and a carrier wave voltage, as a first PWM control. The electronic control unit is configured to generate a second PWM signal of the switching elements based on a modulation factor and a voltage phase of a voltage according to the torque command and a pulse count per unit cycle of an electric angle of the motor, as a second pulse width modulation control. The electronic control unit is configured to limit execution of the second PWM control when high controllability of the motor is requested rather than when the high controllability is not requested.