A Data Acquisition System Based on USB Bus
- Author
- ZhangShuMing
- Advisor
- FangChangLin
- School
- Jiangsu University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 777
- Citations
- 2
Abstract
The data acquisition system is an important branch of information science , research information data collection , storage , processing and control, etc. , widely used in virtual instrumentation , signal processing and other fields . The same time, with the operating systems support USB technology Standard USB application is rapid development. How to use the paper to be discussed is the USB of this new form of bus to achieve a concise data acquisition system ( software and hardware) . First introduced the USB1.1 specification , focused on the USB bus type and bus protocol , and then introduced a USB data acquisition system hardware structures as well as the preparation of the corresponding firmware . The system uses PDIUSBD12 chip USB interface chip , AT89C52 as the system microcontroller , ADC0809 as analog-to-digital conversion chip . Then, the article describes the functions and features of the part of the various sub-modules on WDM bus driver structure and composition of the WDM driver , and how USBDI based on the preparation of a WDM device driver between the application and the USB device communication. Finally, brief the GUID and multi-threaded system application software written note , lists the results of the system to test different waveforms , the frequency of the input signal , and the test results for the sampling frequency according to the limits of the system estimates. Finally, this system under different circumstances waveform distortion analysis of proposed solutions . Combined with data logger and USB bus , give full play to the advantage of the USB bus , so the more convenient data acquisition applications , will become a new direction of development of the data acquisition system .
Table of contents
The first chapter the 9-14 the
bus 1.1 of concept and classification 10-11
1.2 PCI bus and the ISA bus The 11-12 < br /> 1.3 USB serial bus advantage 12-13
1.4 The content and meaning of the research 13-14
Chapter II USB Introduction 14-40
2.1 USB cable and signal 14-17
the 2.1.1 USB connectors and cables 14-15
2.1.2 USB interface electrical characteristics the 2.1.3 USB Encoding nbsp 15-16
; the 16-17 the
2.2 USB transmission systems Introduction
17-21 2.2.1 USB host and device 18-19
2.2.2 USB device endpoint interface and configuration; nbsp 19
2 .2.3 USB transfer types 19-20
2.2.4 pipes (Pipe) 20
the 2.2.5 USB communication flow model 20 -21
2.3 USB interface communication protocol 21-40 the
the 2.3.1 data field format 22-24
2.3.2 package format 24-26
2.3.3 affairs format (Packet Format) 26-30
2.3.4 standard USB Descriptor Definition (the standard descriptor Definition) 30-32
2.3.5 USB device requests (Oevice Request) and 32-36 the
the 2.3.6 device status map and bus enumeration process 36 -38
2.3.7 System Configuration 38-40
software and hardware design 40-54
3.1 device hardware design 41-46
3.1.1 USB controller chip select 41-42
3.1.2 PDIUSBD12 chip Profile 42-44
3.1.3 system hardware design the <br 44-45 /> 3.1.4 sample and hold circuit design 45-46
3.2 microcontroller program (firmware) design of nbsp 46-54
3.2.1 firmware program structure; 47-48
the 3.2.2 main program and interrupt the program of the division of labor and cooperation 48-51 < br /> 3.2.3 A / D conversion of the C language to achieve 51-53
3.2.4 descriptor of the C language to achieve 53-54
Chapter WDM driver design 54-58
4.1 WDM Model Overview 54-55
4.2 WDM driver routines 55 - 58
4.2.1 driver entry routine (DriverEntry) 56-57
4.2.2 dispatch routine 57-58
4. 3 USB device driver programming interface 58-59
4.4 device driver development 59-66
4.4.1-driven development tool of choice 59-60
4.4.2 driver write 60-62
4.4.3 driver compiled 62-64
4. 4.4 driver installation and INF files 64-66
the Chapter application design and results analysis 66-75
5.1 GUID 66-68
5.2 multi-threaded problem 68-69
5.3 Curve problem; nbsp nbsp 69
5.4 Test results and analysis; 69-75
5.4.1 sinusoidal signal; nbsp nbsp 70-72
5.4.2 square wave and triangular wave; 72-75 the
sixth chapter summarize 75-77
6.1 topics summary the 6.2 further work 75
envisaged the
Acknowledgements nbsp 75-77; 77 -78 the
appendix (mainly hardware circuit) 78-79 the
reference literature 79-81
to pursue the degree of academic papers published during 81
Related dissertations
- A Dissertation Submitted to the Academy of Sciences, for the Degree of Master of Circuit and System
- The Research and Application of Laser Particle Size Measuring System Based on USB Bus
- The Research on Interface of CMM Grating Signal Acquisition & Processing System
- Design and Implementation of the software resources protection system
- Research on the Reform of Taxation Information Management Mechanism in China
- The Ningbo Public Transit Circuit Capacity Model and Practical Research
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of Alarming Management System about Fireproof and Burglar
- Research on Mechanical Vibration Testing System
- Study on Embedded Data Acquisition System Application
- The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
- Development of ATE Signals On-line Monitoring Equipment
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Electromagnetic Tomography System for Biological Electrical Impedance Imaging
- The Design of Data Monitoring and Control System Based on USB and Lab VIEW
- Research and Implementation of Meteorological Monitoring System Based on ARM9
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Web Data Acquisition and Display System Based on Data-segment Technology of MDSplus
- Design of the High-speed Data Acquisition System Based on USB Interface