An apparatus for controlling an inverter for driving a motor, wherein the apparatus comprises: a command voltage determination circuit section that determines a predetermined first compensation voltage (V min) as a command voltage (V ref) upon initial startup and provides the command voltage (V ref) to the inverter; a conversion circuit section that converts an output current of the inverter into a torque component current (I qse) on a synchronous reference frame; and a compensation voltage determination circuit section that determines a second compensation voltage (V comp) based upon the torque component current (I qse) and provides the second compensation voltage (V comp) to the command voltage determination circuit section, characterized in that the compensation voltage determination circuit section comprises: a first amplifier that amplifies a predetermined rated torque component current by a first gain to output the amplified rated torque component current (Iqs_rate); a subtractor that subtracts the amplified rated torque component current (Iqs rate) output from the first amplifier from the torque component current (Iqse); a comparator that compares an output of the subtractor with a predetermined reference current value to output a logic high output when the output of the subtractor is not less than the predetermined reference current value; a multiplier that multiplies the output from the comparator by the torque component current to output the torque component current when an output of the comparator is a logic high output; a low pass filter that attenuates a ripple component of the torque component current to output the torque component current from which ripple component is removed; and a second amplifier that amplifies the torque component current output from the low pass filter with a second gain and outputs the amplified torque component current as the second compensation voltage. a command voltage determination circuit section that determines a predetermined first compensation voltage (V min) as a command voltage (V ref) upon initial startup and provides the command voltage (V ref) to the inverter; a conversion circuit section that converts an output current of the inverter into a torque component current (I qse) on a synchronous reference frame; and a compensation voltage determination circuit section that determines a second compensation voltage (V comp) based upon the torque component current (I qse) and provides the second compensation voltage (V comp) to the command voltage determination circuit section, characterized in that the compensation voltage determination circuit section comprises: a first amplifier that amplifies a predetermined rated torque component current by a first gain to output the amplified rated torque component current (Iqs_rate); a subtractor that subtracts the amplified rated torque component current (Iqs rate) output from the first amplifier from the torque component current (Iqse); a comparator that compares an output of the subtractor with a predetermined reference current value to output a logic high output when the output of the subtractor is not less than the predetermined reference current value; a multiplier that multiplies the output from the comparator by the torque component current to output the torque component current when an output of the comparator is a logic high output; a low pass filter that attenuates a ripple component of the torque component current to output the torque component current from which ripple component is removed; and a second amplifier that amplifies the torque component current output from the low pass filter with a second gain and outputs the amplified torque component current as the second compensation voltage. a first amplifier that amplifies a predetermined rated torque component current by a first gain to output the amplified rated torque component current (Iqs_rate); a subtractor that subtracts the amplified rated torque component current (Iqs rate) output from the first amplifier from the torque component current (Iqse); a comparator that compares an output of the subtractor with a predetermined reference current value to output a logic high output when the output of the subtractor is not less than the predetermined reference current value; a multiplier that multiplies the output from the comparator by the torque component current to output the torque component current when an output of the comparator is a logic high output; a low pass filter that attenuates a ripple component of the torque component current to output the torque component current from which ripple component is removed; and a second amplifier that amplifies the torque component current output from the low pass filter with a second gain and outputs the amplified torque component current as the second compensation voltage.