1、 毕业设计论文 基于虚拟仪器技术的数据分析系统 Data Analysis System Based on Virtual Instrument Technology 2016 年 6 月 目 录 摘要I ABSTRACT. II 第 1 章 绪论. 1 1.1 虚拟仪器简介 1 1.1.1 虚拟仪器的发展历史. 1 1.1.2 虚拟仪器的定义. 2 1.1.3 虚拟仪器的构成. 2 1.2 虚拟仪器的发展情况及趋势 3 1.3 本文的研究内容 3 第 2 章 数据采集系统的设计. 4 2.1 LABVIEW 软件的搭建 . 4 2.2 设计方案的比较 4 2.2.1 软件比较. 4 2.2.
2、2 声卡采集数据的特点. 5 第 3 章 软件模块的设计. 10 3.1 程序的流程图 10 3.2 程序的结构图.11 3.3 LABVIEW 简介 .11 3.4 数据采集和处理模块. 12 3.4.1 声音输入配置虚拟仪器 13 3.4.2 声音输入读取虚拟仪器 15 3.4.3 声音输入清除虚拟仪器 16 3.5 数据模拟模块. 18 3.6 低通滤波模块. 20 3.7 波形显示模块. 21 第 4 章 程序设计显示. 22 4.1 程序的使用方法 22 4.1.1 程序的环境. 22 4.1.2 声卡配置. 22 4.2 程序的总框图 22 4.3 程序的调试结果 23 4.3.1
3、 声卡采集数据的结果 24 4.3.2 模拟采集数据的结果 24 结论. 27 致谢. 28 参考文献. 29 I 摘 要 虚拟仪器包括硬件平台和应用软件两大部分:第一部分,对被检测信号的采 集通过硬件平台来完成,同时它也会对被采集的信号进行调理。第二部分,作为 外围电路的仪器硬件是插入式数据采集卡不可缺少的部件,例如数模转换器、模 数转换器、数字电路以及混合信号电路等等;或者是带标准总线接口的仪器,例 如 GPIB、PXI、VXI 等测试测量中的总线技术总线仪器和网络化仪器等。并且 市场上的模数转换采集卡和数据采集卡以及带标准总线接口的仪器等, 其价格均 十分昂贵,并且其价格与实用价值相差甚
4、远。同时,考虑到计算机中的声卡它本 身就是一个转化装置,具有 16 位的量化精度、44.1kHz 的数据采集频率,可以 完成在合理应用范围内数据采集的需要并做出规范化分析, 个别性能指标远远高 于商用数据采集卡,完全能够达到本次设计的要求。 本文中,基于声卡和模拟数据采集数据采集装置。利用声卡实现对数据的采 集,制作成拥有四大功能的简易数据采集系统,其功能分别为实现数据采集、模 拟采集数据、波形显示、进行低频滤波。从而进一步的对数据做出分析。 关键词: 虚拟仪器;数据采集;声卡 II ABSTRACT The virtual instrument consists of two parts:
5、hardware platform and application software. In the first part, the collected signal is collected by the hardware platform, and it can also be used to regulate the collected signal. In the second part, as the peripheral circuit of the instrument hardware is inserting data acquisition card, an indispe
6、nsable components, such as the number of converters, analog to digital converter, digital circuits and mixed signal circuits and so on, or the standard bus interface with equipment, such as measure test, GPIB, PXI VXI bus instrument bus technology and network equipment and so on. And the market of analog digital conversion and data acquisition card and data acquisition card and standard bus interface instrument, the price is very expensive, and its price and practical value is very far. At the