USB bus - based portable multi- channel data acquisition system
- Author
- GuoJing
- Advisor
- WangZhangRui
- School
- Southwest Petroleum Institute
- Major
- Measuring Technology and Instruments
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 829
- Citations
- 8
Abstract
The paper is mainly concerned with the design process of data acquisition system that is based on USB bus. The design scheme, developing method and developing process of a suit of data acquisition system used with America Cygnal’s C8051F320 are expatiated. In addition, the paper also gives the material realization scheme.At first, the paper introduces the protocol of USB bus in brief, and then discusses the design of data acquisition system, which includes four segments, hardware design, firmware design, device driver and application program design. In hardware design segment, the performance of C8051F320 firstly is described; then the hardware design scheme is given in detail; the questions in design are explained, which should be paid attention to. The most important project is the firmware writing. The paper shows the idea of firmware program design and the hierarchy and then introduces the program design in detail and gives some code. In device driver segment the principle of choosing driver develop tools is explained, at last the structure and writing steps of device driver are discussed. The design of host application program is relatively simple. It mainly provides a friendly user interface to control the acquisition system and display the data. So there is not much content in the paper.The paper has finished the design of data acquisition system based on USB bus and realized the basal data acquisition foundation. Using USB bus to transfer data blazed a way in communication between data acquisition system and computer.
Table of contents
1 Introduction 6-9
1.1 data acquisition system Introduction 6-7
1.2 USB new technology appears 7-8 <br / > 1.3 at home and abroad the status quo and research purposes 8-9
2 understand the USB bus 9-25
2.1 USB bus topology 9 < br /> 2.2 USB bus data flow model, 9-16
2.2.1 USB pipe (address and endpoint) 10-11
2.2 .2 USB transfer type 11-16
mechanical and electrical characteristics of the 2.3 USB bus 16-17
2.4 USB packet format -19
2.4.1 tag package 17-18
2.4.2 Frame (Start of Frame, SOF) packet 18
2. 4.3 packets 18
2.4.4 handshake packet 18-19
2.4.5 Special package 19
2. five different transmission mode, the USB protocol 19-21
2.6 USB bus enumeration 21-23
2.6.1 USB bus enumeration steps 22
2.6.2 USB Bus Reset, Suspend, Resume and Remote evoke 22-23
2.7 USB host controller (HOST) 23-25 ??
USB data acquisition system design 25-28
3.1 USB data acquisition system's overall design 25-26
3. 1.1 hardware systems constitute 25-26
3.1.2 software system constitute a 26
3.2 USB data acquisition system performance and technical difficulties 26-28
4 USB data acquisition system hardware design 28-34
4.1 intelligent instrument and its features 28
4.2 USB interface program 28-29
4.3 hardware design 29-34
4.3.1 C8051F320 About 29-32
4.3.2 The hardware design of the USB interface circuit 32-34
5 USB data acquisition system firmware design 34-43
5.1 the USB descriptor declaration procedures usb_desc. c 37-40
5.2 usb_isr interrupt service routine. c 40-41
5.3 standard equipment request procedures usb_stdreq. c 41-42
5.4 the main the main. c 42-43
6 device drivers and applications designed 43-55
6.1 knowledge points 43-44
.2 USB device driver programming 44-48
6.2.1 WDM driver 44-45
6.2.2 USB device driver design 45-48
6.3 USB data acquisition system driver development 48-53
6.3.1 USB device driver development, a common method 48-50
6.3.2 USB data acquisition system driver development 50-53
6.4 application design 53-55
system debugging 55-57
8 Conclusions and Prospects 57-59
thank 59-60
Reference sheet 60-61 <br / master's degree during the academic 61-62
Appendix a USB data acquisition system hardware design schematics 62-64
Appendix II part of the firmware source code 64-78
Related dissertations
- The Design of High Speed Data Collection System Base on USB Bus
- Research and application of the USB 2.0 bus interface
- A Dissertation Submitted to the Academy of Sciences, for the Degree of Master of Circuit and System
- Study on Data Acquisition and LCD Display System of5kW Photovoltaic Inverter System
- Design of Embedded 8 Channels High Speed Data Acquisition System
- Based ARM Rotating Machinery Data Acquisition and Analysis System
- Design of the High Speed Data Acquisition System Based on USB2.0
- Research and Implementation of Stepper Motor Control Based on USB Interface
- Research and design of remote data acquisition system based on USB interface
- Realization of intelligent instrument system based on embedded Linux and USB communication
- USB-based data acquisition and control system development and research
- DSP data acquisition system USB interface technology research
- DSP and USB Application Studies in Wireless Digital Trans-receiving System
- Design and implementation of modern e-learning platform
- Multi-channel Data Acquisition System Based on USB Interface
- Research on Outputting & Getting System of Digital TV Transport Stream Based on USB2.0 Technology
- Research of the Universal Master Controller Based on Multi-Operating System
- The USB interface DTU design
- Universal remote operation of the master hand controller
- USB bus - based data acquisition system design