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

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

Acoustic Echo Cancellation using LMS Algorithm

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

MATLAB SIMULATOR FOR ADAPTIVE FILTERS

Speech Enhancement Based On Noise Reduction

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

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

Analysis of LMS and NLMS Adaptive Beamforming Algorithms

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

Optimal Adaptive Filtering Technique for Tamil Speech Enhancement

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

Application of Affine Projection Algorithm in Adaptive Noise Cancellation

Active Noise Cancellation Headsets

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

Fixed Point Lms Adaptive Filter Using Partial Product Generator

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

Abstract of PhD Thesis

Architecture design for Adaptive Noise Cancellation

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

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

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

Multirate Algorithm for Acoustic Echo Cancellation

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

Noise Reduction Technique for ECG Signals Using Adaptive Filters

EE 6422 Adaptive Signal Processing

Variable Step-Size LMS Adaptive Filters for CDMA Multiuser Detection

Acoustic echo cancellers for mobile devices

International Journal of Scientific and Technical Advancements ISSN:

Active Noise Cancellation in Audio Signal Processing

Performance Analysis of Feedforward Adaptive Noise Canceller Using Nfxlms Algorithm

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

LMS and RLS based Adaptive Filter Design for Different Signals

Performance Evaluation of Adaptive Line Enhancer Implementated with LMS, NLMS and BLMS Algorithm for Frequency Range 3-300Hz

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

FPGA Implementation Of LMS Algorithm For Audio Applications

Performance Evaluation of Adaptive Filters for Noise Cancellation

Acoustic Echo Cancellation: Dual Architecture Implementation

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

ADAPTIVE ACTIVE NOISE CONTROL SYSTEM FOR SECONDARY PATH FLUCTUATION PROBLEM

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

Adaptive Beamforming Approach with Robust Interference Suppression

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

Hardware Implementation of Adaptive Algorithms for Noise Cancellation

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

ECG Signal Denoising Using Digital Filter and Adaptive Filter

Global Journal of Advance Engineering Technologies and Sciences

ADAPTIVE NOISE CANCELLING IN HEADSETS

Modified Least Mean Square Adaptive Noise Reduction algorithm for Tamil Speech Signal under Noisy Environments

Acoustic Echo Reduction Using Adaptive Filter: A Literature Review

Development of Real-Time Adaptive Noise Canceller and Echo Canceller

Active Noise Cancellation System Using DSP Prosessor

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

Audio Restoration Based on DSP Tools

Analysis and Implementation of Time-Varying Least Mean Square Algorithm and Modified Time- Varying LMS for Speech Enhancement

Adaptive Array Beamforming using LMS Algorithm

VLSI Circuit Design for Noise Cancellation in Ear Headphones

SIMULATIONS OF ADAPTIVE ALGORITHMS FOR SPATIAL BEAMFORMING

Acoustic Echo Cancellation for Noisy Signals

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

Why is scramble needed for DFE. Gordon Wu

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

Performance Analysis of Acoustic Echo Cancellation Techniques

Comparison of LMS and NLMS algorithm with the using of 4 Linear Microphone Array for Speech Enhancement

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

Performance Optimization in Wireless Channel Using Adaptive Fractional Space CMA

Proposed Active Noise control System by using FPGA

Adaptive Kalman Filter based Channel Equalizer

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

VLSI Implementation of Separating Fetal ECG Using Adaptive Line Enhancer

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

A VSSLMS ALGORITHM BASED ON ERROR AUTOCORRELATION

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

Adaptive Noise Cancellation using Multirate Technique

International Journal of Engineering Research and General Science Volume 2, Issue 6, October-November, 2014 ISSN

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

Implementation of Active Noise Cancellation in a Duct

IMPULSE NOISE CANCELLATION ON POWER LINES

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Noise Cancellation using Least Mean Square Algorithm

Implementation of decentralized active control of power transformer noise

Computer exercise 3: Normalized Least Mean Square

Analysis of LMS Algorithm in Wavelet Domain

EFFECTS OF PHYSICAL CONFIGURATIONS ON ANC HEADPHONE PERFORMANCE

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

A Novel Adaptive Algorithm for

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

Adaptive Systems Homework Assignment 3

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

AN INSIGHT INTO ADAPTIVE NOISE CANCELLATION AND COMPARISON OF ALGORITHMS

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

