Design and Realization of New Grating Interface Card with USB and CPLD
- Author
- FanChangSong
- Advisor
- ZhangBaoFeng , XuZhiQin
- School
- Tianjin University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 214
- Citations
- 4
Abstract
With the development of numerical control equipment and technical progress , the accuracy and speed of numerical control equipment put forward higher requirements , the grating sensor interface circuit design level to some extent determine the accuracy and reliability of the measurement system . With the development of USB (Universal Serial Bus) technology , USB interface has become the standard configuration of the PC . Transmission distance allowed USB interface with its superior performance has been widely used. CPLD (Complex Programmable Logic Device) is a programmable I / O pin programmable logic devices , in-system programmable , flexible design and confidentiality . This article was developed using CPLD on the the grating output signal processing based on the the grating interface card of the USB interface , the grating interface card with the communication between the computer through the USB interface . The article describes in detail the the grating interface card hardware and software design methods . The design work is focused in the following areas : hardware part to Cypress's EZ-USB FX2 as control core grating signal segmentation , discerning direction and count to Altera's CPLD chip EPM7128SLC84-10 . Software part mainly includes three parts : First , the USB chip to work properly firmware ; interface card driver for USB devices and PC communications guarantee ; Third, to test the system functions based on C Builder applications. The system uses based the 8051 kernel EZ - USB FX2 interface chip USB interface chip MCU \more compact , more stable, more reliable. The experiments show that the interface card to meet the design requirements .
Table of contents
Abstract 5-6
Abstract 6-9
first chapter 9-12
1.1 Research purpose and significance 9-10
1.2 status quo at home and abroad 10-11
1.3 of this paper mainly work 11-12
the
the second grating measurement principle and the subdivision circuit 12-17
the 2.1 grating type and accuracy 12
the 2.2 grating structure and the measurement principle 12-15
2.2.1 grating structure 12-14
2.2.2 grating basic measurement principle 14-15
2.3 grating measuring system 15
2.4 grating segments 15-16
2.5 This chapter Summary 16-17
Chapter Introduction to USB technology 17-26
3.1 USB Interface Overview 17-18
3.2 USB device configuration, interface and endpoint 18-20
3.3 USB system described 20-22
3.4 USB host and device 22
3.5 USB data transmission and data transmission types 22-24
3.6 USB communication protocol 24-25
3.7 This chapter Summary 25-26
the grating interface card hardware design 26-43
4.1 hardware overall design 26-27
420 grating signal preprocessing circuit 27-28
4.3 grating signal processing circuit 28-35
4.3.1 subdivision circuit 30-31
4.3.2 Resolution to circuit 31-32
4.3.3 reversible the counting module 32-33
4.3.4 latch circuit 33-34
4.3.5 multiplexing circuit 34-35
4.4 USB interface hardware design 35-42
4.4.1 USB interface chip introduction 35-37
4.4.2 hardware part 37-42
4.5 of this chapter Summary 42-43
the grating interface card software design 43-55
5.1 grating interface card firmware (Firmware) write 43-47
5.2 device descriptor table to write 47
5.3 Inf file written 47
5.4 driver development (generic device driver program (GPD)) 47-50
5.4.1 Windows2000/XP type of driver in 47-48
the
characteristics 5.4.2 WDM driver 48-49
5.4.3 WDM driver model 49-50
5.5 WDM programming environment to establish 50-51
5.6 GDP and application program interfaces 51-53
5.7 C Builder-based application development 53
5.8 test results and analysis 53-54
5.9 This chapter Summary 54-55
Chapter Summary and Outlook 55-56
6.1 work summarizes 55
6.2 Looking 55-56
the
References 56-59
the
papers and research Description 59-60
Acknowledgements 60-61
Related dissertations
- Grating Data Acquisition and Error Correction Technology
- Design of Electrical Resistance Tomography Based on Parallel Data Acquisition
- Research on the Measurement System of LED
- Study on Key Technologies of a Diffraction Grating-type Automatic Biochemical Analyzer
- Design of Data-Acquisition System for Micro Fiber Optic Spectrometer Based on Stm32
- Research on the Optical Fabry-pérot Cavity Demodulation System Based on Interference of Polarized Lights
- Research & Implementation Data Acquisition and Hard Disk Storage System Based on DSP
- Optimizing of Data-acquisition System for Laser Electronic Whiteboard and Realization of USB Interface
- The Update and Experiment for FMT System Based on the WINDOWS
- Control Technology Based on DDS Signal Generator under the Design and Implementation
- Research on Fingerprint Acquisition System Based on ARM
- The Research of Real-Time Detection System Based on Linear Image Sensor
- Hardware Design of Code Identifying System Based on DSP
- Study on Outside Box of Digital Ultrasonic Flaw Detection
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Usb Without Invasive Data Collection Technology Research
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- CCD Data Acquisition System Implementation Based on FPGA