DESIGN AND IMPLEMENTATION OF ADAPTIVE ECHO CANCELLER BASED LMS & NLMS ALGORITHM

Similar documents
Design and Implementation of Adaptive Echo Canceller Based LMS & NLMS Algorithm

Fixed Point Lms Adaptive Filter Using Partial Product Generator

FPGA Implementation Of LMS Algorithm For Audio Applications

Innovative Approach Architecture Designed For Realizing Fixed Point Least Mean Square Adaptive Filter with Less Adaptation Delay

Speech Enhancement Based On Noise Reduction

Architecture design for Adaptive Noise Cancellation

COMPARATIVE STUDY OF VARIOUS FIXED AND VARIABLE ADAPTIVE FILTERS IN WIRELESS COMMUNICATION FOR ECHO CANCELLATION USING SIMULINK MODEL

International Journal of Scientific and Technical Advancements ISSN:

Modeling and Analysis of an Adaptive Filter for a DSP Based Programmable Hearing Aid Using Normalize Least Mean Square Algorithm

An Effective Implementation of Noise Cancellation for Audio Enhancement using Adaptive Filtering Algorithm

Acoustic Echo Cancellation using LMS Algorithm

Keywords: Adaptive filtering, LMS algorithm, Noise cancellation, VHDL Design, Signal to noise ratio (SNR), Convergence Speed.

Design and Evaluation of Modified Adaptive Block Normalized Algorithm for Acoustic Echo Cancellation in Hands-Free Communications

Performance Analysis of gradient decent adaptive filters for noise cancellation in Signal Processing

Optimal Adaptive Filtering Technique for Tamil Speech Enhancement

Design and Implementation on a Sub-band based Acoustic Echo Cancellation Approach

Implementation of Optimized Proportionate Adaptive Algorithm for Acoustic Echo Cancellation in Speech Signals

A Comparison of the Convolutive Model and Real Recording for Using in Acoustic Echo Cancellation

VLSI Implementation of Separating Fetal ECG Using Adaptive Line Enhancer

Acoustic echo cancellers for mobile devices

Application of Affine Projection Algorithm in Adaptive Noise Cancellation

THE problem of acoustic echo cancellation (AEC) was

Performance Analysis of Acoustic Echo Cancellation Techniques

Comparative Study of Different Algorithms for the Design of Adaptive Filter for Noise Cancellation

Analysis of LMS and NLMS Adaptive Beamforming Algorithms

Analysis on Extraction of Modulated Signal Using Adaptive Filtering Algorithms against Ambient Noises in Underwater Communication

A Novel Hybrid Technique for Acoustic Echo Cancellation and Noise reduction Using LMS Filter and ANFIS Based Nonlinear Filter

Performance Analysis of Feedforward Adaptive Noise Canceller Using Nfxlms Algorithm

Analysis of LMS Algorithm in Wavelet Domain

Abstract of PhD Thesis

Study of Different Adaptive Filter Algorithms for Noise Cancellation in Real-Time Environment

Index Terms. Adaptive filters, Reconfigurable filter, circuit optimization, fixed-point arithmetic, least mean square (LMS) algorithms. 1.

VLSI Circuit Design for Noise Cancellation in Ear Headphones

Variable Step-Size LMS Adaptive Filters for CDMA Multiuser Detection

Beam Forming Algorithm Implementation using FPGA

MATLAB SIMULATOR FOR ADAPTIVE FILTERS

Impulsive Noise Reduction Method Based on Clipping and Adaptive Filters in AWGN Channel

Noise Reduction Technique for ECG Signals Using Adaptive Filters

FPGA Implementation of Adaptive Noise Canceller

A Low-Power Broad-Bandwidth Noise Cancellation VLSI Circuit Design for In-Ear Headphones

A variable step-size LMS adaptive filtering algorithm for speech denoising in VoIP

NOISE ESTIMATION IN A SINGLE CHANNEL

