Power model parameter judgment method and device, electronic equipment and storage medium

By calculating the voltage and current data of the transducer to determine the calculation parameters of the power model, and using these parameters to build and adjust the power model, the problem of low accuracy of the transducer model parameters is solved, and accurate mechanical state prediction and ultra-amplitude risk reduction are achieved under different air pressures.

CN119865753APending Publication Date: 2025-04-22WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311368815.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, the transducer model parameters are low, resulting in the inability to accurately predict the mechanical state of the transducer, especially at different air pressures.

Method used

By obtaining the voltage data and current data of the transducer, calculate the power model calculation parameters, and use these parameters to build the power model. Then, the parameter accuracy of the power model calculation parameters is determined based on the measured signals and predicted signals, so that the model parameters are adjusted to improve accuracy.

Benefits of technology

The mechanical state of the transducer is accurately predicted under different air pressures, which improves the accuracy of model parameters and avoids the risk of super amplitude.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865753A_ABST
    Figure CN119865753A_ABST
Patent Text Reader

Abstract

The invention provides an electric power model parameter judgment method and device, electronic equipment and a storage medium. The electric power model parameter judgment method comprises the steps that electric power model measurement and calculation parameters and an electric power model containing the electric power model measurement and calculation parameters are acquired; according to the electric power model and the actual measurement signals, prediction signals of the transducer are determined, the actual measurement signals comprise actual measurement current signals and actual measurement voltage signals, and the prediction signals comprise at least one of prediction current signals and prediction voltage signals; and according to the actually measured signal and the prediction signal, determining the parameter accuracy of the power model measurement and calculation parameter. The method can judge whether the parameters measured and calculated by the power model are accurate or not, and avoids the phenomenon that the model cannot accurately predict the mechanical state of the transducer due to low parameter accuracy of the transducer model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio technology, and in particular to a method, device, electronic device and storage medium for determining power model parameters. Background Art

[0002] Transducer devices (speakers, motors, etc.) are affected by environmental factors, and their power models will change. If a fixed model is used to predict the mechanical state of the transducer, it is bound to produce large deviations. For example, the vibration amplitude of the speaker's diaphragm is usually predicted using an amplitude model. Under different air pressures, the mathematical form of the speaker's amplitude model remains unchanged, but the model parameters vary greatly. Therefore, if the static amplitude protection algorithm is still used for speakers under low air pressure, there will be a greater risk of over-amplitude.

[0003] In order to solve the low-pressure over-amplitude problem of the static amplitude protection algorithm, it is necessary to effectively predict the speaker amplitude at different air pressures, that is, it is necessary to be able to update the speaker model parameters in real time at different air pressures. However, conventional parameter acquisition is affected by a wide range of factors, making the accuracy of parameters obtained by existing solutions generally low, resulting in the model being unable to accurately predict the mechanical state of the transducer. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for determining power model parameters, aiming to solve the technical problem that the accuracy of current transducer model parameters is low, resulting in the model being unable to accurately predict the mechanical state of the transducer.

[0005] In a first aspect, the present application provides a method for determining power model parameters, comprising:

[0006] Obtaining power model calculation parameters and a power model including the power model calculation parameters;

[0007] Determine a predicted signal of the transducer according to the power model and the measured signal, the measured signal comprising a measured current signal and a measured voltage signal, and the predicted signal comprising at least one of a predicted current signal and a predicted voltage signal;

[0008] The parameter accuracy of the power model calculation parameters is determined based on the measured signals and the predicted signals.

[0009] In some embodiments, the step of determining the parameter accuracy of the power model calculated parameters according to the measured signal and the predicted signal includes:

[0010] Determine an error signal according to the predicted signal and the measured signal;

[0011] The parameter accuracy of the power model calculation parameters is determined based on the power of the error signal and the power of the measured signal.

[0012] In some embodiments, the power model includes an admittance model, and the step of determining the predicted signal of the transducer according to the power model and the measured signal includes:

[0013] The predicted current signal of the transducer is determined based on the measured voltage signal and the admittance model.

[0014] In some embodiments, the step of determining the parameter accuracy of the power model calculated parameters according to the measured signal and the predicted signal includes:

[0015] Determine an error current signal according to the predicted current signal and the measured current signal;

[0016] The parameter accuracy of the power model calculation parameters is determined based on the power of the error current signal and the power of the measured current signal.

[0017] In some embodiments, the power model includes an impedance model, and the step of determining the predicted signal of the transducer according to the power model and the measured signal includes:

[0018] The predicted voltage signal of the transducer is determined based on the measured current signal and the impedance model.