SUPERVISED SIGNAL PROCESSING FOR SEPARATION AND INDEPENDENT GAIN CONTROL OF DIFFERENT PERCUSSION INSTRUMENTS USING A LIMITED NUMBER OF MICROPHONES

Advanced Functions of Java-DSP for use in Electrical and Computer Engineering Senior Level Courses

Performance Analysis of Equalizer Techniques for Modulated Signals

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Fig(1). Basic diagram of smart antenna

IMPLEMENTATION CONSIDERATIONS FOR FPGA-BASED ADAPTIVE TRANSVERSAL FILTER DESIGNS

Digital Signal Processing of Speech for the Hearing Impaired

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

BER Analysis ofimpulse Noise inofdm System Using LMS,NLMS&RLS

Transcription:

Modeling and Analysis of an Adaptive Filter for a DSP Based Programmable Hearing Aid Using Normalize Least Mean Square Algorithm 1. Obidike. A. I, 2. Dr. Ohaneme C. O, 3. Anioke L. C., 4. Anonu. J. D, 1. Federal Science & Technical college, Awka, Anambra state, Nigeria. 2. Department of Electronic & computer Engineering, Nnamdi Azikiwe University Awka, Anambra State, Nigeria. 3. Department of Electronic Engineering, University of Nigeria, Nsukka. 4. Department of Computer & Control. Nigerian Army School of Engineering, Markurdi, Benue State, Nigeria. Abstract The application of adaptive filters in the design and implementation of digital hearing aid brought flexibility to its adaptation in both stationary and non-stationary environment. Several existed adaptive algorithms have added one or two significant changes to effective operation of digital hearing aid device. Apart from minimum mean square error reduction, the convergence rate of Least Mean Square (LMS) algorithm in the implementation of the previous digital hearing aid had posed a challenge. In this work, a Simulink block model for Normalize Least Mean Square algorithm (NLMS) was modelled and simulated for determining the rate of convergence of NLMS algorithm. The simulation results proved that NLMS algorithm exhibited a high rate convergence feature when the step size value was varied progressively within the restricted bound of 0 < µ < 2 for minimum instantaneous square error reduction. Keywords Adaptive filter, Convergence rate, hearing aid, NLMS algorithm. I. INTRODUCTION The increased cases of hearing loss in our society, community, country and around the world at this present age, has called for serious sensitization over the issue of hearing impairment, its causes and possible solutions to remedy the effect. Recent statistics from World Health Organization (WHO) in 1995, shows that one-third of the elderly people with in the bracket of 70 years and above were reported to be at highest risk of hearing deafness [1]. Recent statistics from world Health organization (WHO), reported that out of 50% of the world s population, 360 million estimated people are living with hearing disability ( 328 million adults and 32 million children). In 2000, the WHO s report showed that more than 250 million people world wide are living with hearing loss in which two-third of this population lives in developing countries [2]. The outcome of the research showed that hearing loss is prevalent in adult and is largely caused by diseases, age and noise. The increased numbers of hearing impaired were as a result of some factors mentioned earlier and many more which could be of natural or artificial cause. As a result, the field has attracted huge investment and extensive research towards improving the existing digital hearing aid in the market. Hence getting rid of noise at the filter output is the major concern of this work. Several algorithms have been deployed in the process such as the LMS algorithm, which has equally shown some significant successes in terms of ease in computation of the filter coefficient, hardware implementation and noise reduction. Therefore, this paper chooses to look into the convergence rate of NLMS algorithm towards mean square error reduction as a better choice for improvement in the performance of hearing aid. The modelling of the adaptive filter was adopted and developed in Simulink using the in-built block sets provided by its library and thereafter simulated. The result obtained showed that NLMS algorithm possesses higher speed of convergence simply because of its variable step size. Hence the algorithm can reduce instantaneous noise faster and efficiently without the users experiencing the effect when put to use. II. ADAPTIVE FILTERING An adaptive filter is a filter with an associated adaptive algorithm for updating filter coefficients so that the filter can be operated in an unknown and changing environment [3]. In this way, an adaptive filter can be said to have a self modifying property which allows it to change the output response as the filter input characteristics changes. The number of different applications in which adaptive techniques have been successfully used has increased enormously during the last two decades. Some of these applications include system identification, adaptive beam forming, echo cancellation, channel equalization, signal enhancement, noise cancellation and control [4]. A finite Impulse response (FIR) filter therefore is a digital filter used for digital signal processing. In other words, it can be stated, that what makes a digital filter adaptive is the adaptive algorithm which updates the in-coming signal by a mere adjustment of the filter parameters such as the filter length, step size, adaptive weight etc. This automatic update makes the adaptive filter to adapt to both known and unknown environment usually in a time varying environment using a feedback mechanism as shown in fig1. This processing of providing automatic adaptation to changes in background is referred to as tracking. Therefore, the principle of adaptive filter is aimed at minimizing the mean square error (MSE) between the filter output and the desired signal [5]. 2302

