Consistency test method, device, system and equipment and readable storage medium

By calculating the microphone's transfer function, amplitude frequency response, and phase frequency response, the problem of insufficient microphone consistency evaluation in the prior art is solved, realizing quantitative evaluation of microphone consistency, optimizing product design and manufacturing, and improving the performance and stability of multi-microphone products.

CN121635264APending Publication Date: 2026-03-10深圳市沃莱特电子有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-05
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing technologies lack effective quantitative evaluation methods for microphone consistency, resulting in insufficient management of performance optimization and development risks for multi-microphone products, and an inability to accurately predict microphone performance consistency during mass production.

Method used

By acquiring the reference signal sequence and the signal sequence under test, the transfer function, amplitude frequency response, and phase frequency response of the microphone under test relative to the reference microphone are calculated, providing an objective and quantifiable consistency evaluation method to identify performance deviations among a batch of microphones.

Benefits of technology

It enables a comprehensive evaluation of microphone consistency, identifies subtle deviations that cannot be detected by absolute performance testing, ensures that the evaluation results closely match the needs of actual application scenarios, optimizes microphone selection, reduces rework costs, and improves product performance stability and algorithm efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121635264A_ABST
    Figure CN121635264A_ABST
Patent Text Reader

Abstract

The invention provides a consistency test method, device, system and equipment and a readable storage medium, and the method comprises the steps: obtaining a reference signal sequence and a to-be-tested signal sequence, the reference signal sequence and the to-be-tested signal sequence are electric signals synchronously generated by the reference microphone and the to-be-tested microphone in response to the same preset audio test signal respectively; according to the reference signal sequence and the to-be-tested signal sequence, obtaining a transfer function from the to-be-tested microphone to the reference microphone; based on the transfer function, calculating amplitude-frequency response and phase-frequency response of the microphone to be tested relative to the reference microphone; and obtaining a consistency test result of the microphone to be tested according to the amplitude-frequency response and the phase-frequency response. The objective and quantifiable consistency evaluation method provided by the invention can identify the fine consistency deviation which cannot be found only by an absolute performance test from a more comprehensive performance perspective, and realizes the automatic evaluation of the microphone consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of microphone technology, specifically to a conformance testing method, apparatus, system, device, and readable storage medium. Background Technology

[0002] In modern audio products, especially advanced audio devices that employ multi-microphone arrays and active noise cancellation technology, the performance consistency among microphones is a core algorithm for achieving beamforming, accurate sound source localization, and efficient noise reduction.

[0003] However, existing technologies have significant shortcomings in assessing microphone consistency, primarily in the following aspects: First, microphone selection during the initial development phase heavily relies on typical parameters (such as frequency response and distortion) provided in supplier specifications. These data, based on limited samples, cannot characterize the consistency distribution of microphones during mass production, leading to an inability to accurately predict the final performance of microphones during the design phase and introducing the potential risk of substandard performance. Second, production line testing at the manufacturing end focuses only on whether the "absolute performance" (such as frequency response and distortion) of individual microphones is up to standard, falling under the category of fault screening. It cannot statistically assess the "relative performance" deviation among the entire batch of microphones, i.e., the level of consistency.

[0004] Therefore, the existing technology lacks a scheme for effectively quantifying and evaluating microphone consistency, which seriously restricts the optimization of multi-microphone product performance and the management of development risks. Summary of the Invention

[0005] In view of the above, it is necessary to propose a conformance testing method, apparatus, system, equipment and readable storage medium to solve the technical problem that the lack of an effective quantitative evaluation scheme for microphone conformance in the existing technology has seriously restricted the optimization of multi-microphone product performance and the management of development risks.

[0006] In a first aspect, this application provides a conformance testing method applied to a microphone. The method includes: acquiring a reference signal sequence and a test signal sequence, wherein the reference signal sequence and the test signal sequence are electrical signals synchronously generated by a reference microphone and a microphone under test in response to the same preset audio test signal, respectively; acquiring a transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the test signal sequence; calculating the amplitude-frequency response and phase-frequency response of the microphone under test relative to the reference microphone based on the transfer function; and acquiring a conformance test result of the microphone under test based on the amplitude-frequency response and the phase-frequency response.

[0007] The consistency testing method in this application provides an objective and quantifiable consistency evaluation method by calculating the transfer function, amplitude-frequency response, and phase-frequency response of the microphone under test relative to a reference microphone. This method can identify subtle consistency deviations (such as phase drift) that cannot be detected by absolute performance testing alone from a more comprehensive performance perspective. This ensures that the evaluation results are closer to the needs of actual application scenarios and allows for statistical analysis of performance deviations among a batch of microphones (e.g., the consistency distribution of frequency response and phase), rather than relying solely on supplier specifications or individual absolute performance tests. This overcomes the shortcomings of existing technologies in mass production consistency monitoring. Based on this, during the development phase, this application allows design teams to make decisions based on actual consistency data rather than specifications with limited samples, avoiding system performance failures caused by microphone performance inconsistencies. During the manufacturing phase, it can supplement production line testing, not only for fault screening but also for consistency level monitoring, thereby reducing later debugging and rework costs. It helps identify design risks in the early stages of product development, optimize microphone selection, and ensure the consistency of batch products at the manufacturing end, thus improving the performance stability and algorithm efficiency of the final product.

[0008] In some embodiments of this application, obtaining the transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the signal sequence under test includes: obtaining the autopower spectrum of the reference microphone based on the reference signal sequence; obtaining the cross-power spectrum between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence under test; and obtaining the transfer function from the microphone under test to the reference microphone based on the autopower spectrum and the cross-power spectrum.

[0009] In some embodiments of this application, obtaining the autopower spectrum of the reference microphone based on the reference signal sequence includes: obtaining the autocorrelation sequence of the reference microphone based on the reference signal sequence; and performing a Fourier transform on the autocorrelation sequence to obtain the autopower spectrum.

[0010] In some embodiments of this application, the calculation formula used to obtain the autocorrelation sequence of the reference microphone based on the reference signal sequence is as follows: ; in, The reference signal sequence, For time index, representing the first One sampling point, The lag time represents the parameter that has changed. In order to delay time The autocorrelation sequence below.

[0011] In some embodiments of this application, obtaining the cross-power spectrum between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence under test includes: The cross-correlation sequence between the microphone under test and the reference microphone is obtained based on the reference signal sequence and the signal sequence to be tested. The cross-correlation sequence is subjected to Fourier transform to obtain the cross-power spectrum.

[0012] In some embodiments of this application, the calculation formula used to obtain the cross-correlation sequence between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence under test is as follows: ; in, The sequence of signals to be tested, In order to delay time The cross-correlation sequence below.

[0013] In some embodiments of this application, the calculation formula corresponding to the transfer function is as follows: ; in, Angular frequency, The self-power spectrum, The cross-power spectrum, It is a complex number, each angular frequency Each has a real part and the virtual part .

[0014] Secondly, this application also provides a conformance testing device for a microphone, the device comprising: a first acquisition module for acquiring a reference signal sequence and a test signal sequence, wherein the reference signal sequence and the test signal sequence are electrical signals synchronously generated by a reference microphone and a microphone under test in response to the same preset audio test signal, respectively; a second acquisition module for acquiring a transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the test signal sequence; a calculation module for calculating the amplitude-frequency response and phase-frequency response of the microphone under test relative to the reference microphone based on the transfer function; and a testing module for acquiring a conformance test result of the microphone under test based on the amplitude-frequency response and the phase-frequency response.

[0015] Thirdly, this application also provides a conformance testing system for a microphone. The system includes: a test data acquisition mechanism for playing a preset audio test signal and synchronously acquiring a reference signal sequence and a test signal sequence generated by a reference microphone and a microphone under test respectively under the excitation of the preset audio test signal; and a computer device that is communicatively connected to the test data acquisition mechanism for executing the conformance testing method described in the above embodiments.

[0016] Fourthly, this application also provides a computer device, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the consistency testing method described in the above embodiments.

[0017] Fifthly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the consistency testing method described in the above embodiments.

[0018] Understandably, the conformance testing apparatus of the second aspect, the conformance testing system of the third aspect, the computer equipment of the fourth aspect, and the computer-readable storage medium of the fifth aspect provided above all correspond to the conformance testing method of the first aspect. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding conformance testing methods provided above, and will not be repeated here. Attached Figure Description

[0019] Figure 1 This is a flowchart illustrating a consistency testing method provided in an embodiment of this application.

[0020] Figure 2 This is a schematic diagram of the composition of a conformance testing system provided in an embodiment of this application.

[0021] Figure 3 This is a schematic diagram of the structure of a test data acquisition mechanism provided in one embodiment of this application.

[0022] Figure 4 This is a schematic diagram of the structure of a test data acquisition mechanism provided in another embodiment of this application.

[0023] Figure 5 This is an amplitude-frequency response curve of a microphone under test provided in an embodiment of this application.

[0024] Figure 6 This is a phase frequency response curve of a microphone under test provided in an embodiment of this application.

[0025] Figure 7This is a schematic diagram of the functional modules of a conformance testing device provided in an embodiment of this application.

[0026] Component Symbol Explanation Conformance Testing System 1 Computer equipment 10 Memory 11 Processor 12 Test data acquisition organization 20 Multi-channel audio interface 21 Multi-channel microphone acquisition board 22 Power Amplifier 23 Speaker unit 24 Plane wave generating unit 25 VSWR 251 Test surface 252 Test point 253 Sealing clamp 26 Sealing bracket 261 262 mobile controller Probe connector 263 silicone case 264 Conformity testing device 100 First Acquisition Module 110 Second acquisition module 120 Calculation Module 130 Test Module 140 The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation

[0027] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0028] To provide a clearer understanding of the embodiments of the present invention, the invention will be described in detail below with reference to the accompanying drawings and specific examples. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0029] Please see Figure 1 This is a flowchart illustrating a consistency testing method provided in an embodiment of this application.

[0030] The consistency testing method in this application embodiment can be applied to... Figure 2The conformance testing system 1 shown includes a test data acquisition mechanism 20 and a computer device 10. The computer device 10 is communicatively connected to the test data acquisition mechanism 20. The test data acquisition mechanism 20 is used to play a preset audio test signal and simultaneously acquire the reference signal sequence and the test signal sequence generated by the reference microphone and the microphone under test respectively under the excitation of the preset audio test signal; the computer device 10 is used to execute the conformance testing method of the following embodiments.

[0031] In some embodiments of this application, the test data acquisition mechanism 20 includes a multi-channel audio interface 21, a multi-channel microphone acquisition board 22, a power amplifier 23, a speaker unit 24, a plane wave generation unit 25, and a sealing clamp 26.

[0032] In this system, computer device 10 is connected to multi-channel audio interface 21 via a specific data cable (e.g., USB, Thunderbolt). The transmitting end of multi-channel audio interface 21 is connected to the input end of power amplifier 23, the receiving end of multi-channel audio interface 21 is connected to multi-channel microphone acquisition board 22, and the output end of power amplifier 23 is connected to speaker unit 24. Speaker unit 24 is located at the lower end inside plane wave generating unit 25. A test surface 252 is provided at the upper end of plane wave generating unit 255, with multiple test points 253 for placing reference microphones and microphones under test. Sealing clamp 26 is located above plane wave generating unit 25 to fix the reference microphone and microphone under test, ensuring acoustic isolation from the external environment and receiving only plane wave signals from plane wave generating unit 25. Multi-channel microphone acquisition board 22 is connected to all microphones fixed by sealing clamp 26.

[0033] In some embodiments of this application, combined with Figure 3 As shown, the plane wave generating unit 25 of this application is a special standing wave tube 251. Its core function is to constrain and guide a spherical wave excited by the loudspeaker unit 24 into a plane wave that propagates along the tube axis and has a parallel wavefront within the standing wave tube 251, thereby providing a known, uniform and repeatable ideal sound field for the test point 253.

[0034] The standing wave tube 251 is a rigid long tube with a uniform cross-section, which can be circular or square. The inner wall of the tube is smooth and made of a dense material (such as metal or high-density polymer) with an extremely high acoustic reflection coefficient (close to 100%), which can suppress the energy loss and lateral scattering of sound waves during propagation to the maximum extent, ensuring that the sound wave energy propagates efficiently along the axial direction.

[0035] Furthermore, the effective operating frequency band of the standing wave tube 251 is determined by both its lateral and longitudinal dimensions. It is necessary to ensure that the tube operates in a pure plane wave mode. Specifically: To ensure that sound waves propagate only in plane wave mode within the tube without generating higher-order modes, an upper cutoff frequency is set. For a circular cross-section standing wave tube 251, its plane wave cutoff frequency is determined by the following formula: fmax < (0.9 * 0.586 * c) / r, where fmax is the maximum cutoff frequency of the plane wave (Hz), c is the speed of sound (taken as 343 m / s at room temperature), and r is the radius of the circular cross-section of the standing wave tube 251 (m). The coefficient 0.9 is usually used as an engineering safety margin. For example, if the radius of the circular cross-section of the standing wave tube 251 is r = 0.025 m, its maximum plane wave cutoff frequency is calculated to be 7.2 kHz, meaning that the highest frequency component of the preset audio test signal must be lower than this limit.

[0036] To ensure a stable and analytically usable sound field is formed within the tube, the longitudinal dimension L of the standing wave tube 251 must meet low-frequency requirements. The length of the standing wave tube 251 should be at least greater than half the wavelength corresponding to the lowest test frequency, i.e., L > λmin / 2, where λmin is the minimum wavelength in the preset audio test signal, determined by the lowest test frequency fmin, and λmin = c / fmin, ensuring that a sufficiently strong sound field can be established even in the low-frequency range.

[0037] Therefore, through experiments, the standing wave tube 251 used in this application has a length of 1.2 meters and a radius of 3 centimeters. According to the above formula, the above-mentioned size design can extend the upper limit of the effective test frequency band of the plane wave to about 6.0 kHz while ensuring the stability of the low-frequency sound field, which is sufficient to cover the consistency test requirements of most audio frequency bands.

[0038] In some embodiments of this application, combined with Figure 4 As shown, the sealing fixture 26 includes a sealing bracket 261 and a movable handle 262 disposed on the upper end of the sealing bracket 261. Multiple probe connectors 263 are disposed on the lower end of the sealing bracket 261. Each probe connector 263 is surrounded by a silicone sleeve 264. Each probe connector 263 corresponds to each test point 253 and is used to connect the multi-channel microphone acquisition board 22 and the electrical contact pads on the microphone placed in the test point 253, achieving reliable contact. The probe connectors 263 are pre-connected with the power supply, ground, and signal lines required for microphone operation and ultimately converge to the multi-channel microphone acquisition board 22. This eliminates the need for separate wiring at the microphone connection points, saving the steps of manual soldering or plugging and unplugging of connecting wires, achieving automation and standardization of electrical connections. Furthermore, each microphone is sealed by the silicone sleeve 264, ensuring that during testing, the microphone diaphragm can only pick up plane wave signals from inside the standing wave tube 251, effectively isolating external environmental noise interference, forming tight acoustic isolation, improving the stability and testing speed of the conformance testing system 1, and facilitating subsequent automated testing.

[0039] In some embodiments of this application, the data acquisition process of the test data acquisition mechanism 20 is as follows: (1) The tester pulls the moving handle 262 upwards, driving the sealing bracket 261 upwards through the internal linkage or cam transmission system, so that the sealing bracket 261 disengages from the standing wave tube 251, thereby exposing the test point 253. At this time, the tester can accurately place multiple microphones on each test point 253, select a stable microphone as the reference microphone, and the other microphones as the microphones to be tested. For example, this application uses 10 test points 253, one of which is where the reference microphone is placed, and this remains unchanged for each test. The remaining 9 test points 253 are used to replace the microphones to be tested for each test. The position and number of test points 253 can be customized according to actual needs.

[0040] (2) After the microphone is placed, the tester pulls the moving handle 262 downward, which in turn drives the sealing bracket 261 to move downward. The sealing bracket 261 then presses the microphone on the test point 253 into an elastic silicone sleeve 264, forming a tight acoustic isolation. When the sealing bracket 261 moves to the end position, the spring-loaded probe connector 263 integrated inside the sealing bracket 261 makes reliable contact with the electrical contact pad on the microphone.

[0041] With a simple wrench operation, the microphone can be precisely positioned, the acoustic environment can be reliably sealed, and the electrical interface can be automatically connected simultaneously. This greatly reduces the operational errors and time costs caused by repeated wiring and manual sealing, while ensuring that each test is conducted under the same high-quality acoustic conditions. The high integration of mechanical movement, acoustic sealing and electrical connection significantly improves testing efficiency and consistency.

[0042] (3) The computer device 10 generates a specific audio test signal (e.g., a sweep frequency signal, a noise signal, etc.) using a preset program, and sends the audio test signal to the multi-channel audio interface 21 via a data bus (e.g., USB, Thunderbolt). After receiving the audio test signal, the multi-channel audio interface 21 uses its internal high-precision digital-to-analog converter to convert the audio test signal into a corresponding low-voltage analog audio signal, and sends the low-voltage analog audio signal to the power amplifier 23. The power amplifier 23 amplifies the voltage and current of the low-voltage analog audio signal to a sufficient power level to effectively drive the speaker unit 24, and sends the amplified electrical signal to the speaker unit 24 installed at the end of the standing wave tube 251. The speaker unit 24 acts as an actuator, converting the electrical signal into mechanical vibration, thereby exciting sound waves in the standing wave tube 251.

[0043] Due to the rigid walls and specific dimensions of the standing wave tube 251, the sound waves propagating inside the tube form an approximately ideal plane wave sound field, ensuring that the sound pressure and phase at the microphone test point 253 are stable and known, providing a standard and uniform acoustic excitation source for testing. Furthermore, the plane wave propagates forward to the sealed clamp 26, where the reference microphone and the microphone under test are mounted. The sealed clamp 26 ensures that the microphone responds only to this controlled plane wave, isolating it from external ambient noise.

[0044] (4) The reference microphone and the microphone under test are simultaneously excited by plane waves, causing their diaphragms to vibrate. Through their respective electromechanical principles, they convert the sound pressure signals into weak analog electrical signals and send these signals from multiple microphones to the multi-channel microphone acquisition board 22. The multi-channel microphone acquisition board 22 acquires multiple analog microphone signals and sends them to the multi-channel audio interface 21. The high-precision analog-to-digital converter on the multi-channel audio interface 21 converts the synchronously acquired multiple analog microphone signals into digital signal sequences, namely the reference signal sequence and the signal sequence under test, and returns them to the computer device 10.

[0045] In some embodiments of this application, the computer device 10 may be a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0046] Specifically, the consistency testing method includes the following steps. Depending on different requirements, the order of some steps in the flowchart can be changed, and some steps can be omitted.

[0047] S10: Acquire the reference signal sequence and the signal sequence to be tested. The reference signal sequence and the signal sequence to be tested are electrical signals synchronously generated by the reference microphone and the microphone to be tested in response to the same preset audio test signal.

[0048] The reference signal sequence is generated by a reference microphone under the excitation of a preset audio test signal, and the signal sequence under test is generated by the microphone under test under the excitation of a preset audio test signal.

[0049] In some embodiments of this application, the reference microphone is a microphone with known, relatively excellent, and long-term stable performance, ensuring that the reference signal itself has extremely high purity, thereby establishing an objective and reliable acoustic benchmark. During each test, multiple microphones under test can be provided, for example, 100, but only one reference microphone is used, and all microphones under test have their transfer functions calculated against the same reference microphone.

[0050] In some embodiments of this application, in order to comprehensively evaluate the consistency of the microphone, the preset audio test signal should not be a single signal, but a composite test signal sequence designed to stimulate the microphone's response under different operating conditions. The preset audio test signal may include, but is not limited to, a linear sweep signal, used to accurately measure the microphone's amplitude frequency response and phase frequency response.

[0051] In some embodiments of this application, during test data acquisition, the reference microphone and the microphone under test should be placed in the same acoustic environment. In this application, during test data acquisition, the reference microphone and the microphone under test are placed in... Figure 3 The test data acquisition mechanism 20 shown can simultaneously acquire the reference signal sequence and the test signal sequence generated by the reference microphone and the microphone under test under the excitation of the preset audio test signal, respectively, and isolate environmental noise and avoid interference of reflected sound on the test data.

[0052] In some embodiments of this application, since the multi-channel audio interface 21 serves as a hardware synchronization unit during each test, all its input channels share the same time base clock and support synchronous triggering, thereby enabling simultaneous sampling of multiple microphone signals. This ensures that the reference signal sequence and the signal sequence under test maintain strict phase consistency (i.e., time alignment), fundamentally avoiding time drift between channels and providing a reliable data foundation for subsequent accurate analysis.

[0053] In some embodiments of this application, after the computer device 10 acquires the reference signal sequence and the signal sequence to be tested, it will also preprocess the reference signal sequence and the signal sequence to be tested, such as framing, windowing, and DC removal, to optimize the reference signal sequence and the signal sequence to be tested for subsequent use. The preprocessed reference signal sequence and the signal sequence to be tested will be stored as a data file in a time-aligned manner to provide a data basis for subsequent consistency analysis.

[0054] S20: Obtain the transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the signal sequence to be tested.

[0055] In some embodiments of this application, the specific steps for obtaining the transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the signal sequence under test include: obtaining the autopower spectrum of the reference microphone based on the reference signal sequence; obtaining the cross-power spectrum between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence under test; and obtaining the transfer function from the microphone under test to the reference microphone based on the autopower spectrum and the cross-power spectrum.

[0056] In some embodiments of this application, obtaining the autopower spectrum of a reference microphone based on a reference signal sequence includes: obtaining the autocorrelation sequence of the reference microphone based on the reference signal sequence; and performing a Fourier transform on the autocorrelation sequence to obtain the autopower spectrum.

[0057] In some embodiments of this application, the autocorrelation sequence of the reference microphone is obtained based on the reference signal sequence, and the calculation formula used is as follows: ; in, As a reference signal sequence, For time index, representing the first One sampling point, The lag time represents the parameter that has changed. In lag The autocorrelation sequence below; In some embodiments of this application, a Fourier transform is performed on the autocorrelation sequence to obtain the autopower spectrum, and the calculation formula used is as follows: ; in, The power spectrum is represented by FFT, which stands for Fast Fourier Transform. ω is the angular frequency.

[0058] In some embodiments of this application, the specific steps for obtaining the cross-power spectrum between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence to be tested include: obtaining the cross-correlation sequence between the microphone under test and the reference microphone based on the reference signal sequence and the signal sequence to be tested; and performing a Fourier transform on the cross-correlation sequence to obtain the cross-power spectrum.

[0059] In some embodiments of this application, the cross-correlation sequence between the microphone under test and the reference microphone is obtained based on the reference signal sequence and the signal sequence under test. The calculation formula used is as follows: ; in, The sequence of signals to be tested, In lag The cross-correlation sequence below; In some embodiments of this application, a Fourier transform is performed on the cross-correlation sequence to obtain the cross-power spectrum, and the calculation formula involved is as follows: ; in, This is the cross power spectrum.

[0060] In some embodiments of this application, the calculation formula for the transfer function is as follows: ; in, It is a complex number, each angular frequency Each has a real part and the virtual part .

[0061] It should be noted that the relationship between the input and output of an object with linear characteristics, expressed by a function (the ratio of the Laplace transform of the output waveform to the Laplace transform of the input waveform), is called a transfer function.

[0062] S30: Based on the transfer function, calculate the amplitude frequency response and phase frequency response of the microphone under test relative to the reference microphone.

[0063] In some embodiments of this application, the calculation formula for the amplitude-frequency response of the microphone under test relative to a reference microphone, based on the transfer function, is as follows: ; in, The amplitude-frequency response represents the gain of the microphone under test relative to the reference microphone at different frequencies. The closer the value is to 1, the smaller the amplitude difference between the microphone under test and the reference microphone, and the better the consistency of the microphone under test and the reference microphone in terms of sensitivity.

[0064] In some embodiments of this application, the calculation formula for the phase frequency response of the microphone under test relative to a reference microphone, based on the transfer function, is as follows: ; The phase response represents the phase shift of the microphone under test relative to the reference microphone at different frequencies. The closer the value is to 0°, the smaller the phase difference between the microphone under test and the reference microphone, and the better the phase consistency between the microphone under test and the reference microphone.

[0065] S40: Obtain the consistency test results of the microphone under test based on the amplitude frequency response and phase frequency response. In some embodiments of this application, all microphones under test are first analyzed based on their amplitude-frequency response and phase-frequency response to obtain the amplitude-frequency response curves of all microphones under test (e.g., Figure 5 (as shown) and phase frequency response curves (e.g.) Figure 6 As shown in the figure, the consistency of the microphones under test is further evaluated by observing the overlap of the amplitude frequency response curves and phase frequency response curves of all the microphones under test in the target frequency band (e.g., 20Hz - 8kHz).

[0066] In some embodiments of this application, the computer device 10 calculates the FR value of all microphones under test at each frequency point, finds the maximum value (FRmax) and minimum value (FRmin) corresponding to each frequency point, calculates the difference between the maximum value (FRmax) and the minimum value (FRmin), i.e., the amplitude-frequency range, and then finds the maximum range among the amplitude-frequency ranges corresponding to each frequency point. The smaller the maximum amplitude-frequency range, the better the sensitivity consistency of the entire batch of microphones under test. For example, if the maximum amplitude-frequency range is less than 0.5dB, it indicates good amplitude-frequency consistency.

[0067] In some embodiments of this application, the computer device 10 iterates through the Phase values ​​of all microphones under test at each frequency point, finds the maximum value (Phasemax) and minimum value (Phasemin) at each frequency point, calculates the difference between the maximum value (Phasemax) and the minimum value (Phasemin), i.e., the phase range, and then finds the maximum phase range among the amplitude-frequency ranges corresponding to each frequency point. The smaller the maximum phase-frequency range, the better the phase-frequency consistency of the entire batch of microphones under test. For example, a maximum phase range of less than 1° indicates excellent phase-frequency consistency.

[0068] In the above embodiments, through visual comparison of the curve clusters and quantitative calculation of statistical data, the consistency quality indicators of the entire batch of microphones under test can be obtained. These indicators provide direct and quantitative decision-making basis for microphone selection in the product design stage and can effectively predict their performance in actual array or noise reduction applications.

[0069] In some embodiments of this application, tests have shown that, under the excitation of an audio test signal from 20 Hz to 8 kHz, test data is collected using the test data acquisition mechanism 20. The results confirm that the amplitude frequency response consistency deviation of all microphones under test is less than 0.5 dB and the phase consistency deviation is less than 1°, and the performance meets the design requirements.

[0070] The consistency testing method provided in this application offers an objective and quantifiable consistency evaluation method by calculating the transfer function, amplitude-frequency response, and phase-frequency response of the microphone under test relative to a reference microphone. This method can identify subtle consistency deviations (such as phase drift) that cannot be detected by absolute performance testing alone from a more comprehensive performance perspective. This ensures that the evaluation results are closer to the needs of actual application scenarios and allows for statistical analysis of performance deviations among a batch of microphones (e.g., the consistency distribution of frequency response and phase), rather than relying solely on supplier specifications or individual absolute performance tests. This overcomes the shortcomings of existing technologies in mass production consistency monitoring. Based on this, during the development phase, this application allows design teams to make decisions based on actual consistency data rather than specifications with limited samples, avoiding system performance failures due to microphone performance inconsistencies. During the manufacturing phase, it can supplement production line testing, not only for fault screening but also for consistency level monitoring, thereby reducing later debugging and rework costs. It helps identify design risks in the early stages of product development, optimize microphone selection, and ensure the consistency of batch products at the manufacturing stage, thus improving the performance stability and algorithm efficiency of the final product.

[0071] Please see Figure 7 This is a functional module diagram of a microphone consistency testing device 100 provided in an embodiment of this application.

[0072] In this embodiment, based on the above... Figure 1 Using the same concept as the microphone conformance testing method in the illustrated embodiments, this application also provides a microphone conformance testing apparatus 100, which can be used to perform the above-described microphone conformance testing method. For ease of explanation, the schematic diagram of the microphone conformance testing apparatus 100 embodiment only shows the parts related to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the microphone conformance testing apparatus 100, and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0073] Specifically, the microphone conformance testing device 100 provided in this application embodiment includes a first acquisition module 110, a second acquisition module 120, a calculation module 130, and a testing module 140. The first acquisition module 110 is used to acquire a reference signal sequence and a test signal sequence, wherein the reference signal sequence and the test signal sequence are electrical signals synchronously generated by a reference microphone and a microphone under test in response to the same preset audio test signal, respectively; the second acquisition module 120 is used to acquire the transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the test signal sequence; the calculation module 130 is used to calculate the amplitude frequency response and phase frequency response of the microphone under test relative to the reference microphone based on the transfer function; and the testing module 140 is used to acquire the conformance test result of the microphone under test based on the amplitude frequency response and phase frequency response.

