This application claims priority from Korean Patent Application No. 10-2005-0067058, filed on Jul. 23, 2005 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
Apparatuses and methods consistent with the present invention relate to detecting a free fall of a mobile device, and more particularly, to detecting a free fall of a mobile device by referring an acceleration and an integration of the acceleration.
2. Description of the Related Art
Mobile devices, such as mobile phones, personal digital assistants (PDAs), and digital cameras, household electronic devices, office electronic devices, etc. have become essential in daily life. These devices or storage devices therein, for example, a hard disk drive (HDD), need to be protected from a free fall shock.
For HDDs integrated into mobile devices, shock resistance is an important property. One way to improve shock resistance is to make a head of the hard disk drive retracted to a safe region by detecting a free fall of the mobile device.
In a conventional method, a free fall alarm to initiate a retraction of the head of the HDD is generated when an acceleration of the mobile device remains less than a threshold value for a predetermined time. Techniques for detecting a free fall of a mobile device to protect an HDD thereof are disclosed in Japanese Patent Publication Nos. 2005-91219 and 2003-34644, Korean Patent Publication No. 2005-17248, United States Patent Application Publication No. 2005/0099719, etc.
The acceleration can be detected using a three-axis accelerometer 104 and an acceleration vector can be calculated as follows:
∥aμ=√{square root over (ax2+ay2+az2)}
where ax, ay and az are acceleration values along x, y and z axes, respectively.
In operation S204, an output of an acceleration sensor, for example an output of the accelerometer 104 shown in
In operation S206, an acceleration vector ∥a∥ is calculated.
In operation S208, it is checked whether the acceleration vector ∥a∥ is less than the acceleration threshold ath.
If the acceleration vector ∥a∥ is greater than the acceleration threshold ath, then the method returns to operation S204.
In operation S210, it is checked whether the acceleration vector ∥a∥ is constant, that is, whether the value of the acceleration vector ∥a∥ remains less than the acceleration threshold ath.
If it is determined that the acceleration vector ∥a∥ did not remain less than the acceleration threshold ath, then the method returns to operation S204.
If the acceleration vector ∥a∥ remains less than the acceleration threshold ath, then in operation S212 it is checked whether the time threshold tth has elapsed.
If the time threshold tth has not elapsed, then sampling of the acceleration sensor and calculation of the acceleration vector ∥a∥ are performed in sequence (S216 and S214) and then the method returns to operation S210.
If it is determined that the time threshold tth has elapsed, then a free fall alarm is generated. Accordingly, the head retraction unit (not shown) starts to retract a head to a safe region to protect data written on disks of an HDD.
As described above, whether the time threshold tth has elapsed is checked after the acceleration vector ∥a∥ becomes less than the acceleration threshold ath in the conventional method.
However, not all the motions of a mobile device that meets the conditions regarding the acceleration threshold ath and the time threshold tth are caused by a free fall of the mobile device. For example, instant falling accompanied to repetitive movements, such as working, running, dancing, pressing buttons, etc. and non-repetitive movements such as intentionally spinning or tossing the mobile device, pushing off a table whereon the mobile device is placed slowly, etc., should not be regarded as free falls.
The present invention provides a method of correctly detecting a free fall of a mobile device.
The present invention also provides an apparatus for correctly detecting a free fall of a mobile device. The present invention also provides a computer readable recording medium storing a program to execute the method.
According to an aspect of the present invention, there is provided a method of detecting a free fall of a mobile device, the method comprising: sensing an acceleration of the mobile device; integrating the sensed acceleration with respect to time; and determining the free fall by comparing the result of the integrating with a predetermined area threshold.
According to another aspect of the present invention, there is provided an apparatus for detecting a free fall of a mobile device according, the apparatus comprising: an acceleration sensor for sensing an acceleration of the mobile device; an integrating unit for integrating an output of the acceleration sensor; and an free fall determining unit for determining the free fall by comparing an output of the integrating unit with a predetermined area threshold.
According to another aspect of the present invention, there is provided a computer readable recording medium storing a program to execute a method of detecting a free fall of a mobile device, the method comprising: sensing an acceleration of the mobile device; integrating the sensed acceleration when the sensed acceleration is less than a predetermined acceleration threshold; comparing the result of integrating with a predetermined area threshold; and generating a free fall alarm when the result of the integrating is greater than a predetermined area threshold.
The above and/or other aspects of the invention will become more apparent and readily appreciated from the following description of the exemplary embodiments of the present invention, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to the exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The exemplary embodiments are described below to explain the present invention by referring to the figures.
Here the acceleration threshold ath, the area threshold vth and the time threshold tth are dependent on the characteristics of an acceleration sensor and a head retraction unit (not shown).
In operation S704, a temporary variable vk is initialized to 0. The temporary variable vk is for storing a integration results.
In operation S706, an acceleration of the mobile device is detected, and then an acceleration vector ∥a∥ is calculated. In the exemplary embodiment of the present invention, the acceleration vector ∥a∥ can be calculated by either a square root operation or a simple summation of an acceleration sensed by the acceleration sensor.
In operation S708, it is checked whether the acceleration vector ∥a∥ is less than the acceleration threshold ath. If it is determined that the acceleration vector ∥a∥ is not less than the acceleration threshold ath, then the method returns to operation S704.
If it is determined that the acceleration vector ∥a∥ is less than the acceleration threshold ath, then, in operation S710, the acceleration vector ∥a∥ is integrated to obtain a temporary variable of vk+1, here k notifies an sequence number of integration operation.
In operation S712, it is checked whether the time threshold tth has elapsed.
If it determined that the time threshold tth has not elapsed, then the method returns to operation S706.
If it determined that the time threshold tth has elapsed, then, in operation S714, it is checked whether the temporary variable vk+1 is greater than the area threshold vth.
If it is determined that the temporary variable vk+1 is not greater than the area threshold vth, the method returns to operation S704.
If it is determined that the temporary variable vk+1 is greater than the area threshold vth, then in operation S720 a free fall alarm is generated.
Although it is checked whether the acceleration vector ∥a∥ is less than the acceleration threshold ath according to the exemplary embodiment of the present invention shown in
Although it is checked whether the time threshold tth has elapsed according to the exemplary embodiment of the present invention shown in
According to the present invention, operation S708 and S712 can be omitted. In this case, in the operation S710, n samples are integrated, here n denotes sampling numbers corresponding to the predetermined time threshold tth. That is, the integration value integrated for the predetermined time threshold tth is compared with the predetermined area threshold each time the operation S714 is performed. In this case, the integration value also could be set to initiate when the acceleration is greater than the predetermined acceleration threshold ath.
In operation S804, a temporary variable vk is initialized to 0. The temporary variable vk is for storing a integration results.
In operation S806, an acceleration of the mobile device is detected, and then an acceleration vector ∥a∥ is calculated.
In operation S808, it is checked whether the acceleration vector ∥a∥ is less than the acceleration threshold ath. If it is determined that the acceleration vector ∥a∥ is not less than the acceleration threshold ath, then the method returns to operation S804.
If it is determined that the acceleration vector ∥a∥ is less than the acceleration threshold ath, then, in operation S810, the acceleration vector ∥a∥ is integrated to obtain a temporary variable of vk+1, here k notifies an sequence number of integration operation.
In operation S814, it is checked whether the temporary variable vk+1 is greater than the area threshold vth.
If it is determined that the temporary variable vk+1 is not greater than the area threshold vth, the method returns to operation S806.
If it is determined that the temporary variable vk+1 is greater than the area threshold vth, then in operation S816 the motion is classified as a free fall.
As shown by the circled numbers in FIG. [8]9, the results of integration for the free fall situation and the results for the non-free fall movement are quite different from each other.
As well as in
The use of the simple summation to obtain the acceleration vector is very helpful because a square root function is computationally expensive even though it can be implemented with a C program language.
An acceleration sensor 1002 senses an acceleration of a mobile device. The acceleration sensor 1002 is, for example, a three-axis acceleration sensor as shown
The integrating unit 1004 starts to integrate an acceleration detected by the acceleration sensor 1002 when the acceleration is less than a predetermined acceleration threshold ath.
The comparing unit 1006 compares an output of the integrating unit 1004 with a predetermined area threshold vth and generates a free fall alarm when the output of the integrating unit 1004 is greater than the predetermined area threshold vth.
A timer 1006 counts time elapsed after the integrating unit 1004 started an integration operation and compares the result of counting with the time threshold tth in order to make the comparing unit 1006 start operating.
Since the integrating unit 1004 starts an integrating operation when the acceleration is less than a predetermined acceleration threshold ath, for example, 0.5 g, and the comparing unit 1006 compares the result of integration with an area threshold vth after a predetermined time threshold tth has elapsed, the apparatus of
The apparatus shown in
According to the present invention, because a free fall detection is performed according to both the acceleration and the integration of the acceleration, it is possible to avoid generating false free fall alarms for a non-free fall movements of a mobile device.
Thus, it is possible to effectively protect data written on a disk of an HDD installed in a mobile device from a non-free fall movements of a mobile device.
Exemplary embodiments of the present invention can be embodied as a method, an apparatus, or a system. When embodied as computer readable code/instructions, e.g., software, the present invention may be implemented by code-segments, for example. Programs and/or the code segments may be stored in a medium, e.g., a computer-readable recording medium, and/or may be transmitted through a transmission medium and/or over a communications network as computer data signals associated with carrier waves. Examples of the medium may include nearly all kinds of media for storing and/or transmitting data. For example, examples of the medium can include at least an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an erasable ROM, a floppy disk, an optical disk, a hard disk, an optical fiber medium, and a radio frequency (RF) network, etc. Examples of computer data signals include nearly all types of signals that are storable and/or transmittable on such a storage/transmission medium as an electronic network channel, an optical fiber, air, an electromagnetic system, and an RF network, for example.
It should be appreciated that exemplary embodiments of the present invention can be applied not only to protect HDDs installed in a mobile device but also to protect other types of data storage devices and/or mobile device itself.
Even thought the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention, scopes of claims defined in the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2005-0067058 | Jul 2005 | KR | national |