Development of Grating Sensor Interface Card Based on USB

Author
LiuChunYan
Advisor
TangWenYan
School
Harbin Institute of Technology
Major
Instrument Science and Technology
Classification
TP212.14 Light sensor
Degree
Master's thesis
Year
2006
Downloads
152
Citations
0

Request the full text

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.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction the 8-12 1.1 research purpose and meaning 8-10 1.2 research status and analysis 10-11 1.3 The research content 11-12 Chapter 2 Universal Serial Bus About 12-19 2.1 USB bus technology has the advantage the 12-13 2.2 USB architecture 13-18 2.2.1 USB system described 13-14 2.2.2 USB host and device a 14-15 USB hardware interface 2.2.3 15-16 2.2.4 USB power 16-17 2.2.5 USB data transfer types the 17-18 2.3 USB communication protocol 18 2.4 Chapter Summary 18 -19 Chapter 3 grating sensor interface card in a USB-based hardware development 19-33 3.1 overall hardware design 19-20 3.2 USB-based the grating sensor interface circuit works 20-21 3.3-grating sensor signal processing circuit design 21-28 3.3.1 CPLD development technologies and application 21 - 23 3.3.2 grating the overall design of the signal processing circuit 23-24 3.3.3 filtered, circuit design 3.3.4 subdivided, 24-25 resolution to, reversible counting circuit design a 25-27 3.3.5 latch, circuit multiplexing circuit Design 27-28 zero 3.3.6 of the signal processing circuit of design 28 3.4 USB Device Interface hardware design the 28-31 3.4.1 USB interface chip select 29-30 3.4.2 interface hardware design 30-31 3.5 main factors affect the accuracy of the system 31-32 3.6 Chapter Summary 32-33 Chapter 4 USB-grating sensor interface card-based software development 33-47 4.1-grating sensor interface card firmware development the 33-38 The main task of the 4.1.1 firmware 33-34 4.1.2 firmware interface card design 34-38 4.2 Driver Development 38-42 4.2.1 WDM Driver Overview 38-39 4.2.2 driver development environment 39-40 the 4.2.3 driver development process 40-42 4.3 based VC application development 42-44 4.4 Experimental results and analysis 44-46 4.5 Chapter Summary 46-47 conclusion 47-48 Reference 48-51 Journal of Harbin Institute of Technology originality statement 51 Journal of Harbin Institute of Technology using the power of attorney 51 Harbin Institute of Technology master's degree in the classified papers management 51-52 Acknowledgements 52

Related dissertations

  1. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  2. Embedded Linux-based USB Encryption Driver Design
  3. Design of Electrical Resistance Tomography Based on Parallel Data Acquisition
    LiGaiLi ·University of North ·2012 ·Master's thesis
  4. Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
    XingYan ·Jilin University ·2012 ·Master's thesis
  5. Software Design of Digital TV Receiver Based on USB2.0Technology
    WangJingHui ·Zhejiang University of Technology ·2012 ·Master's thesis
  6. Research on the Measurement System of LED
    LuFei ·Xi'an Technological University ·2013 ·Master's thesis
  7. Design of Data-Acquisition System for Micro Fiber Optic Spectrometer Based on Stm32
    YangHao ·Zhejiang University of Technology ·2013 ·Master's thesis
  8. Research on the Optical Fabry-pérot Cavity Demodulation System Based on Interference of Polarized Lights
    LiLei ·Tianjin University ·2012 ·Master's thesis
  9. Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
    LiMingLi ·Hebei University of Technology ·2007 ·Master's thesis
  10. Research & Implementation Data Acquisition and Hard Disk Storage System Based on DSP
  11. Optimizing of Data-acquisition System for Laser Electronic Whiteboard and Realization of USB Interface
    WangHuan ·Jilin University ·2008 ·Master's thesis
  12. The Design of USB Host/Slave Interface in Embedded Systems Based on ARM
  13. The Update and Experiment for FMT System Based on the WINDOWS
    ZhengYong ·Chongqing Institute of Technology ·2008 ·Master's thesis
  14. Control Technology Based on DDS Signal Generator under the Design and Implementation
    LiZuo ·Jilin University ·2007 ·Master's thesis
  15. Microassembly Robot Vision System Research Base on Image Transmission and Recognition
    ChenRen ·Shanghai Jiaotong University ·2008 ·Master's thesis
  16. Analysis and Improvement of Driving Program of Embedded Linux
  17. High-performance data acquisition system based on USB and FPGA design and implementation of technology
  18. Research on Fingerprint Acquisition System Based on ARM
    XiangXi ·Wuhan University of Technology ·2007 ·Master's thesis
  19. The Research of Real-Time Detection System Based on Linear Image Sensor
    ShiCheng ·Wuhan University of Technology ·2007 ·Master's thesis
  20. Research on Technology of Dynamic Balancing Measurement