Patent ID: 8174221

Claim:
A motor control apparatus outputs a PWM signal to an inverter when a PWM driving mode that is PWM driving of the AC motor by the inverter, and a rectangular-wave signal to the inverter when a rectangular-wave driving mode that is rectangular-wave driving of the AC motor by the inverter; the motor control apparatus comprises, a driving-pulse switching section, when switching driving control from the PWM driving mode to the rectangular-wave driving mode, for performing the switching process at a predetermined phase within a maximum pulse-width range of high-level or low-level pulses in the PWM driving mode, wherein the driving-pulse switching section performs the switching process when a vector of an AC voltage applied to the AC motor has reached the predetermined phase, which is a phase at which a voltage difference between a voltage vector in the PWM driving mode and a voltage vector in the rectangular-wave driving mode becomes a minimum.