[0074] Combination Figure 2 As shown, the computer device 10 provided in this application embodiment includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as a conformance test program. When the computer program is executed by the processor 12, it implements the conformance test method as described in the above embodiment.

[0075] Figure 2 Only a computer device 10 with memory 11 and processor 12 is shown. It will be understood by those skilled in the art that... Figure 2 The structure shown does not constitute a limitation on the computer device 10 and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0076] In some embodiments of this application, the computer device 10 can be communicatively connected to devices such as desktop computers, laptops, handheld computers, and cloud servers.

[0077] In some embodiments of this application, the computer device 10 can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.

[0078] In some embodiments of this application, the computer device 10 may further include network devices and / or client devices. These network devices include, but are not limited to, a single network server, a server group consisting of multiple network servers, and a cloud server based on cloud computing, consisting of a large number of hosts or network servers.

[0079] In some embodiments of this application, the network where the computer device 10 is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.

[0080] In some embodiments of this application, memory 11 stores multiple computer-readable instructions to implement a conformance testing method, and processor 12 can execute multiple instructions to achieve: acquiring a reference signal sequence and a signal sequence to be tested, wherein the reference signal sequence and the signal sequence to be tested are electrical signals synchronously generated by a reference microphone and a microphone under test in response to the same preset audio test signal, respectively; acquiring a transfer function from the microphone under test to the reference microphone based on the reference signal sequence and the signal sequence to be tested; calculating the amplitude frequency response and phase frequency response of the microphone under test relative to the reference microphone based on the transfer function; and acquiring the conformance test result of the microphone under test based on the amplitude frequency response and phase frequency response.

[0081] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0082] Those skilled in the art will understand that the schematic diagram is merely an example of the computer device 10 and does not constitute a limitation on the computer device 10. The computer device 10 may be a bus topology or a star topology. The computer device 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the computer device 10 may also include input / output devices, network access devices, etc.

[0083] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 2 The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to implement communication between memory 11 and at least one processor 12, etc.

[0084] It should be noted that computer equipment 10 is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.

[0085] In some embodiments of this application, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits packaged with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 12 is the control unit of the computer device 10, connecting various components of the computer device 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a conformance test program) and calls data stored in the memory 11 to perform various functions of the computer device 10 and process data.

[0086] Processor 12 executes the operating system of computer device 10 and various installed applications. Processor 12 executes applications to implement the steps in each of the above-described embodiments of a conformance testing method, for example... Figure 1 The steps are shown.

[0087] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units may be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in computer device 10.

[0088] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. The software functional module stored in the storage medium includes several instructions to cause a computer device 10 (which may be a personal computer, computer device 10, or network device, etc.) or processor to execute a portion of a conformance testing method according to various embodiments of this application.

[0089] If the modules / units integrated in the computer device 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above.

[0090] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory, and other types of memory.

[0091] This application also provides a computer-readable storage medium (not shown), which stores computer-readable instructions that are executed by a processor in a computer device 10 to implement a conformance testing method of any of the above embodiments.

[0092] Specifically, computer-readable storage media can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memories (e.g., SD memory, DX memory, etc.), magnetic storage, magnetic disks, optical disks, etc. In some embodiments, memory 11 can be an internal storage unit of computer device 10, such as a portable hard drive of computer device 10. In other embodiments, memory 11 can also be an external storage device of computer device 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on computer device 10. Memory 11 can be used not only to store application software and various types of data installed on computer device 10, such as the code of a conformance test program, but also to temporarily store data that has been output or will be output.

