CN107453653A - Motor control method and device in a kind of mobile terminal - Google Patents

Motor control method and device in a kind of mobile terminal Download PDF

Info

Publication number
CN107453653A
CN107453653A CN201710827699.2A CN201710827699A CN107453653A CN 107453653 A CN107453653 A CN 107453653A CN 201710827699 A CN201710827699 A CN 201710827699A CN 107453653 A CN107453653 A CN 107453653A
Authority
CN
China
Prior art keywords
signal
audio
signals
frequency
drive
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
Application number
CN201710827699.2A
Other languages
Chinese (zh)
Other versions
CN107453653B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201710827699.2A priority Critical patent/CN107453653B/en
Publication of CN107453653A publication Critical patent/CN107453653A/en
Application granted granted Critical
Publication of CN107453653B publication Critical patent/CN107453653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The present invention relates to automatic control technology field, the embodiment of the present invention provides the motor control method and device in a kind of mobile terminal, and this method includes:Detect the signal characteristic of the audio signal of input;According to the mapping relations of signal characteristic and drive signal, drive signal corresponding with the signal characteristic of the audio signal is determined;Worked according to the drive signal drive motor.The method provided according to embodiments of the present invention, the signal characteristic of the audio signal by detecting input, the drive signal corresponding with signal characteristic is determined, and drive motor works.Because the signal characteristic of audio signal is continually changing, therefore different drive signal drive motor work can be produced, the auditory tone cues of different event, different volumes, different frequency can be converted to vibration prompt, the vibration of motor even is allowed with the change real-time change of sound, so as to abundant Consumer's Experience.

Description

