Applicable Study on USB in Virtual Instrument

Author
YuZuo
Advisor
WangXiuQing
School
Tianjin University of Science and Technology
Major
Detection Technology and Automation
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2005
Downloads
392
Citations
2

Request the full text

Abstract

Virtual Instrument represents the trend of the ATS(automatic test system) development. The USB-bus technology provides the Virtual Instrument with new space to develop. The Virtual Instrument based on the USB-bus coincides with the new bus standard and the trend of instrument development. Since there is no Virtual Instrument based on USB-bus, the research of this paper focus on the application of USB-bus in Virtual Instrument.Based on deep analysis of USB protocol and WDM (Windows Driver Model), the driver program of USB is developed with DriverStudio and compiled with VC++, then the driver program is encapsulated to DLL (Dynamic Link Lib). On the basis of that, the hardware is designed and the fireware is programmed with TMS320VC5402 in CCS. The application program based on the LabWindo-ws/CVI is developed and the flow chart is presented. At last, the debug method and conclusion are also put forward.This design has main four advantages described as follows:1. The USB driver program based on WDM, which supports PnP (plug and play) and power management, meets the requirement of driver program in the future.2. The fireware design in language C has the high ablity of code naturalization. The USB fireware structure makes it convenient that the system is upgraded and maintained3. The advantages of USB and RS-232 reinforce each other. Therefore the devices with RS-232 could be grafted on devices with USB, which makes USB-bus technology popular.4. It is creative that USB device is constructed with DSP in the hardware design. The USB real-time communication can be guaranteed, considering such points as the fast DSP speed and the special DSP instructions with high performance.

Table of contents

Abstract to the 2-3 Abstract 3-6 1 Introduction the 6-12 1.1 bus virtual instrument classification - 1.2 the USB bus technology development process and the status quo 7-9 1.3 USB bus virtual instrument research necessity 9-10 the 1.4 main task is 10-12 2 USB bus technology 12-25 2.1 USB electrical characteristics and signal level 12-13 2.2 USB main mechanism the 13-14 2.3 USB system composed 14 2.4 USB configuration, interface and endpoint 14-15 2.5 USB communication model 15-16 2.6 USB endpoints and pipes 16-17 2.7 USB protocol layer 17 2.8 USB data transfer types 17-20 < br /> 2.9 USB describe character the 2.10 USB standard device requests 20-24 24-25 WDM driver model 25-37 3.1 WDM Driver Model Overview 25 3.2 five-layer software architecture based on WDM the 25-27 3.3 IRP data structure 27-28 3.4 IRP stack unit data structures 28-29 3.5 WDM model hierarchy 29-31 3.6 IRP process in a device object stack 31 - 32 IRQL 3.7 WDM 32-33 3.8 power management 33 3.9 Plug and Play 33-34 3.10 USB device enumeration process 34-35 3.11 WDM drivers and applications interface between 35-37 driver development 37 - 43 4.1 Introduction 37 4.2 driver development tools 37 4.3 DriverWorks develop USB device driver are found; 37-42 4.4 driver package 42-43 5 USB device and its firmware programming the 43-55 5.1 PDIUSBDl2 of, performance characteristics 43 5.2 PDIUSBD12 l2 the block diagram 43-44 5.3 PDIUSBDl2 with the TMS320VC5402 hardware interface the 44-45 5.4 PDIUSBDl2 instruction, set 45-47 5.5 USB firmware 47-48 5.6 event flags and data buffer 48-49 5.7 interrupt service routine (ISR) 49-51 5.8 common endpoint routines 51 5.9 control input / output process 51-53 5.10 main loop (main) 53-55 AD, DA and UART peripherals 55-61 6.1 ADS7864 55-57 6.2 DAC7724 57-59 6.3 UART 59 - 61 7 LabWindows / CVI applications designed 61-64 7.1 application development 61-63 7.2 application flow chart 63 - 64 8 system debugging the 64-66 8.1 debugging tools 64 8.2 debugging method 64-66 conclusions 66-67 Acknowledgements the 67-68 Reference 68-73 Appendix 1: part of the DSP program 73-77 Appendix 2: for Master during papers 77

Related dissertations

  1. Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
  2. Research on Intelligent Fault Diagnosis Technique of Telemetering Equipment
    LiZhongWei ·Harbin Engineering University ·2013 ·Master's thesis
  3. The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
  4. Development of Wet Gas Flow Measurement System
    AnJunDa ·Tianjin University ·2012 ·Master's thesis
  5. The Design of Diffuse Scattering Test System of LCLV on the Virtual Instrument
  6. Micro-Tensile Test System Design for Fiber Materials Based on LabVIEW
  7. The Research of Lens Thickness Measurement System Based on Virtual Instrument
  8. A Type of Drive Receiver Test System Based on Pxi Bus
  9. Research and Design of the Measuring and Controlling System for Paver Simulated Experimental Bench
    LiYuanCai ·Chang'an University ·2013 ·Master's thesis
  10. Application of Vxi Bus Aviation Test System Based on Virtual Instrument
  11. Research on Multi-channel Data Acquisition Svstem Pre-processing Data Method
    XuYun ·Zhejiang University ·2014 ·Master's thesis
  12. Research and Design of Indoor Environmental Multi-parameter Wireless Measurement System
    ShengShiYue ·Xiamen University ·2014 ·Master's thesis
  13. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  14. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  15. Realization and Department Analysis of Fractional-order Controller Based on LabVIEW
    XuZhiChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  16. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  17. Study on Fault Diagnosis and Design for Testability of Analog and Digital Mixed System Based on Boundary Scan
  18. Research of Equipment Management System Based on Rfid Technology
  19. Study on the Tracing Measurment System of the Moving Target Trajectory Based on PSD
  20. Research on Detection System of Image-based Fluorescence Labeling
    WangZuo ·Tohoku Electric Power University ·2014 ·Master's thesis