The Design of Data Acquisition System Based on USB
- Author
- SongZhiQiang
- Advisor
- YuHongYing
- School
- University of North
- Major
- Communication and Information System
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 243
- Citations
- 2
Abstract
With the rapid development of computer science and technology, the Data Acquisition System that takes Personal Computer as the control Platform has become the main development trends in current. This thesis takes the advanced performance of Universal Serial Bus with high-speed transmission, engrossing less system resources, easy using, easy expansion, Hot Plug In, Plug and Play to communicate between Personal Computer and the Data Acquisition System, and takes field programmable gate array as an overall controller, and proposes a USB2.0 based data acquisition system design.Firstly, this thesis deeply research the USB 2.0 bus specification, then the design of data acquisition system base on USB2.0 bus is discussed in details in which it contains two parts: hardware design and software. Hardware design section includes USB2.0 interface circuit design, A / D sampling circuit design, power circuit design and FPGA circuit design system; Software design section includes firmware design, driver design and application design. In terms of firmware design, the firmware of USB 2.0 interface chip and FPGA firmware design is discussed. Function driver is the bridge between application software and hardware, and the design process of the WDM (Windows Driver Mode) driver for the USB was introduced here. At last, the application design is to use Visual C + + 6.0 integrated development environment provided by the MFC. Finally, the whole system is tested and the function of the system is validated correctly.In the thesis, the data acquisition system based on the USB bus technology has 8-bits resolution, single channel sample rate is 500KHZ, and the transform rate is 5Mbps.The system not only achieves the data acquisition, transmission and real-time data display capabilities , but also has the attributes of hot plug in, plus and play, and easy to carry. The expect result is achieved.
Table of contents
Abstract 4-5
Abstract 5-10
1 Introduction 10-15
the 1.1 research background and significance 10-11
1.2 the research status and development trend 11-13
1.3 In this paper, the main content 13-15
2 USB 2.0 specification overview 15-32
2.1 USB bus architecture 15-16
2.2 USB bus physical connections and electrical characteristics 16-18
2.2.1 conversion speed 16-17
2.2.2 USB power management 17-18
2.3 USB encoding way 18
2.4 USB transmission elements 18-20
2.4.1 device endpoint 19
2.4.2 pipeline 19-20
2.5 USB transaction processing 20-26
2.5.1 package format 21-23
2.5.2 package identifier data field 23-24
the 2.5.3 packet address (address, ADDR) data domain 24
2.5.4 endpoint (end point, ENDP) data fields 24
2.5.5 frame number field 24
2.5.6 data fields 24-25
2.5.7 cyclic redundancy check field 25-26
2.6 USB data transfer types 26-28
2.6.1 Control Transmission 26
2.6.2 interrupt transmission 26-27
2.6.3 bulk transfer 27
2.6.4 synchronous transmission 27-28
2.7 USB device detection process 28-32
2.7.1 Description character 28-29
2.7.2 standard equipment request 29-32
3 hardware circuit design and 32-50
3.1 FPGA basic structure and features 32-33
3.1.1 FPGA Overview 32
3.1.2 FPGA characteristics 32-33
3.2 FPGA chip selection 33-38
3.2.1 Cyclone II FPGA family features 34-35
3.2.2 Cyclone II series FPGA's internal structure 35-36
3.2.3 Cyclone II series FPGA chip configuration 36-38
3.3 hardware circuit's overall design 38-46
3.3.1 CY7C68013A chip 38-39
3.3.2 CY7C68013A connected to the FPGA circuit design 39-41
3.3.3 ADC0809 connected to the FPGA circuit design 41-43
3.3.4 power circuit design 43-44
3.3.5 FPGA peripheral circuit design 44-45
3.3.6 hardware circuit PCB diagram and physical map 45-46
3.4 FPGA logic functions realization 46-50
3.4.1 divider circuit 47
3.4.2 A / D sampling control circuit 47-49
3.4.3 USB interface chip control circuit 49-50
4 firmware design 50-57
4.1 firmware architecture design 50-52
4.2 firmware features programming 52-55
4.2.1 FX2LP main registers introduced 52-53
4.2.2 USB device requests the design 53-54
4.2.3 Slave FIFOs interface design 54-55
4.3 firmware download 55-57
the
device driver program and application design 57-67
5.1 WDM driver introduced 57-59
5.2 USB driver structure 59-60
5.3 USB device driver development 60-62
5.4 application design 62-67
5.4.1 driver and application communication 63-66
the 5.4.2 interface program design 66-67
6 Summary and Outlook 67-69
6.1 paper work and summarize 67-68
6.2 Looking 68-69
Reference 69-72
studying for a master's degree during the thesis and to participate in the research work 72-73
Acknowledgements 73
Related dissertations
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- CCD Data Acquisition System Implementation Based on FPGA
- Research of Data Acquistion System Based on FPGA
- The Design and Realization of ASI/SDI Transport Stream Player Based on FPGA
- Design and Implementation of ARINC429Interface Based USB
- The Design of the Data Acquisition System in Strapdown Navigation Computer
- Data processing and target recognition of short range millimeter wave LFM detection
- Research on Key Technologies for Channel Sounder Based on Universal PC
- Design and Implementation of an Array Signal Synchronization Acquisition System
- Dynamic ECG Monitoring System Based on FPGA
- Design of Data Collecting System Based on ARM
- Design of the High Speed Data Acquisition System Based on USB2.0
- Design of High-speed Data Acquisition System Based on DSP and USB
- Study and Design of Data Acquisition System Based on USB
- USB2.0 interface technology theodolite
- USB and CPLD technology and its application in the measurement and control system