1. Field of the Invention
The present invention relates generally to personal audio devices such as wireless telephones that include adaptive noise cancellation (ANC), and more specifically, to control of ANC in a personal audio device that uses a measure of error signal content to control adaptation of secondary and leakage path estimates.
2. Background of the Invention
Wireless telephones, such as mobile/cellular telephones, cordless telephones, and other consumer audio devices, such as MP3 players, 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.
Noise-canceling operation can be improved by measuring the transducer output of a device to determine the effectiveness of the noise-canceling using an error microphone. The measured output of the transducer is ideally the source audio, e.g., downlink audio in a telephone and/or playback audio in either a dedicated audio player or a telephone, since the noise-canceling signal(s) are ideally canceled by the ambient noise at the location of the transducer. To remove the source audio from the error microphone signal, the secondary path from the transducer through the error microphone can be estimated and used to filter the source audio to the correct phase and amplitude for subtraction from the error microphone signal. Similarly, ANC performance can be improved by modeling the leakage path from the transducer to the reference microphone. However, when source audio is absent, the secondary path estimate and leakage path estimate cannot typically be updated. Further, when source audio is low in amplitude, the secondary path estimate and leakage path estimate may not be accurately updated, as the error microphone signal and/or the reference microphone signal may be dominated by other sounds.
Therefore, it would be desirable to provide a personal audio device, including wireless telephones, that provides noise cancellation using a secondary path estimate and/or leakage path estimates to remove the output of the transducer from error and reference signals, respectively, and that can determine whether or not to adapt the secondary path and leakage path estimates.
The above-stated objective of providing a personal audio device providing noise-cancelling including a secondary path and/or leakage path estimate that are adapted when sufficient source audio magnitude relative to ambient sounds is detected, is accomplished in a personal audio device, a method of operation, and an integrated circuit.
The personal audio device includes an output transducer for reproducing an audio signal that includes both source audio for providing to a listener and an anti-noise signal for countering the effects of ambient audio sounds in an acoustic output of the transducer. A microphone provides a measurement of ambient sounds, but that contains a component of source audio due to the transducer output. 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 at least one microphone signal such that the anti-noise signal causes substantial cancellation of the ambient audio sounds. The ANC processing circuit controls adaptation of an adaptive filter by compensating for the electro-acoustical path from the output of the processing circuit through the transducer into the at least one microphone, so that the component of the output of the at least one microphone can be corrected to remove components of source audio due to the transducer output. The ANC processing circuit permits the adaptive filter to adapt only when the content of the at least one microphone signal due to the source audio present in the transducer output relative to the microphone signal content due to the ambient audio is greater than a threshold, in order to properly model the acoustic and electrical paths.
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.
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 a signal that is injected into 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 measure the ambient audio and transducer output at the transducer, thus giving an indication of the effectiveness of the noise cancelation. A secondary path estimating adaptive filter is used to remove the playback audio from the error microphone signal, in order to generate an error signal. A leakage path estimating adaptive filter is used to remove the playback audio from the reference microphone signal to generate a leakage-corrected reference signal. However, depending on the relative amount of the transducer output relative to the ambient audio present in the error microphone signal, the secondary path estimate and leakage path estimate may not be updated properly. Therefore, update of the secondary path estimate and leakage path estimate is halted or otherwise managed when the relative amount of ambient audio to transducer output source audio content present in the error microphone signal exceeds a threshold.
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. 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 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. Alternatively, the ANC circuits may be included within a housing of earbud EB or in a module located along a wired connection between wireless telephone 10 and earbud EB. For the purposes of illustration, the ANC circuits will be described as provided within wireless telephone 10, but the above variations are understandable by a person of ordinary skill in the art and the consequent signals that are required between earbud EB, wireless telephone 10 and a third module, if required, can be easily determined for those variations. A near-speech microphone NS is provided at a housing of wireless telephone 10 to capture near-end speech, which is transmitted from wireless telephone 10 to the other conversation participant(s). Alternatively, near-speech microphone NS may be provided on the outer surface of a housing of earbud EB, or on a boom (earpiece microphone extension) affixed to earbud EB.
In general, the ANC techniques illustrated 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 also measure 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. 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. The estimated response includes 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 earbud EB. Leakage, i.e., acoustic coupling, between speaker SPKR and reference microphone R can cause error in the anti-noise signal generated by the ANC circuits within CODEC IC 20. In particular, desired downlink speech and other internal audio intended for reproduction by speaker SPKR can be partially canceled due to the leakage path L(z) between speaker SPKR and reference microphone R. Since audio measured by reference microphone R is considered to be ambient audio that generally should be canceled, leakage path L(z) represents the portion of the downlink speech and other internal audio that is present in the reference microphone signal and causes the above-described erroneous operation. Therefore, the ANC circuits within CODEC IC 20 include leakage-path modeling circuits that compensate for the presence of leakage path L(z). While the illustrated wireless telephone 10 includes a two microphone ANC system with a third near-speech microphone NS, a system may be constructed that does not include separate error and reference microphones. Alternatively, when near-speech microphone NS is located proximate to speaker SPKR and error microphone E, near-speech microphone NS may be used 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.
Referring now to
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) including downlink audio signal ds and internal audio ia. Source audio (ds+ia) is processed by a filter 34A having response SE(z), of which response SECOPY(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. By injecting an inverted amount of source audio (ds+ia) that has been filtered by response SE(z), adaptive filter 32 is prevented from adapting to the relatively large amount of source audio (ds+ia) present in error microphone signal err. By transforming the inverted copy of downlink audio signal ds and internal audio ia with the estimate of the response of path S(z), the source audio (ds+ia) that is removed from error microphone signal err before processing should match the expected version of downlink audio signal ds and internal audio ia reproduced at error microphone signal err. The source audio (ds+ia) matches the amount of source audio (ds+ia) present in error microphone signal err because the electrical and acoustical path of S(z) is the path taken by source audio (ds+ia) to arrive at error microphone E.
To implement the above, adaptive filter 34A has coefficients controlled by SE coefficient control block 33A, which processes the source audio (ds+ia) and error microphone signal err after removal, by a combiner 36B, of the above-described filtered downlink audio signal ds and internal audio ia, that has been filtered by adaptive filter 34A to represent the expected source audio delivered to error microphone E. Adaptive filter 34A is thereby adapted to generate an error signal e from downlink audio signal ds and internal audio ia, that when subtracted from error microphone signal err, contains the content of error microphone signal err that is not due to source audio (ds+ia). Similarly, LE coefficient control 33B also is adapted to minimize the components of source audio (ds+ia) present in leakage-corrected reference microphone signal ref′, by adapting to generate an output that represents the source audio (ds+ia) present in reference microphone signal ref. However, if downlink audio signal ds and internal audio ia are both absent or low in amplitude, the content of error microphone signal err and reference microphone signal ref will primarily consist of ambient sounds, which may not be suitable for adapting response SE(z) and response LE(z). Therefore, error microphone signal err may have sufficient amplitude, and yet be unsuitable in content to be useful as a training signal for response SE(z). Similarly, reference microphone signal ref may not contain the proper content to train response LE(z). In ANC circuit 30, a source audio detector 35A detects whether sufficient source audio (ds+ia) is present, and a comparison block 39 updates the secondary path estimate and leakage path estimate if sufficient source audio (ds+ia) is present as indicated by the magnitude of control signal Source Level. The threshold applied to determine whether sufficient source audio (ds+ia) is present can be determined from a magnitude of reference microphone signal ref, as determined by a reference level detector 35B, and as indicated by the magnitude of control signal Reference Level. Comparison block 39 determines whether the magnitude of control signal Source Level is sufficiently great compared to the magnitude of control signal Reference Level and de-asserts control signal haltSE to permit SE coefficient control 33A to update response SE(z) only if sufficient source audio (ds+ia) is present. Similarly, comparison block 39 de-asserts control signal haltLE to permit LE coefficient control 33B to update response LE(z) only if sufficient source audio (ds+ia) is present and may apply the same criteria as for control signal haltSE, or a different threshold may be used. Level detector 35B includes both amplitude detection, and optionally filtering, to obtain the magnitude of reference microphone signal ref. In one exemplary implementation, reference level detector 35B uses a wideband root-mean-square (RMS) detector to determine the magnitude of the ambient sounds. In another example, reference level detector 35B includes a filter that filters reference microphone signal ref to select one or more frequency bands before making an RMS amplitude measurement, so that particular frequencies that will cause improper adaptation of response SE(z) and response LE(z) can be prevented from causing such a disruption, while other sources of ambient noise might be permitted while adapting response SE(z) and response LE(z).
An alternative to using source audio detector 35A to determine the relative amount of source audio (ds+ia) present in error microphone signal err, is to use a volume control signal Vol ctrl as an indication of the magnitude of source audio (ds+ia) being reproduced by speaker SPKR. Volume control signal Vol ctrl is applied to source audio (ds+ia) by a gain stage g1, which also controls the amount of source audio (ds+ia) provided to adaptive filter 34A and adaptive filter 34C. Additionally, whether volume control signal Vol ctrl or control signal Source Level is compared to the threshold provided by control signal Reference Level, the degree of coupling between the listener's ear and personal audio device 10 can be estimated by an ear pressure estimation block 38 to further refine the determination of whether response SE(z) and response LE(z) can be adapted. Ear pressure estimation block 38 generates an indication, control signal pressure, of the degree of coupling between the listener's ear and personal audio device 10. Comparison block 39 can then use control signal Pressure to reduce the threshold provided by control signal Reference Level, since a higher value of control signal Pressure generally indicates that the source audio present in the acoustic output of speaker SPKR is more effectively coupled to the listener's ear, and thus for a given level of source audio (ds+ia), the amount of source audio (ds+ia) heard by the listener is increased with respect to the level of ambient noise. Techniques for determining the degree of coupling between the listener's ear and personal audio device 10 that may be used to implement comparison block 39 are disclosed in U.S. Patent Application Publication US20120207317A1 entitled “EAR-COUPLING DETECTION AND ADJUSTMENT OF ADAPTIVE RESPONSE IN NOISE-CANCELING IN PERSONAL AUDIO DEVICES”, the disclosure of which is incorporated herein by reference.
Referring now to
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, as well as other changes in form and details may be made therein without departing from the spirit and scope of the invention.
This U.S. Patent Application Claims priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application Ser. No. 61/645,265 filed on May 10, 2012.
Number | Date | Country | |
---|---|---|---|
61645265 | May 2012 | US |