The Filtered-x LMS Algorithm



Similar documents
ADAPTIVE ALGORITHMS FOR ACOUSTIC ECHO CANCELLATION IN SPEECH PROCESSING

Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm

LMS is a simple but powerful algorithm and can be implemented to take advantage of the Lattice FPGA architecture.

4F7 Adaptive Filters (and Spectrum Estimation) Least Mean Square (LMS) Algorithm Sumeetpal Singh Engineering Department sss40@eng.cam.ac.

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Background 2. Lecture 2 1. The Least Mean Square (LMS) algorithm 4. The Least Mean Square (LMS) algorithm 3. br(n) = u(n)u H (n) bp(n) = u(n)d (n)

Active control of low-frequency broadband air-conditioning duct noise

Luigi Piroddi Active Noise Control course notes (January 2015)

Load-Balanced Implementation of a Delayless Partitioned Block Frequency-Domain Adaptive Filter

Lecture 5: Variants of the LMS algorithm

Development and optimization of a hybrid passive/active liner for flow duct applications

System Identification for Acoustic Comms.:

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008

Adaptive Equalization of binary encoded signals Using LMS Algorithm

A Load Balancing Method in SiCo Hierarchical DHT-based P2P Network

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

Formulations of Model Predictive Control. Dipartimento di Elettronica e Informazione

Adaptive Variable Step Size in LMS Algorithm Using Evolutionary Programming: VSSLMSEV

By choosing to view this document, you agree to all provisions of the copyright laws protecting it.

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

Figure1. Acoustic feedback in packet based video conferencing system

Active Noise Cancellation Project

Advanced Signal Processing and Digital Noise Reduction

Active Vibration Isolation of an Unbalanced Machine Spindle

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

LOW COST HARDWARE IMPLEMENTATION FOR DIGITAL HEARING AID USING

Solutions to Exam in Speech Signal Processing EN2300

METHODOLOGICAL CONSIDERATIONS OF DRIVE SYSTEM SIMULATION, WHEN COUPLING FINITE ELEMENT MACHINE MODELS WITH THE CIRCUIT SIMULATOR MODELS OF CONVERTERS.

Adaptive Sampling Rate Correction for Acoustic Echo Control in Voice-Over-IP Matthias Pawig, Gerald Enzner, Member, IEEE, and Peter Vary, Fellow, IEEE

Course overview Processamento de sinais 2009/10 LEA

(Refer Slide Time: 01:11-01:27)

Digital Imaging and Multimedia. Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Computer exercise 2: Least Mean Square (LMS)

Adaptive Notch Filter for EEG Signals Based on the LMS Algorithm with Variable Step-Size Parameter

TRAINING A LIMITED-INTERCONNECT, SYNTHETIC NEURAL IC

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

Scott C. Douglas, et. Al. Convergence Issues in the LMS Adaptive Filter CRC Press LLC. <

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

Probability and Random Variables. Generation of random variables (r.v.)

Signal Detection. Outline. Detection Theory. Example Applications of Detection Theory

Voice Communication Package v7.0 of front-end voice processing software technologies General description and technical specification

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

Figure 1. The Ball and Beam System.

SMORN-VII REPORT NEURAL NETWORK BENCHMARK ANALYSIS RESULTS & FOLLOW-UP 96. Özer CIFTCIOGLU Istanbul Technical University, ITU. and

Analysis of Mean-Square Error and Transient Speed of the LMS Adaptive Algorithm

TI 313 (1.0 EN) d&b Remote network - Integration

Applying Active Noise Control Technique for Augmented Reality Headphones

Chapter 10. Control Design: Intuition or Analysis?

Maximum Likelihood Estimation of ADC Parameters from Sine Wave Test Data. László Balogh, Balázs Fodor, Attila Sárhegyi, and István Kollár

NETWORK STRUCTURES FOR IIR SYSTEMS. Solution 12.1

Controller Design in Frequency Domain

Social Media Mining. Network Measures

19 LINEAR QUADRATIC REGULATOR

The Algorithms of Speech Recognition, Programming and Simulating in MATLAB

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION Vol. XVI - Fault Accomodation Using Model Predictive Methods - Jovan D. Bošković and Raman K.

Log-Likelihood Ratio-based Relay Selection Algorithm in Wireless Network

White Paper. PESQ: An Introduction. Prepared by: Psytechnics Limited. 23 Museum Street Ipswich, Suffolk United Kingdom IP1 1HN

INTER CARRIER INTERFERENCE CANCELLATION IN HIGH SPEED OFDM SYSTEM Y. Naveena *1, K. Upendra Chowdary 2

ECE 3510 Final given: Spring 11