Motor control method and device in a kind of mobile terminal
The application be propose on December 15th, 2014 it is entitled " a kind of motor control method in mobile terminal and The divisional application of the Chinese invention patent application 201410778009.5 of device ".
Technical field
The present invention relates to the motor control method in automatic control technology field, more particularly to a kind of mobile terminal and dress Put.
Background technology
Symbol of the mobile phone as modern society's scientific and technological progress, have become the instrument that everyone must almost possess.Hand Machine has played a highly important role with its distinctive convenience, agility, multifunctionality in our life. Short message and phone have become one of the most universal and conventional communication way between people.When we receive short message or are connected to During phone, ringing sound of cell phone can be remembered to remind us in the very first time.But in some occasions, the tinkle of bells to rise one after another is to be connect Receive.Now, the vibration function of mobile phone can timely remind oneself while other people are not influenceed, while solve ringing sound of cell phone The inconvenience brought.
The vibration function of mobile phone is to realize that the motor in mobile phone can only produce list at present by motor built-in in mobile phone One vibration frequency, vibration mode is also fairly simple, and in some occasions, such as during object for appreciation game, simple vibration mode can not Meets the needs of user.
The content of the invention
The embodiment of the present invention provides the motor control method and device in a kind of mobile terminal, to solve in mobile terminal Motor can only produce single vibration frequency, vibration mode simple question.
Motor control method in a kind of mobile terminal provided in an embodiment of the present invention, including:
Detect the signal characteristic of the audio signal of input;
According to the mapping relations of signal characteristic and drive signal, driving corresponding with the signal characteristic of audio signal is determined Signal;
Worked according to the drive signal drive motor.
The embodiment of the present invention provides the controller for motor in a kind of mobile terminal, and the device includes:
Detection unit, the signal characteristic of the audio signal for detecting input;
Drive signal determining unit, for the mapping relations according to signal characteristic and drive signal, determine to believe with audio Number signal characteristic corresponding to drive signal;
Driver element, for being worked according to the drive signal drive motor.
Method and apparatus provided in an embodiment of the present invention, the signal characteristic of the audio signal by detecting input, according to letter The mapping relations of number feature and drive signal, determine drive signal corresponding with the signal characteristic of audio signal, realize by The signal characteristic of audio signal is converted into drive signal, is worked according to drive signal drive motor, realizes and turns drive signal Motor vibrations are turned to, embody the signal characteristic of audio signal in the form of motor vibrations so as to finally realize.Due to audio The signal characteristic of signal is continually changing, therefore can produce different drive signal drive motor work, can be difference Event, different volumes, the auditory tone cues of different frequency are converted to vibration prompt, or even make the vibration of motor real with the change of sound Shi Bianhua, so as to abundant Consumer's Experience.
Brief description of the drawings
Fig. 1 is the motor control method flow chart in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is motor vibrations amount and vibration frequency and the relation schematic diagram of driving voltage;
Fig. 3 is the motor drive signal generation method flow chart in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 4 is the controller for motor structure chart in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the motor drive signal generating means structure chart in a kind of mobile terminal provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is described in detail with reference to Figure of description.
As shown in figure 1, the motor control method flow chart in a kind of mobile terminal provided in an embodiment of the present invention, this method Including:
Step 101:Detect the signal characteristic of the audio signal of input;
Step 102:According to the mapping relations of signal characteristic and drive signal, determine special with the signal of the audio signal Drive signal corresponding to sign;
Step 103:Worked according to the drive signal drive motor.
The audio signal detected in the embodiment of the present invention can be data signal, or analog signal, below only with For audio signal to be described exemplified by data signal, processing mode when audio signal is analog signal is numeral with audio signal Processing mode during signal is identical, will not be repeated here.
Motor can work under different driving voltages, and the vibration frequency of motor and vibratory output be not under different driving voltage Together.Driving voltage can be on a timeline continuous or discrete in drive signal.Therefore can be by detecting sound The signal characteristic of frequency signal generate one with the signal characteristic corresponding to drive signal control motor different in different time generation Vibration frequency and vibratory output, to reach the purpose that motor vibrations change and changed with signal characteristic in audio signal.Such as Fig. 2 institutes Show, illustrate motor vibrations amount and vibration frequency and the relation of motor driving voltage.From figure 2 it can be seen that motor is being marked Claim under driving voltage, vibratory output reaches maximum.The driving voltage of motor is higher or lower than this nominal driving voltage, motor Vibratory output can all decline.The vibration frequency of motor can also change with driving voltage simultaneously.Driving voltage gets over high vibration Frequency is higher, conversely, vibration frequency is lower.Namely when driving voltage is less than the vibratory output of motor " during nominal driving voltage " It is weak, and vibration frequency is low.When reaching nominal driving voltage, vibration frequency reaches nominal vibration frequency, while vibratory output reaches To maximum.When driving voltage is higher than nominal driving voltage, vibratory output reduces, but vibration frequency continues to improve.
The drive signal of motor has a variety of generating modes, prior art mainly by PWM (pulse width modulation, Pulse-Width Modulation) signal is filtered to form direct current signal, form motor drive signal.Pwm signal is one Kind pulse square wave signal, the frequency of pulse square wave signal is identical, but signal dutyfactor, i.e., each pulse square wave signal week The duration of high level is adjustable in phase.Pwm signal is high-frequency signal, can typically reach MHz ranks, in motor On the inductive coil in portion and the input pin of motor in the presence of filter capacitor, the pwm signal of high frequency can be filtered into directly The drive signal of stream.The drive signal that direct current is formed after the pulse square wave signal filtering of different dutycycles is different, difference Drive signal be carried on motor and can produce different vibrating effects.
In step 101, the signal characteristic of audio signal can refer to the signal energy of audio signal, or refer to that audio is believed Number signal frequency.
In step 102, when the signal characteristic of audio signal refers to the signal energy of audio signal, signal characteristic is believed with driving Number mapping relations be signal energy and the mapping relations of drive signal.
The signal energy of an audio signal can be calculated according to Parseval's theorem.For example, for audio signal x (k), Its signal energy isDetermine input audio signal signal energy after, according to signal energy with The mapping relations of drive signal, drive signal corresponding with signal energy is determined, and driven according to the drive signal determined Motor operations.Signal energy and the mapping relations of drive signal are determined according to actual conditions, can close their mapping System is represented with the form of function.Preferably, the mapping of signal energy and drive signal can be represented with unitary linear function, i.e., U=kx+b, wherein U are drive signal, and k is default slope, and x is signal energy, and b is preset initial value.Difference can be set K and b value, obtain different signal energies and the mapping relations of drive signal.Reaching digital sound when needing signal energy During maximum (i.e. the 0dB) of frequency signal, the drive signal of motor causes motor to be in the state of maximum vibration amount, can now incite somebody to action B is arranged to 1.8V (the nominal driving voltage of 700 turns of motor) or 3V (the nominal driving voltage of 1000 turns of motor).
Because audio signal is extremely difficult to the maximum rating of signal energy, the signal energy of general digital audio and video signals maintains In -6dB or so, it can now set when signal energy reaches more than -6dB, drive signal caused by audio signal is driven The vibratory output of motor reaches maximum.Can also be when the signal energy of audio signal reach more than -6dB, setting signal energy reaches When more than to -6dB, caused drive signal make it that the vibratory output of motor is smaller, can be the half vibratory output of maximum vibration amount, So that user has more preferable Consumer's Experience.For example, when signal energy is reached more than -6dB, produce one and nominally driven less than motor The driving voltage of voltage, make the motor operations that nominal driving voltage is 1.8V under 1.5V driving voltage.
Or when the signal energy of audio signal reaches certain threshold value (such as -12dB), just produce drive signal driving Motor vibrations.So mapping relations of can setting signal energy and drive signal so that signal energy reaches the threshold of setting During value, such as when signal energy is reached more than -12dB, the vibration of drive signal drive motor is just produced, signal energy is less than setting Threshold value when, do not produce drive signal drive motor work.
Signal energy and the mapping relations of drive signal can also have other forms, but no matter which kind of form, is obtaining sound After the signal energy of frequency signal, a corresponding drive signal can be obtained according to signal energy.
Audio signal is formed by the Signal averaging of different frequency, out of phase and various amplitude, in order to The motor voltage of a variety of drive motors is enough determined by the signal energy of an audio signal, audio signal can at least be drawn It is divided into the audio sub-signals of a frequency range, and detects the signal energy of the audio sub-signals of each frequency range.While each frequency range The corresponding motor of audio sub-signals, for the audio sub-signals of a frequency range, determine the signal energy of the audio sub-signals Drive signal corresponding to amount, and the motor operations according to corresponding to the drive signal drives the audio sub-signals.
The audio signal received can be divided into the audio sub-signals of different frequency ranges by different wave filters.Often Individual wave filter is exported after the audio signal filtering of input as the audio sub-signals of only one frequency range.The frequency of audio signal Scope is generally 20Hz-20000Hz.The audio signal of input can be divided into following frequency range in the embodiment of the present invention:It is extremely low Frequently, from 20Hz-40Hz, this band frequency is referred to as very low frequencies;Low frequency, from 40Hz-80Hz, this band frequency is referred to as low frequency;Middle low frequency, from Low frequency during this band frequency of 80Hz-160Hz is referred to as;Intermediate frequency, from 160Hz-1280Hz, this band frequency is referred to as intermediate frequency;Medium-high frequency, from This band frequency of 1280Hz-2560Hz is referred to as medium-high frequency;High frequency, from 2560Hz-5120Hz, this band frequency is referred to as high frequency;Extremely high frequency, From 5120Hz-20000Hz, this band frequency is referred to as extremely high frequency.It is of course also possible to there are other dividing modes, do not limit herein.
After determining drive signal corresponding with the signal energy of the audio sub-signals of each frequency range respectively, according to each Motor corresponding to drive signal driving corresponding to the signal energy of the audio sub-signals of frequency range.
Preferably, the audio sub-signals signal energy of different frequency range is different from the mapping relations of drive signal.Believe in audio Number it is divided into after the audio sub-signals of multiple frequency ranges, can is that the audio sub-signals of different frequency range set different signal energy Amount and the mapping relations of drive signal so that the audio sub-signals of different frequency range corresponding drive signal in identical signal energy It is different.For example, under identical signal energy, drive signal corresponding to the signal energy of the audio sub-signals of low-frequency range can be set That puts is higher, and by corresponding to the signal energy of the audio sub-signals of high band drive signal set it is lower, so in phase With under signal energy, the vibratory output of the motor of the audio sub-signals driving of low-frequency range can be higher than shaking for the audio sub-signals of high band Momentum.For another example the signal energy pair of the audio sub-signals of A frequencies or the audio sub-signals higher than B frequencies can be will be less than The drive signal answered is set to 0, so after the audio sub-signals less than A frequencies and more than B frequencies are obtained, does not produce driving letter Number, motor would not produce vibration.
For another example audio signal is divided into three frequency ranges, respectively the first frequency range, the second frequency range and the 3rd frequency range, its In the first frequency range the signal energy of audio sub-signals and the mapping relations of drive signal be U1=k1x+b1, wherein U1For driving Signal, k1For default slope, x is signal energy, b1For preset initial value;The signal energy of the audio sub-signals of second frequency range Mapping relations with drive signal are U2=k2x+b2, wherein U2For drive signal, k2For default slope, x is signal energy, b2 For preset initial value;The signal energy of the audio sub-signals of 3rd frequency range and the mapping relations of drive signal are U3=k3x+b3, its Middle U3For drive signal, k3For default slope, x is signal energy, b3For preset initial value.Now audio of each frequency range The signal energy of signal is different from the mapping relations of drive signal, if now the first frequency range, the second frequency range and the 3rd frequency range Under identical circumstances, drive signal corresponding to signal energy is also just different, is so achieved that according to different frequencies for signal energy The audio sub-signals of section produce different drive signals.
In step 102, it can also be detected the audio signal of input is divided into after the audio sub-signals of multiple frequency ranges The signal energy of frequency highest audio signal in the audio sub-signals of each frequency range, and only the audio sub-signals of each frequency range Drive signal corresponding to the signal energy of middle frequency highest audio signal is exported to motor.Now multiple frequencies are mixed with one In the audio signal of section, each frequency range only has a maximum vibration, realizes using human ear to the quick of high-energy audio signal Perception, when the audio signal of highest energy occurs, drive motor is vibrated.Specifically, for the audio sub-signals of a frequency range, Signal energy corresponding to the audio signal of each frequency in the audio sub-signals is determined, and is believed according to the audio of each frequency Signal energy corresponding to number determines a peak signal energy;Determine drive signal corresponding to the peak signal energy.
In step 102, when the signal characteristic of audio signal refers to signal frequency, the mapping of signal characteristic and drive signal is closed System is signal frequency and the mapping relations of drive signal.Audio signal is at least divided into the audio sub-signals of a frequency range, and It is determined that in the audio sub-signals of each frequency range the maximum audio signal of signal energy signal frequency, determined according to the signal frequency Go out corresponding drive signal.By by the audio sub-signals frequency range corresponding with the audio sub-signals of each frequency in each frequency range Associate, realize the relation for making user more intuitively experience frequency change and vibratory output change in audio signal.Specifically, pin To the audio sub-signals of a frequency range, signal energy corresponding to the audio signal of each frequency in the audio sub-signals is determined Amount, and the signal energy according to corresponding to the audio signal of each frequency determines signal frequency corresponding to peak signal energy;
The drive signal U of signal frequency according to corresponding to below equation determines the peak signal energyf
Wherein, f is signal frequency, U corresponding to the peak signal energymaxFor motor corresponding to the audio sub-signals Operating voltage maximum, UminFor the minimum value of the operating voltage of motor corresponding to the audio sub-signals, m is the sound The minimum frequency of frequency subsignal, M are the peak frequency of the audio sub-signals.
For example, the frequency range of an audio sub-signals is 200Hz-500Hz, the sound in the audio sub-signals at 350Hz The signal energy highest of frequency signal.And the operating voltage range of motor is 1.5V-3V corresponding to the audio sub-signals of this frequency range.Can To calculate frequency as drive signal U corresponding to 350Hz audio signalf
Uf={ (350-200)/(500-200) } * (3-1.5)+1.5=2.25 (V)
In step 103, the drive signal drive motor determined according to step 102 works finally.Preferably, will be defeated When the audio signal entered is divided into the audio sub-signals of multiple frequency ranges, the drive signal determined according to each audio sub-signals drives Move motor operations corresponding to each audio sub-signals.
As shown in figure 3, the embodiment of the present invention provides the motor drive signal generation method flow chart in a kind of mobile terminal, Including:
Step 301, the drive signal according to corresponding to source audio signal generation, and establish the source audio signal and the drive The mapping relations of dynamic signal.
In step 301, after source audio signal is received, the motor control in a kind of mobile terminal provided according to Fig. 1 Method generates drive signal corresponding with the source audio signal, establishes the mapping relations of source audio signal and drive signal.
For example, vibration mould of the corresponding drive signal of " the train sound is blown a whistle " generation received when drive motor works Formula is arranged to lasting dither, can now store train sound and blow a whistle and the mapping relations of lasting dither.
After target audio signal is received, the target audio signal and source audio signal are subjected to audio signal Match somebody with somebody, if the match is successful, generate drive signal corresponding with the source audio signal that the target audio signal matches, and drive Motor operations.
Or when reception system instruction, determine the source audio signal indicated in the system command;Generation and the system Drive signal drive motor corresponding to the source audio signal indicated in instruction works.
The mapping relations of source audio signal and drive signal can certainly be manually set, i.e., believed for different source audios Number, preset different vibration modes.For example, by vibration mould of the drive signal when drive motor works corresponding to " shot " Formula is arranged to become weak after once shaking by force to shake and terminate rapidly;By drive signal corresponding to " sport car motor roar " in driving horse It is set as lasting low-frequency vibration etc. up to vibration mode during work.
For above method flow, the embodiment of the present invention also provides the controller for motor in a kind of mobile terminal, the dress The particular content put is referred to above method implementation, will not be repeated here.
As shown in figure 4, the embodiment of the present invention provides the controller for motor in a kind of mobile terminal, including
Detection unit 401, the signal characteristic of the audio signal for detecting input;
Drive signal determining unit 402, for the mapping relations according to signal characteristic and drive signal, determine with it is described Drive signal corresponding to the signal characteristic of audio signal;
Driver element 403, for being worked according to the drive signal drive motor.
Preferably, the detection unit 401 is used for:
The audio signal is at least divided into the audio sub-signals of a frequency range, and detects the audio son letter of each frequency range Number signal characteristic.
Preferably, the signal characteristic is the signal energy of the audio signal;
The drive signal determining unit 402 is used for:
For the audio sub-signals of a frequency range, driving letter corresponding to the signal energy of the audio sub-signals is determined Number.
Preferably, the signal characteristic is the signal energy of the audio signal;
The drive signal determining unit 402 is used for:
For the audio sub-signals of a frequency range, determine that the audio signal of each frequency in the audio sub-signals is corresponding Signal energy, and the signal energy according to corresponding to the audio signal of each frequency determines a peak signal energy;
Determine drive signal corresponding to the peak signal energy.
Preferably, the signal characteristic is the signal frequency of the audio signal;
The drive signal determining unit 402 is used for:
For the audio sub-signals of a frequency range, determine that the audio signal of each frequency in the audio sub-signals is corresponding Signal energy, and the signal energy according to corresponding to the audio signal of each frequency determines signal corresponding to peak signal energy Frequency;
The drive signal U of signal frequency according to corresponding to below equation determines the peak signal energyf
Wherein, f is signal frequency, U corresponding to the peak signal energymaxFor motor corresponding to the audio sub-signals Operating voltage maximum, UminFor the minimum value of the operating voltage of motor corresponding to the audio sub-signals, m is the sound The minimum frequency of frequency subsignal, M are the peak frequency of the audio sub-signals.
For above method flow, the embodiment of the present invention also provides a kind of drive signal generating means, the device it is specific Content is referred to above method implementation, will not be repeated here.
As shown in figure 5, the embodiment of the present invention provides the motor drive signal generating means in a kind of mobile terminal, including:
Map unit 501, for the drive signal according to corresponding to source audio signal generation, and establish the source audio signal With the mapping relations of the drive signal.
Preferably, shown map unit 501 is additionally operable to:
After receiving target audio signal, the target audio signal and source audio signal are subjected to audio signals match, If the match is successful, drive signal corresponding with the source audio signal that the target audio signal matches is generated, and drive horse Up to work.
Preferably, shown map unit 501 is additionally operable to:
Reception system instructs, and determines the source audio signal indicated in the system command;
Generation drive signal drive motor work corresponding with the source audio signal indicated in the system command.
In summary, the method provided according to embodiments of the present invention, the signal characteristic of the audio signal by detecting input, According to the mapping relations of signal characteristic and drive signal, drive signal corresponding with the signal characteristic of audio signal is determined, it is real Show and the signal characteristic of audio signal is converted into drive signal, worked according to drive signal drive motor, realizing to drive Signal is converted into motor vibrations, embodies the signal characteristic of audio signal in the form of motor vibrations so as to finally realize.By It is continually changing in the signal characteristic of audio signal, therefore different drive signal drive motor work can be produced, can be with The auditory tone cues of different event, different volumes, different frequency is converted to vibration prompt, or even allows the vibration of motor with sound Change real-time change, so as to abundant Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. the motor control method in a kind of mobile terminal, it is characterised in that this method includes:
Detect the signal characteristic of the audio signal of input;
According to the mapping relations of signal characteristic and drive signal, driving corresponding with the signal characteristic of the audio signal is determined Signal;
Worked according to the drive signal drive motor.
2. the method as described in claim 1, it is characterised in that
The signal characteristic of the audio signal of the detection input includes:The audio signal is at least divided into the sound of a frequency range Frequency subsignal, and detect the signal characteristic of the audio sub-signals of each frequency range;
Wherein, the corresponding motor of the audio sub-signals of each frequency range;
It is described to determine that drive signal corresponding with the signal characteristic of the audio signal includes:For audio of a frequency range Signal, determine drive signal corresponding to the signal characteristic of the audio sub-signals;
It is described to be included according to drive signal drive motor work:The audio sub-signals pair are driven according to the drive signal The motor operations answered.
3. method as claimed in claim 2, it is characterised in that the signal characteristic is the signal energy of the audio signal.
4. method as claimed in claim 3, it is characterised in that the audio sub-signals for being directed to a frequency range, determine institute Stating drive signal corresponding to the signal characteristic of audio sub-signals includes:
For the audio sub-signals of a frequency range, determine to believe corresponding to the audio signal of each frequency in the audio sub-signals Number energy, and the signal energy according to corresponding to the audio signal of each frequency determines a peak signal energy;
Determine drive signal corresponding to the peak signal energy.
5. method as claimed in claim 3, it is characterised in that the audio sub-signals for being directed to a frequency range, determine institute Stating drive signal corresponding to the signal characteristic of audio sub-signals includes:
For the audio sub-signals of a frequency range, the signal energy of frequency highest audio signal in the audio sub-signals is determined Amount;
Determine drive signal corresponding to the signal energy.
6. method as claimed in claim 2, it is characterised in that the signal characteristic is the signal frequency of the audio signal.
7. method as claimed in claim 6, it is characterised in that the audio sub-signals for being directed to a frequency range, determine institute Stating drive signal corresponding to the signal characteristic of audio sub-signals includes:
For the audio sub-signals of a frequency range, determine to believe corresponding to the audio signal of each frequency in the audio sub-signals Number energy, and the signal energy according to corresponding to the audio signal of each frequency determines signal frequency corresponding to peak signal energy Rate;
Determine drive signal corresponding with the signal frequency.
8. method as claimed in claim 7, it is characterised in that according to corresponding to below equation determines the peak signal energy The drive signal U of signal frequencyf
<mrow> <msub> <mi>U</mi> <mi>f</mi> </msub> <mo>=</mo> <mfrac> <mrow> <mi>f</mi> <mo>-</mo> <mi>m</mi> </mrow> <mrow> <mi>M</mi> <mo>-</mo> <mi>m</mi> </mrow> </mfrac> <mo>*</mo> <mrow> <mo>(</mo> <msub> <mi>U</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> <mo>-</mo> <msub> <mi>U</mi> <mi>min</mi> </msub> <mo>)</mo> </mrow> <mo>+</mo> <msub> <mi>U</mi> <mi>min</mi> </msub> </mrow>
Wherein, f is signal frequency, U corresponding to the peak signal energymaxFor the work of motor corresponding to the audio sub-signals Make the maximum of voltage, UminFor the minimum value of the operating voltage of motor corresponding to the audio sub-signals, m is audio The minimum frequency of signal, M are the peak frequency of the audio sub-signals.
A kind of 9. controller for motor in mobile terminal, it is characterised in that it is characterised in that it includes:
Memory, for storing computer program;
And processor, for performing the computer program, to realize the side as described in any one in claim 1-8 Method.
A kind of 10. computer-readable storage medium, it is characterised in that including:
Memory, for storing computer program;
And processor, for performing the computer program, to realize the side as described in any one in claim 1-8 Method.
CN201710827699.2A 2014-12-15 2014-12-15 Motor control method and device in mobile terminal Active CN107453653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710827699.2A CN107453653B (en) 2014-12-15 2014-12-15 Motor control method and device in mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410778009.5A CN104506114B (en) 2014-12-15 2014-12-15 Motor control method and device in a kind of mobile terminal
CN201710827699.2A CN107453653B (en) 2014-12-15 2014-12-15 Motor control method and device in mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410778009.5A Division CN104506114B (en) 2014-12-15 2014-12-15 Motor control method and device in a kind of mobile terminal

