基于虚拟仪器的数字滤波器的设计
2017-03-21王钰楠关静刘然
王钰楠+关静+刘然



摘 要: 由于数字滤波器在信号处理过程中应用广泛,所以研究滤波器的设计具有重要的实际意义。文章利用LabWindows/CVI软件设计了滤波处理界面,该界面包括信号的产生、噪声的叠加和滤波器处理;该界面可以选择多种原始信号与噪声信号,并且可以快速、便捷地修改濾波器的参数。经过实验验证,利用LabWindows/CVI软件设计数字滤波器,操作简单、功能强大,可以用于实际。
关键词: 数字滤波器; 虚拟仪器; 滤波; 噪声
中图分类号:TP312 文献标志码:A 文章编号:1006-8228(2017)03-34-03
Abstract: Because of the wide application of digital filter in signal processing, it is of great practical significance to study the design of the filter. With LabWindows/CVI software, a filter processing interface is designed in this paper, which includes signal generation, noise superposition and filter processing; the interface can choose a variety of the original signal and noise signal, and can quickly and conveniently modify the filter parameters. After experimental verification, designing digital filter with LabWindows/CVI software is simple and powerful, and can be widely used in practice.
Key words: digital filter; virtual instrument; filtering process; noise
0 引言
在信号处理过程中,对处理的实时性和快速性的要求越来越高。许多信号与信息处理都要用到滤波器,如对信号的过滤、检测、预测、估计等。其中模拟滤波器一般是由硬件电路实现,使用电容、电阻、电感等元器件实现滤波功能。而利用硬件电路设计滤波器,会使得电路计算、测试、调试过程复杂,且存在电压漂移、温度漂移和噪声等问题;相较而言,数字滤波器具有稳定性好、精度高、设计灵活、实现方便等许多突出的优点,克服了模拟滤波器的缺陷[1]。因而随着数字技术的发展,用数字技术实现滤波器的功能越来越受到人们的注意并得到广泛的应用。
1 LabWindows/CVI简介
LabWindows/CVI是美国国家仪器公司(NI公司)推出的交互式C语言开发平台。LabWindows/CVI将功能强大、使用灵活的C语言平台与用于数据采集分析和显示的测控工具有机地结合起来,利用它的集成化开发环境、交互式编程方法、函数面板和丰富的库函数大大增强了C语言的功能,为熟悉C语言的开发设计人员编写检测系统、自动测试环境、数据采集系统、过程监控系统等应用软件提供了一个理想的软件开发环境[2]。……
