Electroacoustic transducer production test calibration method, equipment, test system and storage medium
By calculating the electroacoustic characteristics of the electroacoustic transducer and matching customized calibration parameters, the problem that the current medium-domain equalizer cannot be accurately matched is solved, and the yield of electroacoustic transducer detection is improved.
Patent Information
- Application Number
- CN202110870056.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-29
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-07-29
AI Technical Summary
In the existing electroacoustic transducer detection methods, the frequency domain equalizer cannot accurately match the electrical characteristic tolerances and assembly tolerances of each electroacoustic transducer, resulting in low product yields.
Through the test signal of the test equipment and the interactive signal of the electroacoustic transducer, the electroacoustic characteristics of the electroacoustic transducer are calculated, and the customized calibration parameters are matched according to their differences, and configured into the frequency domain equalizer.
Customized frequency domain equalizer parameter matching for each electroacoustic transducer is achieved, which improves the consistency of quality indicators between different electroacoustic transducers, thereby improving the detection yield.
Smart Images

Figure CN114900781B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of production testing technology, and in particular to a production testing calibration method, equipment, test system and storage medium for an electroacoustic transducer. Background Art
[0002] Electroacoustic transducers are transducers that convert electrical signals into acoustic signals. Electroacoustic transducers include headphones, speakers, etc. Electroacoustic transducers are generally tested before leaving the factory, and the production test of frequency response indicators (also known as frequency response curves) is one of the core test items.
[0003] After the electroacoustic transducer is assembled, it is placed in a professional testing device for testing to check whether it meets the factory standards. The specific method is to place the electroacoustic transducer in the artificial ear of the test equipment, establish a communication connection between the test equipment and the electroacoustic transducer, and complete the transmission of data and commands; during the test, the electroacoustic transducer plays the test signal; the artificial ear microphone picks up the sound signal played by the built-in speaker of the electroacoustic transducer and converts it into an electrical signal, which is sent to the tester. The tester analyzes the signal picked up by the artificial ear, calculates the frequency response curve of the electroacoustic transducer, and selects a more suitable set of parameters from multiple sets of preset frequency domain equalizer parameters (i.e., EQ parameters) according to the test results. Configure the built-in frequency domain equalizer of the electroacoustic transducer until the frequency response curve meets the factory standards or exhausts all preset frequency domain equalizer parameters and still cannot pass the production test standards and is judged as a defective product.
[0004] At present, the existing scheme cannot accurately match the EQ parameters according to the electrical characteristic tolerances of the components of each electroacoustic transducer (such as the frequency response curve tolerance of the built-in microphone of the electroacoustic transducer, the frequency response curve tolerance of the speaker unit of the electroacoustic transducer) and the assembly tolerance (the tolerance of the dispensing amount, the sealing tolerance of the front and rear cavities of the electroacoustic transducer, etc.). Instead, a public EQ parameter of the EQ filter is given according to a typical electroacoustic characteristic of the electroacoustic transducer. Therefore, the frequency domain equalizer of the electroacoustic transducer lacks a method to accurately match the EQ parameters due to specific circumstances such as differences in components and individual differences in assembly, resulting in the problem of low product yield in the existing electroacoustic transducer testing.
[0005] It can be seen that the existing detection methods of electroacoustic transducers all have the problem of low product yield. Summary of the invention
[0006] The embodiments of the present application provide an electroacoustic transducer production test calibration method, equipment, test system and storage medium, aiming to solve the problem of low product yield of electroacoustic transducers in existing detection methods.
[0007] The embodiment of the present application provides an electroacoustic transducer production test calibration method, which is applied to an electroacoustic transducer test system, wherein the electroacoustic transducer test system comprises: a test device for testing an electroacoustic transducer, wherein the test device is communicatively connected to the electroacoustic transducer, and the electroacoustic transducer comprises a frequency domain equalizer. The electroacoustic transducer production test calibration method comprises:
[0008] Controlling the test device to send a test signal to the electroacoustic transducer;
[0009] Calculating calibration parameters of the electroacoustic transducer based on the test signal and an interaction signal between the electroacoustic transducer and the test device;
[0010] sending the calibration parameters to the electroacoustic transducer;
[0011] The electroacoustic transducer is controlled to configure the calibration parameters to the frequency domain equalizer, and the test equipment is controlled to test the configured electroacoustic transducer.
[0012] An embodiment of the present application also provides an electroacoustic transducer production test and calibration device, which includes a processor, an asynchronous resampling module connected to the processor, a first communication contact connected to the processor, a memory electrically connected to the processor, and an electroacoustic transducer production test and calibration program stored in the memory and executable on the processor; the processor also includes a first Bluetooth communication module for wireless communication, and when the electroacoustic transducer production test and calibration program is executed by the processor, the steps of the electroacoustic transducer production test and calibration method as described above are implemented.
[0013] An embodiment of the present application also provides an electroacoustic transducer testing system, which includes a testing device for testing an electroacoustic transducer, and the electroacoustic transducer production test and calibration device; the testing device is communicatively connected to the electroacoustic transducer, and the electroacoustic transducer includes a second communication contact for communicating with the first communication contact, a frequency domain equalizer, and a second Bluetooth communication module for wirelessly communicating with the electroacoustic transducer production test and calibration device.
[0014] An embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the electroacoustic transducer production test and calibration method as described.
[0015] Compared with the existing detection method, a public version parameter of the frequency domain equalizer of the electroacoustic transducer is given according to a typical electroacoustic characteristic of the electroacoustic transducer, so that the electroacoustic transducer lacks a method for accurately matching the frequency domain equalizer parameters due to specific circumstances such as component differences and individual differences in assembly, resulting in low product yield of the existing electroacoustic transducer in the test. This application first calculates the electroacoustic characteristics of the electroacoustic transducer according to the test signal of the test equipment and the interactive signal of the electroacoustic transducer, and configures the customized calibration parameters that match the difference in the electroacoustic characteristics of the electroacoustic transducer (i.e., component tolerance, transducer tolerance, and assembly tolerance) to the electroacoustic transducer. Thus, calibration compensation can be carried out in a targeted manner for each electroacoustic transducer, that is, the calibration parameters are accurately matched according to the specific circumstances of the component tolerance, transducer tolerance, and assembly tolerance of the electroacoustic transducer, and the customization of the frequency domain equalizer of each electroacoustic transducer is realized, so as to realize the improvement of the consistency of quality indicators between different electroacoustic transducers, thereby improving the yield of electroacoustic transducer detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic structural diagram showing an embodiment of a conventional electroacoustic transducer testing system;
[0017] Figure 2 A hardware framework diagram of an embodiment of the electroacoustic transducer production test and calibration device of the present application;
[0018] Figure 3 A flowchart of an embodiment of the electroacoustic transducer production test and calibration method of the present application;
[0019] Figure 4 A schematic structural diagram of an embodiment of an electroacoustic transducer testing system for headphones to be tested including a frequency domain equalizer of the present application;
[0020] Figure 5 This is a synchronous processing schematic diagram of an embodiment of step S2121 of the present application;
[0021] Figure 6 This is a schematic diagram of synchronization processing of an embodiment of step S2122 of the present application;
[0022] Figure 7 A flowchart of an embodiment of an electroacoustic transducer testing system for noise cancelling headphones including a frequency domain equalizer of the present application;
[0023] Figure 8 A flow chart of an embodiment of an electroacoustic transducer testing system for a sound box to be tested including a frequency domain equalizer of the present application;
[0024] Fig. 9 Schematic diagram of a module of an embodiment of the electroacoustic transducer production test and calibration device of the present application. DETAILED DESCRIPTION
[0025] In order to better understand the above technical solution, the exemplary embodiments disclosed in the present invention will be described in more detail with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0026] Please refer to Figure 1 , Figure 1 A schematic diagram showing the structure of an existing test device for testing an electroacoustic transducer.
[0027] The test device includes a test device body 110 and an artificial ear 130 electrically connected to the test device body 110 . The artificial ear 130 is used to pick up the audio signal emitted by the electroacoustic transducer or the residual noise after the noise is suppressed by the noise suppressing earphone. The artificial ear 130 is provided with a test microphone 131 .
[0028] The existing electroacoustic transducer testing method is as follows:
[0029] 1. Design one or more sets of frequency domain equalizer parameters (also called EQ parameters) according to the cavity acoustic characteristics of the electroacoustic transducer and the electroacoustic characteristics of the circuit; these parameters are called preset frequency domain equalizer parameters.
[0030] 2. After the electroacoustic transducer is assembled, it is placed in a professional testing device for testing to check whether it meets the factory standards. The specific method is to place the electroacoustic transducer in the artificial ear of the test equipment, and the test equipment and the electroacoustic transducer are connected through Bluetooth signals to complete the transmission of data and commands; during the test, the electroacoustic transducer plays the test signal (excitation signal); the artificial ear microphone picks up the sound signal played by the built-in speaker of the headset and converts it into an electrical signal, which is sent to the tester. The tester analyzes the signal picked up by the artificial ear, calculates the frequency response curve of the electroacoustic transducer, and selects a more suitable set of parameters from multiple sets of preset EQ parameters according to the test results. Configure it to the built-in frequency domain equalizer of the electroacoustic transducer until the frequency response curve meets the factory standards or all preset EQ parameters are exhausted and still cannot meet the factory standards and are judged as unqualified products.
[0031] At present, the existing solutions cannot accurately match the EQ parameters according to the electrical characteristic tolerances of the components of each electroacoustic transducer (such as the frequency response curve tolerance of the built-in microphone of the electroacoustic transducer, the frequency response curve tolerance of the speaker unit of the electroacoustic transducer) and assembly tolerances (tolerance of the amount of glue dispensed, tolerance of the sealing of the front and rear cavities of the earphone, etc.). Instead, a public EQ parameter of the frequency domain equalizer is given according to a typical electroacoustic characteristic of the electroacoustic transducer. As a result, there is a lack of an accurate matching method for the electroacoustic transducer due to differences in components, individual differences in assembly, and other specific circumstances, resulting in the problem of low product yield in existing electroacoustic transducers.
[0032] In view of this, the present application proposes an electroacoustic transducer production test calibration method, equipment, test system and storage medium, aiming to solve the problem of low product yield of electroacoustic transducers in existing detection methods.
[0033] Please refer to Figure 2 , the following introduces an electroacoustic transducer production test and calibration device, which may include: a processor 1001, such as a central processing unit (CPU), and the processor 1001 may also be other general-purpose processors, such as: a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), other programmable logic devices, etc. Memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include an input unit such as a keyboard (Keyboard), and the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0034] The processor also includes a first Bluetooth communication module for wireless communication. The first Bluetooth communication module is used to receive the interaction signal between the electroacoustic transducer and the test device via Bluetooth. It should be noted that the first Bluetooth communication module can use various Bluetooth communication modules on the market, and the Bluetooth communication module is composed of a wireless transceiver (RF), a baseband controller (BB) and a link management layer (LMP) of a Bluetooth protocol stack.
[0035] The electroacoustic transducer production test and calibration device also includes an asynchronous resampling module 1006 connected to the processor and a first communication contact 1007 connected to the processor. The asynchronous resampling module 1006 is used to synchronously process the interactive signal picked up from the electroacoustic transducer (such as the response signal of the electroacoustic transducer in response to the test signal of the test device) and the test signal of the test device. This lays the foundation for calculating the calibration parameters of the electroacoustic transducer. The first communication contact 1007 is used to electrically connect to the communication contact on the electroacoustic transducer, and is used to pick up the interactive signal from the electroacoustic transducer, or send the calculated calibration parameters to the corresponding device of the electroacoustic transducer (such as a frequency domain equalizer).
[0036] It should be noted that the first communication contact 1007 can be a metal contact. The metal contact corresponds to the original charging contact of the electroacoustic transducer or the dedicated metal contact for communication added to the electroacoustic transducer for electrical connection to perform data communication. It should be understood that the first communication contact can also be other components that can achieve communication connection, such as various metal screws that can perform data communication, the metal shell of the earphone, and other metal connectors on the earphone shell.
[0037] Those skilled in the art will understand that Figure 2 The structure of the electro-acoustic transducer production test and calibration equipment shown in the figure does not constitute a limitation of the electro-acoustic transducer production test and calibration equipment, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0038] like Figure 2 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an electroacoustic transducer production test and calibration program. The operating system is a program for managing and controlling the hardware and software resources of the electroacoustic transducer production test and calibration equipment, and supports the operation of the electroacoustic transducer production test and calibration program and other software or programs.
[0039] exist Figure 2 In the electroacoustic transducer production test and calibration device shown, the network interface 1004 is mainly used for the background server to communicate data with the background server; the processor 1001 can be used to call the electroacoustic transducer production test and calibration program stored in the memory 1005 and execute the steps of the electroacoustic transducer production test and calibration method as described above.
[0040] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0041] Controlling the test device to send a test signal to the electroacoustic transducer;
[0042] Calculating calibration parameters of the electroacoustic transducer based on the test signal and an interaction signal between the electroacoustic transducer and the test device;
[0043] sending the calibration parameters to the electroacoustic transducer;
[0044] The electroacoustic transducer is controlled to configure the calibration parameters to the frequency domain equalizer, and the test equipment is controlled to test the configured electroacoustic transducer.
[0045] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0046] The frequency range of the test signal is 20 Hz to 20000 Hz; the step of calculating the calibration parameters of the electroacoustic transducer based on the test signal and the interaction signal between the electroacoustic transducer and the test device comprises:
[0047] A response signal generated by the electroacoustic transducer in response to the test signal is obtained, and calibration parameters of a frequency domain equalizer of the electroacoustic transducer are calculated according to the response signal and a preset target calibration function.
[0048] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0049] The step of obtaining a response signal generated by the electroacoustic transducer in response to the test signal, and calculating calibration parameters of a frequency domain equalizer of the electroacoustic transducer according to the response signal and a preset target calibration function comprises:
[0050] Acquire a response signal generated by the test microphone in response to the test signal;
[0051] If the response signal and the test signal are in an asynchronous relationship, the test signal and the response signal are synchronously processed;
[0052] Calculating a transfer function of the test path based on the synchronously processed test signal and the response signal;
[0053] The calibration parameters of the frequency domain equalizer are calculated according to the transfer function and the preset target calibration function.
[0054] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0055] The synchronously processing the test signal and the response signal comprises:
[0056] When the test device is connected to the electroacoustic transducer via Bluetooth, the response signal is synchronized to the clock domain of the test signal by asynchronous resampling; or
[0057] When the test device is connected to the electroacoustic transducer via a communication contact, the response signal and the clock signal are transmitted via the communication contact to achieve synchronization of the test signal and the response signal.
[0058] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0059] The test signal includes any one of white noise, random noise, pink noise and environmental noise.
[0060] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0061] The frequency range of the test signal is 50 Hz to 10000 Hz.
[0062] In one embodiment, the processor 1001 may be used to call the electroacoustic transducer production test calibration program stored in the memory 1005, and execute the method including:
[0063] The test signal includes a frequency spectrum in the frequency range of 200 Hz to 2000 Hz.
[0064] This application first calculates the electroacoustic characteristics of the electroacoustic transducer based on the test signal of the test equipment and the interactive signal of the electroacoustic transducer, and configures the customized calibration parameters that match the differences in the electroacoustic characteristics of the electroacoustic transducer (i.e., component tolerance, transducer tolerance, and assembly tolerance) to the electroacoustic transducer. Thus, targeted calibration compensation can be performed for each electroacoustic transducer, that is, the calibration parameters are accurately matched according to the specific conditions of the component tolerance, transducer tolerance, and assembly tolerance of the electroacoustic transducer, and the frequency domain equalizer of each electroacoustic transducer is customized to improve the consistency of quality indicators between different electroacoustic transducers, thereby improving the yield of electroacoustic transducer detection.
[0065] Please refer to Figure 3 Based on the above electroacoustic transducer production test and calibration equipment hardware architecture, the following is an embodiment of the electroacoustic transducer production test and calibration method of the present application, and the electroacoustic transducer production test and calibration method includes the following steps:
[0066] The electroacoustic transducer of this embodiment takes earphone as an example, please refer to Figure 4The headset 10 to be tested includes a built-in speaker 210 and a frequency domain equalizer 30, and the test device includes a test microphone 131. The built-in speaker 210 and the test microphone 131 form a test path. The headset to be tested also includes a transducer component 310 electrically connected between the frequency domain equalizer 30 and the built-in speaker 210. Figure 4 The reference numeral 310 indicates a transducer assembly composed of an analog-to-digital converter and an amplifier. The test device includes a test device body 110, an artificial ear 130 electrically connected to the test device body 110, and the artificial ear 130 is used to pick up the audio signal emitted by the earphone. A test microphone 131 is provided in the artificial ear 130.
[0067] S100, controlling the test device to send a test signal to the electroacoustic transducer;
[0068] The electroacoustic transducer production test and calibration device controls the test device to send a test signal to the earphone to be tested. For example, the electroacoustic transducer production test and calibration device controls the test device to send the test signal (excitation signal) to the built-in test path of the earphone via Bluetooth, and drives the built-in speaker of the earphone to convert the electrical signal into the acoustic signal.
[0069] It is worth mentioning that the test signal (i.e., excitation signal) of this embodiment can be any of various preset excitation signals, such as white noise, random noise, pink noise, and environmental noise. Environmental noise refers to the sound that interferes with the surrounding living environment generated in industrial production, construction, transportation, and social life, such as airport noise, subway noise, etc.
[0070] Specifically, the white noise also includes a test signal generated by a PRBS (Pseudo-Random Binary Sequence, ie, a pseudo-random code) method, or a signal obtained by filtering a noise signal generated by a PRBS.
[0071] It should be noted that the frequency range of the test signal in the present embodiment is a test signal including a continuous spectrum of 20 Hz to 20000 Hz, rather than a single-frequency or multi-tone test signal or a swept frequency signal composed of multiple single-frequency signals. In some embodiments, the test signal includes a continuous spectrum in the frequency range of 50 Hz to 10000 Hz. In a preferred embodiment, the test signal includes a continuous spectrum in the frequency range of 200 Hz to 2000 Hz. The test signal of the present embodiment, from the frequency spectrum, at least includes a continuous spectrum of 200 Hz to 2000 Hz, rather than a single-frequency swept frequency signal.
[0072] In some feasible embodiments, step S200, calculating the calibration parameters of the electroacoustic transducer based on the test signal and the interaction signal between the electroacoustic transducer and the test device, includes:
[0073] Step S210, obtaining a response signal generated by the electroacoustic transducer in response to the test signal, and calculating calibration parameters of the frequency domain equalizer 30 of the electroacoustic transducer according to the response signal and a preset target calibration function;
[0074] The electroacoustic transducer production test calibration device calculates the calibration parameters of the headphone under test according to the response signal (ie, the excitation signal) and the interaction signal between the headphone under test and the test device, wherein the calibration parameters are calibration parameters adjusted for the frequency domain equalizer 30 .
[0075] In some feasible embodiments, step S210 includes:
[0076] Step S211, obtaining a response signal generated by the test microphone in response to the test signal;
[0077] The electroacoustic transducer production test calibration equipment obtains the response signal generated by the test microphone in response to the test signal. After the test signal enters the headphone to be tested, it is filtered by the frequency domain equalizer 30, converted into an analog signal by the digital-to-analog converter, and the analog signal is transmitted to the test microphone through the built-in speaker, and the test microphone picks up the response signal.
[0078] It is worth mentioning that in some feasible embodiments, the electroacoustic transducer production test calibration device and the headset under test can obtain the response signal through Bluetooth connection. In some other feasible embodiments, the electroacoustic transducer production test calibration device obtains the response signal by connecting with the communication contacts on the headset under test.
[0079] The communication contacts in the headset under test include charging contacts or reserved dedicated data and clock transmission contacts. Data and clock transmission can be completed through the charging contacts or the dedicated data and clock transmission contacts. Data transmission is bidirectional, and clock transmission is unidirectional. The response signal inside the headset under test can be transmitted to the electroacoustic transducer production test and calibration equipment through the charging contacts or the reserved dedicated contacts, laying the foundation for calculating the calibration parameters of the electroacoustic transducer. The test equipment is provided with communication contacts corresponding to the communication contacts on the headset under test.
[0080] It should be noted that the communication contact may be a metal contact on the headset to be tested. The metal contact may be the original charging contact of the headset to be tested or a dedicated contact added to the headset to be tested for communication. It should be understood that the communication contact may also be other components on the headset to be tested that can achieve communication connection, such as the metal shell of the headset.
[0081] Step S212: If the response signal and the test signal are in an asynchronous relationship, the test signal and the response signal are synchronously processed;
[0082] After acquiring the response signal, the electroacoustic transducer production test and calibration device synchronously processes the test signal and the response signal if the response signal and the test signal are in an asynchronous relationship.
[0083] It should be noted that if the response signal and the test signal are in an asynchronous relationship, then synchronously processing the test signal and the response signal is a prerequisite for calculating the calibration parameters of the headphone to be tested.
[0084] In some feasible embodiments, step S212 specifically includes:
[0085] Step S2121: When the test device is connected to the electroacoustic transducer via Bluetooth, the response signal is synchronized to the clock domain of the test signal by asynchronous resampling;
[0086] Please refer to Figure 5 The electroacoustic transducer production test and calibration device also includes an asynchronous resampling (ASRC) module 1006, which synchronizes the response signal collected by the test microphone to the clock domain of the test signal of the test device. The response signal and the test signal are synchronized, laying a foundation for calculating the calibration parameters of the headphones to be tested.
[0087] Alternatively, in some other feasible embodiments, please refer to Figure 6 , step S2122, when the test device is connected to the electroacoustic transducer through the communication contact, the response signal and the clock signal are transmitted through the communication contact to achieve synchronization of the test signal and the response signal.
[0088] The communication contacts in the headset to be tested include charging contacts or reserved dedicated data and clock transmission contacts, and data and clock transmission can be completed through the charging contacts or the dedicated data and clock transmission contacts. Data transmission is bidirectional, and clock transmission is unidirectional. The response signal of the internal test path of the headset to be tested can be transmitted to the electroacoustic transducer production test and calibration equipment through the charging contacts or the reserved dedicated contacts, so as to synchronize the test signal and the response signal, and lay the foundation for calculating the calibration parameters of the headset to be tested. The test equipment is provided with communication contacts corresponding to the communication contacts on the headset to be tested.
[0089] It should be noted that the communication contact may be a metal contact on the headset to be tested. The metal contact may be the original charging contact of the headset to be tested or a dedicated contact added to the headset to be tested for communication. It should be understood that the communication contact may also be other components on the headset to be tested that can achieve communication connection, such as the metal shell of the headset, metal screws on the shell, or other conductive metal parts on the headset shell.
[0090] Step S213, calculating the transfer function of the test path based on the test signal and the response signal after synchronization processing;
[0091] After acquiring the response signal, the electroacoustic transducer production test and calibration equipment calculates the transfer function of the test path based on the test signal and the response signal.
[0092] In some possible embodiments, please refer to Figure 4 , Figure 4 : represents a simplified schematic diagram of the structure of the headphones to be tested, x represents the test signal (i.e., the excitation signal) emitted by the test equipment, and y represents the response signal collected by the test microphone of the test equipment. It should be noted that the headphones to be tested here can be noise-canceling headphones or ordinary headphones without noise-canceling function.
[0093] In one possible embodiment, the transfer function of the test path is calculated by the following formula 1-1:
[0094] H1=FFT(x) / FFT(y), formula 1-1.
[0095] Where H1 represents the transfer function of the test path, FFT represents fast Fourier transform, IFFT represents inverse fast Fourier transform, x represents the test signal (i.e., excitation signal) emitted by the test device, and y represents the response signal collected by the test microphone of the test device. The transfer function of the test path inside the headphone to be tested is calculated by the calculation formula H1=FFT(x) / FFT(y).
[0096] Step S214: Calculate calibration parameters of the frequency domain equalizer 30 according to the transfer function and the preset target calibration function.
[0097] After calculating the transfer function, the electroacoustic transducer production test and calibration device calculates the calibration parameters of the frequency domain equalizer 30 according to the transfer function and the preset target calibration function.
[0098] Please refer to Figure 4 , Hd represents the preset target calibration function, that is, Hd=HE·H1, formula 1-2.
[0099] Thus, formula 1-2 can be obtained, HE = Hd / H1, formula 1-3. Further, we can get:
[0100] HE=f(Hd,HE), formula 1-3.
[0101] Among them, Hd can be either a normal frequency response system function or a sound effect system function with special requirements; HE represents the transfer function of the frequency domain equalizer 30 built into the headphone to be tested after calibration by the present invention. HE is calculated based on the transfer function H1 of the test path (electroacoustic characteristics of the electroacoustic transducer) and the preset target calibration function. For each headphone to be tested, each headphone to be tested has different degrees of assembly tolerance and material tolerance, and the transfer function H1 of its test path always has a certain degree of discreteness; through formulas 1-3, we can calibrate the calibration parameters (EQ parameters) of each headphone to be tested according to its electroacoustic characteristics.
[0102] Further, after obtaining the transfer function of the frequency domain equalizer 30 built into the headset to be tested, specific calibration parameters (i.e., EQ parameters) are adapted for the frequency domain equalizer 30 according to the resource settings of the frequency domain equalizer 30 (or EQ filter), such as how many biquad filters each filter group is composed of, the gain range supported by each biquad filter, whether the gain can be configured in segments, and other characteristics. The specific adaptation technology itself is a well-known technology well known to those skilled in the art and is not intended to be a limitation of the present invention.
[0103] It should be understood that this embodiment is only an example, and the hardware structure of the frequency domain equalizer 30 cannot be used as a condition to limit the present invention; different hardware implementations only differ in the method of adapting HE to specific hardware, but the method of calculating HE is the same.
[0104] Step S300, sending the calibration parameters of the frequency domain equalizer 30 to the electroacoustic transducer;
[0105] The electroacoustic transducer production test and calibration device sends the calculated calibration parameters to the earphone to be tested through a Bluetooth channel or a communication contact on the earphone to be tested. The earphone to be tested is tested by the device to be tested.
[0106] Step S400: Control the electroacoustic transducer to configure the calibration parameters to the frequency domain equalizer 30, and control the test equipment to test the configured electroacoustic transducer.
[0107] The electroacoustic transducer production test and calibration equipment controls the earphone to be tested to configure the calibration parameters of the frequency domain equalizer 30 to the frequency domain equalizer 30, and controls the test equipment to test the configured earphone to be tested.
[0108] It should be noted that the electroacoustic transducer production test and calibration equipment can control the artificial ear of the test equipment to judge the residual noise picked up, and determine whether the frequency response curve meets expectations based on this.
[0109] By calculating the transfer function H1 of the test path, the EQ parameters of the frequency domain equalizer 30 can be calculated according to the transfer function H1 and the preset target calibration function Hd. It can be seen from the implementation process that when calibrating the frequency domain equalizer 30, the third sub-transfer function H1 that characterizes the electroacoustic characteristics of each headphone to be tested has been comprehensively considered in this embodiment, so when calibrating the frequency domain equalizer 30, the EQ parameters of the frequency domain equalizer 30 will be compensated according to the difference of the transfer function H1 of the test path, so as to achieve the purpose of automatically calibrating the frequency domain equalizer 30 of each headphone.
[0110] It should be noted that the method for automatically calibrating the frequency domain equalizer 30 of the headphone to be tested in this embodiment can be used for ordinary headphones or noise cancelling headphones (including feedback noise cancelling headphones, feedforward noise cancelling headphones and hybrid noise cancelling headphones).
[0111] Please refer to Figure 7 , Figure 7 A schematic diagram showing automatic calibration of the frequency domain equalizer 30 of the noise cancelling headphone. Figure 7 The electro-acoustic transducer may also be a noise cancelling earphone 40 (including feedback noise cancelling earphone, feedforward noise cancelling earphone and hybrid noise cancelling earphone), taking feedback noise cancelling earphone as an example. The feedback noise cancelling earphone comprises a built-in speaker 210 and a feedback microphone 211, the noise cancelling filter is a feedback noise cancelling filter FB, the built-in speaker 210, the feedback noise cancelling filter FB and the feedback microphone 211 are electrically connected in sequence to form a feedback path, and the built-in speaker 210 and the test microphone 131 form a test path.
[0112] in addition, Figure 7 Where x represents the test signal (i.e., the excitation signal) emitted by the test device, and y represents the response signal collected by the test microphone of the test device. H1 represents the transfer function of the test path. Hd represents the preset target calibration function. HE represents the transfer function of the frequency domain equalizer 30 built into the noise suppression headset after calibration by the present invention. HE is calculated based on the transfer function H1 (electroacoustic characteristics of the electroacoustic transducer) of the test path and the preset target calibration function.
[0113] It should be noted that, for noise suppression headphones, the test microphone may also be the built-in feedback microphone 211 of the headphones. In formula 1-1, the corresponding y is the signal picked up by the feedback microphone 211.
[0114] The method for automatically calibrating the frequency domain equalizer 30 of the noise cancelling headphone may refer to the above steps S100 to S400, which will not be described in detail herein.
[0115] This embodiment calibrates the frequency domain equalizer 30 of the electroacoustic transducer. First, the test device is controlled to send a test signal to the electroacoustic transducer (i.e., the earphone to be tested), and the calibration parameters of the electroacoustic transducer are calculated based on the test signal and the interaction signal between the electroacoustic transducer and the test device. The calibration parameters are sent to the electroacoustic transducer; the electroacoustic transducer is controlled to configure the calibration parameters to the frequency domain equalizer 30, and the test device is controlled to test the configured electroacoustic transducer.
[0116] Therefore, this embodiment tests and calculates the electroacoustic characteristics of the electroacoustic transducer according to the test signal of the test equipment and the interactive signal of the electroacoustic transducer, and configures the customized calibration parameters that match the difference of the electroacoustic characteristics of the electroacoustic transducer (i.e., component tolerance, transducer tolerance, and assembly tolerance) to the frequency domain equalizer 30. Therefore, targeted calibration compensation can be performed for each electroacoustic transducer, that is, the calibration parameters are accurately matched according to the specific conditions of the component tolerance, transducer tolerance, and assembly tolerance of the electroacoustic transducer, and the EQ parameters of the frequency domain equalizer 30 of each electroacoustic transducer are customized to improve the consistency of the frequency response indicators between different electroacoustic transducers, thereby improving the yield of electroacoustic transducer detection.
[0117] Embodiment 2
[0118] Based on the same inventive concept as that of the first embodiment, the present application proposes a second embodiment, which differs from the first embodiment in that:
[0119] The electroacoustic transducer in this embodiment takes a speaker as an example, please refer to Figure 8 The speaker box 50 to be tested includes a built-in speaker 210 and a frequency domain equalizer 30, and the test device includes a test microphone 131. The built-in speaker 210 and the test microphone 131 form a test path. The speaker box 50 to be tested also includes a transducer component 310 electrically connected between the frequency domain equalizer 30 (i.e., EQ filter) and the built-in speaker 210. Figure 8 The transducer assembly 310 in the middle label represents the transducer assembly composed of an analog-to-digital converter and an amplifier. The test device includes a test device body 110, and an artificial ear 130 is electrically connected to the test device body 110. The artificial ear 130 is used to pick up the audio signal emitted by the earphone. A test microphone 131 is provided in the artificial ear 130. For the speaker 50 to be tested, the first communication contact 1007 on the speaker 50 to be tested can be a metal wire or a metal contact.
[0120] in addition, Figure 8Where x represents the test signal (i.e., the excitation signal) emitted by the test device, and y represents the response signal collected by the test microphone of the test device. H1 represents the transfer function of the test path. Hd represents the preset target calibration function. HE represents the transfer function of the frequency domain equalizer 30 of the speaker 50 to be tested after calibration by the present invention. HE is calculated based on the transfer function H1 (electroacoustic characteristics of the electroacoustic transducer) of the test path and the preset target calibration function.
[0121] The method for automatically calibrating the frequency domain equalizer 30 of the speaker 50 to be tested may refer to step S100 to step S400 of the first embodiment, which will not be described in detail herein.
[0122] Therefore, this embodiment tests and calculates the electroacoustic characteristics of the speaker 50 to be tested according to the test signal of the test equipment and the interactive signal of the speaker 50 to be tested, and configures the customized calibration parameters that match the difference in the electroacoustic characteristics of the speaker 50 to be tested (i.e., component tolerance, transducer tolerance, and assembly tolerance) to the frequency domain equalizer 30. Therefore, targeted calibration compensation can be performed for each speaker 50 to be tested, that is, the calibration parameters are accurately matched according to the specific conditions of the component tolerance, transducer tolerance, and assembly tolerance of the speaker 50 to be tested, and the EQ parameters of the frequency domain equalizer 30 of each speaker 50 to be tested are customized, so as to improve the consistency of the frequency response indicators between different speakers 50 to be tested, thereby improving the yield rate of the detection of the speakers 50 to be tested.
[0123] Please refer to Fig. 9 The present application also proposes an electroacoustic transducer production test and calibration device, including: a first control module 101, a calculation module 102, a sending module 103 and a second control module 104.
[0124] A first control module 101, used for controlling the test device to send a test signal to the electroacoustic transducer;
[0125] A calculation module 102 calculates calibration parameters of the electroacoustic transducer based on the test signal and an interaction signal between the electroacoustic transducer and the test device;
[0126] A sending module 103, used for sending the calibration parameters to the electroacoustic transducer;
[0127] The second control module 104 controls the electroacoustic transducer to configure the calibration parameters to the frequency domain equalizer, and controls the test device to test the configured electroacoustic transducer.
[0128] Among them, the steps implemented by each functional module of the electroacoustic transducer production test and calibration device can refer to the various embodiments of the electroacoustic transducer production test and calibration method of the present application, and will not be repeated here.
[0129] The present application also proposes an electroacoustic transducer test system (not shown), which includes a test device for testing an electroacoustic transducer and the electroacoustic transducer production test and calibration device. The test device is connected to the electroacoustic transducer for communication, and the electroacoustic transducer includes a second communication contact for communicating with the first communication contact, a frequency domain equalizer 30, and a second Bluetooth communication module for wireless communication with the electroacoustic transducer production test and calibration device.
[0130] It is worth mentioning that the electroacoustic transducer is selected from headphones or speakers, or may be other speakers with a frequency domain equalizer 30 .
[0131] The second Bluetooth communication module is used to send the interaction signal between the electroacoustic transducer and the test device via Bluetooth. It should be noted that the second Bluetooth communication module can use various Bluetooth communication modules on the market, and the Bluetooth communication module is composed of a wireless transceiver (RF), a baseband controller (BB) and a link management layer (LMP) of a Bluetooth protocol stack.
[0132] It should be noted that the second communication contact may be a metal contact on the electroacoustic transducer. The metal contact may be the original charging contact of the electroacoustic transducer or a dedicated contact added to the electroacoustic transducer for communication. It should be understood that the second communication contact may also be other components on the electroacoustic transducer that can realize communication connection, such as the metal housing of the electroacoustic transducer.
[0133] The present application also proposes a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the electroacoustic transducer production and measurement calibration method.
[0134] The present invention also proposes a computer program product, including a computer program. When the computer program is executed by a processor, it implements the steps of the electroacoustic transducer production test and calibration method as described above. The various embodiments of the electroacoustic transducer production test and calibration device, computer-readable storage medium and computer program product of the present invention can all refer to the various embodiments of the electroacoustic transducer production test and calibration method of the present invention, and will not be described again here.
[0135] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0136] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0139] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0140] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0141] 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 invention. 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 method for calibrating an electroacoustic transducer, characterized in that: Applied to an electroacoustic transducer test system, the electroacoustic transducer test system comprises: a test device for testing an electroacoustic transducer, the test device is communicatively connected with the electroacoustic transducer, the electroacoustic transducer comprises a frequency domain equalizer, and the electroacoustic transducer production test calibration method comprises: Controlling the test device to send a test signal to the electroacoustic transducer; Calculating calibration parameters of the electroacoustic transducer based on the test signal and an interaction signal between the electroacoustic transducer and the test device; sending the calibration parameters to the electroacoustic transducer; Controlling the electroacoustic transducer to configure the calibration parameters to the frequency domain equalizer, and controlling the test equipment to test the configured electroacoustic transducer; The frequency range of the test signal is a test signal including a spectrum of 20 Hz to 20000 Hz; Acquire a response signal generated by the electroacoustic transducer in response to the test signal, and calculate calibration parameters of a frequency domain equalizer of the electroacoustic transducer according to the response signal and a preset target calibration function; The electroacoustic transducer further comprises a built-in speaker, the test device comprises a test microphone, and the built-in speaker and the test microphone constitute a test path; Acquire a response signal generated by the test microphone in response to the test signal; If the response signal and the test signal are in an asynchronous relationship, the test signal and the response signal are synchronously processed; Calculating a transfer function of the test path based on the synchronously processed test signal and the response signal; The calibration parameters of the frequency domain equalizer are calculated according to the transfer function and the preset target calibration function.
2. The method according to claim 1, characterized in that The synchronously processing the test signal and the response signal comprises: When the test device is connected to the electroacoustic transducer via Bluetooth, the response signal is synchronized to the clock domain of the test signal by asynchronous resampling; or When the test device is connected to the electroacoustic transducer via a communication contact, the response signal and the clock signal are transmitted via the communication contact to achieve synchronization of the test signal and the response signal.
3. The method according to claim 1, characterized in that The test signal includes any one of white noise, random noise, pink noise and environmental noise.
4. The method according to claim 1, characterized in that The test signal includes a frequency spectrum in the frequency range of 50 Hz to 10000 Hz.
5. The method according to claim 4, characterized in that The test signal includes a frequency spectrum in the frequency range of 200 Hz to 2000 Hz.
6. An electroacoustic transducer production test and calibration device, characterized in that: The device includes a processor, an asynchronous resampling module connected to the processor, a first communication contact connected to the processor, a memory electrically connected to the processor, and an electroacoustic transducer production test calibration program stored in the memory and executable on the processor; the processor also includes a first Bluetooth communication module for wireless communication, and when the electroacoustic transducer production test calibration program is executed by the processor, the steps of the electroacoustic transducer production test calibration method as described in any one of claims 1 to 5 are implemented.
7. An electroacoustic transducer testing system, characterized in that: The electroacoustic transducer testing system includes a testing device for testing an electroacoustic transducer, and the electroacoustic transducer production test and calibration device according to claim 6; the testing device is communicatively connected to the electroacoustic transducer, and the electroacoustic transducer includes a second communication contact for communicating with the first communication contact, a frequency domain equalizer, and a second Bluetooth communication module for wirelessly communicating with the electroacoustic transducer production test and calibration device.
8. The electroacoustic transducer testing system according to claim 7, characterized in that: The electroacoustic transducer is selected from earphones or speakers.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the electroacoustic transducer production test and calibration method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and system for automatically correcting filter coefficient, test terminal and storage medium
CN112929807A