[0019] In some embodiments, the step of determining the parameter accuracy of the power model calculated parameters according to the measured signal and the predicted signal includes:

[0020] Determine an error voltage signal according to the predicted voltage signal and the measured voltage signal;

[0021] The parameter accuracy of the power model measurement parameters is determined based on the power of the error voltage signal and the power of the measured voltage signal.

[0022] In some embodiments, the power model includes an admittance model and an impedance model, and the step of determining the predicted signal of the transducer according to the power model and the measured signal includes:

[0023] Determine the predicted current signal of the transducer according to the measured voltage signal and the admittance model;

[0024] The predicted voltage signal of the transducer is determined based on the measured current signal and the impedance model.

[0025] In some embodiments, the step of determining the parameter accuracy of the power model calculated parameters according to the measured signal and the predicted signal includes:

[0026] Determine an error current signal according to the predicted current signal and the measured current signal;

[0027] Determine an error voltage signal according to the predicted voltage signal and the measured voltage signal;

[0028] The parameter accuracy of the power model calculation parameters is determined based on the power of the error voltage signal, the power of the measured voltage signal, the power of the error current signal, and the power of the measured current signal.

[0029] In some embodiments, the method further comprises:

[0030] Configure model parameters and adjust weights according to parameter accuracy;

[0031] Determine the power model parameters at the current moment according to the power model parameters at the previous moment, the power model calculation parameters, and the model parameter adjustment weights;

[0032] The amplitude model of the transducer is determined according to the power model parameters at the previous moment and the power model parameters at the current moment.

[0033] In some embodiments, the step of obtaining the power model calculation parameters and the power model including the power model calculation parameters includes:

[0034] Obtaining voltage data and current data of the transducer;

[0035] Determine power model calculation parameters and a power model including the power model calculation parameters according to the voltage data and the current data;

[0036] The voltage data and the current data include voltages and currents corresponding to N different frequencies, where N is an integer greater than or equal to 3.

[0037] In some embodiments, the voltage data and the current data include voltages and currents corresponding to N different frequencies, where N is an integer greater than or equal to 3;

[0038] The steps of determining the power model calculation parameters and the power model including the power model calculation parameters according to the voltage data and the current data include:

[0039] Determining an actual DC resistance of the transducer based on a transducer voltage and a current corresponding to at least one frequency;

[0040] According to the transducer voltages and currents corresponding to the N different frequencies, the actual resonance angular frequency, the actual quality factor and the actual mechanical quality factor of the transducer are determined.

[0041] In a second aspect, the present application provides a power model parameter determination device, comprising:

[0042] An acquisition module, the acquisition module is used to acquire power model calculation parameters and a power model including the power model calculation parameters;

[0043] A signal prediction module, the signal prediction module is used to determine a predicted signal of the transducer according to the power model and the measured signal, the measured signal includes a measured current signal and a measured voltage signal, and the predicted signal includes at least one of a predicted current signal and a predicted voltage signal;

[0044] The parameter judgment module is used to determine the parameter accuracy of the power model calculation parameters based on the measured signal and the predicted signal.

[0045] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the power model parameter determination method as described in the first aspect.

[0046] In a fourth aspect, the present application provides a storage medium, characterized in that the storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the power model parameter determination method as described in the first aspect.

[0047] The present application calculates the power model measurement parameters through voltage data and current data, and then uses the power model including the power model measurement parameters to infer the predicted signal of the transducer through the measured signal, and uses the measured signal and the predicted signal to verify whether the power model is accurate, thereby determining the parameter accuracy of the power model measurement parameters, and thus achieving the purpose of judging whether the power model measurement parameters are accurate, avoiding the phenomenon that the transducer model parameter accuracy is low and the model cannot accurately predict the mechanical state of the transducer. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 It is a flow chart of a method for determining power model parameters provided in an embodiment of the present application;

[0050] Figure 2 It is another partial flow chart of the method for determining power model parameters provided in the embodiment of the present application;

[0051] Figure 3 It is another partial flow chart of the method for determining power model parameters provided in the embodiment of the present application;

[0052] Figure 4 It is another partial flow chart of the method for determining power model parameters provided in the embodiment of the present application;

[0053] Figure 5 It is a flow chart of a method for adjusting power model parameters provided in an embodiment of the present application;

[0054] Figure 6 It is a schematic diagram of a process for determining power model calculation parameters provided in an embodiment of the present application;

[0055] Figure 7 It is a module diagram of the power model parameter judgment device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0057] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0058] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0059] The embodiments of the present application provide a method, device, electronic device and storage medium for determining power model parameters, which are described in detail below.

