摘要 |
According to the present invention, a CPU (210) drives an inverter (220) on the basis of a commanded number of rotations inputted from a host ECU (100) at preset updating intervals. At this time, the CPU (210) obtains the actual number of rotations of an electric motor (230) and calculates an acceleration rate and a deceleration rate at which the actual number of rotations reaches the commanded number of rotations at the point of time when the updating interval finishes, on the basis of the updating interval and the difference between the actual number of rotations and the commanded number of rotations. The CPU (210) then drives the inverter (220) so that the electric motor (230) rotates at the corresponding rate. Therefore, since the actual number of rotations of the electric motor (230) does not reach the commanded number of rotations before the updating interval finishes, the repetition of the acceleration or the deceleration and constant rotation of the electric motor (230) does not occur at each updating interval. Consequently, the generation of noise caused by repetition of the acceleration or the deceleration and the constant rotation of the electric motor can be prevented. |