Design and Realization of Raster with USB Interface
- Author
- WangYongHui
- Advisor
- MengHua
- School
- Dalian University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP216 Automatic testing equipment,instruments
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 223
- Citations
- 2
Abstract
Along with the development of USB (Universal Serial Bus), USB is used on many external devices because of the effective transmission and the convenience of USB device. USB has been a standard configuration on PC. If the transmission distance allows, USB is used widely because of its good characteristic.Grating is the main sensor in precision measure field. The raster introduced in this paper is based on grating sensor, designed to meet the user’s demand at the present time, it has USB interface, and has many practicably factions for measuring length.The hardware of raster is made up of 89C51 as main processor, PDIUSBD12 as USB interface, grating signal-processing circuit, ispLSI1016 as counter and signal subdivision circuit, BC7281A as data display and keyboard control circuit, X25045 as watchdog circuit.The software of raster has two portions. The first portion is firmware, including USB interface control, displayer and keyboard control and watchdog etc; the second is USB driver, which is the channels between the firmware and PC application, in additional, test program is designed to test the cooperation between hardware and USB driver.This paper adopts a subdivision principle, in which interaction with hardware and software, in grating square wave signal subdivision: four subdivision and subdivision principle based on computer clock pulse. The subdivision principle based on computer clock pulse is improved, curve fitting method is used to estimate the width of signal wave, thus the raster can dynamic measure the signal cycle, and the subdivision precision is improved.The raster introduced in this paper adopts USB interface, it has good application foreground, the subdivision principle is practicably, and the raster has practical fuction, it i convenient for use.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-11
1.1 Background topics 8-9
1.2 the raster table at home and abroad development situation 9-10
1.3 of this paper mainly work 10-11
2 USB1.1 protocol Introduction 11-19
2.1 USB interconnect 11-13
2.2 USB host 13-16
2.2.1 USB Host Overview 13-14
2.2.2 USB drive 14-16
2.3 USB device architecture 16-19
2.3.1 USB device status 16-17
2.3.2 Universal USB devices operating 17-18
2.3.3 USB device request 18-19
the
raster table hardware design 19-35
3.1 hardware overall structure 19
the 3.2 grating output signal reception and processing 19-24
3.2.1 grating output signal processing 20-21
3.2.2 In-System Programmable the ISP and ispLS11016 chip introduced 21-23
3.2.3 counter program design 23-24
3.3 grating output signal segments 24-31
3.3.1 subdivided principle outlined 24-27
3.3.2 program segments 27
3.3.3 segmentation method of selection and improvement 27-31
3.4 keyboard and display circuit 31-32
3.5 power-down protection watchdog circuit 32-33
3.6 power design 33-35
4 raster table software design 35-43
4.1 microcontroller firmware design 35-38
4.1.1 firmware overall design 35-37
4.1.2 keyboard and display the control subroutine 37
4.1.3 Watchdog control subroutine 37-38
4.1.4 raster table other functional part of the program design 38
4.2 PC machine debugger design 38-43
4.2.1 grating table debugging program design goals 38-39
4.2.2 grating table debugging program development process 39-43
5 USB interface hardware and software design 43-58
5.1 USB interface circuit 43-48
5.1.1 USB universal interface chip select 43
5.1.2 PDIUSBD12 Introduction 43-47
5.1.3 PDIUSBD12 89C51 connection 47-48
the
MCU with USB 5.2 control procedures 48-52
5.3 driver design 52-58
5.3.1 WDM device driver program Introduction 53-54
5.3.2 WDM driver design 54-55
5.3.3 WDM driver development environment construction 55-56
5.3.4 DriverStudio development driver process 56-57
5.3.5 application WDM communication 57-58
6 raster table test 58-61
6.1 system debugging 58-60
6.1.1 hardware circuit debugging 58-59
6.1.2 raster table software debugging 59-60
6.2 system test results 60-61
concluded 61-62
the
References 62-64
during the master's degree Post academic situation 64-65
Acknowledgements 65-66
the
Dalian University dissertation Copyright use the power of attorney 66
Related dissertations
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- 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
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Study on Robot Controller Based on Heterogeneous Multi-core PAC
- Research and design of intelligent 3D pulse peak field strength tester
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Embedded Fingerprint Identification System and Storage Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- The Design of ISP System and FOGA Hardware Implementation
- VxWorks Migration on VME Bus Embedded Controler
- Embedded Linux-based USB Encryption Driver Design
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research Communication Device and Communication Protocols Based on USB Interface
- Research and Implementation of Infrared Touch Screen Based on HID Class
- The Designand Realization of Embedded USB Mass Storage System
- Design and development of laser gyro and USB interface frequency test system