Design of 50MHz-8 channel USB I/O digital device software

Author
LuoZuo
Advisor
TianShuLin
School
University of Electronic Science and Technology
Major
Measuring Technology and Instruments
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2012
Downloads
10
Citations
0

Request the full text

Abstract

The digital I/O device can be widely used in the field of telecom equipment testing, digital to analog conversion detection and automated detection system. In practical use, the defects of traditional interface digital I/O device, such as the large size, not supporting hot-plug, have become increasingly prominent. Based on the consideration of these issues, the design of USB digital I/O device with8independent input/output channels and operating frequency of50MHz has been proposed in this article, taking full advantage of small size of USB interface, Plug and Play, hot swappable, low development costs, short development cycle and high transmission speed.This dissertation focuses on the software programming of high speed and uninterrupted data transmission in USB digital I/O devices. The basic methods and specific process of the design of software in USB digital I/O devices have been elaborated in this dissertation. The design of software part includes four parts as below, design of the USB interface chip firmware, the USB device driver design, the programming of man-machine interface and USB instrument driver.1. Design of the USB interface chip firmware:some firmware programming method of high-speed and continuous data transmission was put forward. The programming methods helped to improve the speed of data transfer, to avoid data loss occurred during bulk data transmission and to increase the reliability of data transmission.2. The USB device driver design:achieved the development of specific function of the device driver. Designing the USB device driver have made full use of the feature of the USB block transfer that can process the large quantities of data, the efficiency of data transmission can be improved.3. The design of USB instrument driver: A special instrument driver has been developed for this device to detail the various functions of the device in the form of function module, which can also improve the software maintainability and succession of this device as well as strengthen the protection of the source code. 4. The design of man-machine interface programming:A simple man-machine interface has been developed to analyze and process data and increase the actual value of the equipment.Some tests has showed that the USB digital I/O device has good stability in the transmission of large amounts of data, and this device can ensure the transmission speed without data loss occurring. The goals of the design have been achieved, which is able to meet the requirements of the practical application.

Table of contents

Summary 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-13 1.1 subject background and significance 10 1.2 digital I / O status of the development of main tasks 10-11 1.3 This article 11-12 1.4 the paper is organized 12-13 Chapter II USB digital I / O design 13-18 2.1 USB digital I / O devices overall design specifications 13 2.2 USB digital I / O The overall design process 13-15 2.3 USB digital I / O machine structural framework 15-16 2.4 USB digital I / O software design overall framework 16 -18 Chapter III USB digital I / O firmware design 18-31 3.1 USB interface chip input and output 18-19 3.2 USB endpoints and more buffer 19-20 3.3 USB firmware basic framework 20-22 3.4 USB high-speed data transmission without interruption firmware design 22-25 High-speed data receiver firmware 3.4.1 programming 23-25 ?? 3.4.2 firmware programming high-speed data transmission design 25 3.5 USB digital I / O data transfer format is designed 25-26 3.5.1 data Receive custom format 25-26 3.5.2 send custom data format 26 3.6 each functional module firmware programming 26-31 3.6.1 firmware data receiver function module design 26-28 3.6.2 user requests a command function module firmware design 28 -29 3.6.3 firmware data transmission function module design 29-31 Chapter IV USB digital I / O device driver design 31-44 4.1 USB digital I / O device driver needs analysis 31-32 4.2 WDM driver hierarchy basic composition of 32 4.3 WDM device driver 32 -33 4.4 USB device driver programming interface class functions 33-34 4.5 USB digital I / O device driver main functional design 34-41 4.5. a device to open the function module design 35 4.5.2 device off function module design 35-36 4.5.3 pipeline initialization function module design 36 <br / > 4.5.4 data read function module design 36-38 4.5.5 data transmission function module design 38-39 4.5.6 USB user request control module design 39-41 4.6 USB digital I / O device driver debugging 41-44 Chapter V USB digital I / O device driver design 44 -61 5.1 instrument Driver needs analysis communications 44 5.2 instrument drivers and device drivers to achieve 44-46 5.3 instrument driver function module design 46-61 5.3.1 device open function module design 47-48 5.3.2 device off function module design 48-49 5.3. 3-channel parameter setting function module design 49-54 5.3.4 data transmission function module design 54-57 5.3.5 data receiver module design 57 -61 Chapter VI USB digital I / O man-machine interface design and functional test 61-71 6.1 USB digital I / O HMI needs analysis 61-62 6.2 USB digital I / O modules HMI design 62-66 6.2.1 device Management module design 63 6.2.2 data transmission function module design 63-64 6.2.3 data acquisition module design 64-66 6.3 USB digital I / O device module function test 66-68 6.3.1 data transmission and reception function test 66 6.3.2 single Sequence output function test 66-67 6.3.3 looping sequence output function test 67-68 6.3.4 discrete level output function test 68 6.4 debugging problems and solutions 68-71 Article seven chapters summarize 71-73 Thanks 73-74 References made ??during the 74-75 attack Shuo research 75

Related dissertations

  1. Embedded Linux-based USB Encryption Driver Design
  2. Optimization and Experimental Study of Multi-Channel Data Transmission Unit
  3. The Reseach of Data Transmission Technology in the Environmental Test System
    ZhengWenQiang ·University of North ·2013 ·Master's thesis
  4. The Design and Implementation of Remote Monitoring System for Solar Hot Water Project
  5. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  6. Usb Without Invasive Data Collection Technology Research
  7. The Manufacture of Synthesized Data Transmission and Collection Module
  8. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  9. Design and Implementation of Medical Data Monitoring System Based on HL7Standard
    CaoDi ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Data Acquisition and Management System of Wireless Remote Large-diameter Water Meter
  11. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  12. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  13. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  14. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  15. Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
  16. Microcomputer-controled Precision AC High-Voltage Power
  17. Research and design of intelligent 3D pulse peak field strength tester
  18. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  19. Research and Implementation of Big Data Transmission Technology Based on WAN
  20. Research of Deception and Anti-Attack Methods in Dynamic Target Defense