SlideShare une entreprise Scribd logo
1  sur  15
Recent Trends in Electrical, Electronics and
Communications Engineering Conference 2014
ITM Universe, Vadodara, Gujarat

Active Noise Cancellation by the modified filtered xLMS algorithm with online secondary path modelling
Author: Nirav Desai
Asst. Professor,
Department of Electronics and Communications Engg.
ITM Universe, Vadodara
(Affiliated to Gujarat Technological University)
Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Active Noise Cancellation: Problem Statement and
System Development

Active Noise Cancellation: Problem Definition

LMS approach to active noise cancellation

System diagram for slow adaptation
Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Classic Least Mean Square Algorithm
𝑒(𝑛) = 𝑑(𝑛) − 𝑦(𝑛) … (1)
𝑦 𝑛 = 𝑥 𝑛 ∗ 𝑤 𝑛 … (2)
𝑦 𝑛 = 𝑦′ 𝑛 …
(3)
𝐶𝑜𝑠𝑡 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐽 𝑛 = 𝐸 𝑒 𝑛 𝑒 𝑛
𝐽 𝑛 = 𝐸 𝑑 𝑛 − 𝑦 𝑛 ∗ 𝑑 𝑛 − 𝑦 𝑛
𝑦 𝑛 = 𝑤 𝑛 ∗ 𝑥 𝑛 … 5
𝑤 𝑛 + 1 = 𝑤 𝑛 + 𝜇𝑥 𝑛 𝑒 𝑛 … 6
System identification using LMS Algorithm

… (4)

Design equations for LMS algorithm

[2] Adaptive
Filter Theory:
Book by Simon
Haykin

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Modified Least Mean Square Algorithm
𝑦 𝑛 = 𝑎1 ∙ 𝑥 𝑛 − 1 + 𝑎2 ∙ 𝑥 𝑛 − 2 + 𝑎3 ∙ 𝑥 𝑛 − 3 … (7)
𝑑 𝑛 = 𝑥 𝑛 … 8
𝑒 𝑛 = 𝑑 𝑛 − 𝑦 𝑛 = 𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3 … (9)
𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3 ∙
𝐸 𝑒 𝑛 ∙ 𝑒 𝑛 = 𝐸
… 10
𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3
𝐸 𝑒 𝑛 2 = 𝜎 2 − 𝑎1𝑅 𝑥𝑥 −1 − 𝑎2𝑅 𝑥𝑥 −2 − 𝑎3𝑅 𝑥𝑥 −3 − 𝑎1𝑅 𝑥𝑥 −1 + 𝑎12 𝑅 𝑥𝑥 0 +
𝑥
𝑎1𝑎2𝑅 𝑥𝑥 −1 + 𝑎1𝑎3𝑅 𝑥𝑥 −2 + 𝑎2𝑎3𝑅 𝑥𝑥 −1 + 𝑎22 𝑅 𝑥𝑥 0 + 𝑎1𝑎2𝑅 𝑥𝑥 −1 −
𝑎2𝑅 𝑥𝑥 −2 − 𝑎3𝑅 𝑥𝑥 3 + 𝑎1𝑎3𝑅 𝑥𝑥 2 + 𝑎2𝑎3𝑅 𝑥𝑥 1 + 𝑎32 𝑅 𝑥𝑥 0 … 11

𝜕𝐸 𝑒 𝑛 2

𝜕𝑎1
𝜕𝐸 𝑒 𝑛 2
𝜕𝑎2
𝜕𝐸 𝑒 𝑛 2
𝜕𝑎3

= 2𝑎2 − 2 𝑅 𝑥𝑥 −1 + 2𝑎1𝑅 𝑥𝑥 0 + 2𝑎3𝑅 𝑥𝑥 2 … 12
= 2𝑎2𝑅 𝑥𝑥 0 + 2𝑎1 + 2𝑎3 𝑅 𝑥𝑥 −1 − 2𝑅 𝑥𝑥 −2 … 13
= 2𝑎3𝑅 𝑥𝑥 0 + 2𝑎2𝑅 𝑥𝑥 1 + 2𝑎1𝑅 𝑥𝑥 2 − 2𝑅 𝑥𝑥 3 … 14

