Design Realization and Performance
Design Realization and Performance
3, June 2015
ABSTRACT
Nowadays, in the field of communications, AEC (acoustic echo cancellation) is truly essential with respect
to the quality of multimedia transmission. In this paper, we designed and developed an efficient AEC based
on adaptive filters to improve quality of service in telecommunications against the phenomena of acoustic
echo, which is indeed a problem in hands-free communications.
The main advantage of the proposed algorithm is its capacity of tracking non-stationary signals such as
acoustic echo. In this work the acoustic echo cancellation (AEC) is modeled using a digital signal
processing technique especially Simulink Blocksets. The algorithms code is generated in Matlab Simulink
programming environment. At simulation level, results of simulink implementation prove that module
behavior is realistic when it comes to cancellation of echo in hands free communication using adaptive
algorithm.
Results obtained with our algorithm in terms of ERLE criteria are confronted to IUT-T recommendation
G.168.
KEYWORDS
Digital Signal Processing (DSP), Adaptive Algorithm, Acoustic Echo Cancellation (AEC), hands-free
communications, Echo Return Loss Enhancements (ERLE).
1. INTRODUCTION
Acoustic echo occur when an audio signal is reverberated in a real environment, resulting in the
original intended signal plus attenuated and delay time. Also Hands-free communications are
frequently, an interesting challenge, because the interference of echo in speech causes usually a
problem in communications [1]. It can lead to an unwanted distortion in the quality of
DOI : 10.5121/sipij.2015.6301
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
The adaptive filter considered in this work is considered to be finite impulse response (FIR)
category with N coefficients, such that the output of the adaptive filter can be expressed as:
N 1
(1)
Adaptive FIR filters have many structures, such as the adaptive transversal filter, the network
preacher, the systolic array, etc.
The structure of adaptive transversal filters, which are the subject of our primary concern
regarding echo cancellation, as shown in Figure 1.
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
C (n) = n k e 2 n (k )
(2)
K =0
Where, 0 < <1 represents the forgetting factor, which gives more importance to the most recent
samples. But, the more distant time samples are omitted.
Generally, an adaptive filter uses two inputs: Input signal and desired signal. However, the input
signal is defined as the signal to be processed. But, the desired signal is given to the adaptive
filtering, so it has the original signal.
The Output port outputs the enhanced signal, which can be sample or frame based. The error
signal or estimated signal is very useful for updating the adaptive filter.
Hence, we define the primary input signal to be a delayed version of the measurement y(n) and
the reference signal to be the measurement itself.
We then apply the following RLS algorithm which Tracks the desired solution.
4
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
Where
Where -1 denotes the reciprocal of the exponential weighting factor. The variables are as
follows.
Table 1. Table Variable of RLS Algorithm
Variable
n
x(n)
h(n)
P(n)
k(n)
y(n)
e(n)
d(n)
Description
The present step of the algorithm
The input at step n
The adaptive filter coefficients at step n
The inverse correlation matrix at step n
The gain vector at step n
The estimated echo at step n
The estimated error at step n
The echoed signal at step n
The Variable Forgetting Factor to adjust. Where 0 << 1
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
ERLEdB = 10 log10 (
However, the ERLE plays an important role in digital signal processing; it measures the
attenuation of the echo signal at the output of an AEC [13-14].
6
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
3. SIMULATION RESULTS
3.1. Echo Canceller Modeling using Simulink Environment
In this work we designed the model using Simulink Blockset. For the input signal we used an
audio data in wav format, 8000 Hz sampling rate.
The delay of time is approximately 30 ms and the length is 256 samples. AEC implementation is
setup with RLS adaptive filter of length 32. In addition, the forgetting factor is chosen as = 0.5.
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
38.777
39.69
33.53
12
32.18
15
41.34
18
31.31
21
34.84
24
25.9
27
40.89
30
39.46
The convergence rate of the AEC to find the optimal value of the RLS filter to cancel the echo
depends on various factors such as the forgetting factor parameter. In this case, we modified the
step-size, the filter length and the number of samples to better test the performance of this AEC
against acoustic echo. We also noticed that the smaller the step size is then AEC converges to the
optimal value when increasing of ERLE value.
The performances of the AEC based on the adaptive algorithm can be evaluated using the ERLE
criteria. The obtained results described in table II prove the efficiency of the proposed AEC
9
Signal & Image Processing : An International Journal (SIPIJ) Vol.6, No.3, June 2015
based RLS algorithm against the phenomena working in time changing environments as acoustic
echo does.
3. CONCLUSION
In this paper, a module consisting of an ARC based recursive least square adaptive algorithm is
proposed for improving the quality of the speech signal in hands-free communications systems.
Effectiveness of Proposed AEC based recursive algorithm has been tested using ERLE criteria. It
concludes that our approach shows more efficiency in terms of capacity of tracking nonstationary signals and convergence.
In subsequent works, we will implement this module in real time onboard an autonomous DSK
C6713, thanks to its low computational cost and its user-friendly Simulink programming
implementation. Also we will improve the performances of the proposed module by using
another approaches based digital signal processing for developing a new AEC with higher
convergence rate and lesser computational complexity.
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
Stefan Goetze et all, "Hands-Free Telecommunication for Elderly Persons Suffering from Hearing
Deficiencies", IEEE Healthcom, 2010, pp 209-2014.
S.Dhamija et al, "Adaptive filtering algorithms for channel equalization and echo cancellation",
IJCTA, Vol 2 (5), 2011, pp 1577-1581.
Raghava Yathiraju, "Acoustic Echo Cancellation Using Conventional Adaptive Algorithms",
International Journal of Inventive Engineering and Sciences (IJIES), Volume-1, Issue-12, November
2013, PP 18-24.
A. Munjal et all, "RLS Algorithm For Acoustic Echo Cancellation", Proceedings of 2nd National
Conference on Challenges & Opportunities in Information Technology (COIT), 2008.
P.Rajesh, A.Sumalatha, "A Novel Approach of Acoustic Echo Cancellation Using Adaptive
Filtering", International Journal of Engineering Research & Technology (IJERT), Vol. 1 Issue 5,
2012, pp 1-10.
Arvind Kourav and Binod K. Soni, "RLS Algorithm for Adaptive Echo Cancellation", International
Journal on Emerging Technologies, Vol. 2 Issue 1, 2011, pp 35-38.
A.Wahbi et all, "Real-Time acoustic echo cancellation for hand-free communication by implementing
a LMS algorithm onboard an autonomous DSK C6713 ", 3rd International Conference on Systems,
Modeling and Design, Kenitra (MIC-SMD 2013), 2013
H. Sayed, Fundamentals of Adaptive Filtering, Wiley, 2003.
R. Gnanasekaran et all, A note on block implementation of IIR digital filters, Proc. IEEE, vol. 65,
pp. 1063-1064, July 1977.
Yen-Liang Chen et all, A universal look-ahead algorithm for pipelining IIR filters, IEEE VLSIDAT08, pp. 259262, Apr. 23-25, 2008.
Woon-Seng Gan et Sen M. Kuo. 2007. Embedded Signal Processing with the Micro Signal
Architecture in Wiley.
The Mathworks Inc., Matlab and Simulink Users Guide, 2012
F. Albu, "Improved variable Forgetting factor recursive least square algorithm ", Control Automation
Robotics & Vision (ICARCV), 12th International Conference on , 2012, pp 1789-1793.
C. Stanciu et all, "Variable-forgetting factor RLS for stereophonic acoustic echo cancellation with
widely Linear model", 20 th European Signal processing Conference (EUSIPCO), 2012.
10