Speaker system identification method and device, storage medium and communication terminal

The dual-model structure handles the linear and nonlinear parameters of the loudspeaker system, which solves the problem of the inability to accurately measure the nonlinear parameters of the loudspeaker in the existing technology, achieves accurate reflection and state prediction of the loudspeaker performance, and avoids excitation control failure.

CN111796793BActive Publication Date: 2024-10-01AAC TECHNOLOGIES PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010538169.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-12
Publication Date
2024-10-01
Estimated Expiration
2040-06-12

AI Technical Summary

Technical Problem

The existing loudspeaker system identification method cannot accurately measure the nonlinear parameters of the loudspeaker, resulting in the inability to correctly reflect the performance of the loudspeaker under large signal conditions, affecting design and quality control.

Method used

A dual-model structure is adopted, and the linear and nonlinear parameters of the speaker system are processed respectively through the first speaker model and the second speaker model. The measured voltage and current signals are used to update the model to ensure the accuracy of parameter estimation and state prediction.

Benefits of technology

It achieves accurate reflection of the speaker system, avoids excitation control failure or malfunction caused by unreasonable parameter estimation, and reduces the impact of test errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111796793B_ABST
    Figure CN111796793B_ABST
Patent Text Reader

Abstract

The present invention provides a speaker system identification method and its device, storage medium and communication terminal. The method includes: providing an amplified excitation signal to the speaker system to be tested; measuring the voltage signal at both ends of the speaker system and the current signal flowing through the speaker system; inputting the voltage signal and the current signal into a first speaker model and a second speaker model; predicting the state of the speaker system based on the first speaker model; obtaining the linear parameters and nonlinear parameters of the speaker system based on the second speaker model; determining whether to feed back the linear parameters and the nonlinear parameters to the first speaker model to update the first speaker model according to the error situation; predicting the state of the speaker system based on the first speaker model. The present invention adopts a dual model structure, which can avoid problems such as excitation control failure or malfunction caused by unreasonable parameter estimation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of electroacoustic transducer, and in particular to a speaker system identification method and device, a storage medium and a communication terminal. [Background technology]

[0002] As an electroacoustic device in the field of electronic equipment, speakers are increasingly used with the development of the electronic equipment industry, and their product performance is also constantly improving. Speaker parameter measurement is the basis for identifying the electroacoustic conversion behavior of the speaker system, and it also plays an important role in the design, manufacturing and quality control of the speaker.

[0003] The existing speaker system identification methods mainly include: 1. They do not have the function of measuring the nonlinear parameters of the speaker. In actual applications, the speaker system often works under large signal conditions, and the linear speaker system model cannot correctly reflect the performance of the speaker during operation. 2. The estimation of nonlinear parameters is not accurate and reasonable enough.

[0004] Therefore, it is necessary to provide a new speaker system identification method to solve the above technical problems existing in the prior art. [Summary of the invention]

[0005] The object of the present invention is to provide a speaker system identification method and device with reasonable parameter estimation and high accuracy, and also to provide a storage medium and a communication terminal capable of implementing the above speaker system identification method.

[0006] The technical solution of the present invention is as follows:

[0007] A method for identifying a loudspeaker system, comprising:

[0008] providing an amplified excitation signal to the speaker system under test;

[0009] measuring a voltage signal at both ends of the speaker system and a current signal flowing through the speaker system;

[0010] inputting the voltage signal and the current signal into a first speaker model and a second speaker model;

[0011] acquiring linear parameters and nonlinear parameters of the speaker system based on the second speaker model;

[0012] predicting a state of the speaker system based on the second speaker model;

[0013] Calculating a predicted current signal according to the measured voltage signal and the current signal, and calculating an error between the measured current signal and the predicted current signal;

[0014] determining, according to the error condition, whether to feed back the linear parameter and the nonlinear parameter to the first speaker model to update the first speaker model;

[0015] A state of the speaker system is predicted based on the first speaker model.

[0016] A speaker system identification device, comprising:

[0017] A power amplifier part, used for providing an amplified excitation signal to the speaker system to be tested;

