Adaptive Filters - Algorithms (Part 1) : Gerhard Schmidt
Adaptive Filters - Algorithms (Part 1) : Gerhard Schmidt
Gerhard Schmidt
Christian-Albrechts-Universität zu Kiel
Faculty of Engineering
Electrical Engineering and Information Technology
Digital Signal Processing and System Theory
Contents of the Lecture
Today:
Exercises:
Topics for the Talks
Adaptive Algorithms:
Introductory Remarks
Recursive Least Squares (RLS) Algorithm
Least Mean Squares Algorithm (LMS Algorithm) – Part 1
Least Mean Squares Algorithm (LMS Algorithm) – Part 2
Affine projection Algorithm (AP Algorithm)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 2
Adaptive Filters – Talks
Possible Topics
Suggestions:
Hearing aids
GSM (source) coding
Localization and tracking
Active noise control (anti-noise)
Noise suppression
Bandwidth extension
Audio upmix of stereo signals
Adaptive beamforming
MPEG audio coding
Non-linear echo cancellation
Adaptation of neural networks
Feedback suppression
…
Your own topic suggestions are
welcome …
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 3
Adaptive Filters – Algorithms
Contents
Exercises:
Topics for the Talks
Adaptive Algorithms:
Introductory Remarks
Recursive Least Squares (RLS) Algorithm
Least Mean Squares Algorithm (LMS Algorithm) – Part 1
Least Mean Squares Algorithm (LMS Algorithm) – Part 2
Affine projection Algorithm (AP Algorithm)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 4
Introductory Remarks
Motivation
Examples:
Speech signals
Mobile telephone channels
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 5
Introductory Remarks
Literature
Books:
E. Hänsler, G. Schmidt: Acoustic Echo and Noise Control, Wiley, 2004
S. Haykin: Adaptive Filter Theory, Prentice Hall, 2002
A. Sayed: Fundamentals of Adaptive Filtering, Wiley, 2004
E. Hänsler: Statistische Signale: Grundlagen und Anwendungen, Springer, 2001
(in German)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 6
Introductory Remarks
Transmission Adaptive
channel filter
System
Adaptive
filter
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 7
Introductory Remarks
Adaptive
Hybrid
filter
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 8
Introductory Remarks
Noisy
Signal signal
source
Transmission
path 1
Noise Adaptive
source filter
Transmission
path 2
Reference
signal
Signal model
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 9
Introductory Remarks
Antenna array:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 10
Introductory Remarks
Adaptive
filter
Decision
circuit
Assumptions:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 11
Introductory Remarks
Generic Setup
Desired
output
signal
Adaptive filter
Adaptive
algorithm
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 12
Introductory Remarks
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 13
Introductory Remarks
No local noise
System distance:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 14
Introductory Remarks
Relation of the normalized mean square (signal) error power and the system distance:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 15
Introductory Remarks
Adaptation
Local noise
Basic principle:
Properties:
„Correction“ depends on the input signal and the error signal .
Procedures differ by the functions and :
Step size
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 16
Introductory Remarks
Error Measures
Local noise
+
+
Three error measures control the adaptation:
Coefficient error
A priori error
A posteriori error:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 17
Adaptive Filters - Algorithms
Contents
Exercises:
Topics for the Talks
Adaptive Algorithms:
Introductory Remarks
Recursive Least Squares (RLS) Algorithm
Least Mean Squares Algorithm (LMS Algorithm) – Part 1
Least Mean Squares Algorithm (LMS Algorithm) – Part 2
Affine projection Algorithm (AP Algorithm)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 18
Recursive Least Squares (RLS) Algorithm
Algorithmic Properties
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 19
Recursive Least Squares (RLS) Algorithm
Error Criterion
Signal Filter
Filter
filter
Forgetting factor
Alternative:
Adaptation
adaptive
algorithm
algorithm
error:
Filter at time n
Signal at time l
error inserted:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 20
Recursive Least Squares (RLS) Algorithm
Derivation – Part 1
Cost function:
Differentiate with respect to the complex filter coefficients and setting the result to zero:
Definitions:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 21
Recursive Least Squares (RLS) Algorithm
Derivation – Part 2
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 22
Recursive Least Squares (RLS) Algorithm
Derivation – Part 3
Filter
filter
Adaptation
adaptive
algorithm
algorithm
„Wiener solution“
… assuming that the auto correlation matrix is invertable
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 23
Recursive Least Squares (RLS) Algorithm
Recursion – Part 1
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 24
Recursive Least Squares (RLS) Algorithm
Recursion – Part 2
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 25
Recursive Least Squares (RLS) Algorithm
Recursion – Part 3
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 26
Recursive Least Squares (RLS) Algorithm
Recursion – Part 4
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 27
Recursive Least Squares (RLS) Algorithm
Recursion – Part 5
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 28
Recursive Least Squares (RLS) Algorithm
Recursion – Part 6
we obtain:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 29
Recursive Least Squares (RLS) Algorithm
Recursion – Part 7
Inserting according to
results in
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 30
Recursive Least Squares (RLS) Algorithm
Adaptation rule for the filter coefficients according to the RLS algorithm:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 31
Recursive Least Squares (RLS) Algorithm
Summary
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 32
Adaptive Filters – Algorithms
Contents
Exercises:
Topics for the Talks
Adaptive Algorithms:
Introductory Remarks
Recursive Least Squares (RLS) Algorithm
Least Mean Squares Algorithm (LMS Algorithm) – Part 1
Least Mean Squares Algorithm (LMS Algorithm) – Part 2
Affine projection Algorithm (AP Algorithm)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 33
Least Mean Square (LMS) Algorithm
Basics – Part 1
Optimization criterion:
Minimizing the mean square error
Assumptions:
Real, stationary random processes
Structure:
Unknown system
Adaptive
filter
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 34
Least Mean Square (LMS) Algorithm
Basics – Part 2
Unknown system
Error signal:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 35
Least Mean Square (LMS) Algorithm
Basics – Part 3
Abbreviations:
(auto correlation matrix)
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 36
Least Mean Square (LMS) Algorithm
Basics – Part 4
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 37
Least Mean Square (LMS) Algorithm
Basics – Part 5
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 38
Least Mean Square (LMS) Algorithm
Derivation – Part 1
… needed later on …
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 39
Least Mean Square (LMS) Algorithm
Derivation – Part 2
With the introduction of a step size , the following adaptation rule can be
formulated:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 40
Least Mean Square (LMS) Algorithm
Derivation – Part 3
LMS algorithm
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 41
Adaptive Filters – Algorithms
This week:
Topics for the Talks
Introductory Remarks
Recursive Least Squares (RLS) Algorithm
Least Mean Squares Algorithm (LMS Algorithm) – Part 1
Next week:
Digital Signal Processing and System Theory| Adaptive Filters | Algorithms – Part 1 Slide 42