Publications (2)

Publication Number Publication Date
CN107453653A true CN107453653A (en) 2017-12-08
CN107453653B CN107453653B (en) 2020-12-01

Family

ID=52947841

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410778009.5A Active CN104506114B (en) 2014-12-15 2014-12-15 Motor control method and device in a kind of mobile terminal
CN201710827699.2A Active CN107453653B (en) 2014-12-15 2014-12-15 Motor control method and device in mobile terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410778009.5A Active CN104506114B (en) 2014-12-15 2014-12-15 Motor control method and device in a kind of mobile terminal

Country Status (1)

Country Link
CN (2) CN104506114B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109821246A (en) * 2019-02-15 2019-05-31 上海艾为电子技术股份有限公司 Motor vibrations method and device, storage medium and electronic equipment
CN113693296A (en) * 2021-08-30 2021-11-26 深圳桐源芯动力科技有限公司 Electronic cigarette and control method thereof
WO2022041712A1 (en) * 2020-08-31 2022-03-03 深圳市云顶信息技术有限公司 Audio signal drive motor circuit

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656392B (en) * 2016-03-04 2019-06-25 歌尔股份有限公司 A kind of motor vibrations control method and system
CN105635491A (en) * 2016-03-25 2016-06-01 广东欧珀移动通信有限公司 Vibration sense adjustment method, system and electronic device
CN106713668B (en) * 2017-02-21 2021-07-09 腾讯科技(深圳)有限公司 Method and device for controlling vibration of terminal
CN110709802B (en) * 2017-06-27 2024-01-30 福特全球技术公司 Haptic device operation
CN109771945B (en) * 2019-01-30 2022-07-08 上海艾为电子技术股份有限公司 Control method and device of terminal equipment
CN110198385A (en) * 2019-05-28 2019-09-03 Oppo广东移动通信有限公司 A kind of vibration frequency adjusting method, device, storage medium and electronic equipment
CN111261185A (en) * 2020-01-10 2020-06-09 腾讯音乐娱乐科技(深圳)有限公司 Method, device, system, equipment and storage medium for playing audio

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154236A (en) * 1995-09-16 1997-07-16 刘奥宇 Music massage system
JP2001251393A (en) * 2000-03-07 2001-09-14 Shicoh Eng Co Ltd Mobile wireless communication unit
CN101326852A (en) * 2005-10-27 2008-12-17 诺基亚公司 Oscillation motor as audio converter
CN101365267A (en) * 2008-09-27 2009-02-11 深圳华为通信技术有限公司 Music frequency and loudness exhibition apparatus and method for terminal
CN101729625A (en) * 2010-01-05 2010-06-09 青岛海信移动通信技术股份有限公司 Method for driving motor of mobile phone and mobile equipment
CN101982750A (en) * 2010-09-28 2011-03-02 东南大学 Control method and device thereof for vibration frequency of coil spring type sampler
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN103235529A (en) * 2013-04-27 2013-08-07 苏州甘泰精密机械有限公司 Control circuit system applied in sex toy
CN104104775A (en) * 2013-04-02 2014-10-15 中兴通讯股份有限公司 Method for automatically adjusting mobile phone ringing tone volume and vibration modes and device thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100424986C (en) * 2006-08-25 2008-10-08 天津三星电机有限公司 Device for controlling motor oscillating by audio frequency
CN101697470B (en) * 2009-10-30 2011-05-25 青岛海信移动通信技术股份有限公司 Method for controlling vibration of linear motor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1154236A (en) * 1995-09-16 1997-07-16 刘奥宇 Music massage system
JP2001251393A (en) * 2000-03-07 2001-09-14 Shicoh Eng Co Ltd Mobile wireless communication unit
CN101326852A (en) * 2005-10-27 2008-12-17 诺基亚公司 Oscillation motor as audio converter
CN101365267A (en) * 2008-09-27 2009-02-11 深圳华为通信技术有限公司 Music frequency and loudness exhibition apparatus and method for terminal
CN101729625A (en) * 2010-01-05 2010-06-09 青岛海信移动通信技术股份有限公司 Method for driving motor of mobile phone and mobile equipment
CN101982750A (en) * 2010-09-28 2011-03-02 东南大学 Control method and device thereof for vibration frequency of coil spring type sampler
CN102905028A (en) * 2012-10-15 2013-01-30 深圳市中兴移动通信有限公司 Mobile terminal prompt information regulating method and corresponding mobile terminal
CN104104775A (en) * 2013-04-02 2014-10-15 中兴通讯股份有限公司 Method for automatically adjusting mobile phone ringing tone volume and vibration modes and device thereof
CN103235529A (en) * 2013-04-27 2013-08-07 苏州甘泰精密机械有限公司 Control circuit system applied in sex toy

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109821246A (en) * 2019-02-15 2019-05-31 上海艾为电子技术股份有限公司 Motor vibrations method and device, storage medium and electronic equipment
CN109821246B (en) * 2019-02-15 2022-07-19 上海艾为电子技术股份有限公司 Motor vibration method and device, storage medium and electronic device
WO2022041712A1 (en) * 2020-08-31 2022-03-03 深圳市云顶信息技术有限公司 Audio signal drive motor circuit
CN113693296A (en) * 2021-08-30 2021-11-26 深圳桐源芯动力科技有限公司 Electronic cigarette and control method thereof

