1. Field of the Invention
The present invention relates to a technology for eliminating noise from a microphone, particularly to a microphone array structure able to reduce noise and improve speech quality and a method thereof.
2. Description of the Related Art
Microphones may pick up audio signals by a single-channel or dual-channel way. In a single-channel microphone system, the signal/noise ratio (SNR) thereof should be taken into consideration. In a dual-channel microphone system, microphones are arrayed to form a directional microphone system according to a beamforming technology. The directional microphone system is less sensitive to background noise but more sensitive to human voices. The directional microphone system is pointed to a person to receive his voices. However, the beam formed by two microphones is very large, and the directionality thereof is insufficient.
The common devices to reduce indoor or in-vehicle noises for mobile phones usually adopt numerous microphones, various filters and a great amount of matrix computation, which greatly increase the hardware cost of a mobile phone. Further, directionality of the conventional technologies, which have existed in products, patents and documents, is too low to effectively reduce noises without speech distortion.
Accordingly, the present invention proposes a microphone array structure able to reduce noise and improve speech quality and a method thereof to overcome the abovementioned problems. The technical contents and embodiments of the present invention are described in detail below.
The primary objective of the present invention is to provide a microphone array structure able to reduce noise and improve speech quality and a method thereof, wherein a phase difference estimation algorithm or a noise reduction algorithm is selected to reduce noise according to whether the angle included by a speech signal and a noise signal is a zero degree angle or a non-zero degree angle.
Another objective of the present invention is to provide a microphone array structure able to reduce noise and improve speech quality and a method thereof, wherein a GSS (Golden Section Search) algorithm is used to search for an optimal ITD (Interaural Time Difference) threshold, whereby the speech signals have the best quality at all angles.
To achieve the abovementioned objectives, the present invention proposes a microphone array structure able to reduce noise and improve speech quality, which comprises at least two microphones, at least two FFT (Fast Fourier Transform) modules, a processing module, a phase difference estimation module, a mask estimation module, and an IFFT (inverse-FFT)-OLA (overlap-and-add) module. The microphones receive at least two microphone signals each containing a noise signal and a speech signal. The FFT modules transform the microphone signals into frequency-domain signals. The processing module calculates an angle included by a noise signal and a speech signal. According to the included angle, the processing unit selects a combination of a phase difference estimation algorithm and a mask estimation algorithm, a noise reduction algorithm or both to reduce noise. The phase difference estimation module calculates the phase difference of the microphones and interaural time difference (ITD) and finds out optimized ITD thresholds corresponding to different included angles. The mask estimation module uses the threshold to obtain a mask signal according to a binary mask principle, and multiplies the mask signal and the average of the microphone signals to obtain the speech signals of the microphone signals. The IFFT-OLA module transforms the frequency-domain speech signals into time-domain signals.
The present invention also proposes a method for realizing a microphone array structure able to reduce noise and improve speech quality, which comprises steps: receiving at least two microphone signals and using FFT modules to transform the microphone signals into frequency-domain signals; calculating an angle included by a speech signal and a noise signal of the microphone signal, and selecting a combination of a phase difference estimation algorithm and a mask estimation algorithm, a noise reduction algorithm or both to reduce noise according to the included angle; calculating phase difference of the microphone signals and finding out interaural time difference (ITD); using a GSS (Golden Section Search) algorithm to search for optimized ITD thresholds corresponding to different included angles; using the threshold to obtain a mask signal according to a binary mask principle; multiplying the mask signal and the average of the microphone signals to obtain the speech signals of the microphone signals; and using an IFFT-OLA module to transform the frequency-domain speech signals into time-domain signals.
Below, the embodiments are described in detail to make easily understood the objectives, technical contents, characteristics and accomplishments of the present invention.
The present invention proposes a microphone array structure able to reduce noise and improve speech quality and a method thereof, wherein phase difference of two microphone signals is used to obtain the mask of the microphone signals in a frequency domain and a time domain, whereby to reduce noise and improve speech quality.
Refer to
Refer to
wherein (k, l) denotes the kth frequency and the lth frame, X a speech signal, Ni the ith noise source, Pm the signal received by the mth microphone, and N the length of FFT, and
wherein wk=2πk/N, and 0≦k≦N/2−1.
In Step S12, calculate the angle included by a noise signal and a speech signal of the microphone signal P1(k,l) or P2(k,l), i.e. the angle included by the speech source and the noise source, and select a combination of a phase difference estimation algorithm and a mask estimation algorithm, a noise reduction algorithm or both to reduce noise according to the included angle.
In Step S14, determine whether the included angle is a zero degree angle. If the included angle is a non-zero degree angle, the process proceeds to Step S16 to calculate phase difference of the noise signal and the speech signal and an ITD threshold.
Suppose that the speech signals are in the front of the microphones. Thus, ITD is zero. ITD of the noise signals from other directions are expressed by di(k, l). ITD correlates with time and frequency. Suppose that a time-frequency domain signal bin(kj, lj) is dominated by a strongest interference. Thus, Equations (1) and (2) can be simplified into Equations (3) and (4):
P1(kj,lj)≈Nn(kj,lj) (3)
P2(kj,lj)≈e−jω
Thus, ITD can be obtained via calculating phase difference of the two microphones according to Equation (5):
The ITD threshold is needed in Step S18. Thus, a method, such as a GSS (Golden Section Search) algorithm, is used to search for the optimized ITD thresholds τ corresponding to different included angles in Step S16. Suppose that a function ƒ(x) is continuous and has only a minimum in [a, b]. Select Point c and Point d from [a, b]. Suppose that
wherein d is a symmetric point of c in Line Segment
ƒ(x)≈ƒ(xm)+½ƒ″(xm)(x−xm)2 (10)
If x approaches xm sufficiently, the rear second derivative item is very small and can be neglected. In such a case, Equation (10) can be expressed by Equation (11):
½ƒ″(xm)(x−xm)2<ε|ƒ(xm)| (11)
wherein ε is equal to 10−3. Suppose that the parameters of the function of the GSS algorithm include the speech distortion, noise elimination ratio, quality of the total speech signals. τ can be expressed by Equation (12):
τ=−0.000056θ2+0.0108θ−0.0575 (12)
wherein θ is an angle included by a speech signal and a noise signal. The τ values obtained from Equation (12) can make the processed signals have the best speech quality.
After the optimized ITD thresholds have been obtained, the process proceeds to Step S18, and a binary mask principle is used to work out a microphone mask signal according to Equation (6):
wherein only the signals having ITD smaller than t are regarded as target speech signals.
The resultant speech signal S(k,l) can be obtained via multiplying the mask signal B(kj,lj) and the average of the two microphone signals
P
S(k,l)=B(k,l)
After the speech signals are separated from the noise signals in Step S18, the process proceeds to Step S22, and the IFFT (inverse-FFT) and OLA (overlap-and-add) methods are used to convert the frequency-domain speech signals into time-domain signals, and the time-domain signals are output. Then, the process proceeds to Step S24, and the automatic speech recognition module recognizes the output speech signals.
If the included angle is determined to be a non-zero degree angle in Step S14, the process proceeds to Step S20, and a noise reduction algorithm is used to eliminate noise signals from microphones signals with speech signals being preserved. Next, the process proceeds to Step S22, and the IFFT and OLA methods are used to convert the frequency-domain speech signals into time-domain signals, and the time-domain signals are output. Then, the process proceeds to Step S24, and the automatic speech recognition module recognizes the output speech signals.
Summarily, the method of the present invention determines whether the angle included by a speech signal and a noise signal is a zero degree angle. If the included angle is a zero degree angle, a noise reduction algorithm is used to reduce noise. If the included angle is a non-zero degree angle, a phase difference estimation algorithm is used to reduce noise. The phase difference estimation algorithm provides optimized ITD thresholds to attain the best noise reduction effect and the best speech quality at all included angles.
The embodiments described above are only to exemplify the present invention but not to limit the scope of the present invention. Any equivalent variation or modification according to the spirit of the present invention is to be also included within the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
099143712 | Dec 2010 | TW | national |