WO2012109443A2 - Haptics effect controller architecture and instruction set - Google Patents

Haptics effect controller architecture and instruction set Download PDF

Info

Publication number
WO2012109443A2
WO2012109443A2 PCT/US2012/024480 US2012024480W WO2012109443A2 WO 2012109443 A2 WO2012109443 A2 WO 2012109443A2 US 2012024480 W US2012024480 W US 2012024480W WO 2012109443 A2 WO2012109443 A2 WO 2012109443A2
Authority
WO
WIPO (PCT)
Prior art keywords
instruction
haptics
profile
word
coupled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2012/024480
Other languages
French (fr)
Other versions
WO2012109443A3 (en
Inventor
Hugo Cheung
Anand Gupta
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Texas Instruments Japan Ltd
Texas Instruments Inc
Original Assignee
Texas Instruments Japan Ltd
Texas Instruments Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Texas Instruments Japan Ltd, Texas Instruments Inc filed Critical Texas Instruments Japan Ltd
Priority to CN201280008372.8A priority Critical patent/CN103370673B/en
Priority to JP2013553564A priority patent/JP5978231B2/en
Publication of WO2012109443A2 publication Critical patent/WO2012109443A2/en
Publication of WO2012109443A3 publication Critical patent/WO2012109443A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/96Touch switches
    • H03K2217/96062Touch switches with tactile or haptic feedback

Definitions

  • the invention relates generally to haptics effects and, more particularly, to a haptics controller and its associated instruction set.
  • An example embodiment provides an including a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; and a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect.
  • the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction
  • a haptic profile further comprises at least one of a profile word, a move word, a wait/halt word, and a branch word that each include opcode and data
  • the profile instruction, the move instruction, the wait/halt instruction, and the branch instruction further comprise the opcode for the profile word, the move word, the wait/halt word, and the branch word, respectively.
  • the data for the profile word further comprises amplitude, frequency, and profile duration.
  • the data for the move word further comprises a register number and register values.
  • the data for the wait/halt word further comprises at least one of a wait duration and halt.
  • the data for the branch word further comprises a register number and a jump location.
  • the apparatus further comprises an amplifier that is coupled to the sine wave generator.
  • the amplifier further comprises a class-D amplifier.
  • an apparatus in an example embodiment, includes an host interface; a touch screen interface that is configured to receive data from a touch screen; an analog-to-digital converter (ADC) that is coupled to the touch screen interface; processing circuitry that is coupled to the ADC and the host interface; a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes: a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to
  • the instruction sequencer further comprises: a program counter circuitry that is configured to generate an address sequence corresponding to the haptic profile; an instruction memory that stores the haptic profile and that is coupled to the program counter circuitry, wherein the instruction memory is configured to receive addresses from the program counter according to the address sequence; and an instruction register that is coupled to the instruction memory.
  • the sine wave generator further comprises: a sine angle calculator that is coupled to the controller; a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
  • a sine angle calculator that is coupled to the controller
  • a lookup table LUT
  • an amplitude multiplier that is coupled to the LUT and controller.
  • an apparatus includes a touch screen; a host processor that is configured to generate a haptics effect instruction that corresponds to a desired haptics effect; a controller having: an host interface that is coupled to the host processor; a touch screen interface that is coupled to the touch screen; an ADC that is coupled to the touch screen interface; processing circuitry that is coupled to the ADC and the host interface; a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes: a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; a sine wave generator that
  • the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction
  • a haptic profile further comprises at least one of: a profile word having the profile instruction as its opcode and having amplitude, frequency, and profile duration as its data; a move word having the move instruction as its opcode, and having a register number and register values as its data; a wait/halt word having the wait/halt instruction as its opcode and having at least one of a wait duration and halt as its data; and a branch word having the branch instruction as its opcode and having a register number and a jump location as its data.
  • the sine wave generator further comprises: a sine angle calculator that is coupled to the controller; a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
  • a sine angle calculator that is coupled to the controller
  • a lookup table LUT
  • an amplitude multiplier that is coupled to the LUT and controller.
  • a method for generating a desired haptics effect comprises generating a haptics effect instruction by a host processor responsive to a touch screen, wherein the haptics effect instruction corresponds to the desired haptics effect; receiving the haptics effect instruction by a haptics driver; generating a haptic profile from the haptics effect instruction, wherein the haptic profile includes at least one of a profile word, a move word, wait/halt word, and a branch word; and generating a sine wave from the from the haptic profile that corresponds to the desired haptics effect.
  • the step of generating the haptic profile further comprises: decoding the haptics effect instruction; and calling the haptics profile from instruction memory.
  • the step of generating the haptics effect instruction further comprises: receiving an analog data set from the touch screen; converting the analog data set to a digital data set; and determining the haptics effect instruction from the digital data set.
  • FIG. 1 shows an example of a system in accordance with an example embodiment of the invention
  • FIG. 2 shows an example of the touch screen controller of FIG. 1
  • FIG. 3 shows an example of the haptics driver of FIG. 2
  • FIGS. 4-7 illustrate an example of the instruction set of haptics driver of FIG. 3;
  • FIG. 8 shows an example of a portion of the instruction sequencer of FIG 3.
  • FIGS. 9-11 illustrate example sine waves corresponding to different haptics effects generated by the haptics driver of FIG. 3.
  • FIG. 1 illustrates an example of a system 100 in accordance with an example embodiment of the invention can be seen.
  • This system 100 can be a number of devices such as portable media players, smartphones, or gaming controllers and generally comprises a touch screen 102 (which can be a capacitive or resistive touch screen), a host processor 104 (i.e., digital signal processor or DSP), touch screen controller 106, a driver 108 (which can be an amplifier), and an actuator 110 (which can be a linear actuator, a piezoelectric transducer, a motor, and so forth).
  • a user can interact with the system 100 through the touch screen 102 (which is controlled by the touch screen controller 106 and host processor 104). Based on the user's interaction with the system 100, haptic effects can be generated.
  • the touch screen controller 106 provides a sine wave to the actuator 110 (either directly or through driver 108).
  • the touch screen controller 106 (which is typically an integrated circuit or IC) can be seen in greater detail.
  • the touch screen controller 106 generally comprises a touch screen interface 202 (which can, for example, be an interface for a 4-wire resistive touch screen), an analog-to-digital converter (ADC) 204 (which can be a successive approximation register (SAR) ADC), a pre -processor 206, a host interface 208 (i.e., inter-integrated circuit or I 2 C interface), clock 210, and a haptics driver 212.
  • ADC analog-to-digital converter
  • SAR successive approximation register
  • pre -processor 206 i.e., inter-integrated circuit or I 2 C interface
  • a host interface 208 i.e., inter-integrated circuit or I 2 C interface
  • clock 210 i.e., inter-integrated circuit or I 2 C interface
  • haptics driver 212 i.e., inter-integrated circuit or I 2
  • This digital signal is then processed by the preprocessor 206 and provided to the host processor 104 through the host interface 208.
  • the haptics driver 212 also communicates with the host processor 212 through the interface 208, where it can receive a haptics effect instruction (which can generally correspond to a desired haptic effect).
  • the haptics driver 206 is then able generate a sine wave (that corresponds to the desired haptic effect) for the driver 108 and/or the actuator 110.
  • the haptics driver 212 (as can be seen in greater detain in FIG. 3 and which can have about 8000 gates) can generate nearly any complex sine wave form using a small instruction set.
  • the haptics driver 212 generally comprises a controller 302, an instruction sequencer 304, a sine wave synthesizer 306 (which generally comprises a sine angle calculator 310, lookup table or LUT 312 and amplitude multiplier 314), and an amplifier 310 (which is generally a class-D amplifier that is comprised of a pulse width modulator or PWM 316 and output circuit 318).
  • the instruction sequencer 306 is generally a state machine that (in conjunction with the controller 302) decodes the haptics effect instruction from host processor 104 and calls a haptic profile from this decoded haptics effect instruction.
  • the instruction sequencer 302 stores the instruction set for the haptics driver 212, and this instruction set is generally comprised of four instructions: profile, move, wait/halt, and branch. These four instructions can be used to generate nearly ever haptics effect and function as the opcode for instruction words (which, in combination, can comprise haptic profile).
  • the profile word 400 (as shown in FIG. 4) is typically an 8-bit word and generally corresponds to sinusoidal portion of an output sine wave from the haptics controller 206.
  • the profile word 400 can include the opcode designation "11" (see reference numeral 402) that corresponds to the profile instruction, and the profile word 400 also can includes as its data an amplitude and frequency field 404 (which is typically a 2-bit field) and profile duration field 406 (which is typically a 4-bit field and generally corresponds to a number of periods).
  • the move word 500 (as shown in FIG. 5) is typically a 16-bit word and generally corresponds to movement across the touch screen 102, where the opcode designation can be "10" (see reference numeral 502) and where the data generally comprises a reserved field 504 (which is typically 1-bit field), a register number field 506 (which is typically a 5-bit field), and register values field 508 (which is typically an 8-bit byte field).
  • the wait/halt word 600 (as shown in FIG. 6) is typically an 8-bit word that can indicate a wait duration or halt execution 604.
  • the opcode designation can be "00" (see reference numeral 602), and the data can include a break/no break field 604 (which is typically a 1-bit field and which can be used for motor deceleration) and a wait duration or halt field 606 (which is typically a 5 -bit field).
  • the branch word 700 (as shown in FIG. 7) if typically an 8-bit word and is generally a looping instruction that allows different instructions to be strung together.
  • It can have an opcode designation of "11" (see reference numeral 602) and can include a reserved field 704 (which is typically 1-bit field), a register number field 706 (which is typically a 1-bit field), and a jump location field 708 (which is typically a 4-bit field) as its data.
  • a reserved field 704 which is typically 1-bit field
  • a register number field 706 which is typically a 1-bit field
  • a jump location field 708 which is typically a 4-bit field
  • the sine wave generator 306 can then generate a sine wave for amplifier 308.
  • the sine wave generator 306 has two modes of operation: frequency synthesizer mode and fixed pulse width generator (FPWG) mode.
  • the sine angle calculator 310, LUT 312, and amplitude multiplier 314 collectively calculate the duty cycle for the next pulse for PWM 316.
  • the sine angle calculator 310 and amplitude multiplier 314 are bypassed, allowing the selection of one of (for example) eight fixed pulse width modulated frequencies that produce a sine wave in a frequency range (i.e., between about 10Hz and about 20kHz).
  • the instruction sequencer 304 can be seen in greater detail, and it is generally comprised of program counter 804, instruction memory 812, instruction register 814, and multiplexer or muxes 802, 806, 808, and 810.
  • the instruction register 814 (which is generally a bank of registers) holds the parameters and control signals used for haptic operation
  • the instruction memory 812 is generally comprised of two pages.
  • Each of the instruction memory 812 and instruction register 814 are also generally implemented using latches.
  • the first page of the instruction memory 812 generally includes built-in haptic profiles (or built-in control word sets), and the second page of the instruction memory 812 can be comprised of user-defined haptic profiles.
  • Each of the control word sets employ the combinations of the words 400, 500, 600, and 700.
  • these haptic profiles can be stored in the instruction memory 812 (namely, the second page) through the host interface 208.
  • the write signal WR is asserted through the host interface 208. This allows a user-defined haptics profile to be loaded and stored in the instruction memory 812 (as the data signal IMDATA).
  • the controller 302 asserts the program counter write signal INITPCWR and the program counter load signal PCLOAD so that an starting address STARTADDR can be loaded to the program counter 804 through multiplexer 802.
  • the stage address STARTADDR is output (as a program counter signal PC) to multiplexers 806 and 810.
  • an address ADDR is provided to the instruction memory 812.
  • the appropriate word for the desired haptics profile
  • the instruction register 814 can load the current word CURRENTINSTR (typically eight bits or sixteen bits).
  • the program counter signal PC is provided to multiplexer 806 to generate the next address PCADDR.
  • the controller 302 can select whether a portion of the current instruction CURSTR (typically 4 bits) or a predetermined value can be used.
  • the current instruction CURRENTINSTR and the next word or instruction NEXTINSTR are used by the controller 302.
  • the controller 302 can provide period numbers PERNO and wait signal WAIT to implement wait words (i.e., 600), and the words stored in the instruction memory 812 can be read out through the host interface 208 (as the memory read MEMRD signal).
  • FIGS. 9-11 examples of haptics profiles can be seen.
  • the profile in FIG. 9 generally corresponds to a sine wave for a "key touch,” and this haptics profile is generally comprised of four words (profile, wait/halt, profile, and wait/halt) shown in Table 1 below.
  • the profile in FIG. 10 generally corresponds to "drag-and-drop," and this haptics profile is generally comprised of four words (profile, wait/halt, branch, and wait/halt) shown in Table 2 below.
  • the profile in FIG. 11 generally corresponds to "slide,” and this haptics profile is generally comprised of five words (profile, profile, profile, profile, and wait/halt) shown in Table 3 below.
  • Each of these difference haptics profiles would be selected based on a user's interaction with a touch screen. Namely, and for example, the host processor 104 would determine that a "drag-and-drop" profile would be appropriate based on an analog data set (which would be converted to a digital data set by ADC 204) of a user performing dragging and dropping an item with the graphical user interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

A haptics effect instruction is generated by a host processor (104) responsive to a touch screen (102), where the haptics effect instruction corresponds to a desired haptics effect. This haptics effect instruction is received by a haptics driver (108), and a haptic profile from the haptics effect instruction is generated from the haptics effect instruction. The haptic profile includes at least one of a profile word, a move word, wait/halt word, and a branch word, and a sine wave is generated from the from the haptic profile that corresponds to the desired haptics effect.

Description

HAPTICS EFFECT CONTROLLER ARCHITECTURE AND INSTRUCTION SET
[0001] The invention relates generally to haptics effects and, more particularly, to a haptics controller and its associated instruction set.
BACKGROUND
[0002] Touch screens are becoming increasingly common, but touch screens do not inherently have a feedback mechanism (like audible click from a conventional keyboard). Thus, haptic or mechanic vibration feedback has emerged as a new technology that can provide a feedback mechanism that would not otherwise be present. Conventional haptic solutions, however, suffer from demanding control from host controller or processor. Namely, conventional haptics solutions are generally limited host interface communication bottle neck, which can limit haptic effect variations (i.e., variable frequency control and gain control). Moreover, many of these haptics solutions have low power efficiency, which is due at least in part to an on-chip low drop-out regulator (LDO). Therefore, there is a need for a method and/or apparatus that addresses shortcomings in conventional haptics solutions.
[0003] An example of a conventional haptics solution is described in U.S. Patent No.
7,791,588.
SUMMARY
[0004] An example embodiment provides an including a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; and a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect.
[0005] In an example embodiment, the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction, and wherein a haptic profile further comprises at least one of a profile word, a move word, a wait/halt word, and a branch word that each include opcode and data, and wherein the profile instruction, the move instruction, the wait/halt instruction, and the branch instruction further comprise the opcode for the profile word, the move word, the wait/halt word, and the branch word, respectively.
[0006] In an example embodiment, the data for the profile word further comprises amplitude, frequency, and profile duration.
[0007] In an example embodiment, the data for the move word further comprises a register number and register values.
[0008] In an example embodiment, the data for the wait/halt word further comprises at least one of a wait duration and halt.
[0009] In an example embodiment, the data for the branch word further comprises a register number and a jump location.
[0010] In an example embodiment, the apparatus further comprises an amplifier that is coupled to the sine wave generator.
[0011] In an example embodiment, the amplifier further comprises a class-D amplifier.
[0012] In an example embodiment, an apparatus is provided that includes an host interface; a touch screen interface that is configured to receive data from a touch screen; an analog-to-digital converter (ADC) that is coupled to the touch screen interface; processing circuitry that is coupled to the ADC and the host interface; a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes: a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect; an amplifier that is coupled to the sine wave generator.
[0013] In an example embodiment, the instruction sequencer further comprises: a program counter circuitry that is configured to generate an address sequence corresponding to the haptic profile; an instruction memory that stores the haptic profile and that is coupled to the program counter circuitry, wherein the instruction memory is configured to receive addresses from the program counter according to the address sequence; and an instruction register that is coupled to the instruction memory.
[0014] In an example embodiment, the sine wave generator further comprises: a sine angle calculator that is coupled to the controller; a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
[0015] In an example embodiment, an apparatus is provided that includes a touch screen; a host processor that is configured to generate a haptics effect instruction that corresponds to a desired haptics effect; a controller having: an host interface that is coupled to the host processor; a touch screen interface that is coupled to the touch screen; an ADC that is coupled to the touch screen interface; processing circuitry that is coupled to the ADC and the host interface; a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes: a plurality of haptics instructions; a controller; an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect; and an amplifier that is coupled to the sine wave generator that generates a sine wave that corresponds to the desired haptics effect; and an actuator that is coupled to the amplifier.
[0016] In an example embodiment, the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction, and wherein a haptic profile further comprises at least one of: a profile word having the profile instruction as its opcode and having amplitude, frequency, and profile duration as its data; a move word having the move instruction as its opcode, and having a register number and register values as its data; a wait/halt word having the wait/halt instruction as its opcode and having at least one of a wait duration and halt as its data; and a branch word having the branch instruction as its opcode and having a register number and a jump location as its data. [0017] In an example embodiment, the sine wave generator further comprises: a sine angle calculator that is coupled to the controller; a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
[0018] In an example embodiment, a method for generating a desired haptics effect is provided. The method comprises generating a haptics effect instruction by a host processor responsive to a touch screen, wherein the haptics effect instruction corresponds to the desired haptics effect; receiving the haptics effect instruction by a haptics driver; generating a haptic profile from the haptics effect instruction, wherein the haptic profile includes at least one of a profile word, a move word, wait/halt word, and a branch word; and generating a sine wave from the from the haptic profile that corresponds to the desired haptics effect.
[0019] In an example embodiment, the step of generating the haptic profile further comprises: decoding the haptics effect instruction; and calling the haptics profile from instruction memory.
[0020] In an example embodiment, the step of generating the haptics effect instruction further comprises: receiving an analog data set from the touch screen; converting the analog data set to a digital data set; and determining the haptics effect instruction from the digital data set. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG. 1 shows an example of a system in accordance with an example embodiment of the invention;
[0022] FIG. 2 shows an example of the touch screen controller of FIG. 1;
[0023] FIG. 3 shows an example of the haptics driver of FIG. 2;
[0024] FIGS. 4-7 illustrate an example of the instruction set of haptics driver of FIG. 3;
[0025] FIG. 8 shows an example of a portion of the instruction sequencer of FIG 3; and
[0026] FIGS. 9-11 illustrate example sine waves corresponding to different haptics effects generated by the haptics driver of FIG. 3.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0027] FIG. 1 illustrates an example of a system 100 in accordance with an example embodiment of the invention can be seen. This system 100 can be a number of devices such as portable media players, smartphones, or gaming controllers and generally comprises a touch screen 102 (which can be a capacitive or resistive touch screen), a host processor 104 (i.e., digital signal processor or DSP), touch screen controller 106, a driver 108 (which can be an amplifier), and an actuator 110 (which can be a linear actuator, a piezoelectric transducer, a motor, and so forth). Generally, a user can interact with the system 100 through the touch screen 102 (which is controlled by the touch screen controller 106 and host processor 104). Based on the user's interaction with the system 100, haptic effects can be generated. Generally, the touch screen controller 106 provides a sine wave to the actuator 110 (either directly or through driver 108).
[0028] In FIG. 2, the touch screen controller 106 (which is typically an integrated circuit or IC) can be seen in greater detail. The touch screen controller 106 generally comprises a touch screen interface 202 (which can, for example, be an interface for a 4-wire resistive touch screen), an analog-to-digital converter (ADC) 204 (which can be a successive approximation register (SAR) ADC), a pre -processor 206, a host interface 208 (i.e., inter-integrated circuit or I2C interface), clock 210, and a haptics driver 212. Generally, the touch screen interface 202 receives data from a touch screen 102 and is converted by ADC 204 to a digital signal (which generally corresponds to a screen location). This digital signal is then processed by the preprocessor 206 and provided to the host processor 104 through the host interface 208. The haptics driver 212 also communicates with the host processor 212 through the interface 208, where it can receive a haptics effect instruction (which can generally correspond to a desired haptic effect). The haptics driver 206 is then able generate a sine wave (that corresponds to the desired haptic effect) for the driver 108 and/or the actuator 110.
[0029] The haptics driver 212 (as can be seen in greater detain in FIG. 3 and which can have about 8000 gates) can generate nearly any complex sine wave form using a small instruction set. The haptics driver 212 generally comprises a controller 302, an instruction sequencer 304, a sine wave synthesizer 306 (which generally comprises a sine angle calculator 310, lookup table or LUT 312 and amplitude multiplier 314), and an amplifier 310 (which is generally a class-D amplifier that is comprised of a pulse width modulator or PWM 316 and output circuit 318).
[0030] The instruction sequencer 306 is generally a state machine that (in conjunction with the controller 302) decodes the haptics effect instruction from host processor 104 and calls a haptic profile from this decoded haptics effect instruction. Generally, the instruction sequencer 302 stores the instruction set for the haptics driver 212, and this instruction set is generally comprised of four instructions: profile, move, wait/halt, and branch. These four instructions can be used to generate nearly ever haptics effect and function as the opcode for instruction words (which, in combination, can comprise haptic profile). The profile word 400 (as shown in FIG. 4) is typically an 8-bit word and generally corresponds to sinusoidal portion of an output sine wave from the haptics controller 206. It can include the opcode designation "11" (see reference numeral 402) that corresponds to the profile instruction, and the profile word 400 also can includes as its data an amplitude and frequency field 404 (which is typically a 2-bit field) and profile duration field 406 (which is typically a 4-bit field and generally corresponds to a number of periods). The move word 500 (as shown in FIG. 5) is typically a 16-bit word and generally corresponds to movement across the touch screen 102, where the opcode designation can be "10" (see reference numeral 502) and where the data generally comprises a reserved field 504 (which is typically 1-bit field), a register number field 506 (which is typically a 5-bit field), and register values field 508 (which is typically an 8-bit byte field). The wait/halt word 600 (as shown in FIG. 6) is typically an 8-bit word that can indicate a wait duration or halt execution 604. The opcode designation can be "00" (see reference numeral 602), and the data can include a break/no break field 604 (which is typically a 1-bit field and which can be used for motor deceleration) and a wait duration or halt field 606 (which is typically a 5 -bit field). The branch word 700 (as shown in FIG. 7) if typically an 8-bit word and is generally a looping instruction that allows different instructions to be strung together. It can have an opcode designation of "11" (see reference numeral 602) and can include a reserved field 704 (which is typically 1-bit field), a register number field 706 (which is typically a 1-bit field), and a jump location field 708 (which is typically a 4-bit field) as its data.
[0031] Based on the haptic profile, the sine wave generator 306 can then generate a sine wave for amplifier 308. Typically, the sine wave generator 306 has two modes of operation: frequency synthesizer mode and fixed pulse width generator (FPWG) mode. In the frequency synthesizer mode, the sine angle calculator 310, LUT 312, and amplitude multiplier 314 collectively calculate the duty cycle for the next pulse for PWM 316. In the FPWG mode, the sine angle calculator 310 and amplitude multiplier 314 are bypassed, allowing the selection of one of (for example) eight fixed pulse width modulated frequencies that produce a sine wave in a frequency range (i.e., between about 10Hz and about 20kHz).
[0032] Turning to FIG. 8, the instruction sequencer 304 can be seen in greater detail, and it is generally comprised of program counter 804, instruction memory 812, instruction register 814, and multiplexer or muxes 802, 806, 808, and 810. Generally, the instruction register 814 (which is generally a bank of registers) holds the parameters and control signals used for haptic operation, and the instruction memory 812 is generally comprised of two pages. Each of the instruction memory 812 and instruction register 814 are also generally implemented using latches. The first page of the instruction memory 812 generally includes built-in haptic profiles (or built-in control word sets), and the second page of the instruction memory 812 can be comprised of user-defined haptic profiles. Each of the control word sets employ the combinations of the words 400, 500, 600, and 700.
[0033] Looking first to creation of user-defined haptic profile, these haptic profiles can be stored in the instruction memory 812 (namely, the second page) through the host interface 208. When writing, the write signal WR is asserted through the host interface 208. This allows a user-defined haptics profile to be loaded and stored in the instruction memory 812 (as the data signal IMDATA).
[0034] Initially, in normal operation, the controller 302 asserts the program counter write signal INITPCWR and the program counter load signal PCLOAD so that an starting address STARTADDR can be loaded to the program counter 804 through multiplexer 802. The stage address STARTADDR is output (as a program counter signal PC) to multiplexers 806 and 810. With multiplexer 810, an address ADDR is provided to the instruction memory 812. Based on the page selected by the controller 302 through the page signal PAGE, the appropriate word (for the desired haptics profile) is read, and once the controller 302 asserts the load signal IMILD, the instruction register 814 can load the current word CURRENTINSTR (typically eight bits or sixteen bits). Additionally, the program counter signal PC is provided to multiplexer 806 to generate the next address PCADDR. Depending on whether there is a branch word (i.e., 700) used, the controller 302 can select whether a portion of the current instruction CURSTR (typically 4 bits) or a predetermined value can be used. Generally, the current instruction CURRENTINSTR and the next word or instruction NEXTINSTR are used by the controller 302. Additionally, the controller 302 can provide period numbers PERNO and wait signal WAIT to implement wait words (i.e., 600), and the words stored in the instruction memory 812 can be read out through the host interface 208 (as the memory read MEMRD signal). [0035] Now turning to FIGS. 9-11, examples of haptics profiles can be seen. The profile in FIG. 9 generally corresponds to a sine wave for a "key touch," and this haptics profile is generally comprised of four words (profile, wait/halt, profile, and wait/halt) shown in Table 1 below.
Table 1
Figure imgf000010_0001
The profile in FIG. 10 generally corresponds to "drag-and-drop," and this haptics profile is generally comprised of four words (profile, wait/halt, branch, and wait/halt) shown in Table 2 below.
Table 2
Figure imgf000010_0002
[0036] The profile in FIG. 11 generally corresponds to "slide," and this haptics profile is generally comprised of five words (profile, profile, profile, profile, and wait/halt) shown in Table 3 below.
Table 3
Figure imgf000010_0003
2 11 01 1111
3 11 10 1111
4 11 11 1111
5 00 0 00000
[0037] Each of these difference haptics profiles would be selected based on a user's interaction with a touch screen. Namely, and for example, the host processor 104 would determine that a "drag-and-drop" profile would be appropriate based on an analog data set (which would be converted to a digital data set by ADC 204) of a user performing dragging and dropping an item with the graphical user interface.
[0038] Those skilled in the art will appreciate that modifications may be made to the described embodiments, and also that many other embodiments are possible, within the scope of the claimed invention.

