1. Field of the Invention
The present invention relates in general to a system and method for the detection of freefall with spin in portable electronic devices, in order to protect the hard disk drive or other sensitive components of such devices from damage due to impact.
2. Description of the Background Art
In recent years, the demand for portable electronic devices such as the notebook computer, PDA, MP3 player, digital camera, and mobile phone has increased significantly. As the use of portable electronic devices with always-on onboard memory or hard disk drives (HDD) increases, so does the risk of lost data due to physical impact of the devices when they are accidentally dropped. Data loss and its resulting loss in productivity have the potential to cause personal inconvenience, lost communications, reduced productivity and in more catastrophic cases, irretrievably lost data that could result in serious personal, family or business organization consequences.
To address the foregoing problem, freefall protection systems have been devised that can detect simple freefall of these portable devices and act to park the read/write head of the onboard memory or HDD prior to impact. However, while this current technology is able to detect acceleration changes in one-dimension, this same technology is not capable of accurately detecting the very common scenario associated with a dropped object that is experiencing “spin” (the revolution or tumbling of the object, as it falls).
An accelerometer at rest measures 1 G (gravity) of acceleration. An accelerometer will measure 0 G of acceleration in simple free fall, no matter the fall direction. However, there are problems associated with detecting the acceleration of an object with spin, which include the following. If an object is dropped with a spin of approximately 4 revolutions per second, an accurate and more likely real-life scenario, the accelerometer never approaches 0 G throughout the entire fall. Rather, the accelerometer will measure over 3.0 G during much of the fall as the spin causes centrifugal and centripetal acceleration to be placed on the object. In such a scenario, a conventional freefall system arrangement using a single tri-axis accelerometer with a high-G threshold will be useless in detecting the fall.
A further issue arises when portable electronics are being used in everyday activity, such as jogging or dancing, which may cause false detection of a falling event. The mobile device market is therefore in need, more then ever, for more reliable and accurate detection technology, for high-end protects in particular, that can distinguish between normal every day events and a fall prior to a potentially catastrophic impact.
The present invention solves the problems associated with previous fall detection devices that can only respond to the absence of gravity by providing a system and method that can detect freefall of a spinning object and distinguish this motion from other types of everyday activity that might inadvertently simulate freefall of the object. To accomplish this, the detection system and method employ an improved algorithm combined with first and second tri-axis accelerometers that provide inputs to the algorithm. The algorithm analyzes the inputs to determine when centrifugal or centripetal acceleration is occurring which indicates that the object is spinning and in freefall. In particular, the acceleration vectors from each of the tri-axis accelerometers are compared to determine whether they are both in the same plane. This can only occur if the force of gravity on the spinning object is zero, as it is during free fall. The algorithm uses the vector information to determine whether the vectors are either parallel to each other or intersect each other. These are both conditions that indicate that the vectors are in the same plane. If so, the algorithm determines that the object is in free fall and generates a control signal that is employed to operate a device which secures the device's hard drive or other component to be protected from impact.
Using the subject invention's algorithm with two tri-axis accelerometers not only facilitates detection of freefall with spin, but also requires a less expensive microprocessor with lower power consumption as compared to previous freefall detection devices. More particularly, the algorithm of the present invention can detect a freefall with spin condition from the vector outputs of the tri-axis accelerometers in as little as 3 sampling periods, which translates to a detection time of about 60 milliseconds when the sampling rate is 50 Hz. This allows more time for the protected mechanism, e.g. HDD, to react to the freefall indication, since a freefall of one meter generally takes 0.45 seconds (450 milliseconds). The accuracy and improvements associated with the present invention may allow for applicability beyond portable devices as it may also be applied to other objects that would benefit from freefall protection, such as automobiles, for example.
The features and advantages of the present invention will become apparent from the following detailed description of a preferred embodiment thereof, taken in conjunction with the accompanying drawings, which are briefly described as follows.
As already noted, an accelerometer at rest measures 1 G (force of gravity) of acceleration. An accelerometer will measure 0 G of acceleration in simple free fall, no matter the fall direction. The acceleration signal of a freefalling object without spin is shown in
To measure free fall with spin, the preferred embodiment of the present invention uses a pair of tri-axis accelerometers to measure the acceleration of an object containing components to be protected from impact damage. The accelerometers are affixed to the object at a fixed distance apart from each other. The diagram of
A mathematical assumption to enable the 2 accelerometers to recognize freefall is required for the algorithm employed by the preferred embodiment. This assumption is, stated simply, that tangential acceleration due to air resistance or “drag” is negligible. Therefore, only centrifugal or centripetal acceleration is to be considered for this algorithm. This assumption is expressed in Equation 1, where AT is the tangential acceleration, ω is the angular velocity, and RR is the radius arm of the rotation.
A
T
=R
R·ω≅∴ω≅const Equation 1
If the object is falling, with spin, then it should rotate around a certain axis while falling. The 2 centrifugal accelerations will therefore lie on a certain plane, because the 2 accelerometers are attached physically to the rigid body of the falling object. As the object is falling and spinning, the vectors for A and B must therefore lie on a plane because the gravity does not exist any more and only the centrifugal force is exerted on the object. Due to the centrifugal acceleration, the two vectors are either parallel or they intersect at a certain point.
The basic premise of the algorithm is thus to check whether the 2 acceleration vectors lie on the same plane. If the measurements AA and AB lie on a single plane (plane AOB, in
In
In reviewing Equations 2 and 3, {right arrow over (A)}A={right arrow over (R)}Aω2+{right arrow over (G)} and {right arrow over (A)}B={right arrow over (R)}B·ω2+{right arrow over (G)}, when the object is falling with spin, the object is not subject to gravitational acceleration, such that G quickly approaches the value of 0 (zero). Therefore, only the acceleration components in Equations 2 and 3 ({right arrow over (R)}A,ω2, {right arrow over (R)}B,ω2) would remain. As long as the object is a rigid body, the 2 vectors will lie on one plane.
The following analysis provides the equations necessary to confirm whether either of the conditions which indicate that the measurement vectors lie in one single plane, parallelism and intersection, are present at any given instant. The cross product of the measurement vectors is used to check these conditions. If {right arrow over (A)}A×{right arrow over (A)}B equals zero, then the two vectors are parallel. The condition can be expressed like the following:
Ax, AY, AZ, BX, BY, BZ in Equation 7 are the components of acceleration in the X, Y, and Z axis of accelerometers A and B, respectively, while i, j, k are the unit vectors of coordinates X, Y, and Z.
In order to check whether the cross product is zero, Equation 6 should be satisfied.
Once {right arrow over (A)}A×{right arrow over (A)}B is zero, then the two vectors are parallel, but the magnitude is not known exactly. And if {right arrow over (A)}A={right arrow over (A)}B it is impossible to detect spin. Because gravity affects both accelerometers equally, they should be parallel even though the object is under gravity. In theory, this case can rarely happen. Otherwise (in case of {right arrow over (A)}A≠{right arrow over (A)}B), freefall with spin can be detected on the basis of parallelism. There is, however, one exceptional case. If at least one of the rotation of axes is perpendicular to the gravity, ({right arrow over (A)}A×{right arrow over (G)}=0 {right arrow over (A)}B×{right arrow over (G)}=0), then it cannot be detected for the same reason as the previous case.
If {right arrow over (A)}A×{right arrow over (A)}B≠0, then one has to check whether the 2 vectors lie on a plane through intersection. In order to know whether the 2 vectors meet at one arbitrary point, we use the condition {right arrow over (R)}·({right arrow over (A)}A×{right arrow over (A)}B)=0. The cross product can be zero even though one vector is off the other; that is they skew in the space. Only if the condition is met, then the 2 vectors intersect each other. The vector {right arrow over (A)}A×{right arrow over (A)}B is perpendicular to both vectors {right arrow over (A)}A,{right arrow over (A)}B and to the distance vector {right arrow over (R)}.
The distance vector {right arrow over (R)} links the 2 accelerometers physically. If the vector {right arrow over (A)}A×{right arrow over (A)}B made by the rotation one of the 2 vectors {right arrow over (A)}A,{right arrow over (A)}B is perpendicular to distance vector {right arrow over (R)}, then the distance vector {right arrow over (R)} should be on a plane made by two measurement vectors ({right arrow over (A)}A,{right arrow over (A)}B). This means that {right arrow over (A)}A×{right arrow over (A)}B meets at a certain point. Due to the geometric compatibility condition, these form a single plane in 3 D space.
There is an exceptional case when {right arrow over (G)}·({right arrow over (A)}A×{right arrow over (A)}B) is zero. Here, freefall with spin cannot be detected because the rotation axis is the same as the direction of gravity.
In summary, one can say the measurement vectors are intersecting and thus the object is falling with spin if {right arrow over (A)}A×{right arrow over (A)}B≠0 and {right arrow over (R)}·({right arrow over (A)}A×{right arrow over (A)}B)=0.
With reference now to the block diagram of
The accelerometers 14 and 16 are each fixed to a device 18 to be protected from fall induced impact damage. As noted with respect to
The CPU 12 includes an interface unit 20 for interfacing signals received from each of the accelerometers 14 and 16 to a signal processing unit 22. The signal processing unit 22 includes a normalization algorithm 24 for normalizing the signals received from the accelerometers 14 and 16 based on information received from a calibration circuit 26. The most significant part of the system 10 is a free fall with spin detection algorithm 28 to be discussed in greater detail, in conjunction with
With reference to the flow chart of
Next, the acceleration signals are fed to the heart of the system and method, the free fall with spin detection algorithm 106, which is indicated by the dashed box in
In view of the previous discussion, the purpose of the free fall detection algorithm 106 is to determine whether the acceleration vectors generated by each of the accelerometers 14 and 16 lie in the same plane. This condition only occurs if the device to which the accelerometers are attached is in free fall with spin. To determine if the acceleration vectors generated by each of the accelerometers lie in the same plane, the vectors are checked for parallelism and intersection as discussed previously. First, at step 108, the cross product of the two vectors is calculated. If this is zero, then the vectors cannot possibly intersect and will in fact be parallel assuming the vectors are not the same as one another. The latter condition is checked at step 110. If the vectors are the same, then it is concluded at step 112 that the detected movement of the device is from normal usage, not free fall with spin. On the other hand, if the two vectors are not the same, the algorithm determines at step 114 that the object is undergoing free fall with spin and activation of a protection control system is warranted.
To check for intersection of the two vectors which also indicates that they lie in the same plane as preciously discussed, after it is determined at step 108, that the cross product of the vectors is not zero, then at step 116, it is determined whether {right arrow over (R)}·({right arrow over (A)}A×{right arrow over (A)}B)=0. If so, free fall with spin is detected. If not, normal movement of the device is confirmed.
If normal movement of the device is determined at step 112, then the algorithm returns at step 118, to make additional accelerometer readings, thereby starting the process over again. Similarly, if free fall with spin is determined at step 114, a control signal generated command is issued at step 120 and then the algorithm returns to make more readings. When the control signal generation command is issued, this is fed to a circuit for control command 122 which generates the necessary signals to secure the HDD or other protected component of the protected device 18.
It should be understood that the freefall detection algorithm 108 can easily be modified to detect separately, and in addition to the freefall with spin condition, a freefall condition without spin as is done in previous freefall detection systems. As indicated by the dashed boxes in
Although the invention has been disclosed in terms of a preferred embodiment and variations thereon, it will be understood that numerous other variations and modifications could be made thereto without departing from the scope of the invention as defined by the following claims.