METHOD AND DEVICE FOR MICROPHONE SELECTION

Abstract
The present invention relates to a device, such as an audio communication device, for combining a plurality of microphone signals xn(k) into a single output signal y(k). The device comprises processing means configured to calculate control signals fn(k), and control means configured to select which microphone signal xn(k) or which combination of microphone signals xn(k) to use as output signal y(k) based on said control signals fn(k). To improve the selection, the device comprises linear prediction filters for calculating linear prediction residual signals en(k) from the plurality of microphone signals xn(k), and the processing means is configured to calculate the control signals fn(k) based on said linear prediction residual signals en(k).
Description
TECHNICAL FIELD

The present invention relates to a device according to the preamble of claim 1, a method for combining a plurality of microphone signals into a single output signal according to the preamble of claim 11, a computer program according to the preamble of claim 21, and a computer program product according to the preamble of claim 22.


BACKGROUND OF THE INVENTION

The invention concerns a technological solution targeted for systems including audio communication and/or recording functionality, such as, but not limited to, video conference systems, conference phones, speakerphones, infotainment systems, and audio recording devices, for controlling the combination of two or more microphone signals into a single output signal.


The main problems in this type of setup is microphones picking up (in addition to the speech) background noise and reverberation, reducing the audio quality in terms of both speech intelligibility and listener comfort. Reverberation consists of multiple reflected sound waves with different delays. Background noise sources could be e.g. computer fans or ventilation. Further, the signal-to-noise ratio (SNR), i.e. ratio between the speech and noise (background noise and reverberation), is likely to be different for each microphone as the microphones are likely to be at different locations, e.g. within a conference room. The invention is intended to adaptively combine the microphone signals in such a way that the perceived audio quality is improved.


To reduce background noise and reverberation in setups with multiple microphones, beamforming-based approaches have been suggested; see e.g. M. Brandstein and D. Ward, Microphone Arrays: Signal Processing Techniques and Applications. Springer, 2001. However, as beamforming is non-trivial in practice and generally requires significant computational complexity and/or specific spatial microphone configurations, microphone combining (or switching/selection) has been used extensively in practice, see e.g. P. Chu and W. Barton, “Microphone system for teleconferencing system,” U.S. Pat. No. 5,787,183, Jul. 28, 1998, D. Bowen and J. G. Ciurpita, “Microphone selection process for use in a multiple microphone voice actuated switching system,” U.S. Pat. No. 5 625 697, Apr. 29, 1997 and B. Lee and J. J. F. Lynch, “Voice-actuated switching system,” U.S. Pat. No. 4,449,238, May 15, 1984. In the microphone selection/combining approach, the idea is to use the signal from the microphone(s) which is located closest to the current speaker, i.e. the microphone(s) signal with the highest signal-to-noise ratio (SNR), at each time instant as output from the device.


Known microphone selection/combination methods are based on measuring the microphone energy and selecting the microphone which has largest input energy at each time instant, or the microphone which experiences a significant increase in energy first. The drawback of this approach is that in highly reverberative or noisy environments, the interference of the reverberation or noise can cause a non optimal microphone to be selected, resulting in degradation of audio quality. There is thus a need for alternative solutions for controlling the microphone selection/combination.


SUMMARY OF THE INVENTION

It is an object of the present invention to provide means for improved selection/combination of multiple microphone input signals into a single output signal.


This object is achieved by a device for combining a plurality of microphone signals into a single output signal. The device comprises processing means configured to calculate control signals, and control means configured to select which microphone signal or which combination of microphone signals to use as output signal based on said control signals. The device further comprises linear prediction filters for calculating linear prediction residual signals from said plurality of microphone signals, and the processing means is configured to calculate the control signals based on said linear prediction residual signals.


By selecting which microphone signal or which combination of microphone signals to use as output signal based on control signals that are calculated based on linear prediction residual signals instead of the microphone signals, several advantages are achieved. Owing to the de-correlation (whitening) property of linear prediction filters, some amount of reverberation is removed from the microphone signals, as well as correlated background noise. Both reverberation and background noise influences the microphone selection control negatively. Thus, by lessening the amount of reverberation and correlated background noise the microphone selection performance is improved.


