Audio acquisition method and device based on adaptive beam width of microphone array
The microphone array identifies the sound field environment and adaptively adjusts the beam width, and fits the adaptive FIR filter bank to process the audio data. It solves the signal-to-noise ratio and noise suppression problems of traditional audio acquisition methods in different sound field environments, and achieves more stable audio. collection effect.
Patent Information
- Application Number
- CN202211016950.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-08-24
AI Technical Summary
The traditional constant beam width audio collection method is difficult to meet the signal-to-noise ratio improvement and noise suppression requirements during multi-person discussions in different sound field environments, especially in reverberant and noisy environments where the sound collection is unstable.
The microphone array is used to identify the reverberation parameters and noise parameters of the sound field environment, adaptively adjust the beam width, fit the adaptive width FIR filter bank, combine with the beamformer to process multi-channel audio data, and output the audio signal.
It achieves better suppression of noise and reverberation in different sound field environments, improves the voice signal-to-noise ratio and signal-mixing ratio, and meets the needs of sound collection.
Smart Images

Figure CN115396783B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio collection, and in particular to an audio collection method and device based on adaptive beam width of a microphone array. Background Art
[0002] When collecting traditional spatial audio signals, the beam width is generally a constant width. The sound field microphone array is placed in the middle of the room to collect sound field audio signals. Its structure is as follows: Figure 1 and Figure 2 As shown in the figure, in applications such as conference systems, audio acquisition and processing equipment is gradually developing towards omnidirectional sound collection and far-field sound pickup. Due to the reverberation and noise in the room and the voices of non-speakers, the actual signal-to-noise ratio is very low. By locating and tracking the target sound source and using a constant-width beam for collection, the signal-to-noise ratio can be improved.
[0003] However, when multiple people are discussing, a narrow beam width will suppress useful signals and make the sound collection unstable, so the beam width needs to be appropriately increased. In a low-reverberation, low-noise environment, the beam width needs to be appropriately increased to ensure the sound collection range and distance; by reducing the beam width, the surrounding noise and reverberation can be suppressed, which can improve the voice signal-to-noise ratio and signal-to-mixing ratio. Therefore, in different sound field environments, using a beam with a constant width for sound collection can meet different needs for sound collection. Summary of the invention
[0004] The purpose of the present invention is to address the problem of beam width variation in three-dimensional sound field acquisition, and to provide an audio acquisition method and device with adaptive beam width based on a microphone array. When performing multi-channel audio data acquisition, after identifying the spatial audio environment, the beam width is adaptively adjusted and regulated according to the environment identification result to collect multi-channel audio data, so that the audio acquisition can adapt to different sound field environments and better meet the needs of audio acquisition.
[0005] In a first aspect, the present invention provides an audio acquisition method based on an adaptive beam width of a microphone array, comprising:
[0006] Determine the beam width according to the reverberation parameters and noise parameters of the acquired sound field environment;
[0007] Determining an ideal beam response according to the acquired sound source position of the sound field environment and the beam width;
[0008] Fitting an adaptive width FIR filter bank according to the ideal beam response;
[0009] Combined with the coefficients of the adaptive width FIR filter group, the corresponding beamformer is used to process the multi-channel audio data and then output the audio signal.
[0010] In a second aspect, the present invention provides an audio acquisition device with adaptive beam width based on a microphone array, comprising:
[0011] A beam width determination module, used to determine the beam width according to the reverberation parameters and noise parameters of the acquired sound field environment;
[0012] An ideal beam response determination module determines an ideal beam response according to the acquired sound source position of the sound field environment and the beam width;
[0013] An adaptive width FIR filter bank generation module, used for fitting an adaptive width FIR filter bank according to the ideal beam response;
[0014] The beamforming module is used to combine the coefficients of the adaptive width FIR filter group, use the corresponding beamformer to process the multi-channel audio data, and then output the audio signal.
[0015] The audio collection method based on the adaptive beam width of the microphone array of the present invention determines the actual sound field environment by identifying the reverberation parameters, noise parameters and sound source position of the three-dimensional sound field, adjusts the adaptive filter, and adaptively adjusts the beam width according to the sound field environment to effectively suppress noise or suppress reverberation, thereby greatly meeting the needs of sound collection. For example, in a noisy subway station or street, the noise is suppressed by reducing the beam width; in a conference room with relatively large reverberation, the reverberation is suppressed by reducing the beam width. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1-Figure 2 It is a structural schematic diagram of a sound field microphone array.
[0017] Figure 3 It is a schematic diagram of the audio acquisition method based on adaptive beam width of microphone array of the present invention.
[0018] Figure 4 is a schematic diagram of the far-field model.
[0019] Figure 5 is a schematic diagram of using the far-field model to determine the direction of the sound source.
[0020] Figure 6 is a schematic diagram of the near-field model.
[0021] Figure 7 It is a schematic diagram of using the near-field model to determine the location of the sound source.
[0022] Figure 8 It is a schematic diagram of an audio acquisition device with adaptive beam width based on a microphone array of the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0024] like Figure 3 As shown, in a first aspect of an embodiment of the present invention, a method for audio acquisition based on an adaptive beam width of a microphone array is provided. When acquiring a multi-channel audio signal, the following steps are performed:
[0025] S1. Determine the beam width according to the reverberation parameters and noise parameters of the obtained sound field environment;
[0026] S2. Determine the ideal beam response according to the sound source position and the beam width of the obtained sound field environment;
[0027] S3. Fitting an adaptive width FIR filter bank according to the ideal beam response;
[0028] S4. Combine the coefficients of the adaptive width FIR filter group, use the corresponding beamformer to process the multi-channel audio data and output the audio signal.
[0029] As an embodiment, the reverberation parameter includes a coherent diffuse power ratio, which is used to measure the magnitude of the reverberation in the sound field.
[0030] Exemplarily, the coherent diffusion power ratio is calculated by the following formula:
[0031]
[0032]
[0033]
[0034]
[0035]
[0036] Where CDR stands for Coherent-to-Diffuse power Ratio, l is the time index of the audio frame, f is the frequency, Φ s is the speech power spectrum of a single microphone, Φ n is the noise power spectrum of a single microphone, SNR is the signal-to-noise ratio of a single microphone, Φ s1s2 is the speech cross power spectrum of the two microphones, Φ n1n2 is the noise cross power spectrum of the two microphones, Γ s , Γ n , Γ x is the intermediate variable, and Re is the real part of the complex number.
[0037] As an embodiment, the noise parameter may include an ambient noise level;
[0038] The ambient noise level can be calculated by the following formula:
[0039] S(l,f)=α·S(l-1,f)+(1-α)·|Y(l,f)| 2
[0040] Among them, l is the time label of the audio frame, f is the frequency, Y is the signal frequency spectrum, S is the ambient noise level, and α is the smoothing coefficient.
[0041] As an embodiment, the sound source position may be obtained by first using a far-field model to determine the direction of the sound source, and then using a near-field model to determine the distance of the sound source when the direction of the sound source is determined.
[0042] For example, in specific implementation, it can be achieved by the following methods:
[0043] A. Use multiple sets of microphones to determine the direction of the sound source using a far-field model, wherein the direction of the sound source can be determined using multiple sets of microphones with a spacing of less than 10 cm using a far-field model:
[0044] Use the delay-sum beamforming method to traverse all direction points on the spatial sphere and select non-adjacent energy peak points as the directions of multiple sound sources;
[0045] B. Determine the distance of the sound source using a near-field model using multiple sets of microphones, wherein the distance of the sound source may be determined using a near-field model using multiple sets of microphones with a spacing greater than 20 cm:
[0046] Using the delay-sum beamforming method, the positions in the predetermined distance range (0.5m to 10m) in the direction of the sound source are traversed, and the maximum energy point is selected as the sound source position point.
[0047] Exemplarily, the delay-sum beamforming method includes calculating a delay-sum beam signal and a beam energy, and the calculation formula is expressed as follows:
[0048]
[0049] In the formula, x m is the mth microphone signal, τ m is the delay corresponding to the mth microphone, y(n) is the delayed summed beam signal, E is the beam energy, M is the number of microphones, and L is the number of delayed summed beam signals.
[0050] For example, when the far-field model is used to determine the direction of the sound source, a spatial direction is selected, and the delay τ corresponding to the microphone is calculated according to the far-field model. m Then, according to the aforementioned beam energy calculation formula, the beam energy E corresponding to the spatial direction is calculated. The far field model is as follows Figure 4 As shown, d_far m Represents the projection distance from the microphone position to the spatial direction. The delay corresponding to the microphone is calculated as follows:
[0051]
[0052] Where fs is the signal sampling rate and c is the speed of sound.
[0053] Exemplarily, when using the delayed sum beamforming method to traverse all direction points on the spatial sphere and select non-adjacent energy peak points as the directions of multiple sound sources, the entire spatial direction is traversed to calculate the beam energy E of all spatial directions, and in the beam energy E, non-adjacent energy peak points are searched as the directions of multiple sound sources, such as Figure 5 See Figure 5 As shown, Figure 5 In the figure, there are three sound sources. The black circle indicates the position of the sound source, and the direction of the sound source is determined based on the position.
[0054] Exemplarily, as described above, when the sound source position is determined using the near-field model, based on the sound source direction determined using the far-field module, a predetermined distance in the direction of the sound source, such as a position of 0.5m to 10m, is calculated according to the near-field model to calculate the beam energy E corresponding to the distance.
[0055] Among them, the near-field model is Figure 6 As shown, Figure 6 d_near m Indicates the distance from the microphone position to the sound source position. The calculation of the microphone delay at this time is as follows:
[0056]
[0057] Where fs is the signal sampling rate and c is the speed of sound. Calculate the delay τ corresponding to the microphone according to the near-field model m Then, according to the aforementioned beam energy calculation formula, the beam energy E corresponding to the predetermined distance, such as 0.5m to 10m, is calculated, and the positions of the predetermined distance in the direction of the sound source are traversed, and non-adjacent energy peak points are selected as the sound source position points, such as Figure 7 shown. Figure 7 The middle one shows the situation where there are two sound sources, and the black circles indicate the locations of the sound sources.
[0058] As an embodiment, the beam width is determined according to the reverberation parameters and noise parameters of the obtained sound field environment, and the beam width may be determined according to the coherent diffuse power ratio (CDR) and the ambient noise floor level (S) in the aforementioned embodiment.
[0059] In order to obtain a better audio signal, the greater the noise, the narrower the beam width should be, and the greater the reverberation, the narrower the beam width should be. Therefore, when the coherent spread power ratio (CDR) and the ambient noise floor level (S) are used to determine the beam width, the following methods or steps can be used:
[0060] Compare the ambient noise floor level (S) with the high noise threshold (S th ), obtaining a first comparison result;
[0061] Compare the coherent diffuse power ratio (CDR) and the high reverberation threshold (CDR th ), obtaining a second comparison result;
[0062] The beam width is determined according to a combined comparison result formed by combining the first comparison result and the second comparison result, wherein one combined comparison result corresponds to one beam width.
[0063] For example, in order to make the above beam width determination more intuitive, a formula is used to express the description, as follows:
[0064]
[0065] θ width is the beam width, when CDR ≥ CDR th S≥S th When the condition is met, the beam width is 5 degrees.
[0066] CDR≥CDR th S<S th When the beam width is 10 degrees, CDR<CDR th S≥S th When the conditions are met, the beam width is 20 degrees, CDR<CDR th S<S th When the condition is met, the beam width is 30 degrees. This enables the selection or adjustment of the beam width based on the ambient noise level (S) and the coherent spread power ratio (CDR), where CDR ≥ CDR th When the reverberation is considered large, S ≥ S th When the noise is large, therefore, CDR ≥ CDR th S≥S th The beam width should also be smaller.
[0067] Ideally, within the beam width in the direction of the sound source, the sound should pass without distortion. Outside the beam width in the direction of the sound source, the sound should be completely suppressed. Therefore, as an embodiment, the ideal beam response is calculated as follows:
[0068]
[0069] Among them, B d is the ideal beam response, θ source is the direction of the sound source, θ width is the beam width, θ is the spatial orientation, when |θ-θ source |≤θ width When , the ideal beam response is 1, otherwise, the ideal beam response is 0.
[0070] As an embodiment, the said fitting of the adaptive width FIR filter group (FIR) according to the ideal beam response is to make the spatial frequency response of the adaptive width FIR filter group approach the ideal beam response when fitting the adaptive filter, including making the beam main lobe approach the ideal beam response and the beam side lobe approach 0; wherein, the optimization is achieved by minimizing the coefficients of the adaptive width FIR filter group, as shown in the following formula:
[0071] min h max k,j |u T (f k ,θ j )hB d (θ j )| f k ∈[f1,f u ] θ j ∈Θ M
[0072] subject to|u T (f k ,θ i )h|≤ξ0 f k ∈F PB θ i ∈Θ SL
[0073] Where h is the filter bank coefficient, f k is the frequency, f1 is the lower cutoff frequency of the main lobe, f u is the upper cutoff frequency of the main lobe, F PB is the sidelobe frequency, θ i ,θ j is the spatial direction, Θ ML is the main lobe direction, Θ SL is the side lobe direction, u T (f k,θ j ) is the response vector, ξ0 is a small positive number.
[0074] The above optimization problem is a classic second-order cone optimization problem (SOCP), which can be solved by related methods of second-order cone optimization to obtain the coefficients h of the adaptive width FIR filter group.
[0075] Among them, many mathematical software can complete this solution, which will not be repeated here.
[0076] Exemplarily, in a specific implementation, the coefficient h of the adaptive width FIR filter group is first calculated offline and stored in the memory. When collecting multi-channel audio data, the coefficient h of the adaptive width FIR filter group is determined according to the recognition result of the sound field environment, and then the beam model of the corresponding width is searched in real time through the coefficient h, and the determined beam model of the corresponding width is used to collect audio data.
[0077] See also Figure 8 As shown, a second aspect of an embodiment of the present invention provides an audio acquisition device with adaptive beam width based on a microphone array, comprising:
[0078] A beam width determination module is used to determine the beam width according to the reverberation parameters and noise parameters of the obtained sound field environment; an ideal beam response determination module is used to determine the ideal beam response according to the sound source position of the obtained sound field environment and the beam width; an adaptive width FIR filter group generation module is used to fit an adaptive width FIR filter group according to the ideal beam response; a beamforming module is used to combine the coefficients of the fitted adaptive width FIR filter group, use the corresponding beamformer to process the multi-channel audio data and output an audio signal.
[0079] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the second aspect of the embodiment of the present invention described above provides a specific working process of an audio acquisition device with adaptive beam width based on a microphone array, and reference can be made to the corresponding process in the aforementioned first embodiment, which will not be repeated here.
[0080] The basic principles and main features of the present invention and the advantages of the present invention are shown and described above. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention.
[0081] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description. Therefore, it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention, and any figure signs in the claims should not be regarded as limiting the claims involved.
[0082] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An audio acquisition method based on adaptive beam width of a microphone array, characterized in that: Includes steps: Determine the beam width according to the reverberation parameters and noise parameters of the acquired sound field environment; Determining an ideal beam response according to the acquired sound source position of the sound field environment and the beam width; Fitting an adaptive width FIR filter bank according to the ideal beam response; Combined with the coefficients of the adaptive width FIR filter group, the corresponding beamformer is used to process the multi-channel audio data and then output the audio signal.
2. The audio acquisition method based on adaptive beam width of microphone array according to claim 1, characterized in that: The reverberation parameters include a coherent diffuse power ratio, which is used to measure the magnitude of the reverberation in the sound field.
3. The audio acquisition method based on adaptive beam width of microphone array according to claim 2, characterized in that: The coherent diffusion power ratio is calculated by the following formula: Where CDR stands for coherent spread power ratio, l is the time index of the audio frame, f is the frequency, Φ s is the speech power spectrum of a single microphone, Φ n is the noise power spectrum of a single microphone, SNR is the signal-to-noise ratio of a single microphone, Φ s1s2 is the speech cross power spectrum of the two microphones, Φ n1n2 is the noise cross power spectrum of the two microphones, Γ s ,Γ n , Γ x is the intermediate variable, and Re is the real part of the complex number.
4. The audio acquisition method based on adaptive beam width of microphone array according to claim 1, characterized in that: The noise parameters include the ambient noise level; The ambient noise level is calculated by the following formula: S(l,f)=α·S(l-1,f)+(1-α)·|Y(l,f)| 2 Among them, l is the time label of the audio frame, f is the frequency, Y is the signal frequency spectrum, S is the ambient noise level, and α is the smoothing coefficient.
5. The audio acquisition method based on adaptive beam width of microphone array according to claim 1, characterized in that: The acquisition of the sound source position comprises the steps of: The direction of the sound source is determined by using a far-field model based on multiple groups of microphones. Then, based on the determined direction of the sound source, a near-field model is used based on multiple groups of microphones to traverse positions within a predetermined distance range in the direction of the sound source, and the point with the maximum beam energy is selected as the sound source position point to determine the sound source position.
6. The audio acquisition method based on adaptive beam width of microphone array according to claim 5, characterized in that: When the direction of the sound source is determined based on multiple groups of microphones using a far-field model, the delay corresponding to the far-field microphone is calculated according to the far-field model, the delayed sum beam signal of the far-field microphone is calculated according to the delay corresponding to the far-field microphone, the beam energy of the far-field microphone is calculated according to the delayed sum beam signal, and non-adjacent beam energy peak points are selected as the directions of multiple sound sources according to the beam energy of the far-field microphone: When determining the location of the sound source, before the step of traversing the locations within a predetermined distance range in the direction of the sound source, the method includes: Calculate the delay corresponding to the near-field microphone according to the near-field model; The beam energy of the near-field microphone within a predetermined distance range from the near-field microphone to the sound source is calculated according to the corresponding delay of the near-field microphone.
7. The audio acquisition method based on adaptive beam width of microphone array according to claim 1, characterized in that: The step of determining the beam width according to the reverberation parameters and noise parameters of the acquired sound field environment comprises: determining the beam width according to the coherent diffusion power ratio and the ambient noise floor level, comprising: Comparing the ambient noise level with the high noise threshold to obtain a first comparison result; Comparing the coherent diffusion power ratio with the high reverberation threshold to obtain a second comparison result; The beam width is determined according to a combined comparison result formed by combining the first comparison result and the second comparison result, wherein one combined comparison result corresponds to one beam width.
8. The method for audio acquisition based on adaptive beam width of microphone array according to claim 1, characterized in that: The ideal beam response is calculated as follows: Among them, B d is the ideal beam response, θ source is the direction of the sound source, θ width is the beam width and θ is the spatial orientation.
9. The audio acquisition method based on adaptive beam width of microphone array according to claim 1, characterized in that: Fitting the adaptive width FIR filter group according to the ideal beam response is to make the spatial frequency response of the adaptive width FIR filter group approach the ideal beam response, including making the main lobe of the beam approach the ideal beam response and the side lobe of the beam approach 0; and achieving optimization by minimizing the coefficients of the adaptive width FIR filter group; minutes h max k,j |u T (f k ,i j )hB d (i j )|f k ∈[f1,f u ]θ j ∈Θ ML subject to|u T (f k ,θ i )h|≤ξ0f k ∈F PB θ i ∈Θ SL Among them, B d is the ideal beam response, h is the filter bank coefficient, f k is the frequency, f1 is the lower cutoff frequency of the main lobe, f u is the upper cutoff frequency of the main lobe, F PB is the sidelobe frequency, θ i ,θ j is the spatial direction, Θ ML is the main lobe direction, Θ SL is the side lobe direction, u T (f k ,θ j ) is the response vector, ξ0 is a small positive number.
10. An audio acquisition device with adaptive beam width based on a microphone array, characterized in that: include: A beam width determination module, used to determine the beam width according to the reverberation parameters and noise parameters of the acquired sound field environment; An ideal beam response determination module determines an ideal beam response according to the acquired sound source position of the sound field environment and the beam width; An adaptive width FIR filter bank generation module, used for fitting an adaptive width FIR filter bank according to the ideal beam response; The beamforming module is used to combine the coefficients of the adaptive width FIR filter group, use the corresponding beamformer to process the multi-channel audio data, and then output the audio signal.
