The present disclosure relates in general to improving dynamics of a transducer, for example, a haptic transducer.
Vibro-haptic transducers, for example linear resonant actuators (LRAs), are widely used in portable devices such as mobile phones to generate vibrational feedback to a user. Vibro-haptic feedback in various forms creates different feelings of touch to a user's skin, and may play increasing roles in human-machine interactions for modern devices.
An LRA may be modelled as a mass-spring electro-mechanical vibration system. When driven with appropriately designed or controlled driving signals, an LRA may generate certain desired forms of vibrations. For example, a sharp and clear-cut vibration pattern on a user's finger may be used to create a sensation that mimics a mechanical button click. This clear-cut vibration may then be used as a virtual switch to replace mechanical buttons.
Among the various forms of vibro-haptic feedback, tonal vibrations of sustained duration may play an important role to notify the user of the device of certain predefined events, such as incoming calls or messages, emergency alerts, and timer warnings, etc. In order to generate tonal vibration notifications efficiently, it may be desirable to operate the haptic actuator at its resonance frequency.
The resonance frequency f0 of a haptic transducer may be approximately estimated as:
where C is the compliance of the spring system, and M is the equivalent moving mass, which may be determined based on both the actual moving part in the haptic transducer and the mass of the portable device holding the haptic transducer.
Due to sample-to-sample variations in individual haptic transducers, mobile device assembly variations, temporal component changes caused by aging, and use conditions such as various different strengths of a user gripping of the device, the vibration resonance of the haptic transducer may vary from time to time.
An electromagnetic load such as an LRA may be characterized by its impedance ZLRA as seen as the sum of a coil impedance Zcoil and a mechanical impedance Zmech:
Z
LRA
=Z
coil
+Z
mech (2)
Coil impedance Zcoil may in turn comprise a direct current (DC) resistance Re in series with an inductance Le:
Z
coil
=Re+s*Le (3)
Mechanical impedance Zmech may be defined by three parameters including the resistance at resonance RRES representing an electrical resistance representative of mechanical friction of the mass-spring system of the haptic transducer, a capacitance CMES representing an electrical capacitance representative of an equivalent moving mass M of the mass-spring system of the haptic transducer, and inductance LCES representative of a compliance C of the mass-spring system of the haptic transducer. The electrical equivalent of the total mechanical impedance is the parallel connection of RRES, CMES, LCES. The Laplace transform of this parallel connection is described by:
The resonant frequency f0 of the haptic transducer can be represented as:
The quality factor Q of the LRA can be represented as:
Referring to equation (6), it may appear non-intuitive that the expression involves a subexpression describing the parallel connection of resistances Re and
while in
Electromagnetic transducers, such as LRAs or microspeakers, may have slow response times.
In accordance with the teachings of the present disclosure, the disadvantages and problems associated with undesirable dynamics of an electromagnetic load may be reduced or eliminated.
In accordance with embodiments of the present disclosure, 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.
In accordance with these and other embodiments of the present disclosure, a method may include implementing a discrete time model of an electromagnetic load that emulates a virtual electromagnetic load and modifying a 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.
In accordance with these and other embodiments of the present disclosure, a host device may include an 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 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.
Technical advantages of the present disclosure may be readily apparent to one having ordinary skill in the art from the figures, description and claims included herein. The objects and advantages of the embodiments will be realized and achieved at least by the elements, features, and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are examples and explanatory and are not restrictive of the claims set forth in this disclosure.
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:
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.
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.
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.
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.
The problem illustrated in
In equation (7), as DC resistance Re increases, the numerator term RRES*Re increases more rapidly than the denominator term RRES+Re. Therefore, quality factor QLRA 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.
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
From an examination of
Equation (8) is effectively a voltage divider that outputs Vm given input Ve. Negative impedance filter 326 may be a digital filter that implements a digital version of the transfer function:
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 Ve shown in
In some embodiments, negative impedance Re_neg may be represented as a fraction of DC resistance Re:
Re_neg=Re*Re_cancel (10)
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.
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 ZLRA, DC resistance Re, and an a-priori choice for factor Re_cancel.
Negative impedance filter transfer function may be a third-order digital filter with z-transform represented as:
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 ZLRA, DC resistance Re, and factor Re_cancel.
Example methods and systems for online real-time estimation of parameters of haptic transducer impedance ZLRA 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.
In the “Estimating Patent Application,” a method is described that separates the estimation problem into an estimation of coil impedance Zcoli=Re+Le*s on the one hand and estimation of mechanical impedance Zmech on the other. In particular, the electrical equivalent of mechanical impedance Zmech may be estimated using least-squares estimation as a second-order system which is then placed in series with coil impedance Zcoil to determine a third-order haptic transducer impedance ZLRA. In the “Estimating Patent Application,” a second-order mechanical impedance Zmech may be estimated from three least-squares parameter estimates: g, a1, and a2. A full haptic transducer impedance ZLRA may then be estimated from these three parameters plus separately estimated DC coil resistance Re and coil inductance Le.
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 Ve (z)=VLRA(z) input and produces voltage Vm(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 ZLRA 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;
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.
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.
The transfer function of negative impedance filter 326 may be a third-order digital filter with a z-transform represented as:
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 ZLRA, DC resistance Re, and factor Re_cancel.
In some embodiments, knowledge of the electrical and electrical equivalent transducer parameters Re, Le, RRES, CMES, LCES may be obtained offline. This knowledge may result from laboratory measures of a transducer device and/or from data published by a transducer manufacturer.
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.
By substituting equation (2) for transducer impedance ZLRA and equation (10) for negative resistance Re_neg in equation (9), the transfer function of negative impedance filter 326 may be expressed as
Further substituting equation (3) for Zcoil (s) and equation (4) for Zmech(s) gives:
Equation (13) may thus provide an expression for the Laplace transform of the transfer function ZNIF (s) of negative impedance filter 326 in terms of the electrical and electrical equivalent parameters Re, Le, RRES, CMES, CMES, LCES 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:
If equation (15) is substituted into equation (14) and then simplified, an equation for the digital z-transform ZNIF(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, RRES, CMES, LCES 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*fs2+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2);
b1_nif=(3*Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs2−24*Cmes*Lces*Le*Rres*fs3−4*Cmes*Lces*Re*Rres*fs2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2);
b2_nif=−(2*Lces*Re*fs−3*Re*Rres+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−24*Cmes*Lces*Le*Rres*fs3−4*Cmes*Lces*Re*Rres*fs3)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2);
b3_nif=−(2*Lces*Re*fs−Re*Rres+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs2+8*Cmes*Lces*Le*Rres*fs3−4*Cmes*Lces*Re*Rres*fs2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2);
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*fs2−2*Lces*Re*Re_cancel*fs 24*Cmes*Lces*Le*Rres*fs3−4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lees*Re*Re_cancel*Rres*fs2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lees*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2);
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*fs2−2*Lces*Re*Re_cancel*fs−24*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lees*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2)/(Re*Rres Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lces*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2)
a3_nif=−(Re*Re_cancel*Rres−Re*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs−4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8* *Cmes*Lces*Le*Rres*fs3−4*Cmes*Lces*Re*Rres*fs2+4*Cmes*Lces*Re*Re_cancel*Rres*fs2)/(Re*Rres−Re*Re_cancel*Rres+2*Lces*Re*fs+2*Lces*Rres*fs+2*Le*Rres*fs+4*Lces*Le*fs2−2*Lces*Re*Re_cancel*fs+8*Cmes*Lces*Le*Rres*fs3+4*Cmes*Lees*Re*Rres*fs2−4*Cmes*Lces*Re*Re_cancel*Rres*fs2)
In embodiments in which parameters Re, Le, RRES, CMES, LCES 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.
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.
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.
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
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.
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.
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.
Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
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.
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.
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.
The present disclosure claims priority to U.S. Provisional Patent Application Ser. No. 62/826,348, filed Mar. 29, 2019, and U.S. Provisional Patent Application Ser. No. 62/826,388, filed Mar. 29, 2019, each of which is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62826348 | Mar 2019 | US | |
62826388 | Mar 2019 | US |