利用径向基函数(RBF)网络进行光电编码器误差补偿,具有非线性处理特性好、逼近精度高等特点。针对RBF网络在工程应用中的特点,文中首先介绍了RBF修正模型与编码器检测转台的结合应用,在进行编码器误差检测的同时即可完成仿真分析;再进一步根据算法在数字信号处理器(DSP)中的应用,介绍了算法的优化方法。实际工作表明:将建模与检测相结合,效果直观,方法灵活;优化后的补偿算法在满足运算时间的基础上并未对补偿精度带来明显影响,可将系统精度提高1~3倍。
To improve the precision of the encoder system, a method for error compensation in optical encoder was presented by applying Radial Basis Function (RBF). At first, how to integrate RBF model with error detecting system of encoder was introduced. The simulation analysis can be completed while run error detecting. At the same time, necessary model parameters could be obtained. Then, the parameters were written to DSP to run real error compensation. The optimization for RBF algorithms was introduced to resolve the problems existed in the RBF model, i.e., large amount of data, massive matrix operation and complicated arithmetic, ect. The practical application proves that the simulation effect is direct and clear by combing the model building with error detecting. The test results show that the optimized compensation model meets the requirements of running time without decreasing compensation precision obviously and the precision of system error is improved 1-3 times.