Drive waveform adjustments to compensate for transducer resonant frequency

10991499 · 2021-04-27

Assignee

Inventors

Cpc classification

International classification

Abstract

A method may include generating an electrical drive waveform associated with a target actuator by stretching or compressing a reference drive waveform associated with a reference actuator in a time domain of the reference drive waveform in accordance with a time adjustment factor, wherein the time adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator. The same or another method may include generating an electrical drive waveform associated with a target actuator by increasing or decreasing an amplitude of a reference drive waveform associated with a reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

Claims

1. A method, comprising: generating an electrical drive waveform associated with a target actuator by stretching or compressing a reference drive waveform associated with a reference actuator in a time domain of the reference drive waveform in accordance with a time adjustment factor, wherein the time adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

2. The method of claim 1, wherein the time adjustment factor is equal to an arithmetic ratio equal to the resonant frequency of the reference actuator divided by the resonant frequency of the target actuator.

3. The method of claim 1, wherein the target actuator is a linear resonant actuator.

4. The method of claim 1, wherein generating the electrical drive waveform associated with the target actuator further comprises increasing or decreasing an amplitude of the reference drive waveform associated with the reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on the difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

5. The method of claim 4, wherein the amplitude adjustment factor is equal to the inverse of an arithmetic ratio raised to an exponential power between zero and one.

6. The method of claim 4, further comprising disabling or reducing an increase to the amplitude of the reference drive waveform by the amplitude adjustment factor in order to prevent overexcursion of the target actuator.

7. A method, comprising: generating an electrical drive waveform associated with a target actuator by increasing or decreasing an amplitude of a reference drive waveform associated with a reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

8. The method of claim 7, wherein the amplitude adjustment factor is equal to an arithmetic ratio raised to an exponential power between zero and one, wherein the arithmetic ratio is equal to the resonant frequency of the target actuator divided by the resonant frequency of the reference actuator.

9. The method of claim 7, further comprising disabling or reducing an increase to the amplitude of the reference drive waveform by the amplitude adjustment factor in order to prevent overexcursion of the target actuator.

10. The method of claim 7, wherein the target actuator is a linear resonant actuator.

11. A system comprising: a digital signal processor configured to generate an electrical drive waveform associated with a target actuator by stretching or compressing a reference drive waveform associated with a reference actuator in a time domain of the reference drive waveform in accordance with a time adjustment factor, wherein the time adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator; and an amplifier communicatively coupled to the digital signal processor and configured to drive the target actuator in accordance with the electrical drive waveform.

12. The system of claim 11, wherein the time adjustment factor is equal to an arithmetic ratio equal to the resonant frequency of the reference actuator divided by the resonant frequency of the target actuator.

13. The system of claim 11, wherein the target actuator is a linear resonant actuator.

14. The system of claim 11, wherein generating the electrical drive waveform associated with the target actuator further comprises increasing or decreasing an amplitude of the reference drive waveform associated with the reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on the difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

15. The system of claim 14, wherein the amplitude adjustment factor is equal to an inverse of an arithmetic ratio raised to an exponential power between zero and one.

16. The system of claim 14, further comprising disabling or reducing an increase to the amplitude of the reference drive waveform by the amplitude adjustment factor in order to prevent overexcursion of the target actuator.

17. A system, comprising: a digital signal processor configured to generate an electrical drive waveform associated with a target actuator by increasing or decreasing an amplitude of a reference drive waveform associated with a reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator; and an amplifier communicatively coupled to the digital signal processor and configured to drive the target actuator in accordance with the electrical drive waveform.

18. The system of claim 17, wherein the amplitude adjustment factor is equal to an arithmetic ratio raised to an exponential power between zero and one, wherein the arithmetic ratio is equal to the resonant frequency of the target actuator divided by the resonant frequency of the reference actuator.

19. The system of claim 17, further comprising disabling or reducing an increase to the amplitude of the reference drive waveform by the amplitude adjustment factor in order to prevent overexcursion of the target actuator.

20. The system of claim 17, wherein the target actuator is a linear resonant actuator.

