Improved PSO algorithms for improving the subdivision accuracy of photoelectric rotary encoder
-
-
Abstract
In order to ensure the subdivision accuracy of the photoelectric rotary encoder and subdivision multiple of the Moire fringe photoelectric signal, the method based on improved particle swarm algorithm (PSO) to correct sinusoidal character of photoelectric signal was designed. On the basis of the mathematical model of the Moire fringe photoelectric signal, the influence of signal quality to subdivision error was analyzed. And from several aspects, such as production, debugging and application, the basic reason of the appearance of signal subdivision error was pointed out. The principle and realization steps of improved PSO were elaborated. A 21-bit encoder was selected as the experimental object. Adaptive sampling of precise code signal was realized according to square wave information from precise code conversion. The collected original Moire fringe photoelectric signal was pretreated using improved PSO.Three to be defined parameters of signal model were identified. And signal amplitude deviation, stability deviation, orthogonal deviation were directly corrected. Moire fringe signal was processed using improved PSO and the subdivision accuracy was tested. The experimental results show that the peak value of subdivision error is reduced from 19.08 to 2.86. The subdivision accuracy of the photoelectric rotary encoder is ensured.
-
-