SlideShare a Scribd company logo
1 of 5
Introduction:
In our increasingly mobile society, individuals are prone to doing just about everything
on the move. Listening to music is certainly not an exception. However, when one listens to
music away from the home, one necessarily has less control over noise exposure. Airplane, bus
and car engines are the most common noise distractions as one travels. Lawnmower engines,
others’ speech and music are also frequently encountered. Surely, there is considerable benefit
in obtaining headphones that could perform active noise cancellation – be able to filter out
noise as one encounters it.
What is Noise Cancellation?
Noise cancellation is an active or passive means of reducing sound emissions, often for
personal comfort, environmental considerations or legal compliance. Active noise control is
sound reduction using a power source. Passive noise control is sound reduction by noise-
isolating materials such as insulation, sound-absorbing tiles, or a muffler rather than a power
source.
Active noise canceling is best suited for low frequencies. For higher frequencies, the spacing
requirements for free space and zone of silence techniques become prohibitive. In acoustic
cavity and duct based systems, the number of nodes grows rapidly with increasing frequency,
which quickly makes active noise control techniques unmanageable. Passive treatments
become more effective at higher frequencies and often provide an adequate solution without
the need for active control.
Adaptive Noise Cancellation (ANC) Method:
Sound is a pressure wave, which consists of alternating periods
of compression and rarefaction. A noise-cancellation speaker emits a sound wave with the
same amplitude but with inverted phase (also known as antiphase) to the original sound. The
waves combine to form a new wave, in a process called interference, and effectively cancel
each other out – an effect which is called destructive interference.
Fig. 1: Destructive Interference
Modern active noise control is generally achieved through the use of analog circuits
or digital signal processing. Adaptive algorithms are designed to analyze the waveform of the
background noise, then based on the specific algorithm generate a signal that will either phase
shift or invert the polarity of the original signal. This inverted signal (in antiphase) is then
amplified and a transducer creates a sound wave directly proportional to the amplitude of the
original waveform, creating destructive interference. This effectively reduces the volume of the
perceivable noise.
A noise-cancellation speaker may be co-located with the sound source to be attenuated. In this
case it must have the same audio power level as the source of the unwanted sound.
Alternatively, the transducer emitting the cancellation signal may be located at the location
where sound attenuation is wanted (e.g. the user's ear). This requires a much lower power level
for cancellation but is effective only for a single user. Noise cancellation at other locations is
more difficult as the three-dimensional wave fronts of the unwanted sound and the
cancellation signal could match and create alternating zones of constructive and destructive
interference, reducing noise in some spots while doubling noise in others. In small enclosed
spaces (e.g. the passenger compartment of a car) global noise reduction can be achieved via
multiple speakers and feedback microphones, and measurement of the modal responses of the
enclosure.
Fig. 2: Graphical depiction of active noise reduction
Algorithm:
There are several algorithms used to calculate the “anti-noise” signal. The Least Mean
Square (LMS) algorithm is comprised of two processes – a filtering process producing the
output signal and the estimation error, and an adaptive process responsible for the automatic
adjustment of filter tap weights.
Fig. 3: Sample ANC flowchart with LMS
Code in MATLAB:
%noise cancellation
clc;
clear all;
order=2;
size=2; %time duration of inputs
fs=8192; %digital sampling frequency
t=[0:1/fs:size];
N=fs*size; %size of inputs
f1=35/2; %frequency of voice
f2=99/2; %frequency of noise
voice=cos(2*pi*f1*t);
subplot(4,1,1)
plot(t,voice);
title('voice (do not have access to)')
noise=cos(2*pi*f2*t.^2); %increasing frequency
noise
%noise=.1*rand(1,length(voice)); %white noise
primary=voice+noise;
subplot(4,1,2)
plot(t,primary)
title('primary = voice + noise (input1)')
ref=noise+.25*rand; %noisy noise
subplot(4,1,3)
plot(t,ref)
title('reference (noisy noise) (input2)');
w=zeros(order,1);
mu=.006;
for i=1:N-order
buffer = ref(i:i+order-1); %current 32
points of reference
desired(i) = primary(i)-buffer*w; %dot product
reference and coeffs
w=w+(buffer.*mu*desired(i)/norm(buffer))';%update coeffs
end
subplot(4,1,4)
plot(t(order+1:N),desired)
title('Adaptive output (hopefully it is close to "voice")')
Fig. 4: Output in MATLAB
Application:
It can be used in Noise-cancelling headphones which are headphones that reduce
unwanted ambient sounds using active noise control. This is distinct from passive headphones
which, if they reduce ambient sounds at all, use techniques such as soundproofing.
To cancel the lower-frequency portions of the noise, noise-cancelling headphones
use active noise control. They incorporate a microphone that measures ambient sound,
generate a waveform that is the exact negative of the ambient sound, and mix it with any audio
signal the listener desires.
Drawbacks:
1. Active noise control requires power, usually supplied by a USB port or a battery that
must occasionally be replaced or recharged.
2. Any battery and additional electronics may increase the size and weight of the
headphones compared to regular headphones.
3. The noise-cancelling circuitry may reduce audio quality and add high-frequency hiss,
though reducing the noise may result in higher perceived audio quality.
Conclusion:
Noise cancellation makes it possible to listen to music without raising the volume
excessively. It can also help a passenger sleep in a noisy vehicle such as an airliner. In the
aviation environment, noise-cancelling headphones increase the signal-to-noise
ratio significantly more than passive noise attenuating headphones or no headphones, making
hearing important information such as safety announcements easier. Noise-cancelling
headphones can improve listening enough to completely offset the effect of a distracting
concurrent activity.

More Related Content

What's hot

Transmission line, single and double matching
Transmission line, single and double matchingTransmission line, single and double matching
Transmission line, single and double matchingShankar Gangaju
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation pptsanjeev2419
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter designRohan Nagpal
 
Introduction to Digital Signal Processing
Introduction to Digital Signal ProcessingIntroduction to Digital Signal Processing
Introduction to Digital Signal Processingop205
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellationchintanajoshi
 
Cavity resonators
Cavity resonatorsCavity resonators
Cavity resonatorsAJESWIN
 
Power delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadPower delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadManish Srivastava
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellationChaitanya S
 
Introduction of travelling wave & magnetrons
Introduction of travelling wave & magnetronsIntroduction of travelling wave & magnetrons
Introduction of travelling wave & magnetronsVISHNUBEN
 
presentation on digital signal processing
presentation on digital signal processingpresentation on digital signal processing
presentation on digital signal processingsandhya jois
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingNaveen Jakhar, I.T.S
 
WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)Vikram Purohit
 
