A method and apparatus for testing voltage of an electro-acoustic transducer, and an electronic device

By constructing a solution model and accurately solving the theoretical driving signal, the problems of low accuracy and poor safety in the testing of electroacoustic transducers were solved, achieving accurate testing across the entire frequency band and improving the accuracy and reliability of the test.

CN122496766APending Publication Date: 2026-07-31GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GOERTEK INC
Filing Date
2026-07-02
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing displacement testing methods for electroacoustic transducers suffer from low testing accuracy, poor safety, and long testing time. In particular, they are prone to device damage and inaccurate test results under conditions of large displacement and high sound pressure level.

Method used

A solution model is constructed based on the model parameters of the electroacoustic transducer. By accurately solving the discrete frequency points, the dedicated excitation duration, and the theoretical voltage amplitude, a standardized theoretical driving signal adapted to the vibration characteristics of each frequency is generated. The actual displacement signal is then used for closed-loop correction to achieve accurate testing.

Benefits of technology

While ensuring the safety and stability of the devices, accurate testing under uniform displacement conditions across the entire frequency band was achieved, improving the consistency, accuracy and repeatability of test data, and solving the problems of large errors and poor reliability of traditional testing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122496766A_ABST
    Figure CN122496766A_ABST
Patent Text Reader

Abstract

This disclosure provides a voltage testing method, apparatus, and electronic device for an electroacoustic transducer, relating to the field of electroacoustic transducer testing technology. The method includes: acquiring model parameters of the electroacoustic transducer; obtaining a solution model of the electroacoustic transducer based on the model parameters; acquiring multiple discrete frequency points to be tested; acquiring the excitation duration corresponding to each discrete frequency point; for each discrete frequency point, determining, based on the solution model, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching a preset target displacement peak value at that discrete frequency point; generating a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point; acquiring the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal; and correcting the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal. This method can accurately detect the voltage corresponding to the target displacement peak value of the electroacoustic transducer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electroacoustic transducer testing technology, and more specifically, to a voltage testing method, apparatus, and electronic device for an electroacoustic transducer. Background Technology

[0002] In the consumer electronics field, acoustic and haptic feedback are two core human-computer interaction media after image display. Speakers and vibration motors, as the core components for realizing acoustic and haptic feedback respectively, are subject to continuously increasing industry demands for their output performance and operational stability. Generally, increasing the amplitude of the drive signal can effectively improve the device's output performance; however, excessively high drive amplitudes can easily lead to overheating and cause collisions and friction between the diaphragm, oscillator, and housing, resulting in structural damage. Therefore, accurately testing the maximum allowable voltage amplitude corresponding to the device's maximum safe displacement at various frequencies—i.e., maximum displacement equalization voltage testing—is crucial for device performance calibration and safe operating condition testing.

[0003] In related technologies, there are two mainstream methods for testing device displacement and matching voltage. One is the constant voltage sweep frequency displacement monitoring method. This method uses a laser vibrometer or accelerometer to perform a frequency sweep test on the loudspeaker with a constant voltage, collects the actual displacement data corresponding to each frequency point, and calculates the driving voltage required for the device to reach the preset maximum displacement based on the assumption that voltage and displacement are linearly proportional. However, devices exhibit significant nonlinear characteristics under large displacement operating conditions, and the voltage and displacement do not satisfy a strict linear proportional relationship. This results in large calculation errors and low test accuracy under large displacement and high sound pressure level conditions. At the same time, the method of directly applying high voltage excitation is prone to problems such as voice coil bottoming out and device structural damage, resulting in poor test safety.

[0004] Another method is the frequency-point-by-frequency voltage-step displacement monitoring method. This method starts with a very small voltage amplitude at each discrete test frequency point and gradually increases the driving voltage in fixed steps. At each voltage step, the actual displacement of the device is collected until the displacement reaches the preset maximum allowable displacement, and the corresponding voltage value at that state is recorded. While this method offers high single-point testing accuracy, the workload is extremely large. If N test frequency points are set, and each frequency point has M voltage steps, the total number of tests is N×M, significantly increasing the testing time. Furthermore, prolonged and continuous high-voltage excitation can cause severe heating of the voice coil and magnetic circuit system, leading to deviations in core electromechanical parameters such as voice coil resistance and force factor, resulting in displacement test data drift and reduced test accuracy. In addition, long-term continuous excitation can cause mechanical creep in the diaphragm support structure, leading to a shift in the diaphragm's static equilibrium position, further disrupting the displacement test benchmark and severely affecting the accuracy and reliability of the test results. Summary of the Invention

[0005] One objective of this disclosure is to provide a new technical solution for testing the voltage corresponding to the target displacement peak of an electroacoustic transducer.

[0006] According to a first aspect of the present disclosure, a voltage testing method for an electroacoustic transducer is provided, comprising: The model parameters of the electroacoustic transducer are obtained, and the solution model of the electroacoustic transducer is obtained based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer; Obtain multiple discrete frequency points to be tested; Obtain the excitation duration corresponding to each discrete frequency point; For each discrete frequency point, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value is determined according to the solution model at the corresponding discrete frequency point. The theoretical driving signal is generated based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point; Obtain the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal; The theoretical voltage amplitude corresponding to each discrete frequency point is corrected based on the actual displacement signal.

[0007] Optionally, obtaining the multiple discrete frequency points to be tested includes: Obtain the set voltage signal generation parameters; wherein, the voltage signal generation parameters include the lowest frequency, the highest frequency, and a discrete frequency lookup table, the discrete frequency lookup table represents the mapping relationship between the current discrete frequency value and the multiplication factor, and the multiplication factor is the ratio of the next discrete frequency value to the current discrete frequency value; Multiple discrete frequency points are calculated based on the voltage signal generation parameters.

[0008] Optionally, obtaining the excitation duration corresponding to each discrete frequency point includes: Calculate the period duration corresponding to each discrete frequency point; The transient signal attenuation time constant of the electroacoustic transducer is obtained based on the model parameters. The transient signal decay time of the electroacoustic transducer is obtained based on the set measurement accuracy and the transient signal decay time constant. The excitation duration corresponding to each discrete frequency point is obtained based on the period duration corresponding to each discrete frequency point and the transient signal decay time.

[0009] Optionally, generating the theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point includes: Based on the frequency value, excitation duration, and theoretical voltage amplitude corresponding to each discrete frequency point, a single-frequency drive signal corresponding to each discrete frequency point is generated. The theoretical driving signal is obtained by splicing together the single-frequency driving signals corresponding to multiple discrete frequency points.

[0010] Optionally, the method further includes: For each discrete frequency point, the voltage amplitude corresponding to the single-frequency drive signal is gradually transitioned from small to large for the initial multiple cycles.

