Patent attributes
A vehicle includes an electronic control unit configured to perform control of an inverter by switching a plurality of controls including: first PWM control of generating a first PWM signal of a plurality of switching elements by comparison of voltage commands of respective phases based on a torque command of a motor with a carrier voltage and switching the plurality of switching elements; and second PWM control of generating a second PWM signal of the plurality of switching elements based on a modulation factor of a voltage and a voltage phase based on the torque command and the number of pulses in a predetermined period of an electrical angle of the motor and switching the plurality of switching elements. The electronic control unit is configured to limit execution of the second PWM control when an abnormality occurs in at least one of the current sensor or the voltage sensor.