Method for controlling stepping motor
AssigneeSanyo Electric Co., Ltd.
InventorKoji Takano
Life of this patent
Estimating the term…
Abstract
A method for controlling a stepping motor that moves an object from an initial position by a target distance. The method includes calculating a moved distance of the object, calculating a remaining moving distance of the object, updating a first velocity value until the moved distance exceeds a first reference value, updating a first position value indicating the present position of the accelerated object by adding the updated first velocity value to the first position value, updating a second velocity value when the remaining distance is less than the second reference value by subtracting a second acceleration value from the second velocity value, and updating a second position value indicating the present position of the decelerated object by adding the updated second velocity value to the second position value.
Claims12
A method for controlling a stepping motor that moves an object from an initial position by a target distance, the method comprising the steps of:
- calculating a moved distance of the object from the difference between an initial position and present position of the object;
- calculating d remaining distance from a difference between the target distance and the moved distance;
- updating a first velocity value by adding a first acceleration value, which increases in a stepped manner in accordance with the moved distance, to the first velocity value until the moved distance exceeds a first reference value;
- updating a first position value, which indicates the present position of the object that is accelerated, by adding the updated first velocity value to the first position value;
- updating a second velocity value when the remaining distance is less than a second reference value by subtracting a second acceleration value, which decreases in a stepped manner in accordance with the remaining distance, from the second velocity value;
- and
- updating a second position value, which indicates the present position of the object that is decelerated, by adding the updated second velocity value to the second position value.
A method for controlling a stopping motor that moves an object from an initial position to a target position, the method comprising the steps of:
- calculating a moved distance of the object from the difference between an initial position and present position of the object;
- calculating a remaining distance from a difference between a target distance and the moved distance;
- comparing the remaining distance with a reference value;
- updating a first velocity value by adding a first acceleration value to the first velocity value when the remaining distance is less than the reference value;
- updating a first position value, which indicates the present position of the object that is accelerated, by adding the updated first velocity value to the first position value;
- repeating the step for calculating the moved distance, the step for calculating the remaining distance, the step for comparing the remaining distance with the reference value, the step for updating the first velocity value, and the step for updating the first position value until the remaining distance exceeds the reference value;
- updating a second velocity value when the remaining distance exceeds the reference value by subtracting a second acceleration value from the second velocity value;
- updating a second position value, which indicates the present position of the object that is decelerated, by adding the updated second velocity value to the second position value;
- and
- repeating the step for calculating the moved distance, the step for calculating the remaining distance, the step for comparing the remaining distance with the reference value, the step for updating tho second velocity value, and the step for updating the second position value until the remaining distance becomes zero.
Dependencies are inferred from the claim text.