SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
Int. J. on Recent Trends in Engineering and Technology, Vol. 10, No. 2, Jan 2014

Echo Cancellation Algorithms using Adaptive Filters:
A Comparative Study
Pushpalatha.G.S1, Mohan Kumar.N2
1 Asst. Professor, Dr. Ambedkar Institute of Technology,
Department of Electronics and Communication Engineering, Bangalore, India
1Email: pushpalatha13@gmail.com 2Email: mohan.ait@live.com
Abstract— An adaptive filter is a filter that self-adjusts its transfer function according to an
optimization algorithm driven by an error signal. Adaptive filter finds its essence in
applications such as echo cancellation, noise cancellation, system identification and many
others. This paper briefly discusses LMS, NLMS and RLS adaptive filter algorithms for
echo cancellation. For the analysis, an acoustic echo canceller is built using LMS, NLMS
and RLS algorithms and the echo cancelled samples are studied using Spectrogram. The
analysis is further extended with its cross-correlation and ERLE (Echo Return Loss
Enhancement) results. Finally, this paper concludes with a better adaptive filter algorithm
for Echo cancellation. The implementation and analysis is done using MATLAB®,
SIMULINK® and SPECTROGRAM V5.0®.
Index Terms— acoustics, echo, echo cancellation, MATLAB®, SIMULINK®, spectrogram,
ERLE, cross-correlation

I. INTRODUCTION
FIR and IIR digital filters are designed for applications where the desired filter co-efficients are constants.
There are several other digital signal processing applications such as echo cancellation, noise cancellation
where the filter co-efficients are variables and cannot be specified a priori. The only way to get the variable
filter co-efficients is by an equalizer which has adjustable filter co-efficients, which can be optimized to
minimize distortion, on the basis of pre-measured channel characteristics. Such a filter is called an Adaptive
Filter [1].
An adaptive filter used in acoustic echo cancellation is given in Fig. 1. An acoustic echo is one of the
simplest acoustic modelling problems. It happens when the direct signal follows multipath propagation as
shown in Fig. 2.

Figure 1. Adaptive filter in Acoustic Echo Cancellation

DOI: 01.IJRTET.10.2.14
© Association of Computer Electronics and Electrical Engineers, 2013

Figure 2. Multipath Propagation
As depicted in Fig. 2, direct signal d from the source S at height h reaches the listener L which is
followed by the reflected signals r having the magnitude almost same as direct signal. It is referred to as
Echo signal. It is formed when the direct signal hits the obstacles in the room and gets reflected. Such an
echo signal needs to be eliminated or suppressed for better signal perception [2].
For echo cancellation, adaptive filters driven by an error signal are used. Adaptive filters have adjustable
filter parameters to minimize the undesired signal by using an adaptive algorithm. There are numerous
adaptive algorithms used in an adaptive filter, out of which LMS (Least Mean Square) Algorithm, NLMS
(Normalized Least Mean Square) Algorithm, RLS (Recursive Least Square) Algorithm are prominent and
widely used.
Spectrogram [3] is the display of the magnitude of the Short-Time Fourier Transform. In the spectrogram
display, the x-axis represents the time-index and y-axis represents the frequency, whereas the magnitude is
represented by the darkness of the plot.
ERLE [4] (Echo Return Loss Enhancement) is defined as the ratio of the power of the desired signal over the
power of the residual signal. It is a smoothed measure of the amount (in dB) that the echo has been
attenuated. ERLE should stabilize in the interval [-40dB, 30dB] for a good performance. ERLE is used to
measure the potential of echo cancellation.
Cross-correlation estimates the similarity between desired signal and echo cancelled signal.
This paper performs acoustical echo cancellation using an adaptive filter driven by LMS, NLMS and RLS
algorithm and analyses the echo cancelled/suppressed signals obtained from adaptive filter output using
spectrogram, ERLE, cross-correlation and come out with a better algorithm among LMS, NLMS and RLS
algorithm for acoustical echo cancellation.
II. LITERATURE REVIEW
This section discusses the literature review of adaptive filters, echo and the process of echo cancellation.
A. Adaptive Digital Filters
Adaptive filters are self-learning filters, whereby an FIR or IIR filter is designed based on the characteristics
of input signals to adapt its environment. The environment will be defined by the input signal x n and
desired signal d n . Adaptive filters have self-regulation and tracking capabilities. An adaptive filter finds its
essence in applications such as Echo Cancellation, Noise Cancellation, System Identification and many
others. A basic adaptive filter was first invented at AT&T Bell Labs. Since its inception, several adaptive
filter algorithms were designed and honed. A few algorithms include LMS, NLMS and RLS algorithms.
These algorithms were designed to anticipate the signal which would inevitably re-enter the transmission
path and cancel it out.
A few adaptive filter algorithms are discussed below:
1. LMS (Least Mean Square) Algorithm [5] - It is a stochastic gradient-based algorithm introduced by
Bernard Widrow and Ted Hoff which uses gradient vector of the filter tap weights in order to converge on
the optimal Wiener solution. In each iteration of the algorithm, the filter taps weights are updated as per

w n represents the adaptive filter weight vector at time n , x n represents timedelayed input signal samples, e n represents error signal to be minimized and
represents step size or
Equation (3) where
convergence factor.

y ( n ) w h x ( n)
Error, e (n ) d ( n) y ( n)
Weight, w(n 1) w( n)
Output,

