Parameters “n”, “ad”, “pd”, “aq”, “pq” and the like of a motor parameter setting unit 4 are set so as to satisfy [Expression 23] and the like, a d-axis current command value “Idco” outputted from a d-axis current instructing unit 2 and a q-axis current command value “Iqco” outputted from q-axis current instructing unit 3 are corrected based on these parameters “n”, “ad”, “pd”, “aq” and “pq”, on a detection result of rotation angle detecting unit 11, and on the like, and a (6×n)f sine component, (6×n)f cosine component, (6×(n+1))f sine component and (6×(n+1))f cosine component of torque “T” shown in [Expression 22] are made zero. In such a way, 6×n and 6×(n+1) ripple components and the like, which are generated in a motor provided in elevator equipment or the like, are suppressed, and a torque ripple of the motor is reduced to a large extent.