[0011] Optionally, the method further includes: An interval signal of a set duration is set between single-frequency drive signals corresponding to adjacent discrete frequencies.

[0012] Optionally, the step of correcting the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal includes: Based on the actual displacement signal, determine the actual displacement peak value corresponding to each discrete frequency point; Based on the target displacement peak value, determine whether the actual displacement peak value corresponding to each discrete frequency point is within the set error range; If the actual displacement peak value at any discrete frequency point exceeds the error range, the corresponding theoretical voltage amplitude is corrected based on the actual displacement peak value.

[0013] Optionally, the step of correcting the corresponding theoretical voltage amplitude based on the actual displacement peak value includes: Calculate the ratio between the actual peak displacement and the target peak displacement; The theoretical voltage amplitude at the corresponding discrete frequency point is adjusted according to the ratio.

[0014] Optionally, after generating the theoretical driving signal, the method further includes: If the theoretical voltage amplitude at any discrete frequency point exceeds the peak voltage of the electroacoustic transducer, and if the frequency value at any discrete frequency point is less than the set corner frequency, then the theoretical voltage amplitude at any discrete frequency point is corrected to the peak voltage; if the frequency value at any discrete frequency point is greater than the corner frequency, then the theoretical voltage amplitude at any discrete frequency point is corrected to the rated voltage of the electroacoustic transducer.

[0015] According to a second aspect of this disclosure, a voltage testing device for an electroacoustic transducer is provided, comprising: The parameter acquisition module is used to acquire the model parameters of the electroacoustic transducer and obtain the solution model of the electroacoustic transducer based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer. The frequency point acquisition module is used to acquire multiple discrete frequency points to be tested. The duration calculation module is used to obtain the excitation duration corresponding to each discrete frequency point; The voltage calculation module is used to determine the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value at each discrete frequency point, based on the solution model. The signal generation module is used to generate a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point. The displacement acquisition module is used to acquire the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal; The voltage correction module is used to correct the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal.

[0016] According to a third aspect of this disclosure, an electronic device is provided, including a processor and a memory, the memory being used to store a computer program, and the processor being used to execute the method as described in the first aspect of this disclosure under the control of the computer program.

[0017] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method described in the first aspect of this disclosure.

[0018] Through the embodiments of this disclosure, a solution model capable of characterizing the mapping relationship between driving signals and displacement signals is constructed based on the model parameters of the electroacoustic transducer. Relying on the theoretical characteristics of the model, the precise solution for selecting discrete frequency points across the entire frequency band, the specific excitation duration for each frequency point, and the target theoretical voltage amplitude is achieved. This generates a standardized theoretical driving signal adapted to the vibration characteristics of each frequency, with interval buffering and smooth amplitude transition, thus realizing precise excitation of the electroacoustic transducer. By acquiring the actual vibration displacement signal of the device and performing closed-loop correction on the theoretical voltage amplitude at each discrete frequency point, displacement output deviations caused by theoretical deviations in the solution model, individual device process differences, test environment interference, and system assembly errors can be effectively compensated for. This ensures that the actual vibration displacement of the device at all discrete frequency points across the entire frequency band can accurately converge to the preset unified target displacement peak value. By matching the optimal excitation duration and driving voltage for different frequency points, and by effectively suppressing temperature rise drift, mechanical creep, and voltage surge interference during the test process through signal interval rest and gradual amplitude transition, accurate testing under uniform displacement conditions across the entire frequency band is achieved while ensuring the safety and stability of device testing. This greatly improves the consistency, accuracy, and repeatability of frequency characteristic test data for electroacoustic transducers, effectively solving the technical problems of inconsistent high and low frequency displacement, large test errors, inconsistent operating conditions, and poor reliability in traditional testing methods. It significantly improves the overall accuracy and versatility of device performance calibration and quality inspection.

[0019] Other features and advantages of the invention will become clear from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the invention and, together with their description, serve to explain the principles of the invention.

[0021] Figure 1 This is a block diagram illustrating the hardware configuration of an electronic device that can implement embodiments of the present disclosure; Figure 2 This is a flowchart of a voltage testing method according to an embodiment of the present disclosure; Figure 3 This is a schematic diagram of a discrete frequency lookup table according to an embodiment of the present disclosure; Figure 4 This is a schematic diagram of a theoretical EQ voltage curve according to an embodiment of the present disclosure; Figure 5 This is a schematic diagram of a theoretical driving signal according to an embodiment of the present disclosure; Figure 6 This is a schematic diagram of a theoretical driving signal according to an embodiment of the present disclosure; Figure 7This is a schematic diagram of a simulated displacement signal according to an embodiment of the present disclosure; Figure 8 This is a schematic diagram of the displacement sweep frequency characteristics corresponding to a simulated displacement signal according to an embodiment of the present disclosure; Figure 9 This is a schematic diagram of an actual displacement signal according to an embodiment of the present disclosure; Figure 10 This is a schematic diagram of the displacement sweep frequency characteristics corresponding to the actual displacement signal according to an embodiment of the present disclosure; Figure 11 This is a schematic diagram of the measured EQ voltage curve after one calibration according to an embodiment of the present disclosure; Figure 12 This is a schematic diagram of the measured displacement signal after one calibration according to an embodiment of the present disclosure; Figure 13 This is a schematic diagram of the displacement sweep frequency characteristics corresponding to the measured displacement signal after one calibration according to an embodiment of the present disclosure; Figure 14 This is a block diagram of a voltage testing apparatus according to an embodiment of the present disclosure; Figure 15 This is a block diagram of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0022] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the invention.

[0023] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.

[0024] Techniques, methods, and apparatus known to those skilled in the art in the relevant field may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.

[0025] In all the examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.

[0026] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0027] <Hardware Configuration> Figure 1This is a block diagram illustrating the hardware configuration of an electronic device 1000 that can implement embodiments of the present disclosure.

[0028] Electronic device 1000 can be a portable computer, desktop computer, mobile phone, tablet computer, etc. For example... Figure 1 As shown, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, etc. The processor 1100 may be a CPU, a microprocessor (MCU), etc. The memory 1200 may include, for example, ROM (Read-Only Memory), RAM (Random Access Memory), or non-volatile memory such as a hard disk. The interface device 1300 may include, for example, a USB interface, a headphone jack, etc. The communication device 1400 may be capable of wired or wireless communication, specifically including Wi-Fi communication, Bluetooth communication, 2G / 3G / 4G / 5G communication, etc. The display device 1500 may be, for example, an LCD screen, a touch screen, etc. The input device 1600 may include, for example, a touch screen, a keyboard, motion input, etc. Users can input / output voice information through the speaker 1700 and the microphone 1800.