(1)
(2)

x ( n)e( n) (3)
If
is chosen to be very small then the algorithm converges very slowly. A large value of may lead to a
faster convergence but the adaptive filter becomes less stable around the minimum value and its output
diverges.
2. NLMS (Normalized LMS) Algorithm [5] – In LMS algorithm, when the values of
is large, the algorithm
experiences a gradient noise amplification problem. This problem is solved by NLMS algorithm. The

37
w n at iteration n 1 is normalized with respect to the squared
Euclidian norm of the input vector x n at iteration n . The NLMS algorithm can be viewed as a timecorrection applied to weight vector

varying step-size algorithm, calculating the convergence factor

( n)
c

x ( n)

as in Equation (4).
(4)

2

In Equation (4), is the NLMS adaption constant, which optimize the convergence rate of the algorithm and
should satisfy the condition 0
2 , and c is the constant term for normalization, which is always less
than 1.
The filter weights using NLMS algorithm are updated as given in Equation (5).

w(n 1)

w(n)

c

x ( n)

2

e( n ) x ( n )

(5)

3. RLS (Recursive Least Square) Algorithm [6] – This algorithm attempts to minimize the cost function in
Equation (6). In Equation (6), k 1 is the time at which the RLS algorithm commences and
is a small
positive constant very close to, but smaller than 1. With values of
1 more recent input samples, this
results in a scheme that places more emphasis on recent samples of observed data and tends to forget the past.
n
n k

n

k

e

n

k 1

k

(6)

When compared to LMS algorithm, RLS algorithm offers a faster convergence and lower error at steady
state. But, this RLS algorithm is much more computationally complex and if proper design procedures are
not followed, RLS algorithm may diverge away resulting in instability.
B. Echo [7]
Echoes are simply generated by delay units. The direct sound and a single echo appearing after R sampling
periods later can be generated by the FIR filter as shown in Fig. 3.

Figure 3. Echo filter

The transfer function of the echo filter is given by Equation (7).

Z R,
1
(7)
In the above transfer function, the delay parameter R denotes the time the sound wave takes to travel from
H (Z ) 1

the sound source to the listener after bouncing back from the reflecting wall, whereas the parameter ,

with

1 , represents the signal loss caused by propagation and reflection.
There are two types of Echo – Acoustic Echo and Hybrid Echo. Hybrid Echo is generated in PSTN Network.
C. Echo Cancellation
Echo cancellation is the process of removing echo signals from a voice communication system in order to
achieve quality audio perception. The development of echo reduction began in the late 1950s, and continues
today as new integrated landline and wireless cellular networks put additional requirement on the
38
performance of echo cancellers. Echo cancellation involves in first recognizing the originally transmitted
signal that re-appears, with some delay, in the transmitted or received signal. Once the echo is recognized, it
is removed by 'subtracting' it from the transmitted or received signal. This technique is usually implemented
on DSP’s using adaptive filters.
III. DIGITAL IMPLEMENTATION USING MATLAB -S IMULINK®
This section describes the digital implementation of various echo cancellation algorithms using MATLABSIMULINK® V7.5. We employ SIMULINK® Signal Processing Toolbox and the common blocks used were
From Multimedia File, Delay, Signal to Workspace, Gain, Sum, To Audio Device, LMS Filter, NLMS Filter
and RLS Filter.
A. Echo Model [7]
This model generates Echo signal for as given input signal. Here we use PCM 16 bit signed, 352 kbps,
22050Hz speech signal as input. The Echo – Simulink model is represented in Fig. 4.

Figure 4. Echo – Simulink model

B. Echo Cancellation Model
We implement Echo Cancellation model using LMS, NLMS and RLS algorithms which are shown in Fig. 6,
Fig. 7, and Fig. 8 respectively. Fig. 5 represents LMS filter Simulink block.

Figure 5. LMS Filter – Simulink Block model

The above block has the below input and output ports.
Input Port
:
Signal + its Echo
Desired Port
:
Desired Audio signal
Output Port
:
Echo cancelled/suppressed signal
Error Port
:
Difference between desired signal and adaptive filter output

Figure 6. LMS Echo Cancellation – Simulink model

39
Figure 7. NLMS Echo Cancellation – Simulink model

Figure 8. RLS Echo Cancellation – Simulink model

C. Experimental/Implementation Procedure:
STAGE 1:
1) Initially, a speech signal without any echo components is used as desired/ideal signal. It is a PCM
(Pulse Code Modulation) signed 16-bit, 352kbps, 22050Hz, 1 channel speech signal.
2) Echo Model is implemented using Simulink and the value of is kept constant at 0.5 and the value
of R (delay) is kept constant at 8000 samples throughout the experiment. Generated signal is an echo
signal.
3) The desired signal and signal+Echo will be used as inputs to LMS Echo Canceller.
4) Simulation is run for 8 seconds and the Output port of LMS block gives the echo cancelled signal.
Error Port of LMS block gives the difference between desired and LMS output.
5) Desired signal, Signal+Echo, Output signal and Error signal are saved in the workspace for further
analysis.
6) Spectrogram Plots are obtained for desired and output signals using SPECTROGRAM V.5.0 Tool [8]
7) The same procedure is repeated for NLMS and RLS Echo Canceller Algorithms
STAGE 2:
1) We use the concept of ERLE [4] (Echo Return Loss Estimation) to measure the potential of Echo
cancellation. It is defined as the ratio of the power of the desired signal over the power of the residual
signal. The expression to determine ERLE is given in Equation (8).

