基于LabVIEW的虚拟双踪示波器的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
摘要
示波器是科学研究和工程设计中广泛应用的一种通用仪器。虚拟数字存储示波器是虚拟仪器技术的一种具体应用,主要由数据采集、数据处理和结果显示三大部分组成。其中,数据处理和结果显示由计算机软件系统来完成,只有数据采集是在软件的控制下由硬件来完成。
本文主要利用功能强大的图形化虚拟仪器开发平台LabVIEW,完成虚拟双踪示波器的设计。
本设计采用模块化的设计思想,将每个功能均由一个模块来完成。其中主要包括由信号发生、触发控制和采样控制组成的数据采集模块,由滤波、频谱分析、加窗处理和波形存储及回放组成的信号分析及处理模块,时基控制的波形显示模块。数据处理和结果显示都是由计算机软件系统来实现的,而数据采集则是在软件的控制下由硬件来完成的。本文所设计的虚拟示波器除具有通用功能外,又优于普通示波器,具有自身的优点,如滤波、频谱分析、波形的存储和调用,其成本低廉,功能可根据应用的需要不断地扩展。
最后对虚拟示波器进行了系统测试和性能分析,实验结果达到了预先的设计要求。
关键词:虚拟仪器,虚拟双踪示波器,LabVIEW
ABSTRACT
Scope of scientific research and engineering design is a widely used general-purpose equipment. Virtual Digital Storage Oscilloscope is a kind of virtual instrument technology specific application, mainly by the data acquisition, data processing and the results showed three major components. Among them, the data processing and results accomplished by the computer software system, only the data acquisition is under the control of the software from the hardware to complete.
This paper mainly using powerful graphical LabVIEW virtual instrument development platform, completed the design of virtual oscilloscope double steps.
This design USES the modular design thought, will each function all by a module to complete. Include the signal happen and trigger the control and sampling control the data acquisition module, composed by filtering, spectrum analysis, add window treatment and waveform storage and playback of signal analysis and processing module, the time base control of the waveform display module. Data processing and the results showed that are made by computer software system to achieve, and the data acquisition is under the control of the software by the hardware to finish. In this paper, the design of virtual oscilloscope is in addition to the general function, and better than the ordinary oscilloscope, which has its own advantages, such as filtering, spectrum analysis, waveform, the storage and call low cost, according to the needs of the function can be used continuously expanded.
At last the virtual oscilloscope system test and performance analysis, the experimental results to advance design requirements.
KEY WORDS: Virtual instrument, Virtual oscilloscope.Were double, LabVIEW
目录
1 绪论 (1)
1.1问题的提出及课题研究意义 (1)
1.2 虚拟仪器概述 (2)
1.3 虚拟仪器的现状 (7)
1.4 本研究的内容 (9)
2 虚拟示波器的基本原理 (11)
2.1示波器的结构 (11)
2.2示波器的波形显示原理 (12)
2.3虚拟示波器的工作原理 (14)
3 系统设计 (17)
3.1 硬件设计 (18)
3.2 软件设计 (19)
3.2.1 LabVIEW编程环境介绍 (19)
3.2.2 软件编程 (22)
3.3 信号分析及处理设计 (25)
3.3.1波形存储及调用 (29)
3.3.2数据存储 (29)
3.3.3 数据回放 (30)
3.3.4 显示控制 (31)
4 虚拟示波器的调试与测试结果 (33)
4.1虚拟示波器的性能指标 (33)
4.2程序的调试与仪器对比测试结果 (33)
4.2.1波形显示调试结果 (33)
4.2.2触发控制调试 (35)
4.2.3数据分析和处理调试 (36)
5结论与展望 (37)
参考文献 (39)