A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources

Active noise control (ANC) is a real-time process in which a system measures an external, unwanted sound source and produces a canceling waveform. The cancellation is due to destructive interference by a perfect copy of the received signal phase-shifted by 180 degrees. Existing active noise control...

Full description

Bibliographic Details
Main Author: Rocha, Ryan D
Format: Others
Published: DigitalCommons@CalPoly 2014
Subjects:
FFT
Online Access:https://digitalcommons.calpoly.edu/theses/1240
https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=2331&context=theses
id ndltd-CALPOLY-oai-digitalcommons.calpoly.edu-theses-2331
record_format oai_dc
spelling ndltd-CALPOLY-oai-digitalcommons.calpoly.edu-theses-23312019-10-24T15:16:50Z A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources Rocha, Ryan D Active noise control (ANC) is a real-time process in which a system measures an external, unwanted sound source and produces a canceling waveform. The cancellation is due to destructive interference by a perfect copy of the received signal phase-shifted by 180 degrees. Existing active noise control systems process the incoming and outgoing audio on a sample-by-sample basis, requiring a high-speed digital signal processor (DSP) and analog-to-digital converters (ADCs) with strict timing requirements on the order of tens of microseconds. These timing requirements determine the maximum sample rate and bit size as well as the maximum attenuation that the system can achieve. In traditional noise cancellation systems, the general assumption is that all unwanted sound is indeterminate. However, there are many instances in which an unwanted sound source is predictable, such as in the case of a song. This thesis presents a method for active acoustic cancellation of a known audio signal using the frequency characteristics of the known audio signal compared to that of a sampled, filtered excerpt of the same known audio signal. In this procedure, we must first correctly locate the sample index for which a measured audio excerpt begins via the cross-correlation function. Next, we obtain the frequency characteristics of both the known source (WAVE file of the song) and the measured unwanted audio by taking the Fast Fourier Transform (FFT) of each signal, and calculate the effective environmental transfer function (degradation function) by taking the ratio of the two complex frequency-domain results. Finally, we attempt to recreate the environmental audio from the known data and produce an inverted, synchronized, and amplitude-matched signal to cancel the audio via destructive interference. Throughout the process, we employ many signal conditioning methods such as FIR filtering, median filtering, windowing, and deconvolution. We illustrate this frequency-domain method in Native Instruments’ LabVIEW running on the Windows operating system, and discuss its reliability, areas for improvement, and potential future applications in mobile technologies. We show that under ideal conditions (unwanted sound is a known white noise source, and microphone, loudspeaker, and environmental filter frequency responses are all perfectly flat), we can achieve a theoretical maximum attenuation of approximately 300 dB. If we replace the white noise source with an actual song and the environmental filter with a low-order linear filter, then we can achieve maximum attenuation in the range of 50-70 dB. However, in a real-world environment, with additional noise and imperfect microphones, speakers, synchronization, and amplitude-matching, we can expect to see attenuation values in the range of 10-20 dB. 2014-06-01T07:00:00Z text application/pdf https://digitalcommons.calpoly.edu/theses/1240 https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=2331&context=theses Master's Theses and Project Reports DigitalCommons@CalPoly Digital Signal Processing Active Noise Control Discrete Filtering Frequency Domain FFT Signal Processing
collection NDLTD
format Others
sources NDLTD
topic Digital Signal Processing
Active Noise Control
Discrete Filtering
Frequency Domain
FFT
Signal Processing
spellingShingle Digital Signal Processing
Active Noise Control
Discrete Filtering
Frequency Domain
FFT
Signal Processing
Rocha, Ryan D
A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
description Active noise control (ANC) is a real-time process in which a system measures an external, unwanted sound source and produces a canceling waveform. The cancellation is due to destructive interference by a perfect copy of the received signal phase-shifted by 180 degrees. Existing active noise control systems process the incoming and outgoing audio on a sample-by-sample basis, requiring a high-speed digital signal processor (DSP) and analog-to-digital converters (ADCs) with strict timing requirements on the order of tens of microseconds. These timing requirements determine the maximum sample rate and bit size as well as the maximum attenuation that the system can achieve. In traditional noise cancellation systems, the general assumption is that all unwanted sound is indeterminate. However, there are many instances in which an unwanted sound source is predictable, such as in the case of a song. This thesis presents a method for active acoustic cancellation of a known audio signal using the frequency characteristics of the known audio signal compared to that of a sampled, filtered excerpt of the same known audio signal. In this procedure, we must first correctly locate the sample index for which a measured audio excerpt begins via the cross-correlation function. Next, we obtain the frequency characteristics of both the known source (WAVE file of the song) and the measured unwanted audio by taking the Fast Fourier Transform (FFT) of each signal, and calculate the effective environmental transfer function (degradation function) by taking the ratio of the two complex frequency-domain results. Finally, we attempt to recreate the environmental audio from the known data and produce an inverted, synchronized, and amplitude-matched signal to cancel the audio via destructive interference. Throughout the process, we employ many signal conditioning methods such as FIR filtering, median filtering, windowing, and deconvolution. We illustrate this frequency-domain method in Native Instruments’ LabVIEW running on the Windows operating system, and discuss its reliability, areas for improvement, and potential future applications in mobile technologies. We show that under ideal conditions (unwanted sound is a known white noise source, and microphone, loudspeaker, and environmental filter frequency responses are all perfectly flat), we can achieve a theoretical maximum attenuation of approximately 300 dB. If we replace the white noise source with an actual song and the environmental filter with a low-order linear filter, then we can achieve maximum attenuation in the range of 50-70 dB. However, in a real-world environment, with additional noise and imperfect microphones, speakers, synchronization, and amplitude-matching, we can expect to see attenuation values in the range of 10-20 dB.
author Rocha, Ryan D
author_facet Rocha, Ryan D
author_sort Rocha, Ryan D
title A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
title_short A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
title_full A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
title_fullStr A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
title_full_unstemmed A Frequency-Domain Method for Active Acoustic Cancellation of Known Audio Sources
title_sort frequency-domain method for active acoustic cancellation of known audio sources
publisher DigitalCommons@CalPoly
publishDate 2014
url https://digitalcommons.calpoly.edu/theses/1240
https://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=2331&context=theses
work_keys_str_mv AT rocharyand afrequencydomainmethodforactiveacousticcancellationofknownaudiosources
AT rocharyand frequencydomainmethodforactiveacousticcancellationofknownaudiosources
_version_ 1719277445277810688