Adaptive beamforming using pipelined transform domain filters

A Three-Microphone Adaptive Noise Canceller for Minimizing Reverberation and Signal Distortion

A REVIEW OF ACTIVE NOISE CONTROL ALGORITHMS TOWARDS A USER-IMPLEMENTABLE AFTERMARKET ANC SYSTEM. Marko Stamenovic

Noise Reduction using Adaptive Filter Design with Power Optimization for DSP Applications

Performance Comparison of ZF, LMS and RLS Algorithms for Linear Adaptive Equalizer

Global Journal of Advance Engineering Technologies and Sciences

Acoustic Echo Cancellation: Dual Architecture Implementation

A VSSLMS ALGORITHM BASED ON ERROR AUTOCORRELATION

Ioana Homănă, Eng. PhD THESIS ACOUSTIC ECHO CANCELLATION USING ADAPTIVE FILTERS

University Ibn Tofail, B.P. 133, Kenitra, Morocco. University Moulay Ismail, B.P Meknes, Morocco

Active Noise Cancellation Headsets

Narrow-Band Interference Rejection in DS/CDMA Systems Using Adaptive (QRD-LSL)-Based Nonlinear ACM Interpolators

Faculty of science, Ibn Tofail Kenitra University, Morocco Faculty of Science, Moulay Ismail University, Meknès, Morocco

Active Noise Cancellation System using low power for Ear Headphones

Research of an improved variable step size and forgetting echo cancellation algorithm 1

ROBUST echo cancellation requires a method for adjusting

Lecture 4 Biosignal Processing. Digital Signal Processing and Analysis in Biomedical Systems

Multirate Algorithm for Acoustic Echo Cancellation

Acoustic Echo Cancellation for Noisy Signals

ADAPTIVE NOISE CANCELLING IN HEADSETS

VLSI Implementation of Digital Down Converter (DDC)

Tirupur, Tamilnadu, India 1 2

IMPULSE NOISE CANCELLATION ON POWER LINES

A FEEDFORWARD ACTIVE NOISE CONTROL SYSTEM FOR DUCTS USING A PASSIVE SILENCER TO REDUCE ACOUSTIC FEEDBACK

Implementation of Adaptive Filters on TMS320C6713 using LabVIEW A Case Study

EE 6422 Adaptive Signal Processing

Design of Multiplier Less 32 Tap FIR Filter using VHDL

ACTIVE NOISE CONTROL FOR SMALL-DIAMETER EXHAUSTION SYSTEM

IMPLEMENTATION OF MULTIRATE SAMPLING ON FPGA WITH LOW COMPLEXITY FIR FILTERS

Speech Enhancement: Reduction of Additive Noise in the Digital Processing of Speech

Performance Analysis of LMS and NLMS Algorithms for a Smart Antenna System

Computer exercise 3: Normalized Least Mean Square

Performance Enhancement of Adaptive Acoustic Echo Canceller Using a New Time Varying Step Size LMS Algorithm (NVSSLMS)

Speech Enhancement Using Beamforming Dr. G. Ramesh Babu 1, D. Lavanya 2, B. Yamuna 2, H. Divya 2, B. Shiva Kumar 2, B.

Area Optimized Adaptive Noise Cancellation System Using FPGA for Ultrasonic NDE Applications

Noise Cancellation using Least Mean Square Algorithm

Acoustic Echo Reduction Using Adaptive Filter: A Literature Review

Adaptive Systems Homework Assignment 3

Active Noise Cancellation in Audio Signal Processing

Optimized FIR filter design using Truncated Multiplier Technique

Noise Cancellation in DSSS by Using Adaptive LMS Filter in Fractional Domine Methods

Proposed Active Noise control System by using FPGA

IMPLEMENTATION OF DIGITAL FILTER ON FPGA FOR ECG SIGNAL PROCESSING

