Top Banner
Adaptive IIR Adaptive IIR Filter Filter Terry Lee Terry Lee EE 491D EE 491D May 13, 2005 May 13, 2005
21

Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Dec 16, 2015

Download

Documents

Eli Burne
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Adaptive IIR Adaptive IIR FilterFilter

Terry LeeTerry LeeEE 491DEE 491D

May 13, 2005May 13, 2005

Page 2: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

OutlineOutline

Linear Filters – FIR & IIRLinear Filters – FIR & IIRLeast-mean-square algorithmLeast-mean-square algorithmAdaptive IIR using:Adaptive IIR using:

• Output Error MethodOutput Error Method• Equation Error MethodEquation Error Method

SimulationsSimulationsApplicationsApplications

Page 3: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Linear FiltersLinear Filters

FIR Filter ~FIR Filter ~

Moving-Average (MA)Moving-Average (MA)

present and past present and past inputsinputs

IIR Filter ~IIR Filter ~

Autoregressive Autoregressive Moving-Average Moving-Average

(ARMA)(ARMA)present and past present and past

inputsinputs

and past outputsand past outputs

Page 4: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

IIR FilterIIR Filter

Difference equation of ARMA modelDifference equation of ARMA model

y(n) = ∑ ai(n)u(n-i) + ∑ bi(n)y(n-i)

i=0 i=1

M N

Forward filter Backwards

filter

Page 5: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Least-Mean-Square (LMS) Least-Mean-Square (LMS) AlgorithmAlgorithm

Linear adaptive filtering algorithmLinear adaptive filtering algorithm Differs from steepest descentDiffers from steepest descent Widely used for its simplicityWidely used for its simplicity Consists of:Consists of:1) A filtering process1) A filtering process

((mainly FIR modelmainly FIR model))

2) An adaptive process2) An adaptive process

Page 6: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Following the steepest descent algorithm,Following the steepest descent algorithm,

with an unknown environment:with an unknown environment: Tap-input vector: u(n)Tap-input vector: u(n) Tap-weight vector: w(n)Tap-weight vector: w(n) Estimation error: e(n)Estimation error: e(n) Cost function: J(n)=[|e(n)|]Cost function: J(n)=[|e(n)|] Gradient vector: J(n)Gradient vector: J(n) Update tap-weight vector: Update tap-weight vector: ŵŵ(n+1) (n+1)

Least-Mean-Square (LMS) Least-Mean-Square (LMS) AlgorithmAlgorithm

∆∆

Page 7: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Parameters: Parameters: M = # of taps (length of M = # of taps (length of filter)filter)

μ = μ = step-size parameterstep-size parameter

Filter output is: Filter output is: y(n) = y(n) = ŵŵHH(n)(n)uu(n)(n)

Error signal is: Error signal is: e(n) = d(n) – y(n) e(n) = d(n) – y(n)

Tap-weight vector: Tap-weight vector: ŵŵ(n+1) = (n+1) = ŵŵ(n) + (n) + μμuu(n)e*(n)(n)e*(n)

Summary of (LMS) Summary of (LMS) AlgorithmAlgorithm

Page 8: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Important Factors of an Important Factors of an AlgorithmAlgorithm

Rate of convergenceRate of convergence MisadjustmentMisadjustment TrackingTracking RobustnessRobustness Computational RequirementsComputational Requirements StructureStructure

Page 9: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Adaptive IIR Filter Adaptive IIR Filter

Motivation:Motivation:

To build the adaptive process around To build the adaptive process around a linear IIR filter with a linear IIR filter with fewer number fewer number of adjustable coefficientsof adjustable coefficients than an FIR than an FIR filter to achieve a desired response.filter to achieve a desired response.

Page 10: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Adaptive IIR FilterAdaptive IIR Filter

Two approaches:Two approaches:

1)1) Output error methodOutput error method

2)2) Equation error methodEquation error method

Page 11: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Output Error MethodOutput Error Method

Page 12: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

y(n) = ∑ ai(n)u(n-i) + ∑ bi(n)d(n-i)

Equation Error MethodEquation Error Method

i=0 i=1

M N

y replaced by d

Page 13: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Output Error and Equation Output Error and Equation ErrorError

IIR has problems!IIR has problems!possible instabilitypossible instabilityslow convergenceslow convergencelocal minimalocal minima

Page 14: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

SimulationSimulation

LMS adaptive

FIR filter for equalization

Page 15: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

SimulationSimulation

50 100 150 200 250 300

0.9

1

1.1

1.2

1.3

1.4

1.5

1.6

iterations

MS

E

step size = 0.02, 0.01, 0.05, 0.1, and, 0.2

data1

data2

data3data4

data5

LMS adaptive

FIR filter for equalization

Page 16: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

SimulationSimulation

0 100 200 300 400 500 600 700 800 900 10000.5

1

1.5

2

2.5

3

iterations

MS

E

step size = 0.02, 0.01, 0.05, 0.1, and 0.2

data1

data2

data3data4

data5

LMS adaptive

FIR filter for equalization

Page 17: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Applications of IIRApplications of IIR

acoustic echo cancellationacoustic echo cancellation linear predictionlinear prediction adaptive notch filteringadaptive notch filtering adaptive differential pulse code adaptive differential pulse code

modulation modulation adaptive array processingadaptive array processing * channel equalization ** channel equalization *

Page 18: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Adaptive EqualizerAdaptive Equalizer

Telephone channelsTelephone channels Fading radio channelsFading radio channels Bandwidth-limited channelsBandwidth-limited channels Removes ISIRemoves ISI Recovers informationRecovers information

Page 19: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Decision-Feedback Decision-Feedback EqualizerEqualizer

(Most popular

adaptive IIR equalizer)

Page 20: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

IIR vs. FIRIIR vs. FIR

IIR has slower convergence rateIIR has slower convergence rateIIR is UNSTABLEIIR is UNSTABLEIIR introduces more complex structuresIIR introduces more complex structures

TRADEOFF:TRADEOFF:IIR uses less coefficients than FIR IIR uses less coefficients than FIR

*computationally cheaper**computationally cheaper*

*able to implement more complex *able to implement more complex filters*filters*

Page 21: Adaptive IIR Filter Terry Lee EE 491D May 13, 2005.

Linear Filters – FIR & IIRLinear Filters – FIR & IIR Least-mean-square algorithmLeast-mean-square algorithm Adaptive IIR using:Adaptive IIR using:

∙ Output Error MethodOutput Error Method∙ Equation Error MethodEquation Error Method

SimulationsSimulations ApplicationsApplications

SummarySummary