Microphone array detection method, device, equipment and medium

By using signal sources and detection algorithms in microphone arrays for gain, order and consistency detection, the problem of insufficient detection in the prior art is solved, efficient and accurate microphone array structure detection is achieved, and the performance of the audio system is improved.

CN119893415AActive Publication Date: 2025-04-25BEIJING UNISOUND INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510051398.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-04-25
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

The existing microphone array structure detection methods have shortcomings in gain detection, sequential detection and consistency detection, and it is difficult to meet the needs of efficient and accurate detection of microphone array structure.

Method used

The test signal is generated in different detection modes through the signal source, and the audio signals collected by each microphone in the microphone array are detected according to the corresponding detection algorithm. Specifically, it includes gain detection, microphone sequence detection and consistency detection. Gain detection compares the actual energy value with the theoretical energy value, microphone sequential detection passes the response pulse signal, and consistency detection passes the difference analysis of frequency sweep signal and amplitude response.

Benefits of technology

Accurate detection of microphone array gain, sequence and consistency is achieved, which reduces detection errors and improves the reliability of detection results, thereby improving the overall performance of the audio system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893415A_ABST
    Figure CN119893415A_ABST
Patent Text Reader

Abstract

The invention discloses a microphone array detection method and device, equipment and a medium. Through accurate test signal generation and acquisition and detection algorithms in different modes, the gain, sequence and consistency of the microphone array can be accurately detected, the detection error is effectively reduced, and the reliability of the detection result is improved. According to the gain detection, by comparing an actual energy value with a theoretical energy value, the abnormal gain condition of the microphones can be accurately recognized, and it is ensured that the output signal strength of each microphone meets the expectation. The microphone sequence detection can verify the connection sequence and the signal transmission path between the microphones in the microphone array by transmitting the response pulse signal, and ensures the correct transmission of the signal in the array. In the consistency detection, the response consistency of each microphone at different frequencies can be accurately evaluated through frequency sweep signal and amplitude response difference analysis, and the overall performance of the microphone array is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio technology, and in particular to a microphone array detection method, device, equipment and medium. Background Art

[0002] Microphone array technology has shown wide application potential and value in many fields, such as speech recognition, audio recording, and intelligent voice interaction devices. Its core advantage lies in its ability to capture sound signals in space and achieve advanced functions such as sound source localization, noise suppression, and speech enhancement through advanced signal processing algorithms. These functions are crucial to improving the quality of audio acquisition and processing, especially in complex acoustic environments, where the role of microphone arrays becomes more prominent.

[0003] However, the performance of microphone arrays is not static, but is affected by multiple factors. Among them, the gain, order, and consistency of microphone arrays are key factors in determining the quality of audio acquisition and processing. For example, gain abnormalities may lead to inconsistent amplification of sound signals, which in turn affects the balance and clarity of the overall audio; disordered order may destroy the phase relationship of sound signals, resulting in the failure of functions such as sound source localization; and consistency deviations may introduce additional noise and distortion, reducing the fidelity and intelligibility of the audio.

[0004] During the production, assembly or use of microphone arrays, problems such as gain anomalies, disordered order or consistency deviation are likely to occur due to fluctuations in production processes, limitations in assembly accuracy, and complexity of the use environment. Therefore, it is particularly important to test the performance of microphone arrays to ensure that they meet design requirements and usage needs.

[0005] However, the existing microphone array structure detection methods have deficiencies in many aspects. In terms of gain detection, a simple signal strength comparison is generally used to determine the gain value. However, this method is easily affected by environmental noise and individual differences in microphones, resulting in low detection accuracy and difficulty in meeting the needs of high-precision audio processing. For the detection of microphone array order, common methods often rely on complex wiring design or manual marking. This method is not only cumbersome to operate, increasing the cost of production and maintenance, but also prone to errors, reducing the reliability and stability of the system. This problem is particularly prominent in the application of large-scale microphone arrays, because once the order is wrong, it may take a lot of time and effort to troubleshoot and repair. In terms of consistency detection, the existing detection methods also have deficiencies. Due to the lack of efficient and accurate detection algorithms, it is difficult to comprehensively evaluate the consistency of different microphones in terms of frequency response, sensitivity, phase characteristics, etc. This results in that in practical applications, the performance of microphone arrays often cannot reach the optimal state, affecting the overall effect of audio acquisition and processing.

[0006] In summary, the existing microphone array structure detection methods have deficiencies in gain detection, sequence detection and consistency detection, and are difficult to meet the needs of efficient and accurate detection of microphone array structures. Therefore, it is urgent to develop a new, simple, fast and accurate microphone array structure detection method to overcome the defects of the existing technology and improve the performance and stability of the microphone array. Summary of the invention

[0007] The present application provides a microphone array detection method, device, equipment and medium, which are used to solve the problem that the existing microphone array structure cannot be detected efficiently and accurately.

[0008] In a first aspect, the present application provides a microphone array detection method, the method comprising:

[0009] For different detection modes, the microphone array is tested in the different detection modes according to the detection algorithm corresponding to the detection mode, using the test signal generated by the signal source in the detection mode and the audio signal collected by each microphone in the microphone array in the detection mode;

[0010] Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal;

[0011] If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency;

[0012] If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

[0013] In a second aspect, the present application further provides a microphone array detection device, the device comprising:

[0014] A signal generating module, used for generating a test signal and sending the test signal to a microphone array;

[0015] A signal acquisition module, used to receive audio signals collected by each microphone in the microphone array in different detection modes;

[0016] a processing and analysis module, for controlling the signal source to generate a corresponding test signal in the detection mode through the signal generating module for different detection modes; and, according to the detection algorithm corresponding to the detection mode, processing the audio signals collected by each microphone in the detection mode, so as to detect the detection mode for the microphone array;

[0017] Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal;

[0018] If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency;

[0019] If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

[0020] In a third aspect, the present application provides a computer device, the computer device comprising a processor, the processor being configured to implement the steps of the microphone array detection method as described above when executing a computer program stored in a memory.

[0021] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which implements the steps of the microphone array detection method as described above when executed by a processor.

[0022] The beneficial effects of this application are as follows:

[0023] 1. Through precise test signal generation and acquisition, as well as detection algorithms in different modes, the gain, sequence and consistency of the microphone array can be accurately detected, effectively reducing detection errors and improving the reliability of detection results.

[0024] 2. This application covers multiple modes such as gain detection, microphone sequence detection, and consistency detection, which can comprehensively evaluate the performance of the microphone array from different angles. Gain detection can accurately identify the gain anomaly of the microphone by comparing the actual energy value with the theoretical energy value, ensuring that the output signal strength of each microphone meets expectations. Microphone sequence detection can verify the connection order and signal transmission path between the microphones in the microphone array by transmitting the response pulse signal, ensuring the correct transmission of the signal in the array. Consistency detection can accurately evaluate the response consistency of each microphone at different frequencies through sweep frequency signal and amplitude response difference analysis, ensuring the overall performance of the microphone array.

[0025] 3. The microphone array detection method provided in this application can not only quickly locate the structural problems of the microphone array, but also improve the overall performance of the audio system, bringing users a better audio experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0027] Figure 1 A schematic diagram of a microphone array detection process provided in an embodiment of the present application;

[0028] Figure 2 A schematic diagram of the structure of a microphone array detection device provided in an embodiment of the present application;

[0029] Figure 3 It is a structural schematic diagram of a computer device provided in an optional embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0031] In order to efficiently and accurately detect a microphone array structure, the present application provides a microphone array detection method, device, equipment and medium.

[0032] Embodiment 1:

[0033] The present application provides a microphone array detection method. Figure 1 A schematic diagram of a microphone array detection process provided in an embodiment of the present application, the process includes:

[0034] MOD: For different detection modes, the microphone array is tested in the different detection modes according to the detection algorithm corresponding to the detection mode, through the test signal generated by the signal source in the detection mode and the audio signal collected by each microphone in the microphone array in the detection mode.

[0035] The microphone array detection method provided in the present application is applied to a computer device, which may be an intelligent terminal, such as an in-vehicle central control, a mobile terminal, a computer, etc.

[0036] Microphone arrays play an important role in modern audio systems. They can capture and locate sound sources and provide high-quality audio signals. However, the performance of microphone arrays may be affected by many factors, such as gain anomalies, microphone order errors, and consistency differences. In order to ensure the normal operation of microphone arrays, an effective detection method is needed. The present application provides a microphone array detection method. The core of the method is to adopt a customized detection strategy for different detection modes, and use the signal source and each microphone in the microphone array, as well as the corresponding detection algorithm, to achieve a comprehensive and accurate detection of the microphone array. Among them, these detection modes include but are not limited to gain detection, microphone order detection, consistency detection, etc. In the gain detection mode, the gain of each microphone can be accurately measured, and any gain anomalies can be discovered and corrected in time, thereby ensuring the strength and clarity of the audio signal. In the microphone order detection mode, it is verified whether the arrangement order of each microphone in the microphone array is correct to avoid the problem of inaccurate audio positioning caused by the wrong order. In the consistency detection mode, it is possible to evaluate whether the amplitude response between each microphone in the microphone array is consistent, ensuring that the propagation of the audio signal in the array is uniform and stable. For users, the microphone array detection method provided in the present application brings great convenience and practicality. Users only need to select the desired detection mode according to their actual needs, and the computer equipment will respond quickly and conduct a comprehensive test on the microphone array. This fast and accurate detection method can not only help users find and solve problems in a timely manner, but also improve the overall performance of the audio system and bring users a better audio experience.

[0037] The following is a detailed description of the different detection modes supported by this application:

[0038] MOD 1. Gain detection.

[0039] Gain detection is mainly used to check whether the gain of each microphone in the microphone array is normal. Abnormal gain may cause audio signal distortion or attenuation, affecting audio quality. Based on this, in this application, in order to accurately perform gain detection on the microphone array, if the different detection modes include gain detection, the following steps are included:

[0040] MOD 11: Generate a preset test pure tone signal through the signal source, and evenly distribute the preset test pure tone signal to each of the microphones.

[0041] In this application, what kind of test signal the signal source generates during gain detection, the frequency and amplitude of the test signal, and other information are pre-configured so that the test signal has a stable frequency and energy. For example, during gain detection, the signal source generates a pure tone signal of a preset frequency and amplitude (referred to as a preset test pure tone signal).

[0042] After the signal source generates a preset test pure tone signal, the preset test pure tone signal can be evenly distributed to each microphone in the microphone array to avoid underestimation or overestimation of the gain of some microphones due to uneven signal distribution, thereby affecting the accuracy of the gain detection result.

[0043] It should be noted that the frequency and amplitude of the preset test pure tone signal can be flexibly set according to actual needs and are not specifically limited here.

[0044] MOD 12: For each microphone, determine the gain of the microphone according to an actual energy value of the audio signal collected by the microphone and a theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and determine whether the gain of the microphone is abnormal according to the gain.

[0045] In this application, the microphone array is calibrated in advance in an ideal environment (such as an anechoic chamber), and the theoretical energy values ​​corresponding to the audio signals collected by each microphone are obtained when the preset test pure tone signal is evenly distributed to each microphone of the microphone array. This theoretical energy value represents the response energy that the microphone should have to a pure tone signal of a specific frequency and amplitude under ideal conditions without external interference and hardware failure.

[0046] In the detection environment, after the preset test pure tone signal is evenly distributed to each microphone through the steps in MOD 11, each microphone in the microphone array will collect the corresponding audio signal. Subsequently, for each microphone, the actual energy value of the audio signal collected by the microphone can be calculated. Exemplarily, the collected audio signal can be converted from an electrical signal to a digital signal, such as by a high-precision analog-to-digital converter, and then the root mean square value of the digital signal is determined as the actual energy value. Then, based on the actual energy value and theoretical energy value of the microphone, the gain of the microphone is determined. Based on the gain, it can be determined whether the gain of the microphone is abnormal.

[0047] In one example, the specific steps of determining the gain of the microphone are as follows:

[0048] (1) Calculate the ratio of the actual energy value to the theoretical energy value.

[0049] (2) Take the logarithm of the ratio to the base 10 to obtain the logarithm of the gain.

[0050] (3) Based on the obtained logarithmic value, the gain of the microphone can be determined.

[0051] The logarithmic value may be directly determined as the gain, or the logarithmic value may be stretched by a preset expansion multiple to facilitate subsequent processing.

[0052] For example, the gain of a microphone is determined by the formula:

[0053] G=20*log10(E1 / E0)

[0054] Among them, G represents gain, 20 is the preset expansion multiple, E1 is the actual energy value, and E0 is the theoretical energy value.

[0055] It should be noted that the preset expansion multiple can be flexibly set according to actual needs and is not specifically limited here.

[0056] In an example, for each microphone, determining whether the gain of the microphone is abnormal according to the gain of the microphone includes:

[0057] If the gain of the microphone exceeds a preset reasonable gain range, it is determined that the microphone gain is abnormal.

[0058] In this application, by comparing the gain of the microphone with the preset reasonable gain range, it can be determined whether the microphone has abnormal gain. If the gain of the microphone exceeds the preset reasonable gain range, it is considered that the microphone gain is abnormal, and further fault diagnosis and repair operations may be required. Among them, when setting the preset reasonable gain range, it is necessary to comprehensively consider a variety of factors, including but not limited to the model of the microphone, the working environment, the usage scenario, and the expected audio quality, etc., to ensure the accuracy and applicability of the range.

[0059] For example, during gain detection, the signal source generates a preset test pure tone signal of 1kHz and 0.5V and evenly distributes it to the four microphones. After each microphone collects and converts the audio signal, the calculated gains are G1=2.5dB, G2=-1.2dB, G3=3.1dB, and G4=0.8dB. After comparing each gain with the preset reasonable threshold range [-3dB, +3dB], it is determined that the gain of microphone M3 is abnormal.

[0060] MOD 2, microphone sequence detection.

[0061] Microphone sequence detection is used to check whether the order of each microphone in the microphone array is correct. The wrong order may lead to inaccurate positioning of the audio signal and affect the performance of subsequent audio signal processing. Based on this, in this application, in order to accurately perform microphone sequence detection on the microphone array, if the different detection modes include microphone sequence detection, the following steps are included:

[0062] MOD 21: The first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the microphones are different.

[0063] Similarly, in this application, information such as what kind of test signal the signal source generates during the microphone sequential detection and the frequency of the test signal is pre-configured so that the test signal has a stable frequency. For example, during the microphone sequential detection, the signal source generates a pulse signal of a preset frequency (referred to as a trigger pulse signal).

[0064] The signal source may send the generated trigger pulse signal to the first microphone in the microphone array (usually designated as a reference microphone or a benchmark microphone). The trigger pulse signal marks the start of sequential detection of the microphones.

[0065] After receiving the trigger pulse signal, the first microphone determines the target frequency based on the frequency of the trigger pulse signal, and then generates a response pulse signal with the target frequency and sends it to the next adjacent microphone. Exemplarily, according to a preset increasing rule, the preset frequency is increased or a preset multiple is enlarged on the frequency of the trigger pulse signal to determine the target frequency. For example, the frequency of the trigger pulse signal is 1kHz, and 1kHz is added to this frequency to determine the target frequency, that is, the target frequency is 2kHz. For another example, the frequency of the trigger pulse signal is 1kHz, and the frequency is enlarged by 1 times to determine the target frequency, that is, the target frequency is 2kHz.

[0066] Each subsequent microphone receives the response pulse signal from the previous microphone, determines its own target frequency based on the frequency of the response pulse signal, and generates a new response pulse signal to send to the next microphone.

[0067] This process continues until the last microphone, forming a continuous chain of pulse signals.

[0068] It should be noted that in order to ensure that each microphone can uniquely identify and respond to the signal from the previous microphone, the frequency of the response pulse signal sent by each microphone is different. This helps to verify the order of the microphones in subsequent steps.

[0069] MOD 22: judging whether the order of the microphone array is abnormal based on the pulse information of the response pulse signal recorded by each microphone; wherein the pulse information includes one or more of the following: collection and sending time, and frequency.

[0070] Based on MOD 21, MOD 22 verifies whether the order of the microphone array is correct by comparing and analyzing the pulse information of the response pulse signals recorded by each microphone. Such pulse information includes but is not limited to one or more of the following:

[0071] 1) Collection and transmission time: Each microphone records the timestamp of receiving and sending its response pulse signal. By comparing these timestamps, the order in which the pulse signal is transmitted in the microphone array can be inferred.

[0072] In one example, judging whether the order of the microphone array is abnormal based on the pulse information of the response pulse signal recorded by each microphone includes:

[0073] In the case where the pulse information includes collection and sending time, for each microphone, the time interval between the sending time recorded by the microphone and the collection time recorded by the next microphone is determined; if the time interval exceeds a preset reasonable interval range, it is determined that the order of the microphone array is abnormal.

[0074] In the case where the pulse information includes the acquisition and transmission time, the time interval between the transmission time recorded by each microphone and the acquisition time recorded by the next microphone can be calculated. This time interval reflects the propagation time of the pulse signal between adjacent microphones. In the present application, a reasonable interval range is pre-configured. Among them, this interval range can be determined based on factors such as the propagation speed of the signal in the air, the distance between the microphones, and the time resolution of the system. Compare the calculated time interval with the preset reasonable interval range. If the time interval exceeds the preset range, this may mean that the pulse signal is delayed or interrupted during the transmission process, suggesting that there may be a problem with the order of the microphone array.

[0075] 2) Target frequency: Since the target frequency of the response pulse signal sent by each microphone is unique, the order of the microphone array can be verified by comparing the target frequencies of the received response pulse signals.

[0076] In one example, judging whether the order of the microphone array is abnormal based on the pulse information of the response pulse signal recorded by each microphone includes:

[0077] In the case where the pulse information includes a target frequency, for each of the microphones, if the target frequency of the microphone is not a preset frequency corresponding to the microphone in a theoretical order, it is determined that the order of the microphone array is abnormal.

[0078] In the case where the pulse information contains a target frequency, a frequency value corresponding to the theoretical order is preset for each microphone. These preset frequency values ​​are determined based on the system configuration and the layout of the microphone array to ensure that each microphone uses the correct target frequency when sending a response pulse signal. During the actual detection process, the target frequency of the response pulse signal sent by each microphone is recorded. The target frequency recorded by each microphone is compared with its corresponding preset frequency. If the target frequency of a microphone does not match its preset frequency, that is, it is not the preset frequency corresponding to the microphone in the theoretical order, then this indicates that there may be an abnormality in the order of the microphone array.

[0079] It should be noted that pulse information is a comprehensive concept, which can include one or more of the above-mentioned information. This information includes but is not limited to the acquisition and sending time, target frequency, etc., each of which plays an important role in microphone order detection. If the pulse information only includes the acquisition and sending time, then when detecting the microphone order, we mainly focus on the continuity and rationality of these timestamps. Specifically, it is to check whether the time interval between the sending time recorded by each microphone and the acquisition time recorded by the next microphone is within the preset reasonable range. If all time intervals meet the requirements, it can be preliminarily considered that the order of the microphone array is correct. If the pulse information only includes the target frequency, then during the detection, we will focus on comparing whether the target frequency of the response pulse signal sent by each microphone matches the preset frequency corresponding to its theoretical order. If the target frequency of all microphones is consistent with the preset frequency, it can also be preliminarily considered that the order of the microphone array is correct. When the pulse information contains both the acquisition and sending time and the target frequency, it is necessary not only to check the rationality of the time interval, but also to consider the matching of the target frequency to further verify the order of the microphone array. For example, if the time interval of a microphone is found to be abnormal, or its target frequency does not match the preset frequency, then it indicates that there may be a problem with the order of the microphone array; if the time intervals of each microphone are found to be normal, and their target frequencies match the preset frequencies, then it indicates that the order of the microphone array may be correct.

[0080] For example, the signal source sends a 1kHz trigger pulse signal to microphone M1. After receiving the trigger pulse signal, M1 sends a 2kHz response pulse signal to M2 and records the sending time as T1. After receiving the response pulse signal, M2 sends a 3kHz response pulse signal to M3 and records the acquisition time as T2 and the sending time as T3, and so on. If in this process, the target frequency of the response pulse signal received by M3 is not 3kHz or the time interval is abnormal, it is determined that the microphone array sequence is wrong.

[0081] MOD 3. Consistency detection.

[0082] The consistency test is used to check whether the amplitude responses of the microphones in the microphone array are consistent. Inconsistent amplitude responses may cause uneven propagation of the audio signal in the array. Based on this, in this application, in order to accurately perform consistency detection on the microphone array, if the different detection modes include consistency detection, the following steps are included:

[0083] MOD 31: Sending a set of sweep frequency signals with different frequencies to each microphone through the signal source.

[0084] In the present application, information such as what kind of test signal the signal source generates during consistency detection and the frequency of the test signal is pre-configured. For example, during consistency detection, the signal source generates a set of swept frequency signals with different frequencies. Among them, when setting the frequency of the swept frequency signal, it can be set according to all key frequency points within the operating frequency range of the microphone array. During consistency detection, the signal source can send a set of swept frequency signals with different frequencies to the microphone array based on the pre-configured different frequencies.

[0085] MOD 32: Obtaining amplitude responses of the microphones to the swept frequency signals of different frequencies.

[0086] Based on the above embodiment, each microphone can collect audio signals for swept frequency signals of different frequencies. Then, the collected audio signals are converted from electrical signals to digital signals, and then fast Fourier transform is performed to obtain amplitude responses for different frequencies. The amplitude response data of each microphone for different frequencies is recorded to provide a basis for subsequent comparison and analysis.

[0087] MOD 33: Determine the amplitude response differences between the microphones for the different frequencies.

[0088] Compare the amplitude response data between the microphones at different frequencies to determine the differences between them. There are many ways to calculate the amplitude response differences, such as calculating the average, standard deviation, and the difference between the maximum and minimum values. The specific method to choose depends on the specific requirements and goals of the consistency test.

[0089] For example, determining the difference in amplitude response between any two microphones at any frequency can be expressed as:

[0090] D = |A1-A2| / max(A1,A2).

[0091] Wherein, the amplitude response difference is D, A1 is the amplitude response of microphone M1 at frequency f, A2 is the amplitude response of microphone M2 at frequency f, max(A1,A2) is the maximum value of A1 and A2, and |A1-A2| is the absolute value of the difference between A1 and A2.

[0092] MOD 34: Determine whether there is a consistency difference between the microphones based on the amplitude response differences.

[0093] Based on the amplitude response differences between the microphones, it can be determined whether they have consistency differences. Exemplarily, the step of determining whether the microphones have consistency differences based on the amplitude response differences includes:

[0094] For the different frequencies, if it is determined that there is an amplitude response difference greater than a preset difference threshold value among the amplitude response differences corresponding to the frequency, it is determined that there is a consistency difference at the frequency point;

[0095] If the number of frequency points at which consistency differences are determined exceeds a preset number threshold, it is determined that consistency differences exist among the microphones.

[0096] In this application, a difference threshold is preset to determine whether the amplitude response difference is significant. This threshold is usually determined based on system requirements, microphone performance, and application scenarios. At the same time, a quantity threshold is also set to determine how many frequency points the amplitude response difference exceeds the preset difference threshold.

[0097] After the amplitude response differences between the microphones are obtained based on the above embodiment, it can be determined for each frequency point whether there is an amplitude response difference greater than a preset difference threshold from the amplitude response differences corresponding to the frequency point. If it is determined that there is an amplitude response difference greater than the preset difference threshold among the amplitude response differences corresponding to the frequency point, it is determined that there is a consistency difference at the frequency point; if it is determined that there is no amplitude response difference greater than the preset difference threshold among the amplitude response differences corresponding to the frequency point, it is determined that there is no consistency difference at the frequency point. If the number of frequency points with consistency differences exceeds the preset number threshold, it can be determined that there is a consistency difference at the microphone array.

[0098] Assume that there is a microphone array containing 8 microphones, the preset difference threshold is 0.2, and a quantity threshold is 2. The signal source generates a sweep frequency signal containing 500Hz, 1kHz, 2kHz, and 4kHz. After the amplitude response calculation, at the frequency of 1kHz, the amplitude responses of microphones M1 and M3 are A1=0.8V and A3=0.3V respectively. The calculated amplitude response difference D=|0.8-0.3| / 0.8=0.625 exceeds the preset threshold of 0.2, indicating that there is a problem with the consistency between microphones M1 and M3 at this frequency point. Continue to analyze other frequency points and comprehensively judge the consistency of the microphone array. Finally, if it is found that there are consistency differences at 3 frequency points, it is determined that the microphone array has consistency differences.

[0099] In a possible implementation, the method further includes:

[0100] If any detection mode of the microphone array is abnormal, an alarm message of the abnormal detection mode is output.

[0101] Based on the above embodiments, the microphone array can be tested in different detection modes. If an abnormality is detected in any detection mode, the computer device can output warning information related to the abnormality of the detection mode. Among them, the warning information may include the type of abnormality, the time of occurrence, the microphone involved (if multiple microphones are involved in the detection), and possible solutions or suggestions. The warning information can be output in a variety of ways, such as being displayed on the user interface of the system, sent to a specified email address or SMS service, or triggering a sound or light alarm of the system.

[0102] The beneficial effects of this application are as follows:

[0103] 1. Through precise test signal generation and acquisition, as well as detection algorithms in different modes, the gain, sequence and consistency of the microphone array can be accurately detected, effectively reducing detection errors and improving the reliability of detection results.

[0104] 2. This application covers multiple modes such as gain detection, microphone sequence detection, and consistency detection, which can comprehensively evaluate the performance of the microphone array from different angles. Gain detection can accurately identify the gain anomaly of the microphone by comparing the actual energy value with the theoretical energy value, ensuring that the output signal strength of each microphone meets expectations. Microphone sequence detection can verify the connection order and signal transmission path between the microphones in the microphone array by transmitting the response pulse signal, ensuring the correct transmission of the signal in the array. Consistency detection can accurately evaluate the response consistency of each microphone at different frequencies through sweep frequency signal and amplitude response difference analysis, ensuring the overall performance of the microphone array.

[0105] 3. The microphone array detection method provided in this application can not only quickly locate the structural problems of the microphone array, but also improve the overall performance of the audio system, bringing users a better audio experience.

[0106] Embodiment 2:

[0107] Based on the same inventive concept, the present application also provides a microphone array detection device, Figure 2 A schematic diagram of the structure of a microphone array detection device provided in an embodiment of the present application, the device comprising:

[0108] A signal generating module 21, used for generating a test signal and sending the test signal to a microphone array;

[0109] A signal acquisition module 22, used to receive audio signals collected by each microphone in the microphone array in different detection modes;

[0110] The processing and analysis module 23 is used for controlling the signal source to generate a corresponding test signal in the detection mode through the signal generating module 21 for different detection modes; and, according to the detection algorithm corresponding to the detection mode, processing the audio signals collected by each microphone in the detection mode, so as to detect the detection mode for the microphone array;

[0111] Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal;

[0112] If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency;

[0113] If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

[0114] In some possible implementations, the device further includes:

[0115] The alarm module 24 is used to output alarm information of abnormal detection mode if any detection mode of the microphone array is abnormal.

[0116] In some possible implementations, the processing and analysis module 23 is specifically used to:

[0117] determining a ratio of the actual energy value to the theoretical energy value;

[0118] Taking the base 10 logarithm of the ratio;

[0119] The gain is determined according to the obtained logarithmic value.

[0120] In some possible implementations, the processing and analysis module 23 is specifically used to:

[0121] If the gain of the microphone exceeds a preset reasonable gain range, it is determined that the microphone gain is abnormal.

[0122] In some possible implementations, the processing and analysis module 23 is specifically used to:

[0123] In the case where the pulse information includes collection and sending time, for each microphone, the time interval between the sending time recorded by the microphone and the collection time recorded by the next microphone is determined; if the time interval exceeds a preset reasonable interval range, it is determined that the order of the microphone array is abnormal.

[0124] In some possible implementations, the processing and analysis module 23 is specifically used to:

[0125] In the case where the pulse information includes a target frequency, for each of the microphones, if the target frequency of the microphone is not a preset frequency corresponding to the microphone in a theoretical order, it is determined that the order of the microphone array is abnormal.

[0126] In some possible implementations, the processing and analysis module 23 is specifically used to:

[0127] For the different frequencies, if it is determined that there is an amplitude response difference greater than a preset difference threshold value among the amplitude response differences corresponding to the frequency, it is determined that there is a consistency difference at the frequency point;

[0128] If the number of frequency points at which consistency differences are determined exceeds a preset number threshold, it is determined that consistency differences exist among the microphones.

[0129] The microphone array detection device in this embodiment is presented in the form of a functional module, where the module refers to an application specific integrated circuit (ASIC), a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0130] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0131] Embodiment 3:

[0132] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present application, such as Figure 3 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.

[0133] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0134] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0135] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0136] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0137] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.

[0138] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0139] Embodiment 4:

[0140] On the basis of the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program executable by a processor is stored. When the program runs on the processor, the processor implements the following steps when executing:

[0141] For different detection modes, the microphone array is tested in the different detection modes according to the detection algorithm corresponding to the detection mode, using the test signal generated by the signal source in the detection mode and the audio signal collected by each microphone in the microphone array in the detection mode;

[0142] Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal;

[0143] If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency;

[0144] If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

[0145] Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to that of the microphone array detection method, the implementation of the above-mentioned computer-readable storage medium can refer to the embodiment of the method, and the repeated parts will not be repeated.

[0146] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A microphone array detection method, characterized in that: The method comprises: For different detection modes, the microphone array is tested in the different detection modes according to the detection algorithm corresponding to the detection mode, using the test signal generated by the signal source in the detection mode and the audio signal collected by each microphone in the microphone array in the detection mode; Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal; If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency; If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

2. The method according to claim 1, characterized in that The method further comprises: If any detection mode of the microphone array is abnormal, an alarm message of the abnormal detection mode is output.

3. The method according to claim 1, characterized in that The step of determining the gain of each microphone according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment includes: determining a ratio of the actual energy value to the theoretical energy value; Taking the base 10 logarithm of the ratio; The gain is determined according to the obtained logarithmic value.

4. The method according to claim 1, characterized in that For each of the microphones, determining whether the gain of the microphone is abnormal according to the gain of the microphone includes: If the gain of the microphone exceeds a preset reasonable gain range, it is determined that the microphone gain is abnormal.

5. The method according to claim 1, characterized in that The determining whether the order of the microphone array is abnormal based on the pulse information of the response pulse signal recorded by each microphone includes: In the case where the pulse information includes collection and sending time, for each microphone, the time interval between the sending time recorded by the microphone and the collection time recorded by the next microphone is determined; if the time interval exceeds a preset reasonable interval range, it is determined that the order of the microphone array is abnormal.

6. The method according to claim 1, characterized in that The determining whether the order of the microphone array is abnormal based on the pulse information of the response pulse signal recorded by each microphone includes: In the case where the pulse information includes a target frequency, for each of the microphones, if the target frequency of the microphone is not a preset frequency corresponding to the microphone in a theoretical order, it is determined that the order of the microphone array is abnormal.

7. The method according to claim 1, characterized in that The determining whether there is a consistency difference between the microphones based on the amplitude response differences includes: For the different frequencies, if it is determined that there is an amplitude response difference greater than a preset difference threshold value among the amplitude response differences corresponding to the frequency, it is determined that there is a consistency difference at the frequency point; If the number of frequency points at which consistency differences are determined exceeds a preset number threshold, it is determined that consistency differences exist among the microphones.

8. A microphone array detection device, characterized in that: The device comprises: A signal generating module, used for generating a test signal and sending the test signal to a microphone array; A signal acquisition module, used to receive audio signals collected by each microphone in the microphone array in different detection modes; a processing and analysis module, for controlling the signal source to generate a corresponding test signal in the detection mode through the signal generating module for different detection modes; and, according to the detection algorithm corresponding to the detection mode, processing the audio signals collected by each microphone in the detection mode, so as to detect the detection mode for the microphone array; Wherein, if the different detection modes include gain detection, a preset test pure tone signal is generated by the signal source, and the preset test pure tone signal is evenly distributed to each of the microphones; for each of the microphones, the gain of the microphone is determined according to the actual energy value of the audio signal collected by the microphone and the theoretical energy value obtained by pre-calibrating the microphone under an ideal environment, and based on the gain, it is determined whether the gain of the microphone is abnormal; If the different detection modes include microphone sequential detection, the first microphone among the microphones receives the trigger pulse signal sent by the signal source as a start, and each microphone receives the response pulse signal sent by its adjacent previous microphone, and determines the target frequency according to the frequency of the response pulse signal and sends the response pulse signal of the target frequency to the next microphone until the last microphone; wherein the frequencies of the response pulse signals collected by the various microphones are different; based on the pulse information of the response pulse signals recorded by the various microphones, it is determined whether the order of the microphone array is abnormal; wherein the pulse information includes one or more of the following: collection and sending time, frequency; If the different detection modes include consistency detection, a set of swept frequency signals of different frequencies are sent to the microphones through the signal source; the amplitude responses of the microphones to the swept frequency signals of different frequencies are obtained; the amplitude response differences between the microphones are determined for the different frequencies; and based on the amplitude response differences, it is determined whether there are consistency differences among the microphones.

9. A computer device, characterized in that: The computer device comprises a processor, and the processor is used to implement the steps of the microphone array detection method as described in any one of claims 1 to 7 when executing a computer program stored in a memory.

10. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the steps of the microphone array detection method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Microphone array consistency detection method and detection device

    CN112153548A

  • Method for detecting sequence of microphones in microphone array

    CN113453138A

  • Microphone array test method, storage medium and electronic equipment

    CN118612600A

  • Method for sequential correction in microphone array coordinate system, method and equipment for correcting microphone reception signal in microphone array

    JP2004112701A

  • Determining and Adapting to Changes in Microphone Performance of Playback Devices

    US20190364375A1