[0060] First, see Figure 1 , Figure 1 A schematic diagram of a structure of a method for determining power model parameters in an embodiment of the present application is shown, wherein the method for determining power model parameters includes:

[0061] Step S101, obtaining power model calculation parameters and a power model including the power model calculation parameters;

[0062] Specifically, the power model measurement parameters can be calculated through the current data and voltage data of the transducer, wherein the transducer refers to a device that converts electric energy and acoustic energy into each other, such as an electric-acoustic transducer, an acoustic-electric transducer, or a transceiver. In some embodiments of the present application, such as an embodiment in which the transducer is a speaker, the voltage data and current data of the transducer refer to the voltage and current at both ends of the speaker voice coil, and the voltage data and current data are obtained by monitoring the voltage and current at both ends of the speaker voice coil, for example, by collecting the voltage at both ends of the speaker voice coil through a voltage collector, and collecting the current at both ends of the speaker voice coil through a current collector; or, the voltage data and current data can also be obtained through analog signals, by intercepting the voltage values ​​and current values ​​corresponding to multiple frequencies of the analog signal, and converting the voltage value and current value into digital signals, so as to calculate the power model measurement parameters of the speaker.

[0063] In some embodiments of the present application, the voltage data and the current data include speaker voice coil voltages and currents corresponding to N different frequencies, where N is an integer greater than or equal to 3. Preferably, the voltage data and the current data include speaker voice coil voltages and currents corresponding to 3 different frequencies. It can be understood that the voltage data and the current data can also be selected from more frequency points.

[0064] In some embodiments of the present application, the power model includes an impedance model, so that the predicted voltage signal is predicted by the impedance model according to the measured current signal. In some embodiments of the present application, the power model includes an admittance model, so that the predicted current signal is predicted by the admittance model according to the measured voltage signal. In some other embodiments of the present application, the power model may also include an impedance model and an admittance model at the same time, so that the predicted voltage signal is predicted by the impedance model according to the measured current signal, and the predicted current signal is predicted by the admittance model according to the measured voltage signal.

[0065] The power model measurement parameters may include DC resistance, resonance angular frequency, quality factor and mechanical quality factor. It should be noted that the power model measurement parameters include all parameters of the power model, such as parameters of the impedance model and / or the admittance model, so as to construct the impedance model and / or the admittance model according to the power model measurement parameters.

[0066] For example, the impedance model of a speaker can be constructed using the speaker characteristic curve. The impedance model of the speaker can be expressed using the following function:

[0067]

[0068] Where Hz is the impedance amplitude, s is the frequency, Re is the DC resistance of the speaker, w0 is the resonant angular frequency of the speaker, Q ts is the quality factor of the speaker, Q ms is the mechanical quality factor of the loudspeaker, and Le is the inductance of the loudspeaker voice coil.

[0069] It should be noted that, since the impedance amplitude of the speaker at the corresponding frequency can be directly calculated through the voltage data and the current data, if the solution of the above function is known, the parameters of the function can be reversely deduced through the above function to solve the actual impedance model parameters of the speaker, such as the actual resonance angular frequency w0 of the speaker in the above function, the actual mechanical quality factor Q of the speaker ms , the actual quality factor Q of the loudspeaker ts Etc. For example, the actual impedance model parameters of the loudspeaker can be obtained by least square method or solving multiple sets of equations.

[0070] Step S102, determining a predicted signal of the transducer according to the power model and the measured signal, the measured signal including a measured current signal and a measured voltage signal, and the predicted signal including at least one of a predicted current signal and a predicted voltage signal;

[0071] After the power model is obtained, the predicted signal of the transducer can be predicted based on the measured signal through the power model. In some embodiments of the present application, for example, for embodiments in which the power model includes an impedance model, since the impedance model can measure the impedance value of the corresponding frequency, the impedance model can predict the predicted voltage signal based on the measured current signal. In some other embodiments of the present application, for example, for embodiments in which the power model includes an admittance model, since the admittance model can measure the inverse of the impedance value of the corresponding frequency, the admittance model can predict the predicted current signal based on the measured voltage signal.

[0072] In some other embodiments of the present application, for example, for an embodiment in which the power model includes both an impedance model and an admittance model, the impedance model can predict a predicted voltage signal based on the measured current signal, and at the same time, the admittance model can predict a predicted current signal based on the measured voltage signal, so as to compare the measured current signal with the predicted current signal, the measured voltage signal with the predicted voltage signal, and determine whether the power model prediction is accurate.

[0073] Step S103: determining the accuracy of the parameters calculated by the power model according to the measured signal and the predicted signal.