Performance Optimization in Wireless Channel Using Adaptive Fractional Space CMA

Composite Adaptive Digital Predistortion with Improved Variable Step Size LMS Algorithm

LMS and RLS based Adaptive Filter Design for Different Signals

Multi Modulus Blind Equalizations for Quadrature Amplitude Modulation

A New Method For Active Noise Control Systems With Online Acoustic Feedback Path Modeling

Audio Restoration Based on DSP Tools

Low-Complexity High-Order Vector-Based Mismatch Shaping in Multibit ΔΣ ADCs Nan Sun, Member, IEEE, and Peiyan Cao, Student Member, IEEE

works must be obtained from the IEE

Low Power Approach for Fir Filter Using Modified Booth Multiprecision Multiplier

A NOVEL APPROACH FOR AREA -POWER- ENERGY REDUCTION IN LMS ADAPTIVE FILTER

Hardware Implementation of Adaptive Algorithms for Noise Cancellation

Penetration-free acoustic data transmission based active noise control

Broadband Microphone Arrays for Speech Acquisition

NOWADAYS, many Digital Signal Processing (DSP) applications,

Design of Digital FIR Filter using Modified MAC Unit

Transcription:

DESIGN AND IMPLEMENTATION OF ADAPTIVE ECHO CANCELLER BASED LMS & NLMS ALGORITHM Sandip A. Zade 1, Prof. Sameena Zafar 2 1 Mtech student,department of EC Engg., Patel college of Science and Technology Bhopal(India) 2 Acadamic Dean. Patel College of Science and Technology Bhopal(India) ABSTRACT This paper proposes the adaptive echo cancellation using normalized least mean square (NLMS) algorithm. The NLMS algorithm is the normalized version of least mean square (LMS) algorithm. Todays technical scenario communication system, possesses additive noise, signal interference and echo etc. Due to this reason the error is generated at the time of transmission of data. Hence adaptive filter is a appropriate option to reduce the noise or channel effects. In this paper high speed of adder, substractor and Adaptive filter coefficients to design LMS and NLMS algorithm is realized. This paper focuses on the use of LMS and NLMS algorithms to reduce this unwanted echo, thus increasing communication quality. This work better highlights differences between algorithm performance than previously published work and sheds new light on algorithm behavior in terms of SNR. This work were created in the popular VHDL language. The NLMS algorithm establishes a better balance between simplicity and performance than least mean square algorithm. Keywords: Adaptive Filter, NLMS Algorithm, LMS Algorithm, Vhdl Language I. INTRODUCTION An echo is a reflection of sound, arriving at the listener some time after the direct sound. Echo is the reflected copy of the voice heard some time later and delayed version of the original. The term echo cancellation is used in telephony to describe the process of removing echo from a voice communication in order to improve voice quality on a telephone call. Echo cancellation is the process which removes unwanted echoes from the signal on a telephone line. It includes first recognizing the originally transmitted signal that re-appears, with some delay, in the transmitted or received signal. Once the echo is recognized, it can be removed by 'subtracting' it from the transmitted or received signal. Multiple reflections in acoustic enclosures and transmission delay affect the sound quality, which in the case of a teleconferencing system lead to a poor understanding of the conversation. In addition to improving subjective quality, this process increases the capacity achieved through silence suppression by preventing echo from traveling across a network. Hands-free phone is a basic and intrinsic application with small information terminals such as cell phones, smart phones, and tablet PCs. For hands-free communication, echo cancellation is common but still a difficult function. An echo canceller has an adaptive filter to emulate the echo path between the input of amplifier to drive a loudspeaker and the microphone. Even 304 P a g e

