This application claims the benefit of Chinese Patent Application No. 201611033206.X, filed on Nov. 17, 2016, which is incorporated herein by reference in its entirety.
The present disclosure generally relates to the field of acoustics, and more particularly to loudspeaker diaphragm state estimation methods and loudspeaker driving circuitry.
Loudspeakers can produce sound by driving diaphragms to vibrate through an electromagnetic field that is generated by an electromagnetic coil. The rated power of a loudspeaker may be limited by its maximum diaphragm offset value. If the diaphragm offset value exceeds its maximum safety offset value, this can cause irreversible damage to the loudspeaker. In some cases, the output power of the loudspeaker can be made to be greater than the rated power, and the diaphragm offset may be made to be less than the maximum safety offset value. In this way, utilization of the loudspeaker can be improved due to the sound possibly being louder than with the rated power of the loudspeaker.
Reference may now be made in detail to particular embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention may be described in conjunction with the preferred embodiments, it may be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents that may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it may be readily apparent to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, processes, components, structures, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present invention.
In some portable devices, the requirement on the size of the loudspeaker may be relatively high, and the rated power of the loudspeaker can be limited. Thus, the maximum sound pressure may also be limited. In particular embodiments, the loudspeaker diaphragm can operate within a safety operation range, while also increasing its output power and sound pressure, as compared to conventional approaches. Along these lines, the diaphragm displacement of the loudspeaker can be accurately estimated (e.g., by detecting the displacement with laser, detecting the speed with a laser, detecting the sound pressure, etc.). However, sensors may be required in one or more of these approaches, and as a result the loudspeaker may be bulky, difficult to install, difficult to implement, and relatively costly, to name a few possible concerns. As such, such approaches may not be suitable for practical products.
In one embodiment, a loudspeaker diaphragm state estimation method can include: (i) adjusting a weight value of a diaphragm displacement model by adaptive filtering until an error between an estimated value of a driving voltage of a loudspeaker and a measured value of the driving voltage is less than a predetermined threshold; (ii) estimating a diaphragm relative displacement of the loudspeaker according to the diaphragm displacement model that corresponds to a final determined weight value; (iii) determining a diaphragm relative speed at a next moment based on an input current, a product value of a vector determined by an estimated value of a diaphragm relative speed and an estimated value of a diaphragm relative displacement, and a weight value vector obtained at a present moment; and (iv) determining an estimated value of the driving voltage based on the estimated value of the diaphragm relative speed, the input current, and a DC impedance of the loudspeaker obtained at the present moment.
Referring now to
For example, the diaphragm displacement model can calculate or determine a diaphragm relative speed at a next moment based on an input current, a product value of a vector determined by an estimated value of a diaphragm relative speed, and an estimated value of a diaphragm relative displacement and a weight value vector obtained at a present moment. In addition, an estimated value of the driving voltage of the loudspeaker can be determined based on the estimated value of the diaphragm relative speed, the input current, and a DC impedance of the loudspeaker obtained at the present moment. In this way, in the diaphragm displacement model in accordance with embodiments of the present invention, the number of weight values is relatively small.
Referring now to
In
Thus, the relationship between input current i, driving voltage uin, diaphragm speed v, and the diaphragm displacement s may satisfy the equations below:
Here, m is the diaphragm quality of the loudspeaker, Rm is the mechanical damping of the loudspeaker, and k is an elastic coefficient of the diaphragm. If the model of the above formula is directly used to estimate the diaphragm displacement, due to the number of parameters utilized, the computation can be relatively complex. In addition, BI may be a nonlinear parameter of relatively poor stability, and its usage in modeling an electric-mechanical system and a mechanical-sound system of the loudspeaker can result in further complexity.
Since the inductor can mainly respond to the high-frequency AC current and the effect on driving voltage uin can be neglected, the factor related to the inductor can be omitted in the model. Also, nonlinear parameter B1 can equal 1 through per-unit processing by neglecting its nonlinear characteristic. Accordingly, the corresponding displacement can be converted to a relative displacement parameter after the nonlinear portion of the model is neglected. Thus, the diaphragm displacement model of particular embodiments can be obtained as shown below:
Here, a, b and c are weight values of the model, and s(k) is the diaphragm relative displacement at the moment k. The model may be more stable when the coefficient of the diaphragm relative speed v(k) is 1−b. In the above formula, DC impedance R of the loudspeaker is a predetermined value, which can be obtained by any suitable approach, such as estimation. The DC impedance R in the model is a known value, and thus may not need to be obtained through an iteration of the model. In this way, only three weight values a, b, and c in the above formula may be need updating in order to estimate the diaphragm relative displacement s.
In certain embodiments, the input current, the loudspeaker diaphragm relative speed, and the relative displacement obtained by estimation can be configured as inputs, and the driving voltage of the loudspeaker can be configured as an output. Also, the three weight values of the displacement model can be adjusted through an adaptive filtering approach, until the error e between the estimated value of driving voltage ue and measured value ud of the driving voltage converge (e.g., to be less than a predetermined threshold). In this way, the diaphragm displacement model corresponding to the current weight value can accurately simulate the state of the loudspeaker. Further, the model may be adapted to subsequent diaphragm displacement estimation. Thus in particular embodiments, the state of the loudspeaker can be estimated while on line or in operation.
Referring now to
v(k+1)=a(k)*i(k)+(1−b(k))*v(k)+c(k)*s(k)
s(k+1)=ts*v(k)+s(k)
u(k)=v(k)+R*i(k)
Here, ts is a time length between two adjacent timings, u(k) is an estimated value of the driving voltage. At S120, the error can be calculated according to the estimated value of the driving voltage, and the measured value of the driving voltage of the loudspeaker at the present moment. For example, the error can be obtained by calculating the difference of the estimated value and the measured value of the driving voltage, as shown below:
e(k)=umeas(k)−u(k)
Here, e(k) is the error at the present moment, and umeas(k) is the measured value of the driving voltage. At S130, if the error is greater than the predetermined threshold, the weight value can be updated based on historical data of loudspeaker parameters through the adaptive filtering method.
For example, the weight values can be updated by using any suitable adaptive filtering algorithm for system identification. In one example, a least mean square (LMS) algorithm may be applied to update the weight values. The LMS algorithm can minimize the mean square value of the error between the output signal and the expected response of the filter. In the LMS algorithm, the weight vector may be defined as W(k)=[a(k), b(k), c(k)], and the iterative factors mua, mub and muc below can be selected to calculate the weight vector value for every time. For example, the weight vector can be updated with reference to the following formulas:
sa(k)=ts*va(k−1)+sa(k−1);
va(k)=(1−b(k))*va(k−1)+c(k)*sa(k−1)+i(k);
ua(k)=va(k);
a(k+1)=a(k)+mua*e(k)*ua(k);
sb(k)=ts*vb(k−1)+sb(k−1);
vb(k)=(1−b(k))*vb(k−1)+c(k)*sb(k−1)−vest(k−1);
ub(k)=vb(k);
b(k+1)=b(k)+mub*e(k)*ub(k);
sc(k)=ts*vc(k−1)+sc(k−1);
vc(k)=(1−b(k))*vc(k−1)+c(k)*sc(k−1)+sest(k−1);
uc(k)=vc(k);
c(k+1)=c(k)+muc*e(k)*uc(k)
In the above formulas, sa, sb and sc are the gradient vectors of the diaphragm displacement to the weight vectors a, b and c, respectively. In addition, ua, ub and uc are the gradient vectors of the voltage to the weight vectors a, b and c, respectively. Also, va, vb and vc are the gradient vectors of the diaphragm relative speed to the weight vectors a, b and c, respectively.
After the execution of S130 is completed, the process can return to S110 for iteration, until the error between the estimated value and the measured value of the driving voltage satisfied the predetermined threshold value. Those skilled in the art will recognize that other types of adaptive filtering algorithms can alternatively be employed in order to iterate and update the parameters of the model.
Referring back to
After the relative displacement is obtained, the corresponding control can be directly executed according to the relative displacement. In some cases, further estimation of the absolute displacement of the diaphragm may be needed based on the relative displacement. In such cases, at S300, a diaphragm absolute displacement can be obtained based on a predetermined relationship between the diaphragm relative displacement and the diaphragm absolute displacement, and the diaphragm relative displacement may be obtained by calculation.
As mentioned above, B1 of the model can be 1 through per-unit process, and the system identification parameters may be reduced, so s(k) of the model obtained through estimation may be the relative displacement, as opposed to the absolute displacement. Since the absolute displacement is related to the nonlinear parameter B1, it exhibits a strong nonlinear characteristic. In some cases, the diaphragm absolute displacement can be measured, and the diaphragm relative displacement can be estimated at the same time, and a corresponding relationship between them can be set up. At S300, on the basis of the such a relationship obtained in advance, the corresponding diaphragm absolute displacement can be obtained according to the diaphragm relative displacement. For example, corresponding relationship can be embodied as a corresponding relationship table, or a proportion function curve based on corresponding relationship.
In particular embodiments, methods as described herein may be suitable for application in loudspeaker driving circuits for estimating the loudspeaker diaphragm in real time, and can be adapted to or included within digital integrated circuits for processing, and/or as programs executed by a general processor, due to attendant advantages of fast convergence and high accuracy. In particular embodiments, an input current, a relative speed, and a relative displacement the loudspeaker diaphragm (e.g., obtained through estimation) can be received as inputs, and a driving voltage of the loudspeaker can be provided as an output.
A non-linear motor coupling coefficient can be set to be 1 through per-unit processing, and a more simplified loudspeaker diaphragm displacement model can be obtained. Also, the weight value of the diaphragm displacement model can be adjusted based on an adaptive filtering method, until the error between the estimated value of the driving voltage and the measured value of the driving voltage is less than a predetermined threshold. Further, the relative displacement of the diaphragm can be determined according to the finally determined weight value, in order to quickly and accurately estimate the loudspeaker diaphragm displacement, and realize accurate control of the loudspeaker.
The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with modifications as are suited to particular use(s) contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
201611033206.X | Nov 2016 | CN | national |
Number | Date | Country | |
---|---|---|---|
Parent | 15800406 | Nov 2017 | US |
Child | 16002068 | US |