The present invention relates to a method for active noise cancellation. The present invention also relates to a device for performing the method. The invention also relates to headphones that are adapted to perform a method according to the invention or comprise an apparatus according to the invention, and a computer program with instructions that cause a computer to perform the steps of the method.
The high level of noise pollution, which is caused by airplanes, trains or cars, for example, and is perceived as ambient noise by people outside or inside these vehicles, can lead to stress and even to serious psychological and physical illnesses in the people concerned. For this reason, methods for active noise cancellation (ANC) that reduce such disturbing ambient noise are known as an important feature for headphones or so-called hearables.
This involves artificially generating an additional sound signal, which corresponds to the disturbing sound as exactly as possible, but with opposite polarity, in order to then cancel out the disturbing noise as far as possible by superimposing the two sound signals by means of destructive interference. In the case of headphones with active noise cancellation, the ambient noise is measured with one or more microphones integrated in the headphones and the portion that would still remain in the ear is then calculated using the headphones' acoustic transfer function. For this part, the opposite polarity signal is then generated in the headphones for compensation and output by means of a loudspeaker, through which the useful sound is also reproduced. Modern ANC headphones typically use fixed feedforward and feedback filters, allowing up to 30 dB of low-frequency attenuation, but filter performance is sensitive to the fit of the headphones and the shape of the user's ears. In principle, adaptive algorithms can also be considered to improve the level of noise cancellation. However, such adaptive algorithms require high computing power and are therefore currently unsuitable in headphones, hearables or hearing aids.
Most commercially available ANC headphones are equipped with a built-in loudspeaker and two microphones. Here, one of the microphones is directed in the direction of the headphone environment in order to measure a reference signal in the form of the ambient noise and is often referred to as the reference microphone. The other microphone is directed towards the user's ear canal or eardrum to detect an internal error signal and is also referred to as the error microphone. The acoustic transmission from the external reference microphone to the internal error microphone is called the primary path, the transmission from the loudspeaker to the error microphone is called the secondary path.
A measurement of these primary and secondary paths enables an individual design and thus a significant improvement in the performance and robustness of an ANC system. The secondary path can be measured using the loudspeaker and the inner microphone, where the signal-to-noise ratio at the inner microphone is quite high due to the passive isolation of the headphones. Measuring the primary path, on the other hand, requires an additional external loudspeaker setup and a suitable measurement environment and is therefore complex and not easy for the end user to carry out.
Against this background, it is an object of the invention to provide an improved method and an improved device for active noise cancellation, in particular for suppressing disturbing ambient noise in headphones, as well as a corresponding headphone and a computer program for executing the method.
This object is achieved by a method having the features of claim 1, a corresponding device according to claim 8, a corresponding headphone according to claim 10 and a computer program according to claim 11. Preferred developments of the invention are the subject matter of the dependent claims.
The invention makes use of the knowledge that, particularly in the case of in-ear headphones, but also in the case of headphones with other designs, there can be a significant correlation between the frequency spectra of the primary and secondary paths which can be used to achieve optimization of noise cancellation without measuring the primary path.
Following this recognition of the inventors, in the method according to the invention for active noise cancellation a transfer function for a secondary path between a loudspeaker and an error microphone is measured. 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. Then, based on the estimated transfer function for the primary path, filter coefficients for filtering are determined to generate the cancellation signal.
In particular, 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.
According to one embodiment of the invention, the active noise cancellation is performed during reproduction of a useful audio signal by means of headphones, with one or more reference microphones being located on the outside of the headphones and the error microphone being located on the inside of the headphones.
Preferably, the transfer function for the secondary path is measured individually for a user and—an individual transfer function for the primary path is estimated based on the individually measured transfer function for the secondary path for the user.
In this case, the filtering is advantageously carried out by means of a forward FIR filter or IIR filter.
According to another embodiment of the invention an estimation function 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.
In this case, it is advantageous if
Accordingly, an active noise cancellation device according to the invention comprises
According to one embodiment of the invention, the digital filter is designed as an FIR filter or IIR filter.
The invention also relates to headphones which are adapted to perform the method according to the invention or comprise a device according to the invention, and a computer program with instructions which cause a computer to perform the steps of the method according to the invention.
Further features of the present invention will become apparent from the following description and claims in conjunction with the figures.
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.
The method according to the invention can be used in particular for active noise cancellation in in-ear headphones, as shown schematically in
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 Pa(s) describes the transfer function from the reference microphone 11 to error microphone 12, while the secondary acoustic path Sa(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.
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.
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.
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.
The overall transmission path is then defined as
H(z)=P(z)−Ŵ(z)S(z).
Here, s and z designate the complex frequency parameters of the Laplace and z-transform, respectively, and n designates a discrete time index.
In the following, it will first be derived how the filter quotients for the FIR forward filter W (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.
Let T={pj, sj∈L|j=1, . . . , J} 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 pj0 and convolution matrix sj for the secondary path.
The optimal FIR forward filter ω in terms of the average is given by
In order to optimize the FIR forward filter ŵ individually, however, precise knowledge of the respective primary and secondary path is required.
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 sj are substituted in the above formula and the average of the primary paths in T, i.e.
is used as an estimate for p, then the optimal filter for a given individual secondary path is obtained:
ŵavg=(STS−1ST
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 Qp(z) and Qs(z) in the z domain.
A principal component analysis (PCA) is used to extract the first Kp, Ks principal components Up,k, Us,k∈CL, 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.
The complex gain vectors gp,j and gs,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 a E CK
After the individual secondary path has been measured, the window function Qs(z) is applied in the z-domain to the measured secondary path and then the gain vector gs,j for the secondary path is calculated using the principal components and the mean value of the secondary path. Then, the amplification vector gp,j for the primary path is estimated using the linear mapping a, 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 gp,j for the primary path. Finally, replacing p with the estimate of the single primary path gives the individual forward filter.
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.
The box plot in
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.
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.
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.
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.
The invention can be used for active noise cancellation in any field of audio reproduction technology.
Number | Date | Country | Kind |
---|---|---|---|
10 2020 109 658.5 | Apr 2020 | DE | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2021/058855 | 4/6/2021 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/204754 | 10/14/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20120170766 | Alves | Jul 2012 | A1 |
20140044275 | Goldstein | Feb 2014 | A1 |
Number | Date | Country |
---|---|---|
2701143 | Feb 2014 | EP |
3367378 | Aug 2018 | EP |
Entry |
---|
International Search Report and Written Opinion for PCT/EP2021/058855 dated Jul. 9, 2021. |
Fabry Johannes et al. “Primary Path Estimator Based on Individual Secondary Path for ANC Headphones” ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, May 4, 2020 (May 4, 2020), pp. 456-460. |
Guldenschuh Markus. “Least-mean-square weighted parallel IIR filters in active-noise-control headphones” 2014 22nd European Signal Processing Conference (EUSIPCO), EURASIP, Sep. 1, 2014 (Sep. 1, 2014), pp. 1367-1371. |
Fabry Johannes et al. “Acoustic Equalization for Headphones Using a Fixed Feed-forward Filter” ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, May 12, 2019 (May 12, 2019), pp. 980-984. |
Markus Guldenschuh. “New Approaches for Active Noise Control Headphones”, Graz, Oct. 23, 2014 (Oct. 23, 2014) https://iem.kug.ac.at/fileadmin/media/iem/projects/2010/guldenschuh_diss.pdf. |
Number | Date | Country | |
---|---|---|---|
20230154449 A1 | May 2023 | US |