摘要 |
A motor control device includes a power converter, a velocity controller, and a certain-position stop controller. The power converter outputs a driving current on the basis of an input torque command. The velocity controller generates a calculated torque command on the basis of a difference between a velocity represented by a velocity command and a motor velocity. The certain-position stop controller performs position control by, after first detecting a reference position of a motor during velocity control, generating a position command for positioning the motor from the reference position to a target stop position at a torque of a torque schedule, generating the velocity command on the basis of a difference between a position represented by the position command and the motor position, and outputting a value resulting from adding a torque feedforward command generated on the basis of the torque schedule to the calculated torque command. |