Research on Virtual Oscillograph Based on USB
- Author
- HeGanHui
- Advisor
- TanDingZhong
- School
- Harbin Engineering University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 728
- Citations
- 5
Abstract
The virtual instrument take full advantage of the computer hardware and software resources , to closely combine computer technology and measurement techniques . By a combination of the host computer and the next bit instrument , not only have the functions of traditional instruments , PC software and hardware does not have some of the features , but also to reduce the overall cost of the instrument . USB bus interface - based virtual instrument to solve the low transmission speed , the installation process is cumbersome , vulnerable to environmental interference within the chassis , the computer system resource constraints and other shortcomings of the traditional bus format (such as RS232 , PCI, parallel port , ISA , etc.) , give full play to the USB bus interface to low-cost , high-speed , plug-and-play , easy maintenance, etc. , with a strong practical and research value . With the rapid development of computer technology and testing technology , virtual instrument based on USB interface will become the trend of the development of a new test field , and has broad prospects for development . This paper designed and developed a USB interface - based virtual oscilloscope . The thesis mainly include the hardware circuit design and software programming; hardware circuit design of the signal conditioning circuitry , A / D conversion circuit, a data buffer circuit and the USB communication interface circuit , the signal conditioning circuit is the input signal adjustment to the A / D converter Best distinguish the scope of , A / D converter circuit signal acquisition , collecting the results to the host computer through the USB interface . LabVIEW software to write PC applications , write a data processing program , and the man-machine interface , interactive interface can display the measurement results and receive control instructions . Finally, system interference problem . The practical application results show that the design in this paper based on the virtual oscilloscope USB interface , a convenient , easy-to-use , flexible , and low-cost , powerful , with high accuracy and anti-jamming capability . Virtual instrument technology , can realize the sharing of hardware and software resources , quickly and easily set up automatic test system , the use of powerful computer functions , signal sampling , digital filtering , spectrum analysis and waveform display also collected waveform data storage, playback, and sharing .
Table of contents
Abstract 5-6
Abstract 6-12
Chapter 1 Introduction 12-28
1.1 Virtual Instrument Overview 12-19
1.1.1 concept of virtual instrumentation 12-13
1.1.2 virtual instrument constitutes 13-16
1.1.3 comparison virtual instruments and traditional instruments 16-18
1.1.4 virtual instrument development status and development trend 18-19
1.2 Universal Serial bus (USB) Overview 19-22
1.2.1 USB technology concept 20-21
1.2.2 USB technology features 21-22
1.3 USB bus-based virtual instrument 22 -25
1.3.1 traditional acquisition board data transmission 23-24
1.3.2 USB bus-based virtual instrument 24-25
1.4 virtual Instrument development tools 25-27
1.4.1 LabVIEW programming software 26
1.4.2 LabWindows / CVI programming software 26-27
1.4. 3 other programming software 27
1.5 of this thesis research 27-28
Chapter 2 overall system design 28-39
2.1 data collection theoretical foundation 28-34
2.1.1 data acquisition concept 28
2.1.2 sampling Theorem 28-29
2.1.3 sampling Theorem of several basic forms 29-31
2.1.4 sampling Method 31-32
2.1.5 quantization and coding 32-34
2.2 hardware circuit design 34-36
2.2.1 controller Selection 34
2.2.2 USB control solutions 34-36
2.3 host computer program design 36-38
2.3.1 application program 36
2.3.2 USB device driver program 36-38
2.4 system Architecture 38
2.5 Chapter Summary 38-39
Chapter 3 hardware Design 39-60
3.1 analog signal conditioning 39-42
3.1.1 impedance attenuation circuit 39-40
3.1.2 amplification circuit 40-41
3.1.3 relay control circuit 41-42
3.2 data acquisition 42-47
3.2.1 A / D conversion chip select 42-44
3.2.2 MAX7821 operating mode select 44-45
3.2.3 A / D converter control circuit 45-47
3.2.4 data acquisition program flowchart 47
3.3 control devices ATmega162 47-53
3.3.1 ATmega162 Overview 48-50
3.3.2 ATmega162 -based hardware design 50-51
3.3.3 ATmega162 -based software design 51-53
3.4 data cache 53-55
3.4.1 FIFO memory IDT7202 53-54
3.4.2 IDT7202 hardware circuit design 54-55
3.5 USB bus interface 55-56
3.5.1 Interface Solution 55
3.5.2 hardware circuit design 55-56
3.6 single-chip communications 56-59
3.7 data acquisition card 59
3.8 chapter Summary 59 - 60
Chapter 4 USB communication module design 60-74
4.1 USB protocol introduced 60-63
4.1.1 USB system constitutes 60
4.1.2 USB bus electrical characteristics 60-62
4.1.3 USB transfer types 62-63
4.2 USB bus hardware design 63 -65
4.2.1 PDIUSBD12 Profile 63-64
4.2.2 PDIUSBD12 interface with the microcontroller program 64-65
4.3 USB software design 65 -73
4.3.1 firmware design 65-73
4.3.2 driver design 73
4.4 Summary 73-74 <br / > Chapter 5 software Design 74-85
5.1 Overview 74-75
5.2 application software module design 75-79
5.2. a data measurement module 76-77
5.2.2 data analysis module 77
5.2.3 digital filtering module 77-78
5.2.4 waveform display module 78-79
5.2.5 data storage and playback module 79
5.3 oscilloscope program design 79-81
5.3.1 virtual oscilloscope panel 81
5.3.2 oscilloscope block diagram program 81
5.4 anti-jamming design and error analysis 81-84
5.4.1 hardware anti- interference design 81-82
5.4.2 software anti-jamming design 82-83
5.4.3 error analysis and processing 83-84
5.5 Summary 84-85
Conclusion 85-86
References 86-90
papers published during the master's degree and research achievements 90-91
Thanks 91-92
Appendix A capture card circuit diagram 92
Related dissertations
- Research of Data Acquistion System Based on FPGA
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Research and Design of the Measuring and Controlling System for Paver Simulated Experimental Bench
- Development of rail transit vehicle brake products testing technology research and testing equipment
- Virtual Instrument Based on Labview Design in the Process of Chemical Research: Application of Pressure and Temperature Control
- A Type of Drive Receiver Test System Based on Pxi Bus
- Microprobe Automatic Test System and Performance Research
- Research on Multi-channel Data Acquisition Svstem Pre-processing Data Method
- CCD Data Acquisition System Implementation Based on FPGA
- Design of Analog and Digital Hybrid Module Based on CompactRIO
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Research of Network and Sharing Experiment Platform Based on Virtual Technology
- Research of Equipment Management System Based on Rfid Technology
- Research on the Digital Broadband Electromagnetic Tomography System
- Design and Implementation of Remote Network Virtual Electronic Experiment Platform
- E5Signal Generation and Verification of Galileo System
- Design and Implementation of an Array Signal Synchronization Acquisition System
- Design of Detection System for Weak Photoelectric Signal Based on LabVIEW
- Design of Remote Blood Pressure Monitoring System Based on Virtual Instrument
- Spectrum Analysis System Based on LabVIEW