Information
-
Patent Application
-
20040161120
-
Publication Number
20040161120
-
Date Filed
February 19, 200321 years ago
-
Date Published
August 19, 200420 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
The invention concerns a device for detecting the presence of wind noise in an array of microphones comprising two or more separate sound inlet openings, and a sound to electrical converting element or microphone in relation to each sound inlet opening. The microphones generates each their time dependant signals, which are fed to a signal processing device, which provides one or more output signals. The signal processing device has means for generating a time dependant cross correlation function between a first and a second microphone signal and, means for generating a signal corresponding to a time dependant auto correlation function of either the first or the second of the microphone signals. Further the signal processing device has means for comparing the values of the auto correlation function and the cross correlation function and the means for comparing are arranged to detect the condition that the auto correlation function is substantially higher than the cross correlation function, whereby said condition is indicative of the presence of wind noise.
Description
AREA OF THE INVENTION
[0001] The invention relates to a device for detecting the presence of wind noise in an array of microphones. The device comprises two or more separate sound inlet openings, and a sound to electrical converting element or microphone in relation to each sound inlet opening, where the microphones generates each their time dependant signals and where said signals are fed to a signal processing device which provides one or more output signals. The output signals can be used in various audio systems, such as hearing aids, headsets, telephones or wireless microphones.
[0002] The invention also relates to a method of detecting wind noise in a system having more than one microphone.
BACKGROUND OF THE INVENTION
[0003] In audio systems comprising directional microphones or microphone arrays, it has been a problem that wind noise is generated even at very low wind-speeds. It has been attempted to solve the problem by placing a windscreen in front of the microphone sound inlet opening, but this inevitably results in reduced overall performance of the microphone. This is known in hearing aid with directional microphones or with two or more microphones and DSP systems for generating an output with directionality.
[0004] In: “Digital Signal Processing, Principles, Algorithms, and Applications” by John G. Proakis et al it is explained how wind noise is a seismic signal (a signal created by nature) in the range from 100 to 1000 Hz. In microphone systems with two or more sound inlet ports the wind noise is generated by local air turbulence around the inlet openings, and therefor the sound signals received at the microphones will be un-correlated. It is an object of the invention to use the nature of the wind noise signal to detect the presence of wind noise in microphone systems with two or more sound inlet opening and two or more independent electrical output.
SUMMARY OF THE INVENTION
[0005] The invention comprises a device of the above kind, where the signal processing device has means for generating a first time dependant correlation signal composed of cross correlation function values between a first and a second microphone signal and, means for generating a second time dependant correlation signal composed of auto correlation function values of either the first or the second of the microphone signals and where the signal processing device has means for comparing the values of the first and the second correlation signal and that the means for comparing are arranged to detect the condition that the second correlation signal value is higher than the first correlation signal value, whereby said condition is indicative of the presence of wind noise.
[0006] This device is very simple to implement either as a digital or as an analog device. In digital devices the processing powers needed to calculate the cross correlation function values is limited, and the comparing means are also standard devices in both digital and analog devices. When wind noise is detected this information can be used in a number of different ways. A wind noise-damping filter can be switched on, or in stead of array processing the signal from a single omnidirectional microphone may be used in the signal processing device to generate the output.
[0007] In a further aspect the invention comprises a device for detecting the presence of wind noise in an array of microphones comprising two or more separate sound inlet openings, and a sound to electrical converting element or microphone in relation to each sound inlet opening, where the microphones generates each their time dependant signals and where said signals are fed to a signal processing device which provides one or more output signals where the signal processing device has means for combining the microphone signals in order to form a single directional signal and where further the signal processing device has means for forming a first time dependant correlation signal composed of auto correlation function values from one of the microphone signals before said signal is combined with the other signals and further has means for forming a second time dependant correlation signal composed of auto correlation function values of the single directional signal and where the signal processing device has means for comparing the value of the first correlation signal and the second correlation signal and that the means for comparing are arranged to detect the condition that the second correlation signal value is higher than the first correlation signal value, whereby said condition is indicative of the presence of wind noise.
[0008] In this aspect of the invention the nature of the directional algorithm is used, and only the auto correlation values of the input signals to the directional algorithm and the auto correlation values of the output directional signal is generated, and on the basis of their mutual size it is determined whether wind noise is present or not.
[0009] In an embodiment of the invention the device comprises a low pass filter between the microphones and the means for generating the correlation signals. As wind noise typically is in the frequency range of 100 Hz to 1000 Hz the signal used in the detecting device does not need to have any high frequency components. Further the limitation to frequencies below 1000 Hz allows the process to be run down sampled (in digital systems), and this saves processing powers and energy.
[0010] It is preferred that each of the correlation functions are generated continually using only single signal values at a given point in time. In the digital case, this means that squaring each of the sample values generates the short term autocorrelation in lag zero values, and multiplying single point signal values from the respective microphones generates the short term cross correlation value in lag zero. These are very simple signal processing schemes in the digital domain, but also for analog signal processing, similarly simple processing can do this. The formulas for an autocorrelation and a cross correlation are
r
xx
(l)=<x(n)x(n−l)>(Autocorrelation)
r
xy
(l)=<x(n)y(n−l)>(Crosscorrelation)
[0011] In the described embodiment of the invention l is set to 0, so the correlation value is in both cases generated by one simple multiplication. If n=0 is the present sample, a segment will be chosen form n=−k to n=k for a practical calculation of the correlation. In the present embodiment k is set to 0, and the correlation degenerates to a simple multiplication.
[0012] In a preferred embodiment a mean value generator is provided for each of the correlation functions. In digital processing this could be done by a simple IIR filter having the following form:
H
(z)=1/(1−a1*z−1)
[0013] The value a1 determines the weight of the previous samples with respect to the present sample, and thus determines the dynamic behavior of the system. A suitable value for a1 is 0.9999 at 16 kHz sampling frequency. Many other IIR or FIR filters may produce values, which gives a good representation of the mean value at a given time. Also for analog instruments such a mean value generator is simple to implement, eg. as an integrator with loss.
[0014] According to the a further embodiment of the invention the means for comparing the auto correlation function in lag zero with the mean value of the cross correlation function in lag zero are arranged to determine that wind noise is present whenever the estimated value of the auto correlation function is more than 1.5, preferably more than 2.0 times bigger than the estimated value of the cross correlation function. Thereby it is ensured, that whenever the wind noise becomes so loud, that it is perceived as annoying the signal processor gets a message from the comparing means, and appropriate measures can be taken to lessen the effect of the wind noise.
[0015] According to yet another embodiment, the means for comparing are designed to only become active whenever a given level of signal energy in the microphone channels is detected. This is important, because in some systems the noise generated by the microphones themselves is considerable, and as this noise is also un-correlated, it may trigger the wind detection mechanism, even if there is no air circulation at all around the sound inlet openings.
[0016] In a further aspect the invention concerns a method for detecting the presence of wind noise in a system comprising two or more microphone elements having each their sound inlet openings, where first correlation signal is generated composed of the cross correlation values between a first and a second microphone signal and where further a second correlation signal is generated composed of auto correlation function values of either the first or the second of said microphone signals, and where the values of the first correlation signal and the second correlation signal are compared, and that a wind noise indicator is activated whenever the value of the second correlation signal is higher than the value of the first correlation signal.
[0017] In a further aspect of the method according to the invention the system comprises two or more microphone elements having each their sound inlet openings. Here the microphone signals are combined in order to generate a single directional signal. A first correlation signal is generated from composed of auto correlation function values of one of said microphone signals and also a second correlation signal is generated composed of auto correlation function values of the directional signal, and the value of the first correlation signal is compared to the value of the second correlation signal, and a wind noise indicator is activated whenever the value of the second correlation signal is higher than the value of the first correlation signal.
BRIEF DESCRIPTION OF THE DRAWINGS
[0018]
FIG. 1 is a basic model of the noise in a two-microphone system,
[0019]
FIG. 2 is a diagram showing the signal processing elements of the wind noise detecting system according to the invention.
[0020]
FIG. 3 is a diagram showing the signal processing elements in a directional system with tow microphones and a directional algorithm for combining the signals from the two microphones.
DESCRIPTION OF A PREFERRED EMBODIMENT
[0021]
FIG. 1 shows a system with two microphones and an external sound source s(t). The time delay from the sound source s(t) to the two microphones is t1 and t2 respectively. The distance between the two microphones is d. The wind noise in each microphone is represented as a noise source e1 and e2 respectively. These two noise sources are un-correlated, which means that cross correlation between e1 and e2 is approximately zero. The output from the microphones will be:
x
(t)=s(t-t1)+e1(t)
y
(t)=s(t-t2)+e2(t)
[0022] The autocorrelation at lag zero of x (rXX) and the maximum of the autocorrelation of y (rYY) consist of the energy of: the external sound source s(t), the wind noise and the internal noise of the microphone. The contribution of the internal noise is considered negligible at this point and is dealt with later. The wind noise is an external noise source, but due to its un-correlated nature it can be modeled as an internally generated signal. Mathematically the autocorrelations of the signals x and y can be expressed like this:
r
XX
(l)=rSS(l)+re1,e1(l)
r
YY
(l)=rSS(l)+re2,e2(l)
[0023] Mathematically the cross correlation between x(t) and y(t) can be written as:
r
XY
(l)=rSS(l+t1-t2)+re1,e2(l)
[0024] As the correlation between e1 and e2 is approximately zero we are able to approximate with:
r
XY
(l)=rSS(l+t1-t2)
[0025] In a wind noise situation the value of the cross correlation is smaller than the value of the auto correlation, which is what this wind noise detector uses, i.e. rXY<rXX or rXY<rYY since re1,e2 remains approximately zero and re1,e1(l) or re2,e2(l) grows with growing wind noise. Because the wavelength of the highest frequency is much longer than the distance between the microphones, t1-t2 is approximately zero.
[0026] In FIG. 2 the system from FIG. 1 is shown with the signal processing. In this system a correlation length of 1 sample is used. The system requires that the microphones distance d is much smaller than the wavelength of the highest frequency. If the distance d is large so that t1-t2 is not approximately zero, longer lag times in the correlation calculation is needed, and the maximum value of the correlation is passed on as the result.
[0027] The described system will work with a sampling frequency of 16 kHz. In the system an analog to digital converter (not shown) is placed before the low pass filter LP in FIG. 2. The system is equipped with 2 hearing aid microphones EM-type from Knowles with a preamplifier.
[0028] The low pass filter is a second order Butterworth filter (biquad), which has a cut off frequency of 1000 Hz. This low pass filter makes sure that only those frequencies, which are of interest, are fed to the wind noise detection system. Further it gives the opportunity to run the processing down sampled. A FIR filter would produce the same result. The wavelength of a 1000 Hz tone is approximately 32 cm., which is much longer than the distance between the two microphones. As earlier described; if the distance between the microphones means that the difference between the t1 and t2 is not approximately zero. In that case one need to calculate a longer lag space and find the maximum i.e. where the difference between t1 and t2 is approximately zero.
[0029] In the box X*X in FIG. 2 the value of the auto correlation in sample zero (rx,x(0)) of the low pass filtered signal from the microphone is calculated. In this system we square the signal, which is the same as a short term energy measure. In the box X*Y in FIG. 2 we calculate the value of the cross correlation in sample zero (rx,y(0)). If the distance between the two microphones is large, the value t1-t2 is not approximately zero and one need to calculate a larger correlation length and find the maximum.
[0030] A way to calculate the true mean value is to summarize all data and divide with the number of data. This version is for obvious reasons not possible to implement. A method that that can be implemented is to calculate in segments. Another way is to feed the sample through a suitable IIR filter, preferably a first order IIR filter. The chosen filter can be described in the following way:
H
(z)=1/(1−a1*z−1)=1/(1−0.9999*z−1)
[0031] The filter is not very critical and can be implemented in various other ways (IIR or FIR). The value of a1 is comparable to a time constant, and determines the reaction time to shifts in wind noise level.
[0032] In the decision box it is determined whether there is wind noise or not. In the present example of the invention the decision limit is set such that wind noise is detected when the auto correlation mean value is more than twice as large as the calculated cross correlation mean value. Because of the relative large amount of uncorrelated microphone noise also a decision limit as a function of the energy is incorporated into the decision algorithm. In this way there has to bee some acoustical input to the microphones before the above limit will be calculated. This problem is mostly related to hearing aid microphones or other nosy microphones.
[0033] It is also possible to implement the system in an entirely analog version. The system has the same dataflow as shown in FIG. 2, but some of the boxes can be implemented in another way. First the mean value calculator can be implemented as an integrator with loss. Mathematically this is nearly the same as the digital version described above. The decision box then relates to a comparator in the analog domain. The filters and multiplicators are normal analog building blokes.
[0034] An other way of designing a wind noise detector is to make use of the directionality (fx. Gary Elko patnr. U.S. Pat. No. 5,473,701). In this algorithm we use the difference between the autocorrelation of one of the inputs and the autocorrelation of the outputs. The system is shown in FIG. 3. The wind noise measure system uses that the wind noise in the input channel X or Y consist of the target signal s(t) and the signal from the wind noise e1 or e2 respectively. Then the auto correlation function is:
r
XX
(l)=rSS(l)+re1,e1(l) or rYY(l)=rSS(l)+re2,e2(l)
[0035] The auto correlation from the output signal of the directional algorithm consists of the correlation of the autocorrelation of the target signal and the auto correlation of both the wind noise sources. i.e.
r
DIR,DIR
(l)=a*rss(l)+re1,e1(l)+re2,e2(l) (a is a scaling factor from the directional algorithm)
[0036] The system works then by detecting the difference between the input autocorrelation rXX or rYY and the output autocorrelation of the directional system rDIR,DIR. For large values of wind noise we have rDIR,DIR>rXX or rDIR,DIR>rYY.
[0037] The calculation of the correlation values can be made as earlier described. The decision should also be the same but the input signals to the decision box are measured in different places. The boundary between detection wind noise and not are the same as in the first described system because of the missing noise signal (the signal, which the directionality algorithm removes). In the real world the signal would only be damped because of reverberations and therefore the decision boundary should be a variable of how efficient the directional algorithm is.
Claims
- 1. Device for detecting the presence of wind noise in an array of microphones comprising two or more separate sound inlet openings, and a sound to electrical converting element or microphone in relation to each sound inlet opening, where the microphones generates each their time dependant signals and where said signals are fed to a signal processing device which provides one or more output signals where the signal processing device has means for generating a first time dependant correlation signal composed of cross correlation function values between a first and a second microphone signal and, means for generating a second time dependant correlation signal composed of auto correlation function values of either the first or the second of the microphone signals and where the signal processing device has means for comparing the values of the first and the second correlation signal and that the means for comparing are arranged to detect the condition that the second correlation signal value is higher than the first correlation signal value, whereby said condition is indicative of the presence of wind noise.
- 2. Device as claimed in claim 1, and further comprising a low pass filter between the microphones and the means for generating the correlation signals.
- 3. Device as claimed in claim 1, one or more of the above claims, where a mean value generator is provided for each of the correlation signals.
- 4. Device as claimed in claim 1, wherein the means for comparing the first correlation function with the second correlation function are arranged to determine that wind noise is present whenever the mean value of the second correlation function is more than 1.5, preferably more than 2.0 times bigger than the mean value of the first correlation function.
- 5. Device as claimed in claim 1, where the means for comparing are designed to only become active whenever a given level of signal energy in the microphone channels is detected.
- 6. Device for detecting the presence of wind noise in an array of microphones comprising two or more separate sound inlet openings, and a sound to electrical converting element or microphone in relation to each sound inlet opening, where the microphones generates each their time dependant signals and where said signals are fed to a signal processing device which provides one or more output signals where the signal processing device has means for combining the microphone signals in order to form a single directional signal and where further the signal processing device has means for forming a first time dependant correlation function composed of auto correlation function values from one of the microphone signals before said signal is combined with the other signals and further has means for forming a second time dependant correlation signal composed of auto correlation function values of the single directional signal and where the signal processing device has means for comparing the values of the first correlation signal and the second correlation signal and that the means for comparing are arranged to detect the condition that the second correlation signal value is higher than the first correlation signal value, whereby said condition is indicative of the presence of wind noise.
- 7. Device as claimed in claim 6, and comprising a low pass filter between the microphones and the means for generating the correlation signals.
- 8. Device as claimed in claim 6, where a mean value generator is provided for each of the correlation signals.
- 9. Device as claimed in claim 6, wherein the means for comparing the first correlation function with the second correlation function are arranged to determine that wind noise is present whenever the mean value of the second correlation function is more than 1.5, preferably more than 2.0 times bigger than the mean value of the first correlation function.
- 10. Device as claimed in claim 6, where the means for comparing are designed to only become active whenever a given level of signal energy in the microphone channels is detected.
- 11. Method for detecting the presence of wind noise in a system comprising two or more microphone elements having each their sound inlet openings, where a first correlation signal is generated composed of the cross correlation values of a first and a second microphone signal, and where further a second correlation signal is generated composed of auto correlation function values of either the first or the second of said microphone signals, and where the first correlation signal and the second correlation signal are compared, and that a wind noise indicator is activated whenever the value of the second correlation signal is higher than the value of the first correlation signal.
- 12. Method as claimed in claim 11, where the signals from the microphones are passed through a low pass filter before the correlation signals are generated.
- 13. Method as claimed in claim 11, where each of the correlation functions are generated continually using only a single signal value at a given point in time.
- 14. Method as claimed in claim 11, where a mean value is generated for each of the correlation function signals.
- 15. Method as claimed in claim 11, where the condition for wind noise detection is met whenever the mean value of the second correlation function is more than 1.5, preferably more than 2.0 times bigger than the mean value of the first correlation function.
- 16. Method as claimed in claim 11, where the means for comparing only become active whenever a given level of signal energy in the microphone channels is detected.
- 17. Method for detecting the presence of wind noise in a s system comprising two or more microphone elements having each their sound inlet openings, and where the microphone signals are combined in order to generate a single directional signal, and where a first correlation signal is generated composed of the auto correlation function values from one of said microphone signals and where a second correlation signal is generated composed of auto correlation function values from the directional signal, and where the value of the first correlation signal is compared to the value of the second correlation signal, and that a wind noise indicator is activated whenever the value of the second correlation signal is higher than the value of the first correlation signal.
- 18. Method as claimed in claim 17, where the signals from the microphones are passed through a low pass filter before the correlation signals are generated.
- 19. Method as claimed in claim 17, where each of the correlation functions are generated continually using only a single signal value at a given point in time.
- 20. Method as claimed in claim 17, where a mean value is generated for each of the correlation function signals.
- 21. Method as claimed in claim 17, where the condition for wind noise detection is met whenever the mean value of the second correlation function is more than 1.5, preferably more than 2.0 times bigger than the mean value of the first correlation function.
- 22. Method as claimed in claim 17, where the means for comparing only become active whenever a given level of signal energy in the microphone channels is detected.