Measuring the Eccentricity Error of the Optical Pattern Rotary Encoder Based on Centroid Detection Algorithm

Youwei Du
2013-01-01
Abstract:In order to study the influence of the eccentricity error on the accuracy of the optical pattern rotary encoder,this paper measured the encoder's eccentricity by digital image processing technology,utilizing an image sensor.Firstly,the improved image gray centroid detection algorithm was applied to get the bit codes,which were respectively located in the maximum eccentric and the minimum eccentricity error areas.Secondly,the reference lines' positions were calculated by curve-fitting algorithm in these two areas to get the encoder's eccentricity.In the experiment,the centroid detection algorithm and the curve-fitting algorithm were applied to measure a code disc's eccentricity,which was 0.020mm,when measured by the microscope.The experimental results were proven to be 3.31 pixels,i.e.19.86 μm.The proposed method can measure the encoder's eccentricity during the encoder's working course at any time,and provide the necessary data for compensating the eccentricity error.
What problem does this paper attempt to address?