摘 要:濾波器在數字信號處理中有著廣泛的應用,針對常規濾波器因具有固定的濾波器系數,對某些信號處理系統不能實現最優濾波,設計了一種自適應濾波器及實現的軟件算法,并通過DSP得到驗證。結果表明該濾波器實現方法簡單、不依賴模型,具有較強的穩健性。
關鍵詞:自適應濾波器;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 引 言
在數字信號處理中,濾波技術占有極其重要的地位。數字濾波與模擬濾波相比具有許多優點,如:可以滿足濾波器對幅度和相位特性的嚴格要求,可以避免模擬濾波器無法克服的電壓漂移,溫度漂移和噪聲等問題。
在一些數字信號處理場合,因無法預知信號和噪聲的特性,加上常規濾波器[1,2]具有固定的濾波器系數,對這種數字信號不能實現最優濾波。因此需要一種具有跟蹤信號和噪聲變化,并且能使得濾波器的動態特性隨著信號和噪聲的變化而變化的自適應濾波器,以達到最優濾波效果。眾所周知,DSP在實現數字濾波[3]上具有穩定性好、精確度高、不受環境影響、靈活性好等特點。因此選擇DSP來完成自適應濾波器的設計和編程,以提高濾波器的效率。