摘要:随着时代的进步,虚拟仪器技术在电子测量领域取得了巨大的进步和发展。虚拟仪器在功能上可以看作是测量和控制仪器,由软件和硬件组合成的一种仪器,可以实现各种传统仪器的功能。作为虚拟仪器的编程软件--LABVIEW是一种图形化的虚拟仪器编程语言平台,它的优点是编程的效率很高、功能十分强大、界面简易直观以及修改参数方便等。它主要应用的领域之一是设计数字滤波器。
本文详细介绍了LABVIEW软件的组成部分、使用方法以及设计程序的方法,并且给出了基于LABVIEW软件平台的FIR数字滤波器的详细软件设计方案,具体描述了方案各个组成部分的软件设计。介绍了FIR数字滤波器的概念、原理及本文所使用的的设计方法。本文使用FIR加窗滤波的方法来设计FIR数字滤波器,选用高斯窗、汉明窗、三角窗、汉宁窗以及矩形窗这5种类型窗来设计滤波模块。最后在低通滤波器方式下分别使用五种窗进行滤波,在前面板的显示控件上观看信号的时域输入输出波形和输入输出频谱以及相位展开。通过对时域波形和频谱的分析比较,总结出五种窗各自在时域和频域的优缺点。
关键词:FIR;数字滤波器;LABVIEW;窗函数法;
Abstract:With the progress of the times, virtual instrument technology in the field of electronic measurement has made great progress and development. Virtual instruments can be seen as a function of measuring and controlling instruments, consisting of software and hardware. They can realize the functions of various traditional instruments. As a virtual instrument programming software --LABVIEW is a graphical virtual instrument programming language platform, which has the advantage of high efficiency programming, the function is very powerful, the interface is simple and intuitive and easy to modify parameters and so on. One of its main areas of application is the design of digital filters.
This paper introduces the components of LABVIEW software, the method of using it and the method of designing program. The detailed software design scheme of FIR digital filter based on LABVIEW software platform is given, and the software design of each component of the scheme is described in detail. The concept, principle and design method of FIR digital filter are introduced. In this paper, FIR FIR filter is used to design the FIR digital filter, and the filter module is designed by using five types of windows, such as Gauss window, Hamming window, triangular window, Hanning window and rectangular window. Finally, in the low-pass filter mode, respectively, using five kinds of windows to filter, in the front panel display control to watch the signal input and output waveform of the time domain and input and output spectrum and phase expansion. Through the analysis and comparison of the time domain waveform and the spectrum, the advantages and disadvantages of the five windows in the time domain and frequency domain are summarized.
Keywords:Fir;Digital Filter;Labview; Window Function Method;
目 录
第一章绪论 1
1.1引言 1
1.2课题研究背景和意义 1
1.3课题研究内容和目的 2
第二章虚拟仪器 4
2.1虚拟仪器技术概述 4
2.1.1虚拟仪器的概念 4
2.1.2虚拟仪器的特点及优势 4
2.1.3虚拟仪器和传统仪器的比较 5
2.1.4虚拟仪器的开发语言 6
2.2虚拟仪器的开发平台--LABVIEW的简介