Architecture design for Adaptive Noise Cancellation

Similar documents
Fixed Point Lms Adaptive Filter Using Partial Product Generator

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

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

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

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

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

Speech Enhancement Based On Noise Reduction

Optimal Adaptive Filtering Technique for Tamil Speech Enhancement

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

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

Application of Affine Projection Algorithm in Adaptive Noise Cancellation

FPGA Implementation of Adaptive Noise Canceller

IMPULSE NOISE CANCELLATION ON POWER LINES

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

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

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

MITIGATING INTERFERENCE TO GPS OPERATION USING VARIABLE FORGETTING FACTOR BASED RECURSIVE LEAST SQUARES ESTIMATION

Performance Analysis of Feedforward Adaptive Noise Canceller Using Nfxlms Algorithm

Analysis of LMS Algorithm in Wavelet Domain

IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 50, NO. 12, DECEMBER

Acoustic Echo Cancellation using LMS Algorithm

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

Audio Restoration Based on DSP Tools

Acoustic echo cancellers for mobile devices

Noise Cancellation using Least Mean Square Algorithm

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

Adaptive Noise Reduction Algorithm for Speech Enhancement

Active Noise Cancellation Headsets

Performance Evaluation of different α value for OFDM System

FPGA Implementation Of LMS Algorithm For Audio Applications

Shweta Kumari, 2 Priyanka Jaiswal, 3 Dr. Manish Jain 1,2

EE 6422 Adaptive Signal Processing

Noise Reduction Technique for ECG Signals Using Adaptive Filters

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

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

LMS and RLS based Adaptive Filter Design for Different Signals

Analysis of LMS and NLMS Adaptive Beamforming Algorithms

Active Noise Cancellation in Audio Signal Processing

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

MATLAB SIMULATOR FOR ADAPTIVE FILTERS

Acoustic Echo Cancellation: Dual Architecture Implementation

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

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

GSM Interference Cancellation For Forensic Audio

Fig(1). Basic diagram of smart antenna

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

NON-BLIND ADAPTIVE BEAM FORMING ALGORITHMS FOR SMART ANTENNAS

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

NLMS Adaptive Digital Filter with a Variable Step Size for ICS (Interference Cancellation System) RF Repeater

Variable Step-Size LMS Adaptive Filters for CDMA Multiuser Detection

MINUET: MUSICAL INTERFERENCE UNMIXING ESTIMATION TECHNIQUE

Noise Cancellation using Adaptive Filter Base On Neural Networks

IMPLEMENTATION CONSIDERATIONS FOR FPGA-BASED ADAPTIVE TRANSVERSAL FILTER DESIGNS

Abstract of PhD Thesis

JDT LOW POWER FIR FILTER ARCHITECTURE USING ACCUMULATOR BASED RADIX-2 MULTIPLIER

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

Quantized Coefficient F.I.R. Filter for the Design of Filter Bank

SGN Advanced Signal Processing

Title. Author(s)Sugiyama, Akihiko; Kato, Masanori; Serizawa, Masahir. Issue Date Doc URL. Type. Note. File Information

VLSI Implementation of Separating Fetal ECG Using Adaptive Line Enhancer

NOISE ESTIMATION IN A SINGLE CHANNEL

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

Channelization and Frequency Tuning using FPGA for UMTS Baseband Application

Hardware Implementation of Adaptive Algorithms for Noise Cancellation

Noureddine Mansour Department of Chemical Engineering, College of Engineering, University of Bahrain, POBox 32038, Bahrain

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

Continuously Variable Bandwidth Sharp FIR Filters with Low Complexity

Performance Optimization in Wireless Channel Using Adaptive Fractional Space CMA

Design and Performance Analysis of a Reconfigurable Fir Filter

NOWADAYS, many Digital Signal Processing (DSP) applications,

CANCELLATION OF ARTIFACTS FROM CARDIAC SIGNALS USING ADAPTIVE FILTER LMS,NLMS AND CSLMS ALGORITHM

A New Least Mean Squares Adaptive Algorithm over Distributed Networks Based on Incremental Strategy

EXTRACTING a desired speech signal from noisy speech

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

Adaptive Noise Cancellation using Multirate Technique

Vibration Control of Flexible Spacecraft Using Adaptive Controller.

Speech Enhancement Using Combinational Adaptive Filtering Techniques

FPGA Implementation of Desensitized Half Band Filters

Performance Analysis of Acoustic Echo Cancellation Techniques

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