Tap weight updates:
−𝛻𝑎1 = −2𝑅 𝑥𝑥 0 𝑎1 − 𝑅 𝑥𝑥 1 2𝑎2 − 2 𝑎1 − 2𝑅 𝑥𝑥 2 𝑎3 … (15)
−𝛻𝑎2 = −2𝑅 𝑥𝑥 0 𝑎2 − 𝑅 𝑥𝑥 1 2𝑎3 + 2𝑎1 + 2𝑅 𝑥𝑥 2 𝑎2 … (16)
−𝛻𝑎3 = −2𝑅 𝑥𝑥 0 𝑎3 − 𝑅 𝑥𝑥 1 2𝑎2) − 𝑅 𝑥𝑥 (2)(2𝑎1 + 2𝑅 𝑥𝑥 3 𝑎3 … (17)
Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Modified filtered x-LMS with
Online Secondary Path Modelling

FXLMS without modifications
Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Code Snippet for simulation on SCILAB

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Extraction of channel statistics from available data

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Estimation of channel model in 1st, 2nd and 3rd order

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Estimation of noise signal by the FXLMS algorithm

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Adaptive step size used by modified LMS algorithm

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Mean square estimation error of noise by algorithm

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Mean square estimation error w/o modification of
FXLMS algorithm

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
Hardware setup for test of noise cancelling algorithm
Condensor Mic
3mH inductor
Second order
low pass filter
with 10uF
Ceramic capacitors
Arduino UNO
With Atmel
ATMEGA
Microcontroller
Having 8 bit
PWM audio out
Need better hardware such as a Texas Instruments DSP or ARM Cortex M3/M4 processor
Add output drivers, use active filters.
Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
REFERENCES:
[1] Active Noise Control: A Tutorial Review
Sen M. Kuo and Dennis R. Morgan, Senior Member IEEE
PROCEEDINGS OF THE IEEE, VOL. 87, NO. 6, JUNE
1999
[2] Adaptive Filter Theory by Simon Haykin
[3] Active Noise Cancellation System using DSP Processor
G.U.Priyanga, T.Sangeetha, P.Saranya, Mr.B.Prasad
International Journal of Scientific & Engineering Research,
Volume 4, Issue 4, April-2013
Thank you for your attention.
Questions?

Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe

Contenu connexe

Tendances

Tendances (7)

Regression
RegressionRegression
Regression
 
Dataday Texas 2016 - Datadog
Dataday Texas 2016 - DatadogDataday Texas 2016 - Datadog
Dataday Texas 2016 - Datadog
 
PyData NYC 2015 - Automatically Detecting Outliers with Datadog
PyData NYC 2015 - Automatically Detecting Outliers with Datadog PyData NYC 2015 - Automatically Detecting Outliers with Datadog
PyData NYC 2015 - Automatically Detecting Outliers with Datadog
 
Comparison on average, median and wiener filter using lung images
Comparison on average, median and wiener filter using lung imagesComparison on average, median and wiener filter using lung images
Comparison on average, median and wiener filter using lung images
 
Pca ppt
Pca pptPca ppt
Pca ppt
 
Lect14 lines+circles
Lect14 lines+circlesLect14 lines+circles
Lect14 lines+circles
 
Data mining assignment 6
Data mining assignment 6Data mining assignment 6
Data mining assignment 6
 

En vedette

Remote Active Noise Control
Remote Active Noise Control Remote Active Noise Control
Remote Active Noise Control
Iman Ardekani
 
Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)
Iman Ardekani
 
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
Raj Kumar Thenua
 
Automobile exhaust System
Automobile exhaust SystemAutomobile exhaust System
Automobile exhaust System
Mayank Jaggi
 
Noise control in IC engine
Noise control in IC engine Noise control in IC engine
Noise control in IC engine
Bhargav A
 

En vedette (17)