ERLE

10 log 10

E (d 2 (n))
dB
E (e 2 (n))

(8)

2) It is a smoothed measure of the amount (in dB) that the echo has been attenuated. ERLE should
stabilize in the interval [-40dB, 30dB] for a good performance
STAGE 3:
1) To determine the amount of time shift between desired and echo cancelled signal, we use the concept of
cross-correlation
40
2) Cross correlation is calculated between desired signal and echo cancelled output obtained from LMS,
NLMS and RLS adaptive filter algorithms.
3) Ideally, the time shift between desired and echo cancelled signal should be minimal; and the amplitude
of time shifted signal should be very less for better audio perception
TABLE I SPECTROGRAM PLOT

a. Desired Spectrogram

b. LMS Output

c. NLMS Output

d. RLS Output

IV. IMPLEMENTATION ANALYSIS
This section discusses the analysis of Echo cancellation algorithm implemented using Spectrogram, ERLE
and Cross-Correlation.

41
TABLE II
ERLE PLOT

TABLE III
CROSS- CORRELATION PLOT

a. LMS Output

a. LMS Output and Desired Output

b. NLMS Output

b. NLMS Output and Desired Output

c. RLS Output

c. RLS Output and Desired Output

Spectrogram Analysis – For LMS, NLMS and RLS echo canceller output samples, spectrograms were
determined and the plots are represented in Table I. From the spectrogram plots we observe that the NLMS
cancels the echo signals to a maximum extent and RLS cancels the echo signals to a minimum extent
whereas in LMS algorithm, echo signals are cancelled out moderately.
ERLE Analysis – As discussed earlier, ERLE measures the potential of echo cancellation. It is calculated as
per the Equation (8). The ERLE plots for LMS, NLMS, and RLS algorithms are represented in Table II. For
LMS algorithm, ERLE value lies in the range [-65dB, 50dB]. For NLMS algorithm, ERLE value lies in the
range [-60dB, 40dB] and for RLS algorithm, ERLE value lies in the range [-80dB, 60dB]. But, ERLE value
has to stabilize in the range [- 40dB, 30dB] for better performance. Hence, NLMS algorithm offers better
performance when compared to LMS and RLS.
Cross-Correlation Analysis – It is used to determine the time-shift between two signals. The cross-correlation
plots of LMS, NLMS and RLS algorithms are represented in Table III.
From Table 3 we observe that the amplitude of time shifted signal (Echo signal) is minimum for NLMS and
maximum for RLS, whereas the amplitude of LMS between the two. Hence, NLMS algorithm offers better
echo cancellation.
V. CONCLUSION
Considering the Spectrogram analysis, cross correlation and ERLE results of three adaptive filter algorithms,
this paper concludes that the NLMS algorithm is best suited for echo cancellation. NLMS algorithm provides
42
better ERLE stability in the range [-40dB, 30dB]. Also the amplitude of time shifted in Cross Correlation
plots is minimum for NLMS algorithm.
Listening tests indicate that the perceived temporal quality or texture is better for NLMS, followed by LMS
and RLS. This is also evident from Spectrogram, ERLE and Cross-Correlation plots.
This paper also discusses the implementation of LMS, NLMS and RLS adaptive filter algorithms for echo
cancellation in a concert hall and it brings out the difference between LMS, NLMS and RLS algorithms,
Finally, it performs a better analysis of echo cancellation algorithms considering Spectrogram, ERLE and
cross-correlation.
This paper concludes with the NLMS adaptive filter algorithm to be a better algorithm amongst LMS, NLMS
and RLS for echo cancellation.
REFERENCES
[1] Vinay K. Ingle, John G. Proakis, Digital Signal Processing Using Matlab, Third Edition, Cengage Learning, 2012
[2] https://ccrma.stanford.edu/~jos/pasp/Acoustic_Echo_Simulator. html
[3] Sanjit K Mitra, Digital Signal Processing, Third Edition, Tata McGraw-Hill Companies, 2006
[4] Irina Dornean, Marina Topa, Botond Sandor Kirei, Marius Neag, “Sub-Band Adaptive Filtering for Acoustic Echo
Cancellation”, IEEE European Conference on Circuit Theory and Design, pp 810 - 813, 2009
[5] Raj Kumar Thenua, S. K. Agrawal, "Hardware Implementation of Adaptive Algorithms for Noise Cancellation",
International Journal of Information and Electronics Engineering, Vol. 2, No. 2, March 2012
[6] Amit Munjal, Vibha Aggarwal, Gurpal Singh, "RLS Algorithm for Acoustic Echo Cancellation", Proceedings of 2nd
National Conference on Challenges & Opportunities in Information Technology (COIT-2008), RIMT-IET, Mandi
Gobindgarh, pp 299-303, March 29, 2008
[7] Pushpalatha G.S, Shivaputra, Mohan Kumar N, "Spectrogram Study of Echo and Reverberation", Signal Processing
and Information Technology, LNICST, Vol. 62, 2012, pp 210-213
[8] Spectrogram version 5.0, Available: http://smedor.com/gram50.zip

43

Más contenido relacionado

