Compensation of Rotary Encoders Using Fourier Expansion-Back Propagation Neural Network Optimized by Genetic Algorithm

Sensors (Basel). 2020 May 3;20(9):2603. doi: 10.3390/s20092603.

Abstract

The measurement accuracy of the precision instruments that contain rotation joints is influenced significantly by the rotary encoders that are installed in the rotation joints. Apart from the imperfect manufacturing and installation of the rotary encoder, the variations of ambient temperature could cause the angle measurement error of the rotary encoder. According to the characteristics of the 2π periodicity of the angle measurement at the stationary temperature and the complexity of the effects of ambient temperature changes, the method based on the Fourier expansion-back propagation (BP) neural network optimized by genetic algorithm (FE-GABPNN) is proposed to improve the angle measurement accuracy of the rotary encoder. The proposed method, which innovatively integrates the characteristics of Fourier expansion, the BP neural network and genetic algorithm, has good fitting performance. The rotary encoder that is installed in the rotation joint of the articulated coordinate measuring machine (ACMM) is calibrated by using an autocollimator and a regular optical polygon at ambient temperature ranging from 10 to 40 °C. The contrastive analysis is carried out. The experimental results show that the angle measurement errors decrease remarkably, from 110.2″ to 2.7″ after compensation. The mean root mean square error (RMSE) of the residual errors is 0.85″.

Keywords: BP neural network; angle measurement error; genetic algorithm; instrument; rotary encoder; temperature compensation.