Adaptive Noise Cancellation
Adaptive Noise CancellationAdaptive Noise Cancellation
Adaptive Noise Cancellationtazim68
 
Small Scale Multi path measurements
Small Scale Multi path measurements Small Scale Multi path measurements
Small Scale Multi path measurements Siva Ganesan
 
5. 2 ray propagation model part 1
5. 2 ray propagation model   part 15. 2 ray propagation model   part 1
5. 2 ray propagation model part 1JAIGANESH SEKAR
 

What's hot (20)

Transmission line, single and double matching
Transmission line, single and double matchingTransmission line, single and double matching
Transmission line, single and double matching
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
 
Equalization
EqualizationEqualization
Equalization
 
Windowing techniques of fir filter design
Windowing techniques of fir filter designWindowing techniques of fir filter design
Windowing techniques of fir filter design
 
Introduction to Digital Signal Processing
Introduction to Digital Signal ProcessingIntroduction to Digital Signal Processing
Introduction to Digital Signal Processing
 
Adaptive filters
Adaptive filtersAdaptive filters
Adaptive filters
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellation
 
Cavity resonators
Cavity resonatorsCavity resonators
Cavity resonators
 
Power delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spreadPower delay profile,delay spread and doppler spread
Power delay profile,delay spread and doppler spread
 
Types of Sampling in Analog Communication
Types of Sampling in Analog CommunicationTypes of Sampling in Analog Communication
Types of Sampling in Analog Communication
 
Acoustic echo cancellation
Acoustic echo cancellationAcoustic echo cancellation
Acoustic echo cancellation
 
Introduction of travelling wave & magnetrons
Introduction of travelling wave & magnetronsIntroduction of travelling wave & magnetrons
Introduction of travelling wave & magnetrons
 
presentation on digital signal processing
presentation on digital signal processingpresentation on digital signal processing
presentation on digital signal processing
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)WIDE AREA MONITORING SYSTEMS(WAMS)
WIDE AREA MONITORING SYSTEMS(WAMS)
 
Adaptive Noise Cancellation
Adaptive Noise CancellationAdaptive Noise Cancellation
Adaptive Noise Cancellation
 
Small Scale Multi path measurements
Small Scale Multi path measurements Small Scale Multi path measurements
Small Scale Multi path measurements
 