Multi Modulus Blind Equalizations for Quadrature Amplitude Modulation

THE problem of acoustic echo cancellation (AEC) was

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

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

Tirupur, Tamilnadu, India 1 2

Finite Word Length Effects on Two Integer Discrete Wavelet Transform Algorithms. Armein Z. R. Langi

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

ADAPTIVE NOISE SUPPRESSION IN VOICE COMMUNICATION USING ASSNFIS SYSTEM

COMPARISON OF CHANNEL ESTIMATION AND EQUALIZATION TECHNIQUES FOR OFDM SYSTEMS

Review on Design & Realization of Adaptive Noise Canceller on Digital Signal Processor

ABSOLUTE AVERAGE ERROR BASED ADJUSTED STEP SIZE LMS ALGORITHM FOR ADAPTIVE NOISE CANCELLER

SIMULATIONS OF ADAPTIVE ALGORITHMS FOR SPATIAL BEAMFORMING

On The Achievable Amplification of the Low Order NLMS Based Adaptive Feedback Canceller for Public Address System

FOURIER analysis is a well-known method for nonparametric

Adaptive Multitone Noise Cancellation from Speech Signals

REALIZATION OF FPGA BASED Q-FORMAT ARITHMETIC LOGIC UNIT FOR POWER ELECTRONIC CONVERTER APPLICATIONS

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

Speech Enhancement using Wiener filtering

Beam Forming Algorithm Implementation using FPGA

Transcription:

Architecture design for Adaptive Noise Cancellation M.RADHIKA, O.UMA MAHESHWARI, Dr.J.RAJA PAUL PERINBAM Department of Electronics and Communication Engineering Anna University College of Engineering, Guindy, Chennai 600 025 INDIA Abstract:- Adaptive noise cancellation is a technique of estimating the signals corrupted by additive noise. In this paper the Convergence of filter tap coefficients, Mean Squared Error and SNR of different signals are compared for NLMS and AFA algorithms using MATLAB. Architecture design for AFA algorithm is described and VHDL simulation is carried out. The inputs from the MATLAB are converted into 18 bit floating point representation. Floating point multiplier and adder are the components used in VHDL simulation and the results are verified by plotting the output using MATLAB. Keywords: - AFA, NLMS, ANC, RLS, VHDL. 1 Introduction Separating a desired signal from background noise is an important and common problem in signal processing. The change in signal characteristics is generally fast. This requires the utilization of adaptive algorithms, which converge rapidly. It is well known that two of most frequently applied algorithms for noise cancellation are Normalized Least Mean Squares (NLMS) and Recursive Least Squares (RLS) algorithms. Considering the two algorithms, it is obvious that NLMS algorithm has the advantage of low computational complexity. On the contrary, the high computational complexity is the weakest point of RLS algorithm but it provides a fast adaptation rate. Thus, it is clear that there is always a tradeoff between computational complexity and fast convergence. RLS has high computational complexity and stability problems so Adaptive Filtering with Averaging (AFA) algorithm is used for noise cancellation which has high convergence rate comparable to that of the RLS algorithm and at the same time low computational complexity. Simulation carried out with different noise and signal reveal its robustness maintaining fast convergence and at the same time keeping the computational complexity at a low level. Section 2 deals with the Adaptive Noise Cancellation (ANC) and the adaptive algorithms. Section 3 deals with the MATLAB simulation section 4 deals VHDL simulation, Architecture design for AFA algorithm, floating point multiplier and adder. Section 5 deals with conclusion. 1 2 Adaptive Noise Cancellation Adaptive Noise Cancellation removes the background noise from useful signals. Usually the background noise does not keep steady and it will change from time to time, hence adaptive filter is chosen which will adjust itself according to the changing environment. Noise cancellation can be applied to remove the noise in the speech signals especially in the jet or to cancel out the interference present in the signals, etc. The basic idea of the Adaptive Noise Cancellation is to pass the corrupted signal through a filter that tends to suppress the noise while leaving the signal unchanged it does not require prior knowledge of the signal s(n) + n2(n) Reference input n 1(n) Transversal filter Adaptive algorithm Fig. 1 Adaptive filter e(n) = s(n)+n2(n) n3(n) -n3(n) e(n) Fig. 1 shows the classical scheme for adaptive noise cancellation using digital filter with finite impulse response (FIR). The primary input consists of signal s(n) and noise n2(n) while the reference input consists of noise n1(n) alone. The two noises n1(n) S

