摘要
针对增量式光电编码器经典速度测量算法M/T法低速采样时间过长和位置测量算法精度不高的问题,本文基于定采样周期M/T法设计实现了速度和位置测量板卡。采用Xilinx公司的XC3S400 FPGA为核心控制芯片进行设计,并设计PC104总线接口实现板卡与控制器的数据通信。该板卡接收处理光电编码器的反馈脉冲得到速度和位置参数,将数据通过PC104总线接口传递给控制器。实验表明,板卡的最小采样时间达到1 ms,并且位置测量精度可达5×10-5。
To figure out the disadvantages of long sampling period of classical speed algorithm M/T method under low speed and low precision of classical position algorithm, the speed and position measurement card is designed, which is based on fixed sampling period M/T algorithm. Adopts X3CS400 FPGA as the core control chip, and designs PC104 interface through which the board can communicates with the controller. After receiving and processing feedback pulse of optical encoder, the card transmits the speed and position data to the c.ontroller via PC104 interface. The result of experiments shows that the minimum sampling period can reach lms, and the precision of position measurement comes to 5×10^-5.
出处
《电子设计工程》
2014年第13期149-151,共3页
Electronic Design Engineering