Microphone calibration method and system for multi-mode intelligent terminal

Through short-time window signal segment segmentation and ICA decomposition, combined with the confusion coefficient adjustment of the main sound source probability calculation, the problem of insufficient clarity of the main sound source in multi-modal intelligent terminals in dynamic environments is solved, and a more efficient microphone calibration effect is achieved. .

CN118574049AActive Publication Date: 2024-08-30ROPEOK TECHNOLOGY GROUP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411046337.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-08-30
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The existing microphone calibration system of multi-modal smart terminals is difficult to achieve accurate primary sound source clarity in a dynamic environment. Especially when the contrast of the primary and secondary sound sources is low and the primary sound source is frequently switched, it cannot effectively suppress interference from the secondary sound source.

Method used

The frequency domain feature segmentation of the short-time window signal segment is used to extract the main sound source component signal in the sound source interval through ICA decomposition, and the confusion coefficient is calculated based on the probability of the main sound source, and adaptive adjustments are made to suppress the infrasound source signal and improve microphone calibration. Accuracy.

Benefits of technology

Through this method, the clarity and accuracy of the main sound source components received by the microphone can be significantly improved in a dynamic environment, and the microphone calibration effect of the smart terminal device can be enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574049A
    Figure CN118574049A
Patent Text Reader

Abstract

The invention relates to the technical field of audio processing, in particular to a microphone calibration method and system for a multi-mode intelligent terminal. The method comprises the following steps: acquiring a mixed sound signal received by each microphone in a microphone array; segmenting the mixed sound signal received by each microphone to obtain a plurality of sound source intervals corresponding to each microphone; extracting a main sound source component signal of each sound source interval through ICA decomposition; splicing the main sound source component signals of all the sound source intervals corresponding to each microphone to obtain a main sound source signal of each microphone; calculating a main sound source probability corresponding to each sound source interval of each microphone; calculating confusion coefficients of primary and secondary sound sources; and adjusting the sound source signal intensity according to the confusion coefficient. Through the method, adaptive suppression can be carried out on the infrasound source signals received at each moment, so that the main sound source component in the sound beam obtained by final combination is clearer and more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio processing, and in particular to a microphone calibration method and system for a multimodal intelligent terminal. Background Art

[0002] Multimodal smart terminals are intelligent devices that offer multiple interaction methods, such as touch, voice, and vision. Today, these devices have become a crucial bridge connecting people with the digital world. By integrating touch, voice, and vision, they significantly enrich the user experience. Microphones play a crucial role in these interactions, supporting not only voice recognition and voice commands but also video calls, meeting recording, and ambient sound monitoring.

[0003] To support the practicality of smart terminals in complex scenarios, such as remote video conferencing, calls, and video recording in outdoor environments, more and more terminal devices are equipped with real-time microphone calibration systems. However, environmental noise, sound source objects, and acoustic characteristics may change at any time, such as sudden traffic noise and crowd noise. The current real-time calibration system still has deficiencies in the accuracy of dynamic calibration, especially when the contrast between the primary and secondary sound sources is low and the primary sound source switches frequently. The current automatic calibration strategy based on noise level cannot guarantee the clarity of the primary sound source.

[0004] Based on this, it is necessary to study a microphone calibration method and system for a multimodal intelligent terminal to adaptively suppress the subsound source signal at each moment, so that the main sound source component received by the microphone is clearer and more accurate. Summary of the Invention

[0005] In order to solve the above technical problems, the purpose of the present invention is to provide a microphone calibration method and system for a multimodal intelligent terminal. The technical solutions adopted are as follows: One aspect of the present invention provides a microphone calibration method for a multimodal intelligent terminal, the method comprising: Obtaining a mixed sound signal received by each microphone in the microphone array; The mixed sound signal received by each microphone is segmented using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone; Perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval; The main sound source component signals of all sound source intervals corresponding to each microphone are spliced ​​together to obtain the main sound source signal of each microphone; Calculating the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal; Calculate the confusion coefficient of the primary and secondary sound sources at each moment based on the primary sound source probability; The intensity of the sound source signal at each moment is adjusted according to the confusion coefficient to achieve microphone calibration.

[0006] In some embodiments, the method of segmenting the mixed sound signal received by each microphone using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone includes: The short-time window length is set according to the sound sampling frequency, and the mixed sound signal received by each microphone is subjected to short-time Fourier transform to obtain the phase spectrum within each short-time window signal segment; Merging consecutive short-time windows according to the phase spectrum to obtain one or more target clusters; Each of the target clusters is regarded as a sound source interval corresponding to the microphone.

[0007] In some embodiments, merging consecutive short-time windows according to the phase spectrum to obtain one or more target clusters includes: Calculate the probability of merging each short-time window with the adjacent window based on the number of identical phases between each short-time window and the next adjacent window and the maximum number of phases between the two; Merging the short-time windows according to the merging probability to obtain multiple sub-clusters; Performing agglomerative hierarchical clustering on the multiple subclusters according to a preset termination function to obtain one or more target clusters.