LEAST-MEAN-SQUARE ADAPTIVE FILTERS

AN FPGA IMPLEMENTATION OF THE LMS ADAPTIVE FILTER FOR ACTIVE VIBRATION CONTROL

The p-norm generalization of the LMS algorithm for adaptive filtering

Self-Mixing Laser Diode Vibrometer with Wide Dynamic Range

Force/position control of a robotic system for transcranial magnetic stimulation

Discrete-Time Signals and Systems

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

Convolution. 1D Formula: 2D Formula: Example on the web:

EE 435 Lecture 13. Cascaded Amplifiers. -- Two-Stage Op Amp Design

A Cold Startup Strategy for Blind Adaptive M-PPM Equalization

CM0340 SOLNS. Do not turn this page over until instructed to do so by the Senior Invigilator.

Em bedded DSP : I ntroduction to Digital Filters

Equalization/Compensation of Transmission Media. Channel (copper or fiber)

Optimization of PID parameters with an improved simplex PSO

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Analysis/resynthesis with the short time Fourier transform

Agilent Creating Multi-tone Signals With the N7509A Waveform Generation Toolbox. Application Note

Adjusting Voice Quality

Yamaha Power Amplifier. White Paper

Automatic Detection of Emergency Vehicles for Hearing Impaired Drivers

Cancellation of Load-Regulation in Low Drop-Out Regulators

APPLYING VIRTUAL SOUND BARRIER AT A ROOM OPENING FOR TRANSFORMER NOISE CONTROL

Network Traffic Prediction Based on the Wavelet Analysis and Hopfield Neural Network

Marketing Mix Modelling and Big Data P. M Cain

Introduction to acoustic imaging

Overview of the Telecommunications Network

Laboratory 4: Feedback and Compensation

GLM, insurance pricing & big data: paying attention to convergence issues.

Introduction: Overview of Kernel Methods

Transcription:

The Filtered-x LMS Algorithm L. Håkansson Department of Telecommunications and Signal Processing, University of Karlskrona/Ronneby 372 25 Ronneby Sweden

