Microphone array sound pickup method and system for long-distance speech recognition
By manually selecting the directions of speech and interference signals, calculating steering vectors and covariance matrices, and performing multi-microphone pickup, the problem of speech distortion in long-distance speech recognition is solved, and the intelligibility and recognition rate of speech are improved.
Patent Information
- Application Number
- CN202111057434.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-09
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-09-09
AI Technical Summary
In long-distance speech recognition scenarios, existing adaptive algorithms are difficult to accurately distinguish between noise and speech, resulting in target speech distortion, and insufficient ability to suppress human voice interference, affecting speech intelligibility and recognition rate.
By manually selecting the direction of the speech signal and the direction of the interference signal, calculating the steering vector and covariance matrix, calculating the optimal weight vector, performing multi-microphone pickup to obtain clear target speech, reducing speech distortion and weighted suppression of human voice interference.
It effectively reduces the distortion of the target speech, enhances the suppression of human voice interference, improves the intelligibility and recognition rate of speech, and provides a better solution for long-distance speech control.
Smart Images

Figure CN113782046B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of array signal processing, and more particularly to a microphone array sound pickup method and system for long-distance speech recognition. Background Art
[0002] Speech is a very frequently used and important tool in people's daily life. However, in real environments, speech is always affected by environmental noise, room reverberation and interfering speakers, which greatly reduces the speech quality and affects the intelligibility and recognition rate of speech. Therefore, it is necessary to enhance the signal interfered by noise to obtain a clean signal. Speech enhancement technology is widely used in many application fields, such as audio and video calls, audio and video recording and playback, human-computer interaction, speech recognition, etc.
[0003] In the prior art, speech enhancement methods are divided into two categories: single-channel enhancement algorithms and array enhancement algorithms. These two types of algorithms have their own advantages and disadvantages, complement each other, and can be used simultaneously in most environments to jointly improve the enhancement performance. Classic single-channel speech enhancement algorithms include spectral subtraction, Wiener filtering, statistical methods, and single-channel speech enhancement algorithms based on deep learning. Classic multi-channel speech enhancement algorithms include delayed sum beamforming algorithm, minimum variance distortionless response beamforming algorithm, linear constrained minimum variance beamforming algorithm, generalized sidelobe cancellation beamforming algorithm, multi-channel Wiener filtering algorithm, etc. Among them, the minimum variance distortionless response beamforming (MVDR) algorithm has become one of the most widely used adaptive beamforming algorithms.
[0004] However, when the target voice we need to record is far away or has low energy, so that the voice signal-to-noise ratio is extremely low, the performance of the adaptive algorithm is often unsatisfactory. First, due to the low energy of the target voice, it is difficult to accurately distinguish between the noise segment and the voice segment, so it is difficult to accurately estimate the direction of the target voice, which will cause distortion of the target voice. Secondly, the human ear and auditory nerve itself have strong anti-noise capabilities, but weak ability to resist human voice interference. However, the adaptive algorithm cannot distinguish between human voice interference and stable noise interference, and suppresses them with the same weight, so that the remaining human voice interference will have a greater impact on the intelligibility of the processed target voice.
[0005] Therefore, how to provide a microphone array sound pickup method and system for long-distance speech recognition is a problem that those skilled in the art need to solve urgently. Summary of the invention
[0006] In view of this, the present invention provides a microphone array sound pickup method and system for long-distance speech recognition.
[0007] In order to achieve the above object, the present invention provides the following technical solutions:
[0008] On the one hand, a microphone array sound pickup method for long-distance speech recognition comprises the following specific steps:
[0009] S100: Manually selecting a direction of a speech signal and calculating a steering vector of the speech signal;
[0010] S200: manually selecting an interference signal direction, calculating a steering vector of the interference signal, and obtaining a covariance matrix of the interference signal according to the steering vector of the interference signal direction;
[0011] S300: multiple microphones pick up sound, and calculate a noise covariance matrix according to the sound data received by the multiple microphones;
[0012] S400: Calculate a multi-microphone optimal weight vector according to a noise covariance matrix, and obtain a target speech according to a steering vector of the speech signal and the weight vector.
[0013] Preferably, in S100, the steering vector of the voice signal direction is calculated as follows:
[0014] Manually select the direction of the speech signal, and obtain the positions and sound speeds of multiple microphones. According to the direction of the speech signal, the positions and sound speeds of each microphone, calculate the delay of the sound reaching each microphone, and obtain the steering vector of the speech signal:
[0015]
[0016] In the formula, τ n is the delay of the sound reaching each of the microphones, where n=1, 2, ..., N, and d(ω) is the steering vector of the speech signal.
[0017] Preferably, in S200, the step of calculating the covariance matrix of the interference signal is as follows:
[0018] S210: Manually select the interference signal direction, calculate the delay of the sound reaching each microphone according to the interference signal direction, the position of each microphone and the sound speed, and obtain the steering vector of the interference signal:
[0019]
[0020] In the formula, τ n is the delay of the sound reaching each microphone, n=1,2,…,N, d i (ω) is the steering vector of the interference signal;
[0021] S220: According to the definition of the covariance matrix, the covariance matrix of the interference signal can be obtained
[0022]
[0023] Where, d i (ω) is the steering vector of the interference signal, The orientation vector d i The conjugate transpose of (ω), φ ii (ω) is the covariance matrix of the interference signal.
[0024] Preferably, in S300, the noise covariance matrix is calculated as follows:
[0025] Multiple microphones pick up sound and calculate the noise covariance matrix based on the sound data collected by multiple microphones:
[0026] Φ vv (ω)=E[y(ω)y H (ω)];
[0027] Where y(ω) is the frequency domain expression of the signal received by multiple microphones, y H (ω) is the conjugate transposed vector of y(ω). φ vv (ω) is the noise covariance matrix.
[0028] Preferably, after calculating the noise covariance matrix in S300, the noise covariance matrix is also corrected:
[0029] Calculate the noise energy and interference energy. The noise energy calculation formula is:
[0030] E v (ω) = d H (ω)Φ vv (ω)d(ω);
[0031] In the formula, φ vv (ω) is the noise covariance matrix, d(ω) is the steering vector of the speech signal, and d H (ω) is the conjugate transpose of the steering vector d(ω), E v (ω) is the noise energy;
[0032] The interference signal energy calculation formula is:
[0033]
[0034] In the formula, φ vv (ω) is the noise covariance matrix, d i (ω) is the steering vector of the interference signal, The orientation vector d i The conjugate transpose of (ω).
[0035] The weighting coefficient is determined by the energy ratio of the noise energy and the interference energy. The specific formula is:
[0036]
[0037] According to the weighting coefficient, the noise covariance matrix is corrected to obtain the corrected equation as follows:
[0038] h(ω)=arg min(h H (ω)(Φ vv (ω)+λ(ω)Φ ii (ω))h(ω),sth H (ω)d(ω)=1;
[0039] Where λ(ω) is the weighting coefficient, φ vv (ω) is the noise covariance matrix, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the filter coefficient.
[0040] Preferably, the step of obtaining the target speech in S400 is as follows:
[0041] According to the modified equation, the filter coefficients are solved by using the Lagrange multiplier method:
[0042]
[0043] In the formula, φ vv (ω) is the noise covariance matrix, λ(ω) is the weighting coefficient, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the obtained filter coefficient;
[0044] The multi-microphone speech is weighted according to the filter coefficients to obtain the target speech:
[0045] Z(ω)=h H (ω)y(ω);
[0046] In the formula, Z(ω) is the clear long-distance speech we want to record.
[0047] On the other hand, a microphone array sound pickup system for long-distance speech recognition comprises:
[0048] A first selection module, used for selecting a direction of a speech signal;
[0049] A first calculation module, connected to the first selection module, for calculating the steering vector of the speech signal according to the direction of the speech signal;
[0050] A second selection module, used for selecting the interference signal direction;
[0051] A second calculation module, connected to the second selection module, for calculating the steering vector of the interference signal according to the direction of the interference signal;
[0052] A collection module, used to collect multi-microphone sound data;
[0053] A third calculation module, connected to the acquisition module and the second calculation module, for calculating a noise covariance matrix according to the sound data;
[0054] The output module is connected to the third calculation module and the first calculation module, and is used to calculate the multi-microphone optimal weight vector according to the noise covariance matrix, obtain the target speech according to the steering vector of the speech signal and the weight vector, and output it.
[0055] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a microphone array sound pickup method and system for long-distance speech recognition, which reduces the distortion of the target speech by manually specifying the direction of the speech. Secondly, by manually specifying the direction of the interference signal, the human voice interference is weighted, the human voice interference is suppressed more, and the stable noise is suppressed less, so that the sound can be picked up accurately, providing a better solution for long-distance voice control. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0057] Figure 1 A flow chart of the method provided by the present invention;
[0058] Figure 2 A schematic diagram of the system structure provided by the present invention;
[0059] Figure 3 A schematic diagram of the environment setting provided for this embodiment 2;
[0060] Figure 4 This is a schematic diagram of the processing results of the traditional MVDR method;
[0061] Figure 5This is a schematic diagram of the processing results of the present invention provided in Example 2. DETAILED DESCRIPTION
[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0063] Example 1
[0064] See attached Figure 1 As shown, the embodiment of the present invention discloses a microphone array sound pickup method for long-distance speech recognition, and the specific steps are as follows:
[0065] S100: Manually select the direction of the speech signal and calculate the steering vector of the speech signal;
[0066] S200: manually selecting the interference signal direction, calculating the steering vector of the interference signal, and obtaining the covariance matrix of the interference signal according to the steering vector of the interference signal direction;
[0067] S300: multiple microphones pick up sound, and calculate a noise covariance matrix according to the sound data received by the multiple microphones;
[0068] S400: Calculate the optimal weight vector of multiple microphones according to the noise covariance matrix, and obtain the target speech according to the steering vector and the weight vector of the speech signal.
[0069] In a specific embodiment, in S100, the steering vector of the voice signal direction is calculated as follows:
[0070] Manually select the direction of the speech signal, and obtain the positions and sound speeds of multiple microphones. According to the direction of the speech signal, the positions and sound speeds of each microphone, calculate the delay of the sound reaching each microphone, and obtain the steering vector of the speech signal:
[0071]
[0072] In the formula, τ n is the delay of the sound reaching each microphone, where n=1, 2, ..., N, and d(ω) is the steering vector of the speech signal.
[0073] In a specific embodiment, in S200, the steps of calculating the covariance matrix of the interference signal are as follows:
[0074] S210: Manually select the interference signal direction, calculate the delay of the sound reaching each microphone according to the interference signal direction, the position of each microphone and the sound speed, and obtain the guidance vector of the interference signal:
[0075]
[0076] In the formula, τ n is the delay of the sound reaching each microphone, n = 1, 2, ..., N, d i (ω) is the steering vector of the speech signal;
[0077] S220: According to the definition of the covariance matrix, the covariance matrix of the interference signal can be obtained
[0078]
[0079] Where, d i (ω) is the steering vector of the speech signal, The orientation vector d i The conjugate transpose of (ω), φ ii (ω) is the covariance matrix of the interference signal.
[0080] In a specific embodiment, in S300, the noise covariance matrix is calculated as follows:
[0081] Multiple microphones pick up sound and calculate the noise covariance matrix based on the sound data collected by multiple microphones:
[0082] Φ vv (ω)=E[y(ω)y H (ω)];
[0083] Where y(ω) is the frequency domain expression of the signal received by multiple microphones, y H (ω) is the conjugate transposed vector of y(ω). φ vv (ω) is the noise covariance matrix.
[0084] In a specific embodiment, after calculating the noise covariance matrix in S300, the noise covariance matrix is also modified:
[0085] Calculate the noise energy and interference energy. The noise energy calculation formula is:
[0086] E v (ω) = d H (ω)Φ vv (ω)d(ω);
[0087] In the formula, φ vv (ω) is the noise covariance matrix, d(ω) is the steering vector of the speech signal, and d H(ω) is the conjugate transpose of the steering vector d(ω), E v (ω) is the noise energy
[0088] The interference signal energy calculation formula is:
[0089]
[0090] In the formula, φ vv (ω) is the noise covariance matrix, d i (ω) is the steering vector of the speech signal, The orientation vector d i The conjugate transpose of (ω).
[0091] The weighting coefficient is determined by the energy ratio of noise energy and interference energy. The specific formula is:
[0092]
[0093] According to the weighting coefficient, the noise covariance matrix is corrected, and the corrected equation is as follows:
[0094] h(ω)=arg min(h H (ω)(Φ vv (ω)+λ(ω)Φ ii (ω))h(ω),sth H (ω)d(ω)=1;
[0095] Where λ(ω) is the weighting coefficient, φ vv (ω) is the noise covariance matrix, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the filter coefficient.
[0096] In a specific embodiment, the step of obtaining the target speech in S400 is as follows:
[0097] According to the modified equation, the filter coefficients are solved by using the Lagrange multiplier method:
[0098]
[0099] In the formula, φ vv (ω) is the noise covariance matrix, λ(ω) is the weighting coefficient, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the obtained filter coefficient;
[0100] Specifically, in step S300, a corrected equation for the filter coefficient h(ω) is obtained, and in step S400, a calculation formula for h(ω) is solved, and the calculation process is the Lagrange multiplier method.
[0101] The multi-microphone speech is weighted according to the filter coefficients to obtain the target speech:
[0102] Z(ω)=h H (ω)y(ω);
[0103] In the formula, Z(ω) is the clear long-distance speech we want to record.
[0104] See attached Figure 2 As shown, the embodiment of the present invention also discloses a microphone array sound pickup system for long-distance speech recognition, comprising:
[0105] A first selection module, used for selecting a direction of a speech signal;
[0106] A first calculation module, connected to the first selection module, for calculating a steering vector of the speech signal according to a direction of the speech signal;
[0107] A second selection module, used for selecting the interference signal direction;
[0108] A second calculation module, connected to the second selection module, for calculating a steering vector of the interference signal according to the direction of the interference signal;
[0109] A collection module, used to collect multi-microphone sound data;
[0110] A third calculation module, connected to the acquisition module and the second calculation module, is used to calculate the noise covariance matrix according to the sound data received by the multiple microphones;
[0111] The output module is connected to the third calculation module and the first calculation module, and is used to calculate the multi-microphone optimal weight vector according to the noise covariance matrix, obtain the target speech according to the steering vector and the weight vector of the speech signal, and output it.
[0112] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a microphone array sound pickup method and system for long-distance speech recognition, which reduces the distortion of the target speech by manually specifying the direction of the speech. Secondly, by manually specifying the direction of the interference signal, the human voice interference is weighted, the human voice interference is suppressed more, and the stable noise is suppressed less, so that the sound can be picked up accurately, providing a better solution for long-distance voice control.
[0113] Example 2
[0114] The specific application example of the sound pickup method of embodiment 1 of the present invention is as follows:
[0115] The present invention has no requirements on the number, shape and size of the array, and only requires that the positions of all microphones are fixed and known.
[0116] As attached Figure 3 As shown, in the experiment of the traditional MVDR method and the present invention, an 8-microphone circular array was set up and placed horizontally to test the effect. At the same time, four noise sources, one interference source, and one target speech were placed in the simulation experiment, which were placed on the horizontal plane at an interval of 60 degrees and a distance of 20 meters.
[0117] In addition to the noise source and the interference source, this embodiment also adds independent white noise to each microphone to simulate a real recording environment.
[0118] See attached Figure 4 As shown, it is a schematic diagram of the processing results of the traditional MVDR method;
[0119] See attached Figure 5 , which is a schematic diagram of the processing results of the present invention provided in Example 2;
[0120] By the attached Figure 4 And attached Figure 5 It can be seen that after testing with the traditional MVDR method and the present invention, the speech obtained by the present invention has less distortion, suppresses human voice interference, and has clearer speech. Therefore, the present invention improves the intelligibility of the target speech and is easier to perform subsequent processing, thereby accurately picking up sound and providing a better solution for long-distance voice control.
[0121] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0122] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A microphone array sound pickup method for long-distance speech recognition, characterized in that: The specific steps are: S100: Manually selecting a direction of a speech signal and calculating a steering vector of the speech signal; S200: manually selecting an interference signal direction, calculating a steering vector of the interference signal, and obtaining a covariance matrix of the interference signal according to the steering vector of the interference signal direction; S300: using a multi-microphone array to pick up sound, and calculating a noise covariance matrix according to the sound data collected by the multi-microphones; S400: Calculating a multi-microphone optimal weight vector according to a noise covariance matrix, and obtaining a target speech according to a steering vector of the speech signal and the weight vector; The interference signal includes human voice interference, the noise includes stable noise, and the step of obtaining the target speech in S400 is as follows: Solve for the filter coefficients: In the formula, φ νν (ω) is the noise covariance matrix, λ(ω) is the weighting coefficient, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the obtained filter coefficient; The multi-microphone speech is weighted according to the filter coefficients to obtain the target speech: Z(ω)=h H (ω)y(ω); In the formula, Z(ω) is the clear long-distance speech we want to record, and y(ω) is the frequency domain expression of the signal received by multiple microphones.
2. A microphone array sound pickup method for long-distance speech recognition according to claim 1, characterized in that: In S100, the steering vector of the voice signal direction is calculated as follows: Manually select the direction of the speech signal, and obtain the positions and sound speeds of multiple microphones. According to the direction of the speech signal, the positions and sound speeds of each microphone, calculate the delay of the sound reaching each microphone, and obtain the steering vector of the speech signal: In the formula, τ n is the delay of the sound reaching each of the microphones, where n=1, 2, ..., N, and d(ω) is the steering vector of the speech signal.
3. The microphone array sound pickup method for long-distance speech recognition according to claim 1, characterized in that: In S200, the steps of calculating the covariance matrix of the interference signal are as follows: S210: Manually select the interference signal direction, calculate the delay of the sound reaching each microphone according to the interference signal direction, the position of each microphone and the sound speed, and obtain the steering vector of the interference signal: In the formula, τ n is the delay of the sound reaching each microphone, n=1,2,…,N, d i (ω) is the steering vector of the interference signal; S220: According to the definition of the covariance matrix, the covariance matrix of the interference signal can be obtained Where, d i (ω) is the steering vector of the interference signal, The orientation vector d i The conjugate transpose of (ω), φ ii (ω) is the covariance matrix of the interference signal.
4. The microphone array sound pickup method for long-distance speech recognition according to claim 1, characterized in that: In S300, the noise covariance matrix is calculated as follows: Multiple microphones pick up sound and calculate the noise covariance matrix based on the sound data collected by multiple microphones: F vv (ω)=B[y(ω)y H (oh)]; Where y(ω) is the frequency domain expression of the signal received by multiple microphones, y H (ω) is the conjugate transposed vector of y(ω), φ νν (ω) is the noise covariance matrix.
5. A microphone array sound pickup method for long-distance speech recognition according to claim 4, characterized in that: After the noise covariance matrix is calculated in S300, the noise covariance matrix is also corrected: Calculate the noise energy and interference energy. The noise energy calculation formula is: E v (ω)=d H (ω)Φ vv (ω)d(ω); In the formula, φ νν (ω) is the noise covariance matrix, d(ω) is the steering vector of the speech signal, and d H (ω) is the conjugate transpose of the steering vector d(ω), E v (ω) is the noise energy; The interference signal energy calculation formula is: In the formula, φ νν (ω) is the noise covariance matrix, d i (ω) is the steering vector of the interference signal, The orientation vector d i The conjugate transpose of (ω); The weighting coefficient is determined by the energy ratio of the noise energy and the interference energy. The specific formula is: According to the weighting coefficient, the noise covariance matrix is corrected to obtain the corrected equation as follows: h(ω)=argmin(h H (ω)(Φ vv (ω)+λ(ω)Φ ii (ω))h(ω)),sth H (ω)d(ω)=1; Where λ(ω) is the weighting coefficient, φ νν (ω) is the noise covariance matrix, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the filter coefficient.
6. A microphone array sound pickup method for long-distance speech recognition according to claim 5, characterized in that: Solve for the filter coefficients, including: According to the modified equation, the filter coefficients are solved by using the Lagrange multiplier method.
7. A microphone array pickup system for long-distance speech recognition, characterized in that: include: A first selection module, used to manually select the direction of the speech signal; A first calculation module, connected to the first selection module, for calculating the steering vector of the speech signal according to the direction of the speech signal; The second selection module is used to manually select the interference signal direction; A second calculation module, connected to the second selection module, for calculating the steering vector of the interference signal according to the direction of the interference signal; A collection module, used to collect multi-microphone sound data; A third calculation module, connected to the acquisition module and the second calculation module, for calculating a noise covariance matrix according to the sound data; An output module, connected to the third calculation module and the first calculation module, for calculating a multi-microphone optimal weight vector according to a noise covariance matrix, obtaining a target speech according to the steering vector of the speech signal and the weight vector, and outputting the target speech; The interference signal includes human voice interference, the noise includes stable noise, and the output module is used to obtain the target speech in the following steps: Solve for the filter coefficients: In the formula, φ νν (ω) is the noise covariance matrix, λ(ω) is the weighting coefficient, φ ii (ω) is the covariance matrix of the interference signal, d(ω) is the steering vector of the speech signal, and h H (ω) is the conjugate transposed vector of h(ω), and h(ω) is the obtained filter coefficient; The multi-microphone speech is weighted according to the filter coefficients to obtain the target speech: Z(ω)=h H (ω)y(ω); In the formula, Z(ω) is the clear long-distance speech we want to record, and y(ω) is the frequency domain expression of the signal received by multiple microphones.
