Based on USB Data Acquisition Card Design and Application

Author
ZhangHuaYang
Advisor
LiangChuHua , ZhouJianPing
School
Xinjiang University
Major
Mechanical and Electronic Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2008
Downloads
441
Citations
0

Request the full text

Abstract

This paper introduces a kind of based on Universal Serial Bus USB (Universal Serial Bus) data acquisition system design. As the user for data acquisition system requirements rise ceaselessly, the USB interface with its easy to use, fast and be accepted by the masses of users. In this paper the meaning of data acquisition system is based on the integration of the microprocessor USB interface chip (CypressEZ - USB FX CY7C68013) to complete sampling control and PC application complete system communication function, the application complete user commands and data display. The system adopts the USB bus instead of the traditional data acquisition bus, based on USB protocol and equipment structure, the understanding of the data acquisition system hardware design and software design. Hardware design mainly solved the controller and the host communication problems, data sampling, I/O, such as expansion of circuit design and interface between them. Software programming is mainly divided into three parts: one is to meet the best transmission rate and efficiency of the firmware programming; The second is to provide users with dynamic link library form packaging function function; Three is to provide demo and test control panel program, and for the system to provide the application example.

Table of contents

Abstract 2-3 ABSTRACT 3-7 Chapter Introduction 7-10 1.1 Introduction 7 1.2 project background 7-8 1.3 domestic and international research trends 8 1.4 of the purpose and significance 8-9 1.5 The main task 9-10 USB System Introduction Chapter 10-30 2.1 USB transmission system Introduction 10-14 2.1.1 USB host and device 10-11 2.1.2 USB device endpoint interface and configuration 11 2.1.3 USB transfer types 11-12 2.1.4 Pipe (Pipe) 12-13 2.1.5 USB traffic flow model 13-14 2.2 USB interface communication protocol 14-30 2.2.1 Data field format 15-16 2.2.2 package format 16-18 2.2.3 affairs format (Packet Format) 18-22 2.2.4 USB device request (DeviceR equest) 22-27 2.2.5 device state diagram and bus enumeration process 27-28 2.2.6 System configuration process 28-29 2.2.7 General Programmable Interface GPIF 29-30 Chapter USB2.0 high-speed data acquisition system hardware design 30-40 3.1 hardware design ideas 30 3.2 data acquisition system hardware implementation 30-40 3.2.1 CY7C68013-USB2.0 interface chip Introduction 30-36 3.2.2 FIFO (CY7C68013) performance and features 36-37 3.2.3 A / D converter chip (MAX115) performance and features 37-38 3.2.4 USB interface, part of the circuit design 38 3.2.5 ADC start 38-39 3.2.6 Reading data 39 3.2.7 Clock 39-40 Chapter firmware design 40-52 4.1 firmware (FIRMWARE) Introduction to Programming 40 4.2 USB device requests and equipment bootstrap 40-43 4.2.1 control packets 40-41 4.2.2 USB standard device request 41-43 4.2.3 Equipment bootstrap 43 4.3 EZ-USB firmware programming 43-52 4.3.1 firmware modular hierarchy 43-44 4.3.2 The main program loop 44-48 4.3.3 protocol layer command 48-49 4.3.4 Interrupt Service Routine 49-52 Chapter USB driver 52-68 5.1 WDM Profile 52-56 5.1.1 device driver component 52-53 5.1.2 I / O request processing 53-54 5.1.3 Plug and Play device stack 54-55 5.1.4 IRP 55-56 5.2 USB communication 56-61 5.2.1 USB descriptors 57-58 5.2.2 Device Endpoint 58-59 5.2.3 device channel 59-61 5.3 USB driver (USBD) 61 5.4 EZ-USB driver 61-68 5.4.1 driver entry 62-65 5.4.2 I / O control requests 65 5.4.3 USB driver calls 65-68 Chapter VI PC test software implementation 68-75 6.1 WIN32 API and drivers test 68-73 6.1.1 WDM communication on Win32 program 69 6.1.2 performance function to achieve 69-73 6.2 PC applications 73-75 Chapter VII Conclusion and Outlook 75-76 7.1 Conclusion 75 7.2 Prospects 75-76 Thanks 76-77 References 77-79 master's papers published during 79-80

Related dissertations

  1. FPGA Implementation of USB Interface Based on UPLI Protocol
    LvZhiChao ·Dalian Maritime University ·2013 ·Master's thesis
  2. Research on Electromagentic Leakage Emanations of USB Keyboard
  3. A Research and Design of the Secure Storaged USB Device Controller Based on FPGA
    LiAiGuo ·PLA Information Engineering University ·2012 ·Master's thesis
  4. Implementation of USB OHCI Host Stack Based on μC/OS-Ⅱ
  5. The design of USB2.0 device controller and C code verification
  6. Flight Control Integrated Test Facility Hardware System Design and Implementation
  7. The Reasearch and Application of NCUC-Bus and USB Conversion
  8. Storage USB2.0 interface test system design
    LiuJiMing ·University of North ·2008 ·Master's thesis
  9. Record playback unit designed based on USB2.0 data
  10. Design of a USB2.0 Interface Controller
    ZhangJianYong ·Taiyuan University of Technology ·2008 ·Master's thesis
  11. The Research of Communication and Storage Technology on Distributed Fault Detecting System of the Train
    ZhouDong ·Beijing Jiaotong University ·2008 ·Master's thesis
  12. USB-based parallel multi -channel design frequency tester
    LiDanDan ·West China University ·2008 ·Master's thesis
  13. The Research on Multi-Channel Real Signal Acquisition System Based on TMS320C6713 and USB2.0
    YangJunBo ·Shanghai Jiaotong University ·2008 ·Master's thesis
  14. Development of the Tramcar Speed Measuring and Recording System Based on USB
  15. Based on embedded operating system USB device driver development
    ZhaoMing ·Xi'an Optics and Fine Mechanics ·2007 ·Master's thesis
  16. The Control Logic and Software Design in Data Acquisition System for a Novel Patch-Clamp
  17. Design and Implementation of Video Capture in Water Quality Online Monitor System
  18. Design of Driver for Laser Marking Controller Based on USB
  19. Circuit Design of Experimental Control and Data Acquisition for Automatic Patch-Clamp System
  20. USB Based Simulation and Measurement for Excitation System of Synchronous Generator