Preferably, the control signals are calculated based on the energy content of the linear prediction residual signals. The processing unit may be configured to compare the output energy from adaptive linear prediction filters and, at each time instant, select the microphone(s) associated with the linear prediction filter(s) that produces the largest output energy/energies. This improves the audio quality by lessening the risk of selecting non-optimal microphone(s).


In a preferred embodiment, the device comprises means for delaying the plurality of microphone signals, filtering the delayed microphone signals, and generating the linear prediction residual signals from which the control signals are calculated by subtracting the original microphone signals from the delayed and filtered signals.


Preferably, the device further comprises means for generating intermediate signals by rectifying and filtering the linear prediction residual signals obtained as described above. These intermediate signals may, together with said plurality of microphone signals, be used as input signals by a processing means of the device to calculate the control signals.


In other embodiments the said processing means may be configured to calculate the control signals based on any of, or any combination of the linear prediction residual signals, said intermediate signals, and one or more estimation signals, such as noise or energy estimation signals, which in turn may be calculated based on the plurality of microphone signals.


According to a preferred embodiment, the control means for selecting which microphone signal or which combination of microphone signals that should be used as output signal is configured to calculate a set of amplification signals based on the control signals, and to calculate the output signal as the sum of the products of the amplification signals and the corresponding microphone signals.


Other advantageous features of the device will be described in the detailed description following hereinafter.


The object is also achieved by a method for combining a plurality of microphone signals into a single output signal, comprising the steps of:

    • calculating linear prediction residual signals from said plurality of microphone signals;
    • calculating control signals based on said linear prediction residual signals, and
    • selecting, based on said control signals, which microphone signal or which combination of microphone signals to use as output signal.


Also provided is a computer program capable of causing the previously described device to perform the above method.


It should be appreciated that, at least in this document, “combining” a plurality of entities into a single entity includes the possibility of selecting one of the plurality of entities as said single entity. Thus, it should be appreciated that “combining a plurality of microphone signals into a single output signal” herein includes the possibility of selecting a single one of the microphone signals as output signal.





BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the invention disclosed herein will be obtained as the same becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying figures briefly described below.



FIG. 1 is a schematic block diagram illustrating a plurality of microphone signals fed to a digital signal processor (DSP);



FIG. 2 illustrates a linear prediction process according to a preferred embodiment of the invention;



FIG. 3 is a block diagram of a microphone selection process according to a preferred embodiment of the invention, and



FIG. 4 illustrates an exemplary device comprising a computer program according to the invention.





DETAILED DESCRIPTION OF THE INVENTION

In the following, for the case of clarity, the invention and the advantages thereof will be described mainly in the context of a preferred embodiment scenario. However, the skilled person will appreciate other scenarios of combinations which can be achieved using the same principles.



FIG. 1 illustrates a block diagram of an exemplary device 1, such as an audio communication device, comprising a number of N microphones 2. Local (reverberated) speech and noise is picked up by the microphones 2, amplified by an amplifier 3, converted to discrete signals xn(k) (where n=1,2, . . . ,N) by an analog-to-digital converter 4, and fed to a digital signal processor (DSP) 5. The DSP 5 produces a digital output signal y(k), which is amplified by an amplifier 6 and converted to an analog line out signal by a digital-to-analog converter 7.



FIG. 2 shows a linear prediction process for the preferred embodiment of the invention illustrated for one microphone signal xn(k) performed in the DSP 5. Preferably, the linear prediction process for all microphone signals (n=1,2, . . . ,N) are identical. First, the microphone signal xn(k) is delayed for one or more sample periods by a delay processing unit 8, e.g. by one sample period, which in an embodiment with 16 kHz sampling frequency corresponds to a time period of 62.5 μs. The delayed signal is then filtered with an adaptive linear prediction filter 9 and the output is subtracted from the microphone signal xn(k), by a subtraction unit 10, resulting in a linear prediction residual signal en(k). The linear prediction residual signal is used to update the adaptive linear prediction filter 9. The algorithm for adapting the linear prediction filter 9 could be least mean square (LMS), normalized least mean square (NLMS), affine projection (AP), least squares (LS), recursive least squares (RLS) or any other type of adaptive filtering algorithm. The updating of the linear prediction filter 9 may be effectuated by means of a filter adaption unit 11.



