Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed description will be omitted.
Although relative terms, such as "upper" and "lower," may be used in this specification to describe one element of an icon relative to another, these terms are used in this specification for convenience only, e.g., in accordance with the orientation of the examples described in the figures. It will be appreciated that if the device of the icon were turned upside down, the element described as "upper" would become the element "lower". When a structure is "on" another structure, it may mean that the structure is integrally formed with the other structure, or that the structure is "directly" disposed on the other structure, or that the structure is "indirectly" disposed on the other structure via another structure.
An exemplary embodiment of the present disclosure first provides an electronic device, as shown in fig. 1, including: the system comprises a sensor 110, a detection module 120, a power supply module 130 and a control module 140, wherein the sensor 110 is provided with a micro-electromechanical system; the detection module 120 is configured to determine whether the electronic device is in a falling state; the power supply module 130 is respectively connected with the sensor 110 and the detection module 120; the control module 140 is respectively connected to the power supply module 130 and the sensor 110, and the control module 140 controls the power supply module 130 to stop supplying power to the sensor 110 when the electronic device is in a falling state, so as to turn off the mems.
According to the electronic device provided by the embodiment of the disclosure, whether the electronic device is in a falling state is detected through the detection module 120, and when the electronic device is in the falling state, the control module 140 controls the power supply module 130 to stop supplying power to the sensor 110, so that the micro electro mechanical system is turned off, falling impact on the micro electro mechanical system during operation is avoided, the risk of damage to the sensor 110 due to falling is reduced, and the stability of the sensor 110 in the electronic device is improved.
The electronic device provided by the embodiment of the present disclosure may be an electronic device having a sensor 110, such as a mobile phone, a tablet computer, a notebook computer, an electronic reader, and a smart watch. Each part of the electronic device provided by the embodiment of the present disclosure is described in detail below by taking a mobile phone as an example:
in the embodiment of the present disclosure, the sensor 110, the detection module 120, the power supply module 130, and the control module 140 are disposed on the main body of the electronic device.
As shown in fig. 2, the device main body may include a display screen 10, a frame 20, a main board 30, a battery 40, and a rear cover 50, where the display screen 10 is disposed on the frame 20, and the display screen 10 is used to form a front shell of the terminal device. The rear cover 50 is disposed on one side of the frame 20 away from the display screen 10, the frame 20 and the rear cover 50 form an accommodating space, and the main board 30 and the battery 40 are disposed in the accommodating space.
The display screen 10 may be an OLED display screen 10 or an LCD display screen 10, and the display screen 10 is used for displaying information such as images or texts. The display screen 10 is connected to a display driving circuit, the display driving circuit is configured to output a display driving signal to the display screen 10, and the display screen 10 displays an image or text information under the driving of the display driving signal. In the embodiment of the present disclosure, the color of the target object acquired by the terminal device may be displayed in the form of text or image on the display screen 10.
The frame 20 may be a metal frame 20, a plastic frame 20, a glass frame 20, or the like, and the frame 20 may include a frame body for forming the outline of the frame 20 and a middle frame. The middle frame is connected with the frame body, the middle frame extends to the interior of the terminal equipment from the frame body, and the middle frame is used for fixing devices such as the display screen 10, the main board 30 and the battery 40. When the frame 20 is a metal frame 20, the antenna of the terminal device may be disposed on the frame 20. For example, the metal frame 20 is divided into a plurality of metal branches, and each metal branch is an antenna radiator.
The main board 30 can be mounted on the frame 20 and accommodated in the accommodating space together with the frame 20. The main board 30 is provided with a grounding point to realize grounding of the main board 30. One or more of a motor, a microphone, a speaker, a receiver, an earphone interface, a universal serial bus interface (USB interface), a camera, a proximity sensor 110, an ambient light sensor 110, a gyroscope, and a processor may be integrated on the main board 30.
The sensor 110, the detection module 120, the power supply module 130, and the control module 140 may be disposed on the motherboard 30. The sensor 110 has a mems, which is in working state after the electronic device is turned on. The power module 130 may be a power management circuit on the motherboard 30.
Of course, in practical applications, a small board may also be disposed in the electronic device, and one or more of the sensor 110, the detection module 120, the power supply module 130, and the control module 140 may also be disposed in the small board, which is not particularly limited in this disclosure.
The battery 40 is installed inside the accommodating space. For example, the battery 40 may be mounted on the frame 20 and accommodated in the accommodating space together with the frame 20. The battery 40 may be electrically connected to the motherboard 30 to enable the battery 40 to power the terminal device. The main board 30 may be provided with a power management circuit. The power management circuit is used to distribute the voltage supplied by the battery 40 to the various electronic components in the terminal equipment.
The rear cover 50 serves to form an outer contour of the terminal device. The rear cover 50 may be integrally formed. In the forming process of the rear cover 50, a rear camera hole, a fingerprint identification module mounting hole and the like can be formed in the rear cover 50. A lens area is provided on the rear cover 50, and a flash and a lens may be installed at the lens area of the rear cover 50.
The sensor 110 is a MEMS sensor, for example, the sensor 110 may be a barometer, an acceleration sensor, a gyroscope, or the like. The sensor 110 has a movable structure therein, and the movable structure is in a power-on state when the electronic device is in a power-on state. That is, the mems is powered on when the electronic device is in the on state.
In a possible embodiment of the present disclosure, as shown in fig. 3, the detecting module 120 may include an acceleration sensor 121, and the acceleration sensor 121 is configured to detect an acceleration of the electronic device. The acceleration sensor 121 is connected with the control module 140, and the acceleration sensor 121 transmits acceleration data of the electronic device to the control module 140.
The acceleration sensor 121 detects acceleration data of the electronic device, and when the acceleration of the electronic device is greater than a first acceleration threshold and the duration time is greater than a first time threshold, the control module 140 determines that the electronic device is in a falling state.
Among them, the acceleration sensor 121 can detect the acceleration of the electronic device in X, Y, Z three directions. When the electronic equipment is in a falling state, the acceleration of the electronic equipment in the vertical direction is greater than a first acceleration threshold value. The first acceleration threshold may be 7m/s2、8m/s2、9m/s2Or 9.2m/s2And the like. The first time threshold may be 0.5 seconds, 1 second, or two seconds, etc.
The electronic equipment is in a falling state, namely the electronic equipment freely falls in the vertical direction, and at the moment, the electronic equipment is subjected to gravity and air resistance in the vertical direction. Under the action of gravity and air resistance, the electronic equipment accelerates to fall, and a larger reverse acceleration is generated at the moment when the electronic equipment touches the ground.
In practical applications, since the electronic device is in an indefinite form when falling, when the acceleration sensor 121 detects that the acceleration of the electronic device in any direction X, Y, Z is greater than the first acceleration threshold, the electronic device is considered to be in a falling state.
When the electronic device is in a falling state, the acceleration sensor 121 in the detection module 120 may be kept powered on; or the acceleration sensor 121 may be powered off when the electronic device is in a dropped state.
The acceleration sensor 121 is powered on when the electronic device falls, and the acceleration sensor 121 detects the acceleration of the electronic device in real time during the falling process. When the acceleration of the electronic device is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device stops falling, and the control module 140 controls the power supply module 130 to supply power to the mems.
When the acceleration of the electronic device detected by the acceleration sensor 121 in the three directions X, Y, Z is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device is considered to stop falling. The second acceleration threshold may be 3m/s2、4m/s2、5m/s2Or 5.5m/s2And the like. The second time threshold may be 0.5 seconds, 1 second, two seconds, or the like.
The acceleration sensor 121 is powered off when the electronic device falls, at this time, power can be supplied to the acceleration sensor 121 when a third time threshold is delayed, and the acceleration sensor 121 detects the current acceleration of the electronic device after power is supplied. When the acceleration of the electronic device is greater than the first acceleration threshold and the duration time is greater than the first time threshold, the control module 140 determines that the electronic device is still in the falling state. The control module 140 controls the power supply module 130 to continuously not supply power to the sensor 110 (the acceleration sensor 121 is also powered off). When the acceleration of the electronic device is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device stops falling, and the control module 140 controls the power supply module 130 to supply power to the mems in the other sensors 110.
In another possible embodiment of the present disclosure, as shown in fig. 4, the detection module 120 may include an acceleration sensor 121 and a geomagnetic sensor 122, the acceleration sensor 121 and the geomagnetic sensor 122 are respectively connected to the control module 140, the geomagnetic sensor 122 is configured to detect geomagnetic field data, the control module 140 determines an acceleration of the electronic device in the vertical direction according to the acceleration data and the geomagnetic field data, and when the acceleration of the electronic device in the vertical direction is greater than a first acceleration threshold and the duration is greater than a first time threshold, the electronic device is in a falling state.
Through cooperation of geomagnetic sensor 122 and acceleration sensor 121, the acceleration of the electronic device in the vertical direction can be determined, so that the accuracy of determining the falling state of the electronic device can be improved, and the state of the electronic device is prevented from being misjudged.
The acceleration sensor 121 detects acceleration data of the electronic device, and the acceleration sensor 121 can detect the accelerations of the electronic device in X, Y, Z three directions. When the electronic equipment is in a falling state, the acceleration of the electronic equipment in the vertical direction is greater than a first acceleration threshold value. The acceleration of the electronic apparatus in the vertical direction can be determined by the acceleration sensor 121 and the geomagnetic sensor 122. The first acceleration threshold may be 7m/s2、8m/s2、9m/s2Or 9.2m/s2And the like. The first time threshold may be 0.5 seconds, 1 second, or two seconds, etc.
The electronic equipment is in a falling state, namely the electronic equipment freely falls in the vertical direction, and at the moment, the electronic equipment is subjected to gravity and air resistance in the vertical direction. Under the action of gravity and air resistance, the electronic equipment accelerates to fall, and a larger reverse acceleration is generated at the moment when the electronic equipment touches the ground.
When the electronic device is in a falling state, the acceleration sensor 121 in the detection module 120 may be kept powered on; or the acceleration sensor 121 may be powered off when the electronic device is in a dropped state.
The acceleration sensor 121 is powered on when the electronic device falls, and the acceleration sensor 121 detects the acceleration of the electronic device in the vertical direction in real time during the falling process. When the acceleration of the electronic device along the vertical direction is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device stops falling, and the control module 140 controls the power supply module 130 to supply power to the micro-electromechanical system.
When the acceleration of the electronic device in the vertical direction detected by the acceleration sensor 121 is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device is considered to stop falling. The second acceleration threshold may be 3m/s2、4m/s2、5m/s2Or 5.5m/s2And the like. The second time threshold may be 0.5 seconds, 1 second, two seconds, or the like.
The acceleration sensor 121 is powered off when the electronic device falls, at this time, the acceleration sensor 121 can be powered on when a third time threshold is delayed, and after power supply, the acceleration sensor 121 detects the current acceleration of the electronic device in the vertical direction. When the acceleration of the electronic device in the vertical direction is greater than the first acceleration threshold and the duration time is greater than the first time threshold, the control module 140 determines that the electronic device is still in the falling state. The control module 140 controls the power supply module 130 to continuously not supply power to the sensor 110 (the acceleration sensor 121 is also powered off). When the acceleration of the electronic device is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device stops falling, and the control module 140 controls the power supply module 130 to supply power to the mems in the other sensors 110.
Further, as shown in fig. 5, the detection module 120 may further include a touch detection module 123, the touch detection module 123 is connected to the control module 140, and the touch detection module 123 is configured to detect whether a user contacts with the electronic device, and when the user contacts with the electronic device, the electronic device is considered not to be in a falling state.
The touch detection module 123 detects that the user actually receives the contact with the electronic device, and when the user contacts with the electronic device, it is determined that the electronic device is not in a falling state. The electronic equipment can be prevented from being judged in a falling state by mistake in some specific application scenes (such as when a user takes an elevator or takes a vehicle), and the use of the electronic equipment is prevented from being influenced.
The touch detection module 123 may include a capacitive touch control element, and the capacitive touch control element may be disposed on the frame 20 and the rear cover 50 of the electronic device. The capacitor touch control part is connected with the control module 140, and the control module 140 can collect the capacitance value of the capacitor touch control part.
For example, capacitive touch control elements may be disposed on both sides of the bezel 20 of the electronic device. When the frame 20 of the electronic device is a metal frame 20, a metal segment may be disposed on the metal frame 20 as a capacitor plate of the capacitor touch control component. When a user touches the metal segment on the frame 20, the capacitance value of the capacitance touch control changes, and the control module 140 detects the change of the capacitance value, and then the user is considered to hold the electronic device.
Alternatively, the touch detection module 123 may also include a touch screen, that is, the touch screen may be a part of the detection module, and when the acceleration of the electronic device is greater than the first acceleration threshold and the touch screen senses a touch of the user, the control module 140 determines that the user holds the electronic device.
Or the touch detection module 123 may also include the pressure sensor 110, and the pressure sensor 110 may be disposed on the bezel 20 or the rear cover 50 of the electronic device. When the user presses the pressure sensor 110 on the frame 20, the pressure sensor 110 is triggered, and the control module 140 detects the change of the pressure sensor 110, the user is considered to hold the electronic device.
It should be noted that, in the embodiment of the present disclosure, the detection function of the touch detection module 123 may operate when the acceleration sensor 121 detects that the acceleration of the electronic device is greater than the first acceleration threshold, and when the detection module detects that the user holds the electronic device, the control module 140 considers that the electronic device is not in the falling state even if the acceleration is greater than the first acceleration threshold. In the embodiment of the present disclosure, when the detection module 120 includes an acceleration sensor, the acceleration sensor may serve as the detection module, and may also be a sensor to be controlled.
The power supply module 130 is respectively connected to the sensor 110 and the detection module 120, and the power supply module 130 is used for supplying power to the sensor 110 and the detection module 120. As shown in fig. 6, the power supply module 130 may include: the electronic equipment comprises a power supply 131 and a switch circuit 132, wherein the switch circuit 132 is respectively connected with the power supply 131, the sensor 110 and the control module 140, and the control module 140 controls the switch circuit 132 to be switched off when the electronic equipment is in a falling state.
The power source 131 may be a battery 40 of the electronic device or a power management circuit of the electronic device. The input end of the switch circuit 132 is connected to the power source 131, the output end of the switch circuit 132 is connected to the sensor 110 and the detection module 120, and the control end of the switch circuit 132 is connected to the control module 140. The switch circuit 132 is in a normally open state after the electronic device is powered on, and when the detection module 120 detects that the electronic device is in a falling state, the control module 140 controls the switch circuit 132 to be turned off. When the detecting module 120 detects that the electronic device ends falling, the control module 140 controls the switch circuit 132 to be turned on.
In one possible embodiment of the present disclosure, as shown in fig. 7, the switch circuit 132 may include the first switch 101, and the electronic device includes the N sensors 110. The first end of the first switch 101 is connected with the power source 131, the second end of the first switch 101 is connected with the N sensors 110, the control end of the first switch 101 is connected with the control module 140, when the electronic device is in a falling state, the control module 140 controls the first switch 101 to be turned off, and N is a positive integer greater than or equal to 2.
For example, the first switch 101 may be a first MOS transistor, a first end of the first MOS transistor is connected to the power source 131, a second end of the first MOS transistor is connected to the plurality of sensors 110, and a control end of the first MOS transistor is connected to the control module 140. The control module 140 controls the first MOS transistor to be normally open when the electronic device is powered on, and controls the first MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the first switch 101 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiment of the present disclosure is not limited thereto.
In another possible embodiment of the present disclosure, as shown in fig. 8, the switch circuit 132 may include N second switches 102, the electronic device includes N sensors 110, first ends of the N second switches 102 are connected to the power source 131, a second end of each second switch 102 is correspondingly connected to one sensor 110, control ends of the N second switches 102 are connected to the control module 140, when the electronic device is in a falling state, the control module 140 controls the N second switches 102 to turn off, where N is a positive integer greater than or equal to 2.
For example, the second switch 102 may be a second MOS transistor, a first end of the second MOS transistor is connected to the power source 131, a second end of the second MOS transistor is connected to the sensor 110, and a control end of the second MOS transistor is connected to the control module 140. The control module 140 controls the second MOS transistor to be normally open when the electronic device is powered on, and controls the second MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the second switch 102 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiments of the present disclosure are not limited thereto.
The control module 140 controls the power supply module 130 to stop supplying power to the acceleration sensor 121 when the electronic device is in a falling state, and the control module 140 supplies power to the acceleration sensor 121 when delaying a third time threshold. The acceleration sensor 121 supplies power again, and the acceleration sensor 121 detects whether the drop is finished, and if the drop is finished, the power supply module 130 supplies power again to each sensor 110.
Further, as shown in fig. 9, the switch circuit 132 may further include a third switch 103, a first end of the third switch 103 is connected to the power source 131, a second end of the third switch 103 is connected to the acceleration sensor 121, a control end of the third switch 103 is connected to the control module 140, and the control module 140 controls the third switch 103 to be normally open when the electronic device is powered on, and controls the third switch 103 to be turned off when the electronic device is in a falling state.
For example, the third switch 103 may be a third MOS transistor, a first end of the third MOS transistor is connected to the power supply 131, a second end of the third MOS transistor is connected to the acceleration sensor 121, and a control end of the third MOS transistor is connected to the control module 140. The control module 140 controls the third MOS transistor to be normally open when the electronic device is powered on, and controls the third MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the third switch 103 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiment of the disclosure is not limited thereto.
It should be noted that each MOS transistor in the embodiments of the present disclosure has a control terminal, a first terminal, and a second terminal. Specifically, the control end of each MOS transistor may be a gate, the first end may be a source, and the second end may be a drain; or, the control terminal of each MOS transistor may be a gate, the first terminal may be a drain, and the second terminal may be a source. In addition, each MOS transistor may also be an enhancement transistor or a depletion transistor, which is not specifically limited in this example embodiment.
According to the electronic device provided by the embodiment of the disclosure, whether the electronic device is in a falling state is detected through the detection module 120, and when the electronic device is in the falling state, the control module 140 controls the power supply module 130 to stop supplying power to the sensor 110, so that the micro electro mechanical system is turned off, falling impact on the micro electro mechanical system during operation is avoided, the risk of damage to the sensor 110 due to falling is reduced, and the stability of the sensor 110 in the electronic device is improved.
The exemplary embodiment of the present disclosure also provides a fall protection method for an electronic device, the electronic device including a sensor 110, the sensor 110 having a micro electro mechanical system, as shown in fig. 10, the fall protection method for an electronic device may include the steps of:
step S110, determining whether the electronic equipment is in a falling state by using a detection module, wherein the detection module is arranged on the electronic equipment;
and step S120, when the electronic equipment is in a falling state, controlling the power supply module to stop supplying power to the sensor, wherein the power supply module is arranged on the electronic equipment.
According to the fall protection method for the electronic equipment provided by the embodiment of the disclosure, whether the electronic equipment is in a fall state is detected through the detection module 120, and when the electronic equipment is in the fall state, the control module 140 controls the power supply module 130 to stop supplying power to the sensor 110, so that the micro electro mechanical system is turned off, the micro electro mechanical system is prevented from falling impact during working, the risk that the sensor 110 is damaged due to falling is reduced, and the stability of the sensor 110 in the electronic equipment is improved.
The detection module 120 includes an acceleration sensor 121, as shown in fig. 11, the method for protecting an electronic device from falling provided by the embodiment of the present disclosure further includes:
step S130, determining whether the acceleration sensor is powered off;
and step S140, when the acceleration sensor is powered off, controlling the power supply module to supply power to the acceleration sensor when a third time threshold is delayed.
The following describes in detail the steps of a fall protection method for an electronic device provided in an embodiment of the present disclosure:
in step S110, it may be determined whether the electronic device is in a falling state by using the detection module 120, and the detection module 120 is disposed on the electronic device.
The detection module 120 may include an acceleration sensor 121, and the acceleration sensor 121 is configured to detect an acceleration of the electronic device. On this basis, step S110 may be implemented as follows:
when the acceleration of the electronic equipment is larger than a first acceleration threshold value and the duration time is larger than a first time threshold value, the electronic equipment is determined to be in a falling state.
Among them, the acceleration sensor 121 can detect the acceleration of the electronic device in X, Y, Z three directions. When the electronic equipment is in a falling state, the acceleration of the electronic equipment in the vertical direction is greater than a first acceleration threshold value. The first acceleration threshold may be 7m/s2、8m/s2、9m/s2Or 9.2m/s2And the like. The first time threshold may be 0.5 seconds, 1 second, or two seconds, etc.
Or, the detection module 120 may include an acceleration sensor 121 and a geomagnetic sensor 122, the acceleration sensor 121 and the geomagnetic sensor 122 are respectively connected to the control module 140, the geomagnetic sensor 122 is used to detect geomagnetic field data, the control module 140 determines the acceleration of the electronic device in the vertical direction according to the acceleration data and the geomagnetic field data, and when the acceleration of the electronic device in the vertical direction is greater than a first acceleration threshold and the duration is greater than a first time threshold, it is determined that the electronic device is in the falling state.
The detection module 120 may further include a touch detection module 123, the detection module is connected to the control module 140, and the touch detection module 123 is configured to detect whether a user contacts with the electronic device. At this time, when the user makes contact with the electronic apparatus, it is determined that the electronic apparatus is not in a falling state.
The touch detection module 123 detects that the user actually receives the contact with the electronic device, and when the user contacts with the electronic device, it is determined that the electronic device is not in a falling state. The electronic equipment can be prevented from being judged in a falling state by mistake in some specific application scenes (such as when a user takes an elevator or takes a vehicle), and the use of the electronic equipment is prevented from being influenced.
The detection module may include a capacitance touch control component, and the capacitance touch control component may be disposed on the frame 20 and the rear cover 50 of the electronic device. The capacitor touch control part is connected with the control module 140, and the control module 140 can collect the capacitance value of the capacitor touch control part.
For example, capacitive touch control elements may be disposed on both sides of the bezel 20 of the electronic device. When the frame 20 of the electronic device is a metal frame 20, a metal segment may be disposed on the metal frame 20 as a capacitor plate of the capacitor touch control component. When a user touches the metal segment on the frame 20, the capacitance value of the capacitance touch control changes, and the control module 140 detects the change of the capacitance value, and then the user is considered to hold the electronic device.
Alternatively, the detection module may include a touch screen, that is, the touch screen may be a part of the detection module, and when the acceleration of the electronic device is greater than the first acceleration threshold and the touch screen senses a touch of the user, the control module 140 determines that the user holds the electronic device.
Alternatively, the detection module may also include the pressure sensor 110, and the pressure sensor 110 may be disposed on the frame 20 or the rear cover 50 of the electronic device. When the user presses the pressure sensor 110 on the frame 20, the pressure sensor 110 is triggered, and the control module 140 detects the change of the pressure sensor 110, the user is considered to hold the electronic device.
It should be noted that, in the embodiment of the present disclosure, the detecting function of the detecting module 120 may operate when the acceleration sensor 121 detects that the acceleration of the electronic device is greater than the first acceleration threshold, and when the detecting module detects that the user holds the electronic device, the control module 140 considers that the electronic device is not in the falling state even if the acceleration is greater than the first acceleration threshold.
In step S120, when the electronic device is in a falling state, the power supply module 130 is controlled to stop supplying power to the sensor 110, and the power supply module 130 is disposed on the electronic device.
Wherein, the power supply module 130 may include: the electronic equipment comprises a power supply 131 and a switch circuit 132, wherein the switch circuit 132 is respectively connected with the power supply 131, the sensor 110 and the control module 140, and the control module 140 controls the switch circuit 132 to be switched off when the electronic equipment is in a falling state.
The power source 131 may be a battery 40 of the electronic device or a power management circuit of the electronic device. The input end of the switch circuit 132 is connected to the power source 131, the output end of the switch circuit 132 is connected to the sensor 110 and the detection module 120, and the control end of the switch circuit 132 is connected to the control module 140. The switch circuit 132 is in a normally open state after the electronic device is powered on, and when the detection module 120 detects that the electronic device is in a falling state, the control module 140 controls the switch circuit 132 to be turned off. When the detecting module 120 detects that the electronic device ends falling, the control module 140 controls the switch circuit 132 to be turned on.
In a possible embodiment of the present disclosure, the switch circuit 132 may include the first switch 101, and the electronic device includes the N sensors 110. The first end of the first switch 101 is connected with the power source 131, the second end of the first switch 101 is connected with the N sensors 110, the control end of the first switch 101 is connected with the control module 140, when the electronic device is in a falling state, the control module 140 controls the first switch 101 to be turned off, and N is a positive integer greater than or equal to 2.
For example, the first switch 101 may be a first MOS transistor, a first end of the first MOS transistor is connected to the power source 131, a second end of the first MOS transistor is connected to the plurality of sensors 110, and a control end of the first MOS transistor is connected to the control module 140. The control module 140 controls the first MOS transistor to be normally open when the electronic device is powered on, and controls the first MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the first switch 101 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiment of the present disclosure is not limited thereto.
In another possible embodiment of the present disclosure, the switch circuit 132 may include N second switches 102, the electronic device includes N sensors 110, first ends of the N second switches 102 are connected to the power source 131, a second end of each second switch 102 is correspondingly connected to one sensor 110, control ends of the N second switches 102 are connected to the control module 140, when the electronic device is in a falling state, the control module 140 controls the N second switches 102 to turn off, where N is a positive integer greater than or equal to 2.
For example, the second switch 102 may be a second MOS transistor, a first end of the second MOS transistor is connected to the power source 131, a second end of the second MOS transistor is connected to the sensor 110, and a control end of the second MOS transistor is connected to the control module 140. The control module 140 controls the second MOS transistor to be normally open when the electronic device is powered on, and controls the second MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the second switch 102 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiments of the present disclosure are not limited thereto.
Further, the switch circuit 132 may further include a third switch 103, a first end of the third switch 103 is connected to the power source 131, a second end of the third switch 103 is connected to the acceleration sensor 121, a control end of the third switch 103 is connected to the control module 140, and the control module 140 controls the third switch 103 to be normally open when the electronic device is powered on, and controls the third switch 103 to be turned off when the electronic device is in a falling state.
For example, the third switch 103 may be a third MOS transistor, a first end of the third MOS transistor is connected to the power supply 131, a second end of the third MOS transistor is connected to the acceleration sensor 121, and a control end of the third MOS transistor is connected to the control module 140. The control module 140 controls the third MOS transistor to be normally open when the electronic device is powered on, and controls the third MOS transistor to be turned off when the electronic device is in a falling state. Of course, in practical applications, the third switch 103 may also be a switch such as an electromagnetic relay or an electromagnetic switch, and the embodiment of the disclosure is not limited thereto.
When the acceleration of the electronic device is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, it is determined that the electronic device stops falling, and the power supply module 130 is controlled to supply power to the micro-electromechanical system.
When the acceleration of the electronic device detected by the acceleration sensor 121 in the three directions X, Y, Z is smaller than the second acceleration threshold and the duration time is greater than the second time threshold, the electronic device is considered to stop falling. The second acceleration threshold may be 3m/s2、4m/s2、5m/s2Or 5.5m/s2And the like. The second time threshold may be 0.5 seconds, 1 second, two seconds, or the like.
In step S130, it may be determined whether the acceleration sensor 121 is powered off.
The acceleration sensor 121 is one of the sensors 110, and the acceleration sensor 121 may also be turned off when the electronic device is in a falling state. When the power supply module 130 is turned off when the electronic device is in a falling state, it is determined that the acceleration sensor 121 is powered off. Whether the acceleration sensor 121 is powered off may be detected by the current sensor 110 or the voltage sensor 110. Or whether the acceleration sensor 121 is powered off may be determined by detecting a control signal output by the control module 140.
In step S140, when the acceleration sensor 121 is powered off, the power supply module 130 is controlled to supply power to the acceleration sensor 121 when the third time threshold is delayed.
The control module 140 controls the power supply module 130 to stop supplying power to the acceleration sensor 121 when the electronic device is in a falling state, and the control module 140 supplies power to the acceleration sensor 121 when delaying a third time threshold. The acceleration sensor 121 supplies power again, and the acceleration sensor 121 detects whether the drop is finished, and if the drop is finished, the power supply module 130 supplies power again to each sensor 110.
According to the fall protection method for the electronic equipment provided by the embodiment of the disclosure, whether the electronic equipment is in a fall state is detected through the detection module 120, and when the electronic equipment is in the fall state, the control module 140 controls the power supply module 130 to stop supplying power to the sensor 110, so that the micro electro mechanical system is turned off, the micro electro mechanical system is prevented from falling impact during working, the risk that the sensor 110 is damaged due to falling is reduced, and the stability of the sensor 110 in the electronic equipment is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.