SlideShare a Scribd company logo
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
DOI : 10.5121/sipij.2013.4304 45
PERFORMANCE ANALYIS OF LMS ADAPTIVE
FIR FILTER AND RLS ADAPTIVE FIR FILTER
FOR NOISE CANCELLATION
Jyotsna Yadav1
, Mukesh Kumar2
, Rohini Saxena3
, A. K. Jaiswal4
1
M.Tech Student, SSET, SHIATS, Allahabad, India
jyotsna10jul@gmail.com
2
Assistant Professor, SSET, SHIATS, Allahabad, India
mukesh044@gmail.com
3
Assistant Professor, SSET, SHIATS, Allahabad, India
rohini.saxena@gmail.com
4
Prof. & HOD, ECE, SSET, SHIATS, Allahabad, India
akjaiswal@gmail.com
ABSTRACT
Interest in adaptive filters continues to grow as they begin to find practical real-time applications in areas
such as channel equalization, echo cancellation, noise cancellation and many other adaptive signal
processing applications. The key to successful adaptive signal processing understands the fundamental
properties of adaptive algorithms such as LMS, RLS etc. Adaptive filter is used for the cancellation of the
noise component which is overlap with undesired signal in the same frequency range. This paper presents
design, implementation and performance comparison of adaptive FIR filter using LMS and RMS
algorithms. MATLAB Simulink environment are used for simulations.
KEYWORDS
FIR, Adaptive Filter, LMS, RLS.
1. INTRODUCTION
In the digital signal processing the major problem occurs while deigning the filter, at the receiver
processing in order to transmit enormous amount of data within the filter band. Tighter filter
parameters are the need of the day. This work represents the performance analysis and
comparison between the LMS and RLS Adaptive FIR filter. Interest in adaptive filters continues
to grow as they begin to find practical real-time applications in areas such as channel
equalization, echo cancellation, noise cancellation and many other adaptive signal processing
applications. On the contrary in the case of the Adaptive Filters, they are implemented where ever
there is the need for the digital filter’s characteristics to be variable, adapting to changing signal.
Adaptive filtering consists of two basic operations; the filtering process which generates an
output signal from an input data signal, and the adaptation process which adjusts the filter
coefficients in a way to minimize a desired cost function. Basically, there are a large number of
filter structures and algorithms that have been used in adaptive filtering applications
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
46
Adaptive filters are an important part of signal processing. Adaptive filter is a nonlinear filter
since its characteristics are dependent on the input signal and consequently the homogeneity and
additivity conditions are not satisfied [7]. The key to successful adaptive signal processing
understands the fundamental properties of adaptive algorithms such as LMS, RLS etc.
Application of adaptive filter is the cancellation of the noise component, an undesired signal in
the same frequency range.
2. ADAPTIVE FIR FILTER
Adaptive filters are an important part of signal processing. Adaptive filters adjust its transfer
function according to an optimizing algorithm. Due to the complexity of the optimizing
algorithms, most adaptive filters are digital filters [7]. Adaptive filters perform digital signal
processing and adapt their performance based on the input signal [7]. Adaptive filter can be
classified as linear and non-linear adaptive filter.
The non-linear adaptive filters have more complicated calculations, but the actual use is still the
linear adaptive filter [7]. Figure 1 shows the basic block diagram of the Adaptive FIR Filter.
Where X(n) is the input signal, F(n) is the variable filter response, and G(n) is the Desired signal.
In this Figure the input signal are connected to the variable filter and gives a output signal, the
error signal can minimize the error by separating the actual output and desired signal by adjusting
the filter coefficient.
Figure 1: Block diagram of the Adaptive FIR Filter
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
47
3. ADAPTIVE ALGORITHM
3.1. LMS Algorithm
One of the most used algorithm for adaptive filtering is the LMS algorithm. LMS adjusts the
adaptive filter taps and modifying them by an amount proportional to the instantaneous estimate
of the gradient of the error surface [6]. It neither requires correlation function calculation nor
matrix inversions, which makes it simple and easier when compared to other algorithms.
Minimization of mean square error is achieved due to the iterative procedure incorporated in it to
make successive corrections in the direction of negative of the gradient vector it is represented in
following equations [2, 6].
Y (n) = F (n). U (n) (i)
E (n) = G (n) – Y (n) (ii)
F (n + 1) = F (n) + μ. U (n). E (n) (iii)
Where, Y(n) = filter output, X(n) = input signal, E(n) = error signal, G(n) = other observed signal
3.2. RLS Algorithm
At each instant, RLS algorithm performs an exact minimization of the sum of the squares of the
desired signal estimation errors [3, 4, 6]. The computations begin with known initial conditions
and based on the information’s contained in the new data samples, RLS algorithm updates the old
estimates. These are its equations: To initialize the algorithm P (n) (inverse correlation matrix)
should be made equal to δ-1
where δ (regularization factor) is a small positive constant [2, 6].
Y (n) = F (n). U (n) (i)
α (n) = G(n) – F(n) u(n) (ii)
π (n) = P(n − 1) u(n) (iii)
k(n) = λ + π (n) u(n) (iv)
K (n)=
୔(୬ିଵ) ୳(୬)
୩(୬)
(v)
F(n) = F(n − 1) + K(n) α (n) (vi)
P1(n − 1) = K(n). π (n) (vii)
P(n) = { P(n − 1) − P1(n − 1) } / λ (viii)
Where, F(n) = filter coefficients, K(n) = gain vector, λ = forgetting factor, P(n) = inverse
correlation matrix of the input signal α (n), π (n) = positive constant
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
48
4. SIMULATION METHODOLOGY
The methodology is used for the comparison between the performance of Adaptive FIR filter
using Least Mean Square (LMS) and Recursive Least square (RLS) algorithms. This work used
MATLAB FDA tool and Simulink environment for the filter realization. We have used a Various
Parameters for the simulation are Filter Structure (direct form), Filter length (32), Filter type (type
2), adaptive algorithm (LMS, RLS), Simulation time (30, 50, 80), Design method (Kaiser
Window β=0.5), and frequency specifications (Normalized 0-1).
Figure-2 and Figure-3 shows the MATLAB implementation of adaptive FIR Filter using LMS
and RLS algorithm. Which have four output; input signal, input siganl with noise signal, filter
output and error signal produed at scope 1 and weight output (Wts) are produced at the vector
scope. LMS and RLS Filters can be used to reduce the noise by seprating the error between the
actual output and desired signal mixed.
Figure 2: Implemented Adaptive FIR filter using LMS algorithm
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
49
Figure 3: Implemented Adaptive FIR filter using RLS algorithm
5. SIMULATION RESULTS
Figure 4, 5 and 6 shows the scope output of Adaptive FIR filter using LMS algorithm for
simulation time t=30, 50, 80 second respectively. It is observed that as the simulation time
increases the error or noise from the signal is effectively removed using LMS filtering. More the
simulation time more the reduction of noises from the signal.
Figure 4: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 30
seconds
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
50
Figure 5: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 50
seconds
Figure 6: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 80
seconds
Figure 7, 8, 9 shows vector time scope output of Adaptive FIR filter using LMS algorithm for
simulation time 15, 30 and 80 second respectively, it is observed that as the simulation time
increases the error or noise from the signal is effectively removed. As the simulation time
increases the noises in the signal are reduced to almost zero.
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
51
Figure 7: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation
time 30 seconds
Figure 8: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation
time 50 seconds
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
52
Figure 9: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation
time 80 seconds
Figure 10, 11, 12 shows scope output of Adaptive FIR filter using RLS algorithm for simulation
time t=30, 50, and 80 second respectively. It is observed that as the simulation time increases the
error or noise from the signal is removed but not effectively as that of in the case of LMS
filtering.
Figure 10: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 30
seconds
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
53
Figure 11: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 50
seconds
Figure 12: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 80
seconds
Figure 13, 14, 15 shows time scope output of Adaptive FIR filter using RLS algorithm for
simulation time t=30, 50, 80 second respectively. It is observed that as the simulation time
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
54
increases the error or noise from the signal is removed but not effectively. As the simulation time
increases we found that the noises in the signal are not reduced to zero and still some noises are
presents in the signal.
Figure 13: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for
simulation time 30 seconds
Figure 14: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for
simulation time 50 seconds
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
55
Figure 15: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for
simulation time 80 seconds
6. CONCLUSION
The implementation and simulation of Adaptive FIR filter using LMS and RLS algorithm have
been done using MATLAB Simulink environment and their responses have been studied and
compared in various waveforms as given in the simulation results. After comparing these, it
shows that as simulation time increases (t=30, 50, 80 sec) in case of LMS filtering the noise is
almost reduced from the signal whereas in case of RLS filtering the noise is not completely
removed with simulation time. The Adaptive FIR filter using LMS algorithm shows relatively
good filtering result, having short filter length, simple structure and simple operation, and it is
easy to realize hardware. On the other hand the drawback of LMS algorithm is that the
convergence rate is slower. Simulation results show that filter performance is better to the least
mean squares algorithm. RLS filtering required large storage capacity and the task of noise
reduction is relatively difficult with large hardware.
REFERENCES
[1] Haykin S., "Adaptive Filter Theory", Prentice-Hall, Inc., 1991.
[2] Haykin, S.; Sayed, A.H.; Zeidler, J.R.; Yee, P.; Wei , P.C., "Adaptive tracking of linear time variant
systems By extended RLS Algorithm” Signal Processing, IEEE Transactions on, May1997
[3] Saeid Mehrkanoon, Mahmoud Moghavvemi , “Real time ocular and facial muscle artifacts removal
from EEG Signals using LMS Adaptive Algorithm International Conference on Intelligence and
Advanced System,2007.IEEE.
[4] NJ Bershad, JCM Bermudez, “An Affine Combination of Two LMS Adaptive Filter Transient Mean-
Squre Analysis” Signal Processing, IEEE Transactions, May 2008.
Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013
56
[5] M.S, VH Nascimento Improving the Tracking Capability of Adaptive Filters via Convex
Combination” Signal Processing, IEEE Transactions on, July 2008
[6] K. R. Borisagar, G. R. kulkarni “Simulation and Comparative Analysis of LMS and RLS Algorithms
Using Real Time Speech Input Signal” GJRE, 2010.
[7] K. R. Borisagar and G. R. Kulkarni “Simulation and performance analysis of adaptive filter in real
time noise over conventional fixed filter” International Conference on Communication Systems and
Network Technologies, 2012.
Author’s profile
Prof. Arvind Kumar Jaiswal is working as Head of Department in the Department of
Electronics & Communication Engineering in SHIATS, Allahabad, India. He received
his M.Sc (Tech). Degree in Electronics & Radio Engineering in the year 1967 from
University of Allahabad, India. His research is focused on optical Wireless Networks,
Advanced Communication, Antenna and Wave propagation, optical fiber
communication and control system.
Mukesh Kumar is working as Asst. Prof. in the Department of Electronics
&Communication Engineering SHIATS, Allahabad. He received his M.Tech. Degree
in Advanced Communication System Engineering from SHIATS, Allahabad, India in
2010. His research is focused on Wireless Sensor Network and Computer Networks
Microwave Engineering, and Digital signal processing as well as Optical fiber
communication.
Rohini Saxena is working as Asst. Prof. in the Department of Electronics &
Communication Engineering in SHIATS, Allahabad. She received her M.Tech. Degree
in Advanced Communication System Engineering from SHIATS, Allahabad in 2009.
Her research is focused on Digital signal processing, Microwave Engineering and
Wireless Sensor Network.
Jyotsna Yadav is studying as M.tech Scholar in the Department of Electronics &
Communication Engineering in SHIATS, Allahabad, India. Her studying branch is
Signal processing. Her research is focused on Digital signal processing and wireless
networks.