[0008] In some embodiments, the preset termination function is obtained based on the following method: Calculate the mean of the merging probabilities of all two adjacent short-time windows in each sub-cluster to obtain the first parameter, and obtain the second parameter based on the mean of the first parameters corresponding to all sub-clusters; Calculate the non-merging probability of the front-end short-time window and the back-end short-time window in adjacent sub-clusters, and obtain the third parameter based on the average of the non-merging probabilities corresponding to all adjacent sub-clusters; The second parameter, the third parameter and the penalty term corresponding to the current clustering level are added together to obtain the termination function.

[0009] In some embodiments, performing ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval includes: Perform ICA signal decomposition on each sound source interval of the mixed sound signal received by each microphone to obtain k types of sound source component signals; According to the average amplitudes of the k types of sound source component signals, a type of sound source component signal with the largest average amplitude is screened out as the main sound source component signal of each sound source interval.

[0010] In some embodiments, the step of splicing the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone includes: The intersection points of the main sound source component signals in all two adjacent sound source intervals are averaged to obtain the main sound source signal of each microphone.

[0011] In some embodiments, calculating the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal includes: Obtain the normalized Euclidean norm of the phase error and amplitude error of the target sound source interval of the main sound source signal in the target microphone and the signal segments corresponding to the same time interval in the main sound source signals of other microphones; Continuously deriving the Euclidean norm according to the order of distances between the target microphone and other microphones to obtain a first derivative value sequence; sequentially calculating the signal-to-noise ratios of the target sound source interval of the main sound source signal in the target microphone and the signal segments corresponding to the same time intervals in the main sound source signals of other microphones, and performing normalization processing to obtain a first normalization result; Continuously deriving the first normalized result according to the order of distances between the target microphone and other microphones to obtain a second derivative value sequence; Based on the Pearson correlation coefficient of the first derivative sequence and the second derivative sequence, a main sound source probability corresponding to a target sound source interval in the mixed sound signal received by the target microphone is obtained.

[0012] In some embodiments, the calculating the confusion coefficient of the primary and secondary sound sources at each moment based on the primary sound source probability includes: According to the main sound source probability corresponding to the sound source interval matching the target time in the mixed sound signals received by all microphones, the microphone with the highest main sound source probability is selected as the main sound source receiving end of the sound source signal at the target time, and the remaining microphones are used as secondary sound source receiving ends of the sound source signal at the target time; Calculating the variance of the main sound source probability of the sound source signal at the main sound source receiving end at the target time and the main sound source probabilities at all other secondary sound source receiving ends to obtain a fourth parameter; The confusion coefficients of the primary and secondary sound sources at the target moment are obtained based on the fourth parameter.

[0013] In some embodiments, adjusting the intensity of the sound source signal at each moment according to the confusion coefficient to implement microphone calibration includes: According to the confusion coefficients of the primary and secondary sound sources corresponding to the target time, a signal strength adjustment coefficient is obtained; The amplitude of the sound source signal received by the infrasound source receiving end is adjusted according to the signal strength adjustment coefficient to suppress the infrasound source signal at the target moment.

[0014] Another aspect of the present invention further provides a microphone calibration system for a multimodal intelligent terminal, the system comprising: An acquisition module, used to acquire a mixed sound signal received by each microphone in the microphone array; A sound source interval determination module is used to segment the mixed sound signal received by each microphone using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone; The main sound source component signal extraction module is used to perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval; A main sound source signal determination module is used to splice the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone; A main sound source probability calculation module is used to calculate the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal; A confusion coefficient calculation module, configured to calculate the confusion coefficients of the primary and secondary sound sources at each moment based on the primary sound source probability; The calibration module is used to adjust the sound source signal strength at each moment according to the confusion coefficient to achieve microphone calibration.

[0015] The present invention has the following beneficial effects: In the microphone calibration method and system for a multimodal intelligent terminal provided in some embodiments of the present invention, the mixed sound signal received by each microphone is segmented by utilizing the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone. Then, ICA decomposition is performed on each sound source interval separately to extract the main sound source component signal, and the main sound source component signals of all sound source intervals corresponding to each microphone are spliced ​​to obtain the main sound source signal. Then, the main sound source probability corresponding to each sound source interval is calculated according to the propagation attenuation characteristics of the main sound source component. Then, based on the main sound source probability of each sound source interval, the main and secondary sound source confusion coefficients at each moment are calculated. Finally, based on the confusion coefficient, the sound source signal strength at each moment is adaptively adjusted (mainly to suppress the secondary sound source signal), so that the main sound source component in the final merged sound beam can be made clearer and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 An exemplary flow chart of a microphone calibration method for a multimodal intelligent terminal provided by one embodiment of the present invention; Figure 2 An exemplary module diagram of a microphone calibration system for a multimodal intelligent terminal provided by one embodiment of the present invention; Figure 3 A schematic diagram of a short-term window provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] To further illustrate the technical means and effects employed by the present invention to achieve the intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail the specific implementation, structure, features, and effects of a microphone calibration method and system for a multimodal intelligent terminal proposed by the present invention. In the following description, different references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.

[0019] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0020] The specific scheme of the microphone calibration method and system for a multimodal intelligent terminal provided by the present invention is described in detail below with reference to the accompanying drawings.

[0021] See also Figure 1 , which shows an exemplary flow chart of a microphone calibration method for a multimodal intelligent terminal provided by an embodiment of the present invention.

