A method and device for eliminating directional noise based on spatial differentiation detection

Through a method based on spatial discriminability detection, the spatial discriminability coefficient and masking information are used to update the noise covariance matrix and design a noise elimination filter, which solves the problems of unsatisfactory noise elimination effect and speech distortion in the existing technology, and significantly improves speech quality. Conference communication quality and speech recognition accuracy.

CN113903353BActive Publication Date: 2024-08-27SUIRUI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111135208.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-08-27
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

The existing technology in the voice conferencing system has unsatisfactory noise cancellation effects due to factors such as inconsistency and reverberation of the microphone array, and fails to effectively consider interference orientation information, resulting in insufficient noise cancellation performance and a high risk of voice distortion.

Method used

Using a directional noise elimination method based on spatial discriminability detection, the microphone's time domain signal is converted into a time-frequency domain signal by performing steering vector and signal pickup filter initialization calculations, calculating the spatial discriminability coefficient and spatial masking information, and updating the mutual relationship. number vector and noise covariance matrix, and design the noise elimination filter to separate the target speech and noise signals.

Benefits of technology

Significantly improves the quality of online voice conference communication, improves speech recognition accuracy, enhances robustness, reduces speech distortion, and improves noise cancellation effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113903353B
    Figure CN113903353B
Patent Text Reader

Abstract

This invention discloses a method and apparatus for directional noise cancellation based on spatial discriminative detection, belonging to the field of information processing. The method includes: S1: calculating the steering vector and signal pickup filter initialization for the time-domain signal of each microphone; S2: converting the initialized signal into a time-frequency domain signal and constructing a frequency domain prediction vector; S3: calculating a noise cancellation filter on the time-frequency domain signal to obtain a filter for separating the target speech from the noise signal; S4: obtaining a frequency domain estimate of the target speech based on the obtained filter, and then obtaining a time-domain estimate of the target speech. This invention can effectively eliminate interfering sound, significantly improve the quality of online voice conferencing communication, and also improve the accuracy of subsequent speech recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of information processing, and in particular relates to a method and device for eliminating directional noise based on spatial distinguishability detection. Background Art

[0002] In many applications such as voice conferencing systems, in-vehicle voice communication systems, and human-computer interaction systems, the target speaker is often interfered by point source noise from other directions, such as television.

[0003] Microphone array beamforming technology is widely used in online conference systems, in-vehicle human-computer interaction, smart home and other fields. In actual environments, interference signals from other directions, such as music, will significantly reduce the hearing experience of conference communications and the accuracy of subsequent speech recognition. Directional pickup based on multiple elements of a microphone array is the most common method to reduce signal noise and improve communication quality.

[0004] Common solutions include fixed beamforming technology represented by super-directional filters and adaptive beamforming technology represented by generalized sidelobe cancellation. The advantage of super-directional filters is that they have low speech distortion, but their noise suppression performance is limited. Adaptive beamforming methods such as generalized sidelobe cancellation can achieve better noise cancellation effects, but there is a greater risk of speech distortion. These two types of technologies usually calculate the ideal steering vector based on the spatial orientation information of the speaker's orientation relative to the microphone array, and design the filter based on the principle of minimizing noise energy. However, in actual applications, factors such as inconsistency between microphones and reverberation will cause a large error between the ideal steering vector and the actual steering vector, which will lead to unsatisfactory noise cancellation effects or cause greater speech distortion.

[0005] In the prior art, the method of directional noise elimination has the following main disadvantages:

[0006] 1) Simply using an ideal steering vector based on orientation information will result in performance degradation due to the mismatch between the steering vector and the real vector in scenarios such as reverberation and inconsistent microphones.

[0007] 2) Only the position information of the target speaker is considered, while the interference position information is not considered, which leads to insufficient calculation of spatial discriminative information and insufficient noise removal performance.

[0008] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0009] The purpose of the present invention is to provide a directional noise elimination method and device based on spatial differentiation detection, which can effectively eliminate interfering sounds, significantly improve the quality of online voice conference communications, and also improve the accuracy of subsequent voice recognition.

[0010] To achieve the above object, the present invention provides a method for eliminating directional noise based on spatial distinguishing detection, comprising the following steps:

[0011] S1: Calculate the steering vector and signal pickup filter initialization for the time domain signal of each microphone;

[0012] S2: Convert the initialized signal into a time-frequency domain signal and construct a frequency domain prediction vector;

