摘要 |
PROBLEM TO BE SOLVED: To attain a motor controller improved at its positioning accuracy. SOLUTION: The controller for a motor 1 is provided with an F/V converter 3 for outputting a motor current speed signal as analog voltage based on the frequency of a current position pulse outputted from an encoder 2, a position control part 5 for outputting an analog voltage control signal for controlling the rotational position of the motor 1 proportionally to feedback based on a deviation (the number of correction pulses) between the number of objective command position pulses and the number of current position pulses and a motor rotational speed/feedback control part 7 for using the control signal as a speed command signal and controlling the rotational speed/feedback of the motor 1 based on the deviation from the speed detection signal. When the motor 1 is in a stopped state, a correction value is calculated by the means 2 based on (number of correction pulses)×(proportional gain of position control part) and analog voltage corresponding to the correction value is added to the output of the position control part 5 by an adder 21. |