[0022] S110, obtaining a mixed sound signal received by each microphone in the microphone array. In some embodiments, S110 may be executed by the obtaining module 210 mentioned below.

[0023] Sound generally propagates in the air in the form of waves. The microphone can receive all the sound beams propagating around it and then convert them into digital signals through the A / D module.

[0024] Multimodal smart terminal devices can use microphone arrays to receive sound signals. A microphone array is a sound receiving array composed of multiple individual microphones arranged in a specific geometric configuration. Typically, smart speakers or high-end conferencing systems use flat circular microphone arrays. Due to their large number of elements and wide spacing between them, they offer superior signal processing and high-resolution received signals.

[0025] In an embodiment of the present invention, an audio processing system installed in a multimodal intelligent terminal device can be used to obtain a mixed sound signal received by each microphone in a microphone array. The mixed sound signal can include sound signals generated by one or more sound sources.

[0026] S120, using the frequency domain characteristics of the short-time window signal segment to segment the mixed sound signal received by each microphone, to obtain multiple sound source intervals corresponding to each microphone. In some embodiments, S120 can be performed by the sound source interval determination module 220 mentioned below.

[0027] When a multimodal smart terminal device is in an outdoor or noisy environment, the sound signals generated by different sound sources will be mixed together and received by the microphone array. In other words, the sound signals received and processed by each microphone may be mixed sound signals transmitted by multiple different sound sources and superimposed on each other.

[0028] Since multiple sound sources are mixed asynchronously, and the pauses and sound emission times are also different, the mixed sound signal received by each microphone will contain several sound component signals with different phases and multiple segments. Therefore, the mixed sound signal received by each microphone needs to be decomposed first, that is, sound source separation.

[0029] Specifically, in some embodiments, a short-time Fourier transform can be performed on the mixed sound signal received by each microphone to obtain the amplitude spectrum and phase spectrum within all short-time windows of the mixed sound signal received by each microphone. Generally speaking, the microphone sound sampling frequency of a conventional Internet phone is approximately 16kHz. In some embodiments of the present invention, the length of each short-time window can be set to 400 unit samples.

[0030] Furthermore, continuous short-time windows can be merged according to the phase spectrum to obtain one or more target clusters, and then each target cluster is used as a sound source interval corresponding to the microphone.

[0031] Specifically, in an embodiment of the present invention, the merging probability of each short-time window and the adjacent window can be calculated based on the number of identical phases between each short-time window and the next adjacent window and the maximum number of phases between the two. Then, continuous short-time windows are merged according to the merging probability to obtain multiple sub-clusters. Finally, agglomerative hierarchical clustering is performed on the multiple sub-clusters obtained after the merger according to a preset termination function to obtain one or more target clusters.

[0032] It can be understood that there may be a continuous speech signal of an independent sound source in adjacent short-time windows with the same phase, and the more the number of phase types overlap, the greater the probability of merging. Figure 3 As shown in FIG, where A, B, C, and D represent different phase types, each short-term window may contain phases of different types and data. When adjacent short-term windows have the same phase, the two adjacent windows may be merged. For example, short-term windows 310, 320, and 330 are three consecutive short-term windows, where short-term window 310 contains two types of phases, A and B, short-term window 320 contains two types of phases, A and C, and short-term window 330 contains three types of phases, B, C, and D. Then, A can be considered the same phase existing in short-term windows 310 and 320, and C can be considered the same phase existing in short-term windows 320 and 330.

[0033] In some embodiments, the calculation process of the aforementioned merging probability can be expressed as follows: Among them, r represents the rth short-term window, Represents the probability of merging the rth short-term window with its next adjacent short-term window (r+1); Represents the number of identical phases between the rth short-time window and its next adjacent short-time window; It represents the maximum number of phases between the rth short-time window and its next adjacent short-time window (i.e., the larger value of the number of phases between the rth short-time window and the r+1th short-time window). The purpose is to Normalized, the larger the value, the closer the phases of adjacent short-time windows are, and the more likely they are in the same continuous sound signal.

[0034] In this embodiment of the present invention, all short-term windows in the mixed sound signal are determined to be merged only based on their left and right adjacent short-term windows. For example, in some embodiments, a merge probability threshold (e.g., 0.5) can be set. When the merge probability of the rth short-term window and its next adjacent short-term window (r+1) exceeds the preset merge probability threshold, they are merged, and the result of the merging is used as a sub-cluster.

[0035] In embodiments of the present invention, a hierarchical clustering algorithm may be utilized for slicing and merging the time series data of the mixed sound signal. For example, in some embodiments, agglomerative hierarchical clustering may be performed on the multiple subclusters obtained by the aforementioned merging process, and the clustering may be terminated when a preset termination function reaches a maximum value, thereby obtaining one or more target clusters. The one or more target clusters are the one or more sound source intervals in the mixed sound signal received by the microphone.

[0036] It should be noted that agglomerative hierarchical clustering is a hierarchical clustering method that constructs a tree-like structure (also known as a dendrogram) by connecting similar objects. In this process, the two most similar objects are merged into a cluster. Then, in the next layer, this newly formed cluster is merged with other objects or clusters, and this process continues recursively until all objects are merged into the same cluster. Agglomerative hierarchical clustering uses a bottom-up strategy to construct the clustering hierarchy. In the embodiments of the present invention, this process first merges each short-term window with consecutive adjacent short-term windows to form a subcluster (in other words, each cluster participating in the merger is a continuous short-term window that is merged in time). These subclusters are then merged into larger and larger clusters until the termination condition of the merger process is met.