[0013] S3: Calculate a noise elimination filter for the time-frequency domain signal to obtain a filter for separating the target speech and the noise signal; wherein the calculation of the noise elimination filter includes: calculating a spatial distinguishability coefficient and spatial masking information, updating a mutual correlation coefficient vector and a steering vector, updating a noise covariance matrix, and calculating a noise elimination filter;

[0014] S4: Obtain a frequency domain estimate of the target speech according to the obtained filter, and then obtain a time domain estimate of the target speech.

[0015] In one embodiment of the present invention, before step S1, the method further includes obtaining a voice signal x from a microphone. m (n);

[0016] The step S1 specifically includes the following steps:

[0017] S101: For each frequency band k, calculate the target speech steering vector u s (k) and the noise steering vector u v (k):

[0018]

[0019]

[0020]

[0021] q(θ s )=[cos(θ s ), sin(θ s )],q(θ v )=[cos(θ v ), sin(θ v )];

[0022] S102: For each frequency band k, calculate the voice pickup filter h s(k) and the noise pickup filter h v (k):

[0023]

[0024]

[0025] In one embodiment of the present invention, step S2 comprises the following steps:

[0026] S201: for the time domain signal x m (n) Perform short-time Fourier transform to obtain the time-frequency domain expression:

[0027]

[0028] S202: For each frequency band k, construct the original frequency domain vector X(l, k):

[0029] X(l,k)=[X1(l,k),X2(l,k),...,X M (l, k)] T .

[0030] In one embodiment of the present invention, step S3 comprises the following steps:

[0031] S301: Calculate spatial discrimination coefficient and spatial masking information:

[0032] The spatial distinctiveness coefficient is calculated as follows:

[0033]

[0034]

[0035]

[0036] Among them, ρ s (l),ρ v (l) and ρ x (l) represents the direction of speech, noise and energy estimation of microphone picked-up signal in the lth frame, respectively. The difference of energy distribution represents the spatial distinction;

[0037] The spatial masking information γ(l) is calculated as follows:

[0038]

[0039] S302: Update the mutual correlation coefficient vector and the steering vector;

[0040] For each frequency band k, the cross-correlation coefficient vector Γ(l, k) is updated as follows:

[0041]

[0042] For each frequency band k, the target direction steering vector The updates are as follows:

[0043]

[0044] S303: Update the noise covariance matrix and the noise elimination filter:

[0045] For each frequency band k, the noise covariance matrix The updates are as follows:

[0046]

[0047] For each frequency band k, the noise removal filter The calculation of is as follows:

[0048]

[0049] In one embodiment of the present invention, step S4 comprises the following steps:

[0050] S401: Obtain a frequency domain estimate of the target speech according to the noise elimination filter obtained by the solution

[0051]

[0052] S402: Perform inverse Fourier transform on the frequency domain estimate of the target speech to obtain the final target speech estimate

[0053]

[0054] The present invention also provides a directional noise elimination device based on spatial distinguishability detection, comprising an initialization module, a signal decomposition module, a filter calculation module and a target speech estimation module;

[0055] The initialization module is used to perform initialization calculation of the steering vector and the signal pickup filter on the time domain signal of each microphone;

[0056] The signal decomposition module is used to convert the initialized signal into a time-frequency domain signal and construct a frequency-domain prediction vector;

[0057] The filter calculation module is used to calculate the noise elimination filter on the time-frequency domain signal to obtain a filter for separating the target speech and the noise signal; wherein the filter calculation module includes: a first calculation module for calculating the spatial distinguishability coefficient and the spatial masking information, a first updating module for updating the mutual correlation coefficient vector and the steering vector, and a second updating module for updating the noise covariance matrix and the noise elimination filter;

[0058] The target speech estimation module is used to obtain a frequency domain estimation of the target speech according to the acquired filter, and then obtain a time domain estimation of the target speech.

[0059] In one embodiment of the present invention, the initialization module is further used to obtain a voice signal x from a microphone. m (n);

[0060] The initialization module is used to perform the following operations:

[0061] For each frequency band k, calculate the target speech steering vector u s (k) and the noise steering vector u v (k):

[0062]

[0063]

[0064]

[0065] q(θ s )=[cos(θ s ), sin(θ s )],q(θ v )=[cos(θ v ), sin(θ v )];

[0066] For each frequency band k, the speech pickup filter h is calculated separately s (k) and the noise pickup filter h v (k):

[0067]

[0068]

[0069] In one embodiment of the present invention, the signal decomposition module includes a signal conversion module and a vector construction module;

[0070] The signal conversion module is used to convert the time domain signal x m (n) Perform short-time Fourier transform to obtain the time-frequency domain expression:

