CN107977077A - Vibration control method, terminal, computer equipment and readable storage medium storing program for executing - Google Patents

Vibration control method, terminal, computer equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107977077A
CN107977077A CN201711154731.1A CN201711154731A CN107977077A CN 107977077 A CN107977077 A CN 107977077A CN 201711154731 A CN201711154731 A CN 201711154731A CN 107977077 A CN107977077 A CN 107977077A
Authority
CN
China
Prior art keywords
vibratory output
vibrating device
terminal
vibration
vibrating
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.)
Pending
Application number
CN201711154731.1A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711154731.1A priority Critical patent/CN107977077A/en
Publication of CN107977077A publication Critical patent/CN107977077A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D19/00Control of mechanical oscillations, e.g. of amplitude, of frequency, of phase
    • G05D19/02Control of mechanical oscillations, e.g. of amplitude, of frequency, of phase characterised by the use of electric means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

Vibration control method provided by the invention, terminal, vibration control method include:When the vibrating device of terminal starts vibration, the detection device in control terminal is detected the vibratory output of vibrating device, obtains the measurement vibratory output of vibrating device;Judge to measure vibratory output whether in default vibratory output section in the terminal;When measuring vibratory output not in default vibratory output section, adjust the drive signal that driving device is sent to vibrating device, the vibratory output of vibrating device is maintained in default vibratory output section, ensure that vibratory output that user experiences will not be subject to the influence of extraneous factor and all the time can be in same section, avoid the inconsistent situation of vibrating effect that vibrating device is produced by oneself factor or extraneous factor to occur, improve the competitiveness of product in market.

Description

