SlideShare a Scribd company logo
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1657
Real time active noise cancellation using adaptive filters following RLS
and LMS algorithm
Deepak Pandey, Ankit, Sunder Raj Patel
Deepak Pandey B.I.T. Mesra, Deoghar campus
Ankit B.I.T Mesra, Deoghar campus, Sunder Raj Patel B.I.T. Mesra, Deoghar campus
Assistant Prof. Akash Gupta, Dept. of ECE, B.I.T. Mesra, Deoghar campus, Jharkhand
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract – In this paper we describe adaptive noise
cancellation and demonstrate it using real time speech
signals. The adaptive filterdesigndiscussedhereisbased
on two algorithms RLS (Recursive Least Square) and
LMS (Least Mean Square) and a comparison has been
drawn based on their performance. Adaptive filters find
application because of their dynamic nature and they
work on the principle of destructive interference.
Key Words: Noise signal, Adaptive filter, RLS algorithm,
LMS algorithm, Simulink
1 .INTRODUCTION
Noise has proven to be the bottleneck in deciding the
performance of communication system and its random
nature makes it difficult in designingthesesystems.Filtering
is an application of signal processing which is used to
remove unwanted and spurious signals. The two types of
filtering used are: fixed and adaptive. The difference being,
adaptive filters do not require prior information and hence
are more effective. Adaptive filters are used in many diverse
applications such as echo cancellation, radar signal
processing, navigation systems, and equalization of
communication channels and in biomedical signal
enhancement. The two efficient algorithms for designing of
adaptive filters are RLS and LMS algorithm.
2. LMS algorithm
One of the most widely used algorithm for noisecancellation
using adaptive filter is the Least Mean Squares (LMS)
algorithm. LMS adaptive filters are easy to compute and are
flexible. The method uses a “primary” input containing the
corrupted Signal and a “reference” input containing noise
correlated in some unknown way with the primary noise.
The reference input is adaptively filtered and subtracted
from the primary input to obtain the signal estimate. A
desired signal corrupted by additive noise can often be
recovered by an adaptive noise canceller using the least
mean squares (LMS) algorithm. It then enhances the SNR.
LMS adjusts the adaptive filter coefficients and modify them
by an amount proportional to the instantaneous estimate of
the gradient of the error surface. It neither requires
correlation function calculation nor matrix inversions. LMS
minimizes the power in the error. Minimization of mean
square error is achieved by the repetitive procedure
incorporated in it to make successive corrections in the
direction of negative of the gradient vector which is
represented in the following equations:
y (n) = F (n). x (n) …………………………. (i)
e (n) = d (n) – y (n) ………………………… (ii)
F (n + 1) = F (n) + μ. x (n). e (n)…………….. (iii)
Where,
y (n) = filter output
x (n) = input signal
e (n) = error signal
d (n) = desired output
μ = step size
Simulink specifications:
Filter length- 32
Step size (mu) - 0.08
Leakage factor- 1
Initial value of filter weight – 0
The design method uses a FIR Kaiser windowfilterofsecond
order with beta - 0.5.The value of µ (mu) is critical. If µ is too
small, the filter reacts slowly. If µ is too large, the filter
resolution is poor. The selected value of µ is a compromise.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1658
Figure 1 LMS schematic
Figure 2 Simulation using Simulink
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1659
3. RLS algorithm
The Recursive Least Squares (RLS) algorithm was
introduced in order to provide superior performance
compared to those of the Least Mean Squares (LMS)
algorithm at the expense of increased computational
complexity. In the RLS algorithm, an estimate of the
00autocorrelation matrix is used to decorrelate the voice
signal. Also, the quality of the steady state solution keeps on
improving over time, eventually leading to an optimal
solution. The RLS algorithm recursively solves the least
squares problem. In the following equations, the constantsλ
and δ are user defined that represent the forgetting factor
and regularization parameter respectively. The forgetting
factor is a positive constant less than unity, which gives a
measure of the memory of the algorithm; and the
regularization parameter’s value is determined by the
signal‐to‐noise ratio (SNR) of the signals.
At every moment, Recursive least squares (RLS) algorithm
performs a precise minimization of the whole of the squares
of the wanted sign estimation error. The processing starts
with known initial conditions also, in lightoftheinformation
contained in the new data samples, Recursive least squares
(RLS) algorithm redesigns the old estimates. These are its
equations to introduce the algorithm P (n) (inverse
correlation matrix) should be made equivalent to where δ
(regularization component) is a little positive constant.
y (n) = F (n). u (n) ……………………………….....(i)
α (n) = d(n) – F(n) u(n) ………………………....(ii)
π (n) = P(n − 1) u(n)……………………………...(iii)
k (n) = λ + π (n) u(n)…………………………..….(iv)
K (n) = P(n-1)u(n)/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) } / λ …………...(ix)
Where,
F(n) = filter coefficients
K(n) = gain vector
λ = forgetting factor
P(n) = inverse correlation matrix of the input signal
α (n), π (n) = positive constant.
Simulink specifications:
Filter length- 32
Forgetting factor- 1
Initial value of filter weight – 0.5
The design method uses a FIR Kaiser windowfilterofsecond
order with beta- 0.5
In RLS algorithm, the forgetting factor (λ) has to be chosen
carefully such that its value should be very close to one in
order to ensure stability and convergence of the RLS
algorithm. However, this in turn poses a limitation for the
use of the algorithm because small values of β may be
required for signal tracking if the environment is non-
stationary Z
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1660
Figure 3 RLS schematic
Figure 4 Simulation using Simulink
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072
© 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1661
4. CONCLUSIONS
In this paper, a performance comparison between the LMS
and RLS algorithms has been drawn using the SIMULINK.
The simulations have been done with real time voice signal.
Simulations have shown that theRLSalgorithmoutperforms
the LMS algorithm but this high performance iswitha trade-
off with the high computational complexity of the RLS
algorithm. One of the disadvantages of the RLS algorithm
inspite of its higher convergence rate is its stability if the
autocorrelation matrix is singular.
Furthermore, the performance of the aforementioned
algorithms were similar towhathasbeeninvestigatedby the
SIMULINK software.
REFERENCES
[1] Cesar Augusto, Azurdia Meza Yaqub Jon Mohamadi
“Implementation of the LMS Algorithm for Noise
Cancellation on Speech Using the ARM LPC2378
Processor”, September2009, Report09053ISSN 1650-2647,
ISRN VXU/MSI/ED/E/--09053/--SE
[2] Pranjali M. Awachat, S.S.Godbole“International Journal of
Engineering Research and Applications”(IJERA)ISSN:2248-
9622www.ijera.comVol.2,Issue4,July-August2012,pp.2388-
2391.
[3] Noise cancellation using adaptive algorithm
“International Journal of Modern Engineering Research
(IJMER)”Vol.2, Issue.3, May - June 2012 ISSN: 2249-6645”
pp-792-795.
[4] Soni Changlani & M. K. Gupta, “Simulation of LMS Noise
Canceller Using Simulink”, International Journal On
Emerging Technologies, 2011, ISSN: 0975-8364.
[5] R. Kumar Thenu & S.K. Agarwal, “Hardware
Implementation of Adaptive Algorithms for Noise
Cancellation”, International Conference on Network
Communication and Computer, 2011.
[6] Soni Changlani & Dr. M. K. Gupta, “The applications And
Simulation of Adaptive Filter. In Speech Enhancement”,
International Journal of Computer Engineering and
Architecture Vol. 1, No. 1, June 2011.
[7] NJ Bershad, JCM Bermudez, “An Affine Combination of
Two LMS Adaptive Filter Transient Mean Square Analysis”
Signal Processing IEEE Transactions, May 2008.
[8] Divya, Preeti Singh, Rajesh Mehra “PerformanceAnalysis
of LMS & NLMS Algorithms for Noise Cancellation”
International Journal of Scientific Research Engineering &
Technology (IJSRET) Volume 2 Issue 6 pp. 366-369
September 2013.
[9] Ondracka J., Oravec R., KadlecJ.,Cocherová E.”Simulation
of RLS and LMS algorithm for adaptive noise cancellation in
Matlab.” Department of Radio electronics, FEI STU
Bratislava, Slovak Republic UTIA, CAS Praha, Czech
Republic..
[10] Reena Rani, Dushyant Kumar, Narindar Singh ,“Design
of Adaptive Noise Canceller Using RLS Filter a Review”
International Journal of Advanced Research in Computer
Science and Software Engineering-Volume 2, Issue 11,
November 2012.