[0071]

[0072] The vector construction module is used to construct a frequency domain original vector X(l, k) for each frequency band k:

[0073] X(l,k)=[X1(l,k),X2(l,k),...,X M (l, k)] T .

[0074] In one embodiment of the present invention, step S3 comprises the following steps:

[0075] In the first calculation module, the spatial distinctiveness coefficient is calculated as follows:

[0076]

[0077]

[0078]

[0079] Among them, ρ s (l),ρ v (l) and ρ x (l) represents the direction of speech, noise and energy estimation of microphone picked-up signal in the lth frame, respectively. The difference of energy distribution represents the spatial distinction;

[0080] The spatial masking information γ(l) is calculated as follows:

[0081]

[0082] In the first updating module, for each frequency band k, the cross-correlation coefficient vector Γ(l, k) is updated as follows:

[0083]

[0084] For each frequency band k, the target direction steering vector The updates are as follows:

[0085]

[0086] In the second update module, for each frequency band k, the noise covariance matrix The updates are as follows:

[0087]

[0088] For each frequency band k, the noise removal filter The calculation of is as follows:

[0089]

[0090] In one embodiment of the present invention, the target speech estimation module includes a frequency domain estimation module and a target speech estimation module;

[0091] The frequency domain estimation module is used to obtain the frequency domain estimation of the target speech according to the noise elimination filter obtained by solving.

[0092]

[0093] The target speech estimation module is used to perform inverse Fourier transform on the frequency domain estimation of the target speech to obtain the final target speech estimation.

[0094]

[0095] Compared with the prior art, the directional noise elimination method and device based on spatial distinguishability detection according to the present invention, compared with the traditional adaptive beamforming method, uses the spatial distinguishability factor to calculate the spatial masking information, classifies the time-frequency units, and has a better noise elimination effect. In addition, the spatial masking information used in the present invention is used for the subsequent estimation of the steering vector, which can better adapt to the reverberation scene, has higher robustness, and has lower distortion of the target speech, which can effectively improve the quality of voice communication and the accuracy of speech recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0096] Figure 1 It is a flow chart of the directional noise elimination method based on spatial differentiation detection in this specific implementation.

[0097] Figure 2 It is a schematic diagram of the Hamming window function used in this specific implementation.

[0098] Figure 3 It is a schematic diagram of directional noise elimination based on spatial differentiation detection in this specific implementation. DETAILED DESCRIPTION

[0099] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.

[0100] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.

[0101] like Figure 1As shown, according to a preferred embodiment of the present invention, a directional noise elimination method based on spatial discriminative detection is designed based on a microphone array, which can effectively distinguish the target speaker and the time-frequency units dominated by noise interference in the time-frequency space, and then specifically design filters to effectively eliminate interfering sounds in the real-time extracted target speaker's voice, which can significantly improve the quality of online voice conference communications and also improve the accuracy of subsequent voice recognition.

[0102] The method is applied to microphone array-based systems and includes the following four implementation steps:

[0103] S1: Calculate the steering vector and signal pickup filter initialization for the time domain signal of each microphone.

[0104] Before step S1, the voice signal of the microphone is obtained. The obtained voice signal is as follows: Assume x m (n) represents the original time domain signal picked up by M microphone array elements in real time, where m represents the microphone serial number label, which ranges from 1 to M; n represents the time label; the direction of the target speech relative to the microphone array is known to be θ s , the direction of the noise interference relative to the microphone array is known as θ v .

[0105] Among them, the target speech refers to the speech signal corresponding to the target direction. For the speech separation task, the target direction is known in advance based on the extracted signal. For example, for large-screen voice communication equipment, it is hoped that the target speech signal at a 90-degree direction and the interference noise signal at a 30-degree direction will be separated.

[0106] Specifically, this step S1 includes the following steps:

[0107] S101: For each frequency band k (k=1, 2, ...K), calculate the target speech steering vector u s (k) and the noise steering vector u v (k), where frequency band refers to the signal component corresponding to a certain frequency. The specific calculation formula is as follows:

[0108]

[0109]

[0110]

[0111] q(θ s )=[cos(θ s ), sin(θ s )],q(θ v )=[cos(θ v), sin(θ v )].

[0112] Among them, f k is the frequency of the kth frequency band, k = 1, 2, ... K, where the value of K is determined according to the subsequent Fourier transform. If the frame length is 512, then the value of K is half of the frame length; c is the speed of sound, c = 340 m / s; d m is the two-dimensional coordinate value of the mth microphone; the superscript H represents the conjugate transpose operator; j represents the imaginary unit q(θ) is the direction vector, ω k is the band circle frequency.