[0029] Figure 1 The electronic devices shown are merely illustrative and in no way intended to limit this disclosure, its application, or use. In embodiments applied to this disclosure, the memory 1200 of the electronic device 1000 is used to store instructions for controlling the processor 1100 to operate to perform any of the methods provided in the embodiments of this disclosure. Those skilled in the art will understand that, although... Figure 1 The electronic device 1000 is shown with multiple devices shown; however, this disclosure may relate only to some of these devices. For example, electronic device 1000 may only relate to processor 1100 and memory 1200. Those skilled in the art can design instructions based on the schemes disclosed herein. How the instructions control the processor to operate is well known in the art and will not be described in detail here.

[0030] <Method Implementation> This disclosure provides a voltage testing method for an electroacoustic transducer, which can be implemented by an electronic device. Specifically, the voltage testing method for the electroacoustic transducer can be performed by, for example... Figure 1 The electronic device 1000 shown is implemented.

[0031] Figure 2 This is a flowchart of a voltage testing method for an electroacoustic transducer according to an embodiment of the present disclosure.

[0032] like Figure 2As shown, the method includes the following steps S2100 to S2700: Step S2100: Obtain the model parameters of the electroacoustic transducer, and obtain the solution model of the electroacoustic transducer based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer.

[0033] In this embodiment, the model parameters of the electroacoustic transducer can be dynamic model parameters, specifically second-order linear model parameters. A second-order linear model can accurately describe the dynamic characteristics of a loudspeaker or motor device within a small signal range, providing a reliable parameter basis for theoretical calculations.

[0034] For example, the parameters of a second-order linear model may include the equivalent mass of the vibrating diaphragm. DC resistance of voice coil Mechanical damping Stiffness coefficient of the support system Electromechanical factors These are inherent parameters. These parameters comprehensively describe the device's quality characteristics, electrical characteristics, mechanical damping characteristics, stiffness characteristics, and electromagnetic conversion characteristics, and are necessary parameters for theoretically calculating the equalization voltage.

[0035] In some examples, the model parameters of the device can be obtained through parameter identification. Parameter identification can employ methods commonly used in the field, such as least squares method, frequency domain identification method, or time domain identification method.

[0036] Substituting the above model parameters into the classical second-order electromechanical coupling equation of the electroacoustic transducer, a solution model for the electroacoustic transducer is constructed. This solution model can accurately characterize the quantized mapping relationship between the driving signal input to the electroacoustic transducer and the displacement signal output. It can calculate the theoretical displacement based on the input driving signal, and it can also reversely solve for the required theoretical voltage amplitude based on the preset target displacement, providing a theoretical basis for subsequent voltage pre-calculation.

[0037] Step S2200: Obtain multiple discrete frequency points to be tested.

[0038] In some embodiments, operators can manually input multiple target frequency values ​​into an electronic device in accordance with product testing standards, and the electronic device binds each input frequency value to an independent discrete frequency point.

[0039] In some embodiments, obtaining multiple discrete frequency points to be tested includes: obtaining a set frequency range, uniformly sampling the frequency range according to a set sampling interval, and obtaining multiple discrete frequency points uniformly distributed within the frequency range.

[0040] In some embodiments, obtaining multiple discrete frequency points to be tested includes: obtaining set voltage signal generation parameters; wherein the voltage signal generation parameters include a minimum frequency value, a maximum frequency value, and a discrete frequency lookup table, the discrete frequency lookup table representing the mapping relationship between the current discrete frequency value and the multiplication factor, the multiplication factor being the ratio of the next discrete frequency value to the current discrete frequency value; and calculating multiple discrete frequency points based on the voltage signal generation parameters.

[0041] Based on the rate of change of the device's theoretical displacement sweep frequency characteristic curve, a non-uniform distribution method is adopted for discrete frequency points. In frequency bands with a large rate of change of the curve, the discrete frequency points are densely distributed; in frequency bands with a small rate of change of the curve, the discrete frequency points are sparsely distributed.

[0042] In some examples, a discrete frequency lookup table can be like this: Figure 3 As shown, Figure 3 The horizontal axis represents the frequency value, and the vertical axis represents the ratio of the next discrete frequency value to the current discrete frequency value.

[0043] For electroacoustic transducers such as loudspeakers and haptic motors, the displacement sweep frequency characteristic curve changes drastically in the frequency band near the resonant frequency; the curve tends to flatten out further away from the resonant frequency. Based on this characteristic, the multiplier coefficients in the discrete frequency lookup table are configured differently, such as... Figure 3 As shown, when the frequency value is near the resonant frequency, the magnification factor is set to a smaller value to make the discrete frequency points relatively dense; when the frequency value is far from the resonant frequency, the magnification factor is set to a larger value to make the discrete frequency points relatively sparse.

[0044] By adaptively adjusting the frequency point spacing, the test accuracy can be increased in the resonant region where the displacement curve changes drastically, and the number of test points can be reduced in the region where the curve is flat, thus achieving a balance between test accuracy and test efficiency.

[0045] In this embodiment, the lowest frequency can be used as the current discrete frequency value. The frequency ratio corresponding to the current discrete frequency value can be determined according to the discrete frequency lookup table. The product between the current discrete frequency value and the frequency ratio can be determined to obtain the next discrete frequency value. The next discrete frequency value can be used as the current discrete frequency value. The subsequent frequency values ​​can be calculated iteratively until a frequency value greater than or equal to the highest frequency value is obtained.

[0046] The algorithm iterates through each discrete frequency value within the test frequency band that is greater than or equal to the lowest frequency value and less than or equal to the highest frequency value, generating discrete frequency points for each value. After the iterative calculation is complete, a set of non-uniformly distributed discrete frequency points can be obtained within the test frequency band.

[0047] In this embodiment, discrete frequency points are generated iteratively based on voltage signal generation parameters to achieve adaptive density arrangement of test points. While ensuring test accuracy, this significantly reduces the number of tests, improves test efficiency, reduces errors caused by device temperature rise and mechanical deformation, and has flexible parameter configuration and wide applicability.

[0048] Step S2300: Obtain the excitation duration corresponding to each discrete frequency point.

[0049] In this embodiment, the excitation duration refers to the total duration for which the driving signal corresponding to a single discrete frequency point is continuously applied to the electroacoustic transducer.

[0050] In some embodiments, the excitation duration corresponding to each discrete frequency point can be preset according to the application scenario of the electroacoustic transducer. The excitation duration corresponding to different discrete frequency points can be the same or different.

[0051] In some embodiments, obtaining the excitation duration corresponding to each discrete frequency point can be achieved by calculating the period duration corresponding to each discrete frequency point and obtaining the excitation duration of the corresponding discrete frequency point based on the period duration corresponding to each discrete frequency point.