[0074] After obtaining the measured signal and the predicted signal, the measured signal and the predicted signal can be compared to determine the parameter accuracy of the power model calculation parameters in the power model.

[0075] In some embodiments of the present application, for example, for an embodiment in which the power model includes an impedance model, the measured voltage signal and the predicted voltage signal can be compared to determine the parameter accuracy of the power model measured parameters in the power model. In some other embodiments of the present application, for example, for an embodiment in which the power model includes an admittance model, the measured current signal and the predicted current signal can be compared to determine the parameter accuracy of the power model measured parameters in the power model. In some embodiments of the present application, for example, for an embodiment in which the power model includes both an impedance model and an admittance model, the measured current signal and the predicted current signal, the measured voltage signal and the predicted voltage signal can be compared to determine the parameter accuracy of the power model measured parameters in the power model.

[0076] In some embodiments of the present application, an error signal can be determined based on the predicted signal and the measured signal, and then the parameter accuracy of the power model measured parameters can be determined based on the power of the error signal and the power of the measured signal. The error signal can refer to the signal corresponding to the time domain difference between the predicted signal and the measured signal. In some embodiments of the present application, the parameter accuracy of the power model measured parameters can be determined based on the power of the measured signal and the power of the predicted signal, and then by the ratio of the power of the measured signal to the power of the predicted signal. For example, the power ratio of the measured voltage signal to the predicted voltage signal is used as the parameter accuracy; for another example, the power ratio of the measured current signal to the predicted current signal is used as the parameter accuracy; for another example, the average value / mean square value of the power ratio of the measured current signal to the predicted current signal and the power ratio of the measured voltage signal to the predicted voltage signal is used as the parameter accuracy.

[0077] In an embodiment of the present application, the present application calculates the power model measurement parameters through voltage data and current data, and then uses the power model including the power model measurement parameters to infer the predicted signal of the transducer through the measured signal, and uses the measured signal and the predicted signal to verify whether the power model is accurate, thereby determining the parameter accuracy of the power model measurement parameters, and then determining whether the power model measurement parameters are accurate, thereby avoiding the phenomenon that the transducer model parameter accuracy is low and the model cannot accurately predict the mechanical state of the transducer.

[0078] In some embodiments of the present application, see Figure 2 , Figure 2 Another schematic diagram of a flow chart of a method for determining power model parameters in an embodiment of the present application is shown, wherein the method for determining power model parameters includes:

[0079] Step S201, determining a predicted current signal of the transducer according to the measured voltage signal and the admittance model;

[0080] Step S202, determining an error current signal according to the predicted current signal and the measured current signal;

[0081] Step S203, determining the parameter accuracy of the parameters calculated by the power model according to the power of the error current signal and the power of the measured current signal.

[0082] Taking the transducer as a loudspeaker as an example, the admittance model of the loudspeaker can be expressed by the following function:

[0083]

[0084] Among them, I(s) is the current signal function, U(s) is the voltage signal function, w0 is the resonant angular frequency of the speaker, Q ts is the quality factor of the speaker, Q msis the mechanical quality factor of the loudspeaker, R e is the DC resistance of the speaker.

[0085] Since the function corresponding to the measured voltage signal is known, the predicted current signal can be determined by multiplying the product of the admittance model function and the measured voltage signal function as a function of the predicted current signal, so as to facilitate comparison between the predicted current signal and the measured current signal.

[0086] At the same time, it should be noted that there is a time domain difference between the predicted current signal and the measured current signal. The error current signal refers to the signal corresponding to the time domain difference between the predicted current signal and the measured current signal. The power ratio of the error current signal to the measured current signal is the parameter accuracy of the power model measurement parameters. That is to say, the greater the parameter accuracy, the greater the power of the error current signal, which means the lower the current prediction accuracy of the power model; conversely, the smaller the parameter accuracy, the smaller the power of the error current signal, which means the higher the current prediction accuracy of the power model.

[0087] In some other embodiments of the present application, continue to refer to Figure 3 , Figure 3 Another schematic diagram of a flow chart of a method for determining power model parameters in an embodiment of the present application is shown, wherein the method for determining power model parameters includes:

[0088] Step S301, determining a predicted voltage signal of the transducer according to the measured current signal and the impedance model;

[0089] Step S302, determining an error voltage signal according to the predicted voltage signal and the measured voltage signal;

[0090] Step S303: determining the parameter accuracy of the power model measurement parameters according to the power of the error voltage signal and the power of the measured voltage signal.

[0091] For example, taking the transducer as a loudspeaker, the impedance model of the loudspeaker can be expressed by the following function:

[0092]

