Beam forming apparatus
By estimating the probability of speech presence based on the input vector in the beamforming device, and calculating the direction vector and weighted value vector, the problem of noise interference is solved, the target speech signal is accurately extracted, and the speech recognition performance is improved.
Patent Information
- Application Number
- CN202311672835.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2023-12-07
- Publication Date
- 2024-10-29
AI Technical Summary
It is difficult to accurately extract the target speech signal from the sound input signal with the existing technology, and there is noise interference, which affects the speech recognition performance.
Through the probability estimation unit, direction vector unit and beamforming unit, the existence probability of the target speech signal is estimated based on the input vector, the direction vector and the weighted value vector are calculated, the speech existence probability and the noise spatial covariance matrix are used to perform beamforming, and the target speech signal is extracted .
It achieves more accurate extraction of target speech signals from input signals and improves speech recognition performance.
Smart Images

Figure CN118865992A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to beamforming devices. Background Art
[0002] The sound input signal input through the microphone includes not only the target voice required for speech recognition, but also noise that interferes with speech recognition. Therefore, various studies are currently being conducted to improve speech recognition performance by removing noise from the sound input signal and extracting only the required target voice.
[0003] Prior art literature
[0004] Patent Literature
[0005] Korean Patent No. 10-1133308 (grant date: March 28, 2012) Summary of the invention
[0006] The technical purpose to be achieved by the present invention is to provide a beamforming device that provides a direction vector and a weight value vector based on an input vector to estimate the probability of existence of a target speech signal, thereby further accurately extracting the target speech signal from the input signal.
[0007] Technical Solution
[0008] In order to achieve the above-mentioned purpose, the beamforming device of the embodiment of the present invention may include a probability estimation unit, a direction vector unit and a beamforming unit. The probability estimation unit may estimate the speech existence probability corresponding to the target speech signal existence probability based on the input vector. The direction vector unit may provide an estimated direction vector according to the speech existence probability and the input vector. The beamforming unit may calculate a weighted value vector based on the speech existence probability, the input vector and the estimated direction vector to provide an output vector.
[0009] According to an embodiment of the present invention, the speech existence probability may be determined based on a target speech signal spatial covariance matrix associated with the target speech signal included in the input vector.
[0010] According to an embodiment of the present invention, the target speech signal spatial covariance matrix associated with the target speech signal included in the input vector may be calculated based on the noise spatial covariance matrix.
[0011] According to an embodiment of the present invention, the noise spatial covariance matrix associated with the noise included in the input vector may be calculated based on an estimated value of the noise spatial covariance matrix of a previous frame corresponding to a previous frame of the current frame.
[0012] According to an embodiment of the present invention, the noise spatial inverse covariance matrix associated with the noise included in the input vector may be calculated based on a variance-weighted spatial inverse covariance matrix in a previous frame.
[0013] According to an embodiment of the present invention, the estimated time-varying variance included in the noise spatial covariance inverse matrix may be calculated by weighted averaging the time-varying variance in the previous frame.
[0014] According to an embodiment of the present invention, the beamforming device may further include a probability providing unit. The probability providing unit may provide the speech existence probability based on the target speech signal spatial covariance matrix.
[0015] According to an embodiment of the present invention, the beamforming device may further include a masking unit. The masking unit may provide a target speech mask according to the speech existence probability.
[0016] According to an embodiment of the present invention, the estimated direction vector may be determined based on a re-estimated time-varying variance calculated based on the target speech mask.
[0017] According to an embodiment of the present invention, the weight value vector may be determined according to the re-estimated time-varying variance calculated based on the target speech mask.
[0018] According to an embodiment of the present invention, the variance-weighted inverse spatial covariance matrix may be determined based on the re-estimated time-varying variance calculated based on the target speech mask.
[0019] According to an embodiment of the present invention, the time-varying variance may be determined based on the power of the output signal calculated based on the target speech mask.
[0020] According to an embodiment of the present invention, the beamforming device may further include a determination unit. The determination unit may be configured to determine whether a diagonal component of the target speech signal spatial covariance matrix is a negative number.
[0021] According to one embodiment of the present invention, when the diagonal component of the spatial covariance matrix of the target speech signal is negative, the target speech mask associated with the current frame may be the same as the target speech mask associated with the previous frame, and the estimated direction vector associated with the current frame may be the same as the estimated direction vector associated with the previous frame.
[0022] According to an embodiment of the present invention, when the beamforming device operates in a single channel, the input vector may be constructed by changing the frame and the frequency based on the current frame and the reference frequency.
[0023] According to an embodiment of the present invention, the input vector may be formed by a portion of the input vector.
[0024] In addition to the technical solutions of the present invention mentioned above, a person skilled in the art can clearly understand other features and advantages of the present invention through the following descriptions and explanations.
[0025] The present invention as described above has the following effects.
[0026] The beamforming device of the present invention can provide a direction vector and a weight value vector by estimating the speech existence probability corresponding to the target speech signal existence probability based on the input vector, thereby further accurately extracting the target speech signal from the input signal.
[0027] In addition, other features and advantages of the present invention may also be newly grasped through the embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 and Figure 2 A diagram for explaining a beamforming device according to an embodiment of the present invention.
[0029] Figure 3 To show Figure 2 An example diagram of a probability estimation unit included in a beamforming device.
[0030] Figure 4 To show Figure 2 An example diagram of a beamforming device including a direction vector portion.
[0031] Figure 5 To show Figure 2 The beamforming device includes a determination unit.
[0032] Figures 6 to 8 For illustration Figure 2 Diagram of an input vector of a single channel applied by the beamforming device.
[0033] Description of Reference Numerals
[0034] 10: Beamforming device 100: Probability estimation unit
[0035] 200: Direction vector unit 300: Beamforming unit DETAILED DESCRIPTION
[0036] In this specification, it should be noted that in the process of assigning reference numerals to components of each drawing, even if the same components are shown in different drawings, the same reference numerals are assigned as much as possible.
[0037] On the other hand, in this specification, the terms used have the following meanings.
[0038] Unless the context clearly indicates otherwise, expressions in the singular include expressions in the plural, and such terms do not limit the scope of protection of the invention.
[0039] It should be understood that terms such as “include” or “have” do not exclude the existence or additional possibility of one or more other features, numbers, steps, tasks, structural elements, components or their combinations.
[0040] Hereinafter, preferred embodiments of the present invention for solving the above-mentioned problems will be described in detail with reference to the accompanying drawings.
[0041] Figure 1 and Figure 2 A diagram for explaining a beamforming device according to an embodiment of the present invention.
[0042] Reference Figure 1 and Figure 2 , the beamforming device 10 of the embodiment of the present invention may include a probability estimation unit 100, a direction vector unit 200 and a beamforming unit 300. The probability estimation unit 100 may estimate a speech existence probability SPP corresponding to the existence probability of the target speech signal TSS based on the input vector X. For example, the target speech signal may be provided as a microphone input through the space (transfer function, direction vector) between the target speech and the microphone, and the microphone input may include noise. Among them, the microphone input may be the input vector X of the present invention.
[0043] Furthermore, the speech presence probability SPP can be defined as the posterior probability that the target speech signal TSS exists in the input vector X at time t and frequency f, and can be expressed as the following mathematical formula 1 using the Bayesian theorem.
[0044] Mathematical formula 1
[0045]
[0046] Among them, p t,f is the probability of speech existence, is the posterior probability when the target speech signal exists in the input vector, Λ t,f It can be a generalized likelihood ratio. The generalized likelihood ratio can be expressed by the following mathematical formula 2.
[0047] Mathematical formula 2
[0048]
[0049] in, is the a priori probability when there is no target speech signal, which can be set to a constant greater than 0 and less than 1. is the likelihood value when the target speech signal exists in the input vector, It can be the likelihood value when the target speech signal does not exist in the input vector.
[0050] According to an embodiment of the present invention, the speech presence probability SPP may be determined according to a target speech signal spatial covariance matrix TGM associated with the target speech signal TSS included in the input vector X. If the above equation 1 is summarized, it may be represented by the following equation 3.
[0051] Mathematical formula 3
[0052]
[0053] in, is the noise space covariance matrix, It can be the spatial covariance matrix of the target speech signal.
[0054] According to an embodiment of the present invention, the target speech signal space covariance matrix TGM associated with the target speech signal TSS included in the input vector X can be calculated based on the noise space covariance matrix. For example, the target speech signal space covariance matrix TGM associated with the target speech signal TSS can be represented by the following mathematical formula 4.
[0055] Mathematical formula 4
[0056]
[0057] in, is the spatial covariance matrix of the target speech signal, is the noise space covariance matrix, The spatial covariance matrix associated with the input vector X can be represented by the following mathematical formula 5.
[0058] Mathematical formula 5
[0059]
[0060] Among them, x t,f is the input vector, is the spatial covariance matrix associated with the input vector in the previous frame, is a weight value used to normalize the spatial covariance matrix associated with the input vector, and γ may be a forgetting factor, where the forgetting factor may be a constant greater than 0 and less than 1.
[0061] According to an embodiment of the present invention, the noise spatial covariance matrix associated with the noise included in the input vector X is calculated based on the noise spatial covariance matrix estimation value of the previous frame corresponding to the previous frame of the current frame. For example, the noise spatial covariance matrix can be represented by the following mathematical formula 9.
[0062] Mathematical formula 9
[0063]
[0064] in, is the estimated value of the noise spatial covariance matrix of the previous frame, are the imputed weights used to normalize the noise spatial covariance matrix, is the weight value used to normalize the noise spatial covariance matrix in the previous frame, is the estimated time-varying variance, x t,f is the input vector, and γ is the forgetting factor.
[0065] According to an embodiment of the present invention, the noise spatial covariance inverse matrix associated with the noise included in the input vector X can be calculated based on the variance-weighted spatial covariance inverse matrix in the previous frame. For example, the noise spatial covariance inverse matrix can be represented by the following mathematical formula 5.
[0066] Mathematical formula 5
[0067]
[0068] Among them, t-1,f is the variance-weighted inverse spatial covariance matrix in the previous frame, To estimate the time-varying variance, γ can be the forgetting factor. is the estimated weight value used to normalize the noise spatial covariance matrix, which can be expressed by the following mathematical formula 6.
[0069] Mathematical formula 6
[0070]
[0071] in, is the weight value used to normalize the noise spatial covariance matrix in the previous frame, To estimate the time-varying variance, γ can be the forgetting factor.
[0072] According to an embodiment of the present invention, the estimated time-varying variance included in the noise spatial covariance inverse matrix may be calculated by weighted averaging the time-varying variance in the previous frame. For example, the estimated time-varying variance may be expressed by the following mathematical formula 7.
[0073] Mathematical formula 7
[0074]
[0075] in, is the estimated time-varying variance, λ t-1 is the time-varying variance in the previous frame, β is a constant greater than 0 and less than 1, ∈ f Can be a constant greater than 0. To estimate the input signal power, it can be expressed by the following mathematical formula 8.
[0076] Mathematical formula 8
[0077]
[0078] Among them, w t-1,r is the weighted value vector in the previous frame, (·) H is the Hermitian transpose, N f The number of adjacent frequencies may be a constant greater than 0.
[0079] Figure 3 To show Figure 2 An example diagram of a probability estimation unit included in a beamforming device, Figure 4 To show Figure 2 An example diagram of a beamforming device including a direction vector portion.
[0080] Reference Figures 1 to 4 According to an embodiment of the present invention, the beamforming device 10 may further include a probability providing unit 110. The probability providing unit 110 may provide a speech presence probability SPP based on the target speech signal spatial covariance matrix TGM.
[0081] Furthermore, according to an embodiment of the present invention, the beamforming device 10 may further include a mask unit 210. The mask unit 210 may provide a target speech mask MSK according to the speech presence probability SPP. For example, in the case where it is unclear whether it is a target speech signal TSS, the speech presence probability SPP may have a value of about 0.5. In this case, in order to extract the frame t and frequency f where the target speech signal TSS does exist, the target speech mask MSK represented by the following mathematical formula 9 may be used.
[0082] Mathematical formula 9
[0083]
[0084] Among them, η k is a threshold with a constant value greater than 0 and less than 1 (e.g., 0.8), ∈ p It may be a lower limit value of a constant that is greater than or equal to 0 and less than or equal to 1 (for example, 0.1).
[0085] The direction vector unit 200 may provide an estimated direction vector CSV according to the speech presence probability SPP and the input vector X. According to an embodiment of the present invention, the estimated direction vector CSV may be determined according to a re-estimated time-varying variance calculated based on the target speech mask MSK. For example, the re-estimated time-varying variance may be represented by the following mathematical formula 10.
[0086] Mathematical formula 10
[0087]
[0088] in, is the estimated time-varying variance, λ t-1 is the time-varying variance in the previous frame, β is a constant greater than 0 and less than 1, ∈ f Can be a constant greater than 0. To re-estimate the power of the input signal, it can be expressed by the following mathematical formula 11.
[0089] Mathematical formula 11
[0090]
[0091] in, It can be the target speech mask. The noise spatial covariance matrix in the current frame can be estimated by the following mathematical formula 12 based on the re-estimated time-varying variance.
[0092] Mathematical formula 12
[0093]
[0094] in, is the estimated value of the noise spatial covariance matrix in the current frame, is the estimated value of the noise spatial covariance matrix of the previous frame, is the weight value used to normalize the noise spatial covariance matrix in the previous frame, is the estimated time-varying variance, x t,f is the input vector, γ is the forgetting factor, It can be a weighted value used to normalize the noise spatial covariance matrix in the current frame. The weighted value used to normalize the noise spatial covariance matrix in the current frame can be expressed by the following mathematical formula 13.
[0095] Mathematical formula 13
[0096]
[0097] in, is the weight value used to normalize the noise spatial covariance matrix in the current frame, is the weight value used to normalize the noise spatial covariance matrix in the previous frame, It can be a re-estimated time-varying variance. And, the target speech signal spatial covariance matrix estimation value TGME can be expressed by the following mathematical formula 14.
[0098] Mathematical formula 14
[0099]
[0100] in, is the estimated value of the spatial covariance matrix of the target speech signal, is the input vector correlation space covariance matrix, The estimated direction vector CSV is calculated based on the eigenvector corresponding to the maximum eigenvalue of the estimated value TGME of the spatial covariance matrix of the target speech signal, and can be calculated by the power method according to equation 15.
[0101] Mathematical formula 15
[0102]
[0103]
[0104]
[0105] in, is the estimated direction vector of the previous frame, is the eigenvector corresponding to the maximum fixed value of the estimated value of the spatial covariance matrix of the target speech signal, for The first component, h t,f Can be an estimated direction vector.
[0106] The beamforming unit 300 can provide an output vector Y by calculating a weighted value vector based on the speech presence probability SPP, the input vector X, and the estimated direction vector CSV. According to an embodiment of the present invention, the weighted value vector can be determined based on the re-estimated time-varying variance calculated based on the target speech mask MSK. For example, the weighted value vector can be represented by the following mathematical formulas 16 and 17.
[0107] Mathematical formula 16
[0108]
[0109] Among them, w t,f is the weight value vector, Y t,f is the output vector, Ψ t,f The inverse spatial covariance matrix can be variance-weighted.
[0110] According to an embodiment of the present invention, a variance-weighted inverse spatial covariance matrix may be determined based on the re-estimated time-varying variance calculated based on the target speech mask MSK. The variance-weighted inverse spatial covariance matrix may be represented by the following mathematical formula 17.
[0111] Mathematical formula 17
[0112]
[0113] in, It can be used to estimate the time-varying variance.
[0114] According to an embodiment of the present invention, the time-varying variance may be determined based on the output signal power calculated based on the target speech mask MSK. For example, the time-varying variance may be represented by the following mathematical formula 18.
[0115] Mathematical formula 18
[0116]
[0117] Among them, λ t-1 is the time-varying variance in the previous frame, The power of the output signal can be expressed by Mathematical Formula 19.
[0118] Mathematical formula 19
[0119]
[0120] Among them, Y t,f is the output vector, The target voice can be masked.
[0121] Figure 5 To show Figure 2 The beamforming device includes a determination unit.
[0122] Reference Figures 1 to 5According to one embodiment of the present invention, the beamforming device 10 may further include a judging unit 400. The judging unit 400 may judge whether the diagonal component of the target speech signal spatial covariance matrix estimation value TGME is a negative number. According to one embodiment of the present invention, in the beamforming device 10 of the present invention, if the diagonal component of the target speech signal spatial covariance matrix estimation value TGME is a negative number, the target speech mask MSK associated with the current frame may be the same as the target speech mask MSK associated with the previous frame, and the estimated direction vector CSV associated with the current frame may be the same as the estimated direction vector CSV associated with the previous frame.
[0123] Figures 6 to 8 For illustration Figure 2 Diagram of an input vector of a single channel applied by the beamforming device.
[0124] Reference Figures 1 to 8 According to an embodiment of the present invention, when the beamforming device 10 operates in a single channel, the input vector X can be formed by changing the frame and frequency based on the current frame and the reference frequency. For example, the current frame is t and the reference frequency can be f. In this case, the input vector X can be X m,t,f The corresponding value can be configured by gradually moving the frequency of the same frame of the upper and lower channels as a reference. m,t,f The value corresponding to the previous frame is configured by changing only the frame with the same frequency on the left as a reference. Among them, single channel refers to the case where there is only one target sound source.
[0125] According to an embodiment of the present invention, the input vector X may be composed of a part of the input vector X. For example, the input vector X may only constitute different frames based on the same frequency f, or may only constitute different frequencies in the same frame t. Figure 8 As shown, the input vector X can be constructed not only by gradually extracting frames or frequencies, but also by various methods.
[0126] The beamforming device 10 of the present invention can provide a direction vector and a weight value vector by estimating a speech presence probability SPP corresponding to the target speech signal TSS presence probability based on the input vector X, thereby further accurately extracting the target speech signal TSS from the input signal.
Claims
1. A beamforming device, characterized in that: include: A probability estimation unit estimates a speech existence probability corresponding to the existence probability of the target speech signal based on the input vector; A direction vector unit, providing an estimated direction vector according to the speech existence probability and the input vector; and The beamforming unit calculates a weight value vector based on the speech existence probability, the input vector, and the estimated direction vector to provide an output vector.
2. The beamforming device according to claim 1, characterized in that: The speech existence probability is determined based on a target speech signal spatial covariance matrix associated with the target speech signal included in the input vector.
3. The beamforming device according to claim 2, characterized in that: The target speech signal spatial covariance matrix associated with the target speech signal included in the input vector is calculated based on the noise spatial covariance matrix.
4. The beamforming device according to claim 3, characterized in that: The noise spatial covariance matrix associated with the noise included in the input vector is calculated based on an estimated value of the noise spatial covariance matrix of a previous frame corresponding to a previous frame of the current frame.
5. The beamforming device according to claim 4, characterized in that: The noise inverse spatial covariance matrix associated with the noise included in the above input vector is calculated based on the variance-weighted inverse spatial covariance matrix in the previous frame.
6. The beamforming device according to claim 5, characterized in that: The estimated time-varying variance included in the above-mentioned inverse noise spatial covariance matrix is calculated by weighted averaging the time-varying variance in the previous frame.
7. The beamforming device according to claim 6, characterized in that: The beamforming device further includes a probability providing unit for providing the speech existence probability based on the target speech signal spatial covariance matrix.
8. The beamforming device according to claim 7, characterized in that: The beamforming device further comprises a masking unit for providing a target speech mask according to the speech existence probability.
9. The beamforming device according to claim 8, characterized in that: The estimated direction vector is determined based on a re-estimated time-varying variance calculated based on the target speech mask.
10. The beamforming device according to claim 9, characterized in that: The weighting value vector is determined based on the re-estimated time-varying variance calculated based on the target speech mask.
11. The beamforming device according to claim 10, characterized in that: The time-varying variance is determined based on the power of the output signal calculated based on the target speech mask.
12. The beamforming device according to claim 11, characterized in that: The variance-weighted inverse spatial covariance matrix is determined based on the re-estimated time-varying variance calculated based on the target speech mask.
13. The beamforming device according to claim 12, characterized in that: The beamforming device further comprises a judging unit for judging whether a diagonal component of the spatial covariance matrix of the target speech signal is a negative number.
14. The beamforming device according to claim 13, characterized in that: When the diagonal component of the target speech signal spatial covariance matrix is negative, the target speech mask associated with the current frame is the same as the target speech mask associated with the previous frame, and the estimated direction vector associated with the current frame is the same as the estimated direction vector associated with the previous frame.
15. The beamforming device according to claim 12, characterized in that: When the beamforming device operates in a single channel, the input vector is constructed by changing the frame and the frequency based on the current frame and the reference frequency.
16. The beamforming device according to claim 11, characterized in that: The above-mentioned input vector is composed of a part of the above-mentioned input vector.