Vibration control method, terminal, computer equipment and readable storage medium storing program for executing
Technical field
The present invention relates to technical field of information processing, more specifically, be related to a kind of vibration control method, a kind of terminal, A kind of computer equipment and a kind of computer-readable recording medium.
Background technology
Touch feedback is another important field of research after visual interactive and sense of hearing interaction, is got in the information age Need to carry out touch feedback when terminal sends and reminds come more user so that user it is noisy or it is subtle to sound and Feedback can be received during the environment of the change of image in time, therefore the application range of touch feedback especially vibrational feedback is wide all the more It is general.The motor of vibrational feedback is provided at present in production, can add magnetic liquid (also known as magnetic liquid, ferrofluid) to adjust motor Damping, and damp size can directly affect the vibrating effects such as startup time and the dwell time of motor, ideal situation is got down from horse The damping reached is constant, so just can guarantee that the uniformity of vibrating effect.But the viscosity with temperature change of magnetic liquid, temperature is higher, magnetic Fluid viscosity is smaller, then the damping of motor varies with temperature, and temperature is higher, and damping is smaller.Therefore in routine use, using same When the drive signal of sample but different affiliated temperature, the damping of motor also can be different, therefore cause the vibratory output of motor different.Shake Momentum difference directly affects user experience, thus appear in motor damping it is high when user can not experience vibrating alert.
Therefore, a kind of vibration control method that the vibratory output of vibrating device can be adjusted, terminal, calculating are designed Machine equipment and computer-readable recording medium become urgent problem to be solved.
The content of the invention
It is contemplated that at least solve one of technical problem existing in the prior art.
For this reason, it is an advantage of the invention to provide a kind of vibration control method.
A further object of the present invention is, there is provided a kind of terminal.
A further object of the present invention is, there is provided a kind of computer equipment.
A further object of the present invention is, there is provided a kind of computer-readable recording medium.
To achieve the above object, a kind of vibration control method is provided according to an embodiment of the invention, for terminal, vibration Control method includes:When the vibrating device of terminal starts vibration, vibration of the detection device to vibrating device in control terminal Amount is detected, and obtains the measurement vibratory output of vibrating device;Judge measure vibratory output whether default vibratory output area in the terminal In;When measuring vibratory output not in default vibratory output section, the driving device adjusted in terminal is sent into vibrating device Drive signal so that measurement vibratory output in default vibratory output section.
Vibration control method provided by the invention, first when the vibrating device of terminal starts vibration, controls detection device The vibratory output of vibrating device is detected, to obtain the vibratory output this moment of vibrating device, the survey detected to vibrating device Amount vibratory output is judged, judges to measure vibratory output whether in the default vibratory output section of terminal, when measurement vibratory output exists When in default vibratory output section, the vibrating effect for illustrating vibrating device at this time can just be experienced by user, and when measurement , can for the relatively default vibratory output section of vibratory output for illustrating vibrating device at this time when vibratory output is not in default vibratory output section It is excessive to there is vibratory output, caused by user experience it is poor or the excessive consumption energy carries out unnecessary vibration, or Person is that vibratory output is too small and cause user can not experience the vibration of terminal, therefore illustrates that driving device is sent to vibration at this time and fill The drive signal put is too small, in order to enable the vibratory output of vibrating device is in the section of default vibratory output, it is therefore desirable to adjust and drive Dynamic device is sent to the drive signal of vibrating device so that and the vibratory output of vibrating device can be maintained in default vibratory output section, It ensure that the vibratory output that user experiences will not be subject to the influence of extraneous factor and can be avoided all the time in a constant section The inconsistent situation of vibrating effect that vibrating device is produced by oneself factor or extraneous factor occurs, and improves the city of product Field competitiveness.
In addition, detection of the detection device to vibratory output, can shake when vibrating device is vibrated every time to it Momentum is detected, with ensure the vibratory output of each vibrating device can driven device adjust to meet vibration section.At the same time It can also be within one end time after getting a vibratory output, be no longer detected into the vibratory output of vibrating device, because Within the less time is separated by, it is believed that be that larger change will not occur for the internal factor of vibrating device or environmental factor Become, therefore its vibratory output should be able to be in default vibratory output section, can so be reduced the electric quantity consumption of terminal, be lifted terminal Service life.
It is contemplated that, the default vibratory output section of each terminal can be that the user of each terminal is voluntarily set , because vibratory output is a more subjective touch feedback amount, the suitable section of each user also can be not exactly the same, Therefore default vibratory output section can carry out sets itself by user, and it is optimum user to ensure the section.
Driving device can be motor driving chip (including low voltage motor driving chip, normal pressure motor driving chip, high pressure Motor driving chip) or the driving vibrator vibration such as power amplifier module.
It is contemplated that, the vibration control method being supplied in the present invention is by AP (application in the terminal Processor, application processor), MCU (micro controller unit, micro-control unit), DSP (digital Signal processor, digital signal processor) etc. there is control or the module of data-handling capacity to be controlled, by upper The vibration control method provided in the present invention can be realized by stating module.
In addition, the vibration control method that above-described embodiment provides according to the present invention also has following additional technical feature:
In any of the above-described technical solution, it is preferable that detection device in control terminal to the vibratory output of vibrating device into Row detection, the measurement vibratory output for obtaining vibrating device concretely comprise the following steps:Control the vibration of detection device detection vibrating device special Property;The measurement vibratory output of vibrating device is drawn according to calculation of vibration;Wherein, vibration characteristics is following any or combination:Shake Dynamic acceleration, vibration force, the amplitude of vibrating device, magnetism, the temperature of vibrating device local environment of magnetic liquid in vibrating device Or the humidity of vibrating device local environment.
In the technical scheme, when controlling detection device to be detected vibratory output, detection device pair in order to control first The vibration characteristics of vibrating device is detected, and the measurement vibratory output of vibrating device is secondly drawn according to calculation of vibration, is being examined Survey the vibration acceleration of the vibration characteristics including vibrating device of vibrating device, vibration force, the amplitude of vibrating device, in vibrating device The magnetism of magnetic liquid, the humidity of the temperature of vibrating device local environment or vibrating device local environment, these vibration characteristics can The vibrating effect embodied to resulting vibration device reacts.
In any of the above-described technical solution, it is preferable that the waveform of the drive signal sent by adjusting driving device, amplitude Or any or combination in phase, so that measurement vibratory output is in default vibratory output section.
In the technical scheme, can when driving device sends drive signal and the vibratory output of vibrating device is controlled Any or combination in the waveform of drive signal, amplitude or phase to be adjusted, so that measurement vibratory output is in default vibration Measure in section, ensure that user has the vibrating effect of vibrating device good embodiment.
In any of the above-described technical solution, it is preferable that vibration control method further includes:According to prefixed time interval detection simultaneously Renewal measurement vibratory output.
In the technical scheme, can be detection device according between preset time when being detected to measurement vibratory output Every the detection for carrying out the vibratory output progress to vibrating device, ensure the change of the vibratory output of vibrating device within a preset time interval Can be detected by the detection operation of detection device next time to.
It is naturally appreciated that, the detection to the vibratory output of vibrating device can also be detected in real time and in real time into Row adjusts renewal so that the actual vibration amount at each moment can be adjusted in default vibratory output section.
Further, it is also possible to which the detection opportunity for being arranged to renewal is, when using position there occurs changing of terminal is being detected, Start to be detected vibratory output, ensure to start pair when environmental factor changes caused by the position system change of terminal Vibratory output is detected, to reduce influence of the outside environmental elements to vibrating device.
In any of the above-described technical solution, it is preferable that vibrating device is vibrating motor, linear motor, eccentric rotor motor Or any or combination in piezoelectric inductor.
In the technical scheme, vibrating device can be arranged to vibrating motor, linear motor, eccentric rotor motor or pressure Any or combination in electric inductor.
The present invention provides a kind of terminal to include:Detection module, for when the vibrating device of terminal starts vibration, controlling Detection device in terminal is detected the vibratory output of vibrating device, obtains the measurement vibratory output of vibrating device;Judgment module, For judging to measure vibratory output whether in default vibratory output section in the terminal;Adjustment module, for working as measurement vibratory output not When in default vibratory output section, the driving device adjusted in terminal sends the drive signal into vibrating device, so that measurement Vibratory output is in default vibratory output section.
First when the vibrating device of terminal starts vibration, detection module controls vibratory output of the detection device to vibrating device It is detected, to obtain the vibratory output this moment of vibrating device, the measurement detected by judgment module to vibrating device is vibrated Amount is judged, judges to measure vibratory output whether in the default vibratory output section of terminal, when measurement vibratory output shakes default When in momentum section, the vibrating effect for illustrating vibrating device at this time can just be experienced by user, and when measurement vibratory output When not in default vibratory output section, for the relatively default vibratory output section of vibratory output for illustrating vibrating device at this time, in fact it could happen that Vibratory output is excessive, caused by user experience it is poor or the excessive consumption energy carries out unnecessary vibration, or shake Momentum is too small and causes user can not experience the vibration of terminal, therefore illustrates that driving device is sent to the drive of vibrating device at this time Dynamic signal is too small, in order to enable the vibratory output of vibrating device is in the section of default vibratory output, it is therefore desirable to pass through adjustment module Adjust the drive signal that driving device is sent to vibrating device so that the vibratory output of vibrating device can be maintained at default vibratory output area In, ensure that vibratory output that user experiences will not be subject to the influence of extraneous factor and all the time can be in a constant section It is interior, avoid the inconsistent situation of vibrating effect that vibrating device is produced by oneself factor or extraneous factor and occur, improve The competitiveness of product in market.
In addition, detection module controls detection of the detection device to vibratory output, can be vibrated every time in vibrating device Shi Jun is detected its vibratory output, with ensure the vibratory output of each vibrating device can driven device adjust to meeting and shake Dynamic section.At the same time can also be within one end time after getting a vibratory output, no longer into vibrating device vibratory output into Row detection, because within the less time is separated by, it is believed that be that the internal factor of vibrating device or environmental factor will not be sent out Raw larger change, therefore its vibratory output will not can so reduce the electric quantity consumption of terminal with significantly changing, and be lifted The service life of terminal.
It is contemplated that, the default vibratory output section of each terminal can be that the user of each terminal is voluntarily set , because vibratory output is a more subjective touch feedback amount, the suitable section of each user also can be not exactly the same, Therefore default vibratory output section can carry out sets itself by user, and it is optimum user to ensure the section.
Driving device can be motor driving chip (including low voltage motor driving chip, normal pressure motor driving chip, high pressure Motor driving chip) or the driving vibrator vibration such as power amplifier module.
It is contemplated that, the terminal being supplied in the present invention is by AP (application in the terminal Processor, application processor), MCU (micro controller unit, micro-control unit), DSP (digital Signal processor, digital signal processor) etc. there is control or the module of data-handling capacity to be controlled, by upper The terminal provided in the present invention can be realized by stating module.
In any of the above-described technical solution, it is preferable that detection module specifically includes:Detection sub-unit, is detected for controlling Device detects the vibration characteristics of vibrating device;Computation subunit, for drawing the measurement of vibrating device according to calculation of vibration Vibratory output;Wherein, vibration characteristics is following any or combination:Vibration acceleration, vibration force, the amplitude of vibrating device, vibration dress The humidity of the magnetism of magnetic liquid, the temperature of vibrating device local environment or vibrating device local environment in putting.
In the technical scheme, when controlling detection device to be detected vibratory output, it is by detection sub-unit first Control detection device is detected the vibration characteristics of vibrating device, and secondly computation subunit is drawn according to calculation of vibration shakes The measurement vibratory output of dynamic device, in vibration acceleration of the vibration characteristics including vibrating device of detection vibrating device, vibration force, shakes Amplitude, the magnetism of magnetic liquid in vibrating device, the temperature of vibrating device local environment or the vibrating device local environment of dynamic device Humidity, these vibration characteristics can react the vibrating effect that resulting vibration device embodies.
In any of the above-described technical solution, it is preferable that the drive signal that adjustment module is sent by adjusting driving device Any or combination in waveform, amplitude or phase, so that measurement vibratory output is in default vibratory output section.
In the technical scheme, can when driving device sends drive signal and the vibratory output of vibrating device is controlled Any or combination in the waveform of drive signal, amplitude or phase to be adjusted, so that measurement vibratory output is in default vibration Measure in section, ensure that user has the vibrating effect of vibrating device good embodiment.
In any of the above-described technical solution, it is preferable that detection module is additionally operable to detect and update according to prefixed time interval Measure vibratory output.
In the technical scheme, can be detection device according between preset time when being detected to measurement vibratory output Every the detection for carrying out the vibratory output progress to vibrating device, ensure the change of the vibratory output of vibrating device within a preset time interval Can be detected by the detection operation of detection device next time to.
It is naturally appreciated that, the detection to the vibratory output of vibrating device can also be detected in real time and in real time into Row adjusts renewal so that the actual vibration amount at each moment can be adjusted in default vibratory output section.
Further, it is also possible to which the detection opportunity for being arranged to renewal is, when using position there occurs changing of terminal is being detected, Start to be detected vibratory output, ensure to start pair when environmental factor changes caused by the position system change of terminal Vibratory output is detected, to reduce influence of the outside environmental elements to vibrating device.
In any of the above-described technical solution, it is preferable that vibrating device is vibrating motor, linear motor, eccentric rotor motor Or any or combination in piezoelectric inductor.
In the technical scheme, vibrating device can be arranged to vibrating motor, linear motor, eccentric rotor motor or pressure Any or combination in electric inductor.
According to the third aspect of the present invention, the present invention provides a kind of computer equipment, including memory, processor and The computer program that can be run on a memory and on a processor is stored, processor is realized as above-mentioned when performing computer program The vibration control method of any one of first aspect, therefore, the computer equipment that the embodiment of the present invention provides have first aspect The whole beneficial effects for the vibration control method that any embodiment provides, it is numerous to list herein.
According to the fourth aspect of the present invention, the present invention provides a kind of computer-readable recording medium, it is stored thereon with Computer program, realizes the vibration control method of such as any one of above-mentioned first aspect when computer program is executed by processor, because This, the computer-readable recording medium that the embodiment of the present invention provides has the vibration control that first aspect any embodiment provides Whole beneficial effects of method, it is numerous to list herein.
Additional aspect and advantage according to the present invention will provide in following description section, partly by from following description In become obvious, or by the present invention practice recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment Substantially and it is readily appreciated that, wherein:
Fig. 1 shows the flow diagram of the vibration control method provided according to one embodiment of present invention;
Fig. 2 shows the another flow diagram of the vibration control method provided according to one embodiment of present invention;
Fig. 3 shows the block schematic illustration of the terminal provided according to one embodiment of present invention;
Fig. 4 shows the another block schematic illustration of the terminal provided according to one embodiment of present invention.
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the case where there is no conflict, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also By using other different from implementing in a manner of described here, therefore, protection scope of the present invention and from following public tool The limitation of body embodiment.
The vibration control method and the terminal that there is provided according to an embodiment of the invention are described referring to Fig. 1 to Fig. 4.
Fig. 1 shows the flow diagram of the vibration control method provided according to one embodiment of present invention;
As shown in Figure 1, the embodiment provides a kind of vibration control method, vibration control method includes:
S102, when the vibrating device of terminal starts vibration, vibration of the detection device to vibrating device in control terminal Amount is detected, and obtains the measurement vibratory output of vibrating device;
S104, judges to measure vibratory output whether in default vibratory output section in the terminal;
S106, when measuring vibratory output not in default vibratory output section, the driving device in adjusting terminal is sent to shaking Drive signal in dynamic device, so that measurement vibratory output is in default vibratory output section.
Vibration control method provided by the invention, first when the vibrating device of terminal starts vibration, controls detection device The vibratory output of vibrating device is detected, to obtain the vibratory output this moment of vibrating device, the survey detected to vibrating device Amount vibratory output is judged, judges to measure vibratory output whether in the default vibratory output section of terminal, when measurement vibratory output exists When in default vibratory output section, the vibrating effect for illustrating vibrating device at this time can just be experienced by user, and when measurement , can for the relatively default vibratory output section of vibratory output for illustrating vibrating device at this time when vibratory output is not in default vibratory output section It is excessive to there is vibratory output, caused by user experience it is poor or the excessive consumption energy carries out unnecessary vibration, or Person is that vibratory output is too small and cause user can not experience the vibration of terminal, therefore illustrates that driving device is sent to vibration at this time and fill The drive signal put is too small, in order to enable the vibratory output of vibrating device is in the section of default vibratory output, it is therefore desirable to adjust and drive Dynamic device is sent to the drive signal of vibrating device so that and the vibratory output of vibrating device can be maintained in default vibratory output section, It ensure that the vibratory output that user experiences will not be subject to the influence of extraneous factor and can be avoided all the time in a constant section The inconsistent situation of vibrating effect that vibrating device is produced by oneself factor or extraneous factor occurs, and improves the city of product Field competitiveness.
In addition, detection of the detection device to vibratory output, can shake when vibrating device is vibrated every time to it Momentum is detected, with ensure the vibratory output of each vibrating device can driven device adjust to meet vibration section.At the same time It can also be within one end time after getting a vibratory output, be no longer detected into the vibratory output of vibrating device, because Within the less time is separated by, it is believed that be that larger change will not occur for the internal factor of vibrating device or environmental factor Become, therefore its vibratory output will not can so be reduced the electric quantity consumption of terminal, lift the use of terminal with significantly changing Service life.
It is contemplated that, the default vibratory output section of each terminal can be that the user of each terminal is voluntarily set , because vibratory output is a more subjective touch feedback amount, the suitable section of each user also can be not exactly the same, Therefore default vibratory output section can carry out sets itself by user, and it is optimum user to ensure the section.
Driving device can be motor driving chip (including low voltage motor driving chip, normal pressure motor driving chip, high pressure Motor driving chip) or the driving vibrator vibration such as power amplifier module.
It is contemplated that, the vibration control method being supplied in the present invention is by AP (application in the terminal Processor, application processor), MCU (micro controller unit, micro-control unit), DSP (digital Signal processor, digital signal processor) etc. there is control or the module of data-handling capacity to be controlled, by upper The vibration control method provided in the present invention can be realized by stating module.
Fig. 2 shows the another flow diagram of the vibration control method provided according to one embodiment of present invention;
As shown in Fig. 2, the embodiment provides a kind of vibration control method, vibration control method includes:
S202, the vibration characteristics of control detection device detection vibrating device;
S204, the measurement vibratory output of vibrating device is drawn according to calculation of vibration;
S206, judges to measure vibratory output whether in default vibratory output section in the terminal;
S207, when measuring vibratory output not in default vibratory output section, the driving device in adjusting terminal is sent to shaking Drive signal in dynamic device, so that measurement vibratory output is in default vibratory output section;
Wherein, vibration characteristics is following any or combination:Vibration acceleration, vibration force, the amplitude of vibrating device, vibration dress The humidity of the magnetism of magnetic liquid, the temperature of vibrating device local environment or vibrating device local environment in putting.
In this embodiment, control detection device vibratory output is detected when, first in order to control detection device to shaking The vibration characteristics of dynamic device is detected, and the measurement vibratory output of vibrating device is secondly drawn according to calculation of vibration, is being detected The vibration acceleration of the vibration characteristics of vibrating device including vibrating device, vibration force, the amplitude of vibrating device, in vibrating device The humidity of the magnetism of magnetic liquid, the temperature of vibrating device local environment or vibrating device local environment, these vibration characteristics can be right The vibrating effect that resulting vibration device embodies is reacted.
In one embodiment provided by the invention, it is preferable that the ripple of the drive signal sent by adjusting driving device Any or combination in shape, amplitude or phase, so that measurement vibratory output is in default vibratory output section.
In this embodiment, can be with when driving device sends drive signal and the vibratory output of vibrating device is controlled Any or combination in the waveform of drive signal, amplitude or phase is adjusted, so that measurement vibratory output is in default vibratory output In section, ensure that user has the vibrating effect of vibrating device good embodiment.
In one embodiment provided by the invention, it is preferable that vibration control method further includes:According to prefixed time interval Detect and update measurement vibratory output.
In this embodiment, can be detection device according to prefixed time interval when being detected to measurement vibratory output The detection of the vibratory output progress to vibrating device is carried out, ensures that the change of the vibratory output of vibrating device within a preset time interval can With by the detection operation of detection device next time be detected to.
It is naturally appreciated that, the detection to the vibratory output of vibrating device can also be detected in real time and in real time into Row adjusts renewal so that the actual vibration amount at each moment can be adjusted in default vibratory output section.
Further, it is also possible to which the detection opportunity for being arranged to renewal is, when using position there occurs changing of terminal is being detected, Start to be detected vibratory output, ensure to start pair when environmental factor changes caused by the position system change of terminal Vibratory output is detected, to reduce influence of the outside environmental elements to vibrating device.
In one embodiment provided by the invention, it is preferable that vibrating device is vibrating motor, linear motor, bias turn Any or combination in sub- motor or piezoelectric inductor.
In this embodiment it is possible to vibrating device is arranged to vibrating motor, linear motor, eccentric rotor motor or piezoelectricity Any or combination in inductor.
Fig. 3 shows the block schematic illustration of the terminal 300 provided according to one embodiment of present invention, as shown in figure 3, this Invention, which provides a kind of terminal, to be included:
Detection module 302, for when the vibrating device of terminal starts vibration, the detection device in control terminal to be to vibration The vibratory output of device is detected, and obtains the measurement vibratory output of vibrating device;
Judgment module 304, for judging to measure vibratory output whether in default vibratory output section in the terminal;
Adjustment module 306, for when measuring vibratory output not in default vibratory output section, adjusting the driving dress in terminal Transmission is put to the drive signal in vibrating device, so that measurement vibratory output is in default vibratory output section.
First when the vibrating device of terminal starts vibration, detection module controls vibratory output of the detection device to vibrating device It is detected, to obtain the vibratory output this moment of vibrating device, the measurement detected by judgment module to vibrating device is vibrated Amount is judged, judges to measure vibratory output whether in the default vibratory output section of terminal, when measurement vibratory output shakes default When in momentum section, the vibrating effect for illustrating vibrating device at this time can just be experienced by user, and when measurement vibratory output When not in default vibratory output section, for the relatively default vibratory output section of vibratory output for illustrating vibrating device at this time, in fact it could happen that Vibratory output is excessive, caused by user experience it is poor or the excessive consumption energy carries out unnecessary vibration, or shake Momentum is too small and causes user can not experience the vibration of terminal, therefore illustrates that driving device is sent to the drive of vibrating device at this time Dynamic signal is too small, in order to enable the vibratory output of vibrating device is in the section of default vibratory output, it is therefore desirable to pass through adjustment module Adjust the drive signal that driving device is sent to vibrating device so that the vibratory output of vibrating device can be maintained at default vibratory output area In, ensure that vibratory output that user experiences will not be subject to the influence of extraneous factor and all the time can be in a constant section It is interior, avoid the inconsistent situation of vibrating effect that vibrating device is produced by oneself factor or extraneous factor and occur, improve The competitiveness of product in market.
In addition, detection module controls detection of the detection device to vibratory output, can be vibrated every time in vibrating device Shi Jun is detected its vibratory output, with ensure the vibratory output of each vibrating device can driven device adjust to meeting and shake Dynamic section.At the same time can also be within one end time after getting a vibratory output, no longer into vibrating device vibratory output into Row detection, because within the less time is separated by, it is believed that be that the internal factor of vibrating device or environmental factor will not be sent out Raw larger change, therefore its vibratory output will not can so reduce the electric quantity consumption of terminal with significantly changing, and be lifted The service life of terminal.
It is contemplated that, the default vibratory output section of each terminal can be that the user of each terminal is voluntarily set , because vibratory output is a more subjective touch feedback amount, the suitable section of each user also can be not exactly the same, Therefore default vibratory output section can carry out sets itself by user, and it is optimum user to ensure the section.
Driving device can be motor driving chip (including low voltage motor driving chip, normal pressure motor driving chip, high pressure Motor driving chip) or the driving vibrator vibration such as power amplifier module.
It is contemplated that, the terminal being supplied in the present invention is by AP (application in the terminal Processor, application processor), MCU (micro controller unit, micro-control unit), DSP (digital Signal processor, digital signal processor) etc. there is control or the module of data-handling capacity to be controlled, by upper The terminal provided in the present invention can be realized by stating module.
Fig. 4 shows the block schematic illustration of the terminal 400 provided according to one embodiment of present invention, as shown in figure 4, this Invention, which provides a kind of terminal 400, to be included:
Detection module 402, for when the vibrating device of terminal starts vibration, the detection device in control terminal to be to vibration The vibratory output of device is detected, and obtains the measurement vibratory output of vibrating device;And detection module 402 specifically includes:
Detection sub-unit 404, for controlling the vibration characteristics of detection device detection vibrating device;
Computation subunit 406, for drawing the measurement vibratory output of vibrating device according to calculation of vibration;
Judgment module 408, for judging to measure vibratory output whether in default vibratory output section in the terminal;
Adjustment module 410, for when measuring vibratory output not in default vibratory output section, adjusting the driving dress in terminal Transmission is put to the drive signal in vibrating device, so that measurement vibratory output is in default vibratory output section;
Wherein, vibration characteristics is following any or combination:Vibration acceleration, vibration force, the amplitude of vibrating device, vibration dress The humidity of the magnetism of magnetic liquid, the temperature of vibrating device local environment or vibrating device local environment in putting.
In this embodiment, it is control first by detection sub-unit when controlling detection device to be detected vibratory output Detection device processed is detected the vibration characteristics of vibrating device, and secondly computation subunit draws vibration according to calculation of vibration The measurement vibratory output of device, in vibration acceleration of the vibration characteristics including vibrating device of detection vibrating device, vibration force, vibration The amplitude of device, the magnetism of magnetic liquid in vibrating device, the temperature of vibrating device local environment or vibrating device local environment Humidity, these vibration characteristics can react the vibrating effect that resulting vibration device embodies.
In one embodiment provided by the invention, it is preferable that the driving that adjustment module is sent by adjusting driving device Any or combination in the waveform of signal, amplitude or phase, so that measurement vibratory output is in default vibratory output section.
In this embodiment, can be with when driving device sends drive signal and the vibratory output of vibrating device is controlled Any or combination in the waveform of drive signal, amplitude or phase is adjusted, so that measurement vibratory output is in default vibratory output In section, ensure that user has the vibrating effect of vibrating device good embodiment.
In one embodiment provided by the invention, it is preferable that detection module is additionally operable to detect according to prefixed time interval And update measurement vibratory output.
In this embodiment, can be detection device according to prefixed time interval when being detected to measurement vibratory output The detection of the vibratory output progress to vibrating device is carried out, ensures that the change of the vibratory output of vibrating device within a preset time interval can With by the detection operation of detection device next time be detected to.
It is naturally appreciated that, the detection to the vibratory output of vibrating device can also be detected in real time and in real time into Row adjusts renewal so that the actual vibration amount at each moment can be adjusted in default vibratory output section.
Further, it is also possible to which the detection opportunity for being arranged to renewal is, when using position there occurs changing of terminal is being detected, Start to be detected vibratory output, ensure to start pair when environmental factor changes caused by the position system change of terminal Vibratory output is detected, to reduce influence of the outside environmental elements to vibrating device.
In one embodiment provided by the invention, it is preferable that vibrating device is vibrating motor, linear motor, bias turn Any or combination in sub- motor or piezoelectric inductor.
In this embodiment it is possible to vibrating device is arranged to vibrating motor, linear motor, eccentric rotor motor or piezoelectricity Any or combination in inductor.
According to the third aspect of the present invention, the present invention provides a kind of computer equipment, including memory, processor and The computer program that can be run on a memory and on a processor is stored, processor is realized as above-mentioned when performing computer program The vibration control method of any one of first aspect, therefore, the computer equipment that the embodiment of the present invention provides have first aspect The whole beneficial effects for the vibration control method that any embodiment provides, it is numerous to list herein.
According to the fourth aspect of the present invention, the present invention provides a kind of computer-readable recording medium, it is stored thereon with Computer program, realizes the vibration control method of such as any one of above-mentioned first aspect when computer program is executed by processor, because This, the computer-readable recording medium that the embodiment of the present invention provides has the vibration control that first aspect any embodiment provides Whole beneficial effects of method, it is numerous to list herein.
In the description of this specification, the orientation or position relationship of the instruction such as term " on ", " under " are based on shown in attached drawing Orientation or position relationship, be for only for ease of the description present invention and simplify description, rather than instruction or imply signified device Or element there must be specific orientation, with specific azimuth configuration and operation, therefore it is not considered as limiting the invention; Term " connection ", " installation ", " fixation " etc. should all be interpreted broadly, for example, " connection " can be fixedly connected or can Dismantling connection, or be integrally connected;It can be directly connected, can also be indirectly connected by intermediary.For this area For those of ordinary skill, the concrete meaning of above-mentioned term in the present invention can be understood as the case may be.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean to combine at least one reality that the particular features, structures, materials, or characteristics that the embodiment or example describe are contained in the present invention Apply in example or example.In the present specification, schematic expression of the above terms is not necessarily referring to identical embodiment or reality Example.Moreover, description particular features, structures, materials, or characteristics can in any one or more embodiments or example with Suitable mode combines.
It these are only the preferred embodiment of the present invention, be not intended to limit the invention, for those skilled in the art For member, the invention may be variously modified and varied.Any modification within the spirit and principles of the invention, being made, Equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of vibration control method, it is characterised in that the vibration control method includes:
When the vibrating device of terminal starts vibration, vibratory output of the detection device in the terminal to the vibrating device is controlled It is detected, obtains the measurement vibratory output of the vibrating device;
Judge the measurement vibratory output whether in the default vibratory output section in the terminal;
When it is described measurement vibratory output not in the default vibratory output section when, adjust the driving device in the terminal send to Drive signal in the vibrating device, so that the measurement vibratory output is in the default vibratory output section.
2. vibration control method according to claim 1, it is characterised in that control the detection device in the terminal to institute The vibratory output for stating vibrating device is detected, and the measurement vibratory output for obtaining the vibrating device concretely comprises the following steps:
The detection device is controlled to detect the vibration characteristics of the vibrating device;
The measurement vibratory output of the vibrating device is drawn according to the calculation of vibration;
Wherein, the vibration characteristics is following any or combination:Vibration acceleration, vibration force, the amplitude of the vibrating device, institute State magnetic, the described vibrating device local environment of the magnetic liquid in vibrating device temperature or the vibrating device local environment it is wet Degree.
3. vibration control method according to claim 1, it is characterised in that
Any or combination in the waveform of the drive signal sent by adjusting the driving device, amplitude or phase, so that institute Measurement vibratory output is stated in the default vibratory output section.
4. vibration control method according to any one of claim 1 to 3, it is characterised in that the vibration control method Further include:
Detected according to prefixed time interval and update the measurement vibratory output.
5. vibration control method according to any one of claim 1 to 3, it is characterised in that
The vibrating device is any in vibrating motor, linear motor, eccentric rotor motor or piezoelectric inductor or combination.
6. a kind of terminal, it is characterised in that the terminal includes:
Detection module, for when the vibrating device of terminal starts vibration, controlling the detection device in the terminal to shake to described The vibratory output of dynamic device is detected, and obtains the measurement vibratory output of the vibrating device;
Judgment module, for judging the measurement vibratory output whether in the default vibratory output section in the terminal;
Adjustment module, for when the measurement vibratory output is not in the default vibratory output section, adjusting in the terminal Driving device is sent to the drive signal in the vibrating device, so that the measurement vibratory output is in the default vibratory output section It is interior.
7. terminal according to claim 6, it is characterised in that the detection module specifically includes:
Detection sub-unit, for controlling the detection device to detect the vibration characteristics of the vibrating device;
Computation subunit, for drawing the measurement vibratory output of the vibrating device according to the calculation of vibration;
Wherein, the vibration characteristics is following any or combination:Vibration acceleration, vibration force, the amplitude of the vibrating device, institute State magnetic, the described vibrating device local environment of the magnetic liquid in vibrating device temperature or the vibrating device local environment it is wet Degree.
8. terminal according to claim 6, it is characterised in that
Any in the waveform of the drive signal that the adjustment module is sent by adjusting the driving device, amplitude or phase or Combination, so that the measurement vibratory output is in the default vibratory output section.
9. the terminal according to any one of claim 6 to 8, it is characterised in that
The detection module is additionally operable to that the measurement vibratory output is detected and updated according to prefixed time interval.
10. the terminal according to any one of claim 6 to 8, it is characterised in that
The vibrating device is any in vibrating motor, linear motor, eccentric rotor motor or piezoelectric inductor or combination.
11. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 5 when performing the computer program Any one of vibration control method.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The vibration control method as any one of claim 1 to 5 is realized when being executed by processor.
CN201711154731.1A 2017-11-20 2017-11-20 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing Pending CN107977077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711154731.1A CN107977077A (en) 2017-11-20 2017-11-20 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711154731.1A CN107977077A (en) 2017-11-20 2017-11-20 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107977077A true CN107977077A (en) 2018-05-01

Family

ID=62010252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711154731.1A Pending CN107977077A (en) 2017-11-20 2017-11-20 Vibration control method, terminal, computer equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107977077A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919995A (en) * 2018-06-27 2018-11-30 珠海市魅族科技有限公司 Drive control method, system and electronic equipment
CN110112984A (en) * 2019-05-29 2019-08-09 维沃移动通信有限公司 A kind of vibration control method and mobile terminal of linear motor
WO2020034688A1 (en) * 2018-08-13 2020-02-20 瑞声声学科技(深圳)有限公司 Method for generating vibration wave of motor
CN111796669A (en) * 2020-05-15 2020-10-20 欧菲微电子技术有限公司 Piezoelectric touch device, feedback vibration control method and device thereof, and electronic equipment
WO2021120004A1 (en) * 2019-12-17 2021-06-24 瑞声声学科技(深圳)有限公司 Vibration signal control method, storage medium, and electronic device
CN114296549A (en) * 2021-12-20 2022-04-08 歌尔科技有限公司 Wearable device control method and device, wearable device and medium
CN114510141A (en) * 2020-10-26 2022-05-17 北京小米移动软件有限公司 Vibration control method, mobile terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102538947A (en) * 2010-12-27 2012-07-04 富泰华工业(深圳)有限公司 Electronic device with vibration detection function and vibration detection method thereof
CN102609078A (en) * 2011-01-20 2012-07-25 宏达国际电子股份有限公司 Electronic device with tactile feedback and method for providing tactile feedback
CN102891926A (en) * 2011-07-22 2013-01-23 Lg电子株式会社 Bang sungeun
CN104049892A (en) * 2014-05-28 2014-09-17 惠州Tcl移动通信有限公司 Mobile terminal capable of intelligently adjusting vibration intensity and method of adjusting vibration intensity thereof
CN105612476A (en) * 2013-10-08 2016-05-25 Tk控股公司 Self-calibrating tactile haptic multi-touch, multifunction switch panel
CN105912112A (en) * 2016-04-05 2016-08-31 广东欧珀移动通信有限公司 Method and device for setting vibration grade of mobile terminal
CN107110823A (en) * 2014-12-19 2017-08-29 高准公司 The vibration of vibrating sensor is controlled based on phase error

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102538947A (en) * 2010-12-27 2012-07-04 富泰华工业(深圳)有限公司 Electronic device with vibration detection function and vibration detection method thereof
CN102609078A (en) * 2011-01-20 2012-07-25 宏达国际电子股份有限公司 Electronic device with tactile feedback and method for providing tactile feedback
CN102891926A (en) * 2011-07-22 2013-01-23 Lg电子株式会社 Bang sungeun
CN105612476A (en) * 2013-10-08 2016-05-25 Tk控股公司 Self-calibrating tactile haptic multi-touch, multifunction switch panel
CN104049892A (en) * 2014-05-28 2014-09-17 惠州Tcl移动通信有限公司 Mobile terminal capable of intelligently adjusting vibration intensity and method of adjusting vibration intensity thereof
CN107110823A (en) * 2014-12-19 2017-08-29 高准公司 The vibration of vibrating sensor is controlled based on phase error
CN105912112A (en) * 2016-04-05 2016-08-31 广东欧珀移动通信有限公司 Method and device for setting vibration grade of mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108919995A (en) * 2018-06-27 2018-11-30 珠海市魅族科技有限公司 Drive control method, system and electronic equipment
WO2020034688A1 (en) * 2018-08-13 2020-02-20 瑞声声学科技(深圳)有限公司 Method for generating vibration wave of motor
CN110112984A (en) * 2019-05-29 2019-08-09 维沃移动通信有限公司 A kind of vibration control method and mobile terminal of linear motor
WO2021120004A1 (en) * 2019-12-17 2021-06-24 瑞声声学科技(深圳)有限公司 Vibration signal control method, storage medium, and electronic device
CN111796669A (en) * 2020-05-15 2020-10-20 欧菲微电子技术有限公司 Piezoelectric touch device, feedback vibration control method and device thereof, and electronic equipment
WO2021227815A1 (en) * 2020-05-15 2021-11-18 江西欧迈斯微电子有限公司 Piezoelectric touch control apparatus, method and apparatus for controlling feedback vibration thereof, and electronic device
CN114510141A (en) * 2020-10-26 2022-05-17 北京小米移动软件有限公司 Vibration control method, mobile terminal and storage medium
CN114296549A (en) * 2021-12-20 2022-04-08 歌尔科技有限公司 Wearable device control method and device, wearable device and medium