Input signal x[n] Digital Filter W(n+1) Adaptive Algorithm [NLMS] Desired signal d[n] Error signal e[n] Fig 1: Adaptive filter structure using FIR filter for tracking of the filter coefficient. Fig.1 shows the input signal that have undergone Analog-to- Digital (A/D) conversion process, the digital version of this signal is then passed through the adaptive FIR filter resident in digital signal processor (DSP) as shown in fig.2. The output signal, y(n), is thereafter compared with the desired signal, d(n). If there is any difference signal detected, the difference signal, e(n) regarded as the noise signal triggers the adaptive algorithm to adjust the filter coefficient of the next iterated signal. The whole process is repeated until the output signal, y(n) is approximately equal to the desired signal, d(n) before advancing for Digital-to-Analog (DAC) conversion and post amplification as the case may be. Microphone Pre-a m p Pre-amp A / D D S P D / A Fig 2: The structure of a digital hearing aid. AMPLIFIER AMPLIFIER Loudspeaker Fig.2 simply shows the components of hearing aid as containing the microphone, pre-amplifier, Analog-to-Digital converter, DSP chip, Digital-to-Analog converter, post amplifier and the loud speaker. B. NLMS Algorithm LMS algorithm is a type of adaptive filter known as stochastic gradient-based algorithms as it utilizes the gradient vector of the filter tap weights to converge on the optimum wiener solution [6]. It is well known and widely used due to its computational simplicity. There are three main reasons why LMS algorithm has been accrued to be popular. Firstly, LMS algorithm has ease of implementation in both software and hardware due to its computational simplicity and efficient use of memory. Secondly, it s robust performance in the presence of numerical errors caused by finite-precision arithmetic. Thirdly, its behavior has been analytically characterized to the point where a user can easily set up the system to obtain adequate performance with only limited knowledge about the input and desired response signals. Nevertheless, LMS has been disadvantaged by having a fixed step size parameter, µ, for each of the iteration. Consequently, NLMS algorithm as an extension of LMS algorithm has been extensively used in eliminating the limitations of LMS algorithm. Simply because normalized least mean square is found to be more stable, robust and adaptable in both stationary and non-stationary environment due to the variable nature of its step size. It is well known that the LMS type algorithms can only minimize the current estimate error to some extent [7]. The critical issue associated with all algorithms is the choice of the step-size parameter that is the trade-off between the steady-state misadjustment and the speed of adaptation [8]. However, this trade-off between the convergence rate and the steady-state mis-adjustment in LMS algorithm has been addressed using variable step-size in NLMS algorithm [9,10]. III. SYSTEM MODELS AND ANALYSIS A. Derivation of Normalize Least Mean Square algorithm. In NLMS algorithms, practical implementation is very similar to that of the LMS algorithm. Each of the iterations of the NLMS algorithm requires these steps in the following order. 1. The output of the adaptive filter is calculated. N 1 y n = k=0 w k n x n k = wh xn (1) Where x(n) = [ x(n), x(n-1),,x(n-k+1)] H an input signal vector (2) 2. An error signal is calculated as the difference between the desired signal and the filter output. e (n) = d(n) y(n) % error signal (3) ξ = e{d[n] y[n] 2 } % w[n] is selected to minimize the MSE (4) 3. The filter tap weights are updated in preparation for the next iteration. w[n+1] =w[n] + µe[n]x[n] (5) Normalization of equation 5 changes to w n + 1 = w n + μ n x n e(n) γ+x H n x(n) Update equation of NLMS algorithm γ is a constant term for normalization and is always less than 1. The inclusion of the parameter, γ, in the coefficient update is to avoid large step size when x H x(n) becomes small or to avoid division by zero in normalization operation. % 2303