[0052] Specifically, the excitation duration corresponding to each discrete frequency point can be the duration of K cycles of the corresponding discrete frequency point, where K is a set positive integer.

[0053] In some embodiments, obtaining the excitation duration corresponding to each discrete frequency point includes: calculating the period duration corresponding to each discrete frequency point; obtaining the transient signal attenuation time constant of the electroacoustic transducer according to the model parameters; obtaining the transient signal attenuation time of the electroacoustic transducer according to the set measurement accuracy and the transient signal attenuation time constant; and obtaining the excitation duration corresponding to each discrete frequency point according to the period duration and the transient signal attenuation time.

[0054] In this embodiment, the transient signal decay time constant is a characteristic parameter that describes how fast the transient vibration component decays after the electroacoustic transducer (loudspeaker, haptic motor) is excited by a step / alternating signal.

[0055] When an electroacoustic transducer is first connected to a drive signal, it generates a transient oscillation (transient response) superimposed on the steady-state vibration. This oscillation gradually decays over time. The smaller the time constant, the faster the transient vibration disappears; the larger the time constant, the slower the transient vibration decays. The transient signal decay time constant is uniquely determined by the device's inherent model parameters (oscillator / diaphragm mass, mechanical damping, stiffness coefficient, etc.) and is the core basis for calculating the transient signal decay time and the excitation duration at a single frequency point.

[0056] Transient signal decay time This refers to the time it takes for the transient vibration component generated by the device excitation to decay to a preset accuracy threshold after the driving signal is applied. This time is calculated jointly by the transient signal decay time constant and the required measurement accuracy, and is a critical time to ensure that the displacement sampling is not disturbed by initial fluctuations. Only after the transient vibration has fully decayed can the device vibration enter a stable steady state, thereby ensuring the accuracy of the displacement measurement results.

[0057] Based on the device's inherent transient signal decay time constant Based on this, the transient signal decay time is calculated according to different measurement accuracy requirements. If the desired transient amplitude decays to 0.1%, then determine... If the desired transient amplitude decays to 1%, then determine... If the desired transient amplitude decays to 5%, then determine... If the desired transient amplitude decay is 10%, then determine... .

[0058] In some examples, this could be the decay time of a transient signal. The excitation duration for each discrete frequency point is obtained by adding the K periods T corresponding to each discrete frequency point. .

[0059] In some examples, this could be the decay time of a transient signal. Adding the period T corresponding to each discrete frequency point yields the shortest excitation duration for that discrete frequency point. .

[0060] This calculation method ensures that the transient response is fully decayed before steady-state displacement measurement, while keeping the excitation duration to a minimum, which can reduce the total test time and device heat generation.

[0061] This embodiment obtains the shortest excitation duration corresponding to each discrete frequency point. Theoretically, it is possible to obtain the steady-state displacement peak values ​​of the device under the current frequency excitation in the shortest time, namely the positive displacement peak value and the negative displacement peak value.

[0062] This embodiment calculates the excitation duration of each discrete frequency point by combining the period duration corresponding to the frequency, the inherent attenuation characteristics of the device, and the measurement accuracy requirements. This ensures that transient vibrations are sufficiently attenuated, steady-state displacement data is accurately acquired, and test accuracy is guaranteed. It also obtains the shortest effective excitation duration, effectively shortening the overall test time and reducing problems such as heat generation and mechanical creep caused by long-term device operation, thereby further improving test stability and efficiency.

[0063] Step S2400: For each discrete frequency point, determine the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value at the corresponding discrete frequency point according to the solution model.

[0064] In this embodiment, all discrete frequency points can be traversed one by one to obtain the frequency value corresponding to each frequency point, and the calculation model of the electroacoustic transducer can be called to perform calculations. Combined with the target displacement peak value set in this test, the theoretical voltage amplitude required for the electroacoustic transducer to reach the target displacement peak value at each discrete frequency point is obtained by reverse calculation using the calculation model.

[0065] Specifically, for different discrete frequency points, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value can be different.

[0066] In some embodiments, after generating the theoretical driving signal, the method further includes: if the theoretical voltage amplitude corresponding to any discrete frequency point exceeds the peak voltage of the electroacoustic transducer, and if the frequency value corresponding to any discrete frequency point is less than a set corner frequency, then the theoretical voltage amplitude corresponding to any discrete frequency point is corrected to the peak voltage; if the frequency value corresponding to any discrete frequency point is greater than the corner frequency, then the theoretical voltage amplitude corresponding to any discrete frequency point is corrected to the rated voltage of the electroacoustic transducer.

[0067] In this embodiment, the cutoff frequency can be a pre-set frequency boundary threshold based on the structural strength and electrical load characteristics of the electroacoustic transducer, used to distinguish voltage control rules for different frequency bands of the electroacoustic transducer. The electroacoustic transducer has stronger withstand capability at low frequencies, allowing the use of maximum voltage; exceeding this boundary line and entering the high-frequency range makes the electroacoustic transducer more prone to overheating and damage. Therefore, the voltage is limited to the conventional rated value to protect the device's safety.

[0068] Specifically, it is possible to iterate through all discrete frequency points and determine the relationship between the theoretical voltage amplitude and the peak voltage at each frequency point.

[0069] When the theoretical voltage amplitude corresponding to a certain discrete frequency point is greater than the peak voltage of the electroacoustic transducer, the frequency value corresponding to that frequency point is further compared with the preset cutoff frequency: if the frequency value is less than the cutoff frequency, the current theoretical voltage amplitude is corrected to the peak voltage; if the frequency value is greater than the cutoff frequency, the current theoretical voltage amplitude is corrected to the rated voltage of the electroacoustic transducer.

[0070] If the theoretical voltage amplitude does not exceed the peak voltage, the original value remains unchanged. After voltage limiting processing is completed at all discrete frequency points, the resulting voltage amplitudes are all within the safe operating range of the device and can be used to generate subsequent drive signals.

[0071] This embodiment uses the corner frequency as a boundary to make differentiated corrections to the theoretical voltage amplitude of the over-limit. It can fully utilize the upper limit of the device voltage in the low-frequency range to ensure displacement performance, and constrain the voltage to the rated value in the high-frequency range. This effectively avoids damage problems such as the device diaphragm and oscillator rubbing against the housing and component burnout caused by excessive voltage, and ensures the safety and stability of the test process.

[0072] In some embodiments, given the theoretical voltage amplitude corresponding to each discrete frequency point, a theoretical equalization (EQ) voltage curve for the electroacoustic transducer can be generated, such as... Figure 4 As shown, the horizontal axis of the theoretical EQ voltage curve represents frequency, and the vertical axis represents the theoretical voltage amplitude.

