摘要
在光栅编码器细分程序设计中的细分位移计算部分,通常使用的方法是通过把2个信号采样值相除变换为求反正切的形式,再求出角度值。介绍一种软件实现的求光栅编码器细分角度的方法,如果计算角度细分可根据直线关系算出来的话,细分计算会更加简单直观。文中特别说明了编写软件时应当注意的问题。使用该方法,可以提高细分计算的效率和精确度。并且在TI的DSP控制器TMS320F2812上实现并验证了该方法。在文中也给出了Matlab仿真结果及实验测试结果,从实际使用情况看来,同理论的假设仿真结果基本相符,因此是可行的。
When computing the interpolating part of the displacement in the software design of interpolating a optical encorder,it usually uses is to dive samples of the two signal to get the arctan value, then gets the angle value of the postion. But here will introduce a method to calculate the interpolating angle position of the optical encorder: if it calculates the interpolating part out of a linreal way, the interpolating calculation would be so much easier and more obvious. This article particularily mentions the problems which should be payed attention to during coding the software. By this way, both the precision and the efficiency can be bettered. Then here realizes also proves this method itself on TI "s DSP controller TMS320F2812. And this article also gives a simulation of the method based on Matlab and a result from the test, from the application, the actual result is almost just likes the assumption, so this method is doable.
出处
《电子测量技术》
2008年第8期143-146,共4页
Electronic Measurement Technology
基金
北京市科委2005年度科技重大项目印刷设备的无轴传动与系统研究资助项目(DO305001040621)
关键词
线性关系实现细分计算
锯齿波信号的补偿
细分位置象限区间的划分与判定
calculate the interpolating part in lineral
compensation of the zigzag wave
judgement of the interpolating position's quadrant