Loudspeaker characteristic parameter test method and device, electronic equipment and readable medium
Patent Information
- Application Number
- CN202310094228.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-07
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2043-02-07
AI Technical Summary
[0004]采用改变扬声器振膜质量,扬声器腔体体积的方法,需要多次测量,较为繁琐,同时,还会改变扬声器包括的元件的原始属性,从而导致测试得到扬声器特征参数不够准确
[0018]The above-described embodiments of this disclosure have the following beneficial effects: the speaker characteristic parameter testing methods of some embodiments of this disclosure improve the accuracy of the obtained speaker characteristic parameters. Specifically, the reason why the obtained speaker characteristic parameters are not accurate enough is that: using methods that change the speaker diaphragm mass and speaker cavity volume requires multiple measurements, which is cumbersome. Furthermore, it changes the original properties of the components included in the speaker, thus leading to inaccurate speaker characteristic parameters. Based on this, the speaker characteristic parameter testing method of some embodiments of this disclosure first acquires a target signal set, wherein the target signal set includes a target voltage signal, and also includes at least one of a target sound pressure signal and a target current signal. The target voltage signal is the voltage signal of the speaker to be tested, fixed in the speaker characteristic parameter testing device. The target sound pressure signal is the sound pressure signal collected at an observation point position opposite to the speaker in the speaker characteristic parameter testing device. The target current signal is the current signal of the speaker to be tested. Next, a fitting equation is determined based on the target signal set and a pre-constructed fitting model. A set of non-expandable fitting parameters can be obtained through the pre-constructed fitting model and the target signal set. Finally, the above fitting equation is used to fit the speaker parameters to determine the speaker's characteristic parameters. This method eliminates the need for multiple measurements and does not alter the original properties of the speaker's components, significantly improving the accuracy of speaker characteristic parameter testing.
Smart Images

Figure CN116033325B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of this disclosure relate to the field of acoustics, and more specifically to methods, apparatus, electronic devices, and readable media for testing loudspeaker characteristic parameters. Background Technology
[0002] A loudspeaker is a crucial component of sound-producing devices such as headphones and speakers; it is an electronic component used to convert electronic signals into sound signals. The loudspeaker's characteristic parameters directly determine its quality. Currently, the common method for testing loudspeaker characteristic parameters is to change the diaphragm mass and the loudspeaker cavity volume. This involves first measuring the loudspeaker's impedance characteristics, and then measuring the impedance characteristics again using the added mass or volume method, thus obtaining the loudspeaker's characteristic parameters.
[0003] However, the inventors discovered that the following technical problems often arise when using the above method:
[0004] The method of changing the diaphragm mass and the volume of the speaker cavity requires multiple measurements, which is quite cumbersome. At the same time, it will also change the original properties of the components included in the speaker, resulting in the speaker characteristic parameters obtained by the test being inaccurate.
[0005] The information disclosed in this background section is only intended to enhance the understanding of the background of the inventive concept, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] The summary portion of this disclosure is intended to provide a brief overview of the concepts, which will be described in detail in the detailed description portion. This summary portion is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0007] Some embodiments of this disclosure provide methods, apparatus, electronic devices, and readable media for testing loudspeaker characteristic parameters to address one or more of the technical problems mentioned in the background section above.
[0008] In a first aspect, some embodiments of this disclosure provide a method for testing loudspeaker characteristic parameters. The method includes: acquiring a target signal set, wherein the target signal set includes a target voltage signal, and further includes at least one of a target sound pressure signal and a target current signal; the target voltage signal is a voltage signal of a loudspeaker whose characteristic parameters are to be tested, fixed in a loudspeaker characteristic parameter testing device; the target sound pressure signal is a sound pressure signal acquired at an observation point location opposite to the loudspeaker in the loudspeaker characteristic parameter testing device; and the target current signal is a current signal of the loudspeaker whose characteristic parameters are to be tested; determining a fitting equation based on the target signal set and a pre-constructed fitting model; and fitting the fitting equation with loudspeaker parameters to determine the loudspeaker characteristic parameters.
[0009] Optionally, the above fitting model includes: a cavity acoustic compliance parameter; and the above fitting of the above fitting equation with loudspeaker parameters to determine loudspeaker characteristic parameters includes: setting the fitting value range corresponding to the cavity acoustic compliance parameter; and in response to the setting being completed, fitting the above fitting equation with loudspeaker parameters to determine loudspeaker characteristic parameters.
[0010] Optionally, determining the fitting equation based on the target signal group and the pre-built fitting model includes: in response to determining that the target signal group includes the target current signal, substituting the ratio of the target voltage signal and the target current signal at each frequency into the fitting model based on the target voltage signal and the target current signal, so as to determine the fitting equation corresponding to each frequency respectively.
[0011] Optionally, determining the fitting equation based on the target signal group and the pre-built fitting model includes: in response to determining that the target signal group includes the target sound pressure signal, determining the spectrum corresponding to the target voltage signal and the target sound pressure signal based on the target voltage signal and the target sound pressure signal; and determining the fitting equation based on the spectrum and the fitting model.
[0012] Optionally, determining the fitting equation based on the target signal group and the pre-constructed fitting model includes: in response to determining that the target signal group includes the target current signal and the target sound pressure signal, substituting the ratio of the target voltage signal and the target current signal at each first frequency into the fitting model based on the target voltage signal and the target current signal to determine the first fitting equation corresponding to each first frequency; and substituting the ratio of the target voltage signal and the target sound pressure signal at each second frequency into the fitting model based on the target voltage signal and the target sound pressure signal to determine the second fitting equation corresponding to each second frequency.
[0013] Optionally, the above fitting equations are fitted with loudspeaker parameters to determine loudspeaker characteristic parameters, including: randomly generating an initial fitting array; fitting loudspeaker parameters to the first fitting equations corresponding to each of the first frequencies based on the initial fitting array to determine a reference fitting array; and fitting loudspeaker parameters to the second fitting equations corresponding to each of the second frequencies based on the reference fitting array to determine the loudspeaker characteristic parameters.
[0014] Secondly, some embodiments of this disclosure provide a loudspeaker characteristic parameter testing device, the device comprising: a cavity, wherein an opening is provided on one side of the cavity; a loudspeaker whose characteristic parameters are to be tested, wherein the loudspeaker is connected to the cavity through the opening, the loudspeaker faces the interior of the cavity, and the loudspeaker is a loudspeaker whose corresponding loudspeaker characteristic parameters are to be determined by a fitting model corresponding to the loudspeaker characteristic parameter testing device.
[0015] Optionally, the above-mentioned speaker characteristic parameter testing device further includes: a microphone unit, wherein the microphone unit is disposed inside the cavity at an observation point position opposite to the speaker.
[0016] Thirdly, some embodiments of this disclosure provide an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0017] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
[0018] The above-described embodiments of this disclosure have the following beneficial effects: the speaker characteristic parameter testing methods of some embodiments of this disclosure improve the accuracy of the obtained speaker characteristic parameters. Specifically, the reason why the obtained speaker characteristic parameters are not accurate enough is that: using methods that change the speaker diaphragm mass and speaker cavity volume requires multiple measurements, which is cumbersome. Furthermore, it changes the original properties of the components included in the speaker, thus leading to inaccurate speaker characteristic parameters. Based on this, the speaker characteristic parameter testing method of some embodiments of this disclosure first acquires a target signal set, wherein the target signal set includes a target voltage signal, and also includes at least one of a target sound pressure signal and a target current signal. The target voltage signal is the voltage signal of the speaker to be tested, fixed in the speaker characteristic parameter testing device. The target sound pressure signal is the sound pressure signal collected at an observation point position opposite to the speaker in the speaker characteristic parameter testing device. The target current signal is the current signal of the speaker to be tested. Next, a fitting equation is determined based on the target signal set and a pre-constructed fitting model. A set of non-expandable fitting parameters can be obtained through the pre-constructed fitting model and the target signal set. Finally, the above fitting equation is used to fit the speaker parameters to determine the speaker's characteristic parameters. This method eliminates the need for multiple measurements and does not alter the original properties of the speaker's components, significantly improving the accuracy of speaker characteristic parameter testing. Attached Figure Description
[0019] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0020] Figure 1 This is a schematic diagram of an application scenario of the speaker characteristic parameter testing method according to some embodiments of this disclosure;
[0021] Figure 2 This is a flowchart of some embodiments of the loudspeaker characteristic parameter testing method according to the present disclosure;
[0022] Figure 3 This is a flowchart of some other embodiments of the loudspeaker characteristic parameter testing method according to the present disclosure;
[0023] Figure 4 This is a flowchart of some further embodiments of the loudspeaker characteristic parameter testing method according to the present disclosure;
[0024] Figure 5These are structural cross-sectional views of some embodiments of the loudspeaker characteristic parameter testing apparatus according to the present disclosure;
[0025] Figure 6 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation
[0026] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0027] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.
[0028] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0029] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0030] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0031] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0032] Figure 1 This is a schematic diagram of an application scenario of the speaker characteristic parameter testing method according to some embodiments of this disclosure.
[0033] exist Figure 1In this application scenario, firstly, the computing device 101 can acquire a target signal group 102, wherein the target signal group 102 includes a target voltage signal, and also includes at least one of a target sound pressure signal and a target current signal. The target voltage signal is the voltage signal of the loudspeaker whose characteristic parameters are to be tested, fixed in the loudspeaker characteristic parameter testing device. The target sound pressure signal is the sound pressure signal collected at the observation point position opposite to the loudspeaker in the loudspeaker characteristic parameter testing device. The target current signal is the current signal of the loudspeaker whose characteristic parameters are to be tested. In this application scenario, the target signal group 102 may include signal waveform diagrams corresponding to the target voltage signal, target sound pressure signal, and target current signal. Then, the computing device 101 can determine a fitting equation 104 based on the target signal group 102 and a pre-built fitting model 103. Finally, the computing device 101 can perform loudspeaker parameter fitting on the fitting equation 104 to determine the loudspeaker characteristic parameters 105.
[0034] It should be noted that the aforementioned computing device 101 can be either hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed within the hardware devices listed above. It can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.
[0035] It should be understood that Figure 1 The number of computing devices shown is merely illustrative. Any number of computing devices can be used depending on implementation needs.
[0036] Continue to refer to Figure 2 The flowchart 200 illustrates some embodiments of a loudspeaker characteristic parameter testing method according to the present disclosure. The loudspeaker characteristic parameter testing method includes the following steps:
[0037] Step 201: Obtain the target signal group.
[0038] In some embodiments, the entity executing the loudspeaker characteristic parameter testing method (e.g.) Figure 1The computing device 101 shown can acquire a target signal group via a wired or wireless connection. The target signal group includes a target voltage signal. It also includes at least one of a target sound pressure level signal and a target current signal. The target voltage signal is the voltage signal of the loudspeaker whose characteristic parameters are to be tested, fixed in the loudspeaker characteristic parameter testing device. The target sound pressure level signal is the sound pressure signal acquired at an observation point location opposite the loudspeaker in the loudspeaker characteristic parameter testing device. The target current signal is the current signal of the loudspeaker whose characteristic parameters are to be tested. The loudspeaker characteristic parameter testing device is a device used to test the characteristic parameters of a loudspeaker. In practice, the target current signal can be the alternating current signal of the loudspeaker coil included in the loudspeaker whose characteristic parameters are to be tested. The target voltage signal can be the input voltage signal of the loudspeaker coil included in the loudspeaker whose characteristic parameters are to be tested. In practice, the observation point location can be set inside the loudspeaker characteristic parameter testing device.
[0039] In some optional implementations of certain embodiments, the aforementioned execution entity can acquire the target sound pressure signal while limiting the speaker output volume. In practice, because sound waves continuously reflect within the speaker characteristic parameter testing device, a high volume may result in high sound pressure within the device, causing the acoustic acquisition equipment to operate in a non-linear region. This can lead to clipping distortion in the acquired target sound pressure signal. Therefore, acquiring the target sound pressure signal while limiting the output volume avoids this phenomenon. Furthermore, the speaker output volume must not be lower than a preset volume threshold to avoid a low signal-to-noise ratio due to an excessively low target sound pressure signal.
[0040] It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections, and other currently known or future wireless connection methods.
[0041] Step 202: Determine the fitting equation based on the target signal set and the pre-built fitting model.
[0042] In some embodiments, the execution entity can determine a fitting equation based on the target signal group and a pre-built fitting model. The pre-built fitting model can be an acoustic model, mechanical model, or electrical model constructed based on the loudspeaker characteristic parameter testing device and the loudspeaker whose characteristic parameters are to be tested. In practice, the fitting model may include at least one parameter selected from the loudspeaker characteristic parameters, voltage parameters, sound pressure parameters, and current parameters to be determined. The fitting equation is an equation containing loudspeaker characteristic parameters that cannot be further expanded.
[0043] As an example, the aforementioned execution entity can use the signal values corresponding to the target signals in the target signal group as voltage parameters, sound pressure parameters, and current parameters, respectively, and substitute them into the fitting model to obtain the aforementioned fitting equation.
[0044] Step 203: Fit the loudspeaker parameters to the fitted equation to determine the loudspeaker characteristic parameters.
[0045] In some embodiments, the execution entity may perform speaker parameter fitting on the fitted equation to determine speaker characteristic parameters. These speaker characteristic parameters may be multiple fundamental characteristic parameters corresponding to the speaker.
[0046] In practice, several fundamental characteristic parameters may include: loudspeaker mechanical damping (Rms), loudspeaker mechanical mass (Mms), loudspeaker mechanical compliance (Cms), the DC resistance (Re) of the loudspeaker coil circuit, the inductance (Le) of the loudspeaker coil circuit, the product of the loudspeaker coil length and magnetic flux density (BL), and the effective vibrating area (S) of the loudspeaker diaphragm. Among these, loudspeaker mechanical damping characterizes the mechanical resistance of the loudspeaker. Loudspeaker mechanical mass characterizes the equivalent vibrating mass of the loudspeaker. Loudspeaker mechanical compliance characterizes the compliance of the supporting components of the loudspeaker. Specifically, the product of the loudspeaker coil length and magnetic flux density can also be expressed by the electromechanical coupling factor.
[0047] As an example, the aforementioned execution entity can perform multivariate parameter fitting on the fitted equation to determine the aforementioned speaker characteristic parameters.
[0048] The above-described embodiments of this disclosure have the following beneficial effects: the speaker characteristic parameter testing methods of some embodiments of this disclosure improve the accuracy of the obtained speaker characteristic parameters. Specifically, the reason why the obtained speaker characteristic parameters are not accurate enough is that: using methods that change the speaker diaphragm mass and speaker cavity volume requires multiple measurements, which is cumbersome. Furthermore, it changes the original properties of the components included in the speaker, thus leading to inaccurate speaker characteristic parameters. Based on this, the speaker characteristic parameter testing method of some embodiments of this disclosure first acquires a target signal set, wherein the target signal set includes a target voltage signal, and also includes at least one of a target sound pressure signal and a target current signal. The target voltage signal is the voltage signal of the speaker to be tested, fixed in the speaker characteristic parameter testing device. The target sound pressure signal is the sound pressure signal collected at an observation point position opposite to the speaker in the speaker characteristic parameter testing device. The target current signal is the current signal of the speaker to be tested. Next, a fitting equation is determined based on the target signal set and a pre-constructed fitting model. A set of non-expandable fitting parameters can be obtained through the pre-constructed fitting model and the target signal set. Finally, the above fitting equation is used to fit the speaker parameters to determine the speaker's characteristic parameters. This method eliminates the need for multiple measurements and does not alter the original properties of the speaker's components, significantly improving the accuracy of speaker characteristic parameter testing.
[0049] Further reference Figure 3 The diagram illustrates a flow 300 of another embodiment of a loudspeaker characteristic parameter testing method. Flow 300 of this loudspeaker characteristic parameter testing method includes the following steps:
[0050] Step 301: Obtain the target signal group.
[0051] In some embodiments, the specific implementation of step 301 and its resulting technical effects can be found in [reference needed]. Figure 2 Step 201 in the corresponding embodiment will not be repeated here.
[0052] Step 302: In response to determining that the target signal group includes the target current signal, the ratio of the target voltage signal and the target current signal at each frequency is substituted into the fitting model according to the target voltage signal and the target current signal to determine the fitting equation corresponding to each frequency.
[0053] In some embodiments, the entity executing the loudspeaker characteristic parameter testing method (e.g.) Figure 1The computing device 101 shown can, in response to determining that the target signal group includes the target current signal, substitute the ratio of the target voltage signal and the target current signal at each frequency into the fitting model based on the target voltage signal and the target current signal to determine the fitting equation corresponding to each frequency respectively.
[0054] In practice, the frequency can be the angular frequency (ω) of the AC signal of the speaker coil included in the speaker whose characteristic parameters are to be tested. Alternatively, the frequency (f) can be the frequency of the AC signal of the speaker coil included in the speaker whose characteristic parameters are to be tested.
[0055] As an example, the aforementioned execution entity can substitute the ratios of the target voltage signal and the target current signal at at least seven different frequencies into the fitting model to determine the fitting equations corresponding to each frequency. Accordingly, the AC signal of the speaker coil can be a narrow-band signal composed of narrow-band signals of the aforementioned at least seven frequencies, or it can be a wide-band signal covering the aforementioned at least seven frequencies.
[0056] Optionally, the above fitting model may include: cavity acoustic compliance parameters.
[0057] In practice, the above fitting model can be expressed as follows:
[0058]
[0059] Where p represents the target sound pressure signal. e represents the target voltage signal. U represents the volumetric flow velocity generated when the loudspeaker emits sound. i represents the target current signal. Za represents the total acoustic impedance of the cavity of the loudspeaker characteristic parameter testing device. u represents the equivalent velocity of the diaphragm included in the loudspeaker when it vibrates. S represents the effective vibrating area of the diaphragm included in the loudspeaker. F represents the total Ampere force on the loudspeaker coil included in the loudspeaker. BL represents the product of the coil length and magnetic induction intensity of the loudspeaker coil included in the loudspeaker. ZE represents the sum of the loudspeaker's impedance, equivalent acoustic impedance, and equivalent mechanical impedance. ZM represents the sum of the loudspeaker's mechanical impedance and equivalent acoustic impedance.
[0060] The total acoustic impedance Za can be characterized by the following expression (1):
[0061]
[0062] Where J represents the imaginary number sign. ω represents the angular frequency. Ca represents the cavity acoustic compliance parameter.
[0063] The sum of the mechanical impedance and the equivalent acoustic impedance of the loudspeaker, ZM, can be characterized by the following expression (2):
[0064] ZM = Zm + S 2 *Za (2)
[0065] Where Zm represents the mechanical impedance of the loudspeaker. S represents the effective vibrating area of the diaphragm included in the loudspeaker. Za represents the total acoustic impedance of the cavity of the loudspeaker characteristic parameter testing device. 2 *Za represents the equivalent acoustic impedance of the loudspeaker.
[0066] The mechanical impedance Zm can be characterized by the following expression (3):
[0067]
[0068] Where RmS represents the loudspeaker's mechanical damping. J represents the imaginary number. ω represents the angular frequency. Mms represents the loudspeaker's mechanical mass. Cms represents the loudspeaker's mechanical compliance.
[0069] The sum of the loudspeaker's impedance, equivalent acoustic impedance, and equivalent mechanical impedance, ZE, can be characterized by the following expression (4):
[0070]
[0071] Where Ze represents the electrical impedance of the loudspeaker. ZM represents the sum of the mechanical impedance and the equivalent acoustic impedance of the loudspeaker. BL represents the product of the length of the loudspeaker coil and the magnetic flux density. It represents the sum of the equivalent acoustic impedance and the equivalent mechanical impedance.
[0072] The impedance Ze of the loudspeaker can be characterized by the following expression (5):
[0073] Ze=Re+j*ω*Le (5)
[0074] Where Re represents the DC resistance of the speaker coil circuit, including the loudspeaker coil. J represents the imaginary number. ω represents the angular frequency. Le represents the inductance of the speaker coil circuit, including the loudspeaker coil.
[0075] Step 303: In response to determining that the target signal group includes the target sound pressure signal, determine the spectrum corresponding to the target voltage signal and the target sound pressure signal based on the target voltage signal and the target sound pressure signal.
[0076] In some embodiments, the execution entity may, in response to determining that the target signal group includes a target sound pressure signal, determine the spectrum corresponding to the target voltage signal and the target sound pressure signal based on the target voltage signal and the target sound pressure signal. Here, spectrum refers to the representation of a time-domain signal in the frequency domain.
[0077] As an example, the aforementioned execution entity can determine the ratio of the spectrum of the target voltage signal to the spectrum of the target sound pressure signal at multiple different frequencies, that is, determine... Spectrum
[0078] In practice, by determining the spectrum, the ratios of target voltage signals and target sound pressure signals at multiple different frequencies can be determined. This allows for the generation of multiple fitting equations at different frequencies based on these ratios and the fitting model.
[0079] Step 304: Determine the fitting equation based on the spectrum and the fitting model.
[0080] In some embodiments, the aforementioned execution entity may determine the fitting equation based on the spectrum and the fitting model.
[0081] As an example, the aforementioned execution entity can substitute the spectral values at multiple different frequencies in the spectrum into the aforementioned fitting model to determine multiple fitting equations corresponding to multiple different frequencies.
[0082] Step 305: Set the range of fitted values for the cavity acoustic compliance parameter.
[0083] In some embodiments, the aforementioned execution entity can set the fitting value range corresponding to the cavity acoustic compliance parameter. In practice, given the known acoustic structure of the loudspeaker characteristic parameter testing device cavity, the theoretical value corresponding to the cavity acoustic compliance parameter is often known. However, during parameter fitting, there is often a deviation between the actual fitted value and the theoretical value of the cavity acoustic compliance parameter. Furthermore, the acoustic structure of a closed cavity lacks resonant peak characteristics, making it impossible to effectively and accurately distinguish the difference between the actual fitted value and the theoretical value of the cavity acoustic compliance parameter. Therefore, it is necessary to set a corresponding fitting value range for the cavity acoustic compliance parameter. In practice, the range of fitting values is often not set very large. Specifically, if a corresponding fitting value range is not set for the cavity acoustic compliance parameter, it will affect the fitting degree of subsequent loudspeaker parameters and increase the fitting error of the loudspeaker characteristic parameters.
[0084] Step 306: In response to the completion of the setup, the speaker parameters are fitted to the fitted equation to determine the speaker characteristic parameters.
[0085] In some embodiments, the aforementioned execution entity may, in response to the completion of the setup, perform speaker parameter fitting on the fitted equation to determine speaker characteristic parameters.
[0086] As an example, the aforementioned execution entity can perform loudspeaker parameter fitting on multiple basic characteristic parameters to be fitted in the fitting equation, under the premise of constraining the cavity acoustic compliance parameter with the fitted value range, in order to obtain the aforementioned loudspeaker characteristic parameters.
[0087] from Figure 3 As can be seen from some corresponding embodiments, with Figure 2Compared to the descriptions of some corresponding embodiments, this disclosure discloses two methods for determining loudspeaker characteristic parameters:
[0088] Method 1: First, determine the spectrum corresponding to the ratio of the target sound pressure signal to the target voltage signal. Then, based on the spectrum and the fitting model, a fitting equation is obtained. Finally, the fitting equation is used to fit the loudspeaker parameters, yielding the final loudspeaker characteristic parameters. The ratio of the target sound pressure signal to the target voltage signal corresponds to the value in the fitting model. This method, by introducing acoustic quantities, allows for the construction of an acoustic-mechanical-electrical fitting model, which yields extremely accurate loudspeaker characteristic parameters.
[0089] Method 2: For details, refer to the fitting model and expressions (1) to (5) to obtain the following: in, This includes all the characteristic parameters of the loudspeaker to be fitted. Therefore, the target sound pressure level signal can be omitted; instead, the target voltage and current signals can be used to determine the loudspeaker's characteristic parameters. Since both the target voltage and current signals correspond to the loudspeaker whose characteristic parameters are being tested, Method 2 does not require acquiring signals other than the loudspeaker itself (the target sound pressure level signal), thus reducing the fitting model to an electrical model and increasing the speed of determining the loudspeaker's characteristic parameters.
[0090] Further reference Figure 4 The diagram illustrates a flow 400 of a further embodiment of a loudspeaker characteristic parameter testing method. Flow 400 of this loudspeaker characteristic parameter testing method includes the following steps:
[0091] Step 401: Obtain the target signal group.
[0092] In some embodiments, the specific implementation of step 401 and its resulting technical effects can be found in [reference needed]. Figure 2 Step 201 in the corresponding embodiment will not be repeated here.
[0093] Step 402: In response to determining that the target signal group includes the target current signal and the target sound pressure signal, the ratio of the target voltage signal and the target current signal at each first frequency is substituted into the fitting model according to the target voltage signal and the target current signal to determine the first fitting equation corresponding to each first frequency.
[0094] Specifically, the part of step 402 involving the fitting model can refer to the electrical model in Method 2 above.
[0095] In some embodiments, the execution entity may, in response to determining that the target signal group includes a target current signal and a target sound pressure signal, substitute the ratio of the target voltage signal and the target current signal at each first frequency into the fitting model according to the target voltage signal and the target current signal, so as to determine the first fitting equation corresponding to each first frequency respectively.
[0096] In practice, the first frequency can be the angular frequency (ω) of the AC signal of the speaker coil included in the speaker whose characteristic parameters are to be tested. Alternatively, the first frequency can be the frequency (f) of the AC signal of the speaker coil included in the speaker whose characteristic parameters are to be tested.
[0097] As an example, for each of the first frequencies, the aforementioned execution entity can substitute the ratio at the aforementioned first frequency into the fitting model to obtain the first fitting equation corresponding to the aforementioned first frequency. In practice, the number of first frequencies is greater than or equal to 7.
[0098] Step 403: Based on the target voltage signal and the target sound pressure signal, substitute the ratio of the target voltage signal and the target sound pressure signal at each second frequency into the fitting model to determine the second fitting equation corresponding to each second frequency.
[0099] In some embodiments, the execution entity may substitute the ratio of the target voltage signal and the target sound pressure signal at each second frequency into the fitting model based on the target voltage signal and the target sound pressure signal to determine the second fitting equation corresponding to each second frequency.
[0100] In practice, the frequency values of the first frequency and the second frequency can be different or the same.
[0101] As an example, for each of the second frequencies, the aforementioned execution entity can substitute the ratio at the aforementioned second frequency into the fitting model to obtain the second fitting equation corresponding to the aforementioned second frequency. In practice, the number of second frequencies in each set of second frequencies is greater than or equal to 7.
[0102] Step 404: Randomly generate the initial fitting array.
[0103] In some embodiments, the execution entity may randomly generate an initial fitting array. This initial fitting array may include the initial values corresponding to the speaker feature parameters to be fitted in the first fitting equation.
[0104] Optionally, the deviation of the initial fitted array is less than or equal to the preset deviation.
[0105] Specifically, the generation of the initial fitting array is random. In order to ensure the effectiveness of the generated initial fitting array, the initial fitting array with large deviation can be discarded, and only the initial fitting array with small deviation can be retained. This avoids the initial fitting array with large deviation from affecting the generation speed and accuracy of the final generated speaker feature parameters.
[0106] Step 405: Based on the initial fitting array, fit the loudspeaker parameters to the first fitting equation corresponding to each first frequency to determine the reference fitting array.
[0107] In some embodiments, the execution entity can perform speaker parameter fitting on the first fitting equation corresponding to each first frequency based on the initial fitting array to determine a reference fitting array. Specifically, the execution entity can use the initial fitting array as the initial values corresponding to the speaker feature parameters to be fitted, and perform speaker parameter fitting on the first fitting equation corresponding to each first frequency to determine the reference fitting array. The reference fitting array includes the fitted speaker feature parameters corresponding to the first frequency.
[0108] In some optional implementations of certain embodiments, the execution entity can, under the condition of constraining the fitted values corresponding to the first fitted equation, perform speaker parameter fitting on the first fitted equation corresponding to each first frequency based on the initial fitted array to determine the reference fitted array. In practice, by adding constraints to the fitted values, for example, within a range of ±20%, the fitting speed and accuracy of the reference fitted array can be significantly improved.
[0109] Step 406: Based on the reference fitting array, fit the speaker parameters to the second fitting equation corresponding to each second frequency to determine the speaker characteristic parameters.
[0110] In some embodiments, the execution entity can perform speaker parameter fitting on the second fitting equation corresponding to each second frequency based on the reference fitting array to determine the speaker characteristic parameters. Specifically, the execution entity can use the reference fitting array as the initial value corresponding to the speaker characteristic parameters to be fitted, and perform speaker parameter fitting on the second fitting equation corresponding to each second frequency to determine the speaker characteristic parameters.
[0111] In some optional implementations of certain embodiments, the aforementioned execution entity can, under the condition of constraining the fitted values corresponding to the second fitted equation, perform speaker parameter fitting on the second fitted equation corresponding to each second frequency based on a reference fitted array to determine the speaker characteristic parameters. In practice, by adding constraints to the fitted values, for example, within a range of ±20%, the fitting speed and accuracy of the speaker characteristic parameters can be significantly improved.
[0112] from Figure 4 It can be seen that, with Figure 2 Compared to the descriptions of some corresponding embodiments, the fitting speed of loudspeaker characteristic parameters is greatly improved. The specific reasons are as follows: In reality, the accuracy of loudspeaker characteristic parameters obtained based on target voltage and target current signals is lower than the accuracy obtained based on target voltage and target sound pressure signals. Therefore, this disclosure first determines a first fitting equation based on the target voltage and target current signals. Then, it determines a second fitting equation based on the target voltage and target sound pressure signals. Further, a reference fitting array is first determined using the first fitting equation. Next, the reference fitting array is used as the initial value corresponding to the loudspeaker characteristic parameters to be fitted, and the second fitting equation is used to fit the loudspeaker parameters to determine the loudspeaker characteristic parameters. Compared to the first method, which directly combines a random initial fitting array and the second fitting equation to fit the loudspeaker characteristic parameters, this method significantly improves the fitting speed because the first fitting process already makes the reference fitting array quickly approximate the actual loudspeaker characteristic parameters. The second fitting process is then performed on this basis to obtain the final parameter values, while still ensuring that the final parameter values are the most accurate results obtained through acoustic, mechanical, and electrical fitting models.
[0113] Further reference Figure 5 As an implementation of the methods shown in the above figures, this disclosure provides some embodiments of a loudspeaker characteristic parameter testing device, which are similar to... Figure 2 Corresponding to the method embodiments shown, this loudspeaker characteristic parameter testing device can be specifically applied to various electronic devices.
[0114] like Figure 5 As shown, some embodiments of a loudspeaker characteristic parameter testing device include: a cavity 1, a loudspeaker 2 to be tested for loudspeaker characteristic parameters, and an observation point position 3 opposite to the loudspeaker 2. An opening is provided on one side of the cavity 1. The loudspeaker 2 is connected to the cavity 1 through the opening. The loudspeaker 2 is the loudspeaker whose corresponding loudspeaker characteristic parameters are determined by the fitting model corresponding to the loudspeaker characteristic parameter testing device. In practice, the loudspeaker 2 is sealed to the cavity 1. Figure 5 The positions of the opening and observation point 3 in the speaker characteristic parameter testing device are for illustrative purposes only. The positions of the opening and observation point 3 can be adjusted according to actual needs, and are not limited here.
[0115] Optionally, the above-mentioned loudspeaker characteristic parameter testing device may further include a sealing element (not shown in the figure). The sealing element is disposed between the loudspeaker 2 and the opening to ensure the airtightness of the loudspeaker characteristic parameter testing device.
[0116] Optionally, the above-mentioned loudspeaker characteristic parameter testing device may further include: a signal acquisition unit (not shown in the figure). The signal acquisition unit is used to acquire, but is not limited to: target voltage signal, target sound pressure signal, and target current signal.
[0117] Optionally, the aforementioned loudspeaker characteristic parameter testing device may further include a microphone unit (not shown in the figure). The microphone unit is located inside the cavity 1 at the observation point position 3, opposite the loudspeaker 2. In practice, the microphone unit can be used to acquire target sound pressure signals.
[0118] By using the aforementioned loudspeaker characteristic parameter testing device and its corresponding fitting model, the loudspeaker characteristic parameters can be determined quickly and accurately.
[0119] The following is for reference. Figure 6 It illustrates electronic devices suitable for implementing some embodiments of the present disclosure (such as...). Figure 1 The diagram shows the structure of the computing device 101)600. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.
[0120] like Figure 6 As shown, the electronic device 600 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory 602 or a program loaded from a storage device 608 into a random access memory 603. The random access memory 603 also stores various programs and data required for the operation of the electronic device 600. The processing unit 601, the read-only memory 602, and the random access memory 603 are interconnected via a bus 604. An input / output interface 605 is also connected to the bus 604.
[0121] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 6 Each box shown can represent a device or multiple devices as needed.
[0122] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a read-only memory 602. When the computer program is executed by the processing device 601, it performs the functions defined above in the methods of some embodiments of this disclosure.
[0123] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0124] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0125] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device. The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: acquire a target signal set, wherein the target signal set includes a target voltage signal, and further includes at least one of a target sound pressure signal and a target current signal; the target voltage signal is a voltage signal of a loudspeaker whose characteristic parameters are to be tested, fixed in a loudspeaker characteristic parameter testing device; the target sound pressure signal is a sound pressure signal acquired at an observation point location opposite the loudspeaker in the loudspeaker characteristic parameter testing device; and the target current signal is a current signal of the loudspeaker whose characteristic parameters are to be tested; determine a fitting equation based on the target signal set and a pre-constructed fitting model; and perform loudspeaker parameter fitting on the fitting equation to determine the loudspeaker characteristic parameters.
[0126] Computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0127] 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 this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated 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 operation, or using a combination of dedicated hardware and computer instructions.
[0128] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0129] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.
Claims
1. A method for testing loudspeaker characteristic parameters, comprising: Acquire a target signal group, wherein the target signal group includes a target voltage signal, a target sound pressure signal, and a target current signal. The target voltage signal is the voltage signal of the loudspeaker whose characteristic parameters are to be tested, which is fixed in the loudspeaker characteristic parameter testing device. The target sound pressure signal is the sound pressure signal collected at the observation point position opposite to the loudspeaker in the loudspeaker characteristic parameter testing device. The target sound pressure signal is acquired under the condition of limiting the loudspeaker output volume. The target current signal is the current signal of the loudspeaker whose characteristic parameters are to be tested. Based on the target signal group and the pre-built fitting model, a fitting equation is determined, wherein the pre-built fitting model is an acoustic model, a mechanical model, and an electrical model constructed based on the loudspeaker characteristic parameter testing device and the loudspeaker whose characteristic parameters are to be tested, including: In response to determining that the target signal group includes the target current signal and the target sound pressure signal, the ratio of the target voltage signal and the target current signal at each first frequency is substituted into the fitting model according to the target voltage signal and the target current signal to determine the first fitting equation corresponding to each first frequency respectively; Based on the target voltage signal and the target sound pressure signal, the ratio of the target voltage signal and the target sound pressure signal at each second frequency is substituted into the fitting model to determine the second fitting equation corresponding to each second frequency. The fitting equation is fitted with loudspeaker parameters to determine loudspeaker characteristic parameters, including: An initial fitting array is randomly generated, wherein the initial fitting array includes the initial values corresponding to the speaker feature parameters to be fitted in the first fitting equation, and the deviation of the initial fitting array is less than or equal to a preset deviation; Based on the initial fitting array, loudspeaker parameters are fitted to the first fitting equation corresponding to each first frequency to determine the reference fitting array; Based on the reference fitting array, the speaker parameters are fitted to the second fitting equation corresponding to each second frequency to determine the speaker characteristic parameters.
2. The method according to claim 1, wherein, The fitting model includes: cavity acoustic compliance parameters; and The step of fitting the fitted equation to the loudspeaker parameters to determine the loudspeaker characteristic parameters includes: Set the range of fitted values corresponding to the cavity acoustic compliance parameter; In response to the completion of the setup, the fitted equation is fitted with speaker parameters to determine the speaker characteristic parameters.
3. A loudspeaker characteristic parameter testing apparatus, used to implement the loudspeaker characteristic parameter testing method according to any one of claims 1-2, comprising: A cavity, wherein an opening is provided on one side of the cavity; A loudspeaker whose characteristic parameters are to be tested, wherein the loudspeaker is connected to the cavity through the opening, the loudspeaker faces the inside of the cavity, and the loudspeaker is a loudspeaker whose corresponding characteristic parameters are to be determined by the fitting model corresponding to the loudspeaker characteristic parameter testing device; The loudspeaker characteristic parameter testing device also includes: A microphone unit, wherein the microphone unit is disposed inside the cavity at an observation point position opposite to the speaker.
4. An electronic device, comprising: One or more processors; A storage device on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 2.
5. A computer-readable medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Method for determining transducer linear operational parameters
US6269318B1