[0018] A collection unit, used for measuring a voltage signal at both ends of the speaker system and a current signal flowing through the speaker system, and inputting the voltage signal and the current signal into a first speaker model and a second speaker model;

[0019] an error monitoring unit, configured to calculate a predicted current signal based on the measured voltage signal and the current signal, and calculate an error between the measured current signal and the predicted current signal; and

[0020] a second speaker model, used to obtain linear parameters and nonlinear parameters of the speaker system and predict the state of the speaker system;

[0021] an updating control unit, configured to determine, according to the error condition, whether to feed back the linear parameter and the nonlinear parameter to the first speaker model to update the first speaker model;

[0022] The first speaker model is used to predict the state of the speaker system.

[0023] A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the speaker system identification method.

[0024] A communication terminal comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the speaker system identification method.

[0025] The beneficial effect of the present invention is that: due to the adoption of the above technical solution, the speaker system identification method and device, storage medium and communication terminal provided by the present invention have the function of measuring the linear parameters and nonlinear parameters of the speaker at the same time, and can correctly reflect the performance of the speaker when it is working. The dual-model structure of the first speaker model and the second speaker model can ensure the relative independence of the speaker model that affects the excitation control during the parameter estimation and state prediction process, thereby avoiding problems such as failure or malfunction of the excitation control caused by unreasonable parameter estimation. Determining whether to update the speaker model based on the error situation is conducive to reducing the impact of the test error on the speaker model.

Brief Description of the Drawings

[0026] Figure 1 is a flow chart of a speaker system identification method according to an embodiment of the present invention;

[0027] Figure 2 is a flow chart of a speaker system identification method according to an embodiment of the present invention;

[0028] Figure 3 is a structural block diagram of a speaker system identification device in one embodiment of the present invention;

[0029] Figure 4 FIG. 4 is a structural block diagram of a communication terminal in one embodiment of the present invention.

[0030] Figure 5A , Figure 5B , Figure 5C , Figure 5D , Figure 5E Taking a music signal as an example, the updated values ​​and optimal values ​​of linear parameters, nonlinear parameters and some intermediate variables are obtained using the speaker system identification method of the present invention.

[0031] Fig. 6A , Figure 6B , Figure 6C Taking a music signal as an example, the nonlinear parameter curves estimated by the speaker system identification method of the present invention are Bl-displacement curve, Kms-displacement curve, and Rms-speed curve. [Specific implementation method]

[0032] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.

[0033] The present invention provides a speaker system identification method. In one embodiment, referring to Figure 1 As shown, the method may include:

[0034] Step S2, providing an amplified excitation signal to the speaker system to be tested. The excitation signal may be amplified by a power amplifier and then input to the speaker system to be tested.

[0035] Step S4, measuring the voltage signal at both ends of the speaker system and the current signal flowing through the speaker system. The voltage signal is the voltage measured at both ends of the speaker system under the action of the excitation signal, which can be measured and collected by a voltage acquisition component, and the voltage detection component can be a voltage sensor. The current signal is the current measured by the speaker system under the action of the excitation signal, which can be measured and collected by a current acquisition component, and the current detection component can be a current sensor.

[0036] Step S6: input the voltage signal and the current signal into a first speaker model and a second speaker model. The first speaker model and the second speaker model are speaker models that can describe the speaker system under small signal conditions and large signal conditions, and can simultaneously model linear parameters and nonlinear parameters that can characterize the transfer characteristics between the input and output of the speaker system.

[0037] Step S8: acquiring linear parameters and nonlinear parameters of the speaker system based on the second speaker model.

[0038] Step S10: predicting the state of the speaker system based on the second speaker model. The state of the speaker system may include the diaphragm displacement of the speaker system, the diaphragm velocity of the speaker system, the voice coil current of the speaker system, and other state parameters of the speaker system.

[0039] Step S12, calculating a predicted current signal according to the measured voltage signal and the current signal, and calculating an error between the measured current signal and the predicted current signal.