Claims

CLAIMS What is claimed is:
1. An apparatus comprising:
a plurality of haptics instructions;
a controller;
an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction; and
a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect.
2. The apparatus of Claim 1, wherein the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction, and wherein a haptic profile further comprises at least one of a profile word, a move word, a wait/halt word, and a branch word that each include opcode and data, and wherein the profile instruction, the move instruction, the wait/halt instruction, and the branch instruction further comprise the opcode for the profile word, the move word, the wait/halt word, and the branch word, respectively.
3. The apparatus of Claim 2, wherein the data for the profile word further comprises amplitude, frequency, and profile duration.
4. The apparatus of Claim 3, wherein the data for the move word further comprises a register number and register values.
5. The apparatus of Claim 4, wherein the data for the wait/halt word further comprises at least one of a wait duration and halt.
6. The apparatus of Claim 4, wherein the data for the branch word further comprises a register number and a jump location.
7. The apparatus of Claim 6, wherein the apparatus further comprises an amplifier that is coupled to the sine wave generator.
8. The apparatus of Claim 7, wherein the amplifier further comprises a class-D amplifier.
9. An apparatus comprising:
a host interface;
a touch screen interface that is configured to receive data from a touch screen;
an analog-to-digital converter (ADC) that is coupled to the touch screen interface;
processing circuitry that is coupled to the ADC and the host interface; and
a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes:
a plurality of haptics instructions;
a controller;
an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction;
a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect; and
an amplifier that is coupled to the sine wave generator.
10. The apparatus of Claim 9, wherein the plurality of instruction further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction, and wherein a haptic profile further comprises at least one of a profile word, a move word, a wait/halt word, and a branch word that each include opcode and data, and wherein the profile instruction, the move instruction, the wait/halt instruction, and the branch instruction further comprise the opcode for the profile word, the move word, the wait/halt word, and the branch word, respectively.
11. The apparatus of Claim 10, wherein the data for the profile word further comprises amplitude, frequency, and profile duration; the data for the move word further comprises a register number and register values; the data for the wait/halt word further comprises at least one of a wait duration and halt; the data for the branch word further comprises a register number and a jump location; and the amplifier further comprises a class-D amplifier.
12. The apparatus of Claim 11, wherein the instruction sequencer further comprises:
a program counter circuitry that is configured to generate an address sequence corresponding to the haptic profile;
an instruction memory that stores the haptic profile and that is coupled to the program counter circuitry, wherein the instruction memory is configured to receive addresses from the program counter according to the address sequence; and
an instruction register that is coupled to the instruction memory.
13. The apparatus of Claim 12, wherein the sine wave generator further comprises:
a sine angle calculator that is coupled to the controller;
a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
14. An apparatus comprising:
a touch screen;
a host processor that is configured to generate a haptics effect instruction that corresponds to a desired haptics effect;
a controller having:
a host interface that is coupled to the host processor;
a touch screen interface that is coupled to the touch screen;
an ADC that is coupled to the touch screen interface; processing circuitry that is coupled to the ADC and the host interface; and
a haptics driver that is coupled to the host interface, wherein the haptics driver is configured to receive a haptics effect instruction that corresponds to a desired haptics effect, wherein the haptics driver includes:
a plurality of haptics instructions;
a controller;
an instruction sequencer that is coupled to the controller and that is configured to receive a haptics effect instruction, wherein the haptics effect instruction corresponds to a desired haptics effect, and wherein instruction sequencer and controller call a haptic profile using the plurality of haptics instructions that corresponds to the haptic effect instruction;
a sine wave generator that is coupled to the controller so as to receive the haptic profile and that generates a sine wave from the haptic profile that corresponds to the desired haptics effect; and
an amplifier that is coupled to the sine wave generator that generates a sine wave that corresponds to the desired haptics effect; and
an actuator that is coupled to the amplifier.
15. The apparatus of Claim 14, wherein the plurality of instructions further comprises a profile instruction, a move instruction, a wait/halt instruction, and a branch instruction, and wherein a haptic profile further comprises at least one of:
a profile word having the profile instruction as its opcode and having amplitude, frequency, and profile duration as its data;
a move word having the move instruction as its opcode, and having a register location and register values as its data;
a wait/halt word having the wait/halt instruction as its opcode and having at least one of a wait duration and halt as its data; and
a branch word having the branch instruction as its opcode and having a register number and jump location as its data.
16. The apparatus of Claim 14, wherein the instruction sequencer further comprises: a program counter circuitry that is configured to generate an address sequence corresponding to the haptic profile;
an instruction memory that stores the haptic profile and that is coupled to the program counter circuitry, wherein the instruction memory is configured to receive addresses from the program counter according to the address sequence; and
an instruction register that is coupled to the instruction memory.
17. The apparatus of Claim 16, wherein the sine wave generator further comprises:
a sine angle calculator that is coupled to the controller;
a lookup table (LUT) that is coupled to the sine angle calculator and the controller; and an amplitude multiplier that is coupled to the LUT and controller.
18. A method for generating a desired haptics effect, the method comprising:
generating a haptics effect instruction by a host processor responsive to a touch screen, wherein the haptics effect instruction corresponds to the desired haptics effect;
receiving the haptics effect instruction by a haptics driver;
generating a haptic profile from the haptics effect instruction, wherein the haptic profile includes at least one of a profile word, a move word, wait/halt word, and a branch word; and generating a sine wave from the from the haptic profile that corresponds to the desired haptics effect.
19. The apparatus of Claim 18, wherein the step of generating the haptic profile further comprises:
decoding the haptics effect instruction; and
calling the haptics profile from instruction memory.
20. The apparatus of Claim 19, wherein the step of generating the haptics effect instruction further comprises:
receiving an analog data set from the touch screen;
converting the analog data set to a digital data set; and
determining the haptics effect instruction from the digital data set.
PCT/US2012/024480 2011-02-09 2012-02-09 Haptics effect controller architecture and instruction set Ceased WO2012109443A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280008372.8A CN103370673B (en) 2011-02-09 2012-02-09 Haptic effect controller framework and instruction set
JP2013553564A JP5978231B2 (en) 2011-02-09 2012-02-09 Haptic effect controller architecture and instruction set

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/024,042 US8624857B2 (en) 2011-02-09 2011-02-09 Haptics effect controller architecture and instruction set
US13/024,042 2011-02-09

