A control device for an AC rotating machine, comprising: a voltage application unit configured to apply voltages to the AC rotating machine based on voltage command values on stationary coordinates; a current detection unit configured to detect currents in a plurality of phases flowing through the AC rotating machine; a first coordinate conversion unit configured to set the currents detected in the plurality of phases by the current detection unit as detection currents on the stationary coordinates, and apply coordinate conversion to the detection currents on the stationary coordinates based on any phase of the AC rotating machine, to thereby output detection currents on rotational coordinates; a current control unit configured to output voltage command values on the rotational coordinates based on current command values on the rotational coordinates, which specify currents to be supplied to the AC rotating machine, and on the detection currents on the rotational coordinates; a second coordinate conversion unit configured to apply coordinate conversion to the voltage command values on the rotational coordinates based on the any phase, to thereby output first voltage command values on the stationary coordinates; a voltage command generation unit configured to set one of the first voltage command values on the stationary coordinates and second voltage command values on the stationary coordinates generated immediately before as target command values, and correct phases of the target command values based on a change rate of the any phase, to thereby generate the second voltage command values on the stationary coordinates without using the detection currents; and a voltage command output unit configured to select one of the second voltage command values on the stationary coordinates generated by the voltage command generation unit and the first voltage command values on the stationary coordinates generated by the second coordinate conversion unit, to thereby output the selected one of the second voltage command values and the first voltage command values as the voltage command values on the stationary coordinates. a voltage application unit configured to apply voltages to the AC rotating machine based on voltage command values on stationary coordinates; a current detection unit configured to detect currents in a plurality of phases flowing through the AC rotating machine; a first coordinate conversion unit configured to set the currents detected in the plurality of phases by the current detection unit as detection currents on the stationary coordinates, and apply coordinate conversion to the detection currents on the stationary coordinates based on any phase of the AC rotating machine, to thereby output detection currents on rotational coordinates; a current control unit configured to output voltage command values on the rotational coordinates based on current command values on the rotational coordinates, which specify currents to be supplied to the AC rotating machine, and on the detection currents on the rotational coordinates; a second coordinate conversion unit configured to apply coordinate conversion to the voltage command values on the rotational coordinates based on the any phase, to thereby output first voltage command values on the stationary coordinates; a voltage command generation unit configured to set one of the first voltage command values on the stationary coordinates and second voltage command values on the stationary coordinates generated immediately before as target command values, and correct phases of the target command values based on a change rate of the any phase, to thereby generate the second voltage command values on the stationary coordinates without using the detection currents; and a voltage command output unit configured to select one of the second voltage command values on the stationary coordinates generated by the voltage command generation unit and the first voltage command values on the stationary coordinates generated by the second coordinate conversion unit, to thereby output the selected one of the second voltage command values and the first voltage command values as the voltage command values on the stationary coordinates.