[0093] Where Hz is the impedance amplitude, s is the frequency, Re is the DC resistance of the speaker, w0 is the resonant angular frequency of the speaker, Q ts is the quality factor of the speaker, Q ms is the mechanical quality factor of the loudspeaker, and Le is the inductance of the loudspeaker voice coil.

[0094] Since the function corresponding to the measured current signal is known, the predicted voltage signal can be determined by multiplying the impedance model function by the measured current signal function as a function of the predicted voltage signal, so as to compare the predicted voltage signal with the measured voltage signal.

[0095] Similarly, there is a time domain difference between the predicted voltage signal and the measured voltage signal. The error voltage signal refers to the signal corresponding to the time domain difference between the predicted voltage signal and the measured voltage signal. The ratio of the power of the error voltage signal to the power of the measured voltage signal is the parameter accuracy of the power model measurement parameters. That is to say, the greater the parameter accuracy, the greater the power of the error voltage signal, which means the lower the power model voltage prediction accuracy; conversely, the smaller the parameter accuracy, the smaller the power of the error voltage signal, which means the higher the power model voltage prediction accuracy.

[0096] In some embodiments of the present application, see Figure 4 , Figure 4 Another schematic diagram of a flow chart of a method for determining power model parameters in an embodiment of the present application is shown, wherein the method for determining power model parameters includes:

[0097] Step S401, determining a predicted current signal of the transducer according to the measured voltage signal and the admittance model;

[0098] Step S402: determining a predicted voltage signal of the transducer according to the measured current signal and the impedance model.

[0099] Step S403, determining an error current signal according to the predicted current signal and the measured current signal;

[0100] Step S404, determining an error voltage signal according to the predicted voltage signal and the measured voltage signal;

[0101] Step S405 , determining the parameter accuracy of the power model measurement parameters according to the power of the error voltage signal, the power of the measured voltage signal, the power of the error current signal, and the power of the measured current signal.

[0102] In the above embodiment, since the error current signal and the error voltage signal are determined at the same time, the parameter accuracy of the power model measurement parameter can be determined by combining the first ratio corresponding to the power of the error voltage signal and the power of the measured voltage signal, and the second ratio corresponding to the power of the error current signal and the power of the measured current signal. For example, the average value of the first ratio and the second ratio can be used as the parameter accuracy. For another example, the mean square error of the first ratio and the second ratio can also be used as the parameter accuracy.

[0103] In some embodiments of the present application, after obtaining the parameter accuracy, refer to Figure 5 , Figure 5 A schematic diagram of a flow chart of a method for adjusting power model parameters in an embodiment of the present application is shown. The method for adjusting power model parameters includes:

[0104] Step S501, configuring model parameter adjustment weights according to parameter accuracy;

[0105] Specifically, the model parameter adjustment weight is inversely proportional to the parameter accuracy. The smaller the parameter accuracy, the larger the model parameter adjustment weight. For example, the smaller the ratio of the error voltage signal power to the measured voltage signal power, the higher the accuracy of the voltage signal predicted by the power model. Therefore, a larger model parameter adjustment weight can be configured. Conversely, the smaller the parameter accuracy, the larger the model parameter adjustment weight. For example, the larger the ratio of the error current signal power to the measured current signal power, the lower the accuracy of the current signal predicted by the power model. Therefore, a smaller model parameter adjustment weight can be configured.

[0106] Those skilled in the art will appreciate that the relationship between parameter accuracy and model parameter adjustment weights of transducers of different types / models (e.g., speakers) is different, and the relationship between parameter accuracy and model parameter adjustment weights can be obtained by those skilled in the art through multiple experimental tests.

[0107] Step S502, determining the power model parameters at the current moment according to the power model parameters at the previous moment, the power model calculation parameters and the model parameter adjustment weights;

[0108] After obtaining the model parameter adjustment weight, the current power model parameters can be determined according to the power model parameters at the previous moment, the power model calculation parameters, and the model parameter adjustment weight. Specifically, the power model parameters at the previous moment, the power model calculation parameters, the model parameter adjustment weight, and the power model parameters at the current moment can satisfy the following formula:

[0109] Vn=Vn-1+X*W

[0110] Among them, Vn is the power model parameter at the current moment, Vn-1 is the power model parameter at the previous moment, X is the model parameter adjustment weight, and W is the power model measurement parameter.

[0111] In some embodiments of the present application, for example, for an embodiment in which the transducer is a speaker, the power model parameters at the current moment may include the resonant angular frequency of the speaker, the quality factor of the speaker, the mechanical quality factor of the speaker, and the DC resistance of the speaker. The resonant angular frequency of the speaker, the quality factor of the speaker, the mechanical quality factor of the speaker, and the DC resistance of the speaker can all be calculated according to the above formula, and then the power model parameters at the current moment (resonant angular frequency, quality factor, mechanical quality factor, and DC resistance) are output.

[0112] Step S503: determining the amplitude model of the transducer according to the power model parameters at the previous moment and the power model parameters at the current moment.

[0113] Taking the transducer as a loudspeaker as an example, the amplitude model of the loudspeaker can be expressed by the following function:

[0114]

[0115] Among them, Hx is the amplitude of the speaker, Bl is the force point coupling factor of the speaker, Mms is the effective vibration mass of the speaker unit, and g is a constant obtained in the process of modeling the speaker amplitude model.

[0116] After obtaining the current power model parameters, the transducer model can be updated. For example, the amplitude model of the speaker can be updated according to the current power model parameters; for another example, the impedance model of the speaker can be updated according to the current power model parameters.

[0117] In some embodiments of the present application, see Figure 6 , Figure 6 A schematic diagram of a process for determining power model calculation parameters in an embodiment of the present application is shown, wherein the steps of determining the power model calculation parameters and the power model including the power model calculation parameters according to the voltage data and the current data include:

[0118] Step 601, determining the actual DC resistance of the transducer according to the transducer voltage and current corresponding to at least one frequency;

[0119] It should be noted that the actual DC resistance of the transducer can be calculated based on the transducer voltage and current corresponding to the minimum frequency among N different frequencies. Since the transducer voltage and current corresponding to the minimum frequency can be considered as DC voltage and DC current, the actual DC resistance of the impedance model can be calculated by the speaker voice coil voltage and current at the minimum frequency. In some embodiments of the present application, for example, for the above-mentioned embodiment of determining the actual DC resistance of the transducer based on the transducer voltage and current corresponding to multiple frequencies, the calculated impedance value may be multiple values, so the impedance values ​​of multiple groups of data can also be processed to obtain the actual DC resistance. Exemplarily, the data processing can be probability statistics or filtering of the voltage and current data, and then the actual DC resistance is calculated.

[0120] Step S602: determining the actual resonance angular frequency, the actual quality factor and the actual mechanical quality factor of the transducer according to the transducer voltages and currents corresponding to N different frequencies.

[0121] It should be noted that, since the impedance amplitude of the speaker at the corresponding frequency can be directly calculated through the voltage data and the current data, in the case of the solution of the impedance model function, the parameter value of the function can be reversely deduced through the impedance model function, so as to solve the actual resonance angular frequency, actual quality factor and actual mechanical quality factor of the speaker. Exemplarily, the actual impedance model parameters of the speaker can be obtained by solving the least square method or multiple sets of equations.

[0122] For example, the impedance corresponding to each frequency can be calculated based on the speaker voice coil voltage and current corresponding to N different frequencies; then, the impedance function corresponding to each frequency is constructed based on the impedance corresponding to each frequency, N different frequencies and the impedance model; finally, the actual resonant angular frequency, actual quality factor and actual mechanical quality factor of the speaker voice coil are determined based on the impedance function corresponding to each frequency.

[0123] Specifically, the impedance can be calculated using the following formula:

[0124] Z(f)=V(f) / I(f)

[0125] Wherein, Z(f) is the impedance corresponding to the frequency point, V(f) is the voltage amplitude of the loudspeaker voice coil corresponding to the frequency point, and I(f) is the current amplitude of the loudspeaker voice coil corresponding to the frequency point.

[0126] Therefore, using the above formula, the impedance corresponding to each frequency of the speaker can be calculated based on the speaker voice coil voltage and current corresponding to N different frequencies. Therefore, when the N solutions corresponding to different frequencies of the impedance model function are obtained, the frequency and impedance are substituted into the impedance model function to obtain multiple impedance functions, and by jointly solving the multiple impedance functions, the actual resonant angular frequency, actual quality factor and actual mechanical quality factor of the speaker voice coil can be obtained.

[0127] In some embodiments of the present application, the frequency, impedance, actual resonant angular frequency, actual quality factor, and actual mechanical quality factor satisfy the following formula:

[0128]

[0129] Where f is the frequency, w0 is the actual resonant angular frequency, Q ts is the actual quality factor, Q ms is the actual mechanical quality factor.

[0130] That is to say, in the above formula, there are three unknown parameters, namely the actual resonance angular frequency w0, the actual quality factor Q ts , the actual mechanical quality factor Q ms, since N is an integer greater than or equal to 3, at least three of the above formulas can be constructed through three sets of frequency and impedance values, and finally the actual resonant angular frequency, the actual quality factor and the actual mechanical quality factor can be obtained by combining them.