Adaptive filters are normally defined for problems such as electrical noise cancelling where the filter output is an estimate of a desired signal. In control applications, however, the adaptive filter works as a controller controling a dynamic system containing actuators and amplifiers etc. The estimate (anti-vibrations or anti-sound) in this case can thus be seen as the output signal from a dynamic system, i.e. a forward path. Since there is a dynamic system between the filter output and the estimate, the selection of adaptive filter algorithms must be made with care. A conventional adaptive algorithm such as the LMS algorithm is likely to be unstable in this application due to the phase shift (delay) introduced by the forward path [1, 2]. The well-known filtered-x LMS-algorithm is, however, an adaptive filter algorithm which is suitable for active control applications [3]. It is developed from the LMS algorithm, where a model of the dynamic system between the filter output and the estimate, i.e. the forward path is introduced between the input signal and the algorithm for the adaptation of the coefficient vector [3, 4]. Figure 1 shows an active control system with a controller based on the filtered-x LMS algorithm. The Figure 1: Active control system. FIR filter output is as usual given by the vector inner product: where y(n) = w T (n)x(n) (1) x(n) = [x(n), x(n 1),..., x(n M + 1)] T (2) is the input signal vector to the adaptive filter and w(n) = [w 0 (n), w 1 (n),..., w M 1 (n)] T (3) is the adjustable filter coefficient vector. In control applications, the estimation error e(n) is defined by the difference between the desired signal (desired response) d(n) and the output signal from the forward path or plant under control y C (n): e(n) = d(n) y C (n) (4) Assuming that the transfer function for the forward path can be described with an Ithorder FIR filter: { cn when n {0,..., I 1} h C (n) = 0 otherwise (5) 1

it follows that the estimation error e(n) can be expressed as: M 1 e(n) = d(n) c i w m (n i)x(n i m) (6) m=0 The Wiener (Mean Square Error) solution of the coefficient vector is obtained by minimizing the quadratic function [3, 4]: J f (n) = E[e(n) 2 ] (7) and this can be carried out by using the gradient vector for the mean square error J f (n): w(n) J f (n) = 2E [ e(n) w(n) e(n) ] (8) By taking advantage of the fact that the desired signal d(n) is independent of the filter coefficients and by assuming that w m (n), m {0,..., M 1} is time invariant, the gradient vector for the estimation error can be expressed as: w(n) e(n) = c i x(n i) I 1 c i x(n i 1) I 1 I 1. c i x(n i M + 1) By inserting this expression in Eq. 8 we obtain the following relation for the gradient vector of the mean square error: w(n) J f (n) = 2E [e(n)x C (n)] (10) (9) where x C (n) is given by: I 1 c ix(n i) c i x(n i 1) x C (n) =. I 1 c i x(n i M + 1) In other words, an LMS algorithm with a gradient estimate as in; (11) w(n) J f (n) = 2e(n)x C(n) (12) would solve the problem of producing an estimate via a dynamic system [3, 4]. From this it follows that the conventional LMS algorithm is likely to be unstable in control applications. The conventional LMS algorithm will in some cases also find a poor solution 2

when it converges [1, 3, 4]. This can be explained by the fact that the LMS algorithm uses a gradient estimate x(n)e(n) which is not correct in the mean [1]. A compensated algorithm is obtained by filtering the reference signal to the coefficient adjustment algorithm using a model of the forward path. This is illustrated in Fig. 2. The algorithm obtained is the well-known filtered-x LMS algorithm defined by: Figure 2: Active control system with a controller based on the filtered-x LMS-algorithm[5]. y(n) = w T (n)x(n) (13) e(n) = d(n) y C (n) (14) x C (n) = I 1 c i x(n i) c i x(n i 1). c i x(n i M + 1) (15) w(n + 1) = w(n) + µx C (n)e(n) (16) Here c i is the coefficients of an estimated FIR filter model of the forward path: { c h C (n) = n if n {0,..., I 1} 0 else (17) It is in practice customary to use an estimate of the impulse response for the forward path. As a result, the reference signal x C (n) will be an approximaton, and differences between the estimate of the forward path and the true forward path influence both the stability properties and the convergence rate of the algorithm [1, 3, 4]. However, the algorithm is robust to errors in the estimate of the forward path [1, 3, 4]. The model used should introduce a time delay corresponding to the forward paths at the dominating frequencies [1, 4]. 3

In the case of narrow-band reference signals to the algorithm, e.g. sin(ω 0 t), the algorithm will converge with phase errors in the estimate of the forward path with up to 90, provided that the step length µ is sufficiently small [6, 3]. Furthermore, phase errors in the estimate of the forward path smaller than 45 will have only a minor influence on the algorithm convergence rate [6]. The filtered-x LMS algorithm relies principally on the assumption that the adaptive FIR filter and the forward path commute. This is approximately true if the adaptive filter varies in a time scale which is slow in comparison with the time constant for the impulse response of the forward path. We can thus write as follows: when M 1 c i w m (n i)x(n i m) m=0 M 1 m=0 w m (n) c i x(n m i) (18) w(n) = w(n i), i {1,2,, I 1} (19) where I is the length of the impulse response of the forward path. In practice, the filteredx LMS-algorithm exhibits stable behaviour even when the coefficients change within the time scale associated with the dynamic response of the forward path [3, 4]. In order to ensure that the action of the LMS algorithm is stable the maximum value for the step length µ should be given approximately by: µ < 2 ME[x 2 (n)] (20) However, in the case of the filtered-x LMS algorithm, Elliot et al. [7] have found that the maximum step length µ not only depends on the length of the adaptive filter and filtered reference signal but also on the delays in the forward path C. If the reference signal x C (n) is a white noise process it has thus been found that an upper limit for the step length µ is given by: µ max 2 E[x 2 C (n)](m + δ) (21) where δ is the overall delay in the forward path (in samples). In the case of a non-white reference signal Elliot et al. [7] suggest that 1 µ max is proportional to 1.2M and not 0.5M. A probable explanation is that the covariance matrix for the reference signal will have a poor conditioning [7]. 4

Bibliography [1] S.J. Elliott and P.A. Nelson. Active noise control. IEEE signal processing magazine, pages 12 35, October 1993. [2] D.R Morgan. An analysis of multiple correlation cancellation loops with a filter in the auxiliary path. IEEE Transactions on Acoustics, Speech and Signal Processing, ASSP-28(4):454 467, August 1980. [3] P.A. Nelson and S.J. Elliott. Active Control of Sound. Academic Press, Inc, 1992. [4] B. Widrow and S.D. Stearns. Adaptive Signal Processing. Prentice-Hall, 1985. [5] L. Håkansson, I. Claesson, and P-O. Sturesson. Adaptive feedback control of machinetool vibration based on the filtered-x lms algorithm. International Journal of Low Frequency Noise, Vibration and Active Control, Accepted, 1997. [6] C.C. Boucher, S.J. Elliott, and P.A. Nelson. Effect of errors in the plant model on the performance of algorithms for adaptive feedforward control. In Proceedings of Institution of Electrical Engineers, volume 138, pages 313 319, 1991. [7] S.J. Elliott and P.A. Nelson. Multiple-point equalization in a room using adaptive digital filters. Journal of audio engineering society, 37(11):899 907, November 1989. 5