More Related Content

PPSX
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
PDF
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
PDF
Vlsi implementation of adaptive kalman filter for
PDF
PDF
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
PDF
Heuristic based adaptive step size clms algorithms for smart antennas
PDF
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
PPTX
Dct and adaptive filters
Simulation and hardware implementation of Adaptive algorithms on tms320 c6713...
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
Vlsi implementation of adaptive kalman filter for
PERFORMANCE ANALYIS OF LMS ADAPTIVE FIR FILTER AND RLS ADAPTIVE FIR FILTER FO...
Heuristic based adaptive step size clms algorithms for smart antennas
FPGA IMPLEMENTATION OF NOISE CANCELLATION USING ADAPTIVE ALGORITHMS
Dct and adaptive filters

What's hot (20)

PPTX
Adaptive filter
PDF
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
PPT
Adaptive filter
PDF
Hardware Implementation of Adaptive Noise Cancellation over DSP Kit TMS320C6713
PPTX
Low power vlsi implementation adaptive noise cancellor based on least means s...
PPTX
Noice canclellation using adaptive filters with adpative algorithms(LMS,NLMS,...
PDF
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
PPTX
Introduction to Adaptive filters
PDF
Dk32696699
PDF
Adaptive filter
PDF
IRJET- Efficient Shift add Implementation of Fir Filter using Variable Pa...
PPT
Digital signal processor part 3
PDF
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L07
PPTX
ADAPTIVE NOISE CANCELLATION
PDF
Adaptive filters
PDF
LMS Adaptive Filters for Noise Cancellation: A Review
PPT
PDF
Resourceful fast dht algorithm for vlsi implementation by split radix algorithm
PDF
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
Adaptive filter
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Adaptive filter
Hardware Implementation of Adaptive Noise Cancellation over DSP Kit TMS320C6713
Low power vlsi implementation adaptive noise cancellor based on least means s...
Noice canclellation using adaptive filters with adpative algorithms(LMS,NLMS,...
IRJET- Chord Classification of an Audio Signal using Artificial Neural Network
Introduction to Adaptive filters
Dk32696699
Adaptive filter
IRJET- Efficient Shift add Implementation of Fir Filter using Variable Pa...
Digital signal processor part 3
Adaptive Digital Filter Design for Linear Noise Cancellation Using Neural Net...
Digital Signal Processing[ECEG-3171]-Ch1_L07
ADAPTIVE NOISE CANCELLATION
Adaptive filters
LMS Adaptive Filters for Noise Cancellation: A Review
Resourceful fast dht algorithm for vlsi implementation by split radix algorithm
DESIGN OF QUATERNARY LOGICAL CIRCUIT USING VOLTAGE AND CURRENT MODE LOGIC
Ad

Similar to Real time active noise cancellation using adaptive filters following RLS and LMS algorithm (20)

PDF
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
PDF
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
PDF
LMS .pdf
PDF
simulation of RLS and LMS in matlab
PDF
A Decisive Filtering Selection Approach For Improved Performance Active Noise...
PDF
PONDICHERRY UNIVERSITY DEPARTMENT OF ELECTRONICS ENGINEERING.pdf
PPSX
Performance analysis of adaptive noise canceller for an ecg signal
PDF
Performance Variation of LMS And Its Different Variants
PDF
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
PDF
Ijrdt11 140004
PDF
Active Noise Cancellation
DOC
PDF
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
PDF
Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study
PDF
Performance_Analysis_of_LMS_Adaptive_FIR_Filter_an.pdf
PDF
Real Time System Identification of Speech Signal Using Tms320c6713
PDF
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
PDF
Simulation of Adaptive Noise Canceller for an ECG signal Analysis
PDF
Cancellation of white and color
PPTX
ACTIVE NOISE CONTROL FOR A SINGLE TONE
Comparison of different Sub-Band Adaptive Noise Canceller with LMS and RLS
P ERFORMANCE A NALYSIS O F A DAPTIVE N OISE C ANCELLER E MPLOYING N LMS A LG...
LMS .pdf
simulation of RLS and LMS in matlab
A Decisive Filtering Selection Approach For Improved Performance Active Noise...
PONDICHERRY UNIVERSITY DEPARTMENT OF ELECTRONICS ENGINEERING.pdf
Performance analysis of adaptive noise canceller for an ecg signal
Performance Variation of LMS And Its Different Variants
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
Ijrdt11 140004
Active Noise Cancellation
A Noise Reduction Method Based on Modified Least Mean Square Algorithm of Rea...
Echo Cancellation Algorithms using Adaptive Filters: A Comparative Study
Performance_Analysis_of_LMS_Adaptive_FIR_Filter_an.pdf
Real Time System Identification of Speech Signal Using Tms320c6713
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Simulation of Adaptive Noise Canceller for an ECG signal Analysis
Cancellation of white and color
ACTIVE NOISE CONTROL FOR A SINGLE TONE
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Well-logging-methods_new................
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
bas. eng. economics group 4 presentation 1.pptx
Construction Project Organization Group 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding
Well-logging-methods_new................
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
CYBER-CRIMES AND SECURITY A guide to understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
OOP with Java - Java Introduction (Basics)
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
R24 SURVEYING LAB MANUAL for civil enggi
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Real time active noise cancellation using adaptive filters following RLS and LMS algorithm

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072 © 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1657 Real time active noise cancellation using adaptive filters following RLS and LMS algorithm Deepak Pandey, Ankit, Sunder Raj Patel Deepak Pandey B.I.T. Mesra, Deoghar campus Ankit B.I.T Mesra, Deoghar campus, Sunder Raj Patel B.I.T. Mesra, Deoghar campus Assistant Prof. Akash Gupta, Dept. of ECE, B.I.T. Mesra, Deoghar campus, Jharkhand ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract – In this paper we describe adaptive noise cancellation and demonstrate it using real time speech signals. The adaptive filterdesigndiscussedhereisbased on two algorithms RLS (Recursive Least Square) and LMS (Least Mean Square) and a comparison has been drawn based on their performance. Adaptive filters find application because of their dynamic nature and they work on the principle of destructive interference. Key Words: Noise signal, Adaptive filter, RLS algorithm, LMS algorithm, Simulink 1 .INTRODUCTION Noise has proven to be the bottleneck in deciding the performance of communication system and its random nature makes it difficult in designingthesesystems.Filtering is an application of signal processing which is used to remove unwanted and spurious signals. The two types of filtering used are: fixed and adaptive. The difference being, adaptive filters do not require prior information and hence are more effective. Adaptive filters are used in many diverse applications such as echo cancellation, radar signal processing, navigation systems, and equalization of communication channels and in biomedical signal enhancement. The two efficient algorithms for designing of adaptive filters are RLS and LMS algorithm. 2. LMS algorithm One of the most widely used algorithm for noisecancellation using adaptive filter is the Least Mean Squares (LMS) algorithm. LMS adaptive filters are easy to compute and are flexible. The method uses a “primary” input containing the corrupted Signal and a “reference” input containing noise correlated in some unknown way with the primary noise. The reference input is adaptively filtered and subtracted from the primary input to obtain the signal estimate. A desired signal corrupted by additive noise can often be recovered by an adaptive noise canceller using the least mean squares (LMS) algorithm. It then enhances the SNR. LMS adjusts the adaptive filter coefficients and modify them by an amount proportional to the instantaneous estimate of the gradient of the error surface. It neither requires correlation function calculation nor matrix inversions. LMS minimizes the power in the error. Minimization of mean square error is achieved by the repetitive procedure incorporated in it to make successive corrections in the direction of negative of the gradient vector which is represented in the following equations: y (n) = F (n). x (n) …………………………. (i) e (n) = d (n) – y (n) ………………………… (ii) F (n + 1) = F (n) + μ. x (n). e (n)…………….. (iii) Where, y (n) = filter output x (n) = input signal e (n) = error signal d (n) = desired output μ = step size Simulink specifications: Filter length- 32 Step size (mu) - 0.08 Leakage factor- 1 Initial value of filter weight – 0 The design method uses a FIR Kaiser windowfilterofsecond order with beta - 0.5.The value of µ (mu) is critical. If µ is too small, the filter reacts slowly. If µ is too large, the filter resolution is poor. The selected value of µ is a compromise.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072 © 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1658 Figure 1 LMS schematic Figure 2 Simulation using Simulink
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072 © 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1659 3. RLS algorithm The Recursive Least Squares (RLS) algorithm was introduced in order to provide superior performance compared to those of the Least Mean Squares (LMS) algorithm at the expense of increased computational complexity. In the RLS algorithm, an estimate of the 00autocorrelation matrix is used to decorrelate the voice signal. Also, the quality of the steady state solution keeps on improving over time, eventually leading to an optimal solution. The RLS algorithm recursively solves the least squares problem. In the following equations, the constantsλ and δ are user defined that represent the forgetting factor and regularization parameter respectively. The forgetting factor is a positive constant less than unity, which gives a measure of the memory of the algorithm; and the regularization parameter’s value is determined by the signal‐to‐noise ratio (SNR) of the signals. At every moment, Recursive least squares (RLS) algorithm performs a precise minimization of the whole of the squares of the wanted sign estimation error. The processing starts with known initial conditions also, in lightoftheinformation contained in the new data samples, Recursive least squares (RLS) algorithm redesigns the old estimates. These are its equations to introduce the algorithm P (n) (inverse correlation matrix) should be made equivalent to where δ (regularization component) is a little positive constant. y (n) = F (n). u (n) ……………………………….....(i) α (n) = d(n) – F(n) u(n) ………………………....(ii) π (n) = P(n − 1) u(n)……………………………...(iii) k (n) = λ + π (n) u(n)…………………………..….(iv) K (n) = P(n-1)u(n)/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) } / λ …………...(ix) Where, F(n) = filter coefficients K(n) = gain vector λ = forgetting factor P(n) = inverse correlation matrix of the input signal α (n), π (n) = positive constant. Simulink specifications: Filter length- 32 Forgetting factor- 1 Initial value of filter weight – 0.5 The design method uses a FIR Kaiser windowfilterofsecond order with beta- 0.5 In RLS algorithm, the forgetting factor (λ) has to be chosen carefully such that its value should be very close to one in order to ensure stability and convergence of the RLS algorithm. However, this in turn poses a limitation for the use of the algorithm because small values of β may be required for signal tracking if the environment is non- stationary Z
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072 © 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1660 Figure 3 RLS schematic Figure 4 Simulation using Simulink
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 03 Issue: 02 | Feb-2016 www.irjet.net p-ISSN: 2395-0072 © 2016, IRJET | Impact Factor value: 4.45 | ISO 9001:2008 Certified Journal | Page 1661 4. CONCLUSIONS In this paper, a performance comparison between the LMS and RLS algorithms has been drawn using the SIMULINK. The simulations have been done with real time voice signal. Simulations have shown that theRLSalgorithmoutperforms the LMS algorithm but this high performance iswitha trade- off with the high computational complexity of the RLS algorithm. One of the disadvantages of the RLS algorithm inspite of its higher convergence rate is its stability if the autocorrelation matrix is singular. Furthermore, the performance of the aforementioned algorithms were similar towhathasbeeninvestigatedby the SIMULINK software. REFERENCES [1] Cesar Augusto, Azurdia Meza Yaqub Jon Mohamadi “Implementation of the LMS Algorithm for Noise Cancellation on Speech Using the ARM LPC2378 Processor”, September2009, Report09053ISSN 1650-2647, ISRN VXU/MSI/ED/E/--09053/--SE [2] Pranjali M. Awachat, S.S.Godbole“International Journal of Engineering Research and Applications”(IJERA)ISSN:2248- 9622www.ijera.comVol.2,Issue4,July-August2012,pp.2388- 2391. [3] Noise cancellation using adaptive algorithm “International Journal of Modern Engineering Research (IJMER)”Vol.2, Issue.3, May - June 2012 ISSN: 2249-6645” pp-792-795. [4] Soni Changlani & M. K. Gupta, “Simulation of LMS Noise Canceller Using Simulink”, International Journal On Emerging Technologies, 2011, ISSN: 0975-8364. [5] R. Kumar Thenu & S.K. Agarwal, “Hardware Implementation of Adaptive Algorithms for Noise Cancellation”, International Conference on Network Communication and Computer, 2011. [6] Soni Changlani & Dr. M. K. Gupta, “The applications And Simulation of Adaptive Filter. In Speech Enhancement”, International Journal of Computer Engineering and Architecture Vol. 1, No. 1, June 2011. [7] NJ Bershad, JCM Bermudez, “An Affine Combination of Two LMS Adaptive Filter Transient Mean Square Analysis” Signal Processing IEEE Transactions, May 2008. [8] Divya, Preeti Singh, Rajesh Mehra “PerformanceAnalysis of LMS & NLMS Algorithms for Noise Cancellation” International Journal of Scientific Research Engineering & Technology (IJSRET) Volume 2 Issue 6 pp. 366-369 September 2013. [9] Ondracka J., Oravec R., KadlecJ.,Cocherová E.”Simulation of RLS and LMS algorithm for adaptive noise cancellation in Matlab.” Department of Radio electronics, FEI STU Bratislava, Slovak Republic UTIA, CAS Praha, Czech Republic.. [10] Reena Rani, Dushyant Kumar, Narindar Singh ,“Design of Adaptive Noise Canceller Using RLS Filter a Review” International Journal of Advanced Research in Computer Science and Software Engineering-Volume 2, Issue 11, November 2012.