节点文献
基于FPGA的多路光栅数据采集系统
Data Collection System for Multiple Gratings Based on FPGA
【作者】 谢敏;
【导师】 叶兵;
【作者基本信息】 合肥工业大学 , 光学工程, 2010, 硕士
【摘要】 随着现代测控技术的发展,在精密测量领域,光栅传感器在位移和角度测量中的使用越来越广泛。由于受到光栅刻线工艺的限制,为了提高光栅传感器的测量精度,往往需要使用电子方法对光栅信号进行细分辨向和计数。而在实际测量应用中,多光栅的应用场合也越来越多,对于系统的稳定性、可靠性和小型化的要求也越来越高,所以把多路光栅信号的采集和传输集成在一块可编程芯片上是当今技术发展的趋势。本课题基于关节臂式坐标测量机的研制需要,研究了光栅传感器输出信号的特点和FPGA开发技术,以FPGA为载体,设计了一个基于FPGA的多路光栅数据采集系统。本文主要介绍了光栅传感器的原理和输出信号的特点,基于FPGA设计了一个光栅信号的整形、细分辨向和计数电路;设计了一个基于有限状态机的I~2C总线接口,用来实现系统与微控制器的数据通信;使用带有硬件I~2C接口的微控制器STM32F103VB成功实现系统数据的传输。本设计具有体积小、速度快、可修改的特点,已经通过光栅传感器的实验验证,可以稳定、可靠地运行,完成光栅传感器数据的采集与传输任务。
【Abstract】 With the development of modern measurement and control technology, the grating sensor is widely used in the measurement of displacement and angle in precise meterage domain. Limited by the grating scratching technology, the way to improve the measurement precision of grating sensor is using electronic technique to subdivision the grating signal.In industry application, multiple gratings are widely used in many cases, and the system needs more stability, solidity and miniaturization, so the trend in development is to integrate the grating signal acquisition and transmission on one programmable chip.With the need of manufacturing arm coordinate measuring machine, the task studied the principle of grating sensor and the FPGA design technology, designed a multiple gratings signal collection system based on FPGA.The paper introduced the principle of grating and the factor of grating sensor signal, designed a reshaping, subdivision, differentiation direction and counter circuit for grating signal based on FPGA; designed a I~2C interface to communicates with MCU based on FSM(Finite State Machine);Using STM32F103VB MCU with hardware I~2C interface communicates with the FPGA system.This design has some strongpoint, such as miniaturization, velocity and programmable on line. This design had validated by grating sensor data acquisition experiment, can worked stability and solidity.
【Key words】 grating sensor; FPGA; subdivision; FSM; I~2C interface;