摘要 |
PURPOSE:To control a DC motor at a constant speed of arbitrary speed by converting a speed command value at arbitrary period of the constant period of a feedback signal. CONSTITUTION:A CPU10 stores timing data alphaa corresponding to a speed command value (a) stored in advance in a ROM14, and outputs a basic speed command value (a). Then, it converts the speed command value (a) to (a+1) of more significant value after the timing data alphaa is elapsed from the rising and falling edges of a feedback signal F. Then, the period between the rising edges of the signal F is counted to detect the real rotating speed, and an interrupt timing data is varied in response to a deviation between the real speed and a desired speed. Thus, a DC motor is controlled at a constant speed of desired speed. |