[0040] Step S14: determining, according to the error condition, whether to feed back the linear parameter and the nonlinear parameter to the first speaker model to update the first speaker model.

[0041] Step S16, predicting the state of the speaker system based on the first speaker model. The linear parameters and nonlinear parameters of the first speaker model are updated only after the linear parameters and nonlinear parameters obtained by the second speaker model are confirmed to be normal. The linear parameters and nonlinear parameters of the second speaker model can be continuously updated. If there is a problem with the speaker state predicted based on the linear parameters and nonlinear parameters updated by the second speaker model, for example, the current error obtained is not less than the preset threshold, then the linear parameters and nonlinear parameters obtained by the second speaker model will not be updated to the first speaker model.

[0042] In one embodiment, reference Figure 2As shown, the method may further include the following steps before step S2: Step S1, receiving an input audio signal and generating the excitation signal controlled by the first speaker model. The audio signal may be a music signal, a voice signal, other audio signals, etc. The input audio signal may be received by an excitation control unit and the excitation signal may be generated. The excitation control unit may be a distortion compensator, a speaker protector, a linear response equalizer, etc., which may obtain the desired speaker response by controlling the excitation signal without changing the speaker structure. If the excitation control unit is a speaker protector such as a displacement protector or a temperature protector, the update of the linear parameters and the nonlinear parameters will be relatively frequent. If the excitation control unit is a distortion compensator, it will pre-calculate whether the compensation voltage will be too large through the newly updated linear parameters and nonlinear parameters.

[0043] In one embodiment, the linear parameter may include the voice coil inductance L of the speaker system. e , Voice coil DC resistance R e , force factor linear term bl0, stiffness coefficient linear term k0, damping coefficient linear term r0 and equivalent vibration mass m t The nonlinear parameters may include the total force factor Bl(x), the total stiffness coefficient K of the speaker system ms (x) and the total damping coefficient R ms (v) and is represented by the following polynomial:

[0044] Bl(x p (t)) = bl0 + bl1 (x p (t));

[0045] K ms (x p (t)) = k0 + k1 (x p (t));

[0046] R ms (v(t))=r0+r1(v(t));

[0047] Among them, x p (t) represents the diaphragm displacement of the speaker system, v(t) represents the diaphragm velocity of the speaker system, n represents the order of each polynomial, bl1, k1, r1 are the coefficients of each term in each polynomial, i is a natural number, taking values ​​of 1, 2, …, n.

[0048] In one embodiment, the voltage models of the first speaker model and the second speaker model may be:

[0049]

[0050] The mechanical models of the first loudspeaker model and the second loudspeaker model may be:

[0051]

[0052] Among them, u e represents the voltage signal across the speaker system, R e represents the DC resistance of the voice coil of the speaker system, L e represents the voice coil inductance of the speaker system, x represents the diaphragm displacement of the speaker system, m t Represents the equivalent vibration mass, R ms (v) represents the total damping coefficient, K ms (x) represents the total stiffness coefficient.

[0053] In one embodiment, the predicted current signal can be expressed as:

[0054] i p (t) = 1 / R e (u m (t)-Bl(x p (t))v(t)-L e di(t)).

[0055] The current error between the measured current signal and the predicted current signal can be expressed as:

[0056] e(t)=i m (t)-i p (t).

[0057] Among them, i p (t) represents the predicted current signal, i m (t) represents the current signal at both ends of the speaker system, R e represents the DC resistance of the voice coil of the speaker system, u m (t) represents the measured voltage signal, x p (t) represents the diaphragm displacement of the speaker system, v(t) represents the diaphragm velocity of the speaker system, and Bl(x) represents the total force factor of the speaker system.

[0058] In one embodiment, the step of determining whether to feed back the linear parameters and the nonlinear parameters to the first speaker model to update the first speaker model according to the error situation may include: updating the linear parameters and the nonlinear parameters to the first speaker model when the current error is less than a preset threshold. When the current error is not less than the preset threshold, the linear parameters and the nonlinear parameters are not updated to the first speaker model. The preset threshold is usually the minimum allowable error value, such as 5%. Further, when the current error is greater than a specified threshold, the linear parameters and the nonlinear parameters are initialized and reset. The specified threshold is usually the maximum allowable error value, such as 10%.