La actualidad más candente

Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...iosrjce
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellationChaitanya S
 
Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalizationKamal Bhatt
 
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...Raj Kumar Thenua
 
Implementation Adaptive Noise Canceler
Implementation Adaptive Noise Canceler Implementation Adaptive Noise Canceler
Implementation Adaptive Noise Canceler Akshatha suresh
 
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...sipij
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filterA. Shamel
 
Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...shaik chand basha
 
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition ToolboxReal-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition ToolboxIDES Editor
 
Adaptive linear equalizer
Adaptive linear equalizerAdaptive linear equalizer
Adaptive linear equalizerSophia Jeanne
 
Equalization
EqualizationEqualization
Equalizationbhabendu
 
Performance analysis of adaptive noise canceller for an ecg signal
Performance analysis of adaptive noise canceller for an ecg signalPerformance analysis of adaptive noise canceller for an ecg signal
Performance analysis of adaptive noise canceller for an ecg signalRaj Kumar Thenua
 

La actualidad más candente (20)

Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellation
 
Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalization
 
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
 
Implementation Adaptive Noise Canceler
Implementation Adaptive Noise Canceler Implementation Adaptive Noise Canceler
Implementation Adaptive Noise Canceler
 
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
 
Dsp ppt madhuri.anudeep
Dsp ppt madhuri.anudeepDsp ppt madhuri.anudeep
Dsp ppt madhuri.anudeep
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...
 
Unit iv wcn main
Unit iv wcn mainUnit iv wcn main
Unit iv wcn main
 
Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalization
 
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition ToolboxReal-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
 
Adaptive linear equalizer
Adaptive linear equalizerAdaptive linear equalizer
Adaptive linear equalizer
 
Equalization
EqualizationEqualization
Equalization
 
Final ppt
Final pptFinal ppt
Final ppt
 
Performance analysis of adaptive noise canceller for an ecg signal
Performance analysis of adaptive noise canceller for an ecg signalPerformance analysis of adaptive noise canceller for an ecg signal
Performance analysis of adaptive noise canceller for an ecg signal
 
ADAPTIVE NOISE CANCELLATION
ADAPTIVE NOISE CANCELLATIONADAPTIVE NOISE CANCELLATION
ADAPTIVE NOISE CANCELLATION
 
Introduction to equalization
Introduction to equalizationIntroduction to equalization
Introduction to equalization
 
Equalization
EqualizationEqualization
Equalization
 

Destacado

ываываываывфы фы вфы фыв фыв фыв фыв
ываываываывфы фы вфы фыв фыв фыв фывываываываывфы фы вфы фыв фыв фыв фыв
ываываываывфы фы вфы фыв фыв фыв фывSkillary
 
Keynote_HITC_March2015
Keynote_HITC_March2015Keynote_HITC_March2015
Keynote_HITC_March2015Geri Kimoto
 
Agile Lean Conference 2015 - Lean & Startup (Canessa)
Agile Lean Conference 2015 - Lean & Startup (Canessa)Agile Lean Conference 2015 - Lean & Startup (Canessa)
Agile Lean Conference 2015 - Lean & Startup (Canessa)Agile Lean Conference
 
Аппаратно-програмный комплекс для урологии
Аппаратно-програмный комплекс для урологииАппаратно-програмный комплекс для урологии
Аппаратно-програмный комплекс для урологииkulibin
 
Gizi ibu hamil berdasarkan trimester kehamilan
Gizi ibu hamil berdasarkan trimester kehamilanGizi ibu hamil berdasarkan trimester kehamilan
Gizi ibu hamil berdasarkan trimester kehamilanSyaloom Gorga Napitupulu
 
La Flora del Promontorio di Portofino-ISBN-9789077634004
La Flora del Promontorio di Portofino-ISBN-9789077634004La Flora del Promontorio di Portofino-ISBN-9789077634004
La Flora del Promontorio di Portofino-ISBN-9789077634004Fergus-On
 
118052664 modul-1
118052664 modul-1118052664 modul-1
118052664 modul-1yes ican
 

Destacado (10)

Adaptive filters
Adaptive filtersAdaptive filters
Adaptive filters
 
ываываываывфы фы вфы фыв фыв фыв фыв
ываываываывфы фы вфы фыв фыв фыв фывываываываывфы фы вфы фыв фыв фыв фыв
ываываываывфы фы вфы фыв фыв фыв фыв
 
Tecnología
Tecnología Tecnología
Tecnología
 
Pam Tilson
Pam TilsonPam Tilson
Pam Tilson
 
Keynote_HITC_March2015
Keynote_HITC_March2015Keynote_HITC_March2015
Keynote_HITC_March2015
 
Agile Lean Conference 2015 - Lean & Startup (Canessa)
Agile Lean Conference 2015 - Lean & Startup (Canessa)Agile Lean Conference 2015 - Lean & Startup (Canessa)
Agile Lean Conference 2015 - Lean & Startup (Canessa)
 
Аппаратно-програмный комплекс для урологии
Аппаратно-програмный комплекс для урологииАппаратно-програмный комплекс для урологии
Аппаратно-програмный комплекс для урологии
 
Gizi ibu hamil berdasarkan trimester kehamilan
Gizi ibu hamil berdasarkan trimester kehamilanGizi ibu hamil berdasarkan trimester kehamilan
Gizi ibu hamil berdasarkan trimester kehamilan
 
