The Research and Design of Virtual Instrument Based on USB Interface
- Author
- XiangLiPing
- Advisor
- XiongWenLong
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 342
- Citations
- 7
Abstract
The technology of USB is one new standard of industrial bus in PC system. At the present time, USB port not only has been the standard port of the main board of PC,but also trends to substitute the other bus interface such as serial interface, parallel interface and so on.USB is abroadly applied in all kinds of peripheral equipment of PC and it is cheap, high speed, low power and support Plug&Play. It’s convenient in use and maintenance.With the development of computer technology, the power of personal PC is becoming greater and greater, and the technology of virtual instrument which is being develop at very fast speed has great foreground.It will become one new trend to apply the technology of USB in cheap measure instrument.Logic Analyzer(LA) is one basic tool of Data Domain Measure. It is a kind of instrument with wide application in research, teaching and manufacture.Virtual instrumentation technique is developed upon both instrument technique and computer technique. This technique is considered as the future trend of instrument technology. The first part of the thesis has a review-like character. It makes a brief introduction of the logic analyzer technique, which including logic analyzer’s concept, main function. The thesis also introduces the virtual instrument’s concept, system architecture, etc. The thesis mainly discusses the design of virtual Logic Analyzer, based on USB interface.The principle of Logic Analyzer is addressed. After requirement analysis being surveyed, the system framework is presented. The instrument is made up of two parts: application software on personal computer, and the data-sampling system based hardware circuit board.This project mainly use the USB theory, Virtual instruments theory and some knowledge include software and hardware to perform the research of Virtual instruments system based on USB. In this project, I had accomplished compiling firmware programme of MCU, compiling WDM programme, Delphi programme and so on, and involving knowledge have C/C++、 Assembly Language, USB bus、 2000DDK, DriverWorks and so on. After integration debugging, it has been successful to transmit data from bottom hardware to application software andaccomplish the initial prototype of virtual instruments system based on USB.In the end of the thesis, a summary is presented and some suggestions are forward to improve the instrument.
Table of contents
Chapter 1 Introduction 8-14
1.1 the background and significance of the research work 8
1.2 virtual instrument technology 8-9
1.3 various data transmission mode 9-11
1.4 USB bus technology in virtual instrument 11-13
1.5 research significance 13
1.6 thesis contents 13-14
Chapter 2 logic analyzer with virtual instruments 14-21
2.1 logic analyzer technology 14-17 <br / > 2.1.1 logic analyzer development 14
2.1.2 logic analyzer About 14-17
2.2 Virtual Instrument Overview 17-21
2.2.1 basic concepts of virtual instruments the 2.2.2 Virtual Instrument System 17
constitute to 17-18 the 2.2.3 virtual instrument
characteristics 18-19 the
trends 2.2.4 virtual instrument 19
the 2.2.5 virtual instrument software system framework 19-21
Chapter 3 logic analyzer developed 21-23
3.1 logic analyzer data field tests nbsp 21
3.2 logic analyzer works; 21-22
3.3 System Architecture demonstration program 22-23
Chapter 4 USB communication module hardware design 23-29
4.1 USB Introduction 23-26
4.1.1 development perspective 23-24 four
4.1.2 USB data transfer mode 24-25
4.1.3 descriptors are found; 25
4.1.4 bus enumeration (Enumeration) 25-26
4.2 USB module hardware design the select 26-29
4.2.1 USB controller chip 27
4.2.2 Cy7c68013 internal resources 27-29
Chapter 5 microcontroller firmware is designed the 5.1 firmware functional requirements 29-35
29
5.2 USB firmware framework 29-31
5.3 main program 31-33
5.4 firmware implementation 33-35
Chapter 6 driver and application design 35-63
6.1 WDM driver the 35-38
6.1.1 WDM driver introduced 35-36
6.1.2 WDM driver IRP 36-37
6.1.3 WDM driver, plug-and-play features the 37-38
6.2 development tools DriverWorks 38-39
6.3 USB device driver 39-48
6.3.1 USB communication model the 39-40
6.3.2 USB driver architecture 40-42
6.3.3 USB device drivers the 42-45
6.3.4 USBDI, IOCTL 45-46
6.3.5 URB definition, 46-48
6.4 applications with WDM communication 48-53
6.5 several common system driver development 53-58
6.5.1 Windows system device driver development 54
6.5.2 Linux system device driver development 54-58
6.5.3 uC / OS system device driver program development 58
6.6 virtual instrument applications 58-63
6.6.1 Dynamic Link Library (DDL) 59-61
6.6.2 The waveform data show that the program design are found; 61-63
summarize the 63-64
Reference 64-66
Acknowledgements 66-67 < br /> of papers published during the study for a degree 67
Related dissertations
- Research of Data Acquistion System Based on FPGA
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Design and Realization of Virtual Logic Analyzer
- Design of Data Acquisition System Based on Cortex-M3and USB
- Design and Implementation of Virtual Instrument System Based on USB Bus
- Hardware&Software Implementation of Test Platform for Series Products
- Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments
- Research on Intelligent Fault Diagnosis Technique of Telemetering Equipment
- The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
- Development of Wet Gas Flow Measurement System
- The Design of Diffuse Scattering Test System of LCLV on the Virtual Instrument
- Micro-Tensile Test System Design for Fiber Materials Based on LabVIEW
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- The Research of Lens Thickness Measurement System Based on Virtual Instrument
- Usb Without Invasive Data Collection Technology Research
- A Type of Drive Receiver Test System Based on Pxi Bus
- Research and Design of the Measuring and Controlling System for Paver Simulated Experimental Bench
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Application of Vxi Bus Aviation Test System Based on Virtual Instrument
- Research on Multi-channel Data Acquisition Svstem Pre-processing Data Method