摘要
介绍了一种基于FPGA的圆光栅编码器数据采集系统的设计方法。通过分析圆光栅的实际工作情况,将系统分为三大模块,详细阐述了滤波模块实现消除高频信号干扰,计数模块实现四倍频、辨向与脉冲计数,以及数据通信模块实现跨时钟域数据传输功能的具体方法。最后通过Modelsim仿真验证了系统设计的可行性与可靠性。本系统具有高集成、可扩展、便于移植的特点,可广泛应用于相关领域。
The design of a data aquisition system for circular grating encoder based on FPGA is introduced in this paper. Based on the analysis of the circular grating encoder's actual work conditions, the design is divided into three parts and presented in detail. The filter module accomplishes to filter high-frequency noise. The counter module accomplishes fourfold frequency, discerning direction and pulse counting. Data communication module accomplishes signal transmitting between asynchronous clock domains. The Modelsim simulation result shows that the system is able to realize correct and reliable data acquisition and transmission. The system has the characteristics of high integration, expansibility and transportability, which can be widely applied in the related fields.
出处
《微型机与应用》
2012年第23期28-31,共4页
Microcomputer & Its Applications