32320113MICROCOMPUTERAPPLICATIONSVol32No3Mar2011LabVIEW*危淑平摆玉龙许国威(730070):,LabVIEW86,,;,,,,,:DesignandStudyofAdaptiveFilterwithLabVIEWWEIShuping,BAIYulong,XUGuowei(CollegeofPhysicsandElectricalEngineering,NorthwestNormalUniversity,Lanzhou,730070,China)Abstract:Inordertosolvethecomplexprogrammingproblemofadaptivefiltersandtheinconvenienttotesttheactualperformanceoffiltersasavirtualinstrumentsysteminrealapplications,theLeastMeanSquare(LMS)andRecursiveLeastSquare(RLS)algorithmsbasedadaptivefiltersaredesignedbasedonadaptivefiltertoolkitofLabVIEW86Theparameterswhichcanaffectthesetwoalgorithmsarecarriedontheanalysistofilters'sensitivityandthefilterssperformanceareverifiedbyaudiosignalThesimulationresultsshowsthefunctioncomprehensivecharacteristicoftheadaptivefilterswiththegoodman-machineinterfaceItcanbeconvenientforengineerstodevelopefficiently,So,thesystemdevelopedinthispaperhasgoodpracticalengineeringvalueKeywords:Laboratoryvirtualinstrumentengineeringworkbench,Adaptivefilter,LMSalgorithm,RLSalgorithm1LabVIEWNI,LabVIEW[1],MATLABDSPFPGA,,,,[2]MATLABLABVIEW,LabVIEWMATLAB,,,,LabVIEW86,2011-01-07*:(1010RJZA021),(0901B-03),(NWNU-KJCXGC-03-54)3:LabVIEW,,,2(DF)DFFIRIIR,xnDFyn,dnen,,en121(LMS)(RLS),[3],,LMS(MMSE)(SD),,wnLMSE{e2(n)},,,LMS,(RLS),,LMSRLSLMS,,,[4],,,PC3LabVIEWLabVIEW86,V,i,,;,,NILabVIEW86,:LMS(AFTCreateFIRLMSvi)LMS(AFTCreateFIRNormalizedLMSvi)LMS(AFTCreateFIRleakyLMSvi)LMS(AFTCreateFIRFastBlockLMSvi)LMS(AFTCreateFIRSignLMSvi)RLS(AFTCreateFIRRLSvi)QR-RLS(AFTCreateFIRQR-RLSvi)LMSRLS31LabVIEW86LMSRLS,2132011:xn=Asin2f0n+vn,:A,f0,vn,n,,A=1,f0=10Hz,=01;:xn=Asin2f0n,A=1,f0=10Hz;RLSx0=0,LMSw0=0,32LabVIEW,:AFTCreateFIRLMSviAFTCreateFIRRLSviAFTFilterSignalandUpdateCoefficientsviAFTDestroyAdaptiveFilterviSimpleErrorHandlervi,,LMSRLS,3:(M)(mu)(lam),:M=64mu=0008lam=0992,,,,,4M=64mu=001lam=0990052LMSRLS43LMSRLS143:LabVIEW441LMSLMS,,LMS(mu)(M)(SNR),:(1),mu1max(max),;0mu1max,mu,,,;,,[5]5(a)M=64SNR=5dB,,mu=0008,,;mu=000008,,,(2),,5dB,(SNR=5dB),LMS,;(SNR=-5dB),,,[6]5(b)M=128mu=00008,,SNR=5dB,,SNR=0B,,,M=256;SNR=-5,mu=000008,M=512(3),M,()M,,,5(c)mu=0008SNR=5dB,,M=12,,,;M=64,M,,M=500,,42RLSRLS,,,,,,;,,,,,0950995[7-8]5(d)RLS,,M=64,,,=099152011(a)(b)(c)(d)5LMSRLS43LMSRLS,,,61wav,1wav3_noisewav,VI,,x(n)d(n),,7,:M=80lam=098mu=02,6,,,65LabVIEW,LMSRLS,,,,LMSRLS,,,163:LabVIEW,,,[9-10]MATLABDSPFPGA,LabVIEW,,7LabVIEW86LMSRLS,,,,,NI,,[1]LABVIEW[J],2006,31(4):340-3430[2],,LabVIEWLMS[J](),2007,13(4):457-460[3]()[M]:,2003[4]SimonHaykinAdaptiveFilterTheory[M]PublishingHouseofElectronicsIndustry2002,26-47[5],Matlab[J],2008,30(1):70-73[6],,Matlab[J],2008,(3):174-178[7],,[M]:,2002[8]HanJianguoAModel-FreeMethodBasedKalmanFilteringProcessforTime-Interval-VariableSequenceswithApplicationtoAstronomicSurveying[J]EngineeringandElectronics2003,14(2):29-33[9],,LMSMatlab[J],2008,29(4):51-53[10],DSP[J],2009,26(9):281-284,(),(1986),,,,(),(1973),,,,,(),(1983),,,17