摘要 |
PURPOSE:To control correctly by a method wherein both of the leading edge pulse and the trailing edge pulse of encoder pulse are read into a CPU upon the low-speed mode of a DC motor. CONSTITUTION:In the control of the rotational frequency of a DC motor 15, the pulse of the encoder 20 is converted into an electric signal by a photo- interrupter 21 and is inputted into the INT terminal of a CPU 23 through the frequency multiplier 22 of the pulse. Then, a rotational frequency control signal, controlled through PWM, is outputted from the OUT terminal of the CPU 23 through a power amplifier 24 as the control signal of the motor 15, When the mode of the motor becomes low-speed mode, the CPU 23 utilizes both of the leading edge signal and the trailing edge signal of the pulse of the encoder as the rational frequency signal for the motor. |