The Research and Design of Software of Virtual Digital Oscilloscope

Author
HeKunZhi
Advisor
QiDeZuo , WangShaoWen
School
South China University of Technology
Major
Computer technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
158
Citations
0

Request the full text

Abstract

Oscilloscope is a measuring instrument which acquires signals from the other electronicdevice, and then transforms those signals into visible waveform on the screen; it is usuallyused in electronic measurement area. There are three kinds of oscilloscope in current marketincluding analog oscilloscope, digital oscilloscope and virtual digital oscilloscope. Comparedwith the analog oscilloscope, digital oscilloscope has made great help for the high precisionof measurement techniques, that is to say, it could measure the wave’s amplitudequantitatively. Both of the two oscilloscopes invented before the virtual digital oscilloscope isdesigned as individual machines.Virtual Digital Oscilloscope is a product which combines computer technology andmeasurement technology. Usually, it is composed of front-end signal acquisition module, thecomputer control module and the signal display module. Compared with traditionaloscilloscope, virtual digital oscilloscope has many advantages. In addition to observing thewaveform, the waveform can be measured and analyzed quantitatively; and it is cost-effective,flexible, and easy to use; functions can be promoted easily; and users can make full use of theopen interfaces to extend its power. Along with the rise of cloud computing, the measurementinstrument has gone beyond the machine boundary, especially, in the highly developednetwork of today. Breaking the constraints of individual measurement laboratory, the trend ofmeasurement is that we test and share the results across the network remotely.In order to make measurement techniques more popular, and more fans of electronicmeasurement can master the basics knowledge, also train the research and developpersonnel .I think it is necessary to develop an oscilloscope which is entry-level, low-cost,easy to use.According to the requirements of the virtual oscilloscope, this paper has designed andimplemented a virtual oscilloscope software which could observe waveform on it. My tasksare: to collect and collate the requirements of the virtual oscilloscope, to list the key featuresof the virtual oscilloscope software requirements; to design a suitable virtual oscilloscopesoftware architecture that has a clear hierarchy, strong adaptability, Extensibility, etc.. with requirements analysis and architecture design, the entire software system is divided intoseveral modules: waveform graphical interface module, data transmission module, USBcommunication module, Ethernet communication module, signal acquisition module, andsignal generator module; after detailed design of each module, I develop a virtualoscilloscope software which support most of the requirements using C++ programminglanguage.The virtual oscilloscope software has a set of application-layer interfaces for thethird-party developers. The third developer can not only use these interfaces to continuedeveloping and enhance software functionality, also can use these interfaces to communicatewith the data acquisition card. In the waveform graphical interface module, this paper hasdesigned and implemented an efficient drawing algorithms——peak-peak-drawing algorithm,even if the mount of waveform data point is up to 100,000 points, you can get a very goodscreen refresh rate when using peak-peak-drawing method, The drawing algorithm can alsobe used in similar program. In the signal acquisition module, it has designed andimplemented a new waveform sampling algorithm. Common sampling algorithms aredifficult to capture Vibration signal and glitch signal, but the new waveform samplingalgorithm can capture these fast-changing signals effectively.This paper has developed a virtual oscilloscope software, which has friend graphicalinterface, and is simple and easy to user. What’s more, it has demonstrated the principle ofvirtual oscilloscope in its internal implementation, so it could be used in teaching to helpstudents understand and master the knowledge of oscilloscope.

Table of contents