[0113] This step S101 is used to initialize the steering vector, which represents the signal difference between each microphone array element in the target direction and the noise interference direction in an ideal scenario without reverberation and array element difference, and is used to calculate the speech and noise pickup filters in the subsequent step S101.

[0114] S102: For each frequency band k, calculate the voice pickup filter h s (k) and the noise pickup filter h v (k). The specific calculation formula is as follows:

[0115]

[0116]

[0117] Among them, R(k) represents the normalized autocorrelation coefficient of each microphone in the uniform scattered field about the picked-up signal, and the inverse of the superscript -1 matrix. The filter can theoretically retain the signals in the target direction and the noise interference direction respectively, while maximally suppressing the uniform scattered field noise.

[0118] S2: Convert the initialized signal into a time-frequency domain signal and construct a frequency domain prediction vector.

[0119] Specifically, step S2 includes the following steps:

[0120] S201: for the time domain signal x m (n) Perform short-time Fourier transform to obtain time-frequency domain expression, the purpose of which is to convert the time domain signal into the time-frequency domain signal. The specific calculation formula is as follows:

[0121]

[0122] Where N is the frame length, N=512; w(n) is a Hamming window of length 512, where n represents the time sequence number, so w(n) represents the value of each corresponding time sequence number n; 1 is the time frame sequence number, in frames; k is the frequency sequence number.m (l, k) is the spectrum of the kth frequency band in the first frame of the mth microphone signal. In the present invention, the Hamming window function used is as follows: Figure 2 shown.

[0123] S202: For each frequency band k, construct a frequency domain original vector X(l, k). The specific calculation formula is as follows:

[0124] X(l,k)=[X1(l,k),X2(l,k),...,X M (l, k)] T .

[0125] The superscript T represents the transposition operator, and the original vector is an M-dimensional column vector. The vector is composed of the rehearsal of each array element signal to represent the spatial correlation information of the signal as a whole.

[0126] The above steps can complete the transformation from time domain signal to time-frequency domain.

[0127] S3: Calculate a noise elimination filter on the time-frequency domain signal to obtain a filter for separating the target speech and the noise signal.

[0128] The calculation of the noise elimination filter includes: calculating the spatial distinguishability coefficient and the spatial masking information, updating the mutual correlation coefficient vector and the steering vector, updating the noise covariance matrix and calculating the noise elimination filter.

[0129] Specifically, step S3 includes the following steps:

[0130] S301: Calculate spatial discrimination coefficient and spatial masking information;

[0131] The spatial distinctiveness coefficient is calculated as follows:

[0132]

[0133]

[0134]

[0135] Wherein, |.| represents the modulus of the complex number; α is the smoothing factor between adjacent frames, and the value range is between 0 and 1. In the present invention, α=0.92 is preferred. If the value α is less than 0.88, the energy estimation will change by more than 20%, which will cause instability. If the value α is higher than 0.96, the energy estimation is too stable and the spatial resolution is less than 40 degrees. The value of 0.92 can balance robustness and accuracy very well.

[0136] In the formula, ρ s (l),ρ v(l) and ρ x (l) represent the speech direction, noise direction and microphone picked-up signal energy estimation of the lth frame, respectively, ρ s (l-1), ρ v (l-1) and ρ x (l-1) represents the direction of speech, noise and microphone picked-up signal energy estimation in the l-1th frame. The difference in energy distribution represents spatial discrimination.

[0137] The spatial masking information γ(l) is calculated as follows:

[0138]

[0139] The spatial masking information is used to distinguish between target speech-dominated (value 1), interference noise-dominated time-frequency units (value -1), and other situations. & represents the logical operator AND, that is, both conditions need to be met at the same time.

[0140] μ represents the spatial confidence threshold, and its value range is between 0 and 1. The present invention adopts a threshold μ=0.5, and the optimal time-frequency unit classification accuracy can be obtained by adopting this threshold.

[0141] This step S301 provides a judgment basis for the subsequent updating of the steering vector and the noise covariance.

[0142] S302: Update the mutual correlation coefficient vector and the steering vector;

[0143] For each frequency band k, the cross-correlation coefficient vector Γ(l, k) is updated as follows:

[0144]

[0145] Wherein, α is the smoothing factor between adjacent frames, and the smoothing factor α is the same as in step S301; the superscript * represents the conjugate operator. The correlation coefficient vector represents the correlation vector obtained by accumulating the time-frequency units dominated by the target speech obtained by the spatial masking information, which contains the signal difference of the target direction speech signal in each microphone array element. This step is used to update the target direction guidance vector in the subsequent steps.