21. An article of manufacture comprising: a non-transitory computer-readable medium; and computer-executable instructions carried on the computer-readable medium, the instructions readable by a processor, the instructions, when read and executed, for causing the processor to generate an electrical drive waveform associated with a target actuator by stretching or compressing a reference drive waveform associated with a reference actuator in a time domain of the reference drive waveform in accordance with a time adjustment factor, wherein the time adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

22. An article of manufacture comprising: a non-transitory computer-readable medium; and computer-executable instructions carried on the computer-readable medium, the instructions readable by a processor, the instructions, when read and executed, for causing the processor to generate an electrical drive waveform associated with a target actuator by increasing or decreasing an amplitude of a reference drive waveform associated with a reference actuator in accordance with an amplitude adjustment factor, wherein the amplitude adjustment factor is determined based on a difference between a resonant frequency of the target actuator and a resonant frequency of the reference actuator.

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) FIG. 1 illustrates a block diagram of selected components of an example mobile device, in accordance with embodiments of the present disclosure; and

(3) FIG. 2 illustrates a block diagram of selected components of an example haptic drive system, in accordance with embodiments of the present disclosure.

DETAILED DESCRIPTION

(4) FIG. 1 illustrates a block diagram of selected components of an example mobile device 102, in accordance with embodiments of the present disclosure. As shown in FIG. 1, mobile device 102 may comprise an enclosure 101, a controller 103, a memory 104, a force sensor 105, a microphone 106, a linear resonant actuator 107, a radio transmitter/receiver 108, a speaker 110, and a haptic drive system 112.

(5) Enclosure 101 may comprise any suitable housing, casing, or other enclosure for housing the various components of mobile device 102. Enclosure 101 may be constructed from plastic, metal, and/or any other suitable materials. In addition, enclosure 101 may be adapted (e.g., sized and shaped) such that mobile device 102 is readily transported on a person of a user of mobile device 102. Accordingly, mobile device 102 may include but is not limited to a smart phone, a tablet computing device, a handheld computing device, a personal digital assistant, a notebook computer, a video game controller, or any other device that may be readily transported on a person of a user of mobile device 102.

(6) Controller 103 may be housed within enclosure 101 and may include any system, device, or apparatus configured to interpret and/or execute program instructions and/or process data, and may include, without limitation a microprocessor, microcontroller, digital signal processor (DSP), application specific integrated circuit (ASIC), or any other digital or analog circuitry configured to interpret and/or execute program instructions and/or process data. In some embodiments, controller 103 interprets and/or executes program instructions and/or processes data stored in memory 104 and/or other computer-readable media accessible to controller 103.

(7) Memory 104 may be housed within enclosure 101, may be communicatively coupled to controller 103, and may include any system, device, or apparatus configured to retain program instructions and/or data for a period of time (e.g., computer-readable media). Memory 104 may include random access memory (RAM), electrically erasable programmable read-only memory (EEPROM), a Personal Computer Memory Card International Association (PCMCIA) card, flash memory, magnetic storage, opto-magnetic storage, or any suitable selection and/or array of volatile or non-volatile memory that retains data after power to mobile device 102 is turned off.

(8) Microphone 106 may be housed at least partially within enclosure 101, may be communicatively coupled to controller 103, and may comprise any system, device, or apparatus configured to convert sound incident at microphone 106 to an electrical signal that may be processed by controller 103, wherein such sound is converted to an electrical signal using a diaphragm or membrane having an electrical capacitance that varies as based on sonic vibrations received at the diaphragm or membrane. Microphone 106 may include an electrostatic microphone, a condenser microphone, an electret microphone, a microelectromechanical systems (MEMS) microphone, or any other suitable capacitive microphone.

(9) Radio transmitter/receiver 108 may be housed within enclosure 101, may be communicatively coupled to controller 103, and may include any system, device, or apparatus configured to, with the aid of an antenna, generate and transmit radio-frequency signals as well as receive radio-frequency signals and convert the information carried by such received signals into a form usable by controller 103. Radio transmitter/receiver 108 may be configured to transmit and/or receive various types of radio-frequency signals, including without limitation, cellular communications (e.g., 2G, 3G, 4G, LTE, etc.), short-range wireless communications (e.g., BLUETOOTH), commercial radio signals, television signals, satellite radio signals (e.g., GPS), Wireless Fidelity, etc.

