This disclosure is directed to noise cancellation, and, more specifically, to a system for multi-type active noise cancellation using a hybrid digital-analog design.
In general, noise that is present in a listening environment nearly always compromises the experience of listening to audio through headphones. For instance, in an airplane cabin, noise from the airplane produces unwanted acoustic waves, i.e., noise, that travel to the listener's ears, in addition to the audio program. Other examples include computer and air-conditioning noise of an office or house, vehicle and passenger noise in public or private transportation, or other noisy environments.
In an effort to reduce the amount of noise received by the listener, two major styles of noise reduction have been developed, passive noise reduction and active noise cancellation. Passive noise reduction refers to a reduction in noise caused by placing a physical barrier, which are commonly headphones, between the ear cavity and the noisy outside environment. The amount of noise reduced depends on the quality of the barrier. In general, noise-reduction headphones having more mass provide higher passive noise reduction. Large, heavy headphones may be uncomfortable to wear for extended periods, however. For a given headphone, passive noise reduction works better to reduce the higher frequency noise, while low frequencies may still pass through a passive noise reduction system.
Active noise reduction systems, also called active noise cancellation (ANC), refers to the reduction of noise achieved by playing an anti-noise signal through headphone speakers. The anti-noise signal is generated as an approximation of the negative of the noise signal that would be in the ear cavity in absence of ANC. The noise signal is then neutralized when combined with the anti-noise signal.
In a general noise cancellation process, one or more microphones monitor ambient noise or noise in the earcups of headphones in real-time, then generates the anti-noise signal from the ambient or residual noise. The anti-noise signal may be generated differently depending on factors such as physical shape and size of the headphone, frequency response of the speaker and microphone transducers, latency of the speaker transducer at various frequencies, sensitivity of the microphones, and placement of the speaker and microphone transducers, for example. The variations in the above factors between different headphones and even between the two ear cups of the same headphone system mean that that optimal filter design for generating anti-noise also vary.
Currently no Active Noise Cancellation system exists that can efficiently accommodate all of the variable factors to be considered when generating the anti-noise signal. For instance, digitizing the microphone signals and processing the signal at normal audio rates introduces large latency. Because the ANC performance depends on the ability to detect noise and produce the anti-noise signal soon enough in time to cancel the noise, a large latency is detrimental to ANC performance.
Embodiments of the invention address this and other limitations of the prior art.
Embodiments of the invention are directed to a system for Active Noise Cancellation.
There are three major types of Active Noise Cancellation (ANC), which are distinguished based on microphone placement within the system. In feed-forward ANC, the microphone senses ambient noise but does not appreciably sense audio played back by the speaker. Such a system is illustrated in
In feedback ANC, the microphone is placed in a position to sense the total audio signal present in the ear cavity. In other words, the microphone senses the sum of both the ambient noise as well as the audio played back by the speaker. Such a system is illustrated in
A combined feed-forward and feedback ANC system uses two microphones, a first placed in the feed-forward position as illustrated in
Thus, there are different types of ANC that can be employed in a headphone, feed-forward, feedback, or a combined feed-forward and feedback ANC. As can be appreciated, different ANC systems for headphones also require different filter parameters due to variations in transducer characteristics. Even different earcups of the same headphone may benefit from independently optimized filters. Prior ANC designs were specially tuned with parameters specific to their particular implementation. Embodiments of the invention, conversely, include a system that may be adapted to use a common ANC solution for multiple solutions. By using a digital-analog hybrid design, system topology and filters are selected and implemented digitally in a programmable processor.
Whereas existing systems used fixed topologies and filters, embodiments of the invention use a selectable system to cover many different applications, as described in detail below.
Typical audio processing rates are 44.1 kHz or 48 kHz, which is based on the frequency range of typical human hearing. At these sample rates, the sampling time period is around 20 μs. The digitizing and the filtering in ANC systems invariably take multiple samples. At these rates, the resulting delay is in order of hundreds of microseconds. Because any delay in processing degrades generation of the anti-noise signal, this significantly lower ANC performance. This usually manifests itself as limiting the maximum noise frequency that may be cancelled.
After receiving the audio signal from the audio source 112, it is upsampled in an upsampling processor 130. If the audio signal from the audio source 112 is already in digital form, then the upsampling processor operates on the digital input signal and produces an upsampled digital audio signal from the audio source 112. If instead the audio signal 112 in in analog form, the upsampling processor 130 may include an Analog-to-Digital Converter (ADC). In other embodiments, such an ADC may be separate from the upsampling processor 130.
Embodiments of the invention samples preferably samples the audio signal from the audio source at 384 kHz. At this rate, the sampling period is roughly 2.6 μs. This reduces the extra latency by an order of magnitude compared to the normal audio processing rates. Other embodiments may upsample the input audio signal at a sampling rate of between approximately 192 kHz and 768 kHz, for example. Other embodiments may sample at even higher rates.
After being upsampled, the audio input signal is passed to an ANC processor 140, which performs the ANC functions as described below. The ANC processor 140 includes an input 142 for receiving the upsampled audio input, and an output 144 for outputting an ANC compensated audio signal. The output 144 is sent to a Digital-to-Analog Converter (DAC) 150 for converting back into an audio signal, and then further to an amplifier 152, before being sent to the speaker 114.
As described above, the ANC system 100 includes inputs 160, 170 for feed-forward and feedback signals. These signals are converted to the digital domain through ADCs 170, 176, respectively, which in some embodiments may be delta-sigma ADCs running at 6.144 MHz, although other frequencies are possible. In general, though, the ADCs run at a frequency higher than the upsampler 130. Then, outputs from the ADCs 170, 176 are passed through a decimation filter 180 that outputs signal at 384 kHz in the preferred embodiment, to match the sample rate from the upsampler 130. Although in most embodiments the sampling frequency of the upsampler matches that of the decimator 180, it is not strictly necessary that they be matched.
The decimation filter 180 provides both decimation of the signals from the ADCs 170, 176 as well as filtering of those signals. The decimation filter 180 is designed for low latency. In one embodiment, the filter coefficients for the decimation filter effectively produce a modified sync type of filter, which focuses on removing signal only from the bands that might have aliased into the audible band upon decimation. In this way, the decimation filter 180 operates with lower latency than with typical decimation filter. A frequency response diagram for an example decimation filter 180 is illustrated as
Outputs from the decimator 180 are fed to the ANC processor 140 as a feed-forward microphone input 190 and a feedback microphone input 196, respectively.
In operation, the ANC system 100 samples ambient noise through the feed-forward microphone 122 as well as speaker output through the feedback microphone 128. In general, these microphone samples are fed back to the ANC processor 140, which produces anti-noise signals from the microphone samples and combines them with the input audio signal to provide a noise-reduced audio output for the speaker 114. In other embodiments, depending on the operating mode and setup, only one of the microphones 122, 128 may be present. Detailed discussion of how the ANC processor 140 operates follows.
The ANC processor 200 includes audio input 202, as well as feed-forward microphone input 206 and feedback microphone input 208. It also includes audio output 210, which outputs an ANC-compensated output audio signal.
The ANC processor 200 further includes functions, processes, or operations for applying noise-cancellation signals to the input audio signal. In practice, these functions may be implemented by specially formed hardware circuits, as programmed functions operating on a general-purpose or special-purpose processor, such as a Digital Signal Processor (DSP), or may be implemented in Field Programmable Gate Arrays (FPGAs) or Programmable Logic Devices (PLDs). Other variations are also possible. In general, operations are described in
A sequencer 220 operates to execute functions in the ANC processor 200. The sequencer may operate on instructions stored in an instruction memory 230 that, when executed, perform the ANC function of the ANC processor 200.
Filter parameters are stored in a coefficient or parameter bank 240. In this way, many different filters or filtering functions may be stored within the ANC processor 200. This is much different that prior systems that only use a single or static filter during ANC. Embodiments of the invention, conversely, may store dozens or even hundreds of filter parameters in the parameter bank 240 or in other memory (not illustrated) in the ANC processor 200, or even outside the ANC processor. Particular parameters may be selected in association with a mode selector 270, which allows the ANC processor 200 to switch modes. In operation, the mode selector 270 may be used to switch between feed-forward ANC, feedback ANC, and combined feed-forward and feedback ANC. In other words, the ANC processor 200 is capable of operating in any of those modes. Switching between modes causes various filter parameters or coefficients to be retrieved from the parameter bank 240. The selected mode also causes particular codes to be loaded into the instruction memory 230 for operation by the sequencer 220. Then, in operation, the sequencer 220 steps through instruction memory 230 and operates in conjunction with a floating point engine 250. The floating point engine 250 stores or otherwise accesses the appropriate filter coefficients selected for the particular mode of operation. Then, as the inputs are received from the audio input 2012, as well as one or both of the microphone inputs 206, 208, data is created in a databank 260 by the floating point engine 250. The output of the ANC processor 200 is an ANC-compensated audio signal that has been modified by the selected filter parameters.
The parameter controller 340 may store parameters internally or may be coupled to a global parameter bank 342 that stores parameters that may be chosen or selected by the parameter controller 340 for use in the ANC processor 212. The global parameter bank 342 may be formed of computer memory or other computer storage, for instance.
One advantage to such a system as that described above is that it can be used adaptively. Whereas conventional ANC engines include static parameters, embodiments of the invention can dynamically compute parameter values and write them into the parameter bank, such as the parameter bank 240 of
One dynamic adaptation is adaptive ANC gain.
In operation, If the overall ANC gain is too low, the correlator 350 produces a positive result, which causes the adaptivity controller 360 to increase the gain of the adaptive gain amplifier 310. Conversely, if the ANC gain is too large, the noise signal will change signs, which also causes the output of the correlator 350 to produce a negative result. The negative output of the correlator 350 causes the adaptivity controller 360 to reduce the gain of the adaptive gain amplifier 310. The bandpass filters 326, 346 are selected to ensure that only the relevant spectrum of noise is considered for the calculations in the correlator 350. The lowpass filter 352 filters the output of the correlator 350 to cause a slow moving average to control the adaptivity controller 360.
By using such techniques, any of the filters throughout the ANC system may be turned into adaptive filters. One example of adaptive filters includes selecting various filter parameters to apply a different level of filtering, over time. This could provide, for example, a feathering or fading effect to the noise cancelation or other effects of the ANC. For instance, cancelation effects may be faded in or out when the ANC function is turned on or off, rather than turning on or off abruptly.
In another example, filters may be chosen to enhance, rather than reduce certain sounds or noises. For instance, instead of parameters chosen for their ability to reduce sounds from a particular direction, as described above with reference to
Embodiments of the invention may be incorporated into integrated circuits such as sound processing circuits, or other audio circuitry. In turn, the integrated circuits may be used in audio devices such as headphones, sound bars, audio docks, amplifiers, speakers, etc.
Having described and illustrated the principles of the invention with reference to illustrated embodiments, it will be recognized that the illustrated embodiments may be modified in arrangement and detail without departing from such principles, and may be combined in any desired manner. And although the foregoing discussion has focused on particular embodiments, other configurations are contemplated.
In particular, even though expressions such as “according to an embodiment of the invention” or the like are used herein, these phrases are meant to generally reference embodiment possibilities, and are not intended to limit the invention to particular embodiment configurations. As used herein, these terms may reference the same or different embodiments that are combinable into other embodiments.
Consequently, in view of the wide variety of permutations to the embodiments described herein, this detailed description and accompanying material is intended to be illustrative only, and should not be taken as limiting the scope of the invention.
This application is a continuation of co-pending U.S. patent application Ser. No. 14/148,533, filed Jan. 6, 2014, the content of which is herein fully incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
7619551 | Wu | Nov 2009 | B1 |
9224382 | Clemow | Dec 2015 | B2 |
9824677 | Kwatra | Nov 2017 | B2 |
20110007907 | Hyun et al. | Jan 2011 | A1 |
20120014532 | Kimura | Jan 2012 | A1 |
20140072134 | Po et al. | Mar 2014 | A1 |
20140072135 | Bajic et al. | Mar 2014 | A1 |
20140086425 | Jensen et al. | Mar 2014 | A1 |
20150281836 | Nguyen et al. | Oct 2015 | A1 |
Number | Date | Country | |
---|---|---|---|
20180053497 A1 | Feb 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14148533 | Jan 2014 | US |
Child | 15683592 | US |