Professional Documents
Culture Documents
Where
x(n) is the input signal to a linear filter at time n
y(n) is the corresponding output signal
d(n) is an additional input signal to the adaptive filter
e(n) is the error signal that denotes the difference
between d(n) and y(n)
Cont…
The output of programmable of variable
digital filter is subtracted from a desired
signal that is d(n) to produce an error
sequence e(n) which is used in combination
with elements of the input sequence x(n), to
update the filter coefficients which is to be
minimized.
Discussion of Block Diagram
To start the discussion of the block diagram we take the
following assumptions:
Wn = [Wn(0), Wn(1),…,Wn(p)]T
Choosing µ:--
The choice of µ is an important one as it greatly
affects how the system will perform. If the value is too
small, then the adaptive filter will not adapt fast enough.
If it is too large, the system will not converge at all, and the
value weights will actually diverge.
2. Recursive least
squares (RLS) Filter.
Recursive least squares (RLS) algorithm is used in
adaptive filters to find the filter coefficients that relate to
recursively producing the least squares (minimum of the sum
of the absolute squared) of the error signal. This is contrast
to other algorithms that aim to reduce the mean square error
. The difference is that RLS filters are dependent on the
signals themselves, whereas MSE filters are dependent on
their statistics.
In the RLS method, the error considered is the total error
from the beginning to the current data point.
Cont..
The idea behind RLS filters is to minimize a cost
function C by appropriately selecting the filter
coefficients wn, updating the filter as new data
arrives. The error signal e(n) and desired signal
d(n) are defined in the negative feedback diagram
below:
Cont..
The RLS algorithm for a p-th order RLS filter can be summarized
as
Parameters: p = filter order
λ = forgetting factor
δ = value to initialize P(0)
Initialization: wn=0
P(0)= δ -1I where I is the (p + 1)-by-(p + 1) identity matrix
Computation: For n=0,1,2,….
x(n)=[x(n),x(n-1),…,x(n-p)]T
a(n) = d(n) - w(n-1) T x(n) [Prior error]
g(n) = P(n)x*(n) [Gain vector]
P(n)= λ-1P(n-1)- g(n) x T(n) λ-1P(n-1)
w(n) = w(n-1) + a(n)g(n)
Cont..
Choosing λ:--
As λ approaches zero, the past errors play a
smaller role in the total. This makes the filter
more sensitive to recent samples, which means
more fluctuations in the filter co-efficients.
• Example:
In TV you see musician changing
signals that all are done on sound board.
2). Noise cancellation
• It is also known as active noise channel or active
noise reduction.
• It is a method used for reducing unwanted
sound.
• Antinoise is used to reduce noise at the working
environment with ear plugs.
• Bigger noise cancellation systems are used for
ship engines
Example:
When DJ plays music he always wear head
phones to avoid unwanted sound.
Real Time Example of Noise Cancellation
Application(Pilot):-
Definition of Breathing :-
A Breathing in a wider sense, the sound
caused by the friction of the outgoing breath in
the , mouth etc.
Cont...
If you are in the ground control tower,
you might have difficulty hearing the pilot's
speech clearly. In this situation, you can use
adaptive filters to remove the jet engine noise
while retaining the pilot's speech.