Methods and systems for improving transducer dynamics
11283337 · 2022-03-22
Assignee
Inventors
- Eric Lindemann (Boulder, CO)
- Carl Lennart Ståhl (Malmö, SE)
- Emmanuel MARCHAIS (Dripping Springs, TX, US)
- John L. Melanson (Austin, TX)
Cpc classification
H02K33/00
ELECTRICITY
B06B1/045
PERFORMING OPERATIONS; TRANSPORTING
G06F1/022
PHYSICS
G08B6/00
PHYSICS
G06F3/016
PHYSICS
B06B1/0215
PERFORMING OPERATIONS; TRANSPORTING
International classification
H02K33/00
ELECTRICITY
G08B6/00
PHYSICS
H03F1/02
ELECTRICITY
B06B1/02
PERFORMING OPERATIONS; TRANSPORTING
B06B1/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A system may include a signal generator configured to generate a raw waveform signal and a modeling subsystem configured to implement a discrete time model of an electromagnetic load that emulates a virtual electromagnetic load and further configured to modify the raw waveform signal to generate a waveform signal for driving the electromagnetic load by modifying the virtual electromagnetic load to have a desired characteristic, applying the discrete time model to the raw waveform signal to generate the waveform signal for driving the electromagnetic load, and applying the waveform signal to the electromagnetic load.
Claims
1. A system comprising: a signal generator configured to generate a raw waveform signal; and a modeling subsystem configured to implement a discrete time model of a physical electromagnetic load wherein the discrete time model emulates a virtual electromagnetic load and the modeling subsystem further configured to modify the raw waveform signal to generate a waveform signal for driving the physical electromagnetic load by: modifying the virtual electromagnetic load to have a desired characteristic; applying the discrete time model to the raw waveform signal to generate the waveform signal for driving the physical electromagnetic load; and applying the waveform signal to the physical electromagnetic load.
2. The system of claim 1, wherein the physical electromagnetic load is a haptic transducer.
3. The system of claim 1, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on laboratory simulation.
4. The system of claim 1, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on real-time estimation of the one or more parameters during operation of the system.
5. The system of claim 4, wherein the real-time estimation is performed based on broadband content of at least a beginning of a transient of the waveform signal and an end of a transient of the waveform signal.
6. The system of claim 4, wherein the modeling subsystem is configured to periodically update the real-time estimation in order to achieve the desired characteristic.
7. The system of claim 1, wherein the desired characteristic is a desired impedance of a virtual transducer.
8. A method comprising: implementing a discrete time model of a physical electromagnetic load that emulates a virtual electromagnetic load; and modifying a raw waveform signal to generate a waveform signal for driving the physical electromagnetic load by: modifying the virtual electromagnetic load to have a desired characteristic; applying the discrete time model to the raw waveform signal to generate the waveform signal for driving the physical electromagnetic load; and applying the waveform signal to the physical electromagnetic load.
9. The method of claim 8, wherein the physical electromagnetic load is a haptic transducer.
10. The method of claim 8, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on laboratory simulation.
11. The method of claim 8, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on real-time estimation of the one or more parameters during operation of the system.
12. The method of claim 11, wherein the real-time estimation is performed based on broadband content of at least a beginning of a transient of the waveform signal and an end of a transient of the waveform signal.
13. The method of claim 11, further comprising periodically updating the real-time estimation in order to achieve the desired characteristic.
14. The method of claim 8, wherein the desired characteristic is a desired impedance of a virtual transducer.
15. A host device comprising: a physical electromagnetic load; a signal generator configured to generate a raw waveform signal; and a modeling subsystem configured to implement a discrete time model of the physical electromagnetic load wherein the discrete time model emulates a virtual electromagnetic load and the modeling subsystem further configured to modify the raw waveform signal to generate a waveform signal for driving the physical electromagnetic load by: modifying the virtual electromagnetic load to have a desired characteristic; applying the discrete time model to the raw waveform signal to generate the waveform signal for driving the physical electromagnetic load; and applying the waveform signal to the physical electromagnetic load.
16. The host device of claim 15, wherein the physical electromagnetic load is a haptic transducer.
17. The host device of claim 15, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on laboratory simulation.
18. The host device of claim 15, wherein the discrete time model is based on one or more parameters of the physical electromagnetic load determined based on real-time estimation of the one or more parameters during operation of the system.
19. The host device of claim 18, wherein the real-time estimation is performed based on broadband content of at least a beginning of a transient of the waveform signal and an end of a transient of the waveform signal.
20. The host device of claim 18, wherein the modeling subsystem is configured to periodically update the real-time estimation in order to achieve the desired characteristic.
21. The host device of claim 15, wherein the desired characteristic is a desired impedance of a virtual transducer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) The description below sets forth example embodiments according to this disclosure. Further example embodiments and implementations will be apparent to those having ordinary skill in the art. Further, those having ordinary skill in the art will recognize that various equivalent techniques may be applied in lieu of, or in conjunction with, the embodiment discussed below, and all such equivalents should be deemed as being encompassed by the present disclosure.
(9) Various electronic devices or smart devices may have transducers, speakers, and acoustic output transducers, for example any transducer for converting a suitable electrical driving signal into an acoustic output such as a sonic pressure wave or mechanical vibration. For example, many electronic devices may include one or more speakers or loudspeakers for sound generation, for example, for playback of audio content, voice communications and/or for providing audible notifications.
(10) Such speakers or loudspeakers may comprise an electromagnetic actuator, for example a voice coil motor, which is mechanically coupled to a flexible diaphragm, for example a conventional loudspeaker cone, or which is mechanically coupled to a surface of a device, for example the glass screen of a mobile device. Some electronic devices may also include acoustic output transducers capable of generating ultrasonic waves, for example for use in proximity detection type applications and/or machine-to-machine communication.
(11) Many electronic devices may additionally or alternatively include more specialized acoustic output transducers, for example, haptic transducers, tailored for generating vibrations for haptic control feedback or notifications to a user. Additionally or alternatively, an electronic device may have a connector, e.g., a socket, for making a removable mating connection with a corresponding connector of an accessory apparatus and may be arranged to provide a driving signal to the connector so as to drive a transducer, of one or more of the types mentioned above, of the accessory apparatus when connected. Such an electronic device will thus comprise driving circuitry for driving the transducer of the host device or connected accessory with a suitable driving signal. For acoustic or haptic transducers, the driving signal will generally be an analog time varying voltage signal, for example, a time varying waveform.
(12) The problem illustrated in
(13)
(14)
(15) In equation (7), as DC resistance Re increases, the numerator term R.sub.RES*Re increases more rapidly than the denominator term R.sub.RES+Re. Therefore, quality factor Q.sub.LRA generally increases with increasing DC resistance Re. Accordingly, one way system 300 may minimize quality factor q is to effectively decrease DC resistance Re. In some embodiments, system 300 may ideally decrease the effective DC resistance Re to a point in which critical damping occurs in transducer 301.
(16)
(17) In practice, negative resistors do not exist. Instead, negative impedance filter 326 may comprise a digital filter configured to behave substantially like the circuit shown in
(18) From an examination of
(19)
Equation (8) is effectively a voltage divider that outputs V.sub.m given input V.sub.e. Negative impedance filter 326 may be a digital filter that implements a digital version of the transfer function:
(20)
(21) Raw waveform signal x′(t) generated by pulse generator 322 and driven to negative impedance filter 326 in system 300 may correspond to a digital representation of driving voltage V.sub.e shown in
(22) In some embodiments, negative impedance Re_neg may be represented as a fraction of DC resistance Re:
Re_neg=Re*Re_cancel (10)
(23) Where factor Re_cancel may comprise a unitless value between 0 and 1, and may be chosen a-priori, representing the fraction of DC resistance Re that is to be cancelled by negative impedance filter 326.
(24) Negative impedance filter 326 may implement a digital filter with transfer function corresponding to equation (9). Assuming that negative impedance Re_neg is given by equation (10), then implementation of negative impedance filter 326 as a digital filter may require a digital estimate of transducer impedance Z.sub.LRA, DC resistance Re, and an a-priori choice for factor Re_cancel.
(25) Negative impedance filter transfer function may be a third-order digital filter with z-transform represented as:
(26)
The coefficients b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif of negative impedance filter 326 may embody the information about transducer impedance Z.sub.LRA, DC resistance Re, and factor Re_cancel.
(27) Example methods and systems for online real-time estimation of parameters of haptic transducer impedance Z.sub.LRA are described in U.S. Provisional Patent Application Ser. No. 62/826,388, filed Mar. 29, 2019, and in any application claiming priority thereto, all of which are incorporated by reference in their entireties, and may be referred to herein as the “Estimating Patent Application” and is incorporated by reference in its entirety.
(28) In the “Estimating Patent Application,” a method is described that separates the estimation problem into an estimation of coil impedance Z.sub.coli=Re+Le*s on the one hand and estimation of mechanical impedance Z.sub.mech on the other. In particular, the electrical equivalent of mechanical impedance Z.sub.mech may be estimated using least-squares estimation as a second-order system which is then placed in series with coil impedance Z.sub.coil to determine a third-order haptic transducer impedance Z.sub.LRA. In the “Estimating Patent Application,” a second-order mechanical impedance Z.sub.mech may be estimated from three least-squares parameter estimates: g, a1, and a2. A full haptic transducer impedance Z.sub.LRA may then be estimated from these three parameters plus separately estimated DC coil resistance Re and coil inductance Le.
(29)
is a transfer function that may describe a filter that takes current as input and produces a voltage as output. However, it may desirable to find parameters b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif for negative impedance filter 326 that describes a voltage divider that takes V.sub.e (z)=V.sub.LRA(z) input and produces voltage V.sub.m(z) as output. By using equation (9) from above and knowledge of separately estimated DC coil resistance Re (e.g., it may be assumed that coil inductance Le is fixed and estimated a-priori by laboratory measurements or other means), expressions for negative impedance filter 326 may be provided. Substituting the expressions for haptic transducer impedance Z.sub.LRA involving g, a1, a2 and Re from the “Estimating Patent Application” into equation (9) above, and applying the Bilinear Transform to convert from continuous time to discrete (digital) time, expressions for parameters b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif may be derived for negative impedance filter 326. An inductance Le_nrm and an impedance Zfb may be defined by:
Le_nrm=2*Le*fs;
Zfb=Re_cancel*Re;
(30) Unnormalized coefficients for the negative impedance filter 326 may be defined as:
b0_nif=−Le_nrm−Re−g;
b1_nif=Le_nrm−Re−g−Le_nrm*a1−Re*a1;
b2_nif=g+Le_nrm*a1−Le_nrm*a2−Re*a1−Re*a2;
b3_nif=g+Le_nrm*a−Re*a2;
a0_nif=Zfb−Le_nrm−Re−g;
a1_nif=Zfb+Le_nrm−Re−g+Zfb*a1−Le_nrm*a1−Re*a1;
a2_nif=g+Zfb*a1+Zfb*a2+Le_nrm*a1−Le_nrm*a2−Re*a1−Re*a2;
and
a3_nif=g+Zfb*a2+Le_nrm*a2−Re*a2.
(31) All of these expressions may further be normalized by dividing the above coefficients by a0_nif to arrive at final parameter coefficients b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif of negative impedance filter 326.
(32) The transfer function of negative impedance filter 326 may be a third-order digital filter with a z-transform represented as:
(33)
wherein coefficients b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif of negative impedance filter 326 embody information about transducer impedance Z.sub.LRA, DC resistance Re, and factor Re_cancel.
(34) In some embodiments, knowledge of the electrical and electrical equivalent transducer parameters Re, Le, R.sub.RES, C.sub.MES, L.sub.CES may be obtained offline. This knowledge may result from laboratory measures of a transducer device and/or from data published by a transducer manufacturer.
(35) The expression for the transfer function of negative impedance filter 326 function given in equation (9) is in the form of an s-domain Laplace transform. Such expression may be converted to a digital z-transform using any number of standard techniques such as the Bilinear Transform, the Impulse Invariant Transform, and others.
(36) By substituting equation (2) for transducer impedance Z.sub.LRA and equation (10) for negative resistance Re_neg in equation (9), the transfer function of negative impedance filter 326 may be expressed as
(37)
(38) Further substituting equation (3) for Z.sub.coil (s) and equation (4) for Z.sub.mech(s) gives:
(39)
(40) Equation (13) may thus provide an expression for the Laplace transform of the transfer function Z.sub.NIF (s) of negative impedance filter 326 in terms of the electrical and electrical equivalent parameters Re, Le, R.sub.RES, C.sub.MES, C.sub.MES, L.sub.CES as well as factor Re_cancel. To transform equation (14) to a digital filter z-transform using the Bilinear Transform, the Laplace variable s may be substituted according to:
(41)
(42) If equation (15) is substituted into equation (14) and then simplified, an equation for the digital z-transform Z.sub.NIF(z) is obtained in the form of equation (12), where the coefficients b0_nif, b1_nif, b2_nif, b3_nif, a1_nif, a2_nif, and a3_nif are expressed in terms of Re, Le, R.sub.RES, C.sub.MES, L.sub.CES as well as factor Re_cancel, according to:
b0_nif=(Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2);
b1_nif=(3*Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs.sup.2−24*Cmes*Lces*Le*Rres*fs.sup.3−4*Cmes*Lces*Re*Rres*fs.sup.2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2);
b2_nif=−(2*Lces*Re*fs−3*Re*Rres+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−24*Cmes*Lces*Le*Rres*fs.sup.3−4*Cmes*Lces*Re*Rres*fs.sup.3)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2);
b3_nif=−(2*Lces*Re*fs−Re*Rres+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs.sup.2+8*Cmes*Lces*Le*Rres*fs.sup.3−4*Cmes*Lces*Re*Rres*fs.sup.2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2);
a1_nif=(3*Re*Rres−3*Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs 24*Cmes*Lces*Le*Rres*fs.sup.3−4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lees*Re*Re_cancel*Rres*fs.sup.2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lees*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2);
a2_nif=−(3*Re*Re_cancel*Rres−3*Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs−24*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lees*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2)/(Re*Rres Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lces*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2)
a3_nif=−(Re*Re_cancel*Rres−Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8**Cmes*Lces*Le*Rres*fs.sup.3−4*Cmes*Lces*Re*Rres*fs.sup.2+4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs.sup.2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs.sup.3+4*Cmes*Lees*Re*Rres*fs.sup.2−4*Cmes*Lces*Re*Re_cancel*Rres*fs.sup.2)
(43) In embodiments in which parameters Re, Le, R.sub.RES, C.sub.MES, L.sub.CES as well as factor Re_cancel are obtained offline, the expressions above may be used to compute the coefficients for the negative impedance filter 326.
(44) Although the foregoing discusses application to a linear electromagnetic load, it is understood that systems and methods similar or identical to those disclosed may be applied to other linear or non-linear systems.
(45) Further, although the foregoing contemplates use of a negative resistance filter to implement a model of an LRA, in some embodiments a mathematical equivalent to an LRA may be used in lieu of a model.
(46) Accordingly, using the systems and methods described above, a system (e.g., system 300) may include a signal generator (e.g., pulse generator 322) configured to generate a raw waveform signal (e.g., raw waveform signal x′(t)) and a modeling subsystem (e.g., negative impedance filter 326) configured to implement a discrete time model (e.g., model shown in
(47) As used herein, when two or more elements are referred to as “coupled” to one another, such term indicates that such two or more elements are in electronic communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
(48) This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Accordingly, modifications, additions, or omissions may be made to the systems, apparatuses, and methods described herein without departing from the scope of the disclosure. For example, the components of the systems and apparatuses may be integrated or separated. Moreover, the operations of the systems and apparatuses disclosed herein may be performed by more, fewer, or other components and the methods described may include more, fewer, or other steps. Additionally, steps may be performed in any suitable order. As used in this document, “each” refers to each member of a set or each member of a subset of a set.
(49) Although exemplary embodiments are illustrated in the figures and described below, the principles of the present disclosure may be implemented using any number of techniques, whether currently known or not. The present disclosure should in no way be limited to the exemplary implementations and techniques illustrated in the drawings and described above.
(50) Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
(51) All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
(52) Although specific advantages have been enumerated above, various embodiments may include some, none, or all of the enumerated advantages. Additionally, other technical advantages may become readily apparent to one of ordinary skill in the art after review of the foregoing figures and description.
(53) To aid the Patent Office and any readers of any patent issued on this application in interpreting the claims appended hereto, applicants wish to note that they do not intend any of the appended claims or claim elements to invoke 35 U.S.C. § 112(f) unless the words “means for” or “step for” are explicitly used in the particular claim.