[0131] In some embodiments of the present application, when N is 3, that is, three unknown parameters can be uniquely solved by three equations. In some other embodiments of the present application, when N is greater than 3, multiple sets of three-variable equations can be constructed and multiple solutions can be used to find the optimal solution; or, multiple three-variable equations can be constructed and the least squares solution can be finally found.

[0132] Furthermore, in order to better implement the power model parameter determination method in the embodiment of the present application, on the basis of the power model parameter determination method, the present application also provides a power model parameter determination device, see Figure 7 , Figure 7 A schematic diagram of a module of a power model parameter determination device in an embodiment of the present application is shown, wherein the power model parameter determination device 700 includes:

[0133] An acquisition module 701 is used to acquire power model calculation parameters and a power model including the power model calculation parameters;

[0134] A signal prediction module 702, the signal prediction module 702 is used to determine a predicted signal of the transducer according to the power model and the measured signal, the measured signal includes a measured current signal and a measured voltage signal, and the predicted signal includes at least one of a predicted current signal and a predicted voltage signal;

[0135] The parameter determination module 703 is used to determine the parameter accuracy of the power model measurement parameters according to the measured signal and the predicted signal.

[0136] It should be understood that Figure 6The device and its modules shown can be implemented in various ways. For example, in some embodiments, the device and its modules can be implemented by hardware, software or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or a dedicated design hardware. Those skilled in the art will understand that the above-mentioned method and system can be implemented using computer executable instructions and / or included in a processor control code, for example, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The system and its modules of the present application can not only be implemented by hardware circuits such as ultra-large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., but can also be implemented by software such as executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software (for example, firmware).

[0137] It should be noted that the above description of the device and its modules is only for convenience of description and does not limit the present application to the scope of the embodiments. It is understandable that, after understanding the principle of the system, those skilled in the art may arbitrarily combine the modules or form a subsystem to connect with other modules without deviating from the principle. For example, Figure 6 The acquisition module 701, signal prediction module 702, and parameter judgment module 703 disclosed in the system can be different modules in a system, or one module can implement the functions of two or more of the above modules. For example, the acquisition module 701 and the signal prediction module 702 can be two modules with acquisition and parameter determination functions respectively, or one module with both acquisition and judgment functions.

[0138] Furthermore, an embodiment of the present application also provides an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the power model parameter judgment method described in any of the above embodiments. The electronic device can be, but is not limited to, a weight scale, a body fat scale, a nutrition scale, an infrared electronic thermometer, a pulse oximeter, a human body composition analyzer, a mobile power supply, a wireless charger, a fast charger, a car charger, an adapter, a display, a Universal Serial Bus (USB) docking station, a stylus, a True Wireless Stereo (TWS) headset, a car console, a car, a smart wearable device, a mobile terminal, a smart home device, etc.

[0139] Among them, smart wearable devices include but are not limited to smart watches, smart bracelets, and cervical massagers. Mobile terminals include but are not limited to smart phones, laptops, tablets, and point of sales terminals (POS). Smart home devices include but are not limited to smart sockets, smart rice cookers, smart sweepers, and smart lights.

[0140] Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the power model parameter determination methods provided in the embodiments of the present invention. For example, the computer program is loaded by a processor to execute the following steps:

[0141] Obtaining voltage data and current data of the transducer;

[0142] Determine power model calculation parameters and a power model including the power model calculation parameters according to the voltage data and the current data;

[0143] Determine a predicted signal of the transducer according to the power model and the measured signal, the measured signal comprising a measured current signal and a measured voltage signal, and the predicted signal comprising at least one of a predicted current signal and a predicted voltage signal;

[0144] The parameter accuracy of the power model calculation parameters is determined based on the measured signals and the predicted signals.

[0145] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0146] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.

[0147] At the same time, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in one or more embodiments of the present application can be appropriately combined.

[0148] Similarly, it should be noted that in order to simplify the description of the disclosure of this application and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this application, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the object of this application are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0149] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values ​​is as accurate as possible within the feasible range.

[0150] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this application is hereby incorporated by reference in its entirety, except for application history documents that are inconsistent with or conflicting with the content of this application, and documents that limit the broadest scope of the claims of this application (currently or later attached to this application). It should be noted that if the descriptions, definitions, and / or use of terms in the accompanying materials of this application are inconsistent or conflicting with the content described in this application, the descriptions, definitions, and / or use of terms in this application shall prevail.