S T A R T the loud speaker to output sound. This ends the whole algorithmic process. IN P U T S O U N D ANTI- ALIASINGFILTER P R E - A M P L IF IE R SIGMA DELTA ADC DIG ITA L FILTER Compute error Using NLMS algorithm I s e [ n ] > 0? NO SIGMADELTADAC P O S T A M P L I F I E R O U T P U T S O U N D YES Adjust filter parameters B. Simulink Model Block Development of NLMS Algorithm. In this work, an analytical method was adopted in evaluating the performance of the algorithm. The model of an NLMS algorithm was designed and developed in Simulink as shown in Fig.4. The Simulink program provided an in-built block sets from its library needed for the design. The major block set called Normalized LMS block performed both adaptive filtering and estimation of the filter coefficient. The simulator provided submenu for configuring the block settings to be able to perform the required task such as variation of the step size value, the filter length and the type of algorithm. Also notice in fig. 5, that the input signal was generated using the sine wave block and the noise signal generated with a random source block which generates the Gaussian noise signal. Thereafter, the corrupted signal is then passed onto the digital filter for digital signal processing. The output signal was later compared to the desired signal for error detection and determination of rate of convergence. Any difference in the signal triggers the adaptive algorithm for automatic adjustment of its filter parameters so as to minimize error until the desired signal becomes approximately equal to the filter output. At this point, it was assumed that the minimum mean square error has been achieved. The evaluation was made possible by the time scope block which shows the input signal, input + noise signal, filter output and the error signal, while the display block shows the adaptive weight of the filter. S T O P Fig.3: Flow chart diagram of hearing aid using NLMS algorithm. Fig.3 shows the workability of hearing aid which ideally summarizes the total operation/the working principle of a hearing aid when fully implemented. The first operation of the hearing aid is to collect the human voice which is analog in nature using the microphone. The microphone changes the analog nature of this voice to electrical voltage and as well provides the first stage amplification. Since the input signal is still in analog form, the gain of this signal is amplified with noise. During sampling, the Nyquist criterion theory is therefore obeyed to prevent aliasing. After changing the analog signal to digital world using the A/D sigma delta converter, the digital signal is therefore extensively manipulated using the adaptive filter whose algorithm has been burnt on a DSP chip to perform digital signal filtering and the corresponding update. If no error is detected, the signal advances to sigma delta D/A converter for Digital - to - Analog conversion. But if error is detected (i.e e(n) > 0), then the e(n) will therefore trigger the adaptive algorithm to correct the mis-adjustment of the next iterated signal such as the gain.when the error has been minimized, the filtered signal now in its original form finally undergoes post amplification using IV. Fig.4: Simulink block model of NLMS algorithm. SYSTEM IMPLEMENTATION AND RESULT ANALYSIS The simulation of the NLMS algorithm was carried out with the following specifications: filter length, L = 11, filter order = 10, leakage factor = 1.0, Initial filter weight = 0, step size, μ = [0.005, 0.05, 0.075, and 1.5, 1.9]. The filter output and the error signal will be examined at each stage of the simulation to observe their behaviour towards MSE reduction and high speed of convergence when the step size value is either increased or decreased. The simulation was divided into two: simulation involving NLMS and secondly that of LMS 2304

algorithm. Thereafter, their results were evaluated for better performance. Fig.8: NLMS filtered output for μ = 0.075. Fig.5: Function block parameter: NLMS algorithm Fig.6: NLMS filtered output for μ = 0.005. Fig.9: NLMS filtered output for μ = 1.5. Fig.10: NLMS output for μ = 1.9. Fig.7: NLMS filtered output for μ = 0.05. Table1: Summary of Simulation Result Step size (μ) Time (ms) 0.005 8.5 0.05 5.5 0.075 No error 1.0 No error 1.5 No error 1.9 No error 2305

