Patent ID: 8489262

Claim:
An electric vehicle controller including an AC motor, the electric vehicle controller comprising: a main circuit configured to convert a DC power supplied from a DC power source into an AC power and supply the AC power to the AC motor; a vector control unit configured to generate a switching command to instruct a switching operation of the main circuit, thereby performing vector control of the AC motor; a torque-command-value generating unit configured to generate a torque command value that is a command value of a torque that the AC motor is caused to output; and a vector-control-command-value calculating unit configured to calculate, from the torque command value, a first magnetic-flux command value for which a loss of the AC motor is minimized, and a second magnetic-flux command value that is a magnetic-flux command value when the AC motor is controlled in a one-pulse mode, calculate a first total sum of losses of the AC motor and losses of the main circuit when the AC motor is controlled by the first magnetic-flux command value and a second total sum of losses of the AC motor and losses of the main circuit when the AC motor is controlled by the second magnetic-flux command value, and output, to the vector control unit, a magnetic-flux command value corresponding to the smaller of the first and second total sum of losses.