CN108181988B - Control method and device for LRA motor driving chip - Google Patents

Control method and device for LRA motor driving chip Download PDF

Info

Publication number
CN108181988B
CN108181988B CN201711470402.8A CN201711470402A CN108181988B CN 108181988 B CN108181988 B CN 108181988B CN 201711470402 A CN201711470402 A CN 201711470402A CN 108181988 B CN108181988 B CN 108181988B
Authority
CN
China
Prior art keywords
mode
waveform
playing
controlling
trig
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.)
Active
Application number
CN201711470402.8A
Other languages
Chinese (zh)
Other versions
CN108181988A (en
Inventor
赵观星
吴绍夫
张仁富
杜黎明
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.)
Shanghai Awinic Technology Co Ltd
Original Assignee
Shanghai Awinic Technology Co Ltd
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 Shanghai Awinic Technology Co Ltd filed Critical Shanghai Awinic Technology Co Ltd
Priority to CN201711470402.8A priority Critical patent/CN108181988B/en
Publication of CN108181988A publication Critical patent/CN108181988A/en
Application granted granted Critical
Publication of CN108181988B publication Critical patent/CN108181988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

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)
  • Control Of Electric Motors In General (AREA)
  • Control Of Stepping Motors (AREA)

Abstract

The invention provides a control method of an LRA motor driving chip, which comprises the steps of firstly obtaining a first waveform mode of a current playing waveform of the motor driving chip, then obtaining a second waveform mode of a waveform to be played, then determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing a target waveform according to the target waveform playing time sequence. Therefore, by adopting the control method provided by the invention, when different trigger modes arrive at the same time, the final play mode and play time sequence are determined, the play mode of the waveform can be flexibly, simply and conveniently controlled, and the touch experience of various application scenes is generated.

Description

Control method and device for LRA motor driving chip
Technical Field
The present invention relates to the field of circuit control technologies, and in particular, to a method and an apparatus for controlling an LRA motor driving chip.
Background
With the rapid development of electronic products, the narrow bezel design is becoming a major trend in the development of current electronic products. In order to reduce the occupation of the screen frame in the electronic device, the design of replacing the physical keys with the virtual keys is adopted.
Among them, a linear motor (LRA) is a core component that implements a haptic feedback technology. Compared with a rotor motor (ERM), the linear motor has the advantages of higher response speed, long service life, controllable vibration frequency and amplitude, good batch consistency, low power consumption and the like.
Generally, in an LRA motor driving chip, three operation modes are set for different application scenarios: WAV mode, RTP mode and TRIG mode. The WAV mode and the RTP mode are used for playing different waveforms to adapt to different application scenarios. While the hardware Triggered (TRIG) mode is mainly applied to tactile feedback of keys.
However, in haptic feedback application scenarios, a hardware trigger signal is typically received when the WAV mode or RTP mode LRA motor vibrates. Therefore, it is a great technical problem to be solved by those skilled in the art how to provide a control method for an LRA motor driving chip to determine a final play mode and a play timing sequence when different trigger modes arrive at the same time, so as to flexibly and simply control a waveform play mode and generate haptic experiences in various application scenarios.
Disclosure of Invention
In view of this, the present invention provides a control method and a device for an LRA motor driving chip, by which the LRA motor is controlled to vibrate, the final play mode and play timing sequence are determined when different trigger modes arrive at the same time, the play mode of the waveform can be flexibly and simply controlled, and the haptic experience of various application scenes can be generated.
To achieve the above object, the present invention provides
A control method of an LRA motor driving chip is applied to the motor driving chip and comprises the following steps:
acquiring a first waveform mode of a current playing waveform of the motor driving chip;
acquiring a second waveform mode of a waveform to be played;
and determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence.
Optionally, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence includes:
when the first waveform mode is WAV mode and the second waveform mode is TRIG hardware trigger signal mode,
controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the WAV mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the WAV mode to stop playing.
Optionally, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence includes:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
controlling a waveform corresponding to a TRIG hardware trigger signal mode to stop playing, and controlling a waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the WAV mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
Optionally, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence includes:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the RTP mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the RTP mode to stop playing.
Optionally, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence includes:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the RTP mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
A control device of an LRA motor driving chip comprises:
the first acquisition module is used for acquiring a first waveform mode of a current playing waveform of the motor driving chip;
the second acquisition module is used for acquiring a second waveform mode of the waveform to be played;
and the determining module is used for determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence.
Optionally, the determining module includes:
a first determination unit configured to determine priorities of the first waveform mode and the second waveform mode;
a control unit, configured to, when the first waveform mode is a WAV mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the WAV mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the WAV mode to stop playing.
Optionally, the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
controlling a waveform corresponding to a TRIG hardware trigger signal mode to stop playing, and controlling a waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the WAV mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
Optionally, the control unit is further configured to:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the RTP mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the RTP mode to stop playing.
Optionally, the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the RTP mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
As can be seen from the above technical solutions, compared with the prior art, the present invention provides a control method for an LRA motor driver chip, which includes obtaining a first waveform mode of a currently played waveform of the motor driver chip, obtaining a second waveform mode of a waveform to be played, determining a target waveform playing timing sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing a target waveform according to the target waveform playing timing sequence. Therefore, by adopting the control method provided by the invention, the final play mode and the play time sequence can be determined when different trigger modes arrive at the same time, the play mode of the waveform can be flexibly, conveniently and conveniently controlled, and the tactile experience of various application scenes can be generated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a control method of an LRA motor driving chip according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a first relationship between a hardware triggering manner and a WAV mode provided in this embodiment;
fig. 3 is a schematic diagram of a second relationship between a hardware triggering manner and a WAV mode provided in this embodiment;
fig. 4 is a schematic diagram illustrating a third relationship between a hardware triggering manner and a WAV mode provided in this embodiment;
fig. 5 is a schematic diagram illustrating a fourth relationship between a hardware triggering manner and a WAV mode provided in this embodiment;
fig. 6 is a schematic diagram illustrating a fifth relationship between a hardware trigger mode and a WAV mode provided in this embodiment;
fig. 7 is a schematic diagram illustrating a first relationship between a hardware triggering manner and an RTP mode provided in this embodiment;
fig. 8 is a schematic diagram illustrating a second relationship between a hardware triggering manner and an RTP mode provided in this embodiment;
fig. 9 is a schematic diagram illustrating a third relationship between a hardware triggering manner and an RTP mode provided in this embodiment;
fig. 10 is a schematic diagram illustrating a fourth relationship between a hardware triggering manner and an RTP mode provided in this embodiment;
fig. 11 is a schematic diagram illustrating a fifth relationship between a hardware triggering manner and an RTP mode provided in this embodiment;
fig. 12 is a schematic structural diagram of a control device of an LRA motor driving chip according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a control method of an LRA motor driving chip according to an embodiment of the present invention, where the control method is applied to a motor control system. The motor control system comprises a motor driving chip, and the control method comprises the following steps:
s11, acquiring a first waveform mode of a current playing waveform of the motor driving chip;
s12, acquiring a second waveform mode of the waveform to be played;
s13, determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence.
Specifically, in the LRA motor driving chip provided in this embodiment, for different application scenarios, three operation modes are set: WAV mode, RTP mode and TRIG mode.
In the WAV mode, the waveform library stored in the playing chip is suitable for the condition that the waveform data is small but the use frequency is high.
In the RTP mode, the waveform to be played comes from the HOST outside the chip, and the method is suitable for the case that the data volume of the waveform is large. Wherein, the WAV mode and the RTP mode cannot work simultaneously. The hardware Trigger (TRIG) mode is mainly applied to the key and can work in a WAV mode or an RTP mode.
In the application scenario of haptic feedback, a hardware trigger signal is received when the WAV mode or RTP mode LRA motor vibrates, and therefore, the present embodiment sets the execution sequence of each mode.
For example, in this embodiment, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence may specifically be:
when the first waveform mode is WAV mode and the second waveform mode is TRIG hardware trigger signal mode,
as shown in fig. 2, controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and after the playing of the waveform corresponding to the TRIG hardware trigger signal mode is finished, controlling the waveform corresponding to the WAV mode to continue playing;
or the like, or, alternatively,
as shown in fig. 3, controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
as shown in fig. 4, the waveform corresponding to the WAV mode is controlled to stop playing.
On the basis of the foregoing embodiment, in this embodiment, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode, and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence may further specifically be:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
as shown in fig. 5, controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
as shown in fig. 6, controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and after the waveform corresponding to the TRIG hardware trigger signal mode is played, controlling the waveform corresponding to the WAV mode to play.
In addition, in this embodiment, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence may further specifically be:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
as shown in fig. 7, controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
as shown in fig. 8, the waveform corresponding to the RTP mode is controlled to stop playing, and the waveform corresponding to the TRIG hardware trigger signal mode is controlled to play;
or the like, or, alternatively,
as shown in fig. 9, the waveform corresponding to the RTP mode is controlled to stop playing.
Optionally, in this embodiment, the determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode, and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence may further include:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
as shown in fig. 10, controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
as shown in fig. 11, controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and after the waveform corresponding to the TRIG hardware trigger signal mode is played, controlling the waveform corresponding to the RTP mode to play.
Therefore, by adopting the control method provided by the invention, when different trigger modes arrive at the same time, the final play mode and play time sequence are determined, the play mode of the waveform can be flexibly, simply and conveniently controlled, and the touch experience of various application scenes is generated.
On the basis of the foregoing embodiments, as shown in fig. 12, this embodiment further provides a control device of an LRA motor driving chip, which is applied to a motor control chip, where the motor driving chip includes at least one hardware trigger pin, and each hardware trigger pin corresponds to a hardware trigger pulse, and the control device includes:
a first obtaining module 121, configured to obtain a first waveform mode of a currently played waveform of the motor driver chip;
a second obtaining module 122, configured to obtain a second waveform mode of the waveform to be played;
the determining module 123 is configured to determine a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and play the target waveform according to the target waveform playing time sequence.
Optionally, the determining module includes:
a first determination unit configured to determine priorities of the first waveform mode and the second waveform mode;
a control unit, configured to, when the first waveform mode is a WAV mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the WAV mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the WAV mode to stop playing.
Optionally, the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
controlling a waveform corresponding to a TRIG hardware trigger signal mode to stop playing, and controlling a waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the WAV mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
Optionally, the control unit is further configured to:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the RTP mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the RTP mode to stop playing.
Optionally, the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the RTP mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
The working principle of the method is described in the above embodiments, and will not be repeated here.
In addition, the present embodiment further provides a control system of the LRA motor driving chip, including any one of the control devices of the LRA motor driving chip.
In summary, the present invention provides a control method for an LRA motor driver chip, which includes obtaining a first waveform mode of a currently played waveform of the motor driver chip, then obtaining a second waveform mode of a waveform to be played, then determining a target waveform playing timing sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing a target waveform according to the target waveform playing timing sequence. Therefore, by adopting the control method provided by the invention, when different trigger modes arrive at the same time, the final play mode and play time sequence are determined, the play mode of the waveform can be flexibly, simply and conveniently controlled, and the touch experience of various application scenes is generated.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A control method of an LRA motor driving chip is applied to the motor driving chip, the motor driving chip comprises at least one hardware trigger pin, each hardware trigger pin corresponds to a hardware trigger pulse, and the control method comprises the following steps:
acquiring a first waveform mode of a current playing waveform of the motor driving chip;
acquiring a second waveform mode of a waveform to be played;
and determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence.
2. The method of claim 1, wherein the determining a target waveform playing timing according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing timing comprises:
when the first waveform mode is WAV mode and the second waveform mode is TRIG hardware trigger signal mode,
controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the WAV mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the WAV mode to stop playing.
3. The method of claim 1, wherein the determining a target waveform playing timing according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing timing comprises:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
controlling a waveform corresponding to a TRIG hardware trigger signal mode to stop playing, and controlling a waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the WAV mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
4. The method of claim 1, wherein the determining a target waveform playing timing according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing timing comprises:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the RTP mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the RTP mode to stop playing.
5. The method of claim 1, wherein the determining a target waveform playing timing according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing timing comprises:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the RTP mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
6. A control device of an LRA motor driving chip is characterized by comprising:
the first acquisition module is used for acquiring a first waveform mode of a current playing waveform of the motor driving chip;
the second acquisition module is used for acquiring a second waveform mode of the waveform to be played;
and the determining module is used for determining a target waveform playing time sequence according to the first waveform mode, the second waveform mode and a preset playing rule, and playing the target waveform according to the target waveform playing time sequence.
7. The control device of the LRA motor driving chip as claimed in claim 6, wherein the determining module comprises:
a first determination unit configured to determine priorities of the first waveform mode and the second waveform mode;
a control unit, configured to, when the first waveform mode is a WAV mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the WAV mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the WAV mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the WAV mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the WAV mode to stop playing.
8. The control device of the LRA motor driving chip of claim 7, wherein the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is a WAV mode,
controlling a waveform corresponding to a TRIG hardware trigger signal mode to stop playing, and controlling a waveform corresponding to the WAV mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the WAV mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
9. The control device of the LRA motor driving chip of claim 8, wherein the control unit is further configured to:
when the first waveform mode is an RTP mode and the second waveform mode is a TRIG hardware trigger signal mode,
controlling the waveform corresponding to the RTP mode to stop playing, controlling the waveform corresponding to the TRIG hardware trigger signal mode to play, and controlling the waveform corresponding to the RTP mode to continue playing after the waveform corresponding to the TRIG hardware trigger signal mode is played;
or the like, or, alternatively,
controlling the waveform corresponding to the RTP mode to stop playing, and controlling the waveform corresponding to the TRIG hardware trigger signal mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the RTP mode to stop playing.
10. The control device of the LRA motor driving chip of claim 9, wherein the control unit is further configured to:
when the first waveform mode is a TRIG hardware trigger signal mode and the second waveform mode is an RTP mode,
controlling the waveform corresponding to the TRIG hardware trigger signal mode to stop playing, and controlling the waveform corresponding to the RTP mode to play;
or the like, or, alternatively,
and controlling the waveform corresponding to the TRIG hardware trigger signal mode to continue playing, and controlling the waveform corresponding to the RTP mode to play after the waveform corresponding to the TRIG hardware trigger signal mode is played.
CN201711470402.8A 2017-12-29 2017-12-29 Control method and device for LRA motor driving chip Active CN108181988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711470402.8A CN108181988B (en) 2017-12-29 2017-12-29 Control method and device for LRA motor driving chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711470402.8A CN108181988B (en) 2017-12-29 2017-12-29 Control method and device for LRA motor driving chip

