摘要 |
PURPOSE:To improve the response of control by controlling the rotating speed of a motor by the both rising and falling edges of a pulse encoder at a low speed rotation time, thereby shortening a control period. CONSTITUTION:A pulse signal of an encoder 2 shaped to a rectangular wave by a waveform shaper 3 is input to an interrupt generator 4. Here, the output of an OR gate becomes 'H' by the rising and falling edges of an encoder pulse at low speed time, and an interrupt request INTRQ is input to the terminal INT of a microcomputer 6. The microcomputer 6 obtains the optimum current flowing amount corresponding to the set rotating speed at every interrupt signal, and controls to output to a DC motor. The speed of the motor is controlled only by one of the rising and falling edges of the output pulse of the encoder. |