More Related Content

PPT
Adaptive filter
PPTX
Noice canclellation using adaptive filters with adpative algorithms(LMS,NLMS,...
PPTX
Low power vlsi implementation adaptive noise cancellor based on least means s...
PPTX
Adaptive filter
PPTX
Introduction to Adaptive filters
PPTX
ADAPTIVE NOISE CANCELLATION
PPT
PDF
Adaptive filter
Adaptive filter
Noice canclellation using adaptive filters with adpative algorithms(LMS,NLMS,...
Low power vlsi implementation adaptive noise cancellor based on least means s...
Adaptive filter
Introduction to Adaptive filters
ADAPTIVE NOISE CANCELLATION
Adaptive filter

What's hot (20)

PDF
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
PPTX
Dct and adaptive filters
PPSX
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
PDF
DOC
Implementation Adaptive Noise Canceler
PPTX
Adaptive Noise Cancellation
PDF
Adaptive filters
PPTX
Adaptive filters
PPTX
Dsp ppt madhuri.anudeep
PPSX
Performance analysis of adaptive noise canceller for an ecg signal
PPT
Acoustic echo cancellation using nlms adaptive algorithm ranbeer
PDF
Hardware Implementation of Adaptive Noise Cancellation over DSP Kit TMS320C6713
PPTX
Acoustic echo cancellation
PDF
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
PDF
Subjective comparison of_speech_enhancement_algori (1)
PDF
Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study
PPTX
Av 738 - Adaptive Filtering Lecture 1 - Introduction
PPTX
Adaptive equalization
PDF
Basics of Digital Filters
PPTX
Adaptive equalization
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Dct and adaptive filters
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
Implementation Adaptive Noise Canceler
Adaptive Noise Cancellation
Adaptive filters
Adaptive filters
Dsp ppt madhuri.anudeep
Performance analysis of adaptive noise canceller for an ecg signal
Acoustic echo cancellation using nlms adaptive algorithm ranbeer
Hardware Implementation of Adaptive Noise Cancellation over DSP Kit TMS320C6713
Acoustic echo cancellation
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Subjective comparison of_speech_enhancement_algori (1)
Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study
Av 738 - Adaptive Filtering Lecture 1 - Introduction
Adaptive equalization
Basics of Digital Filters
Adaptive equalization
Ad

Viewers also liked (19)

PDF
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
PDF
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
PDF
Detection of fabrication in photocopy document using texture features through...
PDF
Wound image analysis classifier for efficient tracking of wound healing status
PDF
FEATURE EXTRACTION USING MFCC
PDF
Image denoising using new adaptive based median filter
PDF
Retinal image analysis using morphological process and clustering technique
PDF
EFFICIENT IMAGE RETRIEVAL USING REGION BASED IMAGE RETRIEVAL
PDF
Image similarity using symbolic representation and its variations
PDF
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
PDF
Performance analysis of image compression using fuzzy logic algorithm
PDF
Design of Embedded Control System Using Super- Scalar ARM Cortex-A8 for Nano-...
PDF
A FRAGILE WATERMARKING BASED ON LEGENDRE TRANSFORM FOR COLOR IMAGES (FWLTCI)
PDF
Mfcc based enlargement of the training set for emotion recognition in speech
PDF
A binarization technique for extraction of devanagari text from camera based ...
PDF
A novel approach to generate face biometric template using binary discriminat...
PDF
Performance analysis of high resolution images using interpolation techniques...
PDF
Collaborative semantic annotation of images ontology based model
PDF
An ensemble classification algorithm for hyperspectral images
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
WAVELET BASED AUTHENTICATION/SECRET TRANSMISSION THROUGH IMAGE RESIZING (WA...
Detection of fabrication in photocopy document using texture features through...
Wound image analysis classifier for efficient tracking of wound healing status
FEATURE EXTRACTION USING MFCC
Image denoising using new adaptive based median filter
Retinal image analysis using morphological process and clustering technique
EFFICIENT IMAGE RETRIEVAL USING REGION BASED IMAGE RETRIEVAL
Image similarity using symbolic representation and its variations
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
Performance analysis of image compression using fuzzy logic algorithm
Design of Embedded Control System Using Super- Scalar ARM Cortex-A8 for Nano-...
A FRAGILE WATERMARKING BASED ON LEGENDRE TRANSFORM FOR COLOR IMAGES (FWLTCI)
Mfcc based enlargement of the training set for emotion recognition in speech
A binarization technique for extraction of devanagari text from camera based ...
A novel approach to generate face biometric template using binary discriminat...
Performance analysis of high resolution images using interpolation techniques...
Collaborative semantic annotation of images ontology based model
An ensemble classification algorithm for hyperspectral images
Ad

Similar to PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FOR NOISE CANCELLATION (20)

PDF
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
PDF
Paper id 26201481
PDF
Z4301132136
PDF
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
PDF
Real time active noise cancellation using adaptive filters following RLS and ...
PDF
Performance Variation of LMS And Its Different Variants
PDF
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
PDF
Vlsi implementation of adaptive kalman filter for
PDF
Reducting Power Dissipation in Fir Filter: an Analysis
PDF
LMS Adaptive Filters for Noise Cancellation: A Review
PDF
Method to Measure Displacement and Velocityfrom Acceleration Signals
PDF
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
PDF
FOLDED ARCHITECTURE FOR NON CANONICAL LEAST MEAN SQUARE ADAPTIVE DIGITAL FILT...
PDF
FOLDED ARCHITECTURE FOR NON CANONICAL LEAST MEAN SQUARE ADAPTIVE DIGITAL FILT...
PDF
Efficient very large-scale integration architecture design of proportionate-...
PDF
IRJET- Filter Design for Educational Set Via Labview Software Program
PPT
Adaptive Filters.ppt
PDF
The International Journal of Engineering and Science (The IJES)
PDF
Linear Phase FIR Low Pass Filter Design Based on Firefly Algorithm
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
Paper id 26201481
Z4301132136
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
Real time active noise cancellation using adaptive filters following RLS and ...
Performance Variation of LMS And Its Different Variants
DESIGN REALIZATION AND PERFORMANCE EVALUATION OF AN ACOUSTIC ECHO CANCELLATIO...
Vlsi implementation of adaptive kalman filter for
Reducting Power Dissipation in Fir Filter: an Analysis
LMS Adaptive Filters for Noise Cancellation: A Review
Method to Measure Displacement and Velocityfrom Acceleration Signals
Analysis of different FIR Filter Design Method in terms of Resource Utilizati...
FOLDED ARCHITECTURE FOR NON CANONICAL LEAST MEAN SQUARE ADAPTIVE DIGITAL FILT...
FOLDED ARCHITECTURE FOR NON CANONICAL LEAST MEAN SQUARE ADAPTIVE DIGITAL FILT...
Efficient very large-scale integration architecture design of proportionate-...
IRJET- Filter Design for Educational Set Via Labview Software Program
Adaptive Filters.ppt
The International Journal of Engineering and Science (The IJES)
Linear Phase FIR Low Pass Filter Design Based on Firefly Algorithm

Recently uploaded (20)

PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Empathic Computing: Creating Shared Understanding
PPT
Teaching material agriculture food technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Dropbox Q2 2025 Financial Results & Investor Presentation
MYSQL Presentation for SQL database connectivity
Empathic Computing: Creating Shared Understanding
Teaching material agriculture food technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectral efficient network and resource selection model in 5G networks
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The Rise and Fall of 3GPP – Time for a Sabbatical?
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton

PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FOR NOISE CANCELLATION

  • 1. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 DOI : 10.5121/sipij.2013.4304 45 PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FOR NOISE CANCELLATION Jyotsna Yadav1 , Mukesh Kumar2 , Rohini Saxena3 , A. K. Jaiswal4 1 M.Tech Student, SSET, SHIATS, Allahabad, India jyotsna10jul@gmail.com 2 Assistant Professor, SSET, SHIATS, Allahabad, India mukesh044@gmail.com 3 Assistant Professor, SSET, SHIATS, Allahabad, India rohini.saxena@gmail.com 4 Prof. & HOD, ECE, SSET, SHIATS, Allahabad, India akjaiswal@gmail.com ABSTRACT Interest in adaptive filters continues to grow as they begin to find practical real-time applications in areas such as channel equalization, echo cancellation, noise cancellation and many other adaptive signal processing applications. The key to successful adaptive signal processing understands the fundamental properties of adaptive algorithms such as LMS, RLS etc. Adaptive filter is used for the cancellation of the noise component which is overlap with undesired signal in the same frequency range. This paper presents design, implementation and performance comparison of adaptive FIR filter using LMS and RMS algorithms. MATLAB Simulink environment are used for simulations. KEYWORDS FIR, Adaptive Filter, LMS, RLS. 1. INTRODUCTION In the digital signal processing the major problem occurs while deigning the filter, at the receiver processing in order to transmit enormous amount of data within the filter band. Tighter filter parameters are the need of the day. This work represents the performance analysis and comparison between the LMS and RLS Adaptive FIR filter. Interest in adaptive filters continues to grow as they begin to find practical real-time applications in areas such as channel equalization, echo cancellation, noise cancellation and many other adaptive signal processing applications. On the contrary in the case of the Adaptive Filters, they are implemented where ever there is the need for the digital filter’s characteristics to be variable, adapting to changing signal. Adaptive filtering consists of two basic operations; the filtering process which generates an output signal from an input data signal, and the adaptation process which adjusts the filter coefficients in a way to minimize a desired cost function. Basically, there are a large number of filter structures and algorithms that have been used in adaptive filtering applications
  • 2. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 46 Adaptive filters are an important part of signal processing. Adaptive filter is a nonlinear filter since its characteristics are dependent on the input signal and consequently the homogeneity and additivity conditions are not satisfied [7]. The key to successful adaptive signal processing understands the fundamental properties of adaptive algorithms such as LMS, RLS etc. Application of adaptive filter is the cancellation of the noise component, an undesired signal in the same frequency range. 2. ADAPTIVE FIR FILTER Adaptive filters are an important part of signal processing. Adaptive filters adjust its transfer function according to an optimizing algorithm. Due to the complexity of the optimizing algorithms, most adaptive filters are digital filters [7]. Adaptive filters perform digital signal processing and adapt their performance based on the input signal [7]. Adaptive filter can be classified as linear and non-linear adaptive filter. The non-linear adaptive filters have more complicated calculations, but the actual use is still the linear adaptive filter [7]. Figure 1 shows the basic block diagram of the Adaptive FIR Filter. Where X(n) is the input signal, F(n) is the variable filter response, and G(n) is the Desired signal. In this Figure the input signal are connected to the variable filter and gives a output signal, the error signal can minimize the error by separating the actual output and desired signal by adjusting the filter coefficient. Figure 1: Block diagram of the Adaptive FIR Filter
  • 3. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 47 3. ADAPTIVE ALGORITHM 3.1. LMS Algorithm One of the most used algorithm for adaptive filtering is the LMS algorithm. LMS adjusts the adaptive filter taps and modifying them by an amount proportional to the instantaneous estimate of the gradient of the error surface [6]. It neither requires correlation function calculation nor matrix inversions, which makes it simple and easier when compared to other algorithms. Minimization of mean square error is achieved due to the iterative procedure incorporated in it to make successive corrections in the direction of negative of the gradient vector it is represented in following equations [2, 6]. Y (n) = F (n). U (n) (i) E (n) = G (n) – Y (n) (ii) F (n + 1) = F (n) + μ. U (n). E (n) (iii) Where, Y(n) = filter output, X(n) = input signal, E(n) = error signal, G(n) = other observed signal 3.2. RLS Algorithm At each instant, RLS algorithm performs an exact minimization of the sum of the squares of the desired signal estimation errors [3, 4, 6]. The computations begin with known initial conditions and based on the information’s contained in the new data samples, RLS algorithm updates the old estimates. These are its equations: To initialize the algorithm P (n) (inverse correlation matrix) should be made equal to δ-1 where δ (regularization factor) is a small positive constant [2, 6]. Y (n) = F (n). U (n) (i) α (n) = G(n) – F(n) u(n) (ii) π (n) = P(n − 1) u(n) (iii) k(n) = λ + π (n) u(n) (iv) K (n)= ୔(୬ିଵ) ୳(୬) ୩(୬) (v) F(n) = F(n − 1) + K(n) α (n) (vi) P1(n − 1) = K(n). π (n) (vii) P(n) = { P(n − 1) − P1(n − 1) } / λ (viii) Where, F(n) = filter coefficients, K(n) = gain vector, λ = forgetting factor, P(n) = inverse correlation matrix of the input signal α (n), π (n) = positive constant
  • 4. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 48 4. SIMULATION METHODOLOGY The methodology is used for the comparison between the performance of Adaptive FIR filter using Least Mean Square (LMS) and Recursive Least square (RLS) algorithms. This work used MATLAB FDA tool and Simulink environment for the filter realization. We have used a Various Parameters for the simulation are Filter Structure (direct form), Filter length (32), Filter type (type 2), adaptive algorithm (LMS, RLS), Simulation time (30, 50, 80), Design method (Kaiser Window β=0.5), and frequency specifications (Normalized 0-1). Figure-2 and Figure-3 shows the MATLAB implementation of adaptive FIR Filter using LMS and RLS algorithm. Which have four output; input signal, input siganl with noise signal, filter output and error signal produed at scope 1 and weight output (Wts) are produced at the vector scope. LMS and RLS Filters can be used to reduce the noise by seprating the error between the actual output and desired signal mixed. Figure 2: Implemented Adaptive FIR filter using LMS algorithm
  • 5. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 49 Figure 3: Implemented Adaptive FIR filter using RLS algorithm 5. SIMULATION RESULTS Figure 4, 5 and 6 shows the scope output of Adaptive FIR filter using LMS algorithm for simulation time t=30, 50, 80 second respectively. It is observed that as the simulation time increases the error or noise from the signal is effectively removed using LMS filtering. More the simulation time more the reduction of noises from the signal. Figure 4: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 30 seconds
  • 6. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 50 Figure 5: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 50 seconds Figure 6: Scope output of Adaptive FIR filter using LMS algorithm for simulation time 80 seconds Figure 7, 8, 9 shows vector time scope output of Adaptive FIR filter using LMS algorithm for simulation time 15, 30 and 80 second respectively, it is observed that as the simulation time increases the error or noise from the signal is effectively removed. As the simulation time increases the noises in the signal are reduced to almost zero.
  • 7. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 51 Figure 7: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation time 30 seconds Figure 8: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation time 50 seconds
  • 8. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 52 Figure 9: Coefficients Adjustment in the Adaptive FIR Filter using LMS algorithm for simulation time 80 seconds Figure 10, 11, 12 shows scope output of Adaptive FIR filter using RLS algorithm for simulation time t=30, 50, and 80 second respectively. It is observed that as the simulation time increases the error or noise from the signal is removed but not effectively as that of in the case of LMS filtering. Figure 10: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 30 seconds
  • 9. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 53 Figure 11: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 50 seconds Figure 12: Scope output of Adaptive FIR filter using RLS algorithm for simulation time 80 seconds Figure 13, 14, 15 shows time scope output of Adaptive FIR filter using RLS algorithm for simulation time t=30, 50, 80 second respectively. It is observed that as the simulation time
  • 10. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 54 increases the error or noise from the signal is removed but not effectively. As the simulation time increases we found that the noises in the signal are not reduced to zero and still some noises are presents in the signal. Figure 13: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for simulation time 30 seconds Figure 14: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for simulation time 50 seconds
  • 11. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 55 Figure 15: Coefficients Adjustment in the Adaptive FIR Filter using RLS algorithm for simulation time 80 seconds 6. CONCLUSION The implementation and simulation of Adaptive FIR filter using LMS and RLS algorithm have been done using MATLAB Simulink environment and their responses have been studied and compared in various waveforms as given in the simulation results. After comparing these, it shows that as simulation time increases (t=30, 50, 80 sec) in case of LMS filtering the noise is almost reduced from the signal whereas in case of RLS filtering the noise is not completely removed with simulation time. The Adaptive FIR filter using LMS algorithm shows relatively good filtering result, having short filter length, simple structure and simple operation, and it is easy to realize hardware. On the other hand the drawback of LMS algorithm is that the convergence rate is slower. Simulation results show that filter performance is better to the least mean squares algorithm. RLS filtering required large storage capacity and the task of noise reduction is relatively difficult with large hardware. REFERENCES [1] Haykin S., "Adaptive Filter Theory", Prentice-Hall, Inc., 1991. [2] Haykin, S.; Sayed, A.H.; Zeidler, J.R.; Yee, P.; Wei , P.C., "Adaptive tracking of linear time variant systems By extended RLS Algorithm” Signal Processing, IEEE Transactions on, May1997 [3] Saeid Mehrkanoon, Mahmoud Moghavvemi , “Real time ocular and facial muscle artifacts removal from EEG Signals using LMS Adaptive Algorithm International Conference on Intelligence and Advanced System,2007.IEEE. [4] NJ Bershad, JCM Bermudez, “An Affine Combination of Two LMS Adaptive Filter Transient Mean- Squre Analysis” Signal Processing, IEEE Transactions, May 2008.
  • 12. Signal & Image Processing : An International Journal (SIPIJ) Vol.4, No.3, June 2013 56 [5] M.S, VH Nascimento Improving the Tracking Capability of Adaptive Filters via Convex Combination” Signal Processing, IEEE Transactions on, July 2008 [6] K. R. Borisagar, G. R. kulkarni “Simulation and Comparative Analysis of LMS and RLS Algorithms Using Real Time Speech Input Signal” GJRE, 2010. [7] K. R. Borisagar and G. R. Kulkarni “Simulation and performance analysis of adaptive filter in real time noise over conventional fixed filter” International Conference on Communication Systems and Network Technologies, 2012. Author’s profile Prof. Arvind Kumar Jaiswal is working as Head of Department in the Department of Electronics & Communication Engineering in SHIATS, Allahabad, India. He received his M.Sc (Tech). Degree in Electronics & Radio Engineering in the year 1967 from University of Allahabad, India. His research is focused on optical Wireless Networks, Advanced Communication, Antenna and Wave propagation, optical fiber communication and control system. Mukesh Kumar is working as Asst. Prof. in the Department of Electronics &Communication Engineering SHIATS, Allahabad. He received his M.Tech. Degree in Advanced Communication System Engineering from SHIATS, Allahabad, India in 2010. His research is focused on Wireless Sensor Network and Computer Networks Microwave Engineering, and Digital signal processing as well as Optical fiber communication. Rohini Saxena is working as Asst. Prof. in the Department of Electronics & Communication Engineering in SHIATS, Allahabad. She received her M.Tech. Degree in Advanced Communication System Engineering from SHIATS, Allahabad in 2009. Her research is focused on Digital signal processing, Microwave Engineering and Wireless Sensor Network. Jyotsna Yadav is studying as M.tech Scholar in the Department of Electronics & Communication Engineering in SHIATS, Allahabad, India. Her studying branch is Signal processing. Her research is focused on Digital signal processing and wireless networks.