[0093] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, an application program required for at least one function, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.

[0094] In the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, "multiple" means two or more.

[0095] In the embodiments of this application, it should be noted that, unless otherwise expressly specified and limited, the word "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the word "for example" is intended to present the relevant concepts in a specific manner.

[0096] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows for communication; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0097] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more features.

[0098] In the description of this application, it should be noted that, unless otherwise explicitly specified and limited, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.

[0099] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if a method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if a method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.

[0100] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.

[0101] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0102] In the various embodiments of this application, the functional modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0103] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.

Claims

1. A method of a consistency test applied to a microphone, characterized by, The method comprises: obtaining a reference signal sequence and a to-be-tested signal sequence, the reference signal sequence and the to-be-tested signal sequence being electrical signals synchronously generated by a reference microphone and a to-be-tested microphone in response to a same preset audio test signal; obtaining a transfer function of the to-be-tested microphone to the reference microphone according to the reference signal sequence and the to-be-tested signal sequence; calculating an amplitude-frequency response and a phase-frequency response of the to-be-tested microphone relative to the reference microphone based on the transfer function; obtaining a consistency test result of the to-be-tested microphone according to the amplitude-frequency response and the phase-frequency response.

2. The method of claim 1, wherein, The obtaining of the transfer function of the to-be-tested microphone to the reference microphone according to the reference signal sequence and the to-be-tested signal sequence comprises: obtaining a self-power spectrum of the reference microphone according to the reference signal sequence; obtaining a cross-power spectrum between the to-be-tested microphone and the reference microphone according to the reference signal sequence and the to-be-tested signal sequence; obtaining the transfer function of the to-be-tested microphone to the reference microphone according to the self-power spectrum and the cross-power spectrum.

3. The method of claim 2, wherein the consistency test is performed by: The obtaining of the self-power spectrum of the reference microphone according to the reference signal sequence comprises: obtaining a self-correlation sequence of the reference microphone according to the reference signal sequence; performing Fourier transformation on the self-correlation sequence to obtain the self-power spectrum.

4. The method of claim 3, wherein the consistency test is performed by the consistency test module. The calculation formula used for the obtaining of the self-correlation sequence of the reference microphone according to the reference signal sequence is: ; wherein is the reference signal sequence, is a time index representing the th sample point, is a lag time representing the varying parameter, is an autocorrelation sequence at the lag time .

5. The method of claim 4, wherein the consistency test is performed by a consistency test program. The obtaining of the cross-power spectrum between the to-be-tested microphone and the reference microphone according to the reference signal sequence and the to-be-tested signal sequence comprises: obtaining a cross-correlation sequence between the to-be-tested microphone and the reference microphone according to the reference signal sequence and the to-be-tested signal sequence; performing Fourier transformation on the cross-correlation sequence to obtain the cross-power spectrum.

6. The method of claim 5, wherein the consistency test is performed by: The calculation formula used for the obtaining of the cross-correlation sequence between the to-be-tested microphone and the reference microphone according to the reference signal sequence and the to-be-tested signal sequence is: ; wherein, is the cross-correlation sequence of the signal sequence to be measured, at a lag time of τ.

7. The method of claim 6, wherein the consistency test is performed by a consistency test program. The calculation formula corresponding to the transfer function is: ; wherein is the angular frequency, is the self-power spectrum, is the cross-power spectrum, is a complex number, each angular frequency has a real part and an imaginary part .

8. A consistency testing apparatus applied to a microphone, characterized in that, The device comprises: a first obtaining module, configured to obtain a reference signal sequence and a to-be-tested signal sequence, the reference signal sequence and the to-be-tested signal sequence being electrical signals synchronously generated by a reference microphone and a to-be-tested microphone in response to a same preset audio test signal; a second obtaining module, configured to obtain a transfer function of the to-be-tested microphone to the reference microphone according to the reference signal sequence and the to-be-tested signal sequence; a calculation module, configured to calculate an amplitude-frequency response and a phase-frequency response of the to-be-tested microphone relative to the reference microphone based on the transfer function; a test module, configured to obtain a consistency test result of the to-be-tested microphone according to the amplitude-frequency response and the phase-frequency response.

9. A conformance testing system applied to a microphone, characterized by, The system comprises: a test data acquisition mechanism, configured to play a preset audio test signal and synchronously acquire a reference signal sequence and a to-be-tested signal sequence generated by a reference microphone and a to-be-tested microphone respectively under excitation of the preset audio test signal; A computer device, which is in communication connection with the test data collection mechanism, is configured to execute the consistency test method according to any one of claims 1 to 7.

10. A computer device, comprising: The computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program, when executed by the processor, implements the consistency test method according to any one of claims 1 to 7.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program, when executed by the processor, implements the consistency test method according to any one of claims 1 to 7.