[0037] In an embodiment of the present invention, the termination condition of the merging process can be represented by a termination function. For example, in some embodiments, the termination function can be represented as follows: Among them, E represents the output value of the termination function; v represents the vth sub-cluster in the clustering process, and all short-time windows of the mixed sound signal are merged into M sub-clusters in time sequence; r represents the rth short-time window, Represents the number of short-term windows of the vth sub-cluster; Represents the probability of merging the rth short-term window of the vth sub-cluster and its next adjacent short-term window; Represents the average value of the combined probability of any adjacent short-time windows within all subclusters. The larger the value, the better the current classification result.

[0038] represents the back-end short-term window of the v-th sub-cluster (that is, the last short-term window in the v-th sub-cluster), Represents the front short-term window of the v+1th sub-cluster (i.e., the first short-term window in the v+1th sub-cluster), and the two are adjacent; represents the probability of merging the back-end short-time window of the v-th sub-cluster and the front-end short-time window of the v+1-th sub-cluster. Subtracting the constant 1 from it represents the probability of not merging. Represents the average value of the non-merging probability of the front and back short-term windows of all any two adjacent sub-clusters in the time series. The larger the value, the greater the non-merging probability of adjacent sub-clusters and the greater the difference between clusters.

[0039] It is a penalty term, which represents the normalized value of the hierarchical clustering merged into each layer (i.e., the current number of clustering layers) divided by the preset maximum number of layers, and is used to prevent the function from converging prematurely.