[0059] In one embodiment, the state of the speaker system may include: the diaphragm displacement x of the speaker system p (n), diaphragm velocity v(n), voice coil driving force f p (n). The state of the speaker system may be predicted by the following steps:

[0060] The required intermediate variables are calculated according to the linear parameters of the loudspeaker system. Specifically,

[0061]

[0062]

[0063]

[0064]

[0065]

[0066]

[0067] di(n)=0.8038f s (i m (n)-i m (n-2))-0.5358di(n-1)-0.0718di(n-2;

[0068] Among them, the linear term of damping coefficient r0, the linear term of stiffness coefficient k0, and the equivalent vibration mass m t are the linear parameters of the loudspeaker system, f s represents the sampling rate of the speaker system, ζ, ω z , a1, a2, σ x , σ v Represents an intermediate variable.

[0069] Furthermore, the intermediate state quantity is obtained according to the above intermediate variables. Specifically,

[0070] x p (n) = σ x f p (n-1)-a1x p (n-1)-a2x p (n-2);

[0071] f p (n) = Bl(x p (n))i m (n)-k1(x p (n))x p (n)-r1(v(n))v(n);

[0072] v(n)=σ v (f p (n)-f p (n-2))-a1v(n-1)-a2v(n-2).

[0073] In one embodiment, the linear parameters and nonlinear parameters may be obtained in any of the following ways: ① the nonlinear parameters are obtained offline, and the linear parameters are obtained online; ② a part of the nonlinear parameters are obtained offline, and another part of the linear parameters and the nonlinear parameters are obtained online. The identification of the speaker system in an offline state can achieve the acquisition of ideal nonlinear parameters, and the identification of the additional speaker system in an online state can perform adaptive correction based on the error between the parameters obtained in an offline state and the actual speaker parameters, thereby compensating for the changes in speaker parameters caused by heating and aging.

[0074] Wherein, the linear parameters and the nonlinear parameters are solved by the minimum mean square error method, and the specific vector is expressed as: P = [P lin , P nonlin ], where P lin is the vector representation of the linear parameter, P nonlin is the vector representation of the nonlinear parameters;

[0075] Since the loudspeaker model is an IIR system, the estimation of the linear parameters is solved under the stability constraint, thereby preventing the model from diverging. The vector representation of the linear parameters is:

[0076] P lin =[R e , L e ,bi0,m t , a1, a2] T ;

[0077]

[0078] Figure 5A , Figure 5B , Figure 5C , Figure 5D , Figure 5E Taking a music signal as an example, the updated values ​​and optimal values ​​of the linear parameters and nonlinear parameters of the speaker system identification method of the present invention are respectively the voice coil DC resistance R e Update value change and optimal value change relative to time, total stiffness coefficient K ms (x) The relative time update value change and optimal value change, the relative time update value change and optimal value change of intermediate variables a1, a2, and the total damping coefficient R ms (v) Changes in updated values ​​and optimal values ​​over time.

[0079] The vector representation of the nonlinear parameters is:

[0080] P nonlin =[b1, b2, b3, b4, k1, k2, k3, k4, r1, r2] T ;

[0081]

[0082] Among them, μ T (n) represents the adaptive step size, e(n) represents the current error, represents the derivative of the current error with respect to the linear parameter, represents the derivative of the current error with respect to the nonlinear parameter, and the adaptive step size can be adjusted according to the error between the measured current and the predicted current signal, the error between the measured voltage and the predicted voltage signal, and the error between the measured diaphragm velocity and the predicted diaphragm velocity of the speaker system under the boundary constraint of a given fixed step size. Fig. 6A , Figure 6B , Figure 6C The nonlinear parameter curves estimated by the speaker system identification method of the present invention using a music signal as an example are shown respectively, including the curve of the total force factor Bl(x) corresponding to the diaphragm displacement of the speaker system, the total stiffness coefficient K ms (x) corresponds to the curve of the speaker diaphragm displacement and the total damping coefficient R ms (v) Curve corresponding to the diaphragm velocity of the loudspeaker system.

[0083] The present invention also provides a speaker system identification device, referring to Figure 3As shown, in one embodiment, the device may include: a power amplifier, a collection unit, a first speaker model, a second speaker model, an error monitoring unit and an update control unit. The power amplifier is used to provide an amplified excitation signal to the speaker system to be tested. The collection unit is used to measure the voltage signal at both ends of the speaker system and the current signal flowing through the speaker system, and input the voltage signal and the current signal into the first speaker model and the second speaker model. The first speaker model is used to predict the state of the speaker system. The second speaker model is used to obtain the linear parameters and nonlinear parameters of the speaker system, and predict the state of the speaker system. Specifically, it may include a linear parameter estimation unit for obtaining linear parameters and a nonlinear parameter estimation unit for obtaining nonlinear parameters. The error monitoring unit is used to calculate the predicted current signal according to the measured voltage signal and the current signal, and calculate the error between the measured current signal and the predicted current signal. The update control unit is used to determine whether to feed back the linear parameters and the nonlinear parameters to the first speaker model to update the first speaker model according to the error. The error monitoring unit and the update control unit are connected to the collection unit, the first speaker model and the second speaker model respectively.

[0084] refer to Figure 3 As shown, in one embodiment, the apparatus may further include an excitation control unit, which is used to receive an input audio signal and generate the excitation signal controlled by the first speaker model.

[0085] The present invention further provides a storage medium. In one embodiment, a computer program is stored on the storage medium. When the computer program is executed by a processor, the processor executes the speaker system identification method described in any of the above embodiments.

[0086] The present invention also provides a communication terminal, referring to Figure 4 As shown, in one embodiment, the communication terminal includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the speaker system identification method described in any of the above embodiments.

[0087] The above description is only an implementation mode of the present invention. It should be pointed out that, for ordinary technicians in this field, improvements can be made without departing from the creative concept of the present invention, but these all belong to the protection scope of the present invention.

Claims

1. A speaker system identification method, characterized in that: The method comprises: providing an amplified excitation signal to the speaker system under test; measuring a voltage signal at both ends of the speaker system and a current signal flowing through the speaker system; inputting the voltage signal and the current signal into a first speaker model and a second speaker model; acquiring linear parameters and nonlinear parameters of the speaker system based on the second speaker model; predicting a state of the speaker system based on the second speaker model; Calculating a predicted current signal according to the measured voltage signal and the current signal, and calculating an error between the measured current signal and the predicted current signal; determining, according to the error condition, whether to feed back the linear parameter and the nonlinear parameter to the first speaker model to update the first speaker model; predicting a state of the speaker system based on the first speaker model; The voltage models of the first speaker model and the second speaker model are: The mechanical models of the first loudspeaker model and the second loudspeaker model are: Among them, u e represents the voltage signal across the speaker system, R e represents the DC resistance of the voice coil of the speaker system, L e represents the voice coil inductance of the speaker system, x represents the diaphragm displacement of the speaker system, m t Represents the equivalent vibration mass, R ms (v) represents the total damping coefficient, K ms (x) represents the total stiffness coefficient; The predicted current signal is expressed as: i p (t)=1 / R e (u m (t)-Bl(x p (t))v(t)-L e you(t)); The current error between the measured current signal and the predicted current signal is expressed as: e(t)=i m (t)-i p (t); Among them, i p (t) represents the predicted current signal, i m (t) represents the measured current signal, R e represents the DC resistance of the voice coil of the speaker system, u m (t) represents the voltage signal at both ends of the speaker system, x p (t) represents the diaphragm displacement of the speaker system, v(t) represents the diaphragm velocity of the speaker system, and Bl(x) represents the total force factor of the speaker system; The step of determining whether to feed back the linear parameter and the nonlinear parameter to the first speaker model to update the first speaker model according to the error situation comprises: When the current error is less than a preset threshold, updating the linear parameter and the nonlinear parameter to the first speaker model; When the current error is not less than the preset threshold, the linear parameter and the nonlinear parameter are not updated to the first speaker model.

2. The speaker system identification method according to claim 1, characterized in that: The method also includes receiving an input audio signal and generating the excitation signal to be controlled by the first speaker model.

3. The speaker system identification method according to claim 1, characterized in that: The linear parameters include the voice coil inductance L of the speaker system e , Voice coil DC resistance R e , force factor linear term bl0, stiffness coefficient linear term k0, damping coefficient linear term r0 and equivalent vibration mass m t ; The nonlinear parameters include the total force factor Bl(x), the total stiffness coefficient K ms (x) and the total damping coefficient R ms (v) and is represented by the following polynomial: Bl(x p (t))=bl0+bl1(x p (t)); K ms (x p (t))=k0+k1(x p (t)); R ms (v(t))=r0+r1(v(t)); Among them, x p (t) represents the diaphragm displacement of the speaker system, v(t) represents the diaphragm velocity of the speaker system, n represents the order of each polynomial, bl l , k l 、r l are the coefficients of each term in each polynomial, l is a natural number, taking values ​​as 1, 2,…, n.

4. The speaker system identification method according to claim 1, characterized in that: The linear parameters and nonlinear parameters are obtained in any of the following ways: ① The nonlinear parameters are obtained in an offline state, and the linear parameters are obtained in an online state; ② A part of the nonlinear parameters is obtained in an offline state, and another part of the linear parameters and the nonlinear parameters is obtained in an online state.

5. A speaker system identification device, characterized in that: The device comprises: A power amplifier part, used for providing an amplified excitation signal to the speaker system to be tested; A collection unit, used for measuring a voltage signal at both ends of the speaker system and a current signal flowing through the speaker system, and inputting the voltage signal and the current signal into a first speaker model and a second speaker model; The error monitoring unit is used to calculate the predicted current signal according to the measured voltage signal and the current signal, and calculate the error between the measured current signal and the predicted current signal; the predicted current signal is expressed as: i p (t)=1 / R e (u m (t)-Bl(x p (t))v(t)-L e you(t)); The current error between the measured current signal and the predicted current signal is expressed as: e(t)=i m (t)-i p (t); Among them, i p (t) represents the predicted current signal, i m (t) represents the measured current signal, R e represents the DC resistance of the voice coil of the speaker system, u m (t) represents the voltage signal at both ends of the speaker system, x p (t) represents the diaphragm displacement of the speaker system, v(t) represents the diaphragm velocity of the speaker system, and Bl(x) represents the total force factor of the speaker system; A speaker model, wherein the speaker model includes a first speaker model and a second speaker model, wherein the second speaker model is used to obtain linear parameters and nonlinear parameters of the speaker system; the first speaker model is used to predict the state of the speaker system; and the voltage models of the first speaker model and the second speaker model are: The mechanical models of the first loudspeaker model and the second loudspeaker model are: Among them, u e represents the voltage signal across the speaker system, R e represents the DC resistance of the voice coil of the speaker system, L e represents the voice coil inductance of the speaker system, x represents the diaphragm displacement of the speaker system, m t Represents the equivalent vibration mass, R ms (v) represents the total damping coefficient, K ms (x) represents the total stiffness coefficient; An update control unit is used to determine whether to feed back the linear parameters and the nonlinear parameters to the first speaker model to update the first speaker model according to the error situation; when the current error is less than a preset threshold, the linear parameters and the nonlinear parameters are updated to the first speaker model; when the current error is not less than the preset threshold, the linear parameters and the nonlinear parameters are not updated to the first speaker model.

6. The speaker system identification device according to claim 5, characterized in that: The device also includes: The excitation control unit is used to receive an input audio signal and generate the excitation signal controlled by the first speaker model.

7. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the speaker system identification method according to any one of claims 1 to 4.

8. A communication terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the speaker system identification method according to any one of claims 1 to 4.