with echo cancellers, suppression of echo is very difficult because the loudspeaker is small and close to the microphone, and the sound from the loudspeaker is very loud. Echo cancellation try to eliminate the echo from the transmitted audio signal with a special optimization algorithm. The algorithm produces copies of the received signal and checks for parts of the signal that reappear with some delay. This reappearing parts are then subtracted from the signal, the echo is removed. In this paper, the LMS and NLMS adaptive algorithms are described. The following sub-sections will present a brief description of adaptive filters focused on the cancellation of noise and echo. The second section if focused on briefly review of the adaptive filtering algorithm. The third section presents acoustic echo cancellation. The fourth section presents literature survey. The fifth section shows the methodology used. The last section presents the simulation and experimental results obtained from the adaptive cancellation of noise & it summarizes the main findings of the paper. II. VARIOUS ADAPTIVE FILTERING ALGORITHMS A filter which adapts itself to the input signal given to it. Adaptive Filtering dealing with adaptive filters and system design. The main function of adaptive filtering is the development of a filter capable of adjusting to the statistics of the signal. Usually, an adaptive filter takes the form of a FIR filter, with an adaptive algorithm that modifies the values of its coefficients. They are used in a wide range of applications including system identification, noise cancellation, signal prediction, echo cancellation and adaptive channel equalization, process control. The main configurations of adaptive filters are the adaptive cancellation of noise and echo. For this justification, the filter uses an adaptive algorithm to change the value of the filter coefficients, so that it acquires a better approximation of the signal after each iteration. The LMS, and its variant the NLMS are two of the adaptive algorithms widely in use. Also the normalized version of the LMS algorithm, called Normalized Least Mean Square (NLMS) algorithm is widely used. NLMS algorithm has been used more often in real time applications. The LMS algorithm have slow convergence and poor tracking as compare to the the NLMS algorithm. Both algorithms require a small number of multiplications and additions for the update of the coefficients. 2.1 LMS Algorithm [9] The LMS algorithm adapts the filter tap weights so that e(n) is minimized in the mean-square sense. LMS algorithm is sensitive to variation in step size parameter. LMS algorithm requires number of itrations equal to dimensionality of the input. When the processes x(n) & d(n) are jointly stationary, this algorithm converges to a set of tap-weights which, on average, are equal to the Wiener-Hoff solution. It acts as a negative feedback to minimize error signal. 1. The output of the FIR filter, y(n) is 2. The value of the error estimation is e(n) = d(n) - y(n) 3. The tap weights of the FIR vector are updated in preparation for the next iteration 305 P a g e

The main reason for the LMS algorithms popularity in adaptive filtering is its computational simplicity, making it easier to implement than all other commonly used adaptive algorithms. The only disadvantage is its weak convergence. For each iteration the LMS algorithm requires 2N additions and 2N+1 multiplication. Where n= 0,1,2,...n. 1.2 NLMS Algorithm [9] As the NLMS is an extension of the standard LMS algorithm, the NLMS algorithms practical implementation is very similar to that of the LMS algorithm. One of the drawback of LMS algorithm is selection of step size parameter. In order to solve this difficulty we can use the NLMS algorithm. Here the step size parameter is normalized.so the NLMS algorithm is time varying step size algorithm. The NLMS algorithm is used in system in order to improve voice quality. Each iteration of the NLMS algorithm requires these steps in the following order 1. The output of the adaptive filter is calculated 2. An error signal is calculated as the difference between the desired signal and the filter output e(n) = d(n) y(n) 3. The step size value for the input vector is calculated 4. The filter tap weights are updated in preparation for the next iteration w(n+1) = w(n) + µ(n)e(n)x(n) Each iteration of the NLMS algorithm requires 3N+1 multiplications, this is only N more than the standard LMS algorithm. This is an acceptable increase considering the gains in stability and echo attenuation achieve[10]. Where n= 0,1,2,...n. Adaptive filters are systems with four terminals as shown in Fig.1, where x is the input signal, d is the desired signal, y is output signal of filter and e is the error signal [4]. Adaptive filters design technique may be digital, analog or mixed. Every technique presents advantages and disadvantages, for example, analog adaptive filters are very fast, but offset avoids getting the least error [4]. Digital filters are slow but precise, because is necessary the use of a lot of components, due to floating point operations. Mixed design (analog and digital), offers a good compromise between precision and speed, but VLSI design is more complicated because is necessary to separate analog and digital components inside the chip.the LMS algorithm is one of the most used algorithms because it is easy and stable. The only disadvantage is its weak convergence [3]. The length of the FIR filter is 64 and the size of the step is 0.001. Two inputs are required: A reference noise that should be related with the noise that exists in distorted the input signal. This means that the noise comes from the same source. An error signal already calculated. 306 P a g e