5. 2 ray propagation model part 1
5. 2 ray propagation model   part 15. 2 ray propagation model   part 1
5. 2 ray propagation model part 1
 

Similar to NOISE CANCELATION USING MATLAB

Landscape assignment
Landscape assignmentLandscape assignment
Landscape assignmentPaskal Wanda
 
Specific features of hearing aids
Specific features of hearing aidsSpecific features of hearing aids
Specific features of hearing aidsPra_buddha
 
Noise Control of Vacuum Cleaners
Noise Control of Vacuum CleanersNoise Control of Vacuum Cleaners
Noise Control of Vacuum CleanersHCL Technologies
 
Application of Digital Signal Processing In Echo Cancellation: A Survey
Application of Digital Signal Processing In Echo Cancellation: A SurveyApplication of Digital Signal Processing In Echo Cancellation: A Survey
Application of Digital Signal Processing In Echo Cancellation: A SurveyEditor IJCATR
 
Poster presentations Silent Siren
Poster presentations Silent SirenPoster presentations Silent Siren
Poster presentations Silent SirenZahir_Shari
 
20150211 NAB paper - Audio Loudness Range -John Kean
20150211 NAB paper - Audio Loudness Range -John Kean20150211 NAB paper - Audio Loudness Range -John Kean
20150211 NAB paper - Audio Loudness Range -John KeanJeremy Adams
 
Business Energy Magazine 206-06 Edition - MIRATECH Article
Business Energy Magazine 206-06 Edition - MIRATECH ArticleBusiness Energy Magazine 206-06 Edition - MIRATECH Article
Business Energy Magazine 206-06 Edition - MIRATECH ArticleMehmood Ahmed
 
Module 5 of ME 010 702 DYNAMICS OF MACHINES
Module 5 of ME 010 702 DYNAMICS OF MACHINESModule 5 of ME 010 702 DYNAMICS OF MACHINES
Module 5 of ME 010 702 DYNAMICS OF MACHINESbinil babu
 
Chapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementChapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementNoor Farahin
 
Chapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementChapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementNoor Farahin
 
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfA_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfBala Murugan
 
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Pratik Ghotkar
 
A guideto reductionoftrafficnoise2003
A guideto reductionoftrafficnoise2003A guideto reductionoftrafficnoise2003
A guideto reductionoftrafficnoise2003Self-employed
 
A Brief Review on Advance Acoustic Control System Process of Automotive Muffler
A Brief Review on Advance Acoustic Control System Process of Automotive MufflerA Brief Review on Advance Acoustic Control System Process of Automotive Muffler
A Brief Review on Advance Acoustic Control System Process of Automotive MufflerIOSR Journals
 

Similar to NOISE CANCELATION USING MATLAB (20)

Noise cancellation and supression
Noise cancellation and supressionNoise cancellation and supression
Noise cancellation and supression
 
Landscape assignment
Landscape assignmentLandscape assignment
Landscape assignment
 
Specific features of hearing aids
Specific features of hearing aidsSpecific features of hearing aids
Specific features of hearing aids
 
Audio spotlighting
Audio spotlightingAudio spotlighting
Audio spotlighting
 
Audio spotlighting
Audio spotlightingAudio spotlighting
Audio spotlighting
 
Noise Control of Vacuum Cleaners
Noise Control of Vacuum CleanersNoise Control of Vacuum Cleaners
Noise Control of Vacuum Cleaners
 
Application of Digital Signal Processing In Echo Cancellation: A Survey
Application of Digital Signal Processing In Echo Cancellation: A SurveyApplication of Digital Signal Processing In Echo Cancellation: A Survey
Application of Digital Signal Processing In Echo Cancellation: A Survey
 
Poster presentations Silent Siren
Poster presentations Silent SirenPoster presentations Silent Siren
Poster presentations Silent Siren
 
20150211 NAB paper - Audio Loudness Range -John Kean
20150211 NAB paper - Audio Loudness Range -John Kean20150211 NAB paper - Audio Loudness Range -John Kean
20150211 NAB paper - Audio Loudness Range -John Kean
 
Business Energy Magazine 206-06 Edition - MIRATECH Article
Business Energy Magazine 206-06 Edition - MIRATECH ArticleBusiness Energy Magazine 206-06 Edition - MIRATECH Article
Business Energy Magazine 206-06 Edition - MIRATECH Article
 
Module 5 of ME 010 702 DYNAMICS OF MACHINES
Module 5 of ME 010 702 DYNAMICS OF MACHINESModule 5 of ME 010 702 DYNAMICS OF MACHINES
Module 5 of ME 010 702 DYNAMICS OF MACHINES
 
Noise cancellation
Noise cancellationNoise cancellation
Noise cancellation
 
DC PRESENTATION-1.pptx
DC PRESENTATION-1.pptxDC PRESENTATION-1.pptx
DC PRESENTATION-1.pptx
 
Chapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementChapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurement
 
Chapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurementChapter 8 noise mitigation and measurement
Chapter 8 noise mitigation and measurement
 
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdfA_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
A_Noise_Reduction_Method_Based_on_LMS_Adaptive_Fil.pdf
 
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...Design and Implementation of Polyphase based Subband Adaptive Structure for N...
Design and Implementation of Polyphase based Subband Adaptive Structure for N...
 
A guideto reductionoftrafficnoise2003
A guideto reductionoftrafficnoise2003A guideto reductionoftrafficnoise2003
A guideto reductionoftrafficnoise2003
 
B012130610
B012130610B012130610
B012130610
 
A Brief Review on Advance Acoustic Control System Process of Automotive Muffler
A Brief Review on Advance Acoustic Control System Process of Automotive MufflerA Brief Review on Advance Acoustic Control System Process of Automotive Muffler
A Brief Review on Advance Acoustic Control System Process of Automotive Muffler
 

More from Aniruddha Paul

Infosys papers Aptitude Preparation
Infosys papers Aptitude PreparationInfosys papers Aptitude Preparation
Infosys papers Aptitude PreparationAniruddha Paul
 
C interview questions (campusgate)
C interview questions (campusgate)C interview questions (campusgate)
C interview questions (campusgate)Aniruddha Paul
 
DATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESDATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESAniruddha Paul
 
PYTHON FULL TUTORIAL WITH PROGRAMMS
PYTHON FULL TUTORIAL WITH PROGRAMMSPYTHON FULL TUTORIAL WITH PROGRAMMS
PYTHON FULL TUTORIAL WITH PROGRAMMSAniruddha Paul
 

More from Aniruddha Paul (9)

LTE CONCEPTS.pdf
LTE CONCEPTS.pdfLTE CONCEPTS.pdf
LTE CONCEPTS.pdf
 
Infosys papers Aptitude Preparation
Infosys papers Aptitude PreparationInfosys papers Aptitude Preparation
Infosys papers Aptitude Preparation
 
C interview questions (campusgate)
C interview questions (campusgate)C interview questions (campusgate)
C interview questions (campusgate)
 
DIGITAL INDIA
DIGITAL INDIADIGITAL INDIA
DIGITAL INDIA
 
DATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTESDATA STRUCTURE AND ALGORITHM FULL NOTES
DATA STRUCTURE AND ALGORITHM FULL NOTES
 
PYTHON FULL TUTORIAL WITH PROGRAMMS
PYTHON FULL TUTORIAL WITH PROGRAMMSPYTHON FULL TUTORIAL WITH PROGRAMMS
PYTHON FULL TUTORIAL WITH PROGRAMMS
 
AIR POLLUTION
AIR POLLUTIONAIR POLLUTION
AIR POLLUTION
 
Bhopal gas disaster
Bhopal gas disasterBhopal gas disaster
Bhopal gas disaster
 
Bhopal gas tragedy
Bhopal gas tragedyBhopal gas tragedy
Bhopal gas tragedy
 

Recently uploaded

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 

Recently uploaded (20)

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 

NOISE CANCELATION USING MATLAB

  • 1. Introduction: In our increasingly mobile society, individuals are prone to doing just about everything on the move. Listening to music is certainly not an exception. However, when one listens to music away from the home, one necessarily has less control over noise exposure. Airplane, bus and car engines are the most common noise distractions as one travels. Lawnmower engines, others’ speech and music are also frequently encountered. Surely, there is considerable benefit in obtaining headphones that could perform active noise cancellation – be able to filter out noise as one encounters it. What is Noise Cancellation? Noise cancellation is an active or passive means of reducing sound emissions, often for personal comfort, environmental considerations or legal compliance. Active noise control is sound reduction using a power source. Passive noise control is sound reduction by noise- isolating materials such as insulation, sound-absorbing tiles, or a muffler rather than a power source. Active noise canceling is best suited for low frequencies. For higher frequencies, the spacing requirements for free space and zone of silence techniques become prohibitive. In acoustic cavity and duct based systems, the number of nodes grows rapidly with increasing frequency, which quickly makes active noise control techniques unmanageable. Passive treatments become more effective at higher frequencies and often provide an adequate solution without the need for active control. Adaptive Noise Cancellation (ANC) Method: Sound is a pressure wave, which consists of alternating periods of compression and rarefaction. A noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase (also known as antiphase) to the original sound. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out – an effect which is called destructive interference.
  • 2. Fig. 1: Destructive Interference Modern active noise control is generally achieved through the use of analog circuits or digital signal processing. Adaptive algorithms are designed to analyze the waveform of the background noise, then based on the specific algorithm generate a signal that will either phase shift or invert the polarity of the original signal. This inverted signal (in antiphase) is then amplified and a transducer creates a sound wave directly proportional to the amplitude of the original waveform, creating destructive interference. This effectively reduces the volume of the perceivable noise. A noise-cancellation speaker may be co-located with the sound source to be attenuated. In this case it must have the same audio power level as the source of the unwanted sound. Alternatively, the transducer emitting the cancellation signal may be located at the location where sound attenuation is wanted (e.g. the user's ear). This requires a much lower power level for cancellation but is effective only for a single user. Noise cancellation at other locations is more difficult as the three-dimensional wave fronts of the unwanted sound and the cancellation signal could match and create alternating zones of constructive and destructive interference, reducing noise in some spots while doubling noise in others. In small enclosed spaces (e.g. the passenger compartment of a car) global noise reduction can be achieved via multiple speakers and feedback microphones, and measurement of the modal responses of the enclosure. Fig. 2: Graphical depiction of active noise reduction
  • 3. Algorithm: There are several algorithms used to calculate the “anti-noise” signal. The Least Mean Square (LMS) algorithm is comprised of two processes – a filtering process producing the output signal and the estimation error, and an adaptive process responsible for the automatic adjustment of filter tap weights. Fig. 3: Sample ANC flowchart with LMS Code in MATLAB: %noise cancellation clc; clear all; order=2; size=2; %time duration of inputs fs=8192; %digital sampling frequency t=[0:1/fs:size]; N=fs*size; %size of inputs f1=35/2; %frequency of voice f2=99/2; %frequency of noise voice=cos(2*pi*f1*t); subplot(4,1,1) plot(t,voice); title('voice (do not have access to)') noise=cos(2*pi*f2*t.^2); %increasing frequency noise
  • 4. %noise=.1*rand(1,length(voice)); %white noise primary=voice+noise; subplot(4,1,2) plot(t,primary) title('primary = voice + noise (input1)') ref=noise+.25*rand; %noisy noise subplot(4,1,3) plot(t,ref) title('reference (noisy noise) (input2)'); w=zeros(order,1); mu=.006; for i=1:N-order buffer = ref(i:i+order-1); %current 32 points of reference desired(i) = primary(i)-buffer*w; %dot product reference and coeffs w=w+(buffer.*mu*desired(i)/norm(buffer))';%update coeffs end subplot(4,1,4) plot(t(order+1:N),desired) title('Adaptive output (hopefully it is close to "voice")') Fig. 4: Output in MATLAB
  • 5. Application: It can be used in Noise-cancelling headphones which are headphones that reduce unwanted ambient sounds using active noise control. This is distinct from passive headphones which, if they reduce ambient sounds at all, use techniques such as soundproofing. To cancel the lower-frequency portions of the noise, noise-cancelling headphones use active noise control. They incorporate a microphone that measures ambient sound, generate a waveform that is the exact negative of the ambient sound, and mix it with any audio signal the listener desires. Drawbacks: 1. Active noise control requires power, usually supplied by a USB port or a battery that must occasionally be replaced or recharged. 2. Any battery and additional electronics may increase the size and weight of the headphones compared to regular headphones. 3. The noise-cancelling circuitry may reduce audio quality and add high-frequency hiss, though reducing the noise may result in higher perceived audio quality. Conclusion: Noise cancellation makes it possible to listen to music without raising the volume excessively. It can also help a passenger sleep in a noisy vehicle such as an airliner. In the aviation environment, noise-cancelling headphones increase the signal-to-noise ratio significantly more than passive noise attenuating headphones or no headphones, making hearing important information such as safety announcements easier. Noise-cancelling headphones can improve listening enough to completely offset the effect of a distracting concurrent activity.