ANC Tutorial (2013)
ANC Tutorial (2013)ANC Tutorial (2013)
ANC Tutorial (2013)
 
ACTIVE NOISE CANCELLATION IN A LABORATORY DUCT USING FUZZY LOGIC AND NEURAL ...
ACTIVE NOISE CANCELLATION IN A LABORATORY DUCT  USING FUZZY LOGIC AND NEURAL ...ACTIVE NOISE CANCELLATION IN A LABORATORY DUCT  USING FUZZY LOGIC AND NEURAL ...
ACTIVE NOISE CANCELLATION IN A LABORATORY DUCT USING FUZZY LOGIC AND NEURAL ...
 
ACTIVE NOISE CONTROL FOR A SINGLE TONE
ACTIVE NOISE CONTROL FOR A SINGLE TONEACTIVE NOISE CONTROL FOR A SINGLE TONE
ACTIVE NOISE CONTROL FOR A SINGLE TONE
 
Laboratory Duct Active noise control using Adaptive Filters
Laboratory Duct Active noise control using Adaptive Filters Laboratory Duct Active noise control using Adaptive Filters
Laboratory Duct Active noise control using Adaptive Filters
 
Remote Active Noise Control
Remote Active Noise Control Remote Active Noise Control
Remote Active Noise Control
 
Noise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using ComputationallyNoise Cancellation in ECG Signals using Computationally
Noise Cancellation in ECG Signals using Computationally
 
Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)Adaptive Active Control of Sound in Smart Rooms (2014)
Adaptive Active Control of Sound in Smart Rooms (2014)
 
Active Noise Control in an Automobile for Road Noise
Active Noise Control in an Automobile for Road NoiseActive Noise Control in an Automobile for Road Noise
Active Noise Control in an Automobile for Road Noise
 
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition ToolboxReal-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
Real-Time Active Noise Cancellation with Simulink and Data Acquisition Toolbox
 
Embedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontrollerEmbedded system programming using Arduino microcontroller
Embedded system programming using Arduino microcontroller
 
Emission control system
Emission control systemEmission control system
Emission control system
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
M.Tech Thesis on Simulation and Hardware Implementation of NLMS algorithm on ...
 
Automobile exhaust System
Automobile exhaust SystemAutomobile exhaust System
Automobile exhaust System
 
noise reduction method on motorcycles
noise reduction method on motorcyclesnoise reduction method on motorcycles
noise reduction method on motorcycles
 
Noise control in IC engine
Noise control in IC engine Noise control in IC engine
Noise control in IC engine
 
Les systèmes embarqués arduino
Les systèmes embarqués arduinoLes systèmes embarqués arduino
Les systèmes embarqués arduino
 

Similaire à Active Noise Reduction by the Filtered xLMS Algorithm

Kernal based speaker specific feature extraction and its applications in iTau...
Kernal based speaker specific feature extraction and its applications in iTau...Kernal based speaker specific feature extraction and its applications in iTau...
Kernal based speaker specific feature extraction and its applications in iTau...
TELKOMNIKA JOURNAL
 

Similaire à Active Noise Reduction by the Filtered xLMS Algorithm (20)

Vibration Reduction on Beams Subjected to Moving Loads by Linear and Nonlinea...
Vibration Reduction on Beams Subjected to Moving Loads by Linear and Nonlinea...Vibration Reduction on Beams Subjected to Moving Loads by Linear and Nonlinea...
Vibration Reduction on Beams Subjected to Moving Loads by Linear and Nonlinea...
 
Sistempertidaksamaanduavariabel2122
Sistempertidaksamaanduavariabel2122Sistempertidaksamaanduavariabel2122
Sistempertidaksamaanduavariabel2122
 
Kernal based speaker specific feature extraction and its applications in iTau...
Kernal based speaker specific feature extraction and its applications in iTau...Kernal based speaker specific feature extraction and its applications in iTau...
Kernal based speaker specific feature extraction and its applications in iTau...
 
Icra 17
Icra 17Icra 17
Icra 17
 
Support Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear EqualizationSupport Vector Machine Techniques for Nonlinear Equalization
Support Vector Machine Techniques for Nonlinear Equalization
 
Machine learning in science and industry — day 1
Machine learning in science and industry — day 1Machine learning in science and industry — day 1
Machine learning in science and industry — day 1
 
A05330107
A05330107A05330107
A05330107
 
DSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptxDSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptx
 
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
Animashree Anandkumar, Electrical Engineering and CS Dept, UC Irvine at MLcon...
 
MLU_DTE_Lecture_2.pptx
MLU_DTE_Lecture_2.pptxMLU_DTE_Lecture_2.pptx
MLU_DTE_Lecture_2.pptx
 
A Method for the Reduction 0f Linear High Order MIMO Systems Using Interlacin...
A Method for the Reduction 0f Linear High Order MIMO Systems Using Interlacin...A Method for the Reduction 0f Linear High Order MIMO Systems Using Interlacin...
A Method for the Reduction 0f Linear High Order MIMO Systems Using Interlacin...
 
document(1).pdf
document(1).pdfdocument(1).pdf
document(1).pdf
 
RNN and sequence-to-sequence processing
RNN and sequence-to-sequence processingRNN and sequence-to-sequence processing
RNN and sequence-to-sequence processing
 
Svm soft margin hyperplanes
Svm   soft margin hyperplanesSvm   soft margin hyperplanes
Svm soft margin hyperplanes
 
Design of Second Order Digital Differentiator and Integrator Using Forward Di...
Design of Second Order Digital Differentiator and Integrator Using Forward Di...Design of Second Order Digital Differentiator and Integrator Using Forward Di...
Design of Second Order Digital Differentiator and Integrator Using Forward Di...
 
Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...Low power vlsi implementation adaptive noise cancellor based on least means s...
Low power vlsi implementation adaptive noise cancellor based on least means s...
 
A Performance Analysis of CLMS and Augmented CLMS Algorithms for Smart Antennas
A Performance Analysis of CLMS and Augmented CLMS Algorithms for Smart Antennas A Performance Analysis of CLMS and Augmented CLMS Algorithms for Smart Antennas
A Performance Analysis of CLMS and Augmented CLMS Algorithms for Smart Antennas
 
Solving Partial Integro Differential Equations using Modified Differential Tr...
Solving Partial Integro Differential Equations using Modified Differential Tr...Solving Partial Integro Differential Equations using Modified Differential Tr...
Solving Partial Integro Differential Equations using Modified Differential Tr...
 
Deep Learning for Search
Deep Learning for SearchDeep Learning for Search
Deep Learning for Search
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
 

Plus de Nirav Desai

Does India need an Infrastructure Budget?
Does India need an Infrastructure Budget?Does India need an Infrastructure Budget?
Does India need an Infrastructure Budget?
Nirav Desai
 
Research presentation
Research presentationResearch presentation
Research presentation
Nirav Desai
 

Plus de Nirav Desai (12)

How to raise money for an NGO
How to raise money for an NGOHow to raise money for an NGO
How to raise money for an NGO
 
Porter’s value chain food retail 2
Porter’s value chain food retail 2Porter’s value chain food retail 2
Porter’s value chain food retail 2
 
Trends in the Energy Industry in India
Trends in the Energy Industry in IndiaTrends in the Energy Industry in India
Trends in the Energy Industry in India
 
SAP LUMIRA TECHNIVERSITY 2014 DEMO JAM PREESNTATION: RISK ANALYSIS OF CROPS G...
SAP LUMIRA TECHNIVERSITY 2014 DEMO JAM PREESNTATION: RISK ANALYSIS OF CROPS G...SAP LUMIRA TECHNIVERSITY 2014 DEMO JAM PREESNTATION: RISK ANALYSIS OF CROPS G...
SAP LUMIRA TECHNIVERSITY 2014 DEMO JAM PREESNTATION: RISK ANALYSIS OF CROPS G...
 
Design of a web portal for farmer's insurance company
Design of a web portal for farmer's insurance companyDesign of a web portal for farmer's insurance company
Design of a web portal for farmer's insurance company
 
A CASE STUDY ON SONY CORPORATION
A CASE STUDY ON SONY CORPORATIONA CASE STUDY ON SONY CORPORATION
A CASE STUDY ON SONY CORPORATION
 
Impact of Strong Rupee on Indian Economy
Impact of Strong Rupee on Indian EconomyImpact of Strong Rupee on Indian Economy
Impact of Strong Rupee on Indian Economy
 
UNION BUDGET 2014
UNION BUDGET 2014UNION BUDGET 2014
UNION BUDGET 2014
 
Design of a low power asynchronous SRAM in 45nM CMOS
Design of a low power asynchronous SRAM in 45nM CMOSDesign of a low power asynchronous SRAM in 45nM CMOS
Design of a low power asynchronous SRAM in 45nM CMOS
 
Design of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOSDesign of a high speed low power Brent Kung Adder in 45nM CMOS
Design of a high speed low power Brent Kung Adder in 45nM CMOS
 
Does India need an Infrastructure Budget?
Does India need an Infrastructure Budget?Does India need an Infrastructure Budget?
Does India need an Infrastructure Budget?
 
Research presentation
Research presentationResearch presentation
Research presentation
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Active Noise Reduction by the Filtered xLMS Algorithm

  • 1. Recent Trends in Electrical, Electronics and Communications Engineering Conference 2014 ITM Universe, Vadodara, Gujarat Active Noise Cancellation by the modified filtered xLMS algorithm with online secondary path modelling Author: Nirav Desai Asst. Professor, Department of Electronics and Communications Engg. ITM Universe, Vadodara (Affiliated to Gujarat Technological University) Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 2. Active Noise Cancellation: Problem Statement and System Development Active Noise Cancellation: Problem Definition LMS approach to active noise cancellation System diagram for slow adaptation Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 3. Classic Least Mean Square Algorithm 𝑒(𝑛) = 𝑑(𝑛) − 𝑦(𝑛) … (1) 𝑦 𝑛 = 𝑥 𝑛 ∗ 𝑤 𝑛 … (2) 𝑦 𝑛 = 𝑦′ 𝑛 … (3) 𝐶𝑜𝑠𝑡 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐽 𝑛 = 𝐸 𝑒 𝑛 𝑒 𝑛 𝐽 𝑛 = 𝐸 𝑑 𝑛 − 𝑦 𝑛 ∗ 𝑑 𝑛 − 𝑦 𝑛 𝑦 𝑛 = 𝑤 𝑛 ∗ 𝑥 𝑛 … 5 𝑤 𝑛 + 1 = 𝑤 𝑛 + 𝜇𝑥 𝑛 𝑒 𝑛 … 6 System identification using LMS Algorithm … (4) Design equations for LMS algorithm [2] Adaptive Filter Theory: Book by Simon Haykin Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 4. Modified Least Mean Square Algorithm 𝑦 𝑛 = 𝑎1 ∙ 𝑥 𝑛 − 1 + 𝑎2 ∙ 𝑥 𝑛 − 2 + 𝑎3 ∙ 𝑥 𝑛 − 3 … (7) 𝑑 𝑛 = 𝑥 𝑛 … 8 𝑒 𝑛 = 𝑑 𝑛 − 𝑦 𝑛 = 𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3 … (9) 𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3 ∙ 𝐸 𝑒 𝑛 ∙ 𝑒 𝑛 = 𝐸 … 10 𝑥 𝑛 − 𝑎1 ∙ 𝑥 𝑛 − 1 − 𝑎2 ∙ 𝑥 𝑛 − 2 − 𝑎3 ∙ 𝑥 𝑛 − 3 𝐸 𝑒 𝑛 2 = 𝜎 2 − 𝑎1𝑅 𝑥𝑥 −1 − 𝑎2𝑅 𝑥𝑥 −2 − 𝑎3𝑅 𝑥𝑥 −3 − 𝑎1𝑅 𝑥𝑥 −1 + 𝑎12 𝑅 𝑥𝑥 0 + 𝑥 𝑎1𝑎2𝑅 𝑥𝑥 −1 + 𝑎1𝑎3𝑅 𝑥𝑥 −2 + 𝑎2𝑎3𝑅 𝑥𝑥 −1 + 𝑎22 𝑅 𝑥𝑥 0 + 𝑎1𝑎2𝑅 𝑥𝑥 −1 − 𝑎2𝑅 𝑥𝑥 −2 − 𝑎3𝑅 𝑥𝑥 3 + 𝑎1𝑎3𝑅 𝑥𝑥 2 + 𝑎2𝑎3𝑅 𝑥𝑥 1 + 𝑎32 𝑅 𝑥𝑥 0 … 11 𝜕𝐸 𝑒 𝑛 2 𝜕𝑎1 𝜕𝐸 𝑒 𝑛 2 𝜕𝑎2 𝜕𝐸 𝑒 𝑛 2 𝜕𝑎3 = 2𝑎2 − 2 𝑅 𝑥𝑥 −1 + 2𝑎1𝑅 𝑥𝑥 0 + 2𝑎3𝑅 𝑥𝑥 2 … 12 = 2𝑎2𝑅 𝑥𝑥 0 + 2𝑎1 + 2𝑎3 𝑅 𝑥𝑥 −1 − 2𝑅 𝑥𝑥 −2 … 13 = 2𝑎3𝑅 𝑥𝑥 0 + 2𝑎2𝑅 𝑥𝑥 1 + 2𝑎1𝑅 𝑥𝑥 2 − 2𝑅 𝑥𝑥 3 … 14 Tap weight updates: −𝛻𝑎1 = −2𝑅 𝑥𝑥 0 𝑎1 − 𝑅 𝑥𝑥 1 2𝑎2 − 2 𝑎1 − 2𝑅 𝑥𝑥 2 𝑎3 … (15) −𝛻𝑎2 = −2𝑅 𝑥𝑥 0 𝑎2 − 𝑅 𝑥𝑥 1 2𝑎3 + 2𝑎1 + 2𝑅 𝑥𝑥 2 𝑎2 … (16) −𝛻𝑎3 = −2𝑅 𝑥𝑥 0 𝑎3 − 𝑅 𝑥𝑥 1 2𝑎2) − 𝑅 𝑥𝑥 (2)(2𝑎1 + 2𝑅 𝑥𝑥 3 𝑎3 … (17) Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 5. Modified filtered x-LMS with Online Secondary Path Modelling FXLMS without modifications Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 6. Code Snippet for simulation on SCILAB Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 7. Extraction of channel statistics from available data Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 8. Estimation of channel model in 1st, 2nd and 3rd order Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 9. Estimation of noise signal by the FXLMS algorithm Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 10. Adaptive step size used by modified LMS algorithm Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 11. Mean square estimation error of noise by algorithm Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 12. Mean square estimation error w/o modification of FXLMS algorithm Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 13. Hardware setup for test of noise cancelling algorithm Condensor Mic 3mH inductor Second order low pass filter with 10uF Ceramic capacitors Arduino UNO With Atmel ATMEGA Microcontroller Having 8 bit PWM audio out Need better hardware such as a Texas Instruments DSP or ARM Cortex M3/M4 processor Add output drivers, use active filters. Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe
  • 14. REFERENCES: [1] Active Noise Control: A Tutorial Review Sen M. Kuo and Dennis R. Morgan, Senior Member IEEE PROCEEDINGS OF THE IEEE, VOL. 87, NO. 6, JUNE 1999 [2] Adaptive Filter Theory by Simon Haykin [3] Active Noise Cancellation System using DSP Processor G.U.Priyanga, T.Sangeetha, P.Saranya, Mr.B.Prasad International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013
  • 15. Thank you for your attention. Questions? Nirav Desai, Asst. Professor, Dept. of ECE, ITM Universe