and n2(n) are correlated to each other. The system tries to reduce the impact of the noise in the primary input by exploring the correlation between the two noise signals. This is equivalent to the minimization of the mean-square error E[e 2 (n)] where e(n) = s(n) + n2(n) n3(n) Having in mind that by assumption, s(n) is correlated neither with n2(n) nor with n1(n) we have E[e 2 (n)] = E[s2 (n)] + E[n2(n) n3(n)]. In other words the minimization of E[e 2 (n)] is equivalent to the minimization of the difference between n2(n) and n3(n). Obviously E[e 2 (n)] will be minimal when n3(n)» n2(n) i.e. when the impulse response of the adaptive filter closely mimics the impulse response of the noise path. The minimization of E[e 2 (n)] can be achieved by updating the filter taps wi(n). The weight adjustment is directly proportional to the tap input vector therefore, when the input is large, the LMS filter suffers from a gradient noise amplification problem. To overcome this difficulty we use the normalized LMS filter. The adjustment applied to the tap weight vector at iteration n+1 is normalized with respect to the squared Euclidean norm of the tap input vector at iteration n hence the term normalized. Wherever fast convergence is vital, NLMS algorithm is not applicable, the more complex RLS algorithm maintains a good rate of adaptation but the prize to be paid is an order of magnitude increase in complexity, so in this section a proposed adaptive algorithm applied for noise cancellation based on AFA is discussed. Reference input : s(n)+ n2(n) : n1(n) N-1 Noise estimation :n3(n) = S w i (n)*n1(n i) i = 0 Error estimation : e(n)= s(n) + n2(n) n3(n) Coefficient update: NLMS: able :1 Summary w i (n+1)= of Algorithms w i(n)+ µ e(n)*n1(n-i) 3.1 NLMS Algorithm: AFA: Figure :2 NLMS n order 8, m=0.02 W(n) is a speech =1 S signal. W(k) Figure 2 s n n1e i (n) = S k = 1 n k = 1 N-1 S i = 0 n1(k i) *e(k) n1 2 (n i) n Wi(n+1) = Wi(n) + 1 S n1e i (n) n k = 1 N-filter order, n-number of samples. To recursively adjust the filter coefficients, so that the error is minimized, the algorithm for approximating the vector of filter coefficient is obtained by taking the averages of filter tap coefficients W. In order to increase the stability, the weights are updated not only through the approximation sequence but also through the observed signals N1 and e(n) 3 MATLAB Simulation In this section we compare the performance of the NLMS and AFA algorithms. The algorithms are implemented according to the steps. Convergence of weights, SNR and mean square error are compared. We use sine chirps and a voice recording for our input signals. The results shows that the noise present in the signal is eliminated and error reduces gradually as the signal converges. Fig. 2 NLMS order 8 - m =0.02 Figure 2 shows that, the noise present in the word return is eliminated using NLMS algorithm of order 8. The convergence of weight vectors shows that the convergence rate of NLMS algorithm is slow and the mean square error is high initially and it reduces to zero. Algorithm for NLMS and AFA algorithm is given in the following section. 2

Fig. 3 Mean Squared Error. We will use chirp signals of shorter duration than our voice signal to ease in the processing requirements Fig.5 AFA algorithm order 8 Fig.6 Mean Squared Error. Order8 Comparison of Signal to Noise Ratio is carried out and the MATLAB results are tabulated Fig. 3 NLMS order 8 m =0.02 Fig. 4 Mean Squared Error As the number of iterations reduces, the algorithm takes more time to converge and hence MSE is more before converging. 3.2 AFA Algorithm: Figure 5 shows the simulation of AFA algorithm for order8. The results shows that the convergence of the filter tap coefficients is fast and the mean squared error reduces to a least value with in less number of iterations 3 Algorithm Initial SNR Final SNR NLMS order2-4.15 4.7 NLMS order8-3.39 7.07 AFA order 2-4.5 7.1 AFA order8-6.22 11.89 Table : 1 Signal to Noise Ratio There is a better improvement in signal to noise ratio as the number of taps increases. 4 VHDL Simulation To carryout the simulation in VHDL the equations or the operations of AFA algorithm are taken as a state and the execution of some state will be enabled after the execution of the prior states. 4.1 Architecture for AFA Algorithm. Figure 7 shows the architecture design for AFA algorithm. The operations performed are multiplication, addition and division. To have a good dynamic range, floating point arithmetic s are used.

