CN105979100B - A kind of method and mobile terminal for restoring inertial sensor working condition - Google Patents
A kind of method and mobile terminal for restoring inertial sensor working condition Download PDFInfo
- Publication number
- CN105979100B CN105979100B CN201610512785.XA CN201610512785A CN105979100B CN 105979100 B CN105979100 B CN 105979100B CN 201610512785 A CN201610512785 A CN 201610512785A CN 105979100 B CN105979100 B CN 105979100B
- Authority
- CN
- China
- Prior art keywords
- inertial sensor
- mobile terminal
- acceleration
- vibration
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Abstract
The present invention provides a kind of method and mobile terminal for restoring inertial sensor working condition, be related to the communications field, to solve the problems, such as due to the inertial sensor working condition based on MEMS can not solve extremely and bring user is poor to the usage experience of mobile terminal.The method of recovery inertial sensor working condition of the invention includes: to obtain the condition discrimination parameter of the inertial sensor in mobile terminal;Determine whether the working condition of the inertial sensor is normal according to the condition discrimination parameter;When determining the inertial sensor working condition exception according to the condition discrimination parameter, shake control parameter is obtained;According to the shock module vibration in mobile terminal described in the shake control state modulator, restore the working condition of the inertial sensor with the vibration by the shock module.Present invention is mainly used in mobile terminal.
Description
Technical field
The present embodiments relate to the communications field more particularly to a kind of methods and shifting for restoring inertial sensor working condition
Dynamic terminal.
Background technique
It with the universal of intelligent mobile terminal and is widely applied, people also get over the intelligentized experience requirements of mobile terminal
Come higher.Based on the inertial sensor of MEMS (Micro-Electro-Mechanical Systems, MEMS), such as add
Velocity sensor, gyroscope, acceleration and the two-in-one sensor of gyroscope etc. have become the basic configuration demand of mobile terminal.
Inertial sensor based on MEMS usually has two parts composition: a part is numerical portion, for receiving, handling,
Feed back the signal intensity of MEMS structure;Another part is mechanical silicon moiety, and the inertia for sensing mobile terminal is mobile.It should
Mechanical silica gel structure part generallys use dual surface lithography technology, deep layer and advanced wide burn into anisotropic etch, self-stopping technology skill
Art, Si-Si direct bonding etc. are made, mobile terminal manufacture and user's use in high mechanical stress, it is jump in temperature, tired
Labor uses all more sensitive.
It is possible that the operation irregularity due to caused by inertial sensor failure the mobile terminal use during
Phenomenon, but user itself can not solve this problem, to affect user to the usage experience of mobile terminal.For example, working as
When mobile terminal falls, inertial sensor is influenced by factors such as stress, electrostatic force, it will is caused between mass block, mass block
Stick between silicon substrate.When generating this failure, it will cause some applications based on inertial sensor can not be just
Normal work, if screen can not rotate, photo can not switch anyhow, game control failure etc., to affect user to mobile whole
The usage experience at end.
Summary of the invention
The embodiment of the present invention provide it is a kind of restore inertial sensor working condition method and mobile terminal, with solve due to
Inertial sensor working condition based on MEMS can not solve extremely and bring user is poor to the usage experience of mobile terminal
The problem of.
In a first aspect, providing a kind of method for restoring inertial sensor working condition, it is applied to mobile terminal, comprising:
Obtain the condition discrimination parameter of the inertial sensor in mobile terminal;
Determine whether the working condition of the inertial sensor is normal according to the condition discrimination parameter;
When determining the inertial sensor working condition exception according to the condition discrimination parameter, shake control ginseng is obtained
Number;
According to the shock module vibration in mobile terminal described in the shake control state modulator, to pass through the vibration mould
The vibration of block restores the working condition of the inertial sensor.
Second aspect provides a kind of mobile terminal, comprising:
First parameter acquisition module, for obtaining the condition discrimination parameter of the inertial sensor in mobile terminal;
Condition discrimination module, for determined according to the condition discrimination parameter inertial sensor working condition whether
Normally;
Second parameter acquisition module determines the inertial sensor working condition according to the condition discrimination parameter for working as
When abnormal, shake control parameter is obtained;
Shake control module, for the shock module shake in the mobile terminal according to the shake control state modulator
It is dynamic, restore the working condition of the inertial sensor with the vibration by the shock module.
In this way, in the embodiment of the present invention, when the condition discrimination parameter according to inertial sensor determines that inertial sensor works
When abnormal state, can shock module vibration in the mobile terminal according to the shake control state modulator of acquisition, to pass through
The vibration for stating shock module restores the working condition of the inertial sensor.To be solved using the embodiment of the present invention existing
The problem of inertial sensor working condition exception in technology, improves user to the usage experience of mobile terminal.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art
Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention
Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these
Figure obtains other attached drawings.
Fig. 1 is the flow chart of the recovery inertial sensor working condition of first embodiment of the invention;
Fig. 2 is the flow chart of the recovery inertial sensor working condition of second embodiment of the invention;
Fig. 3 is one of schematic diagram of mobile terminal of third embodiment of the invention;
Fig. 4 is the two of the schematic diagram of the mobile terminal of third embodiment of the invention;
Fig. 5 is the schematic diagram of the mobile terminal of fourth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
As shown in Figure 1, the method for the recovery inertial sensor working condition of first embodiment of the invention, is applied to mobile whole
End, comprising:
Step 101, obtain mobile terminal in inertial sensor condition discrimination parameter.
The inertial sensor that can be set in the terminal include but is not limited to be acceleration transducer, gyroscope,
Acceleration and the two-in-one sensor of gyroscope etc..Therefore, different types of inertial sensor, the condition discrimination parameter obtained herein
It is different.
When inertial sensor is acceleration transducer, condition discrimination parameter refers to acceleration transducer at any one
Or the acceleration value in multiple reference axis.At this point, this step specifically: obtain acceleration transducer in any one or more seats
Acceleration value on parameter.
When inertial sensor is acceleration transducer, condition discrimination parameter refers to the angle speed of angular movement detection sensor
Angle value.At this point, this step specifically: obtain the magnitude of angular velocity of angular movement detection sensor.
Step 102 determines whether the working condition of inertial sensor is normal according to condition discrimination parameter.
In embodiments of the present invention, the working condition for detecting inertial sensor mainly judges whether inertial sensor occurs
Due to mechanical silicon moiety mass block between, inertial sensor caused by sticking between mass block and silicon substrate loses
Effect.When failure occurs, inertial sensor working condition is abnormal.For whether failing, herein mainly by that will obtain
The condition discrimination parameter and preset reference value obtained is compared determining.
When inertial sensor is acceleration transducer, one can be preset herein for indicating that inertial sensor works
Acceleration range when state is normal.The acceleration range is expressed as [the second acceleration rate threshold, the first acceleration rate threshold].Its
In, the first acceleration rate threshold is greater than the second acceleration rate threshold.Since acceleration is divided into positive and negative, the first acceleration under normal conditions
Threshold value is the constant greater than 0, and the second acceleration rate threshold is the constant less than 0, and the absolute value of the two can be equal.
In order to improve the accuracy of judgement, when acceleration value is greater than the first acceleration rate threshold and acceleration value is greater than first and adds
When the time of threshold speed is more than first time threshold, inertial sensor operation irregularity is determined;And/or when acceleration value is less than
When second acceleration rate threshold and acceleration value are more than second time threshold less than the time of the second acceleration rate threshold, determine that inertia passes
Sense device working is abnormal.
Wherein, the first acceleration rate threshold and the second acceleration rate threshold can be arranged based on practical experience.The first time threshold
It can also arbitrarily be arranged with second time threshold, and may be the same or different.
When inertial sensor is angular-rate sensor, one can be preset herein for indicating that inertial sensor works
Angular velocity range when state is normal.The acceleration range is expressed as [the second angular speed threshold value, the first angular speed threshold value].Its
In, the first angular speed threshold value is greater than the second angular speed threshold value.Since angular speed is divided into positive and negative, the first angular speed under normal conditions
Threshold value is the constant greater than 0, and the second angular speed threshold value is the constant less than 0, and the absolute value of the two can be equal.
In order to improve the accuracy of judgement, when magnitude of angular velocity is greater than the first angular speed threshold value and magnitude of angular velocity is greater than first jiao
When the time of threshold speed is more than first time threshold, inertial sensor operation irregularity is determined;And/or when magnitude of angular velocity is less than
When second angular speed threshold value and magnitude of angular velocity are more than second time threshold less than the time of the second angular speed threshold value, determine that inertia passes
Sense device working is abnormal.
Wherein, the first acceleration rate threshold and the second acceleration rate threshold can be arranged based on practical experience.The third time threshold
It can also arbitrarily be arranged with the 4th time threshold, and may be the same or different.
Step 103, when determining inertial sensor working condition exception according to condition discrimination parameter, obtain shake control ginseng
Number.
Wherein, shake control parameter includes vibration frequency and vibration amplitude.The parameter is pre-set.For inhomogeneity
The inertial sensor of type, corresponding shake control parameter is different, can be obtained by way of experiment.
Step 104 shakes according to the shock module in shake control state modulator mobile terminal, to pass through shock module
Vibration restores the working condition of inertial sensor.
Here, shock module can be realized using motor.After starter motor vibration, the vibration stress of motor passes through mobile terminal
Mainboard or construction package be transmitted to 3-axis acceleration sensor, stick mistake by what this stress can release acceleration transducer
Effect.
From the above, it can be seen that in the embodiment of the present invention, when the condition discrimination parameter according to inertial sensor determines that inertia passes
It when sense device working abnormal state, can be shaken according to the shock module in the shake control state modulator mobile terminal of acquisition, with logical
The vibration for crossing shock module restores the working condition of inertial sensor.To solve the prior art using the embodiment of the present invention
In inertial sensor working condition exception problem, improve user to the usage experience of mobile terminal.
Second embodiment
In embodiments of the present invention, with using tool, there are three the 3-axis acceleration sensors of effect axis in mobile terminal design
For carry out for.Wherein in the falling process of such as mobile terminal, the acceleration of the X, Y, Z axis of the 3-axis acceleration sensor
Angle value is possible to as exception.
Step 201, predetermined acceleration threshold range.
Here, acceleration rate threshold range is to indicate the normal acceleration range of 3-axis acceleration sensor state.If certain
Acceleration value in one or more reference axis is not within the scope of this acceleration rate threshold and to maintain such case be more than certain
Time then illustrates 3-axis acceleration sensor operation irregularity.
It certainly, in a particular application can also be in the acceleration value in some or multiple reference axis not in this acceleration threshold
When being worth in range, it is believed that illustrate 3-axis acceleration sensor operation irregularity.
Here, since reference axis has a positive negative direction, acceleration be divided into it is positive and negative, so it is assumed herein that the acceleration rate threshold model
It encloses for [- 2g ,+2g].
Step 202, obtain 3-axis acceleration sensor preset coordinates axis on acceleration value.
In this, it is assumed that obtaining the acceleration value of the X, Y, Z axis of 3-axis acceleration sensor.
Step 203 determines whether the working condition of 3-axis acceleration sensor is normal according to the acceleration value of acquisition.If
Normally, then return step 202;It is no to then follow the steps 204.
Through comparing, if there is the acceleration value in 1 reference axis not within the scope of above-mentioned acceleration rate threshold and maintain it is this
Situation has been more than preset time (such as 2 minutes), then it represents that 3-axis acceleration sensor operation irregularity.With the acceleration value in X-axis
For, acceleration value is -2.2g and is maintained the time of -2.2g to be more than 2 minutes, then it represents that 3-axis acceleration sensor work
Make abnormal.If the acceleration value in 3 reference axis is all within the scope of above-mentioned acceleration rate threshold, then it represents that 3-axis acceleration sensing
Device is working properly.
Step 204 obtains shake control parameter.
Wherein, which includes vibration frequency and vibration amplitude, can be stored in advance in a storage module.Cause
This, obtains above-mentioned shake control parameter by reading memory module herein.
Step 205 shakes according to the shock module in shake control state modulator mobile terminal.
Here, shock module can be realized using motor.After starter motor vibration, the vibration stress of motor passes through mobile terminal
Mainboard or construction package be transmitted to 3-axis acceleration sensor, sticking for 3-axis acceleration sensor can be released by this stress
Failure.
Step 206, the vibration duration for obtaining shock module.
Step 207 judges to shake whether duration is more than vibration duration threshold value.If it does, then process terminates;If not yet
Have, then return step 202.
Wherein the vibration duration threshold value can be arbitrarily arranged.
From the above, it can be seen that in the embodiment of the present invention, when the condition discrimination parameter according to inertial sensor determines that inertia passes
It when sense device working abnormal state, can be shaken according to the shock module in the shake control state modulator mobile terminal of acquisition, with logical
The vibration for crossing shock module restores the working condition of inertial sensor.To solve the prior art using the embodiment of the present invention
In inertial sensor working condition exception problem, improve user to the usage experience of mobile terminal.
3rd embodiment
Fig. 3 is the block diagram of the mobile terminal of third embodiment of the invention.Mobile terminal 300 shown in Fig. 3 includes:
First parameter acquisition module 301, for obtaining the condition discrimination parameter of the inertial sensor in mobile terminal;State
Whether discrimination module 302, the working condition for determining inertial sensor according to condition discrimination parameter are normal;Second parameter obtains
Module 303, for obtaining shake control parameter when determining inertial sensor working condition exception according to condition discrimination parameter;
Shake control module 304, for being shaken according to the shock module in shake control state modulator mobile terminal, to pass through vibration mould
The vibration of block restores the working condition of inertial sensor.
Wherein, condition discrimination parameter is different according to the difference of inertial sensor.
Wherein, the first parameter acquisition module 301 is specifically used for: when inertial sensor is acceleration transducer, obtaining and adds
Acceleration value of the velocity sensor in any one or more reference axis.
At this point, condition discrimination module 302 includes:
First Comparative sub-module, for by acceleration value respectively with preset first acceleration rate threshold and the second acceleration threshold
Value is compared;Wherein, the first acceleration rate threshold is greater than the second acceleration rate threshold;
First state differentiates submodule, for being greater than first acceleration rate threshold and the acceleration when the acceleration value
When the time that angle value is greater than first acceleration rate threshold is more than first time threshold, determine that the inertial sensor work is different
Often;And/or when the acceleration value is less than second acceleration rate threshold and the acceleration value is less than second acceleration
When the time of threshold value is more than second time threshold, the inertial sensor operation irregularity is determined.
Wherein, the first parameter acquisition module is specifically used for: when inertial sensor is angular movement detection sensor, obtaining angle
The magnitude of angular velocity of motion detection sensor.
At this point, condition discrimination module 302 includes:
Second Comparative sub-module, for by magnitude of angular velocity respectively with preset first angular speed threshold value and the second angular speed threshold
Value is compared;Wherein, the first angular speed threshold value is greater than the second angular speed threshold value;
Second condition discrimination submodule, for being greater than the first angular speed threshold value and angle speed when the magnitude of angular velocity
When the time that angle value is greater than the first angular speed threshold value is more than third time threshold, determine that the inertial sensor work is different
Often;And/or when the magnitude of angular velocity is less than the second angular speed threshold value and the magnitude of angular velocity is less than second angular speed
When the time of threshold value is more than four time thresholds, the inertial sensor operation irregularity is determined.
In a particular application, shake control parameter includes vibration frequency and vibration amplitude, and shake control module 304 is specifically used
In: the vibration of the shock module in the mobile terminal is controlled according to the vibration frequency and the vibration amplitude.
In embodiments of the present invention, shock module can be motor.
As shown in figure 4, the mobile terminal of the embodiment of the present invention may also include that
It shakes duration and obtains module 305, for obtaining the vibration duration of the shock module;Third parameter acquisition module
306, it is used for when the vibration duration is less than vibration duration threshold value, to schedule the inertia in interval acquiring mobile terminal
The condition discrimination parameter of sensor.
At this point, the condition discrimination module 302 is also used to, according to the condition discrimination of the interval acquiring to schedule
Parameter determines whether the working condition of the inertial sensor is normal;The shake control module 304 is also used to, described when determination
When the inertial sensor working condition exception, controls the shock module and continue vibration until detecting the inertial sensor
The working properly or described vibration duration is more than the vibration duration threshold value.
Mobile terminal 300 can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away
Exempt to repeat, which is not described herein again.
From the above, it can be seen that in the embodiment of the present invention, when the condition discrimination parameter according to inertial sensor determines that inertia passes
It when sense device working abnormal state, can be shaken according to the shock module in the shake control state modulator mobile terminal of acquisition, with logical
The vibration for crossing shock module restores the working condition of inertial sensor.To solve the prior art using the embodiment of the present invention
In inertial sensor working condition exception problem, improve user to the usage experience of mobile terminal.
Fourth embodiment
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in fig. 5 includes: at least
One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500
Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components
Letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in Fig. 5 various buses are all designated as bus system 505.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackbal l), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrical ly EPROM, EEPROM)
Or flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as outside
Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Stat ic RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access storage
Device (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synch l ink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these
With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application
The program or instruction stored in program 5022, processor 501 are used for:
Obtain the condition discrimination parameter of the inertial sensor in mobile terminal;
Determine whether the working condition of inertial sensor is normal according to condition discrimination parameter;
When determining inertial sensor working condition exception according to condition discrimination parameter, shake control parameter is obtained;
According to the shock module vibration in shake control state modulator mobile terminal, to be restored by the vibration of shock module
The working condition of inertial sensor.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digi tal Signal Processor, DSP), dedicated integrated
Circuit (Appl ication Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (Appl ication
Specific Integrated Circui ts, ASIC), digital signal processor (Digi tal Signal Process
Ing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, the skill of this paper can be realized by executing the module (such as process, function etc.) of this paper function
Art.Software code is storable in memory and is executed by processor.Memory can in the processor or outside the processor
It realizes in portion.
Optionally, processor 501 is also used to: when inertial sensor is acceleration transducer, obtaining acceleration transducer
Acceleration value in any one or more reference axis.
Optionally, processor 501 is also used to:
Acceleration value is compared with preset first acceleration rate threshold and the second acceleration rate threshold respectively;Wherein,
One acceleration rate threshold is greater than the second acceleration rate threshold;
It is more than the when acceleration value is greater than the first acceleration rate threshold and acceleration value to be greater than the time of the first acceleration rate threshold
When one time threshold, inertial sensor operation irregularity is determined;And/or when acceleration value is less than the second acceleration rate threshold and acceleration
When value is more than second time threshold less than the time of the second acceleration rate threshold, inertial sensor operation irregularity is determined.
Optionally, processor 501 is also used to: when inertial sensor is angular movement detection sensor, obtaining angular movement inspection
Survey the magnitude of angular velocity of sensor.
Optionally, processor 501 is also used to:
Magnitude of angular velocity is compared with preset first angular speed threshold value and the second angular speed threshold value respectively;Wherein,
One angular speed threshold value is greater than the second angular speed threshold value;
It is more than the when magnitude of angular velocity is greater than the first angular speed threshold value and magnitude of angular velocity to be greater than the time of the first angular speed threshold value
When three time thresholds, inertial sensor operation irregularity is determined;And/or when magnitude of angular velocity is less than the second angular speed threshold value and angular speed
When value is more than four time thresholds less than the time of the second angular speed threshold value, inertial sensor operation irregularity is determined.
Optionally, processor 501 is also used to:
Obtain the vibration duration of the shock module;
When the vibration duration is less than vibration duration threshold value, the inertia in interval acquiring mobile terminal to schedule
The condition discrimination parameter of sensor;
The work shape of the inertial sensor is determined according to the condition discrimination parameter of the interval acquiring to schedule
Whether state is normal;
When determining the inertial sensor working condition exception, controls the shock module and continue vibration until detecting
The inertial sensor is working properly or the vibration duration is more than the vibration duration threshold value.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
From the above, it can be seen that in the embodiment of the present invention, when the condition discrimination parameter according to inertial sensor determines that inertia passes
It when sense device working abnormal state, can be shaken according to the shock module in the shake control state modulator mobile terminal of acquisition, with logical
The vibration for crossing shock module restores the working condition of inertial sensor.To solve the prior art using the embodiment of the present invention
In inertial sensor working condition exception problem, improve user to the usage experience of mobile terminal.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
If function is realized in the form of SFU software functional unit and when sold or used as an independent product, can store
In a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing
Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, the computer
Software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal meter
Calculation machine, server or network equipment etc.) execute all or part of the steps of each embodiment method of the present invention.And it is above-mentioned
Storage medium includes: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (12)
1. a kind of method for restoring inertial sensor working condition, is applied to mobile terminal characterized by comprising
Obtain the condition discrimination parameter of the inertial sensor in mobile terminal;
Determine whether the working condition of the inertial sensor is normal according to the condition discrimination parameter;
When determining the inertial sensor working condition exception according to the condition discrimination parameter, shake control parameter is obtained;
According to the shock module vibration in mobile terminal described in the shake control state modulator, to pass through the shock module
Vibration restores the working condition of the inertial sensor;
The shake control parameter includes vibration frequency and vibration amplitude;It is described to be moved according to the shake control state modulator
Shock module in dynamic terminal, which shakes, includes:
The vibration of the shock module in the mobile terminal is controlled according to the vibration frequency and the vibration amplitude.
2. the method according to claim 1, wherein when the inertial sensor be acceleration transducer when, institute
Stating the condition discrimination parameter of inertial sensor obtained in mobile terminal includes:
Obtain acceleration value of the acceleration transducer in any one or more reference axis.
3. according to the method described in claim 2, it is characterized in that, described determine the inertia according to the condition discrimination parameter
Whether sensor fails
The acceleration value is compared with preset first acceleration rate threshold and the second acceleration rate threshold respectively;Wherein, institute
The first acceleration rate threshold is stated greater than second acceleration rate threshold;
When the acceleration value is greater than first acceleration rate threshold and the acceleration value is greater than first acceleration rate threshold
Time be more than first time threshold when, determine the inertial sensor operation irregularity;And/or when the acceleration value is less than
The time that second acceleration rate threshold and the acceleration value are less than second acceleration rate threshold is more than second time threshold
When, determine the inertial sensor operation irregularity.
4. the method according to claim 1, wherein when the inertial sensor is angular movement detection sensor
When, the condition discrimination parameter for obtaining the inertial sensor in mobile terminal includes:
Obtain the magnitude of angular velocity of the angular movement detection sensor.
5. according to the method described in claim 4, it is characterized in that, described determine the inertia according to the condition discrimination parameter
Whether sensor fails
The magnitude of angular velocity is compared with preset first angular speed threshold value and the second angular speed threshold value respectively;Wherein, institute
The first angular speed threshold value is stated greater than the second angular speed threshold value;
When the magnitude of angular velocity is greater than the first angular speed threshold value and the magnitude of angular velocity is greater than the first angular speed threshold value
Time be more than third time threshold when, determine the inertial sensor operation irregularity;And/or when the magnitude of angular velocity is less than
The time that the second angular speed threshold value and the magnitude of angular velocity are less than the second angular speed threshold value is more than the 4th time threshold
When, determine the inertial sensor operation irregularity.
6. the method according to claim 1, wherein being moved according to the shake control state modulator described
After the step of shock module in dynamic terminal shakes, the method also includes:
Obtain the vibration duration of the shock module;
When the vibration duration is less than vibration duration threshold value, the inertia sensing in interval acquiring mobile terminal to schedule
The condition discrimination parameter of device;
The working condition for determining the inertial sensor according to the condition discrimination parameter of the interval acquiring to schedule is
It is no normal;
When determining the inertial sensor working condition exception, controlling the shock module, to continue vibration described until detecting
Inertial sensor is working properly or the vibration duration is more than the vibration duration threshold value.
7. a kind of mobile terminal characterized by comprising
First parameter acquisition module, for obtaining the condition discrimination parameter of the inertial sensor in mobile terminal;
Condition discrimination module, for whether just to determine the working condition of the inertial sensor according to the condition discrimination parameter
Often;
Second parameter acquisition module determines that the inertial sensor working condition is abnormal according to the condition discrimination parameter for working as
When, obtain shake control parameter;
Shake control module shakes for the shock module in the mobile terminal according to the shake control state modulator, with
Restore the working condition of the inertial sensor by the vibration of the shock module;
The shake control parameter includes vibration frequency and vibration amplitude;The shake control module is specifically used for: according to described
Vibration frequency and the vibration amplitude control the vibration of the shock module in the mobile terminal.
8. mobile terminal according to claim 7, which is characterized in that first parameter acquisition module is specifically used for: when
When the inertial sensor is acceleration transducer, the acceleration transducer is obtained in any one or more reference axis
Acceleration value.
9. mobile terminal according to claim 8, which is characterized in that the condition discrimination module includes:
First Comparative sub-module, for by the acceleration value respectively with preset first acceleration rate threshold and the second acceleration threshold
Value is compared;Wherein, first acceleration rate threshold is greater than second acceleration rate threshold;
First state differentiates submodule, for being greater than first acceleration rate threshold and the acceleration value when the acceleration value
When time greater than first acceleration rate threshold is more than first time threshold, the inertial sensor operation irregularity is determined;With/
Or, when the acceleration value is less than second acceleration rate threshold and the acceleration value is less than second acceleration rate threshold
When time is more than second time threshold, the inertial sensor operation irregularity is determined.
10. mobile terminal according to claim 7, which is characterized in that first parameter acquisition module is specifically used for: when
When the inertial sensor is angular movement detection sensor, the magnitude of angular velocity of the angular movement detection sensor is obtained.
11. mobile terminal according to claim 10, which is characterized in that the condition discrimination module includes:
Second Comparative sub-module, for by the magnitude of angular velocity respectively with preset first angular speed threshold value and the second angular speed threshold
Value is compared;Wherein, the first angular speed threshold value is greater than the second angular speed threshold value;
Second condition discrimination submodule, for being greater than the first angular speed threshold value and the magnitude of angular velocity when the magnitude of angular velocity
When time greater than the first angular speed threshold value is more than third time threshold, the inertial sensor operation irregularity is determined;With/
Or, when the magnitude of angular velocity is less than the second angular speed threshold value and the magnitude of angular velocity is less than the second angular speed threshold value
When time is more than four time thresholds, the inertial sensor operation irregularity is determined.
12. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
It shakes duration and obtains module, for obtaining the vibration duration of the shock module;
Third parameter acquisition module, for when the vibration duration is less than vibration duration threshold value, interval to be obtained to schedule
Take the condition discrimination parameter of the inertial sensor in mobile terminal;
The condition discrimination module is also used to, according to the determination of the condition discrimination parameter of the interval acquiring to schedule
Whether the working condition of inertial sensor is normal;
The shake control module is also used to, and when determining the inertial sensor working condition exception, controls the vibration mould
Block continues vibration until detecting that the inertial sensor is working properly or the vibration duration is more than the vibration duration threshold
Value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610512785.XA CN105979100B (en) | 2016-06-30 | 2016-06-30 | A kind of method and mobile terminal for restoring inertial sensor working condition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610512785.XA CN105979100B (en) | 2016-06-30 | 2016-06-30 | A kind of method and mobile terminal for restoring inertial sensor working condition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105979100A CN105979100A (en) | 2016-09-28 |
CN105979100B true CN105979100B (en) | 2019-02-15 |
Family
ID=56954364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610512785.XA Active CN105979100B (en) | 2016-06-30 | 2016-06-30 | A kind of method and mobile terminal for restoring inertial sensor working condition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105979100B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107831983B (en) * | 2017-10-31 | 2020-10-27 | 深圳市万普拉斯科技有限公司 | Overvoltage protection control method and device, mobile terminal and readable storage medium |
CN112771457A (en) * | 2020-04-03 | 2021-05-07 | 深圳市大疆创新科技有限公司 | Movable platform, control method thereof and inertial sensor circuit |
CN111654578B (en) * | 2020-06-02 | 2021-06-15 | Tcl通讯(宁波)有限公司 | Mobile terminal sensor restoration method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203414278U (en) * | 2013-08-23 | 2014-01-29 | 中国水利水电科学研究院 | System for detecting abnormal condition of vibration of hydroelectric generating set in real time |
CN105471914A (en) * | 2016-01-06 | 2016-04-06 | 北京京东尚科信息技术有限公司 | Information push method and device based on terminal abnormal states |
CN105480932A (en) * | 2016-01-04 | 2016-04-13 | 歌尔声学股份有限公司 | Adhesion eliminating structure of inertial sensor and method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639488B (en) * | 2009-08-22 | 2011-06-22 | 中北大学 | Test method of micro-accelerometer reliability intensifying test |
IT1398605B1 (en) * | 2010-02-25 | 2013-03-08 | Bombardini | DEVICE FOR QUANTIFICATION AND MONITORING OF THE CARDIOVASCULAR FUNCTION IN THE COURSE OF STRESS OR PHYSICAL ACTIVITY AND REST |
JP5971512B2 (en) * | 2011-12-02 | 2016-08-17 | 株式会社ジェイテクト | Vehicle steering system |
CN104869246B (en) * | 2015-05-14 | 2018-09-07 | 惠州Tcl移动通信有限公司 | A kind of detection mobile terminal falls processing method, system and mobile terminal |
-
2016
- 2016-06-30 CN CN201610512785.XA patent/CN105979100B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203414278U (en) * | 2013-08-23 | 2014-01-29 | 中国水利水电科学研究院 | System for detecting abnormal condition of vibration of hydroelectric generating set in real time |
CN105480932A (en) * | 2016-01-04 | 2016-04-13 | 歌尔声学股份有限公司 | Adhesion eliminating structure of inertial sensor and method thereof |
CN105471914A (en) * | 2016-01-06 | 2016-04-06 | 北京京东尚科信息技术有限公司 | Information push method and device based on terminal abnormal states |
Also Published As
Publication number | Publication date |
---|---|
CN105979100A (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979100B (en) | A kind of method and mobile terminal for restoring inertial sensor working condition | |
KR101148468B1 (en) | Free fall detection device | |
EP3582081A1 (en) | Systems and methods for multi-rate control of haptic effects with sensor fusion | |
JP5479414B2 (en) | Information processing apparatus and control method thereof | |
JP5743559B2 (en) | Information processing apparatus, control method and program thereof, and recording medium | |
TW201234266A (en) | Software framework and development platform for multi-sensor systems | |
CN105783900B (en) | A kind of calibration method and device of sensing data | |
CN108007475B (en) | MEMS device testing system and method | |
CN109144756A (en) | A kind of method and device of stack overflow processing | |
CN109813338B (en) | Method and device for calibrating flight control gyroscope, electronic equipment and storage medium | |
JP6155806B2 (en) | Electronic equipment and impact detection program | |
CN109154895B (en) | Contextual data control | |
US9588569B2 (en) | Power saving method of operating a portable computing device | |
US20140184495A1 (en) | Portable Device Input by Configurable Patterns of Motion | |
JP4362126B2 (en) | Fingerprint data generator, program | |
KR20140122682A (en) | Method for processing touch event where touch area rotates and device for the same | |
US20140333544A1 (en) | Methods and devices for touchscreen eavesdropping prevention | |
EP2649505A1 (en) | User interface | |
CN111833910B (en) | Mechanical hard disk protection method and electronic device | |
CN104516663A (en) | Method and device for turning pages for browsing | |
CN105786333A (en) | Method and device for operating mobile terminal | |
CN109408252B (en) | Data transmission method, device and medium | |
CN114489154A (en) | Control method, control device, handle and medium | |
CN108628252B (en) | Measurement system, computer-readable medium, and control method | |
JP2018525712A (en) | Method and apparatus for protecting the program counter structure of a processor system and method and apparatus for monitoring the processing of interrupt requests |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |