CN110045814A - A kind of production method of pumping signal, device, terminal and storage medium - Google Patents
A kind of production method of pumping signal, device, terminal and storage medium Download PDFInfo
- Publication number
- CN110045814A CN110045814A CN201811648748.7A CN201811648748A CN110045814A CN 110045814 A CN110045814 A CN 110045814A CN 201811648748 A CN201811648748 A CN 201811648748A CN 110045814 A CN110045814 A CN 110045814A
- Authority
- CN
- China
- Prior art keywords
- signal
- displacement
- pumping signal
- pumping
- driver
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02K—DYNAMO-ELECTRIC MACHINES
- H02K33/00—Motors with reciprocating, oscillating or vibrating magnet, armature or coil system
- H02K33/02—Motors with reciprocating, oscillating or vibrating magnet, armature or coil system with armatures moved one way by energisation of a single coil system and returned by mechanical force, e.g. by springs
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
Abstract
The present embodiments relate to control technology fields, disclose production method, device, terminal and the storage medium of a kind of pumping signal.In the section Example of the application, the production method of pumping signal includes: to obtain the first displacement signal;Based on displacement-excitation transmission function, the first displacement signal is handled, obtains the first pumping signal, displacement-excitation transmission function instruction the first displacement signal and the first pumping signal corresponding relationship;According to the first pumping signal, the second pumping signal is determined;Wherein, the second pumping signal is for driving driver.In the realization, terminal is based on displacement signal and drives driver, so that need to only input desired displacement signal, driver can be driven and generate corresponding displacement, obtain desired haptic effect, carry out haptic effect design convenient for user.
Description
Technical field
The present embodiments relate to control technology field, in particular to a kind of production method of pumping signal, device, terminal
And storage medium.
Background technique
Linear resonance driver is in fields such as smart phone, smartwatch and tablet computers using more more and more universal.Very
When more, for different application scenarios, it would be desirable to which different haptic effects has the function that notice or prompting.Big portion
Dividing haptic effect is all direct and skin or contact with clothing, and linear resonance driver is needed to form certain position in contact surface
It moves.
However, it is found by the inventors that at least there are the following problems in the prior art: most linear resonance driver is straight
Connecing is not had using voltage (or electric current) driving linear resonance driver and tactilely-perceptible, the i.e. displacement of linear resonance driver
Direct relationship.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The production method for being designed to provide a kind of pumping signal, device, terminal and the storage of embodiment of the present invention are situated between
Matter carries out so that driving driver generates corresponding displacement, obtains desired haptic effect according to displacement signal convenient for user
Haptic effect design.
In order to solve the above technical problems, embodiments of the present invention provide a kind of production method of pumping signal, including
Following steps: the first displacement signal is obtained;Based on displacement-excitation transmission function, the first displacement signal is handled, obtains
One pumping signal, displacement-excitation transmission function are used to indicate the corresponding relationship of the first displacement signal and the first pumping signal;According to
First pumping signal determines the second pumping signal;Wherein, the second pumping signal is for driving driver.
Embodiments of the present invention additionally provide a kind of generation device of pumping signal, comprising: obtain module, balance module
And determining module;Module is obtained for obtaining the first displacement signal;Balance module is used to be based on displacement-excitation transmission function, right
First displacement signal is handled, and obtains the first pumping signal, displacement-excitation transmission function be used to indicate the first displacement signal and
The corresponding relationship of first pumping signal;Determining module is used to determine the second pumping signal according to the first pumping signal;Wherein,
Two pumping signals are for driving driver to be subjected to displacement.
Embodiments of the present invention additionally provide a kind of terminal, comprising: at least one processor;And at least one
The memory of processor communication connection;Wherein, memory is stored with the instruction that can be executed by least one processor, instructs by extremely
A few processor executes, so that at least one processor is able to carry out the generation of the pumping signal referred to such as above embodiment
Method.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, calculate
The production method for the pumping signal that above embodiment refers to is realized when machine program is executed by processor.
In terms of existing technologies, terminal can be based on displacement-excitation transmission function to embodiment of the present invention, will be displaced
Signal is converted to pumping signal, and driving driver generates corresponding displacement, obtains desired haptic effect.Terminal is based on displacement letter
Number driving driver, so that user when designing haptic effect, provides the corresponding displacement of haptic effect, desired touching can be obtained
Feel effect, carries out haptic effect design convenient for user.
In addition, displacement-excitation transmission function is determined according to excitation-Displacement Transfer Function of driver.
In addition, displacement-excitation transmission function are as follows:
In formula a, z=ejω, ω is real variable, σcFor gain coefficient, calculation formula are as follows:
b1·aCalculation formula are as follows:
b2·aCalculation formula are as follows:
a1·dCalculation formula are as follows:
a2·dCalculation formula are as follows:
In formula b, G1Calculation formula are as follows:
G2Calculation formula are as follows:
In formula c and formula d, ωzCalculation formula are as follows:
The calculation formula of ζ are as follows:
In formula e and formula f, ωdCalculation formula are as follows:
ζdCalculation formula are as follows:
Wherein,Electric current is converted into for the motor of driver the transforming factor of power, RebIt is hindered for the direct current of motor, kdFor horse
The stiffness factor reached, Ω0For the resonance frequency of driver, fsIt is driver in the sample frequency of the model of numeric field, Q is excitation
The quality factor of device, ΩdFor desired resonance frequency, QdFor desired quality factor.
In addition, obtaining the first displacement signal, specifically include: obtaining second displacement signal;Wherein, second displacement signal is first
The displacement signal of beginning;DC processing is carried out to second displacement signal, obtains the first displacement signal.In the realization, displacement is believed
Number DC processing is carried out, can be avoided the damage of asymmetric stress to motor spring for a long time.
In addition, second displacement signal is obtained from displacement signal library, or, second displacement signal is the displacement letter of user's input
Number.
In addition, determining the second pumping signal according to the first pumping signal, specifically including: using the first pumping signal as
Two pumping signals;Alternatively, being filtered to the first pumping signal and/or normalized, the excitation that will be obtained after processing
Signal is as the second pumping signal.In the realization, pumping signal is filtered, can be improved due in pumping signal
Vibration noise brought by high fdrequency component.
In addition, the second pumping signal is digital signal, and according to the first pumping signal, after determining the second pumping signal,
The production method of pumping signal further include: convert analog signal for the second pumping signal;Exported after analog signal is amplified to
Driver, so that driver is subjected to displacement.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the flow chart of the production method of the pumping signal of first embodiment of the invention;
Fig. 2 is the flow chart of the production method of the pumping signal of second embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the generation device of the pumping signal of third embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the generation device of the pumping signal of the 4th embodiment of the invention;
Fig. 5 is the structural schematic diagram of the terminal of the 5th embodiment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of production method of pumping signal, it is applied to terminal, such as computer,
Mobile phone etc..As shown in Figure 1, the production method of the pumping signal the following steps are included:
Step 101: obtaining the first displacement signal.
Specifically, the first displacement signal can be initial displacement signal, be also possible to initial displacement signal into
The displacement signal obtained after row DC processing.
Step 102: being based on displacement-excitation transmission function, the first displacement signal is handled, obtain the first excitation letter
Number.
Specifically, displacement-excitation transmission function is used to indicate the first displacement signal and the corresponding of the first pumping signal is closed
System.In one example, displacement-excitation transmission function is determined according to excitation-Displacement Transfer Function of driver.
By taking the driver of voltage driving as an example, displacement-excitation, which passes, to be determined to excitation-Displacement Transfer Function according to driver
The process of delivery function is illustrated.
For the driver of voltage driving, excitation-Displacement Transfer Function is by voltage to the transmission function being displaced, can be with
It indicates are as follows:
In formula p, σxFor voltage to displacement gain factor, Wherein, kdFor the stiffness factor of motor, Ω0For the resonance frequency of driver, fsFor
For driver in the sample frequency of the model of numeric field, Q is the quality factor of driver.
According to the available displacement of formula p-excitation transmission function, i.e., by being displaced to the transmission function of voltage, that is, reflect position
The transmission function with the corresponding relationship of voltage is moved, can be indicated are as follows:
In formula a, z=ejω, ω is real variable, σcFor gain coefficient.
b1·aEqual to a1, b2·aEqual to a2, therefore, b1·aCalculation formula are as follows:
b2·aCalculation formula are as follows:
a1·dCalculation formula are as follows:
a2·dCalculation formula are as follows:
In formula e and formula f, ωdCalculation formula are as follows:
ζdCalculation formula are as follows:
To make pumping signal be 0 gain, σ near zero-frequencycCalculation formula are as follows:
In formula b, G1Calculation formula are as follows:
G2Calculation formula are as follows:
Wherein,Electric current is converted into for the motor of driver the transforming factor of power, RebIt is hindered for the direct current of motor, kdFor horse
The stiffness factor reached, Ω0For the resonance frequency of driver, fsIt is driver in the sample frequency of the model of numeric field, Q is excitation
The quality factor of device, ΩdFor desired resonance frequency, QdFor desired quality factor.
It is noted that since displacement-excitation transmission function is determined according to excitation-Displacement Transfer Function of driver
, it enables the terminal to obtain the pumping signal for motivating the driver by obtaining displacement signal.
It should be noted that it will be understood by those skilled in the art that the driver referred in present embodiment is also possible to
The driver of electric current driving, in this case, displacement-excitation transmission function is to be displaced to the transmission function of electric current, i.e. reflection displacement
With the transmission function of the corresponding relationship of electric current.
Step 103: according to the first pumping signal, determining the second pumping signal.
Specifically, the second pumping signal is for driving driver.
The process of the second pumping signal, which is illustrated, to be determined according to the first pumping signal to terminal below.
In the first instance, terminal is directly using the first pumping signal as the second pumping signal.
In second example, terminal is filtered the first pumping signal, the excitation that will be obtained after filtering processing
Signal is as the second pumping signal.
In third example, the first pumping signal is normalized in terminal, by obtaining after normalized
Pumping signal is as the second pumping signal.
In the 4th example, terminal is filtered the first pumping signal, obtains third pumping signal;To third
Pumping signal is normalized, and obtains the second pumping signal.
It should be noted that increasing other it will be understood by those skilled in the art that can according to need in practical application
Treatment process, whether limiting terminal is not handled the first pumping signal present embodiment, and also limiting terminal does not swash to first
Encourage the concrete processing procedure of signal.
In one example, the second pumping signal is digital signal.Since the second pumping signal is digital signal, terminal exists
After determining the second pumping signal, analog signal is converted by the second pumping signal;Output extremely motivates after analog signal is amplified
Device, so that driver is subjected to displacement.
It should be noted that it will be understood by those skilled in the art that terminal can also directly export second in practical application
Pumping signal is further processed the second pumping signal by the equipment of exterior of terminal.For example, terminal believes the second excitation
Number to digital analog converter (Digital to analog converter, DAC), the second pumping signal is converted to mould by DAC
Quasi- signal, and by the analog signal output to power amplifier, output extremely motivates after power amplifier amplifies the analog signal
Device.
It should be noted that the above is only limit for example, not constituting to technical solution of the present invention.
Compared with prior art, the production method of the pumping signal provided in present embodiment, terminal can be based on displacements-
Transmission function is motivated, displacement signal is converted into pumping signal, enables the terminal to drive driver to generate according to displacement signal
Corresponding displacement obtains desired haptic effect.Since terminal is to drive driver based on displacement signal, user touches in design
When feeling effect, the corresponding displacement of haptic effect is provided, desired haptic effect can be obtained, carried out haptic effect convenient for user and set
Meter.
Second embodiment of the present invention is related to a kind of production method of pumping signal, and present embodiment is implemented to first
The further refinement of mode, specifically illustrates: terminal carries out DC processing to initial displacement signal, and believes the first excitation
Number be filtered and/or normalized in the case where, the generation process of pumping signal.
Specifically, as shown in Fig. 2, in the present embodiment, include step 201 to step 205, wherein step 203 with
Step 102 in first embodiment is roughly the same, and details are not described herein again.Difference is mainly introduced below:
Step 201: obtaining second displacement signal.
Specifically, second displacement signal is initial displacement signal.
It should be noted that it will be understood by those skilled in the art that initial displacement signal can be from displacement signal library
It obtains.Wherein, the displacement signal by pre-setting is stored in displacement signal library.Terminal can therefrom choose at random a displacement
Signal can also select specified displacement signal as initial displacement signal as initial displacement signal according to instruction.Initially
Displacement signal be also possible to user input displacement signal.I.e. driver can be arranged according to desired haptic effect in user
Desired displacement waveform generate the first displacement signal, the first displacement signal inputted eventually and according to desired displacement waveform
End.Present embodiment does not limit the acquisition modes of initial displacement signal.
Step 202: DC processing being carried out to second displacement signal, obtains the first displacement signal.
Specifically, terminal after obtaining second displacement signal, removes the DC component in second displacement signal, will remove
Signal after DC component is as the first displacement signal.
In one example, the method that terminal goes DC component are as follows: direct current submodule is gone by terminal, to second displacement
Signal carries out DC processing.Wherein, the transmission function for removing direct current submodule is
In formula o, r [n] indicates to go the output signal of direct current submodule, i.e. the first displacement signal, and direct current is removed in s [n] expression
The input signal of submodule, i.e. second displacement signal, len indicate the signal length of second displacement signal.
It should be noted that it will be understood by those skilled in the art that others can also be used to have and gone in practical application
The transmission function of direct current function, as the transmission function for removing direct current submodule, herein by way of example only, present embodiment is unlimited
System removes the specific formula of the transmission function of direct current submodule.
It is noted that DC processing is carried out to displacement signal before determining pumping signal according to displacement signal,
The pumping signal of generation be can be avoided during driving driver, motor spring receives damage because of the asymmetric stress of long-time
It is bad.
Step 203: being based on displacement-excitation transmission function, the first displacement signal is handled, obtain the first excitation letter
Number.
Step 204: the first pumping signal being filtered, third pumping signal is obtained.
Specifically, can pass through to avoid the high frequency section in the first pumping signal from exciting other mode of driver
Filtering processing is formed to the first pumping signal in the mode of bidirectional filtering.
The method that filtering processing is formed to the first pumping signal to terminal below is illustrated.
First pumping signal is the digital signal of a sequence, and terminal is by filter to every number in the first pumping signal
Word signal carries out first time filtering in order, carries out first time reverse to the result of first time filtering, the knot reverse to first time
Fruit carries out second and filters, and carries out second to the result of second of filtering and reverses, the result that second is reversed is as third
Pumping signal is to get the output sequence being distorted to accurate zero phase.
It is assumed that including N number of digital signal in the first pumping signal.The first step, terminal is to the number in the first pumping signal
Signal carries out first time filtering processing.The process of filtering may be expressed as: y in the time domain for the first time1[n]=x (n) * h [n], 0≤n
≤ N-1, x (n) indicate digital signal to be treated, and h [n] indicates the transmission function of filter in the time domain, y1[n] indicates x
(n) result of corresponding first time filtering;It may be expressed as: Y in a frequency domain1[k]=X [k] × H [k], 0≤k≤N-1.Wherein, X
[k] indicates digital signal to be treated, and H [k] indicates the transmission function of filter in a frequency domain, Y1[k] indicates that X [k] is corresponding
First time filtering result.Second step, terminal reverse the result of first time filtering.For the first time reverse process when
It may be expressed as: y in domain2[n]=y1[N-n], y2[n] indicate that x (n) corresponding first time reverses as a result, y1[N-n] indicates x
(N-n) result of corresponding first time filtering;It may be expressed as: in a frequency domainY2[k] indicates that X [k] is corresponding
For the first time reverse as a result,Indicate the result of X [N-k] corresponding first time filtering.Third step, terminal is to inverse for the first time
The result turned carries out second and filters.The process of second of filtering is represented by y in the time domain3[n]=y2(n) * h [n], wherein
y3[n] indicates the result of x (n) corresponding second of filtering;It is represented by Y in a frequency domain3[k]=Y2[k] × H [k], Y3[k] table
Show the result of corresponding second of the filtering of x (n).4th step, terminal carry out second to the result of second of filtering and reverse.Second
The process of secondary reverse is represented by y [n]=y in the time domain3[N-n], y [n] indicate it is that x (n) corresponding second is reversed as a result,
y3[N-n] indicates the result of x (N-n) corresponding second of filtering;It is represented by a frequency domainY [k] indicates X
It is that [k] corresponding second is reversed as a result,Indicate the result of X [N-k] corresponding second of filtering.All y [n] structures
At third pumping signal.Can obtain through the above, Y [k]=X [k] | H [k] |2, it is seen then that the treatment process does not result in phase misalignment
Very.
It is noted that being filtered to pumping signal, can improve due to the high fdrequency component in pumping signal
Brought vibration noise.
Step 205: third pumping signal being normalized, the second pumping signal is obtained.
Specifically, third pumping signal is normalized in terminal, finally obtained second pumping signal is made to exist
Between [- 1,1].For example, the second pumping signal is between -1V to 1V when driver is the driver of voltage driving.
It should be noted that the above is only limit for example, not constituting to technical solution of the present invention.
Compared with prior art, the production method of the pumping signal provided in present embodiment, terminal can be based on displacements-
Transmission function is motivated, displacement signal is converted into pumping signal, enables the terminal to drive driver to generate according to displacement signal
Corresponding displacement obtains desired haptic effect.Since terminal is to drive driver based on displacement signal, user touches in design
When feeling effect, the corresponding displacement of haptic effect is provided, desired haptic effect can be obtained, carried out haptic effect convenient for user and set
Meter.In addition to this, before determining pumping signal according to displacement signal, DC processing is carried out to displacement signal, can be avoided
For the pumping signal of generation during driving driver, motor spring receives damage because of the asymmetric stress of long-time.To excitation
Signal is filtered, and can improve the vibration noise as brought by the high fdrequency component in pumping signal.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Third embodiment of the present invention is related to a kind of generation device of pumping signal, as shown in Figure 3, comprising: obtains mould
Block 301, balance module 302 and determining module 303;Module 301 is obtained for obtaining the first displacement signal;Balance module 302 is used
In being based on displacement-excitation transmission function, the first displacement signal is handled, obtains the first pumping signal, displacement-excitation transmitting
Function is used to indicate the corresponding relationship of the first displacement signal and the first pumping signal;Determining module 303 is used for according to the first excitation
Signal determines the second pumping signal;Wherein, the second pumping signal is for driving driver to be subjected to displacement.
It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, be also possible to a part of a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude innovative part of the invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
4th embodiment of the invention is related to a kind of generation device of pumping signal.4th embodiment is to third reality
The further refinement for applying mode specifically illustrates the structure and function for obtaining module 301 and determining module 303.
Specifically, including generation submodule 401 and removing direct current submodule 402 as shown in figure 4, obtaining module 301, determine
Module 303 includes filtering submodule 404 and normalization submodule 405.Wherein, submodule 401 is generated for obtaining second displacement
Signal;It goes direct current submodule 402 for carrying out DC processing to second displacement signal, obtains the first displacement signal;Filtering
Module 404 obtains third pumping signal for being filtered to the first pumping signal;Normalize submodule 405 for pair
Third pumping signal is normalized, and obtains the second pumping signal.
In one example, normalization submodule 405 exports the second pumping signal to DAC, and DAC turns the second pumping signal
After being changed to analog signal, export to power amplifier, power amplifier amplifies the analog signal and motivates driver.
Since second embodiment is corresponded to each other with present embodiment, present embodiment can be mutual with second embodiment
Match implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, implement second
The attainable technical effect of institute similarly may be implemented in the present embodiment in mode, no longer superfluous here in order to reduce repetition
It states.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in second embodiment.
5th embodiment of the invention is related to a kind of terminal, as shown in Figure 5, comprising: at least one processor 501;With
And the memory 502 with the communication connection of at least one processor 501;Wherein, be stored with can be by least one for memory 502
Manage device 501 execute instruction, instruction executed by least one processor 501 so that at least one processor 501 be able to carry out as
The production method for the pumping signal that above embodiment refers to.
The terminal includes: one or more processors 501 and memory 502, in Fig. 5 by taking a processor 501 as an example.
Processor 501, memory 502 can be connected by bus or other modes, in Fig. 5 for being connected by bus.Storage
Device 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software program, non-volatile meter
Calculation machine executable program and module, as displacement-excitation transmission function is stored in memory 502 in the application embodiment
In.Non-volatile software program, instruction and the module that processor 501 is stored in memory 502 by operation, thereby executing
The various function application and data processing of equipment, that is, realize the production method of above-mentioned pumping signal.
Memory 502 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;It storage data area can the Save option list etc..In addition, memory 502 can be with
It can also include nonvolatile memory, for example, at least disk memory, a flash memory including high-speed random access memory
Device or other non-volatile solid state memory parts.In some embodiments, it includes relative to processing that memory 502 is optional
The remotely located memory of device 501, these remote memories can pass through network connection to external equipment.The example of above-mentioned network
Including but not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
One or more module is stored in memory 502, when being executed by one or more processor 501, is held
The production method of pumping signal in the above-mentioned any means embodiment of row.
The said goods can be performed the application embodiment provided by method, have the corresponding functional module of execution method and
Beneficial effect, the not technical detail of detailed description in the present embodiment, reference can be made to method provided by the application embodiment.
Sixth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.It calculates
Machine program realizes above method embodiment when being executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (10)
1. a kind of production method of pumping signal characterized by comprising
Obtain the first displacement signal;
Based on displacement-excitation transmission function, first displacement signal is handled, obtains the first pumping signal, institute's rheme
Shifting-excitation transmission function is used to indicate the corresponding relationship of the first displacement signal and the first pumping signal;
According to first pumping signal, the second pumping signal is determined;Wherein, second pumping signal is described sharp for driving
Encourage device.
2. the production method of pumping signal according to claim 1, which is characterized in that the displacement-excitation transmission function
It is determined according to the excitation of the driver-Displacement Transfer Function.
3. the production method of pumping signal according to claim 2, which is characterized in that the displacement-excitation transmission function
Are as follows:
In formula a, z=ejω, ω is real variable, σcFor gain coefficient, calculation formula are as follows:
b1·aCalculation formula are as follows:
b2·aCalculation formula are as follows:
a1·dCalculation formula are as follows:
a2·dCalculation formula are as follows:
In formula b, G1Calculation formula are as follows:
G2Calculation formula are as follows:
In formula c and formula d, ωzCalculation formula are as follows:
The calculation formula of ζ are as follows:
In formula e and formula f, ωdCalculation formula are as follows:
ζdCalculation formula are as follows:
Wherein,Electric current is converted into for the motor of the driver transforming factor of power, RebIt is hindered for the direct current of the motor, kd
For the stiffness factor of the motor, Ω0For the resonance frequency of the driver, fsFor the driver numeric field model
Sample frequency, Q are the quality factor of the driver, ΩdFor desired resonance frequency, QdFor desired quality factor.
4. the production method of pumping signal according to any one of claim 1 to 3, which is characterized in that described to obtain the
One displacement signal, specifically includes:
Obtain second displacement signal;Wherein, the second displacement signal is initial displacement signal;
DC processing is carried out to the second displacement signal, obtains first displacement signal.
5. the production method of pumping signal according to claim 4, which is characterized in that the second displacement signal is from displacement
It is obtained in signal library, or, the second displacement signal is the displacement signal of user's input.
6. the production method of pumping signal according to any one of claim 1 to 3, which is characterized in that described according to institute
The first pumping signal is stated, the second pumping signal is determined, specifically includes:
Using first pumping signal as second pumping signal;Alternatively,
First pumping signal is filtered and/or normalized, using the pumping signal obtained after processing as
Second pumping signal.
7. the production method of pumping signal according to claim 6, which is characterized in that second pumping signal is number
Signal, described according to first pumping signal, after determining the second pumping signal, the production method of the pumping signal is also
Include:
Analog signal is converted by second pumping signal;
By output after analog signal amplification to the driver, so that the driver is subjected to displacement.
8. a kind of generation device of pumping signal characterized by comprising obtain module, balance module and determining module;
The acquisition module is for obtaining the first displacement signal;
The balance module is used to be based on displacement-excitation transmission function, handles first displacement signal, obtains first
Pumping signal, the displacement-excitation transmission function are used to indicate the corresponding relationship of the first displacement signal and the first pumping signal;
The determining module is used to determine the second pumping signal according to first pumping signal;Wherein, the second excitation letter
Number for driving the driver to be subjected to displacement.
9. a kind of terminal characterized by comprising at least one processor;And
The memory being connect at least one described processor communication;Wherein, be stored with can be by described at least one for the memory
The instruction that a processor executes, described instruction is executed by least one described processor, so that at least one described processor energy
Enough production methods for executing the pumping signal as described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes the production method of pumping signal described in any one of claims 1 to 7 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811648748.7A CN110045814B (en) | 2018-12-30 | 2018-12-30 | Excitation signal generation method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811648748.7A CN110045814B (en) | 2018-12-30 | 2018-12-30 | Excitation signal generation method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110045814A true CN110045814A (en) | 2019-07-23 |
CN110045814B CN110045814B (en) | 2022-06-14 |
Family
ID=67274057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811648748.7A Active CN110045814B (en) | 2018-12-30 | 2018-12-30 | Excitation signal generation method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110045814B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111030547A (en) * | 2019-11-29 | 2020-04-17 | 瑞声科技(新加坡)有限公司 | Motor excitation signal processing method and device |
CN111486779A (en) * | 2020-04-14 | 2020-08-04 | 瑞声科技(新加坡)有限公司 | Signal processing method and device and electronic equipment |
WO2021248529A1 (en) * | 2020-06-12 | 2021-12-16 | 瑞声声学科技(深圳)有限公司 | Loudspeaker compensation method and apparatus, and storage medium and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1419684A (en) * | 1998-12-28 | 2003-05-21 | 索尼电脑娱乐公司 | Tactile-force generating apparatus |
US20120038568A1 (en) * | 2009-02-16 | 2012-02-16 | New Transducers Limited | Touch Sensitive Device |
CN102388353A (en) * | 2009-04-09 | 2012-03-21 | 新型转换器有限公司 | Touch sensitive device |
WO2013186849A1 (en) * | 2012-06-11 | 2013-12-19 | 富士通株式会社 | Drive device, electronic device, and drive control program |
CN106160622A (en) * | 2016-07-07 | 2016-11-23 | 歌尔股份有限公司 | Actively control the method for linear motor vibrations, device, system and electronic equipment |
CN106411217A (en) * | 2016-08-31 | 2017-02-15 | 歌尔股份有限公司 | Method, device and system for active control linear motor, and electronic equipment |
CN107145225A (en) * | 2017-04-13 | 2017-09-08 | 浙江大学 | The frictional force tactile representation system and reproducting method of a kind of facing moving terminal |
CN107924235A (en) * | 2015-09-25 | 2018-04-17 | 意美森公司 | Haptic effect design system |
US20180196519A1 (en) * | 2009-04-02 | 2018-07-12 | Nvf Tech Ltd. | Touch sensitive device |
CN108415556A (en) * | 2018-01-29 | 2018-08-17 | 瑞声科技(新加坡)有限公司 | Motor vibrations control method and device |
CN108768346A (en) * | 2018-05-30 | 2018-11-06 | 重庆交通大学 | Vehicle active damping noise reduction system and method |
-
2018
- 2018-12-30 CN CN201811648748.7A patent/CN110045814B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1419684A (en) * | 1998-12-28 | 2003-05-21 | 索尼电脑娱乐公司 | Tactile-force generating apparatus |
US20120038568A1 (en) * | 2009-02-16 | 2012-02-16 | New Transducers Limited | Touch Sensitive Device |
CN102395943A (en) * | 2009-02-16 | 2012-03-28 | 新型转换器有限公司 | Touch sensitive device |
US20180196519A1 (en) * | 2009-04-02 | 2018-07-12 | Nvf Tech Ltd. | Touch sensitive device |
CN102388353A (en) * | 2009-04-09 | 2012-03-21 | 新型转换器有限公司 | Touch sensitive device |
WO2013186849A1 (en) * | 2012-06-11 | 2013-12-19 | 富士通株式会社 | Drive device, electronic device, and drive control program |
CN107924235A (en) * | 2015-09-25 | 2018-04-17 | 意美森公司 | Haptic effect design system |
CN106160622A (en) * | 2016-07-07 | 2016-11-23 | 歌尔股份有限公司 | Actively control the method for linear motor vibrations, device, system and electronic equipment |
CN106411217A (en) * | 2016-08-31 | 2017-02-15 | 歌尔股份有限公司 | Method, device and system for active control linear motor, and electronic equipment |
CN107145225A (en) * | 2017-04-13 | 2017-09-08 | 浙江大学 | The frictional force tactile representation system and reproducting method of a kind of facing moving terminal |
CN108415556A (en) * | 2018-01-29 | 2018-08-17 | 瑞声科技(新加坡)有限公司 | Motor vibrations control method and device |
CN108768346A (en) * | 2018-05-30 | 2018-11-06 | 重庆交通大学 | Vehicle active damping noise reduction system and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111030547A (en) * | 2019-11-29 | 2020-04-17 | 瑞声科技(新加坡)有限公司 | Motor excitation signal processing method and device |
WO2021103089A1 (en) * | 2019-11-29 | 2021-06-03 | 瑞声声学科技(深圳)有限公司 | Method and device for processing excitation signal of motor |
CN111030547B (en) * | 2019-11-29 | 2024-04-02 | 瑞声科技(新加坡)有限公司 | Motor excitation signal processing method and device |
CN111486779A (en) * | 2020-04-14 | 2020-08-04 | 瑞声科技(新加坡)有限公司 | Signal processing method and device and electronic equipment |
CN111486779B (en) * | 2020-04-14 | 2022-08-16 | 瑞声科技(新加坡)有限公司 | Signal processing method and device and electronic equipment |
WO2021248529A1 (en) * | 2020-06-12 | 2021-12-16 | 瑞声声学科技(深圳)有限公司 | Loudspeaker compensation method and apparatus, and storage medium and device |
Also Published As
Publication number | Publication date |
---|---|
CN110045814B (en) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110045814A (en) | A kind of production method of pumping signal, device, terminal and storage medium | |
Fabbri et al. | Stochastic optimal control in infinite dimension | |
Petrás | Fractional derivatives, fractional integrals, and fractional differential equations in Matlab | |
Carstensen et al. | Axioms of adaptivity | |
Mallios | Geometry of vector sheaves: an axiomatic approach to differential geometry | |
Holst et al. | Geometric variational crimes: Hilbert complexes, finite element exterior calculus, and problems on hypersurfaces | |
CN109670574B (en) | Method and apparatus for simultaneously performing activation and convolution operations, and learning method and learning apparatus therefor | |
WO2018107383A1 (en) | Neural network convolution computation method and device, and computer-readable storage medium | |
Shi et al. | 2-Norm based recursive design of transmultiplexers with designable filter length | |
Esmaeilzehi et al. | SRNSSI: a deep light-weight network for single image super resolution using spatial and spectral information | |
CN113052882A (en) | Image registration method and related device, electronic equipment and storage medium | |
Rongyun et al. | Research on chaos control of permanent magnet synchronous motor based on the synthetical sliding mode control of inverse system decoupling | |
Zhou et al. | Optimal control problem for stochastic evolution equations in Hilbert spaces | |
Jiang et al. | A model reference adaptive sliding mode control for the position control of permanent magnet synchronous motor | |
CN107481203A (en) | A kind of image orientation filtering method and computing device | |
CN113643215A (en) | Method for generating image deblurring model and iris image deblurring method | |
Kiselev et al. | Solitons and nonlinear waves in the spiral magnetic structures | |
Chang et al. | Design of a higher-order digital differentiator using a particle swarm optimization approach | |
Li et al. | Fixed-point digital IIR filter design using two-stage ensemble evolutionary algorithm | |
Boscaggin et al. | A multiplicity result for periodic solutions of second order differential equations with a singularity | |
CN107707178A (en) | Filtering method, low pass filter and the servo-driver of low pass filter | |
Böttcher et al. | The factorization problem: some known results and open questions | |
Moreno-Picot et al. | A linear cost algorithm to compute the discrete Gabor transform | |
Hurault et al. | Convergent plug-and-play with proximal denoiser and unconstrained regularization parameter | |
Khorashadizadeh et al. | Adaptive control of robot manipulators driven by permanent magnet synchronous motors using orthogonal functions theorem |
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 |