(10) A speaker 110 may be housed at least partially within enclosure 101 or may be external to enclosure 101, may be communicatively coupled to controller 103, and may comprise any system, device, or apparatus configured to produce sound in response to electrical audio signal input. In some embodiments, a speaker may comprise a dynamic loudspeaker, which employs a lightweight diaphragm mechanically coupled to a rigid frame via a flexible suspension that constrains a voice coil to move axially through a cylindrical magnetic gap. When an electrical signal is applied to the voice coil, a magnetic field is created by the electric current in the voice coil, making it a variable electromagnet. The coil and the driver's magnetic system interact, generating a mechanical force that causes the coil (and thus, the attached cone) to move back and forth, thereby reproducing sound under the control of the applied electrical signal coming from the amplifier.

(11) Force sensor 105 may be housed within enclosure 101, and may include any suitable system, device, or apparatus for sensing a force, a pressure, or a touch (e.g., an interaction with a human finger) and generating an electrical or electronic signal in response to such force, pressure, or touch. In some embodiments, such electrical or electronic signal may be a function of a magnitude of the force, pressure, or touch applied to the force sensor. In these and other embodiments, such electronic or electrical signal may comprise a general purpose input/output signal (GPIO) associated with an input signal to which haptic feedback is given (e.g., a capacitive touch screen sensor or other capacitive sensor to which haptic feedback is provided). For purposes of clarity and exposition in this disclosure, the term “force” as used herein may refer not only to force, but to physical quantities indicative of force or analogous to force, such as, but not limited to, pressure and touch.

(12) Linear resonant actuator 107 may be housed within enclosure 101, and may include any suitable system, device, or apparatus for producing an oscillating mechanical force across a single axis. For example, in some embodiments, linear resonant actuator 107 may rely on an alternating current voltage to drive a voice coil pressed against a moving mass connected to a spring. When the voice coil is driven at the resonant frequency of the spring, linear resonant actuator 107 may vibrate with a perceptible force. Thus, linear resonant actuator 107 may be useful in haptic applications within a specific frequency range. While, for the purposes of clarity and exposition, this disclosure is described in relation to the use of linear resonant actuator 107, it is understood that any other type or types of vibrational actuators (e.g., eccentric rotating mass actuators) may be used in lieu of or in addition to linear resonant actuator 107. In addition, it is also understood that actuators arranged to produce an oscillating mechanical force across multiple axes may be used in lieu of or in addition to linear resonant actuator 107. As described elsewhere in this disclosure, a linear resonant actuator 107, based on a signal received from haptic drive system 112, may render haptic feedback to a user of mobile device 102 for at least one of mechanical button replacement and capacitive sensor feedback.

(13) Haptic drive system 112 may be housed within enclosure 101, may be communicatively coupled to force sensor 105 and linear resonant actuator 107, and may include any system, device, or apparatus configured to receive a signal from force sensor 105 indicative of a force applied to mobile device 102 (e.g., a force applied by a human finger to a virtual button of mobile device 102) and generate an electronic signal for driving linear resonant actuator 107 in response to the force applied to mobile device 102. Detail of an example integrated haptic system in accordance with embodiments of the present disclosure is depicted in FIG. 2.

(14) Although specific example components are depicted above in FIG. 1 as being integral to mobile device 102 (e.g., controller 103, memory 104, user interface 105, microphone 106, radio transmitter/receiver 108, speaker(s) 110), a mobile device 102 in accordance with this disclosure may comprise one or more components not specifically enumerated above. For example, although FIG. 1 depicts certain user interface components, mobile device 102 may include one or more other user interface components in addition to those depicted in FIG. 1, including but not limited to a keypad, a touch screen, and a display, thus allowing a user to interact with and/or otherwise manipulate mobile device 102 and its associated components.

(15) FIG. 2 illustrates a block diagram of selected components of an example haptic drive system 112, in accordance with embodiments of the present disclosure. In some embodiments, haptic drive system 112 of FIG. 2 may be used to implement haptic drive system 112 of FIG. 1. As shown in FIG. 2, haptic drive system 112 may include a digital signal processor (DSP) 202, a memory 204, and an amplifier 206.

