Patent ID: 8294395

Claim:
A controller for an AC rotary machine comprising: voltage application means for applying a voltage to the AC rotary machine on the basis of a voltage command on the stationary reference frame; current detecting means for detecting a current of the AC rotary machine and outputting a detection current on the stationary reference frame; first reference frame transformation means for transforming the reference frame of the detection current on the stationary reference frame on the basis of an arbitrary phase and outputting a detection current on the rotating reference frame; first current control means for outputting a first voltage command on the rotating reference frame on the basis of the detection current on the rotating reference frame and a current command on the rotating reference frame which gives command regarding a current to be supplied to the AC rotary machine; second reference frame transformation means for transforming the reference frame of the first voltage command on the rotating reference frame on the basis of the arbitrary phase and outputting a first voltage command on the stationary reference frame; second current control means for outputting a second voltage command on the stationary reference frame on the basis of the detection current on the stationary reference frame; and voltage command output means for outputting the voltage command on the stationary reference frame to the voltage application means on the basis of the first voltage command on the stationary reference frame and the second voltage command on the stationary reference frame.