[0073] Step S2500: Generate a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point.

[0074] In this embodiment, the generated theoretical driving signal includes a driving signal corresponding to each discrete frequency point. The driving signal corresponding to each discrete frequency point can be a single-frequency driving signal generated based on the corresponding frequency value, excitation duration, and theoretical voltage amplitude. The duration of the single-frequency driving signal corresponding to each discrete frequency point matches the corresponding excitation duration, and the signal amplitude matches the corresponding theoretical voltage amplitude.

[0075] In some embodiments, generating a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point includes: generating a single-frequency driving signal corresponding to each discrete frequency point based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point; and splicing the single-frequency driving signals corresponding to multiple discrete frequency points to obtain the theoretical driving signal.

[0076] In this embodiment, a drive signal for each discrete frequency point is generated sequentially based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point. Specifically, for each discrete frequency point, a single-frequency drive signal corresponding to each discrete frequency point is constructed by using the frequency value corresponding to that frequency point as the signal frequency, the theoretical voltage amplitude as the signal amplitude, and the excitation duration as the signal duration.

[0077] Specifically, a single-frequency drive signal can be constructed segment by segment using individual discrete frequency points as units, with the duration of each segment matching the corresponding excitation duration and the signal amplitude matching the corresponding theoretical voltage amplitude.

[0078] Furthermore, the single-frequency drive signals corresponding to multiple discrete frequency points can be spliced ​​together in order of increasing frequency value to form a complete theoretical drive signal.

[0079] In some examples, the theoretical driving signal can be as follows: Figure 5As shown, the horizontal axis of the theoretical driving signal is time, and the vertical axis is voltage.

[0080] In some embodiments, the theoretical driving signal includes a single-frequency driving signal corresponding to each discrete frequency point, and the method further includes: for the single-frequency driving signal corresponding to each discrete frequency point, performing a gradual transition processing on the voltage amplitude corresponding to the initial multiple cycles from small to large.

[0081] In this embodiment, after generating the single-frequency drive signal corresponding to each discrete frequency point, the amplitude of the single-frequency drive signal corresponding to all discrete frequency points can be gradually optimized.

[0082] Specifically, for each single-frequency drive signal, instead of directly outputting the instantaneous target theoretical voltage amplitude, a fixed number of initial transition periods are preset, and a linear smooth ramp-up method is used to achieve a smooth amplitude transition: taking the start time of the single-frequency drive signal corresponding to each discrete frequency point as the initial starting point, the target theoretical voltage amplitude of the corresponding single-frequency drive signal is evenly distributed across all transition periods, so that the peak voltage of each transition period increases uniformly step by step. After continuous ramp-up through multiple preset periods, the voltage amplitude accurately and smoothly reaches the theoretical voltage amplitude corresponding to that discrete frequency point. After the transition is completed, the subsequent remaining signal periods always maintain a constant theoretical voltage amplitude for continuous output. The number of transition periods for different single-frequency drive signals can be equal or unequal.

[0083] For example, for any discrete frequency point, the theoretical voltage amplitude of the single-frequency drive signal corresponding to the previous discrete frequency point may be 0.5V, and the theoretical voltage amplitude of the single-frequency drive signal corresponding to this discrete frequency point may be 2V. Then, after switching from the previous discrete frequency point to this discrete frequency point, the phase of the single-frequency drive signal corresponding to this discrete frequency point inherits the phase at the end of the single-frequency drive signal corresponding to the previous discrete frequency point. The peak voltage of the single-frequency drive signal corresponding to this discrete frequency point gradually transitions from 0.5V to 2V during the transition period.

[0084] By performing the above amplitude gradual transition processing on each single-frequency drive signal, smooth switching of drive signals with different frequencies and amplitudes can be achieved, reducing or eliminating voltage jump impacts during signal switching, and forming a complete theoretical drive signal with no impact and high stability.

[0085] This embodiment employs a gradual voltage amplitude transition process for the initial period of the single-frequency drive signal corresponding to each discrete frequency point. This reduces or avoids voltage spikes and transient pulse impacts that occur during the switching of adjacent test signals, effectively suppressing additional transient oscillations and shock vibrations in the device caused by sudden voltage changes, and preventing non-steady-state interference from being superimposed on the steady-state displacement test results. Simultaneously, the gentle amplitude ramp-up avoids frequent stress impacts on the device, reducing mechanical fatigue and electrical losses. While ensuring the effectiveness and accuracy of tests at each discrete frequency point, this further enhances the stability and safety of the overall testing process, significantly optimizing the reliability and consistency of displacement test data across the entire frequency band.

[0086] In some embodiments, the method may further include: after splicing together single-frequency drive signals corresponding to multiple discrete frequency points, setting an interval signal of a predetermined duration between adjacent single-frequency drive signals corresponding to discrete frequencies to obtain a theoretical drive signal.

[0087] After generating single-frequency drive signals for all discrete frequency points, the signals are sequentially spliced ​​together in ascending order of frequency. An interval signal of a set duration is inserted between adjacent single-frequency drive signals. This interval signal can be a zero-voltage static signal, providing a heat dissipation buffer for the electroacoustic transducer and preventing excessive temperature rise, mechanical creep, or test drift caused by continuous excitation. Through segmented generation, orderly splicing, and the addition of interval buffers, a complete, continuous, and comprehensive theoretical drive signal suitable for the entire test frequency band is finally obtained, providing a standard excitation input for subsequent displacement testing of the electroacoustic transducer.

[0088] In some examples, the theoretical driving signal can be as follows: Figure 6 As shown, the horizontal axis of the theoretical driving signal is time, and the vertical axis is voltage.

[0089] This embodiment generates segmented drive signals by matching dedicated excitation duration and voltage amplitude point by point, which can accurately adapt to the optimal excitation conditions at each frequency point and ensure the accuracy of single-frequency displacement testing. At the same time, by adding an interval signal between adjacent drive signals, it effectively solves the problems of temperature rise, mechanical fatigue and test data drift caused by continuous operation of the device, avoids the impact interference caused by frequent signal switching, and improves the stability, safety and data reliability of the overall test process while ensuring the integrity and orderliness of the full-band test.

[0090] Step S2600: Obtain the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal.

[0091] In this embodiment, the generated theoretical driving signal can be output to the electroacoustic transducer under test, exciting the transducer to generate reciprocating vibrations according to preset rules of frequency, voltage amplitude, and excitation duration. Simultaneously, the vibration state of the electroacoustic transducer under continuous excitation by the theoretical driving signal is acquired in real time through a high-precision displacement acquisition device, obtaining the corresponding original vibration displacement signal.

[0092] During the acquisition process, the timing logic of the driving signal is strictly matched, and the excitation duration, interval rest period and amplitude smooth transition period of each discrete frequency point are sampled continuously throughout the entire process to fully record the vibration displacement change data of each test stage.

