Development and Application of Data Acquisition & Control System Based on USB
- Author
- CaoLiGang
- Advisor
- ZhuHongTao
- School
- Nanchang University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 470
- Citations
- 4
Abstract
USB is increasingly popular in recent years in the computer field , the form of a bus . Because of its many advantages , USB applications in all aspects of the study is ongoing . USB-based data acquisition device , not only in the field of data acquisition with a fast , easy to extend , and plug-and-play functionality , making it suitable for a wider range of applications . This paper first reviews the different types of data acquisition system , and then briefly describes the the USB1.1 principle , proposed a USB data acquisition and control system of the overall program . In this paper, the third chapter details the hardware circuit design ; detail in Chapter IV describes the design of the software , the software , including firmware , drivers, and applications of three parts , each part gives a detailed development steps . Chapter specifically discusses the specific application of the program in biological signal analysis and processing system , an example application This is both the subject developed USB data acquisition system , is also the subject of the tasks undertaken .
Table of contents
The first chapter 7-11
1.1. Data Acquisition System Overview 7-9
1.2. Source and the subject topics major work done 9-10
1.3. Purpose and significance of the subject 10-11
Chapter USB1.1 principle 11-23
2.1. USB communication model 11-12
2.2. USB bus topology 12-14
2.2.1. USB host and device 12-13
2.2.2. USB physical topology 13
2.2.3. USB logical topology 13-14
2.2.4. USB client software layer between the application layer 14
2.3. USB data transfer types 14-17
2.3.1. Transfer control (Control Transfers) 15
2.3.2. Synchronous transfer (Isochronous Transfers) 15-16
2.3.3. Interrupt transmission (Interrupt Transfers) 16
2.3.4. Batch transmission (Bulk Transfers) 16-17
2.4. USB data format 17-21
2.4.1. USB packets 17-19
2.4.2. USB transaction 19-21
2.5. USB standard device request 21-23
Chapter III hardware circuit design 23-36
3.1. Hardware circuit design general requirements 23
3.2. Overall design 23-25
3.3. Major chip introduced 25-27
3.3.1. ADμC812 chip 25-26
3.3.2. PDIUSBD12 chip 26-27
3.4. Voltage conversion module design 27-29
3.5. Filter circuit design 29-30
3.6. Digital input and output expansion 30-31
3.6.1. Digital input expansion 30
3.6.2. Digital output expansion 30-31
3.7. RS232 interface extension 31-32
3.8. PDIUSBD12 chip Extended 32-33
3.9. Other related circuitry Profile 33-36
3.9.1. D / A output circuit 33
3.9.2. Chip RAM expansion 33-34
3.9.3. Reset circuit 34-35
3.9.4. Power processing circuit 35-36
Chapter IV software system design 36-71
4.1. Firmware design 36-50
4.1.1. Design goals 36
4.1.2. The basic idea of ??firmware programming and block diagram 36-38
4.1.3. Firmware development environment 38-39
4.1.4. Firmware development steps 39-50
4.1.4.1. RS232 serial communication 39-40
4.1.4.2. Firmware Loader 40
4.1.4.3. Endpoint O read and write 40-43
4.1.4.4. USB standard device request 43-46
4.1.4.5. Endpoint 1 processing 46
4.1.4.6. Data acquisition and control 46-48
4.1.4.7. Endpoint 2 processing 48-50
4.2. Driver Design 50-65
4.2.1. WDM driver model 50-51
4.2.2. The main programming techniques used in WDM 51-54
4.2.3. Driver development environment 54
4.2.4. Driver debugging 54-55
4.2.5. Driver development steps 55-65
4.2.5.1. DriverEntry routine 56-57
4.2.5.2. D12_AddDevice routine 57-58
4.2.5.3. D12_Pnp routine 58-60
4.2.5.4. D12_Read routine 60-61
4.2.5.5. D12_Write routine 61
4.2.5.6. D12_Power routine 61-63
4.2.5.7. D12_IOCTL routine 63-65
4.2.5.8. Other routines 65
4,2.5.9. Drivers construction 65
4.3. Application design 65-71
4.3.1. Design goals 66
4.3.2. Development Tools 66
4.3.3. Development steps 66-71
4.3.3.1. Get device interface 66-68
4.3.3.2. Access to hardware 68-71
CHAPTER USB-based bio-signal acquisition and processing system to achieve 71-78
5.1. Biological Signal Analysis System Introduction 71-73
5.2. USB-based biological signal analysis and processing system 73-78
5.2.1. Hardware Internet 73-74
5.2.2 software modifications 74-78
Chapter Summary and Outlook 78-80
Appendix 2: USB capture device descriptor 80-82
Appendix 3: D12 driver INF file 82-84
Appendix 4: USB Data Acquisition Description 84-86
Appendix 5: Biological Signal Analysis System four-channel amplifier circuit 86-87
Thanks 87-88
References 88-90
Related dissertations
- Design of the High Speed Data Acquisition System Based on USB2.0
- 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
- 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
- Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Implementation of Multi-channel Data Acquisition System
- The Design and Research of PCI Data Acquisition Card Based on FPGA