METHOD, DEVICE, HEADPHONES AND COMPUTER PROGRAM FOR ACTIVELY SUPPRESSING INTERFERING NOISE
20230154449 · 2023-05-18
Inventors
Cpc classification
G10K11/17881
PHYSICS
G10K11/17815
PHYSICS
G10K2210/1081
PHYSICS
International classification
Abstract
In the method according to the invention for active noise suppression, a transfer function for a secondary path between a loudspeaker and an error microphone is measured (20). Based on the measured transfer function for the secondary path, a transfer function for a primary path between a reference microphone and the error microphone is estimated (21). Based on the estimated transfer function for the primary path, filter coefficients for filtering to generate the cancellation signal are then determined (22).
Claims
1. Method for active noise cancellation, comprising measuring a transfer function for a secondary path between a loudspeaker and an error microphone; estimating a transfer function for a primary path between a reference microphone and the error microphone based on the measured transfer function for the secondary path; and determining filter coefficients for filtering to generate a cancellation signal based on the estimated transfer function for the primary path.
2. The method of claim 1, wherein at least one reference microphone detects noise signals, a loudspeaker emits a cancellation signal and an error microphone detects the remaining residual signal after the cancellation signal has been superimposed with the background noise signal.
3. The method according to claim 2, wherein the active noise cancellation is performed during reproduction of a useful audio signal by means of headphones, and one or more reference microphones are located on the outside of the headphones and the error microphone is located on the inside of the headphones.
4. The method according to claim 1, wherein the transfer function for the secondary path is measured individually for a user; an individual transfer function for the primary path is estimated based on the individually measured transfer function for the secondary path for the user.
5. The method according to claim 1, wherein the filtering is performed by means of a forward FIR filter or IIR filter.
6. The method according to claim 3, wherein an estimator for the primary path is determined by measuring and analyzing both the transfer function for the secondary path and the transfer function for the primary path in advance in a training process for different people and/or fits of the headphones.
7. The method of claim 6, wherein for measured values in frequency ranges of the transfer functions, where deterministic changes are present for the primary path and the secondary path, a principal component analysis is performed with subsequent dimension reduction of the measured values obtained in the training process; based on principal components and mean values determined by the principal component analysis, complex gain vectors are determined for the primary paths and the secondary paths; and a linear mapping that minimizes the error between the determined and the estimated gain vectors of the primary paths is determined.
8. Device for active noise cancellation, comprising at least one reference microphone; a loudspeaker; an error microphone; a digital filter for generating a cancellation signal; a digital signal processor which is arranged to generate a measurement signal which can be output via the loudspeaker and to evaluate a signal detected by the error microphone in order to measure a transfer function for a secondary path between the loudspeaker and the error microphone; estimate a transfer function for a primary path between the reference microphone and the error microphone based on the measured transfer function for the secondary path; and adapt filter coefficients for the digital filter based on the estimated transfer function for the primary path.
9. The device according to claim 8, wherein the digital filter is designed as a forward-directed FIR filter or IIR filter.
10. Headphones adapted to perform a method according to claim 1.
11. A computer program comprising instructions which cause a computer to perform the steps of a method according to claim 1.
Description
[0030] Further features of the present invention will become apparent from the following description and claims in conjunction with the figures.
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] For a better understanding of the principles of the present invention, embodiments of the invention are explained in more detail below with reference to the figures. It goes without saying that the invention is not limited to these embodiments and that the features described can also be combined or modified without departing from the protective scope of the invention as defined in the claims.
[0040] The method according to the invention can be used in particular for active noise cancellation in in-ear headphones, as shown schematically in
[0041] A noise signal x(t) arriving at the headphones from the environment is detected with a reference microphone 11 directed away from the auditory canal. Furthermore, the in-ear headphones 10 have an error microphone 12 which is directed towards the auditory canal 15 and a loudspeaker 13 located near the error microphone 12. A cancellation signal ŷ(t) can be output by means of the loudspeaker 13. The error microphone 12 detects the remaining residual signal e(t) after superposition of the cancellation signal ŷ(t) with the noise signal x(t) . The primary acoustic path P.sub.a(s) describes the transfer function from the reference microphone 11 to error microphone 12 ,while the secondary acoustic path S.sub.a(s) describes the transfer function from loudspeaker 13 to error microphone 12. The in-ear headphones shown have only one reference microphone, but multiple reference microphones can also be used, each with is a separate primary path.
[0042]
[0043]
[0044] The invention can be fully integrated into an ANC headphone or can also be a partial component of an external device, such as a smartphone. For example, the processor unit 35 may be part of such an external device.
[0045] The processor unit 35 has one or more digital signal processors, but may also include other types of processors or combinations thereof. The digital filter 34 is designed as a time-invariant FIR forward filter Ŵ(z), which receives the digitally converted interference signal x(n) and generates the cancellation signal ŷ(n). Likewise, the digital filter 34 can also be designed as an IIR filter, usually as a biquad filter. The digital signal processor 35 generates a measurement signal m(n) and evaluates the digitized error signal e(n) in order to measure the secondary path. Furthermore, the filter coefficients of the digital filter Ŵ(z) are adjusted by the digital signal processor. For this purpose, instructions are stored in a memory not shown, which is preferably integrated in the processor unit, which, when executed by the processor unit, cause the device to carry out the steps according to the method according to the invention.
[0046] The overall transfer function H(s) describes the transfer function from the reference microphone 11 to the error microphone 12 and, in contrast to the primary path, includes the influence of the ANC system. The primary path P(z) and the secondary path S(z) contain the influence of the analog to digital converters and the digital to analog converter, the loudspeaker and the microphones.
[0047] The overall transmission path is then defined as
[0048] Here, s and z designate the complex frequency parameters of the Laplace and z-transform, respectively, and n designates a discrete time index.
[0049] In the following, it will first be derived how the filter quotients for the FIR forward filter Ŵ (z) can be chosen based on the individually measured secondary path. An estimator for the primary path is then presented, which is trained based on a series of previously measured primary and secondary paths. After the training phase, measured values of an individual secondary path can then be supplied to this estimator in order to estimate the individual primary path.
[0050] Let
be the set of measured impulse responses of length L. The optimal FIR forward filter ŵ minimizes the average of the total transmission path energy, as defined by the following cost function:
with the zero-extended primary path vector
and convolution matrix s.sub.j for the secondary path.
[0051] The optimal FIR forward filter ŵ in terms of the average is given by
[0052] In order to optimize the FIR forward filter ŵ individually, however, precise knowledge of the respective primary and secondary path is required.
[0053] As previously mentioned, the individual secondary path can be measured using the loudspeaker and the headphone’s internally located error microphone . If then the individual secondary paths for all s.sub.j are substituted in the above formula and the average of the primary paths in
i.e.
is used as an estimate for p, then the optimal filter for a given individual secondary pathis obtained:
[0054] Since both the primary path and the secondary path depend on the fit of the headset and the physiology of the user’s ear, this correlation can be used to employ an estimator for an individual primary path based on the characteristics of a measured individual secondary path. For this purpose, the frequency ranges of the transfer functions that are affected by deterministic changes are extracted with window functions Q .sub.p (z) and Q .sub.s (z) in the z domain.
[0055] A principal component analysis (PCA ) is used to extract the first K.sub.p, K.sub.s principal components U.sub.p,k, U.sub.s,k ∈ ℂ.sup.L, and the means of a set of windowed complex frequency domain vectors of the primary path and secondary path are extracted from the set T.
[0056] The complex gain vectors g.sub.p,jandg.sub.s,j minimize the Euclidean distance between the reconstructed frequency domain vectors based on the principal components and the frequency domain vectors of the primary path and secondary path. A linear mapping α̂ ∈ ℂ.sup.K
[0057] After the individual secondary path has been measured, the window function Q.sub.s(z) is applied in the z-domain to the measured secondary path and then the gain vector g.sub.s,j for the secondary path is calculated using the principal components and the mean value of the secondary path. Then, the amplification vector g.sub.p,j for the primary path is estimated using the linear mapping â, followed by an estimate of the primary path based on the principal components as well as the mean of the primary path and the estimated gain vector g.sub.p,j for the primary path. Finally, replacing p̅ with the estimate of the single primary path gives the individual forward filter.
[0058] The effectiveness of the proposed estimator was checked with simulations, the results of which are presented below. For this purpose, measurements were carried out for 25 subjects and different fits on in-ear headphones, using a sampling rate of 48 kHz. The set M of measured primary and secondary paths includes a total of J=173 pairs of impulse responses.
[0059]
wherein the measurement was repeated100 times for randomly divided subsets.
[0060]
[0061]
[0062] The box plot in
[0063] For the various primary path estimates, the median as well as the minimum, the so-called lower whisker, and the maximum, the so-called upper whisker, are shown as horizontal lines and the lower quartile and upper quartile as a rectangle surrounding the median.
[0064] As can be seen from the figure, the energy ratio ε is reduced compared to using the mean value (a) when using the estimator (b) of the median by 3.1 dB, while the difference between the maximum values, the so-called upper whiskers, is 5.0 dB.
[0065]
[0066] The devices communicate wirelessly via a radio link such as Bluetooth. After the connection has been established, audio signals can be transmitted from the external computing device 80 to the headphones 10 and then played back in a conventional manner using one or more loudspeakers integrated in the headphones.
[0067] In addition, the active noise cancellation according to the invention can also be carried out by means of the external computer device 80. For this purpose, the external computer device 80 can, in particular when a user is using the headphones 10 for the first time, transmit a measurement signal to the headphones, which is then output by a loudspeaker integrated in the headphones. An error microphone integrated in the headphones 10 then detects the error signal, which is transmitted to the external computing device 80 . Based on this, the external computing device 80 calculates the secondary path, estimates the primary path and then determines the filter coefficients for the filter for generating the cancellation signal. The filter coefficients are then sent via the wireless connection from the external computer device 80 to the headphones 10, in which the filter is adjusted accordingly, so that background noise is largely suppressed when the audio signals are played back.
[0068] The invention can be used for active noise cancellation in any field of audio reproduction technology.