基于LabVIEW的虚拟滤波器设计 下载本文

基于LabVIEW的虚拟滤波器设计

目录

摘 要 .................................................................... 1 Abstract .................................................................... 2 第一章 虚拟仪器 ............................................................. 3

1.1引言 ................................................................. 3 1.2 虚拟仪器的概念 ...................................................... 4 1.3 虚拟仪器的工作原理 .................................................. 5 1.4 虚拟仪器的设计与实现步骤 ............................................ 5 1.4.1 前面板的设计 .................................................... 5 1.4.2 流程图的设计 .................................................... 6 第二章 滤波器 ............................................................... 7

2.1 滤波器的简单介绍 .................................................... 7 2.2 数字滤波器的分类 .................................................... 7 2.2.1 按冲激响应h(n)的长度分类 ........................................ 7 2.2.2 按有无递归结构分类 .............................................. 8 2.2.3 按频域特点分 .................................................... 8 2.3 数字滤波器的一般分析、设计方法 ...................................... 8 2.4 数字滤波器的主要性能指标 ........................................... 10 第三章 设计实现 ............................................................ 13

3.1 滤波器及Lab VIEW实现 .............................................. 13 3.2 在labVIEW中设计滤波器 ............................................. 13 3.3调试过程及结果 ...................................................... 15 3.3.2 高通滤波功能 ................................................... 18 3.3.3 其他类型滤波器 ................................................. 20 总结与展望 ................................................................. 21 参考文献 ................................................................... 23 致谢 ....................................................................... 24

I

基于LabVIEW的虚拟滤波器设计

摘 要

随着电子技术和计算机技术的快速发展以及价格不断下降,传统的电子技术设计观念,使原来需硬件完成的功能,现在能由软件实现。例如仪器面板和数字滤波等,实现硬件软件化。而不少硬件难以实现的功能,例如复杂的信号分析,数据统计和三维图像显示等,在计算机中则较容易实现。在市场的需求和相关技术支持下,促使了基于个人计算机的测控仪器——虚拟仪器的发展。虚拟仪器利用计算机强大的处理能力,使得它成为了一种很好的工具,其应用范围也越来越广泛。与传统仪器相比,虚拟仪器在智能化程度、处理能力和可操作性等方面均具有明显的技术优势。

本文设计的虚拟数字滤波器的系统工作原理是,对模拟信号进行数据采集后,根据使用者的不同要求由软件对数据进行相应的分析、处理,并在屏幕上显示处理结果。

本设计所采用的软件是美国NI公司推出的LabView。LabVIEW是一种基于图形化编程语言的开发环境,具有十分强大的数据库。它为虚拟仪器设计者提供了一个便捷、轻松的设计环境。是目前应用最广泛的虚拟仪器开发平台软件之一。

关键词: 滤波器;虚拟仪器;数据采集;LabVIEW

1

基于LabVIEW的虚拟滤波器设计

Abstract

Along with the electronic technology and the rapid development of computer technology and the price drops ceaselessly, traditional electronic technology design idea, so that the original hardware complete function, can now be realized by software. For example, instrument panel and digital filtering, implementation of hardware and software. While many hardware to realize the functions, such as the complex signal analysis, data statistics and three-dimensional image display, on a computer is realized easily. In the market demand and technical support, prompting a PC based measurement and control instruments -- virtual instrument development. Virtual instrument computer use powerful processing ability, make it become a good tool, it is used more and more widely. Compared with the traditional instrument, virtual instrument in intelligence, processing capability and maneuverability and so on has the obvious technical superiority.

In this paper, the design of the virtual digital filter system working principle is carried out on the analog signal, data acquisition, according to the different requirements of users by software for data corresponding to the analysis, processing, and the screen displays the processing result.

The design of the software is introduced by American NI Corporation LabView. LabVIEW is a graphical programming language based development environment, have very powerful database. It is a virtual instrument designer provides a convenient, easy design environment. Is currently the most widely used software of virtual instrument development platform.

Keywords: Wave filter,Virtual instrument,Data acquisition,Labview

2