[0040] Specifically, in some embodiments of the present invention, the mean of the merging probabilities of all two adjacent short-time windows in each sub-cluster can be calculated to obtain the first parameter ( ), and according to the mean of the first parameter corresponding to all sub-clusters, the second parameter is obtained ( At the same time, the probability of non-merging the front-end short-time window and the back-end short-time window in the adjacent sub-clusters is calculated ( ), and according to the mean of the non-merger probabilities corresponding to all adjacent sub-clusters, the third parameter ( Finally, the second parameter, the third parameter and the penalty item corresponding to the current clustering level ( ) are added together to obtain the termination function.

[0041] In an embodiment of the present invention, the clustering result of the first layer corresponding to the maximum output value E of the above-mentioned termination function is the final clustering result of the agglomerative hierarchical clustering. Through the above-mentioned agglomerative hierarchical clustering process, one or more target clusters can be obtained. Since only adjacent windows are merged in the embodiment of the present invention, each target cluster is an independent signal segment in time sequence, that is, each target cluster is an independent sound source interval. For the mixed sound signal of each microphone, one or more independent sound source intervals can be obtained respectively through the above processing.

[0042] S130: Perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval. In some embodiments, S130 may be executed by the main sound source component signal extraction module 230 mentioned below.

[0043] Each independent sound source interval in the mixed sound signal may be mixed with other surrounding noise, but at least one sound source signal component remains continuous. In an embodiment of the present invention, to avoid sound source signal distortion during global decomposition of the mixed sound signal, after obtaining one or more sound source intervals corresponding to each microphone through the above steps, ICA (Independent Component Analysis) decomposition can be performed on each sound source interval separately.

[0044] Specifically, in some embodiments, the number of decompositions of each sound source interval can be set to k. Since the embodiment of the present invention is only for separating the main sound source signal in the mixed sound signal of each microphone, all sounds can be roughly classified into three categories: main sound source, secondary sound source, and environmental sound source, so k=3 is set. In some embodiments, the ICA iterative method can adopt a gradient descent method. It should be noted that ICA independent component decomposition is one of the commonly used methods for sound source separation problems. It can be regarded as a well-known technology and will not be described in detail in this specification.

[0045] After ICA decomposition, each microphone in the microphone array can generate k (k = 3 in this embodiment) sound source component signals. In some embodiments of the present invention, based on the average amplitude of these k sound source component signals (which can be obtained from the aforementioned amplitude spectrum), the sound source component signal with the largest average amplitude can be selected as the main sound source component signal for each sound source interval.

[0046] S140: Splice the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone. In some embodiments, S140 may be executed by the main sound source signal determination module 240 mentioned below.

[0047] In some embodiments of the present invention, the main sound source signal determination module 240 can splice the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone. Specifically, the main sound source signal determination module 240 can average the intersection points of the main sound source component signals in all two adjacent sound source intervals to obtain the main sound source signal of each microphone. Among them, the intersection points of the main sound source component signals in two adjacent sound source intervals can be understood as the common components of the main sound source component signals in the two adjacent sound source intervals. By averaging the intersection points of the main sound source component signals in all two adjacent sound source intervals, the main sound source component signals in all independent sound source intervals of each microphone can be spliced ​​into a complete main sound source signal.

[0048] S150: Calculate the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone based on the main sound source signal. In some embodiments, S150 may be executed by the main sound source probability calculation module 250 mentioned below.

[0049] Through the above steps, the main sound source component signal in each microphone can be obtained. Further, the main sound source probability calculation module 250 can calculate the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone based on the main sound source signal.

[0050] Specifically, in some embodiments, it can be assumed that each microphone may be the direct receiving end of the main sound source, and each microphone takes turns to serve as a target microphone. When the target microphone is the main sound source receiving end, the main sound source signal received by other microphones will be relatively weaker than that of the target microphone. Therefore, each target microphone can be sorted in order from near to far according to the distance between each target microphone and other microphones in the microphone array to obtain a distance sequence corresponding to each target microphone.

[0051] The main sound source probability calculation module 250 can reacquire each sound source interval in the main sound source signal of the target microphone and, based on the distance sequence corresponding to the target microphone, sequentially calculate the phase error and amplitude error of each sound source interval of the main sound source signal of the target microphone and the signal segments corresponding to the same time interval in the main sound source signals of other microphones in order of distance from the target microphone to other microphones from near to far; and then normalize the phase error and amplitude error. It should be noted that in this embodiment of the present invention, the phase value and phase error value are in complex form and are therefore normalized using trigonometric functions.

[0052] Furthermore, the main sound source probability calculation module 250 can calculate the normalized (linear normalization can be used but is not limited to) Euclidean norm of the phase error and amplitude error of each sound source interval of the main sound source signal of the target microphone and the signal segment corresponding to the same time interval in the main sound source signals of other microphones, which is recorded as (in, represents the vth sound source interval of the zth target microphone, and s represents the sth other microphone).

[0053] At the same time, the main sound source probability calculation module 250 can also calculate the signal-to-noise ratio of each sound source interval of the main sound source signal of the target microphone and the signal segment corresponding to the same time interval in the main sound source signals of other microphones according to the distance sequence between the target microphone and other microphones (that is, the distance sequence corresponding to the target microphone), and perform normalization (linear normalization can be used but is not limited to) to obtain a first normalized result, which is recorded as (in, represents the vth sound source interval of the zth target microphone, and s represents the sth other microphone).

[0054] It can be understood that since there is characteristic attenuation and delay between each sound source component signal and the sound source component signals of other microphones, accompanied by a decrease in the signal-to-noise ratio, if the main sound source signal of the target microphone has the aforementioned characteristics relative to the main sound source signals of other microphones in its distance sequence, the more obvious the characteristics are, the greater the probability that the main sound source signal received by the target microphone is the main sound source.

[0055] Based on this, in some embodiments, the Euclidean norms corresponding to the target microphone and all other microphones can be calculated along the distance sequence of the target microphone. Perform continuous derivation to obtain the first derivative sequence, which is recorded as The first derivative sequence represents that the sound source signal presented by the target microphone continuously attenuates as the distance increases compared to other microphones.

[0056] Similarly, in the embodiment of the present invention, the first normalized results corresponding to the target microphone and all other microphones can also be calculated along the distance sequence of the target microphone. Perform continuous derivatives (the faster the signal-to-noise ratio decreases, the smaller the derivative value) to obtain the second derivative sequence, which is recorded as The second derivative sequence represents the continuous distortion of the sound source signal presented by the target microphone compared to the other microphones as the distance increases.

[0057] When the first derivative sequence and the second derivative sequence have a negative correlation, it indicates that the propagation relationship between the primary sound source and the secondary sound source is more consistent. Therefore, in some embodiments, the probability of the primary sound source for each sound source interval of the mixed sound signal received by each microphone can be calculated as follows: Where z represents the zth target microphone; represents the probability of the main sound source corresponding to the vth sound source interval of the zth target microphone, represents the aforementioned first derivative sequence, represents the aforementioned second derivative sequence; Represents the Pearson correlation coefficient between the first derivative sequence and the second derivative sequence.

[0058] It should be noted that in the above formula, The closer the value is to -1, the more the sound source signal from the target microphone to other microphones is continuously attenuated, and it is negatively correlated with the continuous distortion of the sound source from the target microphone to other microphones, that is, the more it conforms to the propagation characteristics between the primary and secondary sound sources, the better. The smaller the value between 0 and 1, The larger the value between 0 and 1, the more likely it is that the vth sound source interval of the zth target microphone is the main sound source. The bigger.

[0059] In short, in some embodiments of the present invention, the main sound source probability calculation module 250 can obtain the normalized Euclidean norm of the phase error and amplitude error of the target sound source interval of the main sound source signal in the target microphone and the signal segment corresponding to the same time interval in the main sound source signals of other microphones, and then continuously derivate the Euclidean norm according to the distance order of the target microphone and the other microphones to obtain the first derivative value sequence . It should be noted that, in an embodiment of the present invention, the aforementioned target microphone can be understood as the object targeted by the current calculation, which can refer to any microphone in the microphone array, and the specific object referred to can be determined based on the current calculation process. The target sound source interval can refer to any sound source interval contained in the main sound source signal in the target microphone. In some embodiments, the main sound source signal in the target microphone may include multiple sound source intervals, each of which can be used as a target sound source interval and the signal segment corresponding to the same time interval in the main sound source signal of other microphones to calculate the phase error and amplitude error, and obtain the corresponding Euclidean norm through normalization processing.

[0060] At the same time, the main sound source probability calculation module 250 can also calculate the signal-to-noise ratio of the target sound source interval of the main sound source signal in the target microphone and the signal segment corresponding to the same time interval in the main sound source signals of other microphones according to the distance sequence between the target microphone and other microphones (that is, the distance sequence corresponding to the target microphone), and perform normalization processing to obtain a first normalized result, and then continuously derive the first normalized result according to the distance sequence between the target microphone and other microphones to obtain a second derivative value sequence. Finally, the main sound source probability calculation module 250 can calculate the probability of the main sound source based on the Pearson correlation coefficient ( ), obtain the main sound source probability corresponding to the target sound source interval in the mixed sound signal received by the target microphone.

[0061] S160: Calculate the confusion coefficients of the primary and secondary sound sources at each moment based on the primary sound source probability. In some embodiments, S160 may be executed by the confusion coefficient calculation module 260 mentioned below.

[0062] Through the above steps, we can calculate the probability of the primary sound source for each sound source interval for each microphone. It is understood that the primary sound source is not fixed and its direction may change randomly over time. Therefore, it is necessary to calculate the confusion coefficient between the primary and secondary sound sources based on the primary sound source probability. Based on this, we can modify the signal strength and improve the frequency contrast between the primary and secondary sound sources.

[0063] Specifically, since a single sound source must have at least one microphone in the microphone array that receives the strongest sound source signal, while the sound source signals of other microphones are relatively weakened with distance. Therefore, in an embodiment of the present invention, based on the main sound source probability corresponding to the sound source interval that matches the target moment (i.e., the moment currently being calculated) in the mixed sound signals received by all microphones, the microphone with the highest main sound source probability can be selected as the main sound source receiving end of the sound source signal at the target moment, and the remaining microphones can be used as the secondary sound source receiving ends of the sound source signal at the target moment. Furthermore, the confusion coefficient calculation module 260 can calculate the confusion coefficients of the main and secondary sound sources at each moment based on the following formula: Where i represents the i-th target moment, represents the confusion coefficient of the primary and secondary sound sources corresponding to the i-th target moment; q represents the main sound source receiving end at the i-th target moment, f represents the other f-th sound source receiving end (that is, the f-th microphone other than the main sound source receiving end), and T represents the total number of all microphones. represents the probability of the main sound source in the sound source interval (for example, the aforementioned v-th sound source interval) to which the sound source signal of the main sound source receiving end q at the i-th target moment belongs, Represents the probability of the main sound source within the sound source interval (for example, the aforementioned v-th sound source interval) to which the sound source signal of the f-th secondary sound source receiving end at the i-th target time belongs.

[0064] In the above formula, Represents the variance of the probability of the primary sound source of the sound source signal received by the primary sound source at the i-th target moment and the probability of the primary sound source at all other secondary sound source receiving ends; the larger the value, the less confusion there is between the primary and secondary sound sources at the current moment, and the clearer the primary sound source is; conversely, the smaller the value, the greater the confusion there is between the primary and secondary sound sources at the current moment, and the more blurred the primary sound source is.

[0065] In other words, in this embodiment of the present invention, the confusion coefficient calculation module 260 can calculate the variance of the main sound source probability of the sound source signal at the main sound source receiving end at the target time and the main sound source probability at all other secondary sound source receiving ends to obtain the fourth parameter ( ), and then, based on the fourth parameter, obtain the confusion coefficients of the primary and secondary sound sources at the target time. Specifically, in some embodiments, the confusion coefficient calculation module 260 may subtract a constant 1 from the fourth parameter, and use the difference as the confusion coefficients of the primary and secondary sound sources corresponding to the target time.

[0066] S170: Adjust the intensity of the sound source signal at each moment according to the confusion coefficient to achieve microphone calibration. In some embodiments, S170 may be performed by the calibration module 270 mentioned below.

[0067] After obtaining the confusion coefficients of the primary and secondary sound sources corresponding to each moment, the calibration module 270 can use the confusion coefficients of the primary and secondary sound sources corresponding to each moment to reduce the signal strength of all secondary sound sources at each moment to improve the clarity of the primary sound source at that moment.

[0068] In some embodiments, the calibration module 270 may obtain a signal strength adjustment coefficient based on the confusion coefficients of the primary and secondary sound sources corresponding to the target time, and then adjust the amplitudes of the sound source signals received by all secondary sound source receiving ends based on the signal strength adjustment coefficient to suppress the secondary sound source signals at the target time.

[0069] The process of adjusting the signal strength of the sound source signal received by the infrasound source receiving end by the calibration module 270 can be expressed as follows: Where i represents the i-th target moment, represents the amplitude of the sound signal at the f-th subsound source receiving end after adjustment at the i-th target time, represents the amplitude of the original sound signal at the receiving end of the f-th subsound source at the i-th target time; Represents the confusion coefficient of the primary and secondary sound sources corresponding to the i-th target moment, Indicates the signal strength adjustment factor.

[0070] From the above formula, we can know that when the confusion coefficient When the value is larger, the signal amplitude of the infrasound source receiving end at the current moment will be adjusted to be smaller, so that according to the confusion coefficient The secondary sound source signal at each moment is adaptively suppressed, making the main sound source signal received at each moment clearer.

[0071] After adaptively suppressing the sound source signals received by all sub-sound source receiving terminals through the above steps, a spatial filter can be used to combine all sound signals received by all microphones in the microphone array (these sound signals are the signals processed through the above steps) into a single sound signal. This process is the beamforming process of the microphone array and is a well-known technology, so it will not be described in detail in this specification.

[0072] It should be pointed out that in an embodiment of the present invention, the microphone of the multimodal smart terminal is calibrated by the above method, so that the main sound source signal at each moment can be located, and the secondary sound source signal at each moment can be adaptively suppressed, so that the sound beam obtained after the final merger is clearer and more accurate, thereby improving the microphone calibration effect of the smart terminal device.

[0073] Figure 2This is an exemplary module diagram of a microphone calibration system for a multimodal intelligent terminal provided by one embodiment of the present invention. Figure 2 In some embodiments, the system may include an acquisition module 210, a sound source interval determination module 220, a main sound source component signal extraction module 230, a main sound source signal determination module 240, a main sound source probability calculation module 250, a confusion coefficient calculation module 260, and a calibration module 270. Among them: The acquisition module 210 may be configured to acquire a mixed sound signal received by each microphone in the microphone array.

[0074] The sound source interval determination module 220 may be configured to segment the mixed sound signal received by each microphone using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone.

[0075] The main sound source component signal extraction module 230 may be configured to perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval.

[0076] The main sound source signal determination module 240 may be configured to concatenate the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone.

[0077] The main sound source probability calculation module 250 may be configured to calculate the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal.

[0078] The confusion coefficient calculation module 260 may be configured to calculate the confusion coefficients of the primary and secondary sound sources at each moment based on the primary sound source probability.

[0079] The calibration module 270 may be configured to adjust the strength of the sound source signal at each moment according to the confusion coefficient to implement microphone calibration.

[0080] about Figure 2 More detailed description of the microphone calibration system of the multimodal intelligent terminal can be found in Figure 1 The relevant parts will not be elaborated here.

[0081] It should be understood that Figure 2The illustrated microphone calibration system and its modules for a multimodal intelligent terminal can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented using hardware, software, or a combination of software and hardware. The hardware portion can be implemented using dedicated logic, while the software portion can be stored in memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated hardware. Those skilled in the art will appreciate that the above-described methods and systems can be implemented using computer-executable instructions and / or contained in processor control code, for example, such code provided on a carrier medium such as a disk, a programmable memory such as read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The systems and their modules described herein can be implemented not only using hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips or transistors, or programmable hardware devices such as field-programmable gate arrays or programmable logic devices, but can also be implemented using software, for example, executed by various types of processors, or a combination of the above-described hardware circuits and software (e.g., firmware).

[0082] For more details about the above modules, please refer to other places in this manual (for example Figure 1 part and its related description), which will not be repeated here.

[0083] In summary, the beneficial effects that may be brought about by the present invention include but are not limited to: In the microphone calibration method and system for a multimodal intelligent terminal provided in some embodiments of the present invention, the mixed sound signal received by each microphone is segmented by utilizing the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone. Then, ICA decomposition is performed on each sound source interval separately to extract the main sound source component signal, and the main sound source component signals of all sound source intervals corresponding to each microphone are spliced ​​to obtain the main sound source signal. Then, the main sound source probability corresponding to each sound source interval is calculated according to the propagation attenuation characteristics of the main sound source component. Then, based on the main sound source probability of each sound source interval, the main and secondary sound source confusion coefficients at each moment are calculated. Finally, based on the confusion coefficient, the sound source signal strength at each moment is adaptively adjusted (mainly to suppress the secondary sound source signal), so that the main sound source component in the final merged sound beam can be made clearer and more accurate.

[0084] It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or a combination of the above, or any other possible beneficial effects.

[0085] It should also be noted that the order in which the embodiments of the present invention are described above is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0086] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.

Claims

1. A microphone calibration method for a multimodal intelligent terminal, characterized in that: The method comprises: Acquire a mixed sound signal received by each microphone in the microphone array; The mixed sound signal received by each microphone is segmented using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone; Perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval; The main sound source component signals of all sound source intervals corresponding to each microphone are spliced ​​to obtain the main sound source signal of each microphone; Calculating the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal; Calculate the confusion coefficient of the primary and secondary sound sources at each moment based on the primary sound source probability; The intensity of the sound source signal at each moment is adjusted according to the confusion coefficient to achieve microphone calibration.

2. The microphone calibration method of a multimodal intelligent terminal according to claim 1, characterized in that: The mixed sound signal received by each microphone is segmented by using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone, including: The short-time window length is set according to the sound sampling frequency, and the mixed sound signal received by each microphone is subjected to short-time Fourier transform to obtain the phase spectrum in each short-time window signal segment; Merging consecutive short-time windows according to the phase spectrum to obtain one or more target clusters; Each of the target clusters is used as a sound source interval corresponding to the microphone.

3. The microphone calibration method of a multimodal intelligent terminal according to claim 2, characterized in that: The step of merging continuous short-time windows according to the phase spectrum to obtain one or more target clusters includes: According to the number of identical phases between each short-time window and the next adjacent window and the maximum number of phases between the two, the probability of merging each short-time window with the adjacent window is calculated; Merging the short-time windows according to the merging probability to obtain a plurality of sub-clusters; The multiple sub-clusters are subjected to agglomerative hierarchical clustering according to a preset termination function to obtain one or more target clusters.

4. The microphone calibration method of a multimodal intelligent terminal according to claim 3, characterized in that: The preset termination function is obtained based on the following method: Calculate the mean of the merging probabilities of all two adjacent short-time windows in each sub-cluster to obtain a first parameter, and obtain a second parameter according to the mean of the first parameters corresponding to all sub-clusters; Calculate the non-merging probability of the front-end short-time window and the back-end short-time window in the adjacent sub-clusters, and obtain the third parameter according to the mean of the non-merging probabilities corresponding to all adjacent sub-clusters; The second parameter, the third parameter and the penalty item corresponding to the current clustering level are added together to obtain the termination function.

5. The microphone calibration method for a multimodal intelligent terminal according to claim 2, characterized in that: The performing ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval includes: Perform ICA signal decomposition on each sound source interval of the mixed sound signal received by each microphone to obtain k types of sound source component signals; According to the average amplitudes of the k types of sound source component signals, a type of sound source component signal with the largest average amplitude is screened out as the main sound source component signal of each sound source interval.

6. The microphone calibration method for a multimodal intelligent terminal according to claim 1, characterized in that: The main sound source component signals of all sound source intervals corresponding to each microphone are spliced ​​to obtain the main sound source signal of each microphone, including: The intersection points of the main sound source component signals in all two adjacent sound source intervals are averaged to obtain the main sound source signal of each microphone.

7. The microphone calibration method of a multimodal intelligent terminal according to claim 6, characterized in that: The calculating, according to the main sound source signal, the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone comprises: Obtain the normalized Euclidean norm of the phase error and amplitude error of the target sound source interval of the main sound source signal in the target microphone and the signal segment corresponding to the same time interval in the main sound source signals of other microphones; Continuously deriving the Euclidean norm according to the order of distances between the target microphone and other microphones to obtain a first derivative value sequence; The signal-to-noise ratios of the target sound source interval of the main sound source signal in the target microphone and the signal segments corresponding to the same time interval in the main sound source signals of other microphones are calculated in sequence, and normalized to obtain a first normalized result; Continuously deriving the first normalized result according to the order of distances between the target microphone and other microphones to obtain a second derivative value sequence; Based on the Pearson correlation coefficient of the first derivative sequence and the second derivative sequence, a main sound source probability corresponding to a target sound source interval in the mixed sound signal received by the target microphone is obtained.

8. The microphone calibration method of a multimodal intelligent terminal according to claim 7, characterized in that: The calculating the confusion coefficient of the primary and secondary sound sources at each moment based on the primary sound source probability comprises: According to the main sound source probability corresponding to the sound source interval matching the target moment in the mixed sound signals received by all microphones, a microphone with the largest main sound source probability is selected as the main sound source receiving end of the sound source signal at the target moment, and the remaining microphones are used as secondary sound source receiving ends of the sound source signal at the target moment; Calculate the variance of the main sound source probability of the sound source signal of the main sound source receiving end at the target time and the main sound source probability of all other secondary sound source receiving ends to obtain a fourth parameter; The confusion coefficients of the primary and secondary sound sources at the target moment are obtained based on the fourth parameter.

9. The microphone calibration method of a multimodal intelligent terminal according to claim 8, characterized in that: The step of adjusting the intensity of the sound source signal at each moment according to the confusion coefficient to achieve microphone calibration includes: According to the confusion coefficients of the primary and secondary sound sources corresponding to the target time, a signal strength adjustment coefficient is obtained; The amplitude of the sound source signal received by the infrasound source receiving end is adjusted according to the signal strength adjustment coefficient to suppress the infrasound source signal at the target moment.

10. A microphone calibration system for a multimodal intelligent terminal, characterized in that: The system comprises: An acquisition module, used to acquire a mixed sound signal received by each microphone in the microphone array; A sound source interval determination module is used to segment the mixed sound signal received by each microphone using the frequency domain characteristics of the short-time window signal segment to obtain multiple sound source intervals corresponding to each microphone; A main sound source component signal extraction module is used to perform ICA decomposition on each sound source interval to extract the main sound source component signal of each sound source interval; A main sound source signal determination module is used to splice the main sound source component signals of all sound source intervals corresponding to each microphone to obtain the main sound source signal of each microphone; A main sound source probability calculation module, used to calculate the main sound source probability corresponding to each sound source interval in the mixed sound signal received by each microphone according to the main sound source signal; A confusion coefficient calculation module, used to calculate the confusion coefficients of the primary and secondary sound sources at each moment based on the primary sound source probability; The calibration module is used to adjust the strength of the sound source signal at each moment according to the confusion coefficient to achieve microphone calibration.

Citation Information

Patent Citations

  • Signal processing apparatus, signal processing method, and program

    CN101604012A

  • Smart voice processing method

    CN103811020A

  • Method and device for extracting voice signal of desired sound source

    CN110610718A

  • Sound source extracting device

    JP2010054728A

  • Signal processing apparatus, signal processing method, and program

    US20240155290A1