Publications (2)

Publication Number Publication Date
WO2012109443A2 true WO2012109443A2 (en) 2012-08-16
WO2012109443A3 WO2012109443A3 (en) 2012-10-26

Family

ID=46600329

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/024480 Ceased WO2012109443A2 (en) 2011-02-09 2012-02-09 Haptics effect controller architecture and instruction set

Country Status (4)

Country Link
US (1) US8624857B2 (en)
JP (1) JP5978231B2 (en)
CN (1) CN103370673B (en)
WO (1) WO2012109443A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018037112A (en) * 2012-12-10 2018-03-08 イマージョン コーポレーションImmersion Corporation Enhanced dynamic haptic effect
US10248212B2 (en) 2012-11-02 2019-04-02 Immersion Corporation Encoding dynamic haptic effects

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007030603A2 (en) * 2005-09-08 2007-03-15 Wms Gaming Inc. Gaming machine having display with sensory feedback
KR102035305B1 (en) * 2013-01-15 2019-11-18 삼성전자주식회사 Method for providing haptic effect in portable terminal, machine-readable storage medium and portable terminal
US9542801B1 (en) 2014-04-28 2017-01-10 Bally Gaming, Inc. Wearable wagering game system and methods
US9858751B2 (en) 2014-09-26 2018-01-02 Bally Gaming, Inc. Wagering game wearables
KR102267474B1 (en) 2015-05-11 2021-06-21 삼성전자주식회사 Vibration control device and comuputing device including the same
EP3343318B1 (en) 2016-12-29 2019-09-11 Vestel Elektronik Sanayi ve Ticaret A.S. Method and device for generating a haptic effect
US10594310B2 (en) * 2018-02-16 2020-03-17 Cirrus Logic, Inc. Full-scale range enhancement in a dual-path pulse width modulation playback system
US10642387B2 (en) * 2018-03-22 2020-05-05 Qualcomm Incorporated Apparatus and method for digitally driving touchscreen panels with transmit signals based on pulse width modulated (PWM) signals

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040236450A1 (en) * 2000-09-25 2004-11-25 Motorwiz, Inc. Model-based machine diagnostics and prognostics using theory of noise and communications
US6641480B2 (en) * 2001-01-29 2003-11-04 Microsoft Corporation Force feedback mechanism for gamepad device
US7154470B2 (en) 2001-07-17 2006-12-26 Immersion Corporation Envelope modulator for haptic feedback devices
JP2004265281A (en) * 2003-03-04 2004-09-24 Univ Nihon Vibration response type touch panel
JP4518780B2 (en) * 2003-11-19 2010-08-04 株式会社リコー Device operating device, device operating method, program, and computer-readable recording medium
US7791588B2 (en) * 2003-12-22 2010-09-07 Immersion Corporation System and method for mapping instructions associated with haptic feedback
US7765333B2 (en) * 2004-07-15 2010-07-27 Immersion Corporation System and method for ordering haptic effects
US7148789B2 (en) * 2004-09-09 2006-12-12 Motorola, Inc. Handheld device having multiple localized force feedback
KR101298781B1 (en) * 2004-11-30 2013-08-22 임머숀 코퍼레이션 Systems and methods for controlling a resonant device for generating vibrotactile haptic effects
JP4617893B2 (en) * 2005-01-18 2011-01-26 ソニー株式会社 Vibration transmission structure, input / output device with tactile function, and electronic equipment
JP5275025B2 (en) * 2005-06-27 2013-08-28 コアクティヴ・ドライヴ・コーポレイション Synchronous vibrator for tactile feedback
US8780053B2 (en) * 2007-03-21 2014-07-15 Northwestern University Vibrating substrate for haptic interface
US20070236474A1 (en) * 2006-04-10 2007-10-11 Immersion Corporation Touch Panel with a Haptically Generated Reference Key
US8098234B2 (en) * 2007-02-20 2012-01-17 Immersion Corporation Haptic feedback system with stored effects
US8310444B2 (en) * 2008-01-29 2012-11-13 Pacinian Corporation Projected field haptic actuation
WO2009102992A1 (en) * 2008-02-15 2009-08-20 Pacinian Corporation Keyboard adaptive haptic response
US8156809B2 (en) * 2008-03-27 2012-04-17 Immersion Corporation Systems and methods for resonance detection
KR101556522B1 (en) * 2008-06-27 2015-10-01 엘지전자 주식회사 Mobile terminal for providing haptic effect and control method thereof
KR101474963B1 (en) * 2008-07-01 2014-12-19 엘지전자 주식회사 A mobile terminal and a control method thereof
US8686952B2 (en) * 2008-12-23 2014-04-01 Apple Inc. Multi touch with multi haptics
US8378979B2 (en) * 2009-01-27 2013-02-19 Amazon Technologies, Inc. Electronic device with haptic feedback
US8310457B2 (en) * 2009-06-30 2012-11-13 Research In Motion Limited Portable electronic device including tactile touch-sensitive input device and method of protecting same
US8780055B2 (en) * 2009-10-02 2014-07-15 Blackberry Limited Low power wakeup detection circuit and a portable electronic device having a low power wakeup detection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10248212B2 (en) 2012-11-02 2019-04-02 Immersion Corporation Encoding dynamic haptic effects
JP2018037112A (en) * 2012-12-10 2018-03-08 イマージョン コーポレーションImmersion Corporation Enhanced dynamic haptic effect
US10359851B2 (en) 2012-12-10 2019-07-23 Immersion Corporation Enhanced dynamic haptic effects

