摘要 |
A method of controlling a motor to cause it to execute a move toward a target position including calculating a deceleration position, wherein when the deceleration position is reached, the motor will be caused to execute a deceleration in a manner that will result in the motor stopping short of the target position, and determining whether the requested move is a first move type after the motor has reached the deceleration position and the deceleration is complete. If the requested move is a first move type, the method includes causing the motor to move toward the target position at a first velocity, and if the requested move is a second move type, the method includes causing the DC motor to move toward the requested target position at a second velocity, wherein the second velocity is greater than the first velocity. Settling time is also varied depending on move type.
|