Figure 7: Architecture for Adaptive Filtering with Averaging Algorithm Among the available 16,18,32[2] bit floating point representations 18 bit representation is used 18 bit IEEE 754 format shown in Figure the 18 bit floating point value(v) is computed by v = -1 s 2 (e-63) (1.f) the sign field, s, is bit 17 and is used to specify the sign of the number. Bits 16 down to 10 are the exponent field. This 7 bit quantity is a signed number represented by using a bias of 63. Bits 9 down to 0 are used to store the binary representation of the floating point number. The range of real numbers that this format can represent is + 3.6875 x 10 19 to + 1.626 x 10-19 4.2 Floating Point Addition: Floating point addition is performed in the following steps 1. If the absolute value of v1 is less than the absolute value of v2 then swap v1 and v2.the absolute value is checked by comparing the exponent and mantissa of each value. 2 Subtract e2 from e1 in order to calculate the number of positions to shift f2 to the right so that the decimal points are aligned before addition or subtraction in the next part. 3. Shift 1.f2 to the right (e2 - e1 ) places calculated in the previous stage. Add 1.f1 to 1.f2 if s1 equals s2, else subtract 1.f2 from 1.f1. Set the sign and the exponent of the final result, v3, to the sign and the exponent of the greater value v1. 4. Normalization of f3 is done by shifting it to the left until the high order bit is a one. Adjusting exponent of the result, e3, is done by subtracting it by the number of positions that f3 was shifted left. 4 4.3 Floating Point Multiplication: For floating point multiplication, 1. The exponents, e1 and e2 are added and the result along with the carry bit is stored in an 8-bit register. If the addition of two negative exponents results in a value smaller than the minimum exponent that can be represented, i.e. -63, underflow occurs. In this case the floating point number is set to zero. If overflow occurs, the result is set to the maximum number the format can represent. 2. If the floating point number is not zero, the implied one is concatenated to the left side of the f1 and f2 terms. The sign bits are only registered in this stage.

3. Integer multiplication of the two 11-bit quantities, 1.f2 and 1.f1, is performed. The top 12 bits of the 22-bit result is stored in a register. The exponent is adjusted depending on the high order bit of the multiplication result. The sign bits of the two operands are compared. If they are equal to each other the result is assigned a positive sign, and if they differ the result is negative. 4. Normalization of the resulting mantissa is performed. The resulting sign, exponent and mantissa fields placed into an 18-bit floating point word. For division, reciprocal is got from the file and it is being multiplied. So the floating point multiplier is used to perform division. VHDL simulation for AFA algorithm of order 2 for 500 samples is carried out. The primary and reference input from the MATLAB is converted to 18 bit floating point representation using MATALB code and stored in separate files and is given as input for VHDL, the output file which has floating point representations is converted to real values using MATLAB and the output is verified by plotting. 5 Conclusion In this paper the convergence of filter tap coefficients, mean squared error and signal to noise ratio of NLMS and AFA algorithms are compared. From the experimental results it is very promising that AFA algorithm has high adaptation rate and low computational complexity compared to NLMS algorithm. Architecture for adaptive noise cancellation using AFA algorithm is designed and the VHDL simulation is carried out using 18 bit floating point multiplier and adder. The VHDL results are verified by plotting the output using MATLAB. References: [1] Georgi Iliev and Nikola Kasabov, Adaptive Filtering with Averaging in Noise Cancellation for Voice and Speech Recognition, IEEE Trans. Acoust., Speech, Signal Processing. Jan. 2002. [2] Nabeel Shirazi, Al Walters, and Peter Athanas, Quantitative Analysis of Floating Point Arithmetic on FPGA Based Custom Computing Machines, Presented at the IEEE Symposium on FPGAs for Custom Computing Machines, Napa Valley, California, April 1995. [3] W. Harrison, J. Lim, E. Singer, A new application of adaptive noise cancellation, IEEE Trans. Acoust., Speech, Signal Processing, vol. 34, pp. 21-27, Jan. 1986. Figure 8: MATLAB plot for VHDL output [4] S. Ikeda, A. Sugiyama, An adaptive noise canceller with low signal distortion for speech codecs, IEEE Trans. Signal Processing, vol. 47, pp. 665-674, Mar. 1999. [5] S. Haykin, Adaptive Filter Theory. Englewood Cliffs, NJ: Prentice-Hall, 1996. Figure : 9 Modelsim timing diagram 5