Publications (2)

Publication Number Publication Date
CN108181988A CN108181988A (en) 2018-06-19
CN108181988B true CN108181988B (en) 2020-12-11

Family

ID=62548827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711470402.8A Active CN108181988B (en) 2017-12-29 2017-12-29 Control method and device for LRA motor driving chip

Country Status (1)

Country Link
CN (1) CN108181988B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710067A (en) * 2018-12-20 2019-05-03 上海艾为电子技术股份有限公司 A kind of linear resonance device and its brake method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351956A (en) * 2006-08-17 2009-01-21 爱信艾达株式会社 Electric motor drive control method and apparatus
CN101729625A (en) * 2010-01-05 2010-06-09 青岛海信移动通信技术股份有限公司 Method for driving motor of mobile phone and mobile equipment
CN103149402A (en) * 2011-12-07 2013-06-12 北京普源精电科技有限公司 Oscilloscope with functions of recording and replaying wave forms
EP2743800A3 (en) * 2012-12-13 2015-05-06 Immersion Corporation Haptic system with increased LRA bandwidth
CN104950825A (en) * 2014-03-28 2015-09-30 李文嵩 Intelligent audio-visual integration device
CN105511514A (en) * 2015-12-31 2016-04-20 歌尔声学股份有限公司 Tactile vibration control system and method for intelligent terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351956A (en) * 2006-08-17 2009-01-21 爱信艾达株式会社 Electric motor drive control method and apparatus
CN101729625A (en) * 2010-01-05 2010-06-09 青岛海信移动通信技术股份有限公司 Method for driving motor of mobile phone and mobile equipment
CN103149402A (en) * 2011-12-07 2013-06-12 北京普源精电科技有限公司 Oscilloscope with functions of recording and replaying wave forms
EP2743800A3 (en) * 2012-12-13 2015-05-06 Immersion Corporation Haptic system with increased LRA bandwidth
CN104950825A (en) * 2014-03-28 2015-09-30 李文嵩 Intelligent audio-visual integration device
CN105511514A (en) * 2015-12-31 2016-04-20 歌尔声学股份有限公司 Tactile vibration control system and method for intelligent terminal

