Adaptive Filtering Techniques Overview
Adaptive Filtering Techniques Overview
Adaptive filtering
1 Introduction
In this chapter we will address the issue of improving intelligibility of
the speech through adaptive filtering algorithms..
2 Adaptive filter
2.1 Definition of an adaptive filter
16
The optimization criterion;
Kalman filtering (which is a generalization of the Wiener filter also applicable in the)
cases of non-stationary processes (or signals).
The complexity,
The numerical properties (stability and accuracy) in the case of limited precision
on data and the coéffifilter coefficients.
17
2.4 Applications of Adaptive Filters
The prediction,
Equalization
Cancellation of interferences.
2.4.1 Identification
Having access to the input and output of a linear filter whose output is noisy, a problem
Direct identification consists of estimating the unknown linear filter. This problem corresponds
to the diagram in figure (III.2). When the unknown system is likely to vary over time
time, the identification process can be carried out using adaptive processing
[7][5].
18
2.4.2 Prediction
is the signal at the moment and the signal predicted from the signal at the times
previous
In this case, if the error approaches 0, then the filter can predict future samples of
signal which are based on previous observations. This can work on the
periodic signals
One of the applications is the extraction of signals buried in noise. One can also
used this system to mitigate the variations of a signal, but it is an application
impossible to achieve in real time [7][5].
2.4.3 Equalization
The goal is to estimate the data from the observations. If one chooses to minimize
the power of the error between the transmitted data and the output of the equalizer filter, the
the best linear solution is the Wiener filter whose transfer function in z is written
⁄
(II.1)
( ⁄ )
19
Figure II.4: Principle of inverse modeling.
3 Clean filters
The maximization of the signal-to-noise ratio at the output of a band-pass filter leads to the
determination of Eigenvalues
20
Figure II.6: Linear filtering.
The signal x(n) is a stationary process with zero mean whose matrix
autocorrelation is It is {assumed
} that the noise u(n) is white with mean
none, of variance and decorrelated from the signal x(n).
(II.2)
(II.3)
We can see that the optimal filtering problem presented here can be viewed as a
eigenvalue problem. So we have:
The maximum value of the signal-to-noise ratio is given by:
(II.4)
(II.5)
21
Where is the eigenvector corresponding to the largest eigenvalue from the matrix
R.
Such a RIF filter is calledclean filter
4 Wiener filtering
Wiener filtering is suitable for situations where the signal or
noise is stationary [8]
∑ (II.6)
{ } (II.7)
∑ (II.8)
(II.9)
22
4.2 Principle of Orthogonality
The optimal vector is the one that cancels the gradient of the criterion[8]:
On a:
{ }
{ } (II.10)
{ } (II.11)
Where is the error for which is minimized (for the optimal filter).
It is the principle of orthogonality meaning that all entries
are decorrelated from the error
In other words, the criterion attend its minimum if and only if the error is
orthogonal to the samples of the input signal .
{ {} ∑ }
∑ { }
(II.12)
It is the corollary of theprinciple of orthogonality. are the coëfficoefficients of the optimal filter:
[ ]
In other words, when the criterion reaches its minimum then the error is
orthogonal to the output of the filter [8].
23
4.3 Wiener Equation
{ [ ]}
Let it be:
{ } { } (II.13)
Or again
{ is the autocorrelation
} matrix of the input signal This
matrix is positive definite, Toeplitz, and symmetric. is { the vector
}
of intercorrelation between the desired and the entrance
( )
(II.16)
24
This relationship shows that for the optimal filter, the MSE is the diffdifference between the
variance of the desired signal and that of the estimate of this signal produced by the filter.
Thus, the value of the minimum EQM (MMSE - minimum mean-square-error) for the filter
the optimal Wiener is:
(II.17)
(II.18)
( ) (II.20)
25
The principle of a simple iterative algorithm is as follows:
(II.21)
We hope that the algorithm will converge towards the optimal solution.
A classic algorithm is the deterministic gradient algorithm:
(II.22)
where denotes the iteration, µ is a positive constant (no adaptation), and is the gradient
of the cost function
(II.23)
(II.24)
(II.25)
‖ ‖ (II.26)
{ } (II.27)
26
Where is the error signal, is a FIR filter of length L, is the input signal, and
is the desired signal.
(II.28)
{ }
{ }
(II.29)
(II.30)
(II.31)
(II.32)
27
The convergence speed of LMS proves to be dependent on the choice of the adaptation step. According to
The studies conducted, the choice of the adjustment step is essential for proper functioning.
the LMS. In order to find a compromise between the speed of convergence and performance of
the algorithm, some algorithms are developed with a variable step [5].
̂ (II.33)
̂ (II.34)
[̂ ] ̂
(II.35)
What is the LMS algorithm. It should be noted that is now a random variable
since at each new iteration , depends on random processes and ].
For non-stationary signals (the energy of the signal varies with time,
the LMS algorithm will struggle to work properly since is constant
The normalized LMS algorithm (Normalized LMS –NLMS) was created to address this.
problem in minimizing the following cost function[5][9]:
28
‖ ‖ (II.36)
(II.37)
This amounts to minimizing the update of the filter coefficients while minimizing the signal.
of error for .
The solution to this problem is obtained using the technique of Lagrange multipliers.
Indeed, we will seek to minimize with respect to :
‖ ‖
(II.38)
Let it be:
(II.40)
(II.41)
What gives:
(II.42)
Finally, we obtain the NLMS algorithm by replacing equation (II.42) in the equation
(II.40) :
(II.43)
29
In fact, for sufficiently large and for a stationary signal, we have:
∑
(II.45)
(II.46)
To avoid numerical difficulties (division by small numbers) when the energy of the
the input signal is small, we modify the algorithm as follows:
(II.47)
Regarding the stability of the NLMS algorithm, it is assumed that The error of
signal also called 'a priori' error because it uses the filter coefficients before the setting
day is :
(II.48)
The 'a posteriori' error is calculated once the update has been made and is defined by:
(II.49)
The algorithm can be considered stable if the absolute value of the "a posteriori" error.
is smaller than that of the 'a priori' error, which makes sense since exploit
more information.
By substituting the NLMS equation (II.44) into the equation (II.49) of the 'a posteriori' error,
we obtain:
(II.49)
So | |||
| |
30
| |
(II.50)
6 Conclusion
In this chapter, we defined discrete signals and their time representations.
frequencies. Discrete filters have also been defined as linear systems that
are mathematically represented by convolutions in the time domain and by
products of rational polynomials in the frequency domain. Adaptive IIR filters have
were also introduced and several adaptation methods, based on optimizations, have
were presented. In the following chapter, we will consider block adaptive filters in the
two temporal and frequency domains.
31