[0151] The above is a detailed introduction to an electric power model parameter judgment method, device, electronic device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for determining power model parameters, characterized in that: include: Acquiring power model calculation parameters and a power model including the power model calculation parameters; Determining a predicted signal of the transducer according to the power model and the measured signal, the measured signal comprising a measured current signal and a measured voltage signal, and the predicted signal comprising at least one of a predicted current signal and a predicted voltage signal; The parameter accuracy of the parameters calculated by the power model is determined according to the measured signal and the predicted signal.

2. The method for determining electric power model parameters according to claim 1, wherein: The step of determining the parameter accuracy of the power model measured parameters according to the measured signal and the predicted signal comprises: Determine an error signal according to the predicted signal and the measured signal; The parameter accuracy of the parameters calculated by the power model is determined according to the power of the error signal and the power of the measured signal.

3. The method for determining electric power model parameters according to claim 1, wherein: The power model includes an admittance model, and the step of determining the predicted signal of the transducer according to the power model and the measured signal includes: A predicted current signal of the transducer is determined according to the measured voltage signal and the admittance model.

4. The method for determining electric power model parameters according to claim 3, wherein: The step of determining the parameter accuracy of the power model measured parameters according to the measured signal and the predicted signal comprises: Determining an error current signal according to the predicted current signal and the measured current signal; The parameter accuracy of the parameters calculated by the power model is determined according to the power of the error current signal and the power of the measured current signal.

5. The method for determining electric power model parameters according to claim 1, wherein: The power model includes an impedance model, and the step of determining the predicted signal of the transducer according to the power model and the measured signal includes: A predicted voltage signal of the transducer is determined according to the measured current signal and the impedance model.

6. The method for determining electric power model parameters according to claim 5, wherein: The step of determining the parameter accuracy of the power model measured parameters according to the measured signal and the predicted signal comprises: Determining an error voltage signal according to the predicted voltage signal and the measured voltage signal; The parameter accuracy of the parameters calculated by the power model is determined according to the power of the error voltage signal and the power of the measured voltage signal.

7. The method for determining electric power model parameters according to claim 1, wherein: The power model includes an admittance model and an impedance model. The step of determining the predicted signal of the transducer according to the power model and the measured signal includes: Determining a predicted current signal of the transducer according to the measured voltage signal and the admittance model; A predicted voltage signal of the transducer is determined according to the measured current signal and the impedance model.

8. The method for determining electric power model parameters according to claim 7, wherein: The step of determining the parameter accuracy of the power model measured parameters according to the measured signal and the predicted signal comprises: Determining an error current signal according to the predicted current signal and the measured current signal; Determining an error voltage signal according to the predicted voltage signal and the measured voltage signal; The parameter accuracy of the power model measurement parameters is determined according to the power of the error voltage signal, the power of the measured voltage signal, the power of the error current signal, and the power of the measured current signal.

9. The method for determining electric power model parameters according to claim 1, wherein: The method further comprises: According to the parameter accuracy, configure the model parameter adjustment weights; Determine the power model parameters at the current moment according to the power model parameters at the previous moment, the power model measurement parameters and the model parameter adjustment weights; The power model of the transducer is updated according to the power model parameters at the previous moment and the power model parameters at the current moment.

10. The method for determining electric power model parameters according to claim 1, wherein: The step of obtaining the power model calculation parameters and the power model including the power model calculation parameters comprises: Obtaining voltage data and current data of the transducer; Determining, according to the voltage data and the current data, power model calculation parameters and a power model including the power model calculation parameters; The voltage data and the current data include voltages and currents corresponding to N different frequencies, where N is an integer greater than or equal to 3.

11. The method for determining electric power model parameters according to claim 10, wherein: The step of determining the power model calculation parameters and the power model including the power model calculation parameters according to the voltage data and the current data comprises: Determining an actual DC resistance of the transducer according to a transducer voltage and a current corresponding to at least one frequency; According to the transducer voltages and currents corresponding to the N different frequencies, the actual resonance angular frequency, the actual quality factor and the actual mechanical quality factor of the transducer are determined.

12. A power model parameter determination device, characterized in that: include: An acquisition module, the acquisition module is used to acquire power model calculation parameters and a power model including the power model calculation parameters; A signal prediction module, the signal prediction module is used to determine a predicted signal of the transducer according to the power model and a measured signal, the measured signal includes a measured current signal and a measured voltage signal, and the predicted signal includes at least one of a predicted current signal and a predicted voltage signal; A parameter determination module is used to determine the parameter accuracy of the parameters calculated by the power model according to the measured signal and the predicted signal.

13. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the power model parameter determination method according to any one of claims 1 to 11.

14. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the power model parameter determination method according to any one of claims 1 to 11.