[0093] In addition, the acquired raw displacement signals can be preprocessed to remove invalid clutter signals such as environmental noise and electromagnetic interference, while retaining the true vibration displacement waveform. Finally, a clean, complete actual displacement signal corresponding to the entire test frequency band is obtained, providing original and effective data support for subsequent device displacement characteristic analysis and performance parameter calculation.

[0094] In some examples, under theoretical conditions, the simulated displacement signal obtained from simulation based on the theoretically driven signal is as follows: Figure 7 As shown, its corresponding displacement sweep frequency characteristics are as follows: Figure 8 As shown; the actual displacement signal generated by the electroacoustic transducer under theoretical driving signal excitation can be as follows: Figure 9 As shown, its corresponding displacement sweep frequency characteristics are as follows: Figure 10 As shown. In Figure 7 and Figure 9 In the diagram, the horizontal axis represents time, and the vertical axis represents displacement; Figure 8 and Figure 10 In the graph, the horizontal axis represents the logarithmic frequency, and the vertical axis represents the displacement amplitude.

[0095] Step S2700: Correct the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal.

[0096] After obtaining the actual displacement signal corresponding to the electroacoustic transducer, closed-loop correction processing of the theoretical voltage amplitude is carried out for each discrete frequency point.

[0097] Specifically, for a single discrete frequency point, a segment of the single-frequency displacement signal corresponding to that frequency point is extracted from the actual displacement signal, and the theoretical voltage amplitude of the corresponding discrete frequency point is corrected based on each single-frequency displacement signal segment.

[0098] Through the embodiments of this disclosure, a solution model capable of characterizing the mapping relationship between driving signals and displacement signals is constructed based on the model parameters of the electroacoustic transducer. Relying on the theoretical characteristics of the model, the precise solution for selecting discrete frequency points across the entire frequency band, the specific excitation duration for each frequency point, and the target theoretical voltage amplitude is achieved. This generates a standardized theoretical driving signal adapted to the vibration characteristics of each frequency, with interval buffering and smooth amplitude transition, thus realizing precise excitation of the electroacoustic transducer. By acquiring the actual vibration displacement signal of the device and performing closed-loop correction on the theoretical voltage amplitude at each discrete frequency point, displacement output deviations caused by theoretical deviations in the solution model, individual device process differences, test environment interference, and system assembly errors can be effectively compensated for. This ensures that the actual vibration displacement of the device at all discrete frequency points across the entire frequency band can accurately converge to the preset unified target displacement peak value. By matching the optimal excitation duration and driving voltage for different frequency points, and by effectively suppressing temperature rise drift, mechanical creep, and voltage surge interference during the test process through signal interval rest and gradual amplitude transition, accurate testing under uniform displacement conditions across the entire frequency band is achieved while ensuring the safety and stability of device testing. This greatly improves the consistency, accuracy, and repeatability of frequency characteristic test data for electroacoustic transducers, effectively solving the technical problems of inconsistent high and low frequency displacement, large test errors, inconsistent operating conditions, and poor reliability in traditional testing methods. It significantly improves the overall accuracy and versatility of device performance calibration and quality inspection.

[0099] In some embodiments, the theoretical voltage amplitude corresponding to each discrete frequency point is corrected based on the actual displacement signal, including: determining the actual displacement peak value corresponding to each discrete frequency point based on the actual displacement signal; determining the actual error corresponding to the corresponding discrete frequency point based on the target displacement peak value and the actual displacement peak value corresponding to each discrete frequency point; determining whether the actual error corresponding to each discrete frequency point is within a set error range; and correcting the corresponding theoretical voltage amplitude based on the actual displacement peak value if the actual error corresponding to any discrete frequency point exceeds the error range.

[0100] In this embodiment, a single-frequency displacement signal segment corresponding to each discrete frequency point can be extracted from the actual displacement signal, and the actual displacement peak value of the corresponding discrete frequency point can be determined for each single-frequency displacement signal segment corresponding to the discrete frequency point.

[0101] In one embodiment, for each discrete frequency point, the actual displacement peak value of the corresponding discrete frequency point is determined by segmenting the single-frequency displacement signal. This can be achieved by obtaining the peak value of the single-frequency displacement signal segment corresponding to each discrete frequency point and using it as the actual displacement peak value of the corresponding discrete frequency point.

[0102] In one embodiment, for each discrete frequency point, the single-frequency displacement signal segment is segmented, and the actual displacement peak value of the corresponding discrete frequency point is determined. This can be done by segmenting the single-frequency displacement signal for each discrete frequency point, determining the maximum and minimum values ​​of the last cycle, and then determining the average of the absolute values ​​of the maximum and minimum values ​​as the actual displacement peak value of the corresponding discrete frequency point.

[0103] This embodiment obtains the displacement peak value during the steady-state period, thus avoiding the influence of transient response and improving the accuracy of displacement peak value measurement.

[0104] The difference between the actual peak displacement at each discrete frequency point and the preset target peak displacement is calculated to quantify the actual error at each discrete frequency point. Then, the actual error at each frequency point is compared with a preset error range to determine whether the actual peak displacement at each discrete frequency point meets the standard. The error range can be preset based on the electroacoustic transducer's factory performance specifications, test calibration accuracy level, and test application scenario requirements.

[0105] If the actual error corresponding to a certain discrete frequency point is within the set error range, the driving matching accuracy of that frequency point is deemed qualified, and the corresponding theoretical voltage amplitude does not need to be adjusted and remains unchanged. If the actual error corresponding to a certain discrete frequency point exceeds the set error range, it means that the current theoretical voltage amplitude cannot accurately match the target displacement output requirement. The theoretical voltage amplitude corresponding to the discrete frequency point can be adaptively corrected according to the actual displacement peak value until the actual error converges to the preset error range.

[0106] The theoretical voltage amplitude is calibrated based on the actual displacement peak value. This can be achieved by comparing the difference between the actual displacement peak value and the target displacement peak value, and then using this as a basis to calibrate the theoretical voltage amplitude at each frequency point, thereby further optimizing the theoretical voltage amplitude.

[0107] Specifically, if the actual peak displacement is greater than the target peak displacement, the theoretical voltage amplitude at the corresponding frequency point can be reduced; if the actual peak displacement is less than the target peak displacement, the theoretical voltage amplitude at the corresponding frequency point can be increased.