Table 2: Step size, (μ) vs Adaptive weight, w (n) Adaptive weight w(n) W(0) 0.000168 9.065e - µ = 0.005 µ = 0.01 µ = 0.075 µ = 1.5 µ = 1.9-1.274e -016-1.7e^- 16 6.036e^- W(1) -0.08725-0.0882-0.08822-0.08822-0.08822 W(2) -0.023 4.5e - 3.942e -0 5.993e^- 2.156e^- 16 W(3) -0.291-0.294-0.294-0.294-0.294 W(4) 0.582 0.5883 0.5884 5.756e^- W(5) 0.0004023-7.818e - -6.97e^- 1.37e -0 0.5884 0.5884 W(6) -0.291-0.294-0.294 6.412e^- W(7) -0431 5.323e - - 4.645e^- 2.336e -0-0.294-0.294 W(8) -0.08723-0.0882-0.08822 3.551e^- W(9) 9.704e -0.05 5.918e - W(10) 9.704e -0.05 5.918e - -0.1.0e - 016-0.1.0e - 016-0.08822-0.08822-7.718e^- 19-3.558e^- 5.2e^- Table1 simply indicates the reading obtained from the graph of the simulation. The readings showed the time taken for the output signal to converge in milliseconds. Table 2 simply shows that adaptive weight of the filter at a given step size. These readings were obtained from the display block. Observe also that there was gradual reduction of the instantaneous square error as a result of the convergence property possessed by the NLMS algorithm as the step size approaches 1.0. Although the speed of convergence was reluctantly slow initially but experienced later significantly improved when the variable step size increased progressively from 0.005 to 1.9 respectively. At the step size value of 0.075, the faster speed of convergence was obvious since the algorithm had already converge before approaching 0secs as demonstrated in Fig.8 10 respectively. At this point, the desired signal d(n) is assumed to be approximately equal to y(n) since e(n) is zero. This tends to prove the faster speed of convergence of NLMS algorithm at an increased value of the step size. Note that the w(n) value can never be the same in all environment as observed during simulation. This is so because the filter keeps track of the filter adaptive weight at any instant in time. As result of the tracking nature of the adaptive filter it can be applied efficiently in the implementation of digital hearing aid. This is one of the limitations of LMS algorithm. V. CONCLUSION The modelling of an adaptive filter using NLMS algorithm for implementation of a DSP based hearing aid was successively designed and developed in Matlab for evaluation of the speed of convergence of the algorithm for instantaneous square error reduction. The simulation results showed a high of speed of convergence of the normalized least mean square algorithm; even though the speed of convergence was slow initially. The results tend to prove the efficient use of NLMS algorithm in the implementation of digital hearing aid towards noise reduction as the user changes from one environment to another. REFERENCE 1. Mayur Desai, Ph.D, Laura A. Pratt, Ph.D, Kristen N. Robinson, Ph.D, Trends in vision and hearing among older Americans. Centres for disease control and prevention, National centre for Health statistics, March 2001. 2. Collins Mathers, Andrew smith, Marisol Concha, Global burden of hearing loss in the year 2000. www.who.int/healthinfo/statistics/bod_hearingloss.pdf. 3. Kong-Aik Lee, Woo-Seng, Sen M kuo, Sub-band adaptive filtering: Theory and implementation, 2009. 4. Prof. Paulo S.R Diniz, Adaptive filtering algorithm and practical implementation, third edition, ISSN: 978-0-387-31274-3, e-isbn: 978-0-387-68606-6. 5. D.C Dhubkarya, Aastha Katare, Comparative performance analysis of adaptive algorithms for simulation & Hardware implementation of ECG signals. International journal of electronics and computer science Engineering. ISSN-2277-1956, pg 1. 6. Radhika Chinaboina, D.S Ramkiran, Habibulla Khan et al, Adaptive algorithms for acoustic echo cancellation in speech processing, IJRAS7 (1), April 2011. 7. Alok Pandey, L.D Malviya, Vincent Sharma, Comparative study of LMS and NLMS algorithms in adaptive equalizers International journal of Engineering research and applications (IJERA), ISSN: 2248-9622, vol.2, issue 3, may-june 2013,PP 1584-1587. 8. Shihab Jimaa, Convergence evaluation of a random step size NLMS adaptive algorithm in system identification and channel equalization. 9. A. I Sulyman and A Zerguine, Convergence and steady state analysis of a variable step size NLMS algorithm, ELSE VIER signal processing, vil.83, PP. 1255-1273, 2003. 10. Ling Quin and M.G Bellanger, Convergence analysis of a variable step-size normalized adaptive filter algorithm Proc. Euspisco, adaptive systems, PAS.4, 1996. 2306