(16) DSP 202 may include any system, device, or apparatus configured to interpret and/or execute program instructions and/or process data. In some embodiments, DSP 202 may interpret and/or execute program instructions and/or process data stored in memory 204 and/or other computer-readable media accessible to DSP 202.

(17) Memory 204 may be communicatively coupled to DSP 202, and may include any system, device, or apparatus configured to retain program instructions and/or data for a period of time (e.g., computer-readable media). Memory 204 may include random access memory (RAM), electrically erasable programmable read-only memory (EEPROM), a Personal Computer Memory Card International Association (PCMCIA) card, flash memory, magnetic storage, opto-magnetic storage, or any suitable selection and/or array of volatile or non-volatile memory that retains data after power to mobile device 102 is turned off. Although FIG. 2 depicts haptic drive system 112 as having memory 204 integral thereto, in some embodiments haptic drive system 112 may not include a memory, and may instead utilize a memory external to haptic drive system 112, such as memory 104, to perform the functionality of memory 204 described herein.

(18) Amplifier 206 may be electrically coupled to DSP 202 and may comprise any suitable electronic system, device, or apparatus configured to increase the power of an input signal V.sub.IN (e.g., a time-varying voltage or current) to generate an output signal V.sub.OUT. For example, amplifier 206 may use electric power from a power supply (not explicitly shown) to increase the amplitude of a signal. Amplifier 206 may include any suitable amplifier class, including without limitation, a Class-D amplifier.

(19) In operation, memory 204 may store a reference drive waveform v.sub.R(t). Reference drive waveform v.sub.R(t) may comprise a drive waveform optimized for use with a reference linear resonant actuator having a resonant frequency f.sub.0_R, which value may also be stored in memory 204. Such reference linear resonant actuator may be similar in all material respects to linear resonant actuator 107 present in mobile device 102, except for differences due to manufacturing or process variations and tolerances, such that a resonant frequency F.sub.0_T of linear resonant actuator 107 (which may be referred to herein as the target resonant frequency) may vary from resonant frequency f.sub.0_R of the reference linear resonant actuator in accordance with such process variations and tolerances.

(20) Reference drive waveform v.sub.R(t) may be derived in any suitable manner, including testing and characterization of the reference linear resonant actuator, and reference resonant frequency f.sub.0_R may be determined based on measurement of such reference resonant frequency f.sub.0_R. For example, in some embodiments, the reference linear resonant actuator may be tested and characterized to determine resonant frequency f.sub.0_R and optimize of reference drive waveform v.sub.R(t) such that drive waveform v.sub.R(t) provides a desired haptic effect for the reference linear resonant actuator, and then reference drive waveform v.sub.R(t) and reference resonant frequency f.sub.0_R may be stored in memory 204 of haptic drive system 112 for mobile devices employing a linear resonant actuator similar in all material respects to the reference resonant actuator other than differences due to manufacturing or process variations and tolerances.

(21) In operation, digital signal processor 202 may, responsive to receiving an appropriate triggering signal V.sub.SENSE from force sensor 105 (e.g., force sensor 105 detecting user interaction with force sensor 105) generate and output a target drive waveform v.sub.T(t) which may be amplified by amplifier 206 to generate an output drive signal V.sub.OUT that drives linear resonant actuator 107. As described in greater detail below, digital signal processor 202 may derive target drive waveform v.sub.T(t) from reference drive waveform v.sub.R(t), modifying reference drive waveform v.sub.R(t) to generate target drive waveform v.sub.T(t) based on a difference between reference resonant frequency f.sub.0_R and target resonant frequency f.sub.0_T. For example, digital signal processor 202 may apply one or both of time domain compensation and amplitude domain compensation to reference drive waveform v.sub.R(t) in order to generate target drive waveform v.sub.T(t).