La Flora del Promontorio di Portofino-ISBN-9789077634004
La Flora del Promontorio di Portofino-ISBN-9789077634004La Flora del Promontorio di Portofino-ISBN-9789077634004
La Flora del Promontorio di Portofino-ISBN-9789077634004
 
118052664 modul-1
118052664 modul-1118052664 modul-1
118052664 modul-1
 

Similar a Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study

Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLSComparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLSijsrd.com
 
Simulation of Adaptive Noise Canceller for an ECG signal Analysis
Simulation of Adaptive Noise Canceller for an ECG signal AnalysisSimulation of Adaptive Noise Canceller for an ECG signal Analysis
Simulation of Adaptive Noise Canceller for an ECG signal AnalysisIDES Editor
 
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMSFPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMSEditor IJMTER
 
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
P ERFORMANCE A NALYSIS  O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...P ERFORMANCE A NALYSIS  O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...ijwmn
 
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...sipij
 
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...Venkata Sudhir Vedurla
 
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfA_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfBala Murugan
 
A Decisive Filtering Selection Approach For Improved Performance Active Noise...
A Decisive Filtering Selection Approach For Improved Performance Active Noise...A Decisive Filtering Selection Approach For Improved Performance Active Noise...
A Decisive Filtering Selection Approach For Improved Performance Active Noise...IOSR Journals
 
Filtering Electrocardiographic Signals using filtered- X LMS algorithm
Filtering Electrocardiographic Signals using filtered- X LMS algorithmFiltering Electrocardiographic Signals using filtered- X LMS algorithm
Filtering Electrocardiographic Signals using filtered- X LMS algorithmIDES Editor
 
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Pratik Ghotkar
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptdebeshidutta2
 
LMS Adaptive Filters for Noise Cancellation: A Review
LMS Adaptive Filters for Noise Cancellation: A Review LMS Adaptive Filters for Noise Cancellation: A Review
LMS Adaptive Filters for Noise Cancellation: A Review IJECEIAES
 
Noise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using ComputationallyNoise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using ComputationallyCSCJournals
 
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LAN
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LANMETHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LAN
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LANIJNSA Journal
 

Similar a Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study (20)

Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLSComparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
 
Simulation of Adaptive Noise Canceller for an ECG signal Analysis
Simulation of Adaptive Noise Canceller for an ECG signal AnalysisSimulation of Adaptive Noise Canceller for an ECG signal Analysis
Simulation of Adaptive Noise Canceller for an ECG signal Analysis
 
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMSFPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
 
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
P ERFORMANCE A NALYSIS  O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...P ERFORMANCE A NALYSIS  O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
 
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
 
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...
Analysis the results_of_acoustic_echo_cancellation_for_speech_processing_usin...
 
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfA_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
 
Ijetcas14 555
Ijetcas14 555Ijetcas14 555
Ijetcas14 555
 
Oo2423882391
Oo2423882391Oo2423882391
Oo2423882391
 
476 293
476 293476 293
476 293
 
A Decisive Filtering Selection Approach For Improved Performance Active Noise...
A Decisive Filtering Selection Approach For Improved Performance Active Noise...A Decisive Filtering Selection Approach For Improved Performance Active Noise...
A Decisive Filtering Selection Approach For Improved Performance Active Noise...
 
Filtering Electrocardiographic Signals using filtered- X LMS algorithm
Filtering Electrocardiographic Signals using filtered- X LMS algorithmFiltering Electrocardiographic Signals using filtered- X LMS algorithm
Filtering Electrocardiographic Signals using filtered- X LMS algorithm
 
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.ppt
 
D017632228
D017632228D017632228
D017632228
 
LMS Adaptive Filters for Noise Cancellation: A Review
LMS Adaptive Filters for Noise Cancellation: A Review LMS Adaptive Filters for Noise Cancellation: A Review
LMS Adaptive Filters for Noise Cancellation: A Review
 
Noise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using ComputationallyNoise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using Computationally
 
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LAN
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LANMETHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LAN
METHOD FOR REDUCING OF NOISE BY IMPROVING SIGNAL-TO-NOISE-RATIO IN WIRELESS LAN
 
Adaptive Equalization
Adaptive EqualizationAdaptive Equalization
Adaptive Equalization
 
A novel adaptive algorithm for removal of power line interference from ecg si...
A novel adaptive algorithm for removal of power line interference from ecg si...A novel adaptive algorithm for removal of power line interference from ecg si...
A novel adaptive algorithm for removal of power line interference from ecg si...
 

Más de idescitation (20)

65 113-121
65 113-12165 113-121
65 113-121
 
69 122-128
69 122-12869 122-128
69 122-128
 
71 338-347
71 338-34771 338-347
71 338-347
 
72 129-135
72 129-13572 129-135
72 129-135
 
74 136-143
74 136-14374 136-143
74 136-143
 
80 152-157
80 152-15780 152-157
80 152-157
 
82 348-355
82 348-35582 348-355
82 348-355
 
84 11-21
84 11-2184 11-21
84 11-21
 
62 328-337
62 328-33762 328-337
62 328-337
 
46 102-112
46 102-11246 102-112
46 102-112
 
47 292-298
47 292-29847 292-298
47 292-298
 
49 299-305
49 299-30549 299-305
49 299-305
 