[0146] For each frequency band k, the target direction steering vector The updates are as follows:

[0147]

[0148] Wherein, Γ1(l, k) represents the first element value of the correlation coefficient vector. The steering vector is the signal difference of each microphone array element corresponding to the target direction estimated according to the actual data, and is used to update the noise elimination filter in the subsequent step S303.

[0149] S303: Update the noise covariance matrix and the noise elimination filter.

[0150] For each frequency band k, the noise covariance matrix The updates are as follows:

[0151]

[0152] The covariance matrix represents the signal correlation matrix accumulated by the noise active time-frequency unit, which is used to update the noise elimination filter in the subsequent steps.

[0153] For each frequency band k, the noise removal filter The calculation of is as follows:

[0154]

[0155] The noise elimination filter is used to perform frequency domain estimation calculation of the target speech in the subsequent step S4.

[0156] S4: Obtain a frequency domain estimate of the target speech according to the obtained filter, and then obtain a time domain estimate of the target speech.

[0157] The specific steps include:

[0158] S401: Obtain a frequency domain estimate of the target speech according to the noise elimination filter obtained by the solution The specific calculation formula is as follows:

[0159]

[0160] S402: Perform inverse Fourier transform on the frequency domain estimate of the target speech to obtain the final target speech estimate The specific calculation formula is as follows:

[0161]

[0162] Through the above steps of the present invention, the initialization of the target speech estimation signal, signal decomposition, filter calculation and target speech estimation can be achieved.

[0163] In actual use, the implementation mode of the present invention is based on an 8-microphone linear array with a microphone spacing of 3.5 cm in a conference scene of 8 meters long, 4 meters wide and 2.5 meters high. The target direction is known to be 90 degrees and the interference noise direction is 30 degrees. The algorithm of the present invention can improve the signal-to-noise ratio by 15 dB (noise energy is suppressed by 97%).

[0164] like Figure 3As shown, one embodiment of the present invention is a real-time speech separation device guided by directional information, which is applied to a system based on a microphone array, and includes an initialization module 1, a signal decomposition module 2, a filter calculation module 3 and a target speech estimation module 4.

[0165] Initialization module 1 is used to perform initialization calculations on the steering vector and signal pickup filter of the time domain signal of each microphone.

[0166] The initialization module 1 can also be used to obtain a voice signal from a microphone. The obtained voice signal is as follows: Assume x m (n) represents the original time domain signal picked up by M microphone array elements in real time, where m represents the microphone serial number label, which ranges from 1 to M; n represents the time label; the direction of the target speech relative to the microphone array is known to be θ s , the direction of the noise interference relative to the microphone array is known as θ v .

[0167] Among them, the target speech refers to the speech signal corresponding to the target direction. For the speech separation task, the target direction is known in advance based on the extracted signal. For example, for large-screen voice communication equipment, it is hoped that the target speech signal at a 90-degree direction and the interference noise signal at a 30-degree direction will be separated.

[0168] Specifically, the initialization module 1 is used to perform the following operations:

[0169] For each frequency band k (k = 1, 2, ... K), calculate the target speech steering vector u s (k) and the noise steering vector u v (k), where frequency band refers to the signal component corresponding to a certain frequency. The specific calculation formula is as follows:

[0170]

[0171]

[0172]

[0173] q(θ s )=[cos(θ s ), sin(θ s )],q(θ v )=[cos(θ v ), sin(θ v )].

[0174] Among them, f kis the frequency of the kth frequency band, k = 1, 2, ... K, where the value of K is determined according to the subsequent Fourier transform. If the frame length is 512, then the value of K is half of the frame length; c is the speed of sound, c = 340 m / s; d m is the two-dimensional coordinate value of the mth microphone; the superscript H represents the conjugate transpose operator; j represents the imaginary unit q(θ) is the direction vector, ω k is the band circle frequency.

[0175] The above operation is used to initialize the steering vector, which represents the signal difference of each microphone array element in the target direction and the noise interference direction in an ideal scenario without reverberation and array element difference. It is used to calculate the speech and noise pickup filters in subsequent operations.

[0176] For each frequency band k, the speech pickup filter h is calculated separately s (k) and the noise pickup filter h v (k). The specific calculation formula is as follows:

[0177]

[0178]

[0179] Among them, R(k) represents the normalized autocorrelation coefficient of each microphone in the uniform scattered field about the picked-up signal, and the inverse of the superscript -1 matrix. The filter can theoretically retain the signals in the target direction and the noise interference direction respectively, while maximally suppressing the uniform scattered field noise.

[0180] The signal decomposition module 2 is used to convert the initialized signal into a time-frequency domain signal and construct a frequency-domain prediction vector.

[0181] Specifically, the signal decomposition module 2 includes the following submodules: a signal conversion module and a vector construction module.

[0182] Signal conversion module, used for time domain signal x m (n) Perform short-time Fourier transform to obtain time-frequency domain expression, the purpose of which is to convert the time domain signal into the time-frequency domain signal. The specific calculation formula is as follows:

[0183]

[0184] Where N is the frame length, N=512; w(n) is a Hamming window of length 512, where n represents the time sequence number, so w(n) represents the value of each corresponding time sequence number n; 1 is the time frame sequence number, in frames; k is the frequency sequence number. m(l, k) is the spectrum of the kth frequency band in the first frame of the mth microphone signal. In the present invention, the Hamming window function used is as follows: Figure 2 shown.

[0185] The vector construction module is used to construct a frequency domain original vector X(l, k) for each frequency band k. The specific calculation formula is as follows:

[0186] X(l,k)=[X1(l,k),X2(l,k),...,X M (l, k)] T .

[0187] The superscript T represents the transposition operator, and the original vector is an M-dimensional column vector. The vector is composed of the rehearsal of each array element signal to represent the spatial correlation information of the signal as a whole.

[0188] The signal decomposition module 2 can complete the transformation from the time domain signal to the time-frequency domain.

[0189] The filter calculation module 3 is used to calculate the noise elimination filter on the time-frequency domain signal to obtain the filter used to separate the target speech and the noise signal.

[0190] The filter calculation module 3 includes: a first calculation module for calculating spatial discriminability coefficients and spatial masking information, a first updating module for updating the mutual correlation coefficient vector and the steering vector, and a second updating module for updating the noise covariance matrix and the noise elimination filter.

[0191] Specifically, in the first calculation module, the spatial distinctiveness coefficient is calculated as follows:

[0192]

[0193]

[0194]

[0195] Wherein, |.| represents the modulus of the complex number; α is the smoothing factor between adjacent frames, and the value range is between 0 and 1. In the present invention, α=0.92 is preferred. If the value α is less than 0.88, the energy estimation will change by more than 20%, which will cause instability. If the value α is higher than 0.96, the energy estimation is too stable and the spatial resolution is less than 40 degrees. The value of 0.92 can balance robustness and accuracy very well.

[0196] In the formula, ρ s (l),ρ v (l) and ρ x(l) represent the speech direction, noise direction and microphone picked-up signal energy estimation of the lth frame, respectively, ρ s (l-1), ρ v (l-1) and ρ x (l-1) represents the direction of speech, noise and microphone picked-up signal energy estimation in the l-1th frame. The difference in energy distribution represents spatial discrimination.

[0197] The spatial masking information γ(l) is calculated as follows:

[0198]

[0199] The spatial masking information is used to distinguish between target speech-dominated (value 1), interference noise-dominated time-frequency units (value -1), and other situations. & represents the logical operator AND, that is, both conditions need to be met at the same time.

[0200] μ represents the spatial confidence threshold, and its value range is between 0 and 1. The present invention adopts a threshold μ=0.5, and the optimal time-frequency unit classification accuracy can be obtained by adopting this threshold.

[0201] The above operation can provide a judgment basis for the subsequent update of the steering vector and noise covariance.

[0202] In the first update module, for each frequency band k, the cross-correlation coefficient vector Γ(l, k) is updated as follows:

[0203]

[0204] Wherein, α is the smoothing factor between adjacent frames, which is the same as the smoothing factor α in the first calculation module; the superscript * represents the conjugate operator. The correlation coefficient vector represents the correlation vector obtained by accumulating the time-frequency units dominated by the target speech obtained by the spatial masking information, which contains the signal difference of the target direction speech signal in each microphone array element. The calculation result of the first update module is used for the subsequent update of the target direction guidance vector.

[0205] For each frequency band k, the target direction steering vector The updates are as follows:

[0206]

[0207] Wherein, Γ1(l, k) represents the first element value of the correlation coefficient vector. The steering vector is the signal difference of each microphone array element corresponding to the target direction estimated according to the actual data, and is used to update the noise elimination filter in subsequent operations.

[0208] In the second update module, for each frequency band k, the noise covariance matrix The updates are as follows:

[0209]

[0210] The covariance matrix represents the signal correlation matrix accumulated by the noise active time-frequency unit, which is used for the subsequent update of the noise elimination filter.

[0211] For each frequency band k, the noise removal filter The calculation of is as follows:

[0212]

[0213] The noise elimination filter is used to perform frequency domain estimation calculation of the target speech in subsequent operations.

[0214] The target speech estimation module 4 is used to obtain a frequency domain estimation of the target speech according to the acquired filter, and then obtain a time domain estimation of the target speech.

[0215] Specifically, the target speech estimation module 4 includes the following submodules: a frequency domain estimation module and a target speech estimation module.

[0216] The frequency domain estimation module is used to obtain the frequency domain estimation of the target speech according to the noise elimination filter obtained by solving The specific calculation formula is as follows:

[0217]

[0218] The target speech estimation module is used to perform inverse Fourier transform on the frequency domain estimation of the target speech to obtain the final target speech estimation. The specific calculation formula is as follows:

[0219]

[0220] The above four modules of the present invention are indispensable, and the absence of any one module will result in the inability to extract the target speech.

[0221] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0222] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0223] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0224] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0225] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.

Claims

1. A directional noise elimination method based on spatial distinguishability detection, characterized in that: The following steps are involved: S1: Calculate the steering vector and signal pickup filter initialization for the time domain signal of each microphone; S2: Convert the initialized signal into a time-frequency domain signal and construct a frequency domain prediction vector; S3: Calculate a noise elimination filter for the time-frequency domain signal to obtain a filter for separating the target speech and the noise signal; wherein the calculation of the noise elimination filter includes: calculating a spatial distinguishability coefficient and spatial masking information, updating a mutual correlation coefficient vector and a steering vector, updating a noise covariance matrix, and calculating a noise elimination filter; S4: obtaining a frequency domain estimation of the target speech according to the obtained filter, and then obtaining a time domain estimation of the target speech; Before step S1, the method further includes obtaining a voice signal x from a microphone. m (n); where x m (n) is the original time domain signal picked up by M microphone array elements in real time, where m represents the microphone serial number label, which ranges from 1 to M; n represents the serial number in time; The step S1 specifically includes the following steps: S101: For each frequency band k, calculate the target speech steering vector u s (k) and the noise steering vector u v (k): q(θ s )=[cos(θ s ),sin(θ s )],q(θ v )=[cos(θ v ),sin(θ v )]; Among them, θ s is the direction of the target speech relative to the microphone array, θ v is the direction of the noise interference relative to the microphone array; f k is the frequency of the kth frequency band, k = 1, 2, ... K; c is the speed of sound; d m is the two-dimensional coordinate value of the mth microphone; the superscript H represents the conjugate transpose operator; j represents the imaginary unit q(θ) is the direction vector, ω k is the band circle frequency; S102: For each frequency band k, calculate the voice pickup filter h s (k) and the noise pickup filter h v (k): Wherein, R(k) represents the normalized autocorrelation coefficient of each microphone with respect to the picked-up signal in a uniform scattered field; The step S2 comprises the following steps: S201: for the time domain signal x m (n) Perform short-time Fourier transform to obtain the time-frequency domain expression: Where N is the frame length, N=512; w(n) is a Hamming window of length 512, where n represents the time sequence number, w(n) represents the value of each corresponding time sequence number n; l is the time frame sequence number; k is the frequency sequence number; X m (l,k) is the spectrum of the kth frequency band in the lth frame for the mth microphone signal; S202: For each frequency band k, construct the original frequency domain vector X(l,k): X(l,k)=[X1(l,k),X2(l,k),…,X M (l,k)] T 4 The step S3 comprises the following steps: S301: Calculate spatial discrimination coefficient and spatial masking information: The spatial distinctiveness coefficient is calculated as follows: Among them, ρ s (l),ρ v (l) and ρ x (l) represents the direction of speech, noise and energy estimation of microphone picked-up signal in the lth frame respectively. The difference of energy distribution represents the spatial distinction; α is the smoothing factor between adjacent frames, and its value range is between 0 and 1; The spatial masking information γ(l) is calculated as follows: Among them, μ is the spatial confidence threshold, and its value range is between 0 and 1; S302: Update the mutual correlation coefficient vector and the steering vector; For each frequency band k, the cross-correlation coefficient vector Γ(l,k) is updated as follows: Among them, Γ1(l,k) represents the first element value of the correlation coefficient vector; For each frequency band k, the target direction steering vector The updates are as follows: S303: Update the noise covariance matrix and the noise elimination filter: For each frequency band k, the noise covariance matrix The updates are as follows: For each frequency band k, the noise removal filter The calculation of is as follows:

2. The directional noise elimination method based on spatial distinguishing detection according to claim 1, characterized in that: The step S4 comprises the following steps: S401: Obtain a frequency domain estimate of the target speech according to the noise elimination filter obtained by the solution S402: Perform inverse Fourier transform on the frequency domain estimate of the target speech to obtain the final target speech estimate 3. A directional noise elimination device based on spatial differentiation detection, characterized in that: It includes an initialization module, a signal decomposition module, a filter calculation module and a target speech estimation module; The initialization module is used to perform initialization calculation of the steering vector and the signal pickup filter on the time domain signal of each microphone; The signal decomposition module is used to convert the initialized signal into a time-frequency domain signal and construct a frequency-domain prediction vector; The filter calculation module is used to calculate the noise elimination filter on the time-frequency domain signal to obtain a filter for separating the target speech and the noise signal; wherein the filter calculation module includes: a first calculation module for calculating the spatial distinguishability coefficient and the spatial masking information, a first updating module for updating the mutual correlation coefficient vector and the steering vector, and a second updating module for updating the noise covariance matrix and the noise elimination filter; The target speech estimation module is used to obtain a frequency domain estimation of the target speech according to the acquired filter, and then obtain a time domain estimation of the target speech; The initialization module is also used to obtain the voice signal x of the microphone m (n); where x m (n) is the original time domain signal picked up by M microphone array elements in real time, where m represents the microphone serial number label, which ranges from 1 to M; n represents the serial number in time; The initialization module is used to perform the following operations: For each frequency band k, calculate the target speech steering vector u s (k) and the noise steering vector u v (k): q(θ s )=[cos(θ s ),sin(θ s )],q(θ v )=[cos(θ v ),sin(θ v )]; Among them, θ s is the direction of the target speech relative to the microphone array, θ v is the direction of the noise interference relative to the microphone array; f k is the frequency of the kth frequency band, k = 1, 2, ... K; c is the speed of sound; d m is the two-dimensional coordinate value of the mth microphone; the superscript H represents the conjugate transpose operator; j represents the imaginary unit q(θ) is the direction vector, ω k is the band circle frequency; For each frequency band k, the speech pickup filter h is calculated separately s (k) and the noise pickup filter h v (k): Wherein, R(k) represents the normalized autocorrelation coefficient of each microphone with respect to the picked-up signal in a uniform scattered field; The signal decomposition module includes a signal conversion module and a vector construction module; The signal conversion module is used to convert the time domain signal x m (n) Perform short-time Fourier transform to obtain the time-frequency domain expression: Where N is the frame length, N=512; w(n) is a Hamming window of length 512, where n represents the time sequence number, w(n) represents the value of each corresponding time sequence number n; l is the time frame sequence number; k is the frequency sequence number; X m (l,k) is the spectrum of the kth frequency band in the lth frame for the mth microphone signal; The vector construction module is used to construct a frequency domain original vector X(l,k) for each frequency band k: X(l,k)=[X1(l,k),X2(l,k),…,X M (l,k)] T 4 The filter calculation module includes the following modules: In the first calculation module, the spatial distinctiveness coefficient is calculated as follows: Among them, ρ s (l),ρ v (l) and ρ x (l) represents the direction of speech, noise and energy estimation of microphone picked-up signal in the lth frame respectively. The difference of energy distribution represents the spatial distinction; α is the smoothing factor between adjacent frames, and its value range is between 0 and 1; The spatial masking information γ(l) is calculated as follows: Among them, μ is the spatial confidence threshold, and its value range is between 0 and 1; In the first updating module, for each frequency band k, the cross-correlation coefficient vector Γ(l,k) is updated as follows: Among them, Γ1(l,k) represents the first element value of the correlation coefficient vector; For each frequency band k, the target direction steering vector The updates are as follows: In the second update module, for each frequency band k, the noise covariance matrix The updates are as follows: For each frequency band k, the noise removal filter The calculation of is as follows:

4. The directional noise elimination device based on spatial differentiation detection as claimed in claim 3, characterized in that: The target speech estimation module includes a frequency domain estimation module and a target speech estimation module; The frequency domain estimation module is used to obtain the frequency domain estimation of the target speech according to the noise elimination filter obtained by solving. The target speech estimation module is used to perform inverse Fourier transform on the frequency domain estimation of the target speech to obtain the final target speech estimation.