PURPOSE:To prevent the vibration of a detecting position caused by delay correction and the discontinuity of an output position by using required coefficients, and correcting a pulse train corresponding to the output angle of a moving position. CONSTITUTION:The pulse train of the output of moving positions corresponding to the detected rotating angles which are changed with a rotating speed is formed with an optical or magnetic sensor 10 and an input circuit 11. The pulse train is inputted into a microcomputer 12. The rotating speed for every specified period is detected. When the detected speed is the low speed which is less than the first specified value, 0 is obtained. When the rotating speed is the high speed which is higher than the second specified value, 1 is obtained. In between the first and second preset values, the correcting coefficient which is changed from 0 to 1 in response to the detecting speed is obtained. The delay correcting value is computed by the multiplication of the above described coefficients, the detecting speed in the previous period and the specified period. The detected moving position is corrected. The vibration of the detecting position caused by the delay correction is prevented by this correcting method, and the occurrence of the discontinuity of the output position is also prevented.
展开▼