57 306-311
57 306-31157 306-311
57 306-311
 
60 312-318
60 312-31860 312-318
60 312-318
 
5 1-10
5 1-105 1-10
5 1-10
 
11 69-81
11 69-8111 69-81
11 69-81
 
14 284-291
14 284-29114 284-291
14 284-291
 
15 82-87
15 82-8715 82-87
15 82-87
 
29 88-96
29 88-9629 88-96
29 88-96
 
43 97-101
43 97-10143 97-101
43 97-101
 

Último

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Último (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study

  • 1. Int. J. on Recent Trends in Engineering and Technology, Vol. 10, No. 2, Jan 2014 Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study Pushpalatha.G.S1, Mohan Kumar.N2 1 Asst. Professor, Dr. Ambedkar Institute of Technology, Department of Electronics and Communication Engineering, Bangalore, India 1Email: pushpalatha13@gmail.com 2Email: mohan.ait@live.com Abstract— An adaptive filter is a filter that self-adjusts its transfer function according to an optimization algorithm driven by an error signal. Adaptive filter finds its essence in applications such as echo cancellation, noise cancellation, system identification and many others. This paper briefly discusses LMS, NLMS and RLS adaptive filter algorithms for echo cancellation. For the analysis, an acoustic echo canceller is built using LMS, NLMS and RLS algorithms and the echo cancelled samples are studied using Spectrogram. The analysis is further extended with its cross-correlation and ERLE (Echo Return Loss Enhancement) results. Finally, this paper concludes with a better adaptive filter algorithm for Echo cancellation. The implementation and analysis is done using MATLAB®, SIMULINK® and SPECTROGRAM V5.0®. Index Terms— acoustics, echo, echo cancellation, MATLAB®, SIMULINK®, spectrogram, ERLE, cross-correlation I. INTRODUCTION FIR and IIR digital filters are designed for applications where the desired filter co-efficients are constants. There are several other digital signal processing applications such as echo cancellation, noise cancellation where the filter co-efficients are variables and cannot be specified a priori. The only way to get the variable filter co-efficients is by an equalizer which has adjustable filter co-efficients, which can be optimized to minimize distortion, on the basis of pre-measured channel characteristics. Such a filter is called an Adaptive Filter [1]. An adaptive filter used in acoustic echo cancellation is given in Fig. 1. An acoustic echo is one of the simplest acoustic modelling problems. It happens when the direct signal follows multipath propagation as shown in Fig. 2. Figure 1. Adaptive filter in Acoustic Echo Cancellation DOI: 01.IJRTET.10.2.14 © Association of Computer Electronics and Electrical Engineers, 2013 Figure 2. Multipath Propagation
  • 2. As depicted in Fig. 2, direct signal d from the source S at height h reaches the listener L which is followed by the reflected signals r having the magnitude almost same as direct signal. It is referred to as Echo signal. It is formed when the direct signal hits the obstacles in the room and gets reflected. Such an echo signal needs to be eliminated or suppressed for better signal perception [2]. For echo cancellation, adaptive filters driven by an error signal are used. Adaptive filters have adjustable filter parameters to minimize the undesired signal by using an adaptive algorithm. There are numerous adaptive algorithms used in an adaptive filter, out of which LMS (Least Mean Square) Algorithm, NLMS (Normalized Least Mean Square) Algorithm, RLS (Recursive Least Square) Algorithm are prominent and widely used. Spectrogram [3] is the display of the magnitude of the Short-Time Fourier Transform. In the spectrogram display, the x-axis represents the time-index and y-axis represents the frequency, whereas the magnitude is represented by the darkness of the plot. ERLE [4] (Echo Return Loss Enhancement) is defined as the ratio of the power of the desired signal over the power of the residual signal. It is a smoothed measure of the amount (in dB) that the echo has been attenuated. ERLE should stabilize in the interval [-40dB, 30dB] for a good performance. ERLE is used to measure the potential of echo cancellation. Cross-correlation estimates the similarity between desired signal and echo cancelled signal. This paper performs acoustical echo cancellation using an adaptive filter driven by LMS, NLMS and RLS algorithm and analyses the echo cancelled/suppressed signals obtained from adaptive filter output using spectrogram, ERLE, cross-correlation and come out with a better algorithm among LMS, NLMS and RLS algorithm for acoustical echo cancellation. II. LITERATURE REVIEW This section discusses the literature review of adaptive filters, echo and the process of echo cancellation. A. Adaptive Digital Filters Adaptive filters are self-learning filters, whereby an FIR or IIR filter is designed based on the characteristics of input signals to adapt its environment. The environment will be defined by the input signal x n and desired signal d n . Adaptive filters have self-regulation and tracking capabilities. An adaptive filter finds its essence in applications such as Echo Cancellation, Noise Cancellation, System Identification and many others. A basic adaptive filter was first invented at AT&T Bell Labs. Since its inception, several adaptive filter algorithms were designed and honed. A few algorithms include LMS, NLMS and RLS algorithms. These algorithms were designed to anticipate the signal which would inevitably re-enter the transmission path and cancel it out. A few adaptive filter algorithms are discussed below: 1. LMS (Least Mean Square) Algorithm [5] - It is a stochastic gradient-based algorithm introduced by Bernard Widrow and Ted Hoff which uses gradient vector of the filter tap weights in order to converge on the optimal Wiener solution. In each iteration of the algorithm, the filter taps weights are updated as per w n represents the adaptive filter weight vector at time n , x n represents timedelayed input signal samples, e n represents error signal to be minimized and represents step size or Equation (3) where convergence factor. y ( n ) w h x ( n) Error, e (n ) d ( n) y ( n) Weight, w(n 1) w( n) Output, (1) (2) x ( n)e( n) (3) If is chosen to be very small then the algorithm converges very slowly. A large value of may lead to a faster convergence but the adaptive filter becomes less stable around the minimum value and its output diverges. 2. NLMS (Normalized LMS) Algorithm [5] – In LMS algorithm, when the values of is large, the algorithm experiences a gradient noise amplification problem. This problem is solved by NLMS algorithm. The 37
  • 3. w n at iteration n 1 is normalized with respect to the squared Euclidian norm of the input vector x n at iteration n . The NLMS algorithm can be viewed as a timecorrection applied to weight vector varying step-size algorithm, calculating the convergence factor ( n) c x ( n) as in Equation (4). (4) 2 In Equation (4), is the NLMS adaption constant, which optimize the convergence rate of the algorithm and should satisfy the condition 0 2 , and c is the constant term for normalization, which is always less than 1. The filter weights using NLMS algorithm are updated as given in Equation (5). w(n 1) w(n) c x ( n) 2 e( n ) x ( n ) (5) 3. RLS (Recursive Least Square) Algorithm [6] – This algorithm attempts to minimize the cost function in Equation (6). In Equation (6), k 1 is the time at which the RLS algorithm commences and is a small positive constant very close to, but smaller than 1. With values of 1 more recent input samples, this results in a scheme that places more emphasis on recent samples of observed data and tends to forget the past. n n k n k e n k 1 k (6) When compared to LMS algorithm, RLS algorithm offers a faster convergence and lower error at steady state. But, this RLS algorithm is much more computationally complex and if proper design procedures are not followed, RLS algorithm may diverge away resulting in instability. B. Echo [7] Echoes are simply generated by delay units. The direct sound and a single echo appearing after R sampling periods later can be generated by the FIR filter as shown in Fig. 3. Figure 3. Echo filter The transfer function of the echo filter is given by Equation (7). Z R, 1 (7) In the above transfer function, the delay parameter R denotes the time the sound wave takes to travel from H (Z ) 1 the sound source to the listener after bouncing back from the reflecting wall, whereas the parameter , with 1 , represents the signal loss caused by propagation and reflection. There are two types of Echo – Acoustic Echo and Hybrid Echo. Hybrid Echo is generated in PSTN Network. C. Echo Cancellation Echo cancellation is the process of removing echo signals from a voice communication system in order to achieve quality audio perception. The development of echo reduction began in the late 1950s, and continues today as new integrated landline and wireless cellular networks put additional requirement on the 38
  • 4. performance of echo cancellers. Echo cancellation involves in first recognizing the originally transmitted signal that re-appears, with some delay, in the transmitted or received signal. Once the echo is recognized, it is removed by 'subtracting' it from the transmitted or received signal. This technique is usually implemented on DSP’s using adaptive filters. III. DIGITAL IMPLEMENTATION USING MATLAB -S IMULINK® This section describes the digital implementation of various echo cancellation algorithms using MATLABSIMULINK® V7.5. We employ SIMULINK® Signal Processing Toolbox and the common blocks used were From Multimedia File, Delay, Signal to Workspace, Gain, Sum, To Audio Device, LMS Filter, NLMS Filter and RLS Filter. A. Echo Model [7] This model generates Echo signal for as given input signal. Here we use PCM 16 bit signed, 352 kbps, 22050Hz speech signal as input. The Echo – Simulink model is represented in Fig. 4. Figure 4. Echo – Simulink model B. Echo Cancellation Model We implement Echo Cancellation model using LMS, NLMS and RLS algorithms which are shown in Fig. 6, Fig. 7, and Fig. 8 respectively. Fig. 5 represents LMS filter Simulink block. Figure 5. LMS Filter – Simulink Block model The above block has the below input and output ports. Input Port : Signal + its Echo Desired Port : Desired Audio signal Output Port : Echo cancelled/suppressed signal Error Port : Difference between desired signal and adaptive filter output Figure 6. LMS Echo Cancellation – Simulink model 39
  • 5. Figure 7. NLMS Echo Cancellation – Simulink model Figure 8. RLS Echo Cancellation – Simulink model C. Experimental/Implementation Procedure: STAGE 1: 1) Initially, a speech signal without any echo components is used as desired/ideal signal. It is a PCM (Pulse Code Modulation) signed 16-bit, 352kbps, 22050Hz, 1 channel speech signal. 2) Echo Model is implemented using Simulink and the value of is kept constant at 0.5 and the value of R (delay) is kept constant at 8000 samples throughout the experiment. Generated signal is an echo signal. 3) The desired signal and signal+Echo will be used as inputs to LMS Echo Canceller. 4) Simulation is run for 8 seconds and the Output port of LMS block gives the echo cancelled signal. Error Port of LMS block gives the difference between desired and LMS output. 5) Desired signal, Signal+Echo, Output signal and Error signal are saved in the workspace for further analysis. 6) Spectrogram Plots are obtained for desired and output signals using SPECTROGRAM V.5.0 Tool [8] 7) The same procedure is repeated for NLMS and RLS Echo Canceller Algorithms STAGE 2: 1) We use the concept of ERLE [4] (Echo Return Loss Estimation) to measure the potential of Echo cancellation. It is defined as the ratio of the power of the desired signal over the power of the residual signal. The expression to determine ERLE is given in Equation (8). ERLE 10 log 10 E (d 2 (n)) dB E (e 2 (n)) (8) 2) It is a smoothed measure of the amount (in dB) that the echo has been attenuated. ERLE should stabilize in the interval [-40dB, 30dB] for a good performance STAGE 3: 1) To determine the amount of time shift between desired and echo cancelled signal, we use the concept of cross-correlation 40
  • 6. 2) Cross correlation is calculated between desired signal and echo cancelled output obtained from LMS, NLMS and RLS adaptive filter algorithms. 3) Ideally, the time shift between desired and echo cancelled signal should be minimal; and the amplitude of time shifted signal should be very less for better audio perception TABLE I SPECTROGRAM PLOT a. Desired Spectrogram b. LMS Output c. NLMS Output d. RLS Output IV. IMPLEMENTATION ANALYSIS This section discusses the analysis of Echo cancellation algorithm implemented using Spectrogram, ERLE and Cross-Correlation. 41
  • 7. TABLE II ERLE PLOT TABLE III CROSS- CORRELATION PLOT a. LMS Output a. LMS Output and Desired Output b. NLMS Output b. NLMS Output and Desired Output c. RLS Output c. RLS Output and Desired Output Spectrogram Analysis – For LMS, NLMS and RLS echo canceller output samples, spectrograms were determined and the plots are represented in Table I. From the spectrogram plots we observe that the NLMS cancels the echo signals to a maximum extent and RLS cancels the echo signals to a minimum extent whereas in LMS algorithm, echo signals are cancelled out moderately. ERLE Analysis – As discussed earlier, ERLE measures the potential of echo cancellation. It is calculated as per the Equation (8). The ERLE plots for LMS, NLMS, and RLS algorithms are represented in Table II. For LMS algorithm, ERLE value lies in the range [-65dB, 50dB]. For NLMS algorithm, ERLE value lies in the range [-60dB, 40dB] and for RLS algorithm, ERLE value lies in the range [-80dB, 60dB]. But, ERLE value has to stabilize in the range [- 40dB, 30dB] for better performance. Hence, NLMS algorithm offers better performance when compared to LMS and RLS. Cross-Correlation Analysis – It is used to determine the time-shift between two signals. The cross-correlation plots of LMS, NLMS and RLS algorithms are represented in Table III. From Table 3 we observe that the amplitude of time shifted signal (Echo signal) is minimum for NLMS and maximum for RLS, whereas the amplitude of LMS between the two. Hence, NLMS algorithm offers better echo cancellation. V. CONCLUSION Considering the Spectrogram analysis, cross correlation and ERLE results of three adaptive filter algorithms, this paper concludes that the NLMS algorithm is best suited for echo cancellation. NLMS algorithm provides 42
  • 8. better ERLE stability in the range [-40dB, 30dB]. Also the amplitude of time shifted in Cross Correlation plots is minimum for NLMS algorithm. Listening tests indicate that the perceived temporal quality or texture is better for NLMS, followed by LMS and RLS. This is also evident from Spectrogram, ERLE and Cross-Correlation plots. This paper also discusses the implementation of LMS, NLMS and RLS adaptive filter algorithms for echo cancellation in a concert hall and it brings out the difference between LMS, NLMS and RLS algorithms, Finally, it performs a better analysis of echo cancellation algorithms considering Spectrogram, ERLE and cross-correlation. This paper concludes with the NLMS adaptive filter algorithm to be a better algorithm amongst LMS, NLMS and RLS for echo cancellation. REFERENCES [1] Vinay K. Ingle, John G. Proakis, Digital Signal Processing Using Matlab, Third Edition, Cengage Learning, 2012 [2] https://ccrma.stanford.edu/~jos/pasp/Acoustic_Echo_Simulator. html [3] Sanjit K Mitra, Digital Signal Processing, Third Edition, Tata McGraw-Hill Companies, 2006 [4] Irina Dornean, Marina Topa, Botond Sandor Kirei, Marius Neag, “Sub-Band Adaptive Filtering for Acoustic Echo Cancellation”, IEEE European Conference on Circuit Theory and Design, pp 810 - 813, 2009 [5] Raj Kumar Thenua, S. K. Agrawal, "Hardware Implementation of Adaptive Algorithms for Noise Cancellation", International Journal of Information and Electronics Engineering, Vol. 2, No. 2, March 2012 [6] Amit Munjal, Vibha Aggarwal, Gurpal Singh, "RLS Algorithm for Acoustic Echo Cancellation", Proceedings of 2nd National Conference on Challenges & Opportunities in Information Technology (COIT-2008), RIMT-IET, Mandi Gobindgarh, pp 299-303, March 29, 2008 [7] Pushpalatha G.S, Shivaputra, Mohan Kumar N, "Spectrogram Study of Echo and Reverberation", Signal Processing and Information Technology, LNICST, Vol. 62, 2012, pp 210-213 [8] Spectrogram version 5.0, Available: http://smedor.com/gram50.zip 43