(22) As shown in FIG. 2, digital signal processor 202 may determine target resonant frequency f.sub.0_T based on measurements of linear resonant actuator 107. For example, in some embodiments, digital signal processor 202 may continually or periodically measure target resonant frequency f.sub.0_T, which may vary over time due to numerous factors, including without limitation temperature, and adapt target drive waveform v.sub.T(t) as target resonant frequency f.sub.0_T varies over time. However, in other embodiments, target resonant frequency f.sub.0_T may simply be measured once during manufacturing or at its first start up, with the value of target resonant frequency f.sub.0_T recorded in memory 204 and used for generation of target drive waveform v.sub.T(t) throughout the lifetime of haptic drive system 112 and linear resonant actuator 107.

(23) As mentioned above, digital signal processor 202 may generate target drive waveform v.sub.T(t) by applying time domain compensation to reference drive waveform v.sub.R(t). Using time domain compensation, digital signal processor 202 may generate target drive waveform v.sub.T(t) by stretching or compressing reference drive waveform v.sub.R(t) in a time domain of reference drive waveform v.sub.R(t) in accordance with a time adjustment factor A.sub.T, wherein time adjustment factor A.sub.T is determined based on a difference between target resonant frequency f.sub.0_T and reference resonant frequency f.sub.0_R. In some embodiments, time adjustment factor A.sub.T may be equal to an arithmetic ratio equal to reference resonant frequency f.sub.0_R divided by target resonant frequency f.sub.0_T, e.g.:

(24) A T = f 0 _P f 0 _T

(25) Time adjustment factor A.sub.T may represent an amount by which the time domain of target drive waveform v.sub.T(t) is adjusted with respect to time compared to reference drive waveform v.sub.R(t). For example, the relationship between target drive waveform v.sub.T(t) and reference drive waveform v.sub.R(t) may be given by:
V.sub.T(A.sub.Tt)=V.sub.P(t)

(26) As mentioned above, digital signal processor 202 may, in addition to or in lieu of applying time domain compensation, generate target drive waveform v.sub.T(t) by applying amplitude domain compensation to reference drive waveform v.sub.R(t). Using amplitude domain compensation, digital signal processor 202 may generate target drive waveform v.sub.T(t) by increasing or decreasing an amplitude of reference drive waveform v.sub.R(t) in accordance with an amplitude adjustment factor A.sub.A, wherein amplitude adjustment factor A.sub.A is determined based on a difference between target resonant frequency f.sub.0_T and reference resonant frequency f.sub.0_R. In some embodiments, amplitude adjustment factor A.sub.A may be equal to an arithmetic ratio raised to an exponential power between zero and one, wherein the arithmetic ratio is equal to target resonant frequency f.sub.0_T divided by reference resonant frequency f.sub.0_R, e.g.:

(27) A A = ( f 0 _T f 0 _P ) a
wherein the exponent a is a power index such that 0<a≤1. Power index a may represent an amount of amplitude correction needed that is related to resonant frequency deviation. For smaller values of power index a, less correction may be needed to correct for deviation in frequency than for larger values of power index a. The value for power index a may be determined by performing calibration/characterization experiments to choose an optimal value for power index a which leads to minimum vibration level variations over a set of linear resonant actuators used for characterization.

(28) Amplitude adjustment factor A.sub.A may represent an amount by which the amplitude domain of reference drive waveform v.sub.R(t) is adjusted to generate target drive waveform v.sub.T(t). For example, the relationship between target drive waveform v.sub.T(t) and reference drive waveform v.sub.R(t) may be given by:
V.sub.T(t)=A.sub.AV.sub.P(t)

(29) As mentioned above, in some embodiments, both time domain and amplitude domain adjustment may be applied to reference drive waveform v.sub.R(t) in order to generate target drive waveform v.sub.T(t). In such embodiments target drive waveform v.sub.T(t) may be given by:
V.sub.T(t)=A.sub.AV.sub.T′(t)
wherein v.sub.T(t) is a time-domain adjusted intermediate target waveform given by:
V.sub.T(A.sub.Tt)′=V.sub.p(t)

(30) In some instances, the calculated amplitude adjustment to be applied to reference drive waveform v.sub.R(t) in order to generate target drive waveform v.sub.T(t) may cause overexcursion of the mass of linear resonant actuator 107. In such instances, digital signal processor 202 may disable or reduce an increase to the amplitude of the reference drive waveform in order to prevent overexcursion of mass of linear resonant actuator 107.

(31) 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.

(32) All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the invention 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 inventions 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.