FIG. 3 shows a block diagram illustrating the microphone selection/combination process performed by the DSP 5 after having performed the linear prediction process illustrated in FIG. 2. In the preferred embodiment of the invention the output signals en(k) from the adaptive linear prediction filters 9 are rectified and filtered by a linear prediction residual filtering unit 12 producing intermediate signals. These intermediate signals are then processed by processing means 13, hereinafter sometimes referred to as the linear prediction residual processing unit, using the microphone signals as input signals. In the preferred embodiment of the invention the linear prediction residual processing unit estimates the level of stationary noise of the microphone signals and use this information to remove the noise components in the intermediate signal to form the control signals fn(k). The processing of the processing means 13 helps to avoid situations of erroneous behaviour where e.g. one microphone is located close to a noise source.


The control signals fn(k) are used by a microphone combination controlling unit (14) to control the selection of the microphone signal or the combination of microphone signals that should be used as output signal y(k). The selection is performed in a microphone combination unit 15.


In the preferred embodiment of the invention the microphone combination controlling unit 14 processes the control signals fn(k) in order to produce amplification signals cn(k). These amplification signals cn(k) are then used to combine the different microphone signals xn(k) by multiplying each amplification signal with its corresponding microphone signal and summing all these products in order to produce the output signal. For example [c1(k), c2(k), c3(k), . . . ,cN(k)]=[1,0,0, . . . , 0], implies that the output signal is identical to the first microphone signal.


The microphone combination controlling unit 14 and the microphone combination unit 15 hence together form control means for selecting which microphone signal xn(k) or which combination of microphone signals xn(k) should be used as output signal y(k), based on the control signals fn(k) received from the processing means 13.


In one embodiment of the invention the microphone combination controlling unit (14) process is performed according to:














[c1(k), c2(k), c3(k) , . . . ,cN(k)] = [0, 0, 0, . . . , 0]


fmax(k) = max{f1(k), f2(k), . . . , fN(k)}


fmean(k) = mean{f1(k), f2(k), . . . , fN(k)}


i = argmax{f1(k), f2(k), . . . , fN(k)}


if (fmax(k) − fa(k−1)(k))/fmean(k) > T    then a(k) = i,    else a(k) =


a(k − 1), ca(k)(k) = 1,









where T is a threshold and a(k) is the index of the currently selected microphone.


In some situations it may be advantageous to allow previous values of the control signals cn(k) to influence the current value. For example, two speakers might be active simultaneously. In one embodiment of the invention a switching between two microphones is avoided by setting both microphones as active should such a situation occur. I another embodiment of the invention, quick fading in of the new selected microphone signal and quick fading out of the old selected microphone signal is used to avoid audible artifacts such as clicks and pops.


The signal processing performed by the elements denoted by reference numerals 9 to 15 may be performed on a sub-band basis, meaning that some or all calculations can be performed for one or several sub-frequency bands of the processed signals. The control of the microphone selection/combination may be based on the results of the calculations performed for one or several sub-bands and the combination of the microphone signals can be done in a sub-band manner. In a preferred embodiment of the invention the calculations performed by the elements 9 to 14 is performed only in high frequency bands. Since sound signals are more directive for high frequencies, this increases sensitivity and also reduces computational complexity, i.e. reducing the computational resources required.



FIG. 4 illustrates an exemplary device 1 according to the invention comprising several microphones 2. The device further comprises a processing unit 16 which may or may not be the DSP 5 in FIG. 1, and a computer readable medium 17 for storing digital information, such as a hard disk or other non-volatile memory. The computer readable medium 17 is seen to store a computer program 18 comprising computer readable code which, when executed by the processing unit 16, causes the DSP 5 to select/combine any of the microphones 2 for output signal y(k) according to principles described herein.