[0108] This embodiment employs a standardized closed-loop process—including point-by-point extraction of actual displacement peak values, quantification of actual errors, precise error determination, and adaptive correction for exceeding limits—to achieve refined correction of the theoretical voltage amplitude at each discrete frequency point. By using quantified actual errors as the basis for correction determination, replacing traditional subjective judgment methods, it unifies the accuracy standards for displacement testing across the entire frequency band and significantly reduces judgment bias. By retaining the original parameters for qualified points and only performing targeted correction on points exceeding limits, it effectively reduces invalid calculations, improves correction efficiency and accuracy, and accurately compensates for displacement accuracy issues caused by theoretical model errors, individual device process differences, environmental interference, and test system deviations. This ensures that the actual vibration error at each discrete frequency point across the entire frequency band is controlled within a preset accuracy range. It effectively solves the technical defects of poor high- and low-frequency displacement consistency, inconsistent test conditions, and large test errors under traditional fixed voltage excitation methods, significantly improving the accuracy, stability, and data repeatability of full-frequency band performance testing of electroacoustic transducers.

[0109] In some embodiments, the theoretical voltage amplitude is corrected based on the actual displacement peak value, including: for each discrete frequency point, calculating the ratio between the actual displacement peak value and the target displacement peak value; and adjusting the theoretical voltage amplitude at the corresponding discrete frequency point based on the ratio.

[0110] In this embodiment, the ratio of the target displacement peak value to the actual displacement peak value can be calculated one by one. This ratio is then used to correct the theoretical voltage amplitude at the same frequency point: if the ratio is less than 1, it indicates that the actual displacement exceeds the limit, and the theoretical voltage amplitude is adjusted downwards proportionally; if the ratio is greater than 1, it indicates that the actual displacement has not reached the limit, and the theoretical voltage amplitude is adjusted upwards proportionally. This process is repeated for all frequency points to achieve overall calibration.

[0111] In some embodiments, adjusting the corresponding theoretical voltage amplitude according to the ratio may involve adjusting the theoretical voltage amplitude to the product of the theoretical voltage amplitude and the ratio.

[0112] In some embodiments, the theoretical voltage amplitude can be calibrated multiple times, that is, the steps of generating a theoretical driving signal based on the theoretical voltage amplitude corresponding to each frequency point, driving the electroacoustic transducer according to the theoretical driving signal to obtain the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal, obtaining the actual displacement peak value corresponding to each frequency point according to the actual displacement signal, and calibrating the theoretical voltage amplitude according to the actual displacement peak value are repeated until the obtained actual displacement peak value meets the expectation.

[0113] The measured EQ voltage curve after one calibration is as follows: Figure 11 As shown, the horizontal axis represents frequency, and the vertical axis represents voltage amplitude. The measured displacement signal after one calibration is as follows: Figure 12 As shown, the horizontal axis represents time, and the vertical axis represents displacement. The measured displacement sweep frequency characteristic obtained after one calibration and EQ voltage drive is shown below. Figure 13 As shown, the horizontal axis represents the logarithmic frequency, and the vertical axis represents the displacement amplitude.

[0114] This embodiment uses proportional correction based on displacement ratio, fully utilizing the correlation between the driving voltage and vibration displacement of the electroacoustic transducer. The correction logic is rigorous and the physical meaning is clear. Compared with blind trial and error, proportional calibration can complete deviation compensation in one go, reducing the number of repeated measurements. While controlling testing costs and time, it effectively offsets systematic errors caused by model building and parameter identification, significantly improving the accuracy and practicality of the final theoretical voltage amplitude, and ensuring that the device always operates within the preset target displacement peak range.

[0115] <Device Embodiment> This disclosure also provides a voltage testing device for an electroacoustic transducer, such as... Figure 14 As shown, the voltage testing device 4000 includes a parameter acquisition module 4100, a frequency point acquisition module 4200, a duration calculation module 4300, a voltage calculation module 4400, a signal generation module 4500, a displacement acquisition module 4600, and a voltage correction module 4700.

[0116] The parameter acquisition module 4100 is used to acquire the model parameters of the electroacoustic transducer and obtain the solution model of the electroacoustic transducer based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer.

[0117] The frequency point acquisition module 4200 is used to acquire multiple discrete frequency points to be tested.

[0118] The duration calculation module 4300 is used to obtain the excitation duration corresponding to each discrete frequency point.

[0119] The voltage calculation module 4400 is used to determine, for each discrete frequency point, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value at the corresponding discrete frequency point, based on the solution model.

[0120] The signal generation module 4500 is used to generate a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point.

[0121] The displacement acquisition module 4600 is used to acquire the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal.

[0122] The voltage correction module 4700 is used to correct the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal.

[0123] In some embodiments, obtaining the multiple discrete frequency points to be tested includes: Obtain the set voltage signal generation parameters; wherein, the voltage signal generation parameters include the lowest frequency, the highest frequency, and a discrete frequency lookup table, the discrete frequency lookup table represents the mapping relationship between the current discrete frequency value and the multiplication factor, and the multiplication factor is the ratio of the next discrete frequency value to the current discrete frequency value; Multiple discrete frequency points are calculated based on the voltage signal generation parameters.

[0124] In some embodiments, obtaining the excitation duration corresponding to each discrete frequency point includes: Calculate the period duration corresponding to each discrete frequency point; The transient signal attenuation time constant of the electroacoustic transducer is obtained based on the model parameters. The transient signal decay time of the electroacoustic transducer is obtained based on the set measurement accuracy and the transient signal decay time constant. The excitation duration corresponding to each discrete frequency point is obtained based on the period duration corresponding to each discrete frequency point and the transient signal decay time.

[0125] In some embodiments, generating the theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point includes: Based on the frequency value, excitation duration, and theoretical voltage amplitude corresponding to each discrete frequency point, a single-frequency drive signal corresponding to each discrete frequency point is generated. The theoretical driving signal is obtained by splicing together the single-frequency driving signals corresponding to multiple discrete frequency points.

[0126] In some embodiments, the voltage testing device 4000 further includes: This module is used to perform a gradual transition of the voltage amplitude from small to large for the single-frequency drive signal corresponding to each discrete frequency point, based on the initial multiple cycles.

[0127] In some embodiments, the voltage testing device 4000 further includes: A module for setting an interval signal of a set duration between adjacent discrete frequency corresponding single-frequency drive signals.

[0128] In some embodiments, correcting the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal includes: Based on the actual displacement signal, determine the actual displacement peak value corresponding to each discrete frequency point; Based on the target displacement peak value, determine whether the actual displacement peak value corresponding to each discrete frequency point is within the set error range; If the actual displacement peak value at any discrete frequency point exceeds the error range, the corresponding theoretical voltage amplitude is corrected based on the actual displacement peak value.

[0129] In some embodiments, correcting the corresponding theoretical voltage amplitude based on the actual displacement peak value includes: Calculate the ratio between the actual peak displacement and the target peak displacement; The theoretical voltage amplitude at the corresponding discrete frequency point is adjusted according to the ratio.

