Patent ID: 6940252

Claim:
A DC motor control method in a device which drives a mechanism by using a DC motor as a power source, comprising: a first velocity command value generation step for generating a velocity command value to said motor in accordance with a first function based on an elapsed time after a start of deceleration; a first determination step for determining whether said mechanism arrives at a predetermined position within a deceleration region; a second velocity command value generation step for generating a velocity command value to said motor in accordance with a second function having an initial value less than a minimum value of the velocity command value generated in said first velocity command value generation step, upon the determination that said mechanism arrives at the predetermined position in said first determination step; a second determination step for determining whether the elapsed time has exceeded a predetermined time, when said mechanism does not arrive at the predetermined position; and a third velocity command value generation step for outputting a constant velocity command value to said DC motor, when it is determined in said second determination step that the elapsed time has exceeded the predetermined time.