Figure 1 Adaptive Filter III. ACOUSTIC ECHO CANCELLATION (AEC) The AECs is a system identification application as shown in Fig.2, which uses adaptive filters to obtain a copy of the acoustic transfer function (the response of an enclosure to an acoustic impulse). Acoustic echo occur when an audio signal is reverberated in a real environment, resulting in the original intended signal plus attenuated and delay time. The signal applied to the loudspeaker(s) x(n) propagates through multiple acoustic paths and it is picked up by the microphone(s). This signal is used as the desired signal d(n) in the system identification process. The output of the adaptive filter y(n) is determined by convolving the samples x(n) with the adaptive filter coefficients w(n).the filter is altered iteratively to minimize the error signale(n). The coefficient update can be carried out with various adaptive algorithms. Figure 2 Acoustic Echo Cancellation Public addressing systems are affected by acoustic feedback that may lead to the saturation of the system. In order to improve the sound quality and prevent audio feedback the acoustic echo cancellers (AECs) are deployed to remove the undesired echoes resulting from the acoustic coupling between the loudspeaker(s) and the microphone(s). IV. LITERATURE SURVEY The paper [2] presents a solution to noise or echo cancellation and a hardware real-time implementation of the LMS algorithm. The overall performance of the designed adaptive filter compared with other implemented systems using the same filter is good, and with further improvements the results will improve. The LMS 307 P a g e

algorithm provides good numerical stability and its hardware requirements are low. On the other hand, the NLMS algorithm is one of the most implemented adaptive algorithms in actual industrial applications. This paper [3] proposes an FPGA implementation of an Adaptive Noise Canceller using the LMS algorithm. In this paper, in order to show the performance of FPGA in digital signal processing applications, implement an Adaptive Noise Canceller on an FPGA and use the LMS algorithm as the adaptive filtering algorithm of the Adaptive Noise Canceller. The performance of the LMS algorithm implemented by hardware is comprehensively analyzed in terms of convergence performance, truncation effect and tracking ability. In paper [4] an echo canceller is presented, using an adaptive filter with a modified LMS algorithm, where this modification is achieved coding error on conventional LMS algorithm. V. METHODOLOGY USED The architecture of adaptive filter is already implemented with LMS Algorithm for Adaptive echo cancellation. Also the comparison between LMS & NLMS algorithm is being done. The NLMS algorithm outperforms the LMS algorithm, in terms of Mean Square Error. It has a better convergence than LMS algorithm. The NLMS adaptive filtering algorithm is expressed by its simplicity in implementation and its stability. These advantages recommend the NLMS algorithm as a good choice for real time implementation. Hence the NLMS algorithm can be implemented for Adaptive echo cancellation in VHDL. Also the comparison of LMS and NLMS algorithm for echo cancellation along with signal to noise ratio has been done. Fig.3 shows the architecture used. The system architecture consist of main four modules such as 16 bit adder, 16 bit substractor, multiplier and delay. Figure 3 System Architecture Where, x(n),x(n-1),,x(n-m+1) is the tap inputs x(n) is the reference signal M-1 is the number of delay elements. d(n) denotes the primary input signal e(n) denotes the error signal and wi(n) denotes the tap weight at the nth iteration.. 308 P a g e