Also Published As

Publication number Publication date
JP2014510966A (en) 2014-05-01
JP5978231B2 (en) 2016-08-24
US20120200509A1 (en) 2012-08-09
CN103370673A (en) 2013-10-23
US8624857B2 (en) 2014-01-07
WO2012109443A3 (en) 2012-10-26
CN103370673B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US8624857B2 (en) Haptics effect controller architecture and instruction set
JP6744913B2 (en) Rounding of floating point numbers
JP2017533742A (en) Parameter loader for ultrasonic probe and related apparatus and method
US10409350B2 (en) Instruction optimization using voltage-based functional performance variation
US9436259B2 (en) Electronic device and control method
CN107734167A (en) A kind of vibration control method, terminal and computer-readable recording medium
CN107239348A (en) A kind of polycaryon processor dispatching method, device and mobile terminal
JPWO2014125857A1 (en) INPUT DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2014510966A5 (en)
US7647512B2 (en) Method and apparatus for switching performance
CN107066326A (en) The method and terminal of a kind of scheduler task
CN107690026A (en) A kind of signal processing method and mobile terminal
Käsgen et al. A coarse-grained reconfigurable array for high-performance computing applications
US20140191796A1 (en) Semiconductor device and command control method for the same
CN107181871B (en) Method and mobile terminal for volume adjustment
JP2016512331A (en) Smooth voltage-current mode crossover method at compliance limit threshold
CN107754315A (en) One kind game generation method and computing device
US7194601B2 (en) Low-power decode circuitry and method for a processor having multiple decoders
US11868551B1 (en) System and method for customized user input
US20170017610A1 (en) Method and apparatus for controlling reconfigurable processor
JP5876277B2 (en) Power control device
CN116206532A (en) Folding screen assembly, detection method, electronic device and computer-readable storage medium
CN112650973B (en) Trigonometric function calculation device and electronic equipment
US20150162519A1 (en) Apparatus and method for generating sinusodial waves, and system for driving piezo actuator using the same
US20040205322A1 (en) Low-power decode circuitry for a processor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12744506

Country of ref document: EP

Kind code of ref document: A2

ENP Entry into the national phase

Ref document number: 2013553564

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12744506

Country of ref document: EP

Kind code of ref document: A2