The invention provides a real-time self-adaptive beam forming method and device based on the maximum SNR, and the method comprises the following steps: carrying out the windowing preprocessing of
time domain audio signals collected by M microphones, and carrying out the FFT conversion, and obtaining an M * F-dimensional
frequency domain signal matrix X; updating an M * M-dimensional
covariance matrix Rnow (f) of each frequency point by adopting an exponential weighted
moving average mechanism based on the
frequency domain signal matrix X; the inverse matrix Rnow-1 (f) of the
covariance matrix Rnow (f) is subjected to recursive updating by adopting a Sherman-Morrison-Woodbury matrix inversion lemma, and the inverse matrix Rnow-1 (f) of the
covariance matrix Rnow (f) is subjected to recursive updating by adopting the Sherman-Morrison-Woodbury matrix inversion lemma; calculating the SNR of each
microphone channel in parallel, screening an optimal reference
microphone and extracting a corresponding beam forming weight, and for each frequency point f, performing beam forming
processing on the
frequency domain signal X (f) by applying the weight to obtain an output
frequency spectrum Y (f); and constructing a
gain compensation
mechanism based on the optimal reference
microphone, performing frequency-point-by-frequency
gain compensation on the output spectrum Y (f), performing IFFT (Inverse
Fast Fourier Transform) to restore the output spectrum Y (f) into a
time domain signal, and outputting enhanced voice. Therefore, the
technical support of current voice interaction is adapted.