Also Published As

Publication number Publication date
CN107453653B (en) 2020-12-01
CN104506114B (en) 2017-11-24
CN104506114A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104506114B (en) Motor control method and device in a kind of mobile terminal
CN107743640A (en) Tactile driver with decay
CN102024481B (en) Method and device for extracting vibration information from audio file and vibrating device
WO2017097058A1 (en) Apparatus for controlling earphone or media player in communication with the earphone, and controlling method thereof
US11198059B2 (en) Vibration control apparatus, vibration control method, and program
JP2016123075A (en) Audio enhanced simulation of high bandwidth haptic effects
JPWO2018193557A1 (en) Vibration control device
US11738261B2 (en) Vibration control apparatus
JP6093659B2 (en) Information processing apparatus and information processing program
KR20120126446A (en) An apparatus for generating the vibrating feedback from input audio signal
US11458389B2 (en) Vibration control apparatus
CN103327186A (en) Method for controlling mobile phone music player
US9336795B1 (en) Speech therapy system and method with loudness alerts
EP1915026A3 (en) Audio reproducing apparatus
CN203706669U (en) Brain wave self-adapting audio player
JP6121606B1 (en) Hearing training apparatus, operating method of hearing training apparatus, and program
CN103366744B (en) Based on the method and apparatus of Voice command portable terminal
CN111603776B (en) Method for identifying gunshot in audio data, motor driving method and related device
CN106648540A (en) Music switching method and device
CN104007951B (en) A kind of information processing method and electronic equipment
CN105852810A (en) Sleep control method
CN103029623B (en) Vehicle carried electronic machine
CN109360577A (en) The method, apparatus storage medium that audio is handled
US11323814B2 (en) Vibration system using sound
KR101553909B1 (en) Respiration rehabilitation apparatus and method for controlling the same

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
CP01 Change in the name or title of a patent holder

Address after: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP03 Change of name, title or address

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: 266100 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Patentee before: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address