Adaptive feedback processing for consistent headphone acoustic noise cancellation
11355096 · 2022-06-07
Assignee
Inventors
Cpc classification
G10K11/17875
PHYSICS
G10K11/17881
PHYSICS
G10K11/17817
PHYSICS
International classification
Abstract
An internal microphone signal of a headphone is filtered by i) a first filter G that, as part of an acoustic noise cancellation, ANC, subsystem, produces an anti-noise audio signal, and ii) a second filter C to produce a feedback audio signal. An estimate of a transfer function of a path S is determined, wherein the path S is from i) an input of a speaker of the headphone to ii) the internal microphone signal. The second filter C is adapted based on the estimate of the transfer function of the path S drives an input of a speaker of the headphone. Other embodiments are also described.
Claims
1. An audio signal processing method for a headphone, comprising: filtering an internal microphone signal of a headphone by i) a first filter G that, as part of an acoustic noise cancellation, ANC, subsystem, produces an anti-noise audio signal, and ii) a second filter C to produce a feedback audio signal, wherein the first filter and the second filter operate based on the same audio frame of the internal microphone signal; determining an estimate of a transfer function of a path S, wherein the path S is from i) an input of a speaker of the headphone to ii) the internal microphone signal; adapting the second filter C based on the estimate of the transfer function of the path S; and driving by the feedback audio signal an input of a speaker of the headphone.
2. The method of claim 1 wherein the second filter C comprises a plurality of biquads, and adapting the second filter C comprises computing a plurality of gain parameters using the estimate of the transfer function of the path S; scaling a plurality of template functions by the plurality of gain parameters, respectively; and computing filter coefficients of the plurality of biquads based on scaling the plurality of template functions.
3. The method of claim 1 wherein adapting the second filter C comprises performing a least squares estimation to directly produce digital filter coefficients of the second filter C.
4. The method of claim 1 wherein adapting the second filter C comprises altering a transfer function of the second filter C from 10 Hz to 10 kHz.
5. The method of claim 1 further comprising removing from the internal microphone signal a contribution by a user content audio signal, before filtering by the first filter G.
6. The method of claim 1 wherein the second filter C comprises a plurality of infinite impulse response biquad filters coupled in cascade, and wherein every one of the biquad filters is updated based on a same estimate of the transfer function of the path S.
7. The method of claim 6 wherein the second filter C has a transfer function that is an inverse of a minimum phase version of the estimate of the transfer function of the path S.
8. The method of claim 1 further comprising: filtering an external microphone signal of the headphone by third filter W, to produce a feedforward audio signal; and combining the feedforward audio signal with the feedback audio signal for driving the input of the speaker.
9. The method of claim 8 wherein the third filter is part an ANC subsystem and produces an anti-noise signal.
10. The method of claim 8 further comprising combining the feedforward audio signal and the feedback audio signal with a user content audio signal for driving the input of the speaker; and removing from the internal microphone signal a contribution by the user content audio signal, before filtering by the first filter G.
11. The method of claim 10 further comprising filtering the user content audio signal by a fourth filter, before combining the filtered user content audio signal with the feedforward and feedback audio signals wherein the fourth filter is fixed or is updated less frequently than the second filter C.
12. The method of claim 1 wherein determining the estimate of the transfer function of the path S comprises performing an adaptive filter algorithm that repeatedly updates the estimate of the transfer function on a per audio frame basis.
13. A headphone audio system comprising: a headphone housing having integrated therein an internal microphone to produce an internal microphone signal, and a speaker; a processor; and memory having stored therein instructions that configure the processor to filter the internal microphone signal by i) a first filter G that, as part of an acoustic noise cancellation, ANC, subsystem, produces an anti-noise audio signal, and ii) a second filter C to produce a feedback audio signal, wherein the first filter is coupled in cascade with the second filter, determine an estimate of a transfer function of a path S, wherein the path S is from i) an input of the speaker to ii) the internal microphone signal, adapt the second filter C based on the estimate of the transfer function of the path S, and drive the input of the speaker with the feedback audio signal.
14. The headphone audio system of claim 13 wherein the processor and memory are integrated in the headphone housing.
15. The headphone audio system of claim 13 wherein the second filter C comprises a plurality of biquads, and the processor adapts the second filter C by determining a least squares fit of the estimate of the transfer function of the path S using a plurality of template functions, and computing filter coefficients of the biquads based on the least squares fit.
16. The headphone audio system of claim 13 wherein processor adapts the second filter C by altering a transfer function of the second filter C from 10 Hz to 10 kHz.
17. The headphone audio system of claim 13 wherein the processor removes from the internal microphone signal a contribution by a user content audio signal, before filtering by the first filter G.
18. The headphone audio system of claim 13 wherein the second filter C comprises a plurality of infinite impulse response biquad filters coupled in cascade, and wherein every one of the biquad filters is updated based on a same estimate of the transfer function of the path S.
19. The headphone audio system of claim 13 wherein the second filter C has a transfer function that is an inverse of a minimum phase version of the estimate of the transfer function of the path S.
20. The headphone audio system of claim 13 further comprising an external microphone integrated in the headphone housing, and wherein the memory has stored therein further instructions that configure the processor to: filter an external microphone signal produced by the external microphone by a third filter W, to produce a feedforward audio signal; and combine the feedforward audio signal with the feedback audio signal for driving the input of the speaker.
21. A processor for use with a headphone, the processor comprising a processor configured to: filter an internal microphone signal by i) a first filter that, as part of an acoustic noise cancellation, ANC, subsystem, produces an anti-noise audio signal, and ii) a second filter that produces a feedback audio signal, wherein the first filter and the second filter are coupled in cascade, determine an estimate of a transfer function of a path S, wherein the path S is from i) an input of a speaker to ii) the internal microphone signal, adapt the second filter based on the estimate of the transfer function of the path S, and drive the input of the speaker with the feedback audio signal.
22. The processor of claim 21 wherein the processor is further configured to remove from the internal microphone signal a contribution by a user content audio signal, before filtering by the first filter.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In various aspects, the description here is made with reference to figures. However, certain aspects may be practiced without one or more of these specific details, or in combination with other known methods and configurations. The aspects are thus illustrated by way of example and not by way of limitation in the figures in which like references indicate similar elements. It should be noted that references to “an” or “one” aspect of this disclosure are not necessarily to the same aspect, and they mean at least one. Also, in the interest of conciseness and reducing the total number of figures, a given figure may be used to illustrate the features of more than one aspect, and not all elements in the figure may be required for a given aspect.
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) In the following description, numerous specific details are set forth, such as specific configurations, dimensions, and processes, in order to provide a thorough understanding of the embodiments. In other instances, well-known processes and manufacturing techniques have not been described in particular detail in order to not unnecessarily obscure the description. Reference throughout this specification to “one embodiment,” “an embodiment,” or the like, means that a particular feature, structure, configuration, or characteristic described is included in at least one embodiment. Thus, the appearance of the phrase “one embodiment,” “an embodiment,” or the like, in various places throughout this specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, configurations, or characteristics may be combined in any suitable manner in one or more embodiments.
(9)
(10) The headphone has integrated therein an against-the-ear acoustic transducer or speaker 7 arranged or configured to reproduce sound that is represented in an input digital audio signal, directly into the ear of a wearer (user.) There is also an internal microphone 3 that is arranged or configured to directly receive the sound reproduced by the speaker 7. In some instances, the headphone also has integrated therein an external microphone 5—see
(11) In one aspect, along with the microphone there is other electronics that may be integrated in the headphone housing including a microphone sensing and conversion circuit that receives the microphone signal from the internal microphone 3 converts it into a desired format for digital signal processing, an audio amplifier to drive the speaker 7 based on a digital input audio signal, and a digital processor and associated memory (not shown separately) where the memory stores instructions for configuring or programing the processor (e.g., instructions to be executed by the processor) to perform the digital signal processing methods that are described below and shown in blocks in the figures. A playback or user content audio signal (program audio) that may contain user content such as music, podcast, or the voice of a far end user during a voice communication session is also be provided to drive the speaker 7 during playback mode—see
(12) Still referring to
(13) The filter G and the filter C are coupled to each other in cascade, in a feedback path that extends from the output of the internal microphone 3 to the input of the speaker 7. The order in which the filter G and the filter C are coupled to each other in cascade may be reversed. The filter G is a digital filter that may be fixed in that its filter coefficients do not vary dynamically on a per audio frame basis (where each digital audio frame may for example be 5 msec-10 msec long.) The filer G may vary slowly, for example at least every three seconds. It may be determined offline and may be a function of the latency in reacting to the signal from the internal microphone 3 (for producing an anti-noise signal at the output of the filter G.) In contrast, the processor adapts the second filter C online and dynamically, for example every one or two audio frames whenever an estimate of the transfer function of the path S is updated.
(14) Motivation for the method of
(15) As introduced above, the filter F in the feedback is divided into two parts, namely the filter G which applies a gain to provide acoustic noise cancellation, and the filter C which may be the inverse of the shape of the gain response of the path S, or an inverse of a minimum phase version of the transfer function S, S.sub.mp.sup.−1. This means that the product, S.sub.mp.sup.−1*S.sub.median, where S.sub.median is an ideal transfer function or an average of many users and fits, is flat in frequency domain. Adapting the filter C therefore calls for adapting S.sub.mp.sup.−1, by computing its filter coefficients in real time, e.g., on a per audio frame basis, using an estimation algorithm (performed by the processor as configured according to the online estimation block shown in
(16) The online estimation algorithm to compute the filter C may be as follows. The filter C is modeled as several, infinite impulse response biquads coupled in cascade (series) as shown in
(17) Note that this online estimation process may result in altering the transfer function of the second filter C over a wide frequency band, from 10 Hz to 10 kHz. Every one of the biquad filters is updated based on a same estimate of the transfer function of the path S. In this manner, the resulting F filter (a combination of the filter G and filter C in cascade) as part of the ANC subsystem results in more consistent noise cancellation performance across different users.
(18)
(19) Returning to
(20) Regarding the template function selection in operation 10, recall that a goal of the cascade of biquads and their respective gain parameters g1, g2, . . . gN is to flatten the overall response of the feedback path (see
(21) Turning now to
(22) In the case of
(23) While certain aspects have been described above and shown in the accompanying drawings, it is to be understood that such descriptions are merely illustrative of and not restrictive on the invention, and that the invention is not limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those of ordinary skill in the art. For example, although