The controller 22 receives an actual rotation angle of the rotary electric machine 20 and a detected signal of three-phase alternating currents from a resolver 52 and current sensors 54A 54B as the signals associated with the rotary electric machine 20. The controller 22 receives detected signals of pedal depression amounts from an accelerator pedal depression amount sensor and a brake pedal depression amount sensor (not shown) as other vehicle information.
The controller 22 includes the CNV controller 13 as part of the controller 22. The controller 22 and the CNV controller 13 may be incorporated in a single computer. When part of resources, such as the CPU and the memory, are allocated to the CNV controller 13, the CNV controller 13 is able to operate independently of the controller 22. The controller 22 and the CNV controller 13 may be formed of separate computers.