Professional Documents
Culture Documents
I. Adaptive Echo Cancellation: ABSTRACT: Echo Is The Repetition of A Waveform Due To Reflection From Points Where
I. Adaptive Echo Cancellation: ABSTRACT: Echo Is The Repetition of A Waveform Due To Reflection From Points Where
Fig 1: Illustration of echo in a mobile to land line system In the early days of expansion of telephone networks, the cost of running a 4-wire line from the local exchange to subscribers premises was considered uneconomical. Hence, at the exchange the 4-wire truck lines are converted to 2-wire subscribers local lines using a 2/4-wire hybrid bridge circuit. At the receiver due to any imbalance between the 4/2-wire bridge circuit, some of the signal energy of the 4-wire circuit is bounced back towards the transmitter, constituting an echo signal. If the echo is more than a few milliseconds long then it becomes noticeable, and can be annoying and disruptive. In digital mobile phone systems, the voice signals are processed at two points in the network: first voice signals are digitised, compressed and coded within the mobile handset, and then processed at the radio frequency interface of the network. The total delay introduced by the various stages of digital signal processing range from 80 ms to 100 ms, resulting in a total round-trip delay of 160200 ms for any echo. A delay of this magnitude will make any appreciable echo disruptive to the communication process. Owing to the inherent processing delay in digital mobile communication systems, it is essential and mandatory to employ echo cancellers in mobile phone switching centres.
This replica is used to subtract and cancel out the echo of speaker A on the line from B to A. The echo canceller is basically an adaptive linear filter. The coefficients of the filter are adapted so that the energy of the signal on the line is minimised. The echo canceller can be an infinite impulse response (IIR) or a finite impulse response (FIR) filter. The main advantage of an IIR filter is that a long-delay echo can be synthesised by a relatively small number of filter coefficients. In practice, echo cancellers are based on FIR filters. This is mainly due to the practical difficulties associated with the adaptation and stable operation of adaptive IIR filters.
Fig 2: Block diagram illustration of an adaptive echo cancellation system Assuming that the signal on the line from speaker B to speaker A, is composed of the speech of speaker B A ( ), we have ( ) ( ) ( ) ( )
In practice, speech and echo signals are not simultaneously present on a phone line. This, as pointed out shortly, can be used to simplify the adaptation process. Assuming that the echo synthesiser is an FIR filter, the filter output estimate of the echo signal can be expressed as ( )= ( ) ( )
where and
speaker A. The residual echo signal, or the error signal, after echo subtraction is given by e(m) = = ( ) ( ) ( ) ( ) ( ) ( )
For those time instants when speaker A is talking, and speaker B is listening and silent, and only echo is present from line B to A, we have e(m) = ( )= = where ( ) ( ) ( ) ( ) ( )
FIR filter is illustrated in Fig 3 below. The magnitude of the residual echo depends on the ability of the echo canceller to synthesise a replica of the echo, and this in turn depends on the adaptation algorithm.
Fig 3: Illustration of an echo canceller using an adaptive FIR filter and incorporation a echo/speech classifier
of the echo signal on a telephone line, say from speaker B to speaker A. Assuming that the speech signals telephone line from B to A is minimised when the echo canceller output equal to the echo
adapted using one of the variants of the recursive least square error (RLS) or the least mean squared error (LMS) adaptation methods. One of the most widely used algorithms for adaptation of the coefficients of an echo canceller is the normalised least mean square error (NLMS) method. The time-update equation describing the adaptation of the filter coefficient vector is w(m) = w(m-1)+ where ( )=[ w(m)=[ ( ), ..., ( ), ..., (
( ) ( ) ( )
( )
coefficient vector of the echo canceller, and e(m) is the difference between the signal on the echo line and the output of the echo synthesiser. Note that the normalising quantity ( ) ( ) is the energy of the input speech to the adaptive filter. The scalar is the adaptation step size, and controls the speed of convergence, the steadystate error and the stability of the adaptation process. SUMMARY Telephone line echo and acoustic feedback echo affect the functioning of telecommunication and teleconferencing systems. In general, line echo cancellation, is a relatively less complex problem than acoustic echo cancellation because acoustic cancellers need to model the more complex environment of the space of a room. For adaptation of an echo canceller, the LMS or the RLS adaptation methods can be used. The RLS method provides a faster convergence rate and better overall performance at the cost of higher computational complexity.
is a delay. Frequently the channel parameters are not known in advance and
moreover they may vary with time, in some applications significantly. Hence, it is necessary to use the adaptive equalizers, which provide the means of tracking the channel characteristics. The following figure shows a diagram of a channel equalization system.
Fig 1: Digital transmission system using channel equalization In the fig 1, s(n) is the signal that you transmit through the communication channel, and x(n) is the distorted output signal. To compensate for the signal distortion, the adaptive channel equalization system completes the following two modes: - This mode helps you determine the appropriate coefficients of the adaptive filter. When you transmit the signal s(n) to the communication channel, you also apply a delayed version of the same signal to the adaptive filter. In the previous figure, is a delay function and d(n) is the delayed signal, y(n) is the output signal
from the adaptive filter and e(n) is the error signal between d(n) and y(n) . The adaptive filter iteratively adjusts the coefficients to minimize e(n) .After the power of e(n) converges, y(n) is almost identical to d(n), which means that you can use the resulting adaptive filter coefficients to compensate for the signal distortion. -directed mode - After you determine the appropriate coefficients of the adaptive filter, you can switch the adaptive channel equalization system to decisiondirected mode. In this mode, the adaptive channel equalization system decodes the signal and y(n) produces a new signal, which is an estimation of the signal s(n) except for a delay of taps. Here, Adaptive filter plays an important role. The structure of the adaptive filter is as shown in following fig 2.
Fig 2: Adaptive filter To start the discussion of the block diagram we take the following assumptions: The input signal is the sum of a desired signal d(n) and interfering noise v(n) , x(n)=d(n)+v(n) The variable filter has a Finite Impulse Response (FIR) structure. For such structures the impulse response is equal to the filter coefficients. The coefficients for a filter of order p are defined as ( ) ( ) ( )
the error signal or cost function is the difference between the desired and the estimated signal e(n)=d(n)- ( ) The variable filter estimates the desired signal by convolving the input signal with the impulse response. In vector notation this is expressed ( ) Where x(n)= ( ) ( ) ( * x(n ) ) is an input signal vector.
Moreover, the variable filter updates the filter coefficients at every time instant
Where
algorithm generates this correction factor based on the input and error signals.
ADAPTATION ALGORITHMS
There are two main adaptation algorithms one is least mean square (LMS) and other is Recursive least square filter (RLS). LEAST MEAN SQUARES ALGORITHM Least mean squares (LMS) algorithms are a class of adaptive filter used to mimic a desired filter by finding the filter coefficients that relate to producing the least mean squares of the error signal (difference between the desired and the actual signal). It is a stochastic gradient descent method in that the filter is only adapted based on the error at the current time. LMS filter is built around a transversal (i.e. tapped delay line) structure. Two practical features, simple to design, yet highly effective in performance have made it highly popular in various application. It consists of 2 procedures: the filtering process and adaptive process. The main features are as listed below. i. LMS is the most well-known adaptive algorithms by a value that is proportional to the product of input to the equalizer and output error. ii. LMS algorithms execute quickly but converge slowly, and its complexity grows linearly with the no of weights. iii. Computational simplicity iv. In which channel parameter dont vary very rapidly RECURSIVE LEAST SQUARES ALGORITHM The Recursive least squares (RLS) adaptive filter is an algorithm which recursively finds the filter coefficients that minimize a weighted linear least squares cost function relating to the input signals. This in contrast to other algorithms such as the least mean squares (LMS) that aim to reduce the mean square error. In the derivation of the RLS, the input signals are considered deterministic, while for the LMS and similar algorithm they are considered stochastic. Compared to most of its competitors, the RLS exhibits extremely fast convergence. However, this benefit
comes at the cost of high computational complexity, and potentially poor tracking performance when the filter to be estimated changes. SUMMARY Bandwidth-efficient data transmission over telephone and radio channels is made possible by the use of adaptive equalization to compensate for the time dispersion introduced by the channel. Spurred by practical applications, a steady research effort over the last two decades has produced a rich body of literature in adaptive equalization and the related more general fields of reception of digital signals, adaptive filtering, and system identification. There is still more work to be done in adaptive equalization of nonlinearities with memory and in equalizer algorithms for coded modulation systems. However, the emphasis has already shifted from adaptive equalization theory toward the more general theory and applications of adaptive filters, and toward structures and implementation technologies which are uniquely suited to particular applications.