摘 要:濾波器在數(shù)字信號(hào)處理中有著廣泛的應(yīng)用,針對(duì)常規(guī)濾波器因具有固定的濾波器系數(shù),對(duì)某些信號(hào)處理系統(tǒng)不能實(shí)現(xiàn)最優(yōu)濾波,設(shè)計(jì)了一種自適應(yīng)濾波器及實(shí)現(xiàn)的軟件算法,并通過DSP得到驗(yàn)證。結(jié)果表明該濾波器實(shí)現(xiàn)方法簡單、不依賴模型,具有較強(qiáng)的穩(wěn)健性。
關(guān)鍵詞:自適應(yīng)濾波器;LMS算法;DSP;FIR
Realization ofAdaptiveFilter LMS Algorithm by DSP
MA Jun,DUAN Xinwen,ZHAO Jianfei
(Qinghai Normal University,Xining,810008,China)
Abstract:Filter is widely used in digital signal processing.For the conventional filter has a fixed filter coefficients,optimal filtering can not be achieved in some signal processing system.The design and the software algorithms of the adaptive filter is realized.The filter has been tested and adopted in DSP.Experiments show that the realization method of the filter is simple.This filter doesn′t rely on model,and has strong stability.
Keywords:adaptive filter;LMS algorithm;DSP;FIR
1 引 言
在數(shù)字信號(hào)處理中,濾波技術(shù)占有極其重要的地位。數(shù)字濾波與模擬濾波相比具有許多優(yōu)點(diǎn),如:可以滿足濾波器對(duì)幅度和相位特性的嚴(yán)格要求,可以避免模擬濾波器無法克服的電壓漂移,溫度漂移和噪聲等問題。
在一些數(shù)字信號(hào)處理場合,因無法預(yù)知信號(hào)和噪聲的特性,加上常規(guī)濾波器[1,2]具有固定的濾波器系數(shù),對(duì)這種數(shù)字信號(hào)不能實(shí)現(xiàn)最優(yōu)濾波。因此需要一種具有跟蹤信號(hào)和噪聲變化,并且能使得濾波器的動(dòng)態(tài)特性隨著信號(hào)和噪聲的變化而變化的自適應(yīng)濾波器,以達(dá)到最優(yōu)濾波效果。眾所周知,DSP在實(shí)現(xiàn)數(shù)字濾波[3]上具有穩(wěn)定性好、精確度高、不受環(huán)境影響、靈活性好等特點(diǎn)。因此選擇DSP來完成自適應(yīng)濾波器的設(shè)計(jì)和編程,以提高濾波器的效率。