Also Published As

Publication number Publication date
CN108181988A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US10296092B2 (en) Generating haptic effects while minimizing cascading
US10365720B2 (en) User interface impact actuator
US8179202B2 (en) Multiple pulse width modulation
US8619051B2 (en) Haptic feedback system with stored effects
US8866601B2 (en) Overdrive voltage for an actuator to generate haptic effects
JP6562695B2 (en) Dynamic change of haptic effect
US11876474B2 (en) Linear resonant device, and braking method for same
JP6749455B2 (en) Motor driving method, terminal device, and computer-readable recording medium
CN109388234B (en) Haptic effect encoding and rendering system
JP2018005917A (en) Cloud connected haptic platform
WO2020232738A1 (en) Haptic feedback method, electronic device and storage medium
EP3930922A1 (en) Determining an amplitude of a braking portion of a waveform of a driving voltage signal for a linear resonant actuator
CN108181988B (en) Control method and device for LRA motor driving chip
CN103870286A (en) Operation behavior responding method and electronic device
CN113253848A (en) Method and device for controlling tactile feedback and electronic equipment comprising device
CN110471566B (en) Touch detection method, touch detection device and display panel
KR102098325B1 (en) Implementation of button click using input signal control
CN113296638A (en) Method and device for controlling tactile feedback and electronic equipment comprising device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Room 1201, No.2, Lane 908, Xiuwen Road, Minhang District, Shanghai, 201199

Patentee after: Shanghai Awinic Technology Co.,Ltd.

Address before: Room 303-39, building 33, 680 Guiping Road, Xuhui District, Shanghai 200233

Patentee before: Shanghai Awinic Technology Co.,Ltd.

CP02 Change in the address of a patent holder