Similar Documents

Publication Publication Date Title
CN107977077A (en) Vibration control method, terminal, computer equipment and readable storage medium storing program for executing
JP7106670B2 (en) Adjustment of drive waveform to compensate for transducer resonance frequency
EP2277097B1 (en) Systems and methods for resonance detection
US10456760B2 (en) Control of vibratory/oscillatory mixers
JP5537150B2 (en) Method and apparatus for harvesting energy from mechanical vibrations
Arroyo et al. Comparison of electromagnetic and piezoelectric vibration energy harvesters: Model and experiments
Du et al. A new electrode design method in piezoelectric vibration energy harvesters to maximize output power
CN100554908C (en) Simulated intelligence flexible space sail board structural vibration main control test platform and method
EP1869754B1 (en) Converting mechanical vibrational energy into electrical energy
CN107387382B (en) Control method, compressor assembly and the refrigeration equipment of compressor amplitude
CN101399861A (en) Vibration regulating device, method for a mobile communication terminal, and communication terminal thereof
CN107894277A (en) The resonant frequency measurement method of intelligent handheld device and its linear motor
Tufekcioglu et al. A flextensional piezo-composite structure for energy harvesting applications
WO2007102000A1 (en) An electromechanical generator for, and method of, converting mechanical vibrational energy into electrical energy
CN109212413B (en) Linear motor bandwidth measuring method
CN113938082B (en) Control method, control device, equipment and medium for linear motor
CN105739685B (en) The method and device of controlling electronic devices vibration, electronic equipment
CN201869266U (en) Mobile phone capable of regulating vibration according to gravity sensation
CN109835160A (en) A kind of vibration insulating system, vehicle, oscillation damping method
JP2004530121A (en) Device for determining and / or monitoring a predetermined filling level in a container
Larkin et al. HM-EH-RT: hybrid multimodal energy harvesting from rotational and translational motions
JP4423478B2 (en) Vibration presentation device
CN105101021B (en) vibrator
CN209345208U (en) Vibration device and vibration device
Li et al. Design, fabrication and performances of MEMS piezoelectric energy harvester

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180501