Professional Documents
Culture Documents
Adaptive Filtering
Adaptive filters are used in variety of applications where the statistical knowledge of the
signals to be filtered/ analysed are not known apriori or the signals may be slowly time
variant.
We can use both FIR and IIR filters in adaptive filtering, but FIR filters are mostly used,
because i) Simple filter ii) have only adjustable zeros.
In adaptive filtering the adjustable filter parameters are to be optimized.
1.1.System Modeling
Consider an unknown system to be identified. The model is shown below. The system is
modeled with M adjustable coefficients.
Noise w(n)
d(n)
Unknown Time
Variant System
x (n)
y(n)
+
+
zz+
-
e(n)
^
y (n)
Adaptive algorithm
error signal
The unknown system and FIR filter is excited by the input x(n) , the output of the dynamic
^
system is y(n) and FIR filter output is y (n) .
M 1
^
y (n)= h ( k ) x (nk )
k=0
M1
Emin = y ( n ) h ( k ) x (nK )
n=0
k=0
a(n)
Data
sequence
Transmitt
er (filter)
Receiver
(Filter)
Channel
(Time variant
filter)
s(t) s(n)
Sampler
Noise w(n)
Decision
Device
^
a(
n)
Reference
Signal
d(n)
^
a(
n)
Adaptive
Equalizer
Adaptive
Algorithm
e(n)
Error signal
In the transmitting medium the distortion is caused by ISI and thermal noise.
The output of the receiving filter is
t k T s
ak p()
s ( t )=
k
s ( k )=ak p ( 0 )+ p (k n)
n
n k
In the above equation the first term represents the desired symbol and remaining term
represents inter symbol interference. To avoid ISI , transmitter and receiver filter should
be properly designed based on the channel characteristics.
Since channel has random characteristics, filters are designed based on the average
characteristics. But this may not reduce the ISI for the larger extent.
Adaptive equalizer is used to reduce the ISI .It compensates the channel distortion so that
the detected signal will be reliable.
Adaptive equalization process is done in two steps
i)
Training mode
ii)
Tracking mode.
Training Mode
A known test signal (PN sequence) is transmitted.
The received signal is compared with test signal at the receiver , the resultant error signal
gives the information about the channel.
This error signal is used to adjust the equalizer coefficients
Tracking Mode
The above figure illustrates the basic principles of adaptive noise canceling.
The input to the adaptive filter is a noise signal w1 (n) that is highly
correlated with the additive disturbance, w(n), but is uncorrelated with the
clean signal s(n).
^
The reference signal w1(n) is filtered to produce the output w (n) that is
an estimate of the additive noise w(n). This output is then subtracted from
the noisy signal x(n) to produce the system output z(n). The system output is
used to control the adaptive filter and is an estimate of s(n).
1.5 Echo Cancellation:
Consider a two wire and four wire transmissions in the telephone
connections.
Echo is generated at hybrid which connects a 4 to 2 wire connection.
Assume that the call is made using satellite. The satellite communication
has270 ms delay.
Transmitt
er A
Transmitt
er B
Echo
Canceller
Hybrid
Hybrid
A
Hybri
d B
Hybrid
Echo
Canceller
Adaptive
Algorithm
Adaptive
Algorithm
Receiver
A
Receiver
B
When A speaks to B , the speech signal takes the upper transmission and
lower transmission path. Then the received signal has a delay of 540 ms.
The echo cancellation is done by finding an estimate of echo and
subtracting the echo from the received signal.
The return signal is
y ( n )= h ( k ) x ( nk ) +v (n)
k=0
( k ) x ( nk )
h^
k=0
^
Where h ( k ) is estimate of the impulse response of the echo path.
By adaptively controlling h(k), after some iterations, the echo effect can
be minimized.
An echo signal at terminal caused by hybrid A is a near end echo and an
echo signal at terminal B caused by hybrid A is a far end echo. Bothe
these echoes are removed by echo cancellers.
The receiver signal at Modem A is
S RA ( t )= A1 S B ( t ) + A 2 S A ( td 1 ) + A 3 S A ( td 2 )
Let h(n) is the impulse response of the adaptive its output signal is
M 1
S^A ( n ) = h ( k ) a (nk )
k=0
Input data
a(n)
Transmitte
r Filter
Echo
Canceller
Hybrid
Adaptive
Algorithm
Decisio
n
Device
Symbol
Rate
Sampler
Receive
r Filter
Input data
a(n)
Transmitte
r Filter
Echo
Canceller
Hybrid
Adaptive
Algorithm
Decisio
n
Device
Receive
r Filter
Nyquist
Rate
Sampler
y(n)
ZR
Echoes are simply generated by delay units. For example the direct sound
and echo appearing after R periods are generated by FIR filter which is
described by the difference equation,
y ( n )=x ( n ) +x(nR)
1 N zNR
1 zR
H ( z )=
+ ZR | |
<1
1+ ZR
down one of the tape recorders by placing the operators thumb on the
flange of the feed reel, which led to the name flanging.
The FIR comb filter can be modified to create the flanging effect
3. Image Enhancement
The goal of image enhancement is to improve the image quality so that
the processed image is better than the original image for a specific
application or set of objectives.
3.1 Spatial domain techniques
These techniques are based on gray level mappings, where the type of
mapping used depends on the criterion chosen for enhancement.
As an eg. consider the problem of enhancing the contrast of an image. Let r
and s denote any gray level in the original and enhanced image respectively.
Suppose that for every pixel with level r in original image we create a pixel
in the enhanced image with level S=T(r). If T(r) has the form as shown
Figure( 5.1)
T (r )
};
(2) 0 T ( r ) 1 for 0 r 1
Condition (1) transformation preserves the order from black to white in the
gray scale
Figure 5.3a
( )
Figure 5.3b
This function implies that the image will have The image will have predominant light
tones since majority of pixels are light
dark characters since majority of levels are
concentrated inthe dark region of gray scale gray.
It follows from elementary probability theory that if Pr(r) and T (r) are
known and
4. Speech Compression
A voice signal has a frequency range of 300 to 3000 Hz. It is sampled at a
rate of 8KHz and the word length of digitized signal is 12 bits.
Speech compression and coding are used to reduce the redundancy present
in the voice signals.
The different voice coding techniques are
a. Wave form coding non-uniform, differential, adaptive
quantization.
b. Transform coding transform the voice signal to an orthogonal
signal and then coding the transform.
c. Frequency band of coding- frequency range of voice signals are
divide into discrete channels and each channel is coded separately
d. Parametric method linear prediction.
4.1 Channel Vocoders
The channel vocoder is an analysis synthesis system. A filter bank is used to
separate the bands. There are 8 to 10 filters.
The amplitude of filters are encode using level detectors and coders.
Pitch and voicing information are also sent along with them .
A wideband excited signal is generated at the receiving end using the
transmission pitch and voicing information.
For a voiced signal , the excitation consists of a periodic signal with
appropriate frequency. For unvoiced signal, the excitation is a white noise.
At the receiver end , a matching filter bank is available, so that the output
level matches the encoded value.
The individual outputs are combined to produce the speech signal.
Fs
0
Fs
F
F s ) .
4
2
The second frequency subdivision splits the lowpass signal from the first
F
s
stage into two equal sub bands a lowpass signal ( 0 F 8
pass signal
and a high
Fs
F
F s ) .
8
4
Finally the third frequency subdivision splits the lowpass signals from the
second stage into two equal bandwidth signals. Thus the signal is divided
into four frequency bands covering three Octaves.