[0130] In some embodiments, the voltage testing device 4000 further includes: The voltage correction module is used to correct the theoretical voltage amplitude at any discrete frequency point to the peak voltage if the theoretical voltage amplitude at any discrete frequency point exceeds the peak voltage of the electroacoustic transducer, and if the frequency value at any discrete frequency point is less than a set cutoff frequency; and if the frequency value at any discrete frequency point is greater than the cutoff frequency, then the theoretical voltage amplitude at any discrete frequency point is corrected to the rated voltage of the electroacoustic transducer.

[0131] <Electronic Device Examples> This embodiment provides an electronic device, which in one aspect may include the aforementioned voltage testing device 4000.

[0132] On the other hand, such as Figure 15 As shown, the electronic device 1000 may include a processor 1100 and a memory 1200. The memory 1200 is used to store computer programs, and the processor 1100 is used to control the electronic device to execute the methods of any embodiment of this disclosure under the control of the computer programs.

[0133] <Example of a readable storage medium> This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the methods described in any of the method embodiments of this disclosure.

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

[0135] This disclosure may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement any of the methods in the foregoing embodiments of this disclosure.

[0136] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media may include, for example, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), compact disc-read-only memory (CD-ROM), digital versatile disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any combination thereof. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0137] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include one or more of copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to computer-readable storage media in the respective computing / processing device.

[0138] The computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object programs written in any combination of one or more programming languages, including object-oriented programming languages ​​(such as Smalltalk, C++, etc.) and conventional procedural programming languages ​​(such as the "C" language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network (e.g., a local area network or a wide area network), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays, or programmable logic arrays, can execute computer-readable program instructions to implement various aspects of the embodiments of this disclosure by utilizing state information from the computer-readable program instructions.

[0139] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0140] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0141] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0142] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It should be noted that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are all equivalent.

[0143] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.

Claims

1. A voltage testing method for an electroacoustic transducer, characterized in that, include: The model parameters of the electroacoustic transducer are obtained, and the solution model of the electroacoustic transducer is obtained based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer; Obtain multiple discrete frequency points to be tested; Obtain the excitation duration corresponding to each discrete frequency point; For each discrete frequency point, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value is determined according to the solution model at the corresponding discrete frequency point. The theoretical driving signal is generated based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point; Obtain the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal; The theoretical voltage amplitude corresponding to each discrete frequency point is corrected based on the actual displacement signal.

2. The method according to claim 1, characterized in that, The process of acquiring multiple discrete frequency points to be tested includes: Obtain the set voltage signal generation parameters; wherein, the voltage signal generation parameters include the lowest frequency, the highest frequency, and a discrete frequency lookup table, the discrete frequency lookup table represents the mapping relationship between the current discrete frequency value and the multiplication factor, and the multiplication factor is the ratio of the next discrete frequency value to the current discrete frequency value; Multiple discrete frequency points are calculated based on the voltage signal generation parameters.

3. The method according to claim 1, characterized in that, The step of obtaining the excitation duration corresponding to each discrete frequency point includes: Calculate the period duration corresponding to each discrete frequency point; The transient signal attenuation time constant of the electroacoustic transducer is obtained based on the model parameters. The transient signal decay time of the electroacoustic transducer is obtained based on the set measurement accuracy and the transient signal decay time constant. The excitation duration corresponding to each discrete frequency point is obtained based on the period duration corresponding to each discrete frequency point and the transient signal decay time.

4. The method according to claim 1, characterized in that, The step of generating a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point includes: Based on the frequency value, excitation duration, and theoretical voltage amplitude corresponding to each discrete frequency point, a single-frequency drive signal corresponding to each discrete frequency point is generated. The theoretical driving signal is obtained by splicing together the single-frequency driving signals corresponding to multiple discrete frequency points.

5. The method according to claim 4, characterized in that, The method further includes: For each discrete frequency point, the voltage amplitude corresponding to the initial multiple cycles is gradually transitioned from small to large.

6. The method according to claim 4, characterized in that, The method further includes: An interval signal of a set duration is set between single-frequency drive signals corresponding to adjacent discrete frequencies.

7. The method according to claim 1, characterized in that, The step of correcting the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal includes: Based on the actual displacement signal, determine the actual displacement peak value corresponding to each discrete frequency point; Based on the target displacement peak value, determine whether the actual displacement peak value corresponding to each discrete frequency point is within the set error range; If the actual displacement peak value at any discrete frequency point exceeds the error range, the corresponding theoretical voltage amplitude is corrected based on the actual displacement peak value.

8. The method according to claim 7, characterized in that, The step of correcting the corresponding theoretical voltage amplitude based on the actual displacement peak value includes: Calculate the ratio between the actual peak displacement and the target peak displacement; The theoretical voltage amplitude at the corresponding discrete frequency point is adjusted according to the ratio.

9. The method according to claim 1, characterized in that, After generating the theoretical driving signal, the method further includes: If the theoretical voltage amplitude at any discrete frequency point exceeds the peak voltage of the electroacoustic transducer, and if the frequency value at any discrete frequency point is less than the set corner frequency, then the theoretical voltage amplitude at any discrete frequency point is corrected to the peak voltage; if the frequency value at any discrete frequency point is greater than the corner frequency, then the theoretical voltage amplitude at any discrete frequency point is corrected to the rated voltage of the electroacoustic transducer.

10. A voltage testing device for an electroacoustic transducer, characterized in that, include: The parameter acquisition module is used to acquire the model parameters of the electroacoustic transducer and obtain the solution model of the electroacoustic transducer based on the model parameters; wherein, the solution model is used to reflect the mapping relationship between the driving signal and the displacement signal of the electroacoustic transducer. The frequency point acquisition module is used to acquire multiple discrete frequency points to be tested. The duration calculation module is used to obtain the excitation duration corresponding to each discrete frequency point; The voltage calculation module is used to determine, for each discrete frequency point, the theoretical voltage amplitude corresponding to the vibration displacement of the electroacoustic transducer reaching the preset target displacement peak value at the corresponding discrete frequency point, based on the solution model. The signal generation module is used to generate a theoretical driving signal based on the excitation duration and theoretical voltage amplitude corresponding to each discrete frequency point. The displacement acquisition module is used to acquire the actual displacement signal generated by the electroacoustic transducer under the excitation of the theoretical driving signal; The voltage correction module is used to correct the theoretical voltage amplitude corresponding to each discrete frequency point based on the actual displacement signal.

11. An electronic device, characterized in that, It includes a processor and a memory, the memory being used to store a computer program, and the processor being used, under the control of the computer program, to execute the method as described in any one of claims 1 to 9.