The present U.S. patent application claims priority form European Patent Application No. 09004609.5 filed on Mar. 30, 2009 entitled “A Method for Determining a Noise Reference Signal for Noise Compensation and/or Noise Reduction” which is incorporated herein by reference in its entirety.
The present invention relates to a method for determining a noise reference signal for noise compensation and/or noise reduction.
Noise compensation and/or noise reduction in acoustic signals is an important issue, for example, in the field of speech signal processing. The quality of an audio signal, e.g. of a speech signal, is often impaired by various interferences stemming from different noise sources. Hands-free telephony systems or speech recognition systems, for instance, may be used in a noisy environment such as in a vehicular cabin. In this case, the voice signal may be interfered by background noise such as noise of the engine or noise of the rolling tires. Noise compensation methods may be used to compensate for the background noise thereby improving the signal quality and reducing misrecognitions.
Common methods for noise compensation and/or noise reduction usually involve multi-channel systems. For example, two-channel systems are used, wherein a first channel comprises a disturbed audio signal and a second channel comprises a noise reference signal.
In an ideal case, the second microphone signal and hence the output of the interference canceller 609 do not comprise a wanted signal component. The quality of noise compensation in the output signal with reduced noise, however, also depends on the correlation between the noise components 603 and 604. A low correlation implies that the estimate of the interference canceller 609 is a bad estimate for the noise component of the first microphone signal and that therefore the quality of the output signal with reduced noise is low. To achieve a higher correlation, and hence a better estimate for the noise reference signal, the two microphones 605 should have a small relative distance from each other. As a consequence, however, the second microphone signal will also comprise a significant wanted signal component.
In order to solve this problem, current multi-channel systems primarily make use of a so-called “blocking matrix” in order to block a wanted signal component in the second signal path.
A first transfer function 701 modeling the transfer between a wanted signal and the first microphone signal on the first signal path may be denoted by G1(eiΩ) and a second transfer function 702 modeling the transfer between the wanted signal and the second microphone signal on the second signal path may be denoted by G2(eiΩ). Here j denotes the imaginary unit and Ω denotes a frequency variable. In order to obtain a noise reference signal with little or no wanted signal component, a transfer function, H, of the adaptive filter 715 may read)
H(ejΩ)=G2(ejΩ)G1−1(ejΩ)
In other words, the above-described transfer function of the adaptive filter 715 comprises an inverse of the first transfer function. This can yield an impaired noise reference signal if the value of the first transfer function approaches zero. This effect can result from room acoustics. If there is a strong reflecting boundary near a microphone, there are essentially two paths to the microphone: a direct path and a reflected path. Since the lengths of the two paths differ, the respective sound arrives at the microphone with a difference in phase. Depending on the frequency of the sound, the phase difference may either lead to constructive or destructive interference. Destructive interference can cause the signal to be destroyed at a particular frequency. In the art, this is referred to as a comb-filter because the destructive interference occurs periodically along the frequency axis. As a consequence the magnitude of the transfer function looks like a comb. There may be multiple such frequencies where the room transfer-function shows zeros depending on the delay between the direct path and the reflected component. It should be recognized that this discussion has been simplified, as there will be more that two paths.
Other known methods for determining a noise reference signals may similarly yield an impaired noise reference signal. The quality of noise compensation and/or noise reduction, however, depends to a large extent on the quality of the noise reference signal. Therefore, there is the need to provide a method for determining a more accurate noise reference signal for noise compensation and/or noise reduction.
According to the present invention a method and a system are provided for determining an accurate noise reference signal for noise compensation and/or noise reduction.
In a first embodiment, the method requires receiving a first audio signal on a first signal path and a second audio signal on a second signal path. The first audio signal is filtered using a first adaptive filter to obtain a first filtered audio signal. The second audio signal is filtered using a second adaptive filter to obtain a second filtered audio signal. Then, the first and the second filtered audio signals are combined to obtain the noise reference signal. The first and the second adaptive filters are adapted such as to minimize a wanted signal component in the noise reference signal. By using two adaptive filters to determine the noise reference signal, a wanted signal component in the noise reference signal can be effectively minimized. In this way, the quality of the noise reference signal can be improved compared to prior art methods.
By using two adaptive filters, the filters used can approximate a transfer function without poles. For example, the respective filters are the room transfer functions R1 and R2 wherein the source signal can be called S. Each of the signals S·R1 and S·R2 are filtered by the adaptive filters. The difference between the signals is S·R1·H1-S·R2·H2. Thus, this difference becomes zero if H2=R1 and H1=R2 where the speech is blocked and a high-quality noise reference signal is obtained. This solution can be achieved even if the room transfer functions exhibit “comb-filter” effects.
The method may be performed in the frequency domain, in particular in a sub-band domain. In the frequency domain, each of the first audio signal and the second audio signal may correspond to one or more short-time spectra. In this case, the first audio signal and the second audio signal correspond to a first audio signal spectrum and a second audio signal spectrum, respectively. The first and the second audio signal may be determined using short-time Fourier transforms of time-dependent audio signals. In this case, each of the first and the second audio signal correspond to a plurality of short-time Fourier coefficients, in particular for predetermined frequency nodes. Each of the first and the second filtered audio signal and the noise reference signal may correspond to a short-time spectrum as well. Alternatively, the method may be performed in the time domain, in particular in a discrete time domain.
The first and the second audio signal generally comprise a noise component and may comprise a wanted signal component. Consequently, also the first and the second filtered audio signal generally comprise a noise component and may comprise a wanted signal component.
The wanted signal component may be based on a wanted signal originating from a wanted sound source. In particular, the wanted signal from the wanted sound source may be received by a microphone array, in particular wherein the microphone array comprises at least two microphones. The wanted sound source may have a variable distance from the microphone array. The first and the second audio signal may correspond to or be based on microphone signals emanating from at least two microphones of the microphone array.
One or more short-time spectra of the first and the second audio signal may comprise only a noise component. In this case, the wanted sound source may be temporarily inactive. The method may comprise detecting whether the first and/or the second audio signal comprise a wanted signal component. In other words, the method may comprise detecting whether the wanted sound source is active, in particular based on the noise reference signal. If no short time spectrum of the first and the second audio signal comprises a wanted signal component, the wanted sound source is inactive. In this case, no noise compensation may be performed.
If the first and the second audio signal comprise a wanted signal component, also the noise reference signal may comprise a wanted signal component, wherein the first and the second adaptive filter are adapted such as to minimize the wanted signal component in the noise reference signal. A wanted signal component in the noise reference signal may be minimized such that it vanishes or that it falls below a predetermined detection threshold.
The first and the second adaptive filter may be adapted according to a predetermined criterion, in particular according to a predetermined optimization criterion. The predetermined criterion may be based on a normalized least mean square method or on a method based on a minimization of the signal-to-noise ratio of the noise reference signal. In particular, the predetermined criterion may be based on the signal-to-noise ratio of the noise reference.
Filtering the first audio signal may be performed on an intermediate signal path, wherein the intermediate signal path connects the first and the second signal path. In other words, the first adaptive filter may be arranged on an intermediate signal path connecting the first and the second signal path. Filtering the second audio signal and combining the first and the second filtered audio signal may be performed on the second signal path.
A first transfer function may model a transfer from a wanted signal originating from a wanted sound source to the first signal path and a second transfer function may model a transfer from the wanted signal originating from the wanted sound source to the second signal path, wherein the transfer function of the first adaptive filter may be based on the second transfer function and/or wherein the transfer function of the second adaptive filter may be based on the first transfer function.
In general, a transfer function may model a relation between an input and an output signal of a system. In particular, the transfer function applied to an input signal may yield the output signal of the system. In this case, the first transfer function may model the relation between a wanted signal originating from a wanted sound source and the first audio signal, in particular the wanted signal component of the first audio signal. The second transfer function may model the relation between the wanted signal originating from the wanted sound source and the second audio signal, in particular the wanted signal component of the second audio signal.
A transfer function in the frequency domain may correspond to or be associated with an impulse response in the time domain.
The transfer function of the first and/or the second adaptive filter may be further based on a predetermined or arbitrary transfer function. In particular, the transfer function of the first adaptive filter may be based on a combination, in particular on a product, of the second transfer function and a predetermined or arbitrary transfer function. The transfer function of the second adaptive filter may be based on a combination, in particular on a product, of the first transfer function and the predetermined or arbitrary transfer function. In other words, the transfer function of the first adaptive filter may model a combination of the second transfer function and an arbitrary transfer function and the transfer function of the second adaptive filter may model a combination of the first transfer function and the arbitrary transfer function. The predetermined or arbitrary transfer function may be the same for the transfer function of the first adaptive filter and the transfer function of the second adaptive filter.
For example, the transfer function of the first and the second adaptive filter, H1 and H2, respectively, may read:
H
1(ejΩ,k)=G2(ejΩ,k)·{tilde over (G)}(ejΩ,k), and
H
2(ejΩ,k)=G1(ejΩ,k)·{tilde over (G)}(ejΩ,k).
Here G1(ejΩ,k) denotes the first transfer function, G2(ejΩ,k) denotes the second transfer function and {tilde over (G)}(ejΩ,k) denotes the arbitrary or predetermined transfer function. The parameter Ω denotes a frequency variable, for example a frequency node or frequency sampling point of a sub-band, j denotes the imaginary unit and k denotes the time.
The arbitrary or predetermined transfer function may be constant. In particular, the arbitrary transfer function may be equal to 1. In this case, the transfer function of the first adaptive filter models the second transfer function and the transfer function of the second adaptive filter models the first transfer function.
The transfer function of the first and/or the second adaptive filter may be modeled by filter coefficients of the first and/or the second adaptive filter. In other words, filter coefficients of the first and the second adaptive filter may be adapted such as to model an above-described transfer function of the first and the second adaptive filter. In particular, the filter coefficients of the first and the second adaptive filter may be adapted such as to minimize a wanted signal component in the noise reference signal by modeling a transfer function as described above.
The above-described methods for determining a noise reference signal may comprise adapting the first and the second adaptive filter. Adapting the first and the second adaptive filter may comprise modifying or updating a filter coefficient or a set of filter coefficients of the first and/or the second adaptive filter to obtain a modified filter coefficient or a set of modified filter coefficients. Adapting the first and the second adaptive filter may be based on a predetermined criterion such as the above-described predetermined criterion, in particular on a predetermined optimization criterion.
Adapting the first and the second adaptive filter may be based on a normalized least mean square method or on a method based on a minimization of the signal-to-noise ratio of the noise reference signal. In other words, the predetermined criterion may be based on a normalized least mean square method or on a method based on a minimization of the signal-to-noise ratio of the noise reference signal.
The normalized least mean square method may comprise modifying a set of filter coefficients of the first and/or second adaptive filter based on the noise reference signal and/or based on the power or power density of the first and/or the second audio signal. The power density may correspond to a power spectral density. The normalized least mean square method may comprise determining a product of the first or the second audio signal and the noise reference signal, in particular, the complex conjugate of the noise reference signal. In particular, the normalized least mean square method may comprise modifying one or more filter coefficients of the first and/or the second adaptive filter by adding an adaptation term.
The adaptation term may comprise a ratio between the product of the first or second audio signal with the noise reference signal, in particular, the complex conjugate of the noise reference signal, and the power or power density of the first and second audio signal, in particular the sum of the power or power density of the first and second audio signal. The adaptation term may comprise a free parameter, in particular corresponding to an adaptation step size. The value of the free parameter may lie within a predetermined range. The sign of the free parameter may be different for the adaptation terms associated with the filter coefficients of the first and the second adaptive filter.
The method based on a minimization of the signal-to-noise ratio may comprise determining a power or power density of the first and of the second audio signal and/or determining a power or power density of the noise component of the first and of the second audio signal. The first and the second audio signal may be combined to an audio signal vector. In particular, the audio signal vector may comprise the one or more short-time spectra of the first and the second audio signal. In this case, the power or power density of the first and of the second audio signal may correspond to the power or power density of the audio signal vector.
The filter coefficients of the first and the second adaptive filter may be combined to a filter coefficient vector. In this case, the noise reference signal may correspond to a product of the Hermitian transpose of the filter coefficient vector and the audio signal vector. The Hermitian transpose of a vector may correspond to the transposed and complex conjugated vector.
The power density of the audio signal vector may correspond to the expectation value of the product between the audio signal vector and the Hermitian transposed of the audio signal vector. In this case, the power density corresponds to a power density matrix.
The audio signal vector may correspond to a sum of a wanted signal vector and a noise vector, wherein the wanted signal vector comprises the wanted signal components of the first and of the second audio signal and the noise vector comprises the noise components of the first and of the second audio signal. If the wanted sound source is inactive, the audio signal vector corresponds to the noise vector. In this case, a power density matrix of the noise vector may be estimated or determined.
An average or mean power or power density of the noise vector, in particular of the noise components of the first and of the second audio signal, may be determined based on the trace of the power density matrix of the noise vector.
The signal-to-noise ratio of the noise reference signal may correspond to a ratio between a wanted signal component in the noise reference signal and a noise component in the noise reference signal, in particular between the power or power density of the wanted signal component in the noise reference signal and the power or power density of the noise component in the noise reference signal.
The method based on a minimization of the signal-to-noise ratio may comprise minimizing the signal-to-noise ratio of the noise reference signal. In this way, a wanted signal component in the noise reference signal can be minimized. In other words, the predetermined optimization criterion may correspond to a minimization of the signal-to-noise ratio of the noise reference signal.
Minimizing the signal-to-noise ratio may comprise determining the signal-to-noise ratio based on the power or power density of the first and the second audio signal and on the power or power density of the noise component of the first and second audio signal.
Minimizing the signal-to-noise ratio of the noise reference signal may be based on the power or power density of the first and the second audio signal and on the power or power density of the noise component of the first and second audio signal. In particular, minimizing the signal-to-noise ratio of the noise reference signal may be based on the power density matrix of the audio signal vector and on the power density matrix of the noise vector. In this case, the method may comprise determining the power density matrix of the audio signal vector and the power density matrix of the noise vector.
Minimizing the signal-to-noise ratio may be based on a constraint for the power or power density of the noise component in the noise reference signal. In particular, the power or power density of the noise component in the noise reference signal may be equal to the mean power or mean power density of the noise components in the first and second audio signal.
Minimizing the signal-to-noise ratio may be based on a Lagrangian method, i.e. based on Lagrange multipliers, and/or on a method based on a gradient descent. In particular, a Lagrangian method may be used for minimizing the signal-to-noise ratio using a constraint.
Adapting the first and the second adaptive filter may comprise normalizing modified filter coefficients of the first and/or the second adaptive filter using a predetermined normalization factor. In particular, a set of filter coefficients may be modified based on a normalized least mean square method or on a method based on a minimization of the signal-to-noise ratio of the noise reference signal as described above and thereafter, as a second step, normalized using a predetermined normalization factor. By normalizing the modified filter coefficients, an attenuation of the amplitude of the first and the second filtered audio signal may be avoided.
The predetermined normalization factor may correspond to a scalar. The predetermined normalization factor may be based on one or more filter coefficients or on one or more modified filter coefficients of the first and/or the second adaptive filter. In particular, the predetermined normalization factor may correspond to the value of a predetermined modified filter coefficient of the first or the second adaptive filter. In this case, the predetermined normalization factor can be complex valued.
The predetermined normalization factor may be based on an absolute value of a modified filter coefficient of the first or the second adaptive filter. In particular, the predetermined normalization factor may correspond to the absolute value of a predetermined modified filter coefficient of the first or the second adaptive filter. In this case, the predetermined normalization factor is real valued.
The predetermined normalization factor may correspond to the maximum value of the absolute values of the modified filter coefficients of the first and the second adaptive filter.
Alternatively, the predetermined normalization factor may be based on a linear combination of absolute values of modified filter coefficients of the first and the second adaptive filter. In particular, the predetermined normalization factor may correspond to a norm of the modified filter coefficients of the first and the second adaptive filter. In this case, the predetermined normalization factor may correspond to the square root of the sum of the squared absolute values of the modified filter coefficients of the first and of the second adaptive filter.
If the wanted sound source is inactive, i.e. if the first and/or the second audio signal comprise no wanted signal component, the step of adapting the first and the second adaptive filter may be omitted.
The first and the second adaptive filter may each correspond to adaptive finite impulse response (FIR) filters. The first and the second audio signal may correspond to a sequence of short-time spectra, in particular to a consecutive sequence. In particular, the first and the second audio signal may comprise a temporal sequence of short-time spectra. The number of short-time spectra in the sequence may correspond to the filter order or filter length of the employed filter. In other words, the number of short-time spectra in the first audio signal may be equal to the filter order of the first adaptive filter and the number of short-time spectra in the second audio signal may be equal to the filter order of the second adaptive filter.
The first and the second audio signal may each be a microphone signal or a beamformed signal, in particular emanating from different microphones or beamformers. In other words, the first signal path may comprise at least one microphone and the second signal path may comprise at least one microphone, in particular wherein the at least one microphone of the second signal path differs from the at least one microphone of the first signal path. The first and/or second signal path may further comprise a beamformer. The first audio signal may correspond to an output signal of a microphone or to an output signal of a beamformer in the first signal path and the second audio signal may correspond to an output signal of a microphone or to an output signal of a beamformer in the second signal path.
The predetermined normalization factor may be based on the power or power density of the noise component in the first or the second audio signal, in particular wherein the first or the second audio signal is a beamformed signal. In other words, the predetermined normalization factor may be based on the power or power density of a beamformed signal. The predetermined normalization factor may be proportional to the ratio between the power or power density of the noise component in the beamformed signal and the power or power density of the noise component in the noise reference signal. In particular, the predetermined normalization factor may be proportional to the square root of the ratio between the power or power density of the noise component in the beamformed signal and the power or power density of the noise component in the noise reference signal.
If adapting the first and the second adaptive filter is based on a minimization of the signal-to-noise ratio of the noise reference signal, a normalization of the modified filter coefficients may be implicit in the constraint used for the minimization. In this case, a normalization of modified filter coefficients using a predetermined normalization factor may be omitted. The constraint for the minimization may be based on the power or power density of the beamformed signal.
Combining the first and the second filtered audio signal may comprise subtracting the first filtered audio signal from the second filtered audio signal. In this way, the wanted signal component can be blocked in the second signal path. In other words, combining the first and the second filtered audio signal may correspond to blocking the wanted signal component in the second signal path. The noise reference signal may correspond to a blocking signal.
The combination of the first and the second filtered audio signal to obtain the noise reference signal may be modeled by a blocking matrix. In this case, the blocking matrix applied to the first and the second audio signal yields the noise reference signal. In other words, the invention also provides a blocking matrix, wherein the blocking matrix comprises a transfer function of the first adaptive filter and a transfer function of the second adaptive filter, and wherein if the blocking matrix is applied to a first and a second audio signal a noise reference signal is obtained according to one of the above-described methods.
The above-described methods may be performed for a plurality of audio signals, in particular stemming from different microphones of a microphone array. In this case, a blocking matrix applied to microphone signals of the microphone array may yield a plurality of noise reference signals, i.e. two or more noise reference signals. In particular, the first filtered audio signal may be combined with further audio signals, in particular pairwise, to obtain further noise reference signals. For example, the first filtered audio signal may be combined with a third filtered audio signal to obtain a second noise reference signal.
The above-described methods may be performed repeatedly, in particular for subsequent audio signals. In particular, the first and the second audio signal may be associated with a predetermined time or time period. The above-described methods may be performed for a plurality of times or time periods, in particular for subsequent times or time periods.
In this context, noise compensation may correspond to noise cancellation or noise suppression. In particular, a method for noise compensation may be used to cancel, suppress or compensate for noise in an audio signal, for example in the first audio signal.
The invention further provides a method for processing an audio signal for noise compensation, comprising the steps of:
determining a noise reference signal according to one of the above described methods, using a first audio signal on a first signal path and a second audio signal on a second signal path,
filtering the noise reference signal on the second signal path using a third adaptive filter to obtain a filtered noise reference signal, and
combining the first audio signal from the first signal path and the filtered noise reference signal to obtain an output signal with reduced noise.
In this way, the noise component in the first audio signal may be minimized. In particular, combining the first audio signal and the filtered noise reference signal may comprise subtracting the filtered noise reference signal from the first audio signal.
The first audio signal and the output signal with reduced noise may each comprise a signal component and a noise component, wherein the third adaptive filter is adapted such as to minimize the noise component in the output signal with reduced noise. The third adaptive filter may correspond to an FIR filter, in particular an adaptive FIR filter.
By determining the noise reference signal according to one of the above described methods, the quality of noise compensation in the first audio signal may be improved compared to noise compensation based on a noise reference signal determined using prior art methods.
The invention further provides a computer program product, comprising one or more computer readable media having computer executable instructions for performing the steps of one of the above described methods, when run on a computer.
The invention further provides a system for audio signal processing, in particular configured to perform one of the above described methods, comprising a receiver for receiving a first and a second audio signal, a first adaptive filter to obtain a first filtered audio signal, a second adaptive filter to obtain a second filtered audio signal, and subtractor for combining the first and the second filtered audio signal.
The system allows to determine a noise reference signal according to one of the above described methods. In particular, the first and the second adaptive filter may be adapted such as to minimize a wanted signal component in an output signal of the subtractor, i.e. in the noise reference signal.
The system may be further configured to perform one of the above described methods for noise compensation.
In particular, the system may further comprise a third adaptive filter to obtain a filtered noise reference signal. The subtractor may correspond to a second subtractor and the system may further comprise a first subtractor for combining the first audio signal and the filtered noise reference signal. An output signal of the first subtractor may correspond to an output signal with reduced noise. In particular, the third adaptive filter may be adapted such as to minimize a noise component in the output signal with reduced noise.
In particular, the system may comprise:
a microphone array comprising at least two microphones,
wherein an output of a first microphone of the microphone array is connected to a first subtractor on a first signal path and connected to a first adaptive filter on an intermediate signal path,
an output of a second microphone of the microphone array connected to a second adaptive filter on a second signal path,
an output of the first adaptive filter and an output of the second adaptive filter, both connected to a second subtractor on the second signal path,
an output of the second subtractor connected to a third adaptive filter on the second signal path, and
an output of the third adaptive filter connected to the first subtractor.
Such a system allows to compensate for noise in a first signal path based on a noise reference signal, wherein the noise reference signal may be obtained by blocking a wanted signal component in a second signal path. In particular, the second subtractor and the first and the second adaptive filter may be configured such as to yield a noise reference signal according to one of the above-described methods. In this case, the output signal of the first microphone may correspond to the first audio signal and the output signal of the second microphone may correspond to the second audio signal.
The third adaptive filter and the first subtractor may be configured to yield an output signal with reduced noise according to one of the above-described methods.
The system may further comprise a beamformer, in particular an adaptive or a fixed beamformer, and/or an echo compensator, in particular an adaptive echo canceller or acoustic echo canceller. A beamformer may be used for spatial filtering of audio signals. In this case, the microphone array may be connected to the beamformer. The beamformer may be arranged in the first signal path. In this case, an output of the beamformer may be connected to the first subtractor on the first signal path and connected to the first adaptive filter on the intermediate signal path. In this case, an output signal of the beamformer in the first signal path corresponds to the first audio signal. Additionally or alternatively, a beamformer may be arranged in the second signal path. In this case, an output signal of the beamformer in the second signal path may correspond to the second audio signal.
The foregoing features of the invention will be more readily understood by reference to the following detailed description, taken with reference to the accompanying drawings, in which:
To improve the signal quality of an audio signal, a method for noise compensation may be performed (see e.g. “Adaptive noise cancellation: Principles and applications” by B. Widrow et al., in Proc. of the IEEE, Vol. 63, No. 12, December 1975, pp. 1692-1716). In particular, the audio signal may be divided into sub-bands by some sub-band filter and a noise compensation method may be applied to each of the sub-bands. The method for noise compensation may utilize a multi-channel system, i.e. a system comprising a microphone array. Microphone arrays are also used in the field of source localization (see e.g. “Microphone Arrays for Video Camera Steering” by Y. Huang et al., in S. Gay, J. Benesty (Eds.), Acoustic Signal Processing for Telecommunication, Kluwer, Boston, 2000, pp. 239-259).
One example is a fixed blocking matrix (see, e.g. “An alternative approach to linearly constrained adaptive beamforming” by L. Griffiths and C. Jim, IEEE Trans. on Antennas and Propagation, Vol. 30, No. 1, January 1982, pp. 27-34). The fixed blocking matrix, however, relies on an idealized sound field, in which the wanted signal reaches the microphones of the microphone array as a plane wave from a predetermined direction. In practice, however, variations from the predetermined direction can occur, for example, due to reflections. As a consequence, the output signal of the subtractor 414 may comprise a significant wanted signal component. One example for a fixed blocking matrix is the so-called “central difference matrix” which realizes a subtraction of audio signals from neighboring or adjacent channels or signal paths. For four microphone signals stemming from four different microphones, the fixed blocking matrix may read:
Deviations from an idealized sound field may be compensated for by an adaptive blocking matrix which may be realized using adaptive filter. An example for a generalized sidelobe canceller with an adaptive blocking matrix, i.e. with adaptive filter is shown in
An adaptive blocking matrix is described in “A robust adaptive beamformer for microphone arrays with a blocking matrix using constrained adaptive filters” by O. Hoshuyama, A. Sugiyama and A. Hirano, in IEEE Transactions on Signal Processing, Vol. 47, No. 10, October 1999, pp. 2677-2684). In the frequency domain, without using constraints, this structure is described in “Computationally efficient frequency-domain robust generalized sidelobe canceller” by W. Herbordt and W. Kellermann, Proc. Int. Workshop on Acoustic Echo and Noise Control (IWAENC-01), Darmstadt, September 2001, pp. 51-55.
Due to constraints for the filter coefficients of the adaptive filter associated with an adaptive blocking matrix, deviations from an idealized sound field may be compensated for only to a certain degree.
Another example for a transfer function is given by a so-called “transfer function GSC”, which considers an arbitrary transfer function from the wanted sound source to the microphone signals (see e.g. “Beamforming methods for multi-channel speech enhancement” by S. Gannot et al., Proc. Int. Workshop on Acoustic Echo and Noise Control (IWAENC-99), Pocono Manor Pa., September 1999, pp. 96-99).
In this approach, the transfer functions between a wanted signal originating from a wanted sound source and the microphone signals are being estimated by adaptive filter, i.e. inserted into a blocking matrix:
In this way, a first microphone signal is combined with the other microphone signals by subtraction. In particular, the first microphone signal is divided by a transfer function modeling the transfer between the wanted signal and the first microphone signal and multiplied by a transfer function modeling the transfer between the wanted signal and the neighboring channel or microphone signal. This approach is similar to the adaptive blocking matrix, the first audio signal, however, corresponds to a microphone signal in this case, while corresponding to a beamformed signal in the former case.
As such, a blocking matrix comprises an inverse of a first transfer function modeling the transfer between the wanted signal and the first microphone signal, undesired artifacts in the noise reference signal may occur if the first transfer function approaches zero.
As an alternative, systems with distributed microphones are known (see e.g. “Multichannel cross-talk cancellation in a call-center scenario using frequency domain adaptive filtering” by A. Lombard and W. Kellermann, in Proc. Int. Workshop on Acoustic Echo and Noise Control (IWAENC-08), Seattle, September 2008). In this case, it is assumed that a primary microphone receives the wanted signal from the wanted sound source in a more efficient way than the other microphones. A method similar to the one based on an adaptive blocking matrix may be used, wherein the microphone signal of the primary microphone instead of the beamformed signal is used as the first audio signal.
The noise reference signal is used as input for a third adaptive filter 109 in the second signal path to obtain a filtered noise reference signal. The filtered noise reference signal may correspond to an estimate of the noise component in the first audio signal. The first subtractor 110 may be used to subtract the filtered noise reference signal output by the third adaptive filter 109 from the first audio signal on the first signal path. In other words, the third adaptive filter 109 may be adapted such as to minimize the noise component in the first audio signal. In this way, the subtractor 110 yield an output signal with reduced noise.
The first audio signal may comprise a wanted signal component, wherein the wanted signal component is associated with a wanted signal originating from a wanted sound source. A first transfer function 101 may model the transfer between the wanted signal and the first signal path, in particular the wanted signal component of the first audio signal on the first signal path. The first audio signal may comprise a noise component 103 originating from one or more noise sources. Similarly, the second audio signal may comprise a wanted signal component associated with the wanted signal, in particular the wanted signal associated with the wanted signal component of the first audio signal. A second transfer function 102 may model the transfer between the wanted signal and the second signal path. The second audio signal may further comprise a noise component 104. The first and the second adaptive filter 106 and 107 may be adapted such as to minimize a wanted signal component in the noise reference signal, in particular according to a predetermined criterion.
The adapted filter coefficients of the first and the second adaptive filter 106 and 107 may model the transfer function of the first and the second adaptive filter 106 and 107, respectively, which may read:
H
1(ejΩ)=G2(ejΩ)·{tilde over (G)}(ejΩ)
H
2(ejΩ)=G1(ejΩ)·{tilde over (G)}(ejΩ),
wherein {tilde over (G)} denotes an arbitrary or predetermined transfer function. In other words, the solution for the transfer function of the first and second adaptive filter may not be unique. The predetermined or arbitrary transfer function may be constant, in particular, the arbitrary or predetermined transfer function may take a constant value of {tilde over (G)}=1. In this case, the first adaptive filter models the second transfer function and the second adaptive filter models the first transfer function, i.e. the transfer function of the adjacent signal path or channel.
HA(ejΩ
HB(ejΩ
wherein l denotes the filter order variable of the second adaptive filter 207, with l=0, . . . , L−1, and p denotes the filter order variable of the first adaptive filter 206, with p=0, . . . , P−1, with L and P denoting the filter order of the first and second adaptive filter. Here and below, Ωμ denotes the μ-th sub-band, in particular frequency nodes of the μ-th sub-band.
The filter coefficients may be written as a vector, i.e.
H
A(ejΩ
H
B(ejΩ
In this case L and P denote the filter order of the adaptive filter, k corresponds to a time variable and the operator denoted by T corresponds to a transposition operator. The first and the second adaptive filter may be used to filter a first and a second audio signal, wherein the first audio signal is denoted by XB(ejΩ
Here the operator * denotes a complex conjugation. The first and the second audio signal may correspond to microphone signals. In particular, in an array comprising M microphones, two arbitrary microphone signals may be used to determine a noise reference signal, i.e.
X
A(ejΩ
X
B(ejΩ
With m≠n, denoting microphone m and n, respectively, in particular with m, nε{1, . . . , M}.
Alternatively, the first or the second audio signal may correspond to an output signal of a beamformer, i.e. to a beamformed signal. The beamformed signal may be determined by a beamformer based on microphone signals from a microphone array. For determining the noise reference signal the beamformed signal may be used as a first audio signal, while the second audio signal may be an arbitrary microphone signal from the microphone array, i.e.
X
A(ejΩ
X
B(ejΩ
where XFBF denotes a beamformed signal stemming from a fixed beamformer and m denotes a predetermined or arbitrary microphone from the microphone array.
Such a system is shown in
The noise reference signal may be determined for a particular time, e.g. denoted by k. The first audio signal and the second audio signal may cover a predetermined time period.
A noise reference signal may be determined repeatedly, in particular for different audio signals or for audio signals associated with different time periods and/or sub-bands.
The filter coefficients of the adaptive filter may be updated or modified. In this way, the first and second adaptive filter may be adapted for a subsequent time.
Adapting the first and the second adaptive filter may be based on a predetermined criterion, in particular, on a predetermined optimization criterion. This adaptation may comprise a gradient descent method, also known as steepest descent or method of steepest descent.
In this way, updated or modified filter coefficients may be obtained, i.e.
H
A(ejΩ
H
B(ejΩ
The modified coefficients may be normalized using a predetermined normalization factor, i.e.
{tilde over (H)}
A(ejΩ
{tilde over (H)}
B(ejΩ
Adapting the first and the second adaptive filter may be performed after the steps of filtering the first and the second audio signal.
In particular, adapting the first and the second adaptive filter may be based on the normalized least mean square algorithm (NLMS, see e.g. “A sub-band based acoustic source localization system for reverberant environments” by T. Wolff, M. Buck and G. Schmidt, in Proc. ITG-Fachtagung Sprachkommunikation, Aachen, October 2008). The normalized least mean square method is computationally efficient and robust. This algorithm may read:
wherein β denotes a free parameter, in particular corresponding to an adaption increment or adaptation step size. This parameter may be determined or chosen from a predetermined range, in particular between 0 and 1, for example 0.5. While the wanted sound source is inactive, i.e. if the first and the second audio signal do not comprise a wanted signal component, the parameter 0 may be chosen equal to zero. The adaptation terms comprise the power or power density of the first and the second audio signal in the denominator, which reads:
Alternatively, the predetermined criterion for adapting the first and the second adaptive filter may be based on optimizing, in particular minimizing, the signal-to-noise ratio of the noise reference signal. In this case, a filter coefficient vector may be defined as:
and an audio signal vector may be defined as:
The filter coefficient vector and the audio signal vector may be augmented by further audio signals, Xc, and further filter coefficients, Hc, for further adaptive filter, respectively, with cε{C,D, . . . }. In this case, the combination of the filtered audio signals to obtain noise reference signals, may be determined by the sign of the filter coefficients.
A noise reference signal, U, may be determined as
From the audio signal vector, a power density matrix, in particular a power spectral density matrix, may be determined, i.e.
where the operator E{ . . . } denotes an expectation value and the operator H denotes an Hermitian transpose (i.e. complex conjugate transpose).
In this way, the power spectral density of the noise reference signal may be written as
The first and the second audio signal may comprise a wanted signal component and a noise component, i.e. the audio signal vector may correspond to a sum of a wanted signal vector and a noise vector, i.e.
The wanted signal component and the noise component may be statistically independent. Consequently, the power spectral density matrix of the audio signal vector may read:
ΦXX(ejΩ
The method may comprise detecting whether the wanted sound source is active, i.e. whether the first and the second audio signal comprise a wanted signal component. In particular, the power or power density of the noise component, i.e. of the noise vector, may be estimated during the wanted sound source is inactive, i.e. if the wanted signal component or vector is equal to zero
Then the power spectral density matrix of the noise vector reads:
A mean power or mean power spectral density of the noise component, in particular of the first and second audio signal or of the noise vector, may be estimated as
Here the operator trace { . . . } denotes the trace operator, i.e. the sum of the elements on the main diagonal of a square matrix. The power or power density of the wanted signal component and the noise component in the noise reference signal, φu
In this way, the signal-to-noise ratio (SNR) of the noise reference signal may read
The signal-to-noise ratio may be minimized, i.e. the power or power density of the wanted signal component in the noise reference signal may be minimized. Hence the predetermined criterion for the adapted first and second adaptive filter or for adapting the first and the second adaptive filter may read:
The optimization may comprise the constraint
According to this constraint, the power of the noise component in the noise reference signal is set equal to the mean power of the noise component in the first and the second audio signal. Such a constraint is particularly useful when minimizing a wanted signal component in the noise reference signal.
The algorithm for adapting the first and the second adaptive filter may be based on a gradient decent method and a Lagrangian method, i.e. based on Lagrange multipliers, (see e.g. “Adaptive Filter-and-Sum Beamforming in Spatially Correlated Noise” by E. Warsitz and R. Häb-Umbach, in Proc. Int. Workshop on Acoustic Echo and Noise Control (IWAENC-05), Eindhoven, 2005, pp. 125-128).
The algorithm may read:
with
and
Θ(k)=ΦXX(k)Φnn(k)+Φnn(k)ΦXX(k)
and the normalized adaptation step size or adaptation increment
μ(k)=α(k)
The adaptation step size α(k) may take a positive value if the wanted sound source is active, in particular between 0 and 1, for example 0.5, while if the wanted sound source is inactive, i.e. if the audio signals comprise no wanted signal component, the adaptation increment, α(k), may be zero.
The sign of μ(k) may be chosen such as to yield a minimization of the signal-to-noise ratio.
As the transfer function of the first and the second adaptive filter is not unique, an attenuation of the amplitude of the filter coefficients may occur. In order to avoid such an attenuation, the modified filter coefficients may be normalized. In other words, the adaptation may be further based on a predetermined normalization factor, η(ejΩ
H
A(ejΩ
H
B(ejΩ
For the choice of the predetermined normalization factor, several alternatives are possible.
For example, the predetermined normalization factor may correspond to the norm of a modified filter coefficient vector, i.e.
Alternatively, the maximum value of the absolute values of the modified filter coefficients may be used, i.e.
η(ejΩ
Alternatively, the absolute value of a predetermined modified filter coefficient may be used, i.e.
η(ejΩ
wherein the index c0 indicates the first or the second audio signal and the index i0 indicates the value of the filter order variable of the predetermined filter coefficient. In this case the predetermined normalization factor is real valued.
A complex valued predetermined normalization factor may be determined from a particular or predetermined modified filter coefficient, i.e.
η(ejΩ
By using a complex valued predetermined normalization factor, a phase correction can be performed as well.
Particularly for a system as shown in
The predetermined normalization factor may be based on the power or power density of the noise component of a beamformed signal, wherein the beamformed signal may correspond to the first or the second audio signal. In particular, the predetermined normalization factor may be proportional to the ratio between the power or power density of the noise component in the beamformed signal, i.e. at the output of the beamformer, and the power or power density of the noise component in the noise reference signal, for example,
Here φvv(ejΩ
If adapting the first and the second adaptive filter is based on a minimization of the signal-to-noise ratio of the noise reference signal, a normalization of the filter coefficients may be omitted, as the constraint under which the minimization has been performed, may comprise an implicit normalization.
The direction to the wanted sound source, in particular the direction of arrival of a wanted signal originating from the wanted sound source, was perpendicular to the axis of the microphone array, i.e. a “broadside” arrangement was used. The decrease of the signal-to-noise ratio from the first and the second audio signal to the noise reference signal was determined. This decrease is shown on the ordinate of
A method for determining a noise reference signal, i.e. a signal where the wanted signal component is minimized or blocked, as described above, may be used for noise compensation, in particular in a “general sidelobe canceller” structure. The determined noise reference signal may also be used for post filtering of an audio signal, in particular for noise reduction. Another application of a noise reference signal can be found in the field of speech recognition or in the field of adaptation control. By comparing the noise reference signal to other signals such as a beamformed signal, the activity of a wanted sound source may be detected. Such information on the activity of a wanted sound source may be used, for example, to control an adaptation process of an adaptive filter.
In a hands-free system with distributed microphones, a noise reference signal may be used to avoid disturbances in the speech signal by concurrently speaking users.
Although previously discussed embodiments of the present invention have been described separately, it is to be understood that some or all of the above-described features can also be combined in different ways. The discussed embodiments are not intended as limitations but serve as examples illustrating features and advantages of the invention.
The embodiments of the invention described above are intended to be merely exemplary; numerous variations and modifications will be apparent to those skilled in the art. All such variations and modifications are intended to be within the scope of the present invention as defined in any appended claims.
The present invention may be embodied in many different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof. In an embodiment of the present invention, predominantly all of the reordering logic may be implemented as a set of computer program instructions that is converted into a computer executable form, stored as such in a computer readable medium, and executed by a microprocessor within the array under the control of an operating system.
Computer program logic implementing all or part of the functionality previously described herein may be embodied in various forms, including, but in no way limited to, a source code form, a computer executable form, and various intermediate forms (e.g., forms generated by an assembler, compiler, networker, or locator.) Source code may include a series of computer program instructions implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as Fortran, C, C++, JAVA, or HTML) for use with various operating systems or operating environments. The source code may define and use various data structures and communication messages. The source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
The computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), a PC card (e.g., PCMCIA card), or other memory device. The computer program may be fixed in any form in a signal that is transmittable to a computer using any of various communication technologies, including, but in no way limited to, analog technologies, digital technologies, optical technologies, wireless technologies, networking technologies, and internetworking technologies. The computer program may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software or a magnetic tape), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the communication system (e.g., the Internet or World Wide Web.)
Hardware logic (including programmable logic for use with a programmable logic device) implementing all or part of the functionality previously described herein may be designed using traditional manual methods, or may be designed, captured, simulated, or documented electronically using various tools, such as Computer Aided Design (CAD), a hardware description language (e.g., VHDL or AHDL), or a PLD programming language (e.g., PALASM, ABEL, or CUPL).
Number | Date | Country | Kind |
---|---|---|---|
09004609.5 | Mar 2009 | EP | regional |