VI. RESULT AND CONCLUSIONS 6.1 VHDL Result for Signal 1 Figure 4 Training Signal 1 of LMS algorithm Figure 5 Testing signal 1 of LMS algorithm Figure 6 Training signal 1 of NLMS algorithm Figure 7 Testing signal 1 of NLMS algorithm 309 P a g e

6.2 MATLAB Results for LMS & NLMS Algorithm Figure 8 Signal 1 of LMS Algorithm Figure 9 Signal 1 of NLMS Algorithm The PSNR of the LMS algorithm is 4.08 db and the PSNR of the NLMS algorithm is 29.72 db. Whereas the mean square error of the LMS algorithm is 0.39 and the mean square error of the NLMS algorithm is 0.00106. Figure 10 Signal 2 of LMS algorithm 310 P a g e

Figure 11 Signal 2 of NLMS Algorithm The PSNR of the LMS algorithm is 2.88 db and the PSNR of the NLMS algorithm is 22.17 db. Whereas the mean square error of the LMS algorithm is 0.514 and the mean square error of the NLMS algorithm is 0.006. The adaptive echo canceller based LMS and NLMS algorithm is successfully designed wherein comparison of LMS and NLMS algorithm has been done in terms of PSNR. The PSNR of the NLMS algorithm is 25.945 db and the PSNR of the LMS algorithm is 3.48dB. So the PSNR is maximum it realize better sound quality. REFERENCES [1] I. Homana, et al, FPGA Implementation of LMS and NLMS Adaptive Filter for Acoustic Echo Cancellation, in Journal of Electronics & Telecommunication, vol 52, no. 4, 2011. [2] C. G. Saracin, et al, Echo Cancellation using LMS Algorithm, in UPB Science Bulletin Series C,vol 71, no 4, 2009. [3] TianLan, et al, FPGA Implementation of Adaptive Noise Canceller, in IEEE International Symposium on Information Processing, 2008. [4] J. V. Lopez, et al, Adaptive Echo Canceller using Modified LMS Algorithm, in IEEE International Conference on Electrical & Electronics Engineering, 2005. [5] R. Dony, et. al., An FPGA Implementation of the LMS Adaptive Filter for Audio Processing, Proc. of the 12 th Annual IEEE Symposium on Field-Programmable Custom Computing Machines (FCCM04), pp. 324-335, 2006. [6] Elhossini, S. Areibi and R. Dony, An FPGA Implementation of the LMS Adaptive Filter for Audio Processing, in Proc. IEEE International Conference on Reconfigurable Computing and FPGAs, Sept. 2006, pp [7] L. K. Ting, R. F. Woods and C. F. N. Cowan, Virtex FPGA Implementation of a Pipelined Adaptive LMS Predictor for Electronic Support Measures Receivers, IEEE Trans. VLSI Syst., vol. 13, Jan. 2005, pp. 86-95. [8] P. Waldeck and N. Bergmann, Evaluating software and hardware implementations of signal-processing tasks in an FPGA, in Proc. IEEE International Conference on Field-Programmable Technology, Brisbane, Australia, Dec. 2004, pp. 299-302. 311 P a g e

[9] Alok Pandey, L.D. Malviya, Vineet Sharma Comparative Study of LMS and NLMS Algorithms in Adaptive Equalizer, International Journal of Engineering Research and Applications (IJERA), Vol. 2, Issue 3, May-Jun 2012, pp.1584-1587. [10] Radhika Chinaboina, 1D.S.Ramkiran, 2Habibulla Khan, 1M.Usha, 1B.T.P.Madhav, 1K.Phani Srinivas & 1G.V.Ganesh, Adaptive Algorithms For Acoustic Echo Cancellation In Speech Processing, www.arpapress.com/volumes/vol7issue1/ijrras, April 2011 [11] S. Haykin, Adaptive Filter Theory, Fourth Edition, Prentice Hall, Upper Saddle River, N.J., 2002. 312 P a g e