Abstract 5-7 ABSTRACT 7-11 first chapter 11-16 1.1 significance 11 <br / > 120 research status 11-12 1.3 virtual oscilloscope advantage 12-13 1.3.1 cost 12 1.3.2 easy to carry 12-13 1.3.3 easy to expand 13 1.3.4 UI interface is more friendly 13 1.4 thesis content 13-14 1.5 of the main work 14-15 1.6 papers organizational structure 15-16 Chapter II of the overall virtual digital oscilloscope software design 16-23 2.1 demand Profile 16-17 2.2 architecture design 17-18 2.3 partitioning and 18 - 19 2.4 module division 19-21 2.5 development environment and tools selection 21-22 2.5.1 development platform of choice 21 - 22 2.5.2 development environment of choice 22 2.6 Summary 22-23 Chapter virtual oscilloscope software interface design and implementation 23 -42 3.1 GDI Introduction 23 3.2 MFC Class Library 23-24 3.3 virtual oscilloscope interface design 24-25 <br / > 3.4 virtual oscilloscope interface is achieved 25-26 3.5 draw the waveform 26-31 3.6 waveform storage function 31-32 3.7 virtual key algorithms used oscilloscope interface 32-36 3.7.1 peak drawing algorithm 32-34 3.7.2 double buffer drawing 34 <br / > 3.7.3 transparent bitmap implementations 34-36 3.8 interface operation 36-41 3.9 Summary 41-42 fourth Chapter design and implementation of data transmission 42-55 4.1 data transmission module needs 42 4.2 application Layer transport Protocol 42-49 4.2 .1 communication structure is defined 43-47 4.2.2 application layer communication interfaces 47-49 4.3 data Communication Interface 49-51 4.4 TCP communication interface definition 51-52 4.5 USB communication interface definition 52-54 4.6 Summary 54-55 Chapter V virtual data acquisition card design and implementation 55-68 5.1 virtual data acquisition devices feature 55-56 5.2 signal generator functions to achieve 56-57 < br /> 5.3 network communication functions are implemented 57-58 5.4 command Response function 58 5.5 trigger system 58-59 5.6 key algorithms Description 59-64 5.6.1 signal acquisition 59-61 5.6.2 interpolation algorithm 61-64 5.6.3 digitized signal 64 5.7 problems encountered in the implementation process and solutions 64-67 5.7.1 __ int64 into network byte order problems and solutions 64 -65 5.7.2 WM_TIMER thread failure at work workaround 65-67 5.8 Summary 67-68 Chapter math waveform data processing 68-73 6.1 waveform data representation 68-69 6.2 automatic measurement parameters 69 6.3 digital filtering 69 - 70 6.4 fast Fourier Transform 70-72 6.4.1 fast Fourier Transform Introduction 70 6.4.2 frequency data using 70-72 6.5 waveform superimposed 72 6.6 Summary 72-73 Chapter VII of the oscilloscope manual measurement techniques 73-76 7.1 voltage measurement 73 7.2 time and frequency measurement 73-74 7.3 pulse width and rise time measurements 74-75 7.4 Summary 75-76 Chapter Summary and Outlook 76-77 8.1 Summary 76 8.2 Prospects 76-77 <br / > References 77-78 master's degree research results achieved during the 78-79 Thanks 79

Related dissertations

  1. The Studies on the Recognition, Measurement and Disclosure of Insurance Liabilities
  2. Market-oriented of Interest Rates of Commercial Banks in China and its Measures
    KongXiangLe ·Jiangxi Normal University ·2013 ·Master's thesis
  3. The Research on Financial Service Outsourcing Risk Management of Commercial Banks
    NieShuYa ·Liaoning University of Technology ·2014 ·Master's thesis
  4. The Research on Classification and Measurement of Financial Assets
    HanWenJing ·Guangxi University ·2012 ·Master's thesis
  5. The Mechanisms and Measurement of Gains from Trade
  6. The Measurement of China’s Foreign Trade Costs and the Analysis of the Influence Factors
    YinMin ·Ningbo University ·2013 ·Master's thesis
  7. Research on Accounting Treatment of Goodwill for High-tech Enterprise
    WuDi ·Northeastern University ·2012 ·Master's thesis
  8. Environmental Cost Accounting Treatment for Enterprises
    WangZuo ·Shandong Agricultural University ·2013 ·Master's thesis
  9. Research on the Accountant of Enterprise Internally Generated Goodwill
  10. The Research of China Enterprise Independent Innovation and Measurement Based on the Government Funds and Policy Support
    KouLinLin ·Dongbei University of Finance ·2013 ·Doctoral dissertation
  11. Influencing Elements of Employee Satisfaction in a Group Corporation: an Empirical Study
    ZhangJuanJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Research China commercial bank enterprise culture measurement
    DongYingChen ·Yunnan University of Finance ·2013 ·Master's thesis
  13. Workforce Flexibility Measurement and Strategies in Chemical Plant Construction
  14. Research on TVC Customer Satisfaction
  15. The Measurement of Technology Gap between China and Developed Countries
    PengBo ·Hubei University ·2013 ·Master's thesis
  16. Measurement and Dimensional Decomposition of Multidimensional Poverty in China Rural Areas
  17. Research on the Application of Information Technology and Mode of Shouguang City,Rural Collective Land Ownership Registration
  18. Study on China’s Urbanization Bubble Measure and Regional Differences
    ZuoGuoJiang ·Lanzhou University ·2013 ·Doctoral dissertation
  19. Study on Evaluation and Improving Small and Medium-sized Cities Functions of the Capital Economic Circle
    ZuoChengLi ·Shanxi Normal University ·2014 ·Master's thesis
  20. Research on the RIA-based Techniques for Remotely Monitoring and Controlling Experiments