Power management of adaptive noise cancellation (ANC) in a personal audio device
09773493 · 2017-09-26
Assignee
Inventors
- Yang Lu (Cedar Park, TX, US)
- Dayong Zhou (Austin, TX)
- Jon D. Hendrix (Wimberly, TX)
- Jeffrey Alderson (Austin, TX)
Cpc classification
G10K11/17881
PHYSICS
H04R2499/11
ELECTRICITY
G10K11/17885
PHYSICS
G10K11/1783
PHYSICS
G10K2210/1081
PHYSICS
International classification
Abstract
A personal audio device, such as a wireless telephone, includes an adaptive noise canceling (ANC) circuit that adaptively generates an anti-noise signal from an output of a microphone that measures ambient audio. The anti-noise signal is combined with source audio to provide an output for a speaker. The anti-noise signal causes cancellation of ambient audio sounds that appear at the microphone. A processing circuit estimates a level of background noise from the microphone output and sets a power conservation mode of the personal audio device in response to detecting that the background noise level is lower than a predetermined threshold.
Claims
1. A personal audio device, comprising: a personal audio device housing; a transducer mounted on the housing for reproducing an audio signal including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds; at least one microphone mounted on the housing for providing at least one microphone signal indicative of the ambient audio sounds; and a processing circuit that generates the anti-noise signal using an adaptive filter to reduce the presence of the ambient audio sounds heard by the listener in conformity with the at least one microphone signal, and wherein the processing circuit comprises a first processing portion that implements the adaptive filter and a second processing portion that controls the adaptive filter in conformity with the at least one microphone signal, wherein a first power conservation mode of the first processing portion and a second power conservation mode of the second processing portion are independently selected by the processing circuit from a plurality of operating modes including a full power operating mode and at least one lower-power mode.
2. The personal audio device of claim 1, wherein the processing circuit sets the first power conservation mode of the first processing portion in conformity with a measurement of the at least one microphone signal.
3. The personal audio device of claim 2, wherein the processing circuit estimates a background noise level from the at least one microphone signal and sets the first power conservation mode of the first processing portion in conformity with a magnitude of the estimated background noise level.
4. The personal audio device of claim 3, wherein the processing circuit implements a noise power measurement algorithm that estimates the background noise level from a minimum value of noise sources within a time interval having a predetermined duration, wherein the noise power measurement algorithm measures the at least one microphone signal using a minima-tracking algorithm over the time interval to filter non-stationary noise sources and non-noise sources from the at least one microphone signal.
5. The personal audio device of claim 4, wherein the predetermined duration is adjustable to vary a property of the non-stationary noise sources filtered from the at least one microphone signal.
6. The personal audio device of claim 3, wherein the processing circuit compares the background noise level to multiple thresholds and sets one of multiple power conservation modes of the personal audio device in response to a result of the comparisons.
7. The personal audio device of claim 1, wherein the at least one microphone includes an error microphone that provides an error microphone signal indicative of the ambient audio sounds at an output of the transducer, wherein the second processing portion includes a secondary path adaptive filter that filters a copy of the source audio to generate shaped source audio, wherein the processing circuit subtracts the shaped source audio from the error microphone signal to control the adaptive filter that generates the anti-noise signal, wherein if the second power conservation mode is set to the full-power operating mode, the secondary path adaptive filter is active, and wherein if the second power conservation mode is set to the at least one lower-power mode, the secondary path adaptive filter is deactivated.
8. The personal audio device of claim 7, wherein if the first power conservation mode is set to the full-power operating mode, the adaptive filter that generates the anti-noise signal is active, and wherein if the first power conservation mode is set to the at least one lower-power mode, the adaptive filter that generates the anti-noise signal is deactivated, so that if the first power conservation mode is set to the at least one lower-power operating mode and the second power conservation mode is set to the full-power operating mode, the adaptive filter is deactivated while the secondary path adaptive filter continues to operate.
9. A method of countering effects of ambient audio sounds by a personal audio device, the method comprising: measuring the ambient audio sounds with at least one microphone to generate at least one microphone signal; adaptively generating an anti-noise signal using an adaptive filter to reduce the presence of the ambient audio sounds heard by the listener in conformity with the at least one microphone signal, wherein the adaptive filter has a first processing portion that implements the adaptive filter and a second processing portion that controls the adaptive filter in conformity with the at least one microphone signal; combining the anti-noise signal with source audio; providing a result of the combining to a transducer; and independently selecting a first power conservation mode of the first processing portion and selecting a second power conservation mode of the second processing portion from a plurality of operating modes including a full power operating mode and at least one lower-power mode.
10. The method of claim 9, further comprising setting the first power conservation mode of the first processing portion in conformity with a measurement of the at least one microphone signal.
11. The method of claim 10, further comprising estimating a background noise level from the at least one microphone signal and sets the first power conservation mode of the first processing portion in conformity with a magnitude of the estimated background noise level.
12. The method of claim 11, wherein the estimating comprises estimating the background noise level from a minimum value of noise sources within a time interval having a predetermined duration by measuring the at least one microphone signal using a minima-tracking algorithm over the time interval to filter non-stationary noise sources and non-noise sources from the at least one microphone signal.
13. The method of claim 12, wherein the estimating further comprises adjusting the predetermined duration to vary a property of the non-stationary noise sources filtered from the at least one microphone signal.
14. The method of claim 11, further comprising comparing the background noise level to multiple thresholds, and wherein the setting sets one of multiple power conservation modes of the personal audio device in response to a result of the comparing.
15. The method of claim 9, wherein the at least one microphone includes an error microphone that provides an error microphone signal indicative of the ambient audio sounds at an output of the transducer, wherein the second processing portion includes a secondary path adaptive filter that filters a copy of the source audio to generate shaped source audio and a combiner that subtracts the shaped source audio from the error microphone signal to control the adaptive filter that generates the anti-noise signal, wherein if the independently setting sets the second power conservation mode to the full-power operating mode, the secondary path adaptive filter is active and sets the second power conservation mode to the at least one lower-power mode, the secondary path adaptive filter is deactivated.
16. The method of claim 15, wherein if the first power conservation mode is set to the full-power operating mode, the adaptive filter that generates the anti-noise signal is active, and wherein if the first power conservation mode is set to the at least one lower-power mode, the adaptive filter that generates the anti-noise signal is deactivated, so that if the independently setting sets the first power conservation mode to the at least one lower-power operating mode and sets the second power conservation mode to the full-power operating mode, the adaptive filter is deactivated while the secondary path adaptive filter continues to operate.
17. An integrated circuit for implementing at least a portion of a personal audio device, comprising: an output for providing an output signal to an output transducer including both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds; at least one microphone input for receiving at least one microphone signal indicative of the ambient audio sounds; and a processing circuit that adaptively generates the anti-noise signal using an adaptive filter to reduce the presence of the ambient audio sounds heard by the listener in conformity with the at least one microphone signal, and wherein the processing circuit comprises a first processing portion that implements the adaptive filter and a second processing portion that controls the adaptive filter in conformity with the at least one microphone signal, wherein a first power conservation mode of the first processing portion and a second power conservation mode of the second processing portion are independently set to either of a full power operating mode and at least one lower-power mode by the processing circuit.
18. The integrated circuit of claim 17, wherein the processing circuit sets the first power conservation mode of the first processing portion in conformity with a measurement of the at least one microphone signal.
19. The integrated circuit of claim 18, wherein the processing circuit estimates a background noise level from the at least one microphone signal and sets the first power conservation mode of the first processing portion in conformity with a magnitude of the estimated background noise level.
20. The integrated circuit of claim 19, wherein the processing circuit implements a noise power measurement algorithm that estimates the background noise level from a minimum value of noise sources within a time interval having a predetermined duration, wherein the noise power measurement algorithm measures the at least one microphone signal using a minima-tracking algorithm over the time interval to filter non-stationary noise sources and non-noise sources from the at least one microphone signal.
21. The integrated circuit of claim 20, wherein the predetermined duration is adjustable to vary a property of the non-stationary noise sources filtered from the at least one microphone signal.
22. The integrated circuit of claim 19, wherein the processing circuit compares the background noise level to multiple threshold and sets one of multiple power conservation modes of the personal audio device in response to a result of the comparisons.
23. The integrated circuit of claim 17, wherein the at least one microphone includes an error microphone that provides an error microphone signal indicative of the ambient audio sounds at an output of the transducer, wherein the second processing portion includes a secondary path adaptive filter that filters a copy of the source audio to generate shaped source audio, wherein the processing circuit subtracts the shaped source audio from the error microphone signal to control the adaptive filter that generates the anti-noise signal, wherein if the second power conservation mode is set to the full-power operating mode, the secondary path adaptive filter is active, and wherein if the second power conservation mode is set to the at least one lower-power mode, the secondary path adaptive filter is deactivated.
24. The integrated circuit of claim 23, wherein if the first power conservation mode is set to the full-power operating mode, the adaptive filter that generates the anti-noise signal is active, and wherein if the first power conservation mode is set to the at least one lower-power mode, the adaptive filter that generates the anti-noise signal is deactivated, so that if the first power conservation mode is set to the at least one lower-power operating mode and the second power conservation mode is set to the full-power operating mode, the adaptive filter is deactivated while the secondary path adaptive filter continues to operate.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DESCRIPTION OF ILLUSTRATIVE EMBODIMENT
(7) Noise-canceling techniques and circuits that can be implemented in a personal audio device, such as a wireless telephone, are disclosed. The personal audio device includes an adaptive noise canceling (ANC) circuit that measures the ambient acoustic environment and generates a signal that is injected into the speaker (or other transducer) output to cancel ambient acoustic events. The ANC circuit also estimates the background noise level, and when the background noise level is below a threshold, the ANC circuit sets a power conservation mode of the personal audio device, conserving energy when ANC operation is not required.
(8)
(9) Wireless telephone 10 includes adaptive noise canceling (ANC) circuits and features that inject an anti-noise signal into speaker SPKR to improve intelligibility of the distant speech and other audio reproduced by speaker SPKR. A reference microphone R is provided for measuring the ambient acoustic environment and is positioned away from the typical position of a user/talker's mouth, so that the near-end speech is minimized in the signal produced by reference microphone R. A third microphone, error microphone E, is provided in order to further improve the ANC operation by providing a measure of the ambient audio combined with the audio signal reproduced by speaker SPKR close to ear 5, when wireless telephone 10 is in close proximity to ear 5. Exemplary circuit 14 within wireless telephone 10 includes an audio CODEC integrated circuit 20 that receives the signals from reference microphone R, near speech microphone NS, and error microphone E and interfaces with other integrated circuits such as an RF integrated circuit 12 containing the wireless telephone transceiver. In other implementations, the circuits and techniques disclosed herein may be incorporated in a single integrated circuit that contains control circuits and other functionality for implementing the entirety of the personal audio device, such as an MP3 player-on-a-chip integrated circuit.
(10) In general, the ANC techniques disclosed herein measure ambient acoustic events (as opposed to the output of speaker SPKR and/or the near-end speech) impinging on reference microphone R, and by also measuring the same ambient acoustic events impinging on error microphone E, the ANC processing circuits of illustrated wireless telephone 10 adapt an anti-noise signal generated from the output of reference microphone R to have a characteristic that minimizes the amplitude of the ambient acoustic events present at error microphone E. Since acoustic path P(z) extends from reference microphone R to error microphone E, the ANC circuits are essentially estimating acoustic path P(z) combined with removing effects of an electro-acoustic path S(z). Electro-acoustic path S(z) represents the response of the audio output circuits of CODEC IC 20 and the acoustic/electric transfer function of speaker SPKR including the coupling between speaker SPKR and error microphone E in the particular acoustic environment. Electro-acoustic path S(z) is affected by the proximity and structure of ear 5 and other physical objects and human head structures that may be in proximity to wireless telephone 10, when wireless telephone 10 is not firmly pressed to ear 5. While the illustrated wireless telephone 10 includes a two microphone ANC system with a third near speech microphone NS, other systems that do not include separate error and reference microphones can implement the above-described techniques. Alternatively, near speech microphone NS can be used to perform the function of the reference microphone R in the above-described system. Finally, in personal audio devices designed only for audio playback, near speech microphone NS will generally not be included, and the near-speech signal paths in the circuits described in further detail below can be omitted.
(11) Referring now to
(12) Referring now to
(13) In addition to error microphone signal err, the other signal processed along with the output of filter 34B by W coefficient control block 31 includes an inverted amount of the source audio (ds+ia), which is processed by a filter 34A having response SE(z), of which response SE.sub.COPY(z) is a copy. Filter 34B is not an adaptive filter, per se, but has an adjustable response that is tuned to match the response of adaptive filter 34A, so that the response of filter 34B tracks the adapting of adaptive filter 34A. To implement the above, adaptive filter 34A has coefficients controlled by an SE coefficient control block 33. Adaptive filter 34A processes source audio (ds+ia), to provide a signal representing the expected source audio delivered to error microphone E. Adaptive filter 34A is thereby adapted to generate a signal from source audio (ds+ia), that when subtracted from error microphone signal err, forms an error signal e containing the content of error microphone signal err that is not due to source audio (ds+ia). A combiner 36 removes the filtered source audio (ds+ia) from error microphone signal err to generate error signal e. By removing an amount of source audio that has been filtered by response SE(z), adaptive filter 32 is prevented from adapting to the relatively large amount of source audio present in error microphone signal err.
(14) Within ANC circuit 30, a background noise estimator 35 determines a value corresponding to a background noise level present in reference microphone signal ref. Alternatively other microphone signals could be used as input to background noise estimator 35, such as the outputs of near speech microphone ns or error microphone err. However, reference microphone ref will generally not be occluded by a listener's ear as will error microphone err, and will have less near speech content than near speech microphone ns, and as will be seen below, the background noise level estimate should not include near speech components. A near speech detector 37, which may be the voice activity detector (VAD) used for other purposes within wireless telephone 10, indicates to background noise estimator 35 when near speech is present. Similarly, a wind/scratch detector 38 indicates to background noise estimator 35 when wind or other mechanical noise is present at wireless telephone 10. Wind/scratch detector 38 computes the time derivative of the sum Σ|W.sub.n(z)| of the magnitudes of the coefficients W.sub.n(z) that shape the response of adaptive filter 32, which is an indication of the variation overall gain of the response of adaptive filter 32. Large variations in sum Σ|W.sub.n(z)| indicate that mechanical noise such as that produced by wind incident on reference microphone R or varying mechanical contact (e.g., scratching) on the housing of wireless telephone 10, or other conditions such as an adaptation step size that is too large and causes unstable operation has been used in the system. Wind/scratch detector 38 then compares the time derivative of sum Σ|W.sub.n(z)| to a threshold to determine when mechanical noise is present, and provides an indication of the presence of mechanical noise to background noise estimator 35 while the mechanical noise condition exists. While wind/scratch detector 38 provides one example of wind/scratch measurement, other alternative techniques for detecting wind and/or mechanical noise could be used to provide such an indication to background noise estimator 35. Background noise estimator 35 provides an indication to a power manager 39 of the amount of background noise present in reference microphone signal and power manager generates one or more control signals to control the power-management state of circuits within wireless telephone 10, for example control signal power down as described above. Another power-saving state can be supported, for example, by an optional control signal SE enable that causes a portion of the circuits power-managed by control signal power down to remain enabled.
(15) Referring now to
(16) TABLE-US-00001 TABLE I power down SE enable SE Circuits W Circuits 0 1 Power-up/Enabled Power-up/Enabled 1 1 Power-up/Enabled Power-down/Disabled 1 0 Power-down/Disabled Power-down/Disabled
(17) Referring now to
(18) Referring now to
(19) While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the invention.