基于USB的光栅传感器接口卡的研制仪器科学与技术专业论文.docx
文本预览下载声明
Abstract
Grating sensor is widely used in precision measurement field, especially it has significant effect on the measurement of linear and angular displacements. To some extent, the interface circuit of the grating sensor influences the precision and stability of the measurement system. A grating sensor interface card based on USB is developed in this paper, CPLD is used to process the output signal of the grating sensor, and USB is used to realize the communication between the processing circuit of the grating sensor signal and PC.
In this paper, development state of grating measuring displacement system and measurement principle are briefly introduced, architectural configuration and communication protocol of the USB are analyzed, the development technology of CPLD is also analyzed, based on all of these, the paper introduces the design of the hardware and software about the grating sensor interface card in detail.
The hardware of the system is made up of P89C61X2BA as main processor, USBN9604 as USB interface, grating signal-processing circuit, XC95108 as signal subdivision, sensing, counter circuit and so on.
The software of the system has three portions: The first portion is firmware, including USB communication control; the second is USB driver, which is the channel between the firmware and PC application; the third is application to test the function of the system based on VC.
The grating sensor interface card based on USB developed in this paper has advantages of miniaturization and portability, the whole system is steady and reliable, and the experiment shows that interface card satisfies the requirement of the design.
Keywords USB; grating sensor; signal processing; CPLD; driver
目录
摘要....................................................................................................................... I
Abstract ...............................................................................................................II
第 1 章 绪论 ...................
显示全部