An inverter control device for driving a motor with small size, light
weight and low cost is provided. The inverter control device includes a
first motor voltage command corrector that corrects a voltage command of
each phase by multiplying the each phase voltage command by a PN voltage
correction coefficient, and a second motor voltage command corrector that
corrects again the each phase voltage command once corrected by the first
motor voltage command corrector, only when any one of the phase voltage
commands corrected by the first motor voltage command corrector is larger
than the inverter DC voltage, by multiplying the voltage command of each
phase corrected by the first motor voltage command corrector by the
inverter DC voltage value, and dividing the product of the multiplication
by the maximum value of the phase voltage commands corrected by the first
motor voltage command corrector.