This U.S. Patent Application Claims priority under 35 U.S.C. §119(e) to U.S. Provisional Patent Application Ser. No. 61/493,162 filed on Jun. 3, 2011.
- Top of Page
OF THE INVENTION
1. Field of the Invention
The present invention relates generally to personal audio devices such as wireless telephones that include noise cancellation, and more specifically, to a personal audio device in which the anti-noise signal is biased by filtering one or more of the adaptation inputs.
2. Background of the Invention
Wireless telephones, such as mobile/cellular telephones, cordless telephones, and other consumer audio devices, such as MP3 players and headphones or earbuds, are in widespread use. Performance of such devices with respect to intelligibility can be improved by providing noise canceling using a microphone to measure ambient acoustic events and then using signal processing to insert an anti-noise signal into the output of the device to cancel the ambient acoustic events.
The anti-noise signal can be generated using an adaptive filter that takes into account changes in the acoustic environment. However, adaptive noise canceling may cause an increase in apparent noise at certain frequencies due to the adaptive filter acting to decrease the amplitude of noise or other acoustic events at other frequencies, which may result in undesired behavior in a personal audio device.
Therefore, it would be desirable to provide a personal audio device, including a wireless telephone, that provides noise cancellation in a variable acoustic environment that can avoid problems associated with increasing apparent noise in some frequency bands while reducing apparent noise in others.
- Top of Page
OF THE INVENTION
The above stated objective of providing a personal audio device providing noise cancellation in a variable acoustic environment, is accomplished in a personal audio device, a method of operation, and an integrated circuit. The method is a method of operation of the personal audio device and the integrated circuit, which can be incorporated within the personal audio device.
The personal audio device includes a housing, with a transducer mounted on the housing for reproducing an audio signal that includes both source audio for playback to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer. A reference microphone is mounted on the housing to provide a reference microphone signal indicative of the ambient audio sounds. The personal audio device further includes an adaptive noise-canceling (ANC) processing circuit within the housing for adaptively generating an anti-noise signal from the reference microphone signal. An error microphone is included for controlling the adaptation of the anti-noise signal to cancel the ambient audio sounds and for correcting for the electro-acoustic path from the output of the processing circuit through the transducer. The anti-noise signal is generated such that the ambient audio sounds are minimized at the error microphone. One or both of the reference microphone and/or error microphone signals are filtered to weight one or more frequency regions in order to alter a degree of the minimization of the ambient audio sounds in the one or more frequency regions.
The foregoing and other objectives, features, and advantages of the invention will be apparent from the following, more particular, description of the preferred embodiment of the invention, as illustrated in the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
- Top of Page
FIG. 1 is an illustration of a wireless telephone 10 in accordance with an embodiment of the present invention.
FIG. 2 is a block diagram of circuits within wireless telephone 10 in accordance with an embodiment of the present invention.
FIG. 3 is a block diagram depicting signal processing circuits and functional blocks within ANC circuit 30 of CODEC integrated circuit 20 of FIG. 2 in accordance with an embodiment of the present invention.
FIG. 4 is a block diagram depicting signal processing circuits and functional blocks within an integrated circuit in accordance with an embodiment of the present invention.
DESCRIPTION OF ILLUSTRATIVE EMBODIMENT
The present invention encompasses noise canceling techniques and circuits that can be implemented in a personal audio device, such as a wireless telephone. The personal audio device includes an adaptive noise canceling (ANC) circuit that measures the ambient acoustic environment and generates an adaptive anti-noise signal that is injected in the speaker (or other transducer) output to cancel ambient acoustic events. A reference microphone is provided to measure the ambient acoustic environment and an error microphone is included to control adaptation of the anti-noise signal to cancel the ambient acoustic events and to provide estimation of an electro-acoustical path from the output of the ANC circuit through the speaker. An adaptive filter minimizes the ambient acoustic events at the error microphone signal by generating the anti-noise signal from the reference microphone signal using an adaptive filter. The coefficient control inputs of the adaptive filter are provided by the reference microphone signal and the error microphone signal. The ANC processing circuit avoids boosting particular frequencies of the reference microphone signal, thereby increasing noise at those frequencies, by filtering one or both of the reference microphone and error microphone signal provided to the coefficient control inputs of the adaptive filter, in order to alter the minimization of the ambient acoustic events at the error microphone signal. By altering the minimization, boosting of the particular frequencies can be prevented.
Referring now to FIG. 1, a wireless telephone 10 is illustrated in accordance with an embodiment of the present invention is shown in proximity to a human ear 5. Illustrated wireless telephone 10 is an example of a device in which techniques in accordance with embodiments of the invention may be employed, but it is understood that not all of the elements or configurations embodied in illustrated wireless telephone 10, or in the circuits depicted in subsequent illustrations, are required in order to practice the invention recited in the Claims. Wireless telephone 10 includes a transducer such as speaker SPKR that reproduces distant speech received by wireless telephone 10, along with other local audio event such as ringtones, stored audio program material, injection of near-end speech (i.e., the speech of the user of wireless telephone 10) to provide a balanced conversational perception, and other audio that requires reproduction by wireless telephone 10, such as sources from web-pages or other network communications received by wireless telephone 10 and audio indications such as battery low and other system event notifications. A near-speech microphone NS is provided to capture near-end speech, which is transmitted from wireless telephone 10 to the other conversation participant(s).
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\'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 reproduced by speaker SPKR close to ear 5 at an error microphone reference position ERP, when wireless telephone 10 is in close proximity to ear 5. Exemplary circuits 14 within wireless telephone 10 include an audio CODEC integrated circuit 20 that receives the signals from reference microphone R, near speech microphone NS, and from error microphone E. Audio CODEC integrated circuit 20 interfaces with other integrated circuits such as an RF integrated circuit 12 containing the wireless telephone transceiver. In other embodiments of the invention, 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.
In general, the ANC techniques of the present invention measure ambient acoustic events (as opposed to the output of speaker SPKR and/or the near-end speech) impinging on reference microphone R, and also by 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 at error microphone E, i.e. at error microphone reference position ERP. 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) that 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, which 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 is not firmly pressed to ear 5. Since the user of wireless telephone 10 actually hears the output of speaker SPKR at a drum reference position DRP, differences between the signal produced by error microphone E and what is actually heard by the user are shaped by the response of the ear canal, as well as the spatial distance between error microphone reference position ERP and drum reference position DRP. At higher frequencies, the spatial differences lead to multi-path nulls that reduce the effectiveness of the ANC system, and in some cases may increase ambient noise. While the illustrated wireless telephone 10 includes a two microphone ANC system with a third near speech microphone NS, some aspects of the present invention may be practiced in a system that does not include separate error and reference microphones, or a wireless telephone uses near speech microphone NS to perform the function of the reference microphone R. Also, 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, without changing the scope of the invention.
Referring now to FIG. 2, circuits within wireless telephone 10 are shown in a block diagram. CODEC integrated circuit (IC) 20 includes an analog-to-digital converter (ADC) 21A for receiving the reference microphone signal and generating a digital representation ref of the reference microphone signal, an ADC 21B for receiving the error microphone signal and generating a digital representation err of the error microphone signal, and an ADC 21C for receiving the near speech microphone signal and generating a digital representation ns of the near speech microphone signal. CODEC IC 20 generates an output for driving speaker SPKR from an amplifier A1, which amplifies the output of a digital-to-analog converter (DAC) 23 that receives the output of a combiner 26. Combiner 26 combines audio signals is from internal audio sources 24, the anti-noise signal generated by ANC circuit 30, which by convention has the same polarity as the noise in reference microphone signal ref and is therefore subtracted by combiner 26, a portion of near speech microphone signal ns so that the user of wireless telephone 10 hears their own voice in proper relation to downlink speech ds, which is received from radio frequency (RF) integrated circuit 22 and is also combined by combiner 26. Near speech microphone signal ns is also provided to RF integrated circuit 22 and is transmitted as uplink speech to the service provider via antenna ANT.
Referring now to FIG. 3, details of an ANC circuit 30 of FIG. 2 are shown in accordance with an embodiment of the present invention. Adaptive filter 32 receives reference microphone signal ref and under ideal circumstances, adapts its transfer function W(z) to be P(z)/S(z) to generate the anti-noise signal. The coefficients of adaptive filter 32 are controlled by a W coefficient control block 31 that uses a correlation of two signals to determine the response of adaptive filter 32, which generally minimizes, in a least-mean squares sense, those components of reference microphone signal ref that are present in error microphone signal err. The signals provided as inputs to W coefficient control block 31 are the reference microphone signal ref as shaped by a copy of an estimate of the response of path S(z) provided by filter 34B and another signal provided from the output of a combiner 36 that includes error microphone signal err. By transforming reference microphone signal ref with a copy of the estimate of the response of path S(z), SECOPY(z), and minimizing the portion of the error signal that correlates with components of reference microphone signal ref, adaptive filter 32 adapts to the desired response of P(z)/S(z). A filter 37A that has a response Cx(z) as explained in further detail below, processes the output of filter 34B and provides the first input to W coefficient control block 31. The second input to W coefficient control block 31 is processed by another filter 37B having a response of Ce(z). Response Ce(z) has a phase response matched to response Cx(z) of filter 37A. The input to filter 37B includes error microphone signal err and an inverted amount of downlink audio signal ds that has been processed by filter response SE(z) of filter 34A, of which response SECOPY(z) is a copy. Combiner 36 combines error microphone signal err and the inverted downlink audio signal ds. By injecting an inverted amount of downlink audio signal ds, adaptive filter 32 is prevented from adapting to the relatively large amount of downlink audio present in error microphone signal err and by transforming that inverted copy of downlink audio signal ds with the estimate of the response of path S(z), the downlink audio that is removed from error microphone signal err before comparison should match the expected version of downlink audio signal ds reproduced at error microphone signal err, since the electrical and acoustical path of S(z) is the path taken by downlink audio signal ds to arrive at error microphone E.
To implement the above, adaptive filter 34A has coefficients controlled by SE coefficient control block 33, which updates based on correlated components of downlink audio signal ds and an error value. The error value represents error microphone signal err after removal of the above-described filtered downlink audio signal ds, which has been previously filtered by adaptive filter 34A to represent the expected downlink audio delivered to error microphone E. The filtered version of downlink audio signal ds is removed from the output of adaptive filter 34A by combiner 36. SE coefficient control block 33 correlates the actual downlink speech signal ds with the components of downlink audio signal ds that are present in error microphone signal err. Adaptive filter 34A is thereby adapted to generate a signal from downlink audio signal ds, that when subtracted from error microphone signal err, contains the content of error microphone signal err that is not due to downlink audio signal ds.
Under certain circumstances, the anti-noise signal provided from adaptive filter 32 may contain more energy at certain frequencies due to ambient sounds at other frequencies, because W coefficient control block 31 has adjusted the frequency response of adaptive filter 32 to suppress the more energetic signals, while allowing the gain of other regions of the frequency response of adaptive filter 32 to rise, leading to a boost of the ambient noise, or “noise boost”, in the other regions of the frequency response. In particular, response P(z) of the external acoustic path between reference microphone R and the error microphone E will generally include one or more multipath nulls at frequencies where the geometry of wireless telephone becomes significant with respect to the wavelength of sound. Since, due to the multi-path nulls, error microphone signal err will not contain energy correlated to the reference microphone signal ref at the frequencies of the nulls, the response of WADAPT(z) will not model deep nulls due to the lack of excitation at those frequencies as W coefficient control block 31 acts to reduce the average energy of error microphone signal err for components present in reference microphone signal ref. In particular, noise boost is problematic if coefficient control block 31 adjusts the frequency response of adaptive filter 32 to suppress more energetic signals in higher frequency ranges, e.g., between 2 kHz and 5 kHz, where multi-path nulls in paths P(z) generally arise. Therefore, the amplitude portion of response Cx(z) of filter 37A, the amplitude portion of response Ce(z) of filter 37B, or both, are tailored to prevent coefficient control block 31 from boosting noise in one or more particular frequency ranges or particular discrete frequencies. Raising the gain of filter 37A and/or filter 37B at a particular frequency has the effect of increasing the degree to which the anti-noise signal will attempt to cancel the ambient audio at that frequency, while lowering the gain of filter 37A and/or filter 37B at a particular frequency reduces the degree to which the anti-noise signal attempts to cancel the ambient audio at that frequency. In order to preserve stability in the output of W coefficient control 31, response Ce(z) of filter 37B will have a phase response matched to that of response Cx(z) of filter 37A, irrespective of which of filters 37A and 37B has an amplitude response tailored to prevent or limit the above-described noise boost condition.
Referring now to FIG. 4, a block diagram of an ANC system is shown for illustrating ANC techniques in accordance with the embodiment of the invention as illustrated in FIG. 3, as may be implemented within CODEC integrated circuit 20. Reference microphone signal ref is generated by a delta-sigma ADC 41A that operates at 64 times oversampling and the output of which is decimated by a factor of two by a decimator 42A to yield a 32 times oversampled signal. A sigma-delta shaper 43A is used to quantize reference microphone signal ref, which reduces the width of subsequent processing stages, e.g., filter stages 44A and 44B. Since filter stages 44A and 44B are operating at an oversampled rate, sigma-delta shaper 43A can shape the resulting quantization noise into frequency bands where the quantization noise will yield no disruption, e.g., outside of the frequency response range of speaker SPKR, or in which other portions of the circuitry will not pass the quantization noise. Filter stage 44B has a fixed response WFIXED(z) that is generally predetermined to provide a starting point at the estimate of P(z)/S(z) for the particular design of wireless telephone 10 for a typical user. An adaptive portion, WADAPT(z), of the response of the estimate of P(z)/S(z) is provided by adaptive filter stage 44A, which is controlled by a leaky least-means-squared (LMS) coefficient controller 54A. Leaky LMS coefficient controller 54A is leaky in that the response normalizes to flat or otherwise predetermined response over time when no error input is provided to cause leaky LMS coefficient controller 54A to adapt. Providing a leaky controller prevents long-term instabilities that might arise under certain environmental conditions, and in general makes the system more robust against particular sensitivities of the ANC response.
As in the system of FIGS. 2-3, and in the system depicted in FIG. 4, the reference microphone signal is filtered by a copy SECOPY(z) of the estimate of the response of path S(z), by a filter 51 that has a response SECOPY(z), the output of which is decimated by a factor of 32 by a decimator 52A to yield a baseband audio signal that is provided, through an infinite impulse response (IIR) filter 53A to leaky LMS 54A. The error microphone signal err is generated by a delta-sigma ADC 41C that operates at 64 times oversampling and the output of which is decimated by a factor of two by a decimator 42B to yield a 32 times oversampled signal. As in the systems of FIG. 3, an amount of downlink audio ds that has been filtered by an adaptive filter to apply response S(z) is removed from error microphone signal err by a combiner 46C, the output of which is decimated by a factor of 32 by a decimator 52C to yield a baseband audio signal that is provided, through an infinite impulse response (IIR) filter 53B to leaky LMS 54A. Infinite impulse response (IIR) filters 53A and 53B correspond to filters 37A and 37B in FIG. 3, and thus have a matched phase response and one or both of filters 37A and 37B has an amplitude response tailored to prevent noise boost by attenuating or amplifying one or more particular frequencies or frequency bands so that the coefficients determined by leaky LMS 54A do not boost noise at those particular frequencies or bands. For example, IIR filter 53A may include a single peak at 2.5 kHz to prevent noise boost around 2.5 kHz, and IIR filter 53B may have a flat amplitude response, but a phase response matching the filter response of IIR filter 53A.
Response S(z) is produced by another parallel set of filter stages 55A and 55B, one of which, filter stage 55B, has fixed response SEFIXED(z), and the other of which, filter stage 55A, has an adaptive response SEADAPT(z) controlled by leaky LMS coefficient controller 54B. The outputs of filter stages 55A and 55B are combined by a combiner 46E. Similar to the implementation of filter response W(z) described above, response SEFIXED(z) is generally a predetermined response known to provide a suitable starting point under various operating conditions for electrical/acoustical path S(z). A separate control value is provided in the system of FIG. 4 to control filter 51, which is shown as a single filter stage. However, filter 51 could alternatively be implemented using two parallel stages and the same control value used to control adaptive filter stage 55A could then be used to control the adaptive stage in the implementation of filter 51. The inputs to leaky LMS control block 54B are also at baseband, provided by decimating a combination of downlink audio signal ds and internal audio ia, generated by a combiner 46H, by a decimator 52B that decimates by a factor of 32 after a combiner 46C has removed the signal generated from the combined outputs of adaptive filter stage 55A and filter stage 55B that are combined by another combiner 46E. The output of combiner 46C represents error microphone signal err with the components due to downlink audio signal ds removed, which is provided to LMS control block MB after decimation by decimator 52C. The other input to LMS control block MB is the baseband signal produced by decimator 52B.
The above arrangement of baseband and oversampled signaling provides for simplified control and reduced power consumed in the adaptive control blocks, such as leaky LMS controllers 54A and 54B, while providing the tap flexibility afforded by implementing adaptive filter stages 44A-44B, 55A-55B and adaptive filter 51 at the oversampled rates. The remainder of the system of FIG. 4 includes combiner 46H that combines downlink audio ds with internal audio ia, the output of which is provided to the input of a combiner 46D that adds a portion of near-end microphone signal ns that has been generated by sigma-delta ADC 41B and filtered by a sidetone attenuator 56 to provide a correct perception of the user\'s voice during telephone conversations. The output of combiner 46D is shaped by a sigma-delta shaper 43B that provides inputs to filter stages 55A and 55B that has been shaped to shift images outside of bands where filter stages 55A and 55B will have significant response.