Design and Implement of Data Acquisition System Based on USB
- Author
- ShenGaoQiang
- Advisor
- ZhaoXiaoMing , HanXiaoMing
- School
- Zhejiang University of Technology
- Major
- Computer technology
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 369
- Citations
- 3
Abstract
With the development of information technology, data acquisition technology is widely used in industry field. The speed of A/D chip is becoming faster and data acquisition system requires higher transmission speed. Traditional communications style is restricted by the slow transmitting rate, weak anti-jamming ability and will be replaced by USB, the new generation Universal Serial Bus.This thesis analyzed characteristics of Universal Serial Bus and the requirement of data acquisition system based on USB. Lastly, an 8-channel analog voltage acquisition system based on STM32 MCU was described, including the design and implement of hardware and software. The system is validated and it reaches expected aims.The contribution and innovation of this paper is as below:(1) Analyzed the structure and performance characteristics of data acquisition system and it could be used as a guide for future developers. (2) Aiming at the huge data and the little memory of data acquisition device, the paper put forward using USB isochronous transmission as the speed could be guaranteed. The driver program finished in this paper can be used where USB isochronous transmission is needed.
Table of contents
Abstract 5-6
ABSTRACT 6-10
first chapter 10-14
1.1 data acquisition technology 10 -11
1.2 USB technology 11-12
1.3 research status 12
1.4 the main subject of research 12-14 < br /> USB technology Chapter Introduction 14-24
2.1 USB bus topology 14-15
2.2 USB communication protocol 15-20 <br / > 2.2.1 packet 16-17
2.2.2 several common packet format 17-18
2.2.3 transaction Processing 18-20
2.3 USB transfer mode 20-24
Chapter III USB-based data acquisition system 's overall design 24-26
3.1 USB-based data acquisition system, the key performance indicators 24
3.2 USB-based data acquisition system hardware structure 24-25
3.3 USB-based data acquisition system software composition 25-26 <br / > CHAPTER USB-based data acquisition system hardware design 26-41
4.1 USB interface chip select 26-35
4.1.1 STM32F103C8 features 26 - 28
4.1.2 STM32F103C8 chip architecture 28-29
4.1.3 STM32F103C8 full Speed ??USB Device Interface 29-32
4.1.4 transmission mode selection 32
4.1.5 STM32F103C8 general-purpose timer 32-33
4.1.6 STM32F103C8 SPI interface 33-35
4.2 A / D chip select 35-39
4.2.1 MAX1270 features 35
4.2.2 MAX1270 pin Description 35-37
4.2.3 MAX1270 works 37-39
4.3 STM32F103C8 connection with the MAX1270 circuit 39-40
4.4 capture device schematic and physical map 40-41
fifth Zhang USB-based data acquisition system software design 41-63
5.1 capture device firmware 41-53
5.1.1 firmware development Environment 41 <br / > 5.1.2 firmware functional description and module division 41-42
5.1.3 USB communication module 42-49
5.1.4 sampling control Module 49-51
5.1.5 main functions and program flow 51-53
5.2 capture device driver 53-57
5.2.1 Windows WDM device Driver Overview 53-54
5.2.2 USB driver WDM structure 54-55
5.2.3 device Driver development Environment 55-56
5.2.4 capture device driver design and implementation 56-57
5.3 user application 57-63
5.3.1 application function modules 57 <br / > 5.3.2 of the main frame design and implementation -CADSDlg class 57-60
5.3.3 device Access module -CUsbDevice class 60
5.3.4 display Module -CDisplay 60-61
5.3.5 sampling setting module -CADSetupDlg 61-63
Chapter VI system testing and analysis 63-65
6.1 test environmental 63
6.2 test results 63-64
6.3 analysis of test results 64-65
Chapter Summary and Outlook 65 -66
7.1 dissertation research 65
7.2 the next step 65-66
References 66-68
Appendix a key device driver routines 68-82
1.1 initialization routine DriverEntry () 68
1.2 create device routines AddDevice () 68-69
1.3 PnP routines OnStartDevice () and OnRemoveDevice () 69-71
1.4 device control routines DeviceControl () 71-74
1.5 data read and write routines 74-82
Appendix 2 devices to access the module's internal interface to enumerate the device code 82-86
Appendix 3 shows the waveform drawing module handling code 86-91 <br / > Thanks 91-92
papers published during the study for a degree directory 92
Related dissertations
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- Research on the Digital Broadband Electromagnetic Tomography System
- Design and Implementation of Multi-channel Analog and Digital Data Hybrid Acquisition Device
- Design and Realization of Data Acquisition and Storage System Based on STM32
- Vibration Measurement and Real-time Analysis System on STM32
- Design and Implementation of the Submerged Arc Welding Machine Control System Based on STM32
- Design and Implementation of TEM High-speed Acquisition System Based on FPGA
- The Design and Implementation of Underwater Acoustic Buoy System Based on ARM
- The Reseach of Isolation Technology in the Multi-channel Data Acquisition System
- The Research and Design of Data Acquisition System Based on USB
- High Definition Multichannel Analog Signal Input/Output System
- Design and Implementation of High-speed Data Acquisition System Based on FPGA
- CANopen gate winding hoist machine experiment platform based on design and research
- The Design and Research of Stand-alone Embedded Motion Controller Based on STM32and FreeRTOS
- Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
- Resarch on Online CCD Caliper Measure System Based on ARM
- The Design and Realization of Digital Voice Network Meeting System Based on Special Network
- Research on the Reform of Taxation Information Management Mechanism in China