Claims
  • 1. A device for combining a plurality of microphone signals xn(k) into a single output signal y(k), comprising: processing means configured to calculate control signals fn(k);control means configured to select which microphone signal xn(k) or which combination of microphone signals xn(k) to use as output signal y(k) based on said control signals fn(k),characterised in that said device comprises linear prediction filters for calculating linear prediction residual signals en(k) from said plurality of microphone signals xn(k), and in that said processing means is configured to calculate said control signals fn(k) based on said linear prediction residual signals en(k).
  • 2. Device according to claim 1, further comprising delay processing means and a subtraction unit, wherein the delay processing means is configured to delay said plurality of microphone signals xn(k), the linear prediction filters are configured to filter the delayed microphone signals, and the subtraction unit is configured to subtract said microphone signals xn(k) from the delayed and filtered signals in order to obtain said linear prediction residual signals en(k).
  • 3. Device according to claim 1, further comprising linear prediction residual filtering means configured to generate intermediate signals by rectifying and filtering said linear prediction residual signals en(k).
  • 4. Device according to claim 3, wherein the processing means is configured to calculate said control signals fn(k) using said intermediate signals and said plurality of microphone signals xn(k) as input signals.
  • 5. Device according to claim 1, wherein said processing means is configured to calculate said control signals fn(k) based on any of, or any combination of: said linear prediction residual signals en(k),said intermediate signals, andestimation signals, such as noise or energy estimation, which in turn is calculated based on said plurality of microphone signals xn(k).
  • 6. Device according to claim 1, wherein said control means comprises microphone combining control means configured to calculate a set of amplification signals cn(k) based on said control signals fn(k).
  • 7. Device according to claim 6, wherein said control means further comprises microphone combination means configured to calculate the output signal y(k) as the sum of the products of said amplification signals cn(k) and the corresponding microphone signals xn(k).
  • 8. Device according to claim 6 wherein the said microphone combining controlling means is configured to calculate said amplification signals cn(k) based on a comparison between one or a set of thresholds and combinations of some or all of said control signals fn(k).
  • 9. Device according to claim 8 wherein said thresholds are calculated based on previous calculations of said amplification signals cn(k).
  • 10. Device according to claim 1, wherein said device is configured to perform all or some of the calculations for given sub-frequency bands of the processed signals so that the combination of the microphone signals xn(k) may be performed in sub-bands or in full band, based on some or all of the frequency bands used.
  • 11. A method for combining a plurality of microphone signals xn(k) into a single output signal y(k), comprising the steps of: calculating control signals fn(k);selecting, based on said control signals fn(k), which microphone signal xn(k) or which combination of microphone signals xn(k) to use as output signal y(k), characterised by the steps of:calculating linear prediction residual signals en(k) from said plurality of microphone signals xn(k), andcalculating said control signals fn(k) based on said linear prediction residual signals en(k).
  • 12. Method according to claim 11 wherein the step of calculating said linear prediction residual signals en(k) is performed by delaying said microphone signals xn(k), filtering the delayed microphone signals, and subtracting the microphone signals xn(k) from the delayed and filtered signals in order to obtain the said linear prediction residual signals en(k).
  • 13. Method according to claim 11, further comprising the step of generating intermediate signals by rectifying and filtering said linear prediction residual signals en(k).
  • 14. Method according to claim 13, wherein said control signals fn(k) are calculated using said intermediate signals and said plurality of microphone signals xn(k) as input signals.
  • 15. Method according to any of the claim 11, wherein said control signals fn(k) are calculated based on any of, or any combination of: said linear prediction residual signals en(k),said intermediate signals, andestimation signals, such as noise or energy estimation, which in turn is calculated based on said plurality of microphone signals xn(k).
  • 16. Method according to any of the claim 11, further comprising the step of calculating a set of amplification signals cn(k) based on said control signals fn(k).
  • 17. Method according to claim 16, wherein the step of calculating the output signal y(k) is performed by calculating the sum of the products of said amplification signals cn(k) and the corresponding microphone signals xn(k).
  • 18. Method according to claim 16, wherein said amplification signals cn(k) are calculated by comparing combinations of some or all of the said control signals fn(k) to one or a set of thresholds.
  • 19. Method according to claim 18 wherein the said thresholds are calculated based on previous calculations of said amplification signals cn(k).
  • 20. Method according to claim 11, wherein all or some calculations are made for given sub-frequency bands of the processed signals so that the combination of the microphone signals xn(k) may be performed in sub-bands or full-band, based on some or all of the frequency bands used.
  • 21. A computer program for a device according to claim 1, characterised in that the computer program comprises computer readable code which when run by a processing unit in the device causes the device to perform the method according to claim 11.
  • 22. A computer program product comprising a computer readable medium and computer readable code stored on the computer readable medium, characterised in that the computer readable code is the computer program according to claim 21.
Priority Claims (1)
Number Date Country Kind
1150031-1 Jan 2011 SE national
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/SE2011/051376 11/16/2011 WO 00 8/21/2013