孟月霞 張謙 韓亞麗





摘 要:數(shù)字濾波器是數(shù)字信號處理必不可少的器件之一。傳統(tǒng)數(shù)字濾波器利用大規(guī)模集成硬件實(shí)現(xiàn),雖然處理速度快,但功能不易改變。本文設(shè)計(jì)了一種基于LabVIEW的虛擬數(shù)字濾波器,利用虛擬儀器生成仿真信號,而后設(shè)置濾波器的參數(shù),通過頻譜測量模塊對原始信號和濾波后的信號進(jìn)行比較,將比較結(jié)果在上位機(jī)顯示出來。通過測試可知,基于LabVIEW的虛擬濾波器不僅可以實(shí)現(xiàn)傳統(tǒng)濾波器的功能,而且具有操作方便、結(jié)果直觀、運(yùn)行可靠、響應(yīng)速度快、開發(fā)周期短等優(yōu)點(diǎn)。
關(guān)鍵詞:LabVIEW;數(shù)字濾波器;虛擬濾波器;傳統(tǒng)濾波器
中圖分類號:TP274;TN713.7 文獻(xiàn)標(biāo)識碼:A 文章編號:1003-5168(2019)31-0032-03
Design and Implementation of Digital Filter Based on LabVIEW
MENG Yuexia ZHANG Qian HAN Yali
(College of Information and Business, Zhongyuan University of Technology,Zhengzhou Henan 450000)
Abstract: Digital filter is one of the essential components of digital signal processing. Traditional digital filter is implemented of large scale integrated hardware, which processing speed is fast, but the function is hard to change. This paper designed a kind of virtual digital filter based on LabVIEW. The virtual filter used virtual instrument to generate simulation signal, then setted the parameters of the filter and compared the original signal with the filtered signal by using the spectrum measurement module, and finally displayed the result in the host computer. The test shows that the virtual filter based on LabVIEW can not only realize the function of the traditional filter, but also has the advantages of convenient operation, direct result, reliable operation, fast response and short development cycle.
Keywords: LabVIEW;digital filter;virtual filter;traditional filter
隨著信息化技術(shù)的發(fā)展,數(shù)字信號處理技術(shù)的應(yīng)用越來越廣泛。由于數(shù)字信號處理不受硬件系統(tǒng)的限制,所以數(shù)字信號處理技術(shù)在實(shí)際應(yīng)用中越來越受到重視,而數(shù)字信號處理技術(shù)中,數(shù)字濾波器的作用舉足輕重。傳統(tǒng)數(shù)字濾波器可用大規(guī)模數(shù)字硬件實(shí)現(xiàn),雖然處理速度快,但功能不易改變。所以,本文研究了一種基于LabVIEW的數(shù)字濾波器測試系統(tǒng),可實(shí)現(xiàn)低通、高通、帶通、帶阻等濾波器的基本功能,并且可以對數(shù)據(jù)進(jìn)行存儲和打印。
LabVIEW軟件是由美國儀器公司(NI)開發(fā)的面向?qū)ο蟮目梢暬幊陶Z言,具有開放的源代碼和各種設(shè)備的驅(qū)動[1-3]。不僅如此,LabVIEW軟件具有人機(jī)交互界面好、開發(fā)方便、可移植性好和便于二次開發(fā)的優(yōu)點(diǎn)。由于LabVIEW軟件是圖形化的編程語言,對編程人員的水平要求不高,與C語言、C++、C#以及JAVA等編程語言相比,LabVIEW軟件編程更容易入門,開發(fā)周期短,所以LabVIEW軟件深受實(shí)驗(yàn)室人員、硬件工程師以及生產(chǎn)線的各種工藝人員的喜愛[4-6]。……