The electric current calculator41obtains the detected current value Ic which has undergone the amplification process and the noise reduction process, and calculates each of the phase currents Iu, Iv, and Iw based on the detected current value Ic. The calculation of each of the phase currents Iu...