The present invention relates to fall detection apparatuses for detecting whether or not an apparatus is in a falling state on the basis of acceleration, and magnetic disk apparatuses and portable apparatuses including the fall detection apparatus.
To date, an apparatus that detects the falling state of an apparatus is disclosed in Patent Document 1.
In this manner, the determination circuit determines that the state in which all the outputs for the three axes are approximately zero for the reference continuation time corresponds to a “falling” state.
[Patent Document 1] Japanese Patent No. 3441668
However, in the method of fall detection described in Patent Document 1, the state of an acceleration sensor output being approximately zero for each of the three axes needs to correspond to a gravity-free state for each axis. Hence, this method requires an acceleration sensor whose output reliably shows zero in a gravity-free state during falling.
However, the characteristics of acceleration sensors vary due to, for example, manufacturing variations, changes with temperature, or changes with time. Hence, the determination method described above has the following problems.
(1) Fall determination becomes impossible when the characteristics variation of an acceleration sensor exceeds a certain threshold.
(2) Setting the threshold to be a larger value, taking into consideration the characteristics variation of the acceleration sensor, would result in an increase in the number of malfunctions that cause a non-falling case to be erroneously determined to be a “falling” case.
(3) Although the characteristics variation of the acceleration sensor can be corrected (compensated) for using one of a number of methods, this requires a separate compensation circuit, preventing a reduction in the size and cost of an apparatus.
Accordingly, the present invention provides a small-size low-cost fall detection apparatus, and a magnetic disk apparatus and portable apparatus including the fall detection apparatus, in which the problems of the characteristics variations of acceleration sensors are solved, thereby preventing fall detection from becoming impossible and preventing malfunctions.
To solve the above-described problems, the present invent is configured as follows.
(1) A fall detection apparatus that detects a fall on the basis of an output signal of an acceleration sensor, includes: acceleration detecting means configured to obtain detected values in accordance with acceleration in three axis directions orthogonal to one another; and fall determination output means configured to obtain a determination value which is, among the detected values in the three axis directions obtained by the acceleration detecting means, a difference between the detected value corresponding to a reference axis direction and the detected value not corresponding to the reference axis direction, and configured to generate a falling state signal when a preliminary determination state in which the determination value is within a predetermined range continues for a predetermined continuation time or longer.
The detected values obtained by the acceleration detecting means are values determined in accordance with steady state errors, such as offsets, and acceleration values. In a falling state, although the detected values obtained by the acceleration sensors may not be substantially zero, the acceleration sensors continue to output constant values corresponding to an acceleration of zero, and the determination value continues to be a value within a predetermined range. Hence, the falling state signal output by the fall determination output means indicates a falling state.
(2) The fall detection apparatus includes falling state cancelling means configured to cancel the falling state signal when the preliminary determination state continues for a time exceeding an upper limit time longer than the continuation time.
Even if the actual state is a 1 G state and is not a falling state, the detected value obtained by the acceleration sensor continues to be a constant value when the acceleration sensor is in a state of rest. Hence, also in this case, the determination value may happen to continuously be a value within the predetermined range. At this time, the falling state signal is generated and a magnetic disk apparatus or portable apparatus containing the fall detection apparatus performs shock preparation operation. This is a safe side malfunction rather than a fatal malfunction in which the falling state signal is not generated in spite of the apparatus being in a state of actually falling.
When the current state is a 1 G state rather than a falling state, the preliminary determination state continues for a longer time than the falling state. Hence, the falling state signal is cancelled by the falling state cancellation means. Accordingly, fall determination becomes possible again.
(3) The fall detection apparatus includes: steady state detected value storing means configured to store the detected values for the three axis directions at the time when the falling state cancelling means performs the cancellation; and prohibiting means configured to prohibit fall detection determination or prohibit outputting of a fall determination result when the detected values for the three axis directions are equal to or, within a predetermined value range, nearly equal to the values stored in the steady state detected value storing means.
When a 1 G state continues, the generation of the falling state signal performed by the fall determination output means and the cancellation of the falling state signal performed by the falling state cancelling means are repeated. However, when the steady state detected value storing means once stores the detected values obtained by the acceleration sensor in a 1 G state, the fall detection determination or the outputting of a fall determination result is prohibited by the prohibiting means. Hence, even when the 1 G state continues, after the falling state signal has been first generated by the fall determination output means and the falling state signal has been cancelled by the falling state cancelling means, the falling state signal is not generated again.
(4) A magnetic disk apparatus includes: the fall detection apparatus; a head configured to perform data recording or reading for a magnetic disk; and head retracting means configured to retract the head to a retraction area when the fall detection apparatus generates the falling state signal.
This configuration allows the magnetic disk apparatus to be protected against a fall.
(5) A portable electronic apparatus including the fall detection apparatus and a device configured to allow shock protection processing to be performed therefor, includes: shock protection processing means configured to perform shock protection processing for the device when the fall detection apparatus generates the falling state signal.
This configuration allows the safety of the portable electronic apparatus to be enhanced by effectively controlling the device which allows shock protection processing to be performed therefor.
According to the present invention, fall detection is possible even when the output signal of an acceleration sensor includes a steady state error, such as an offset. In addition, by providing the falling state cancelling means, even when a 1 G state is erroneously determined to be a “falling state”, fall detection becomes possible again since the falling state signal is cancelled afterward.
To detect a fall also in the case where falling directions are not fixed, acceleration components in three dimensional directions are detected and fall detection is performed on the basis of those results. The acceleration sensor 60 is formed of three acceleration sensors respectively detecting acceleration components in the X-axis, Y-axis, and Z-axis directions orthogonal to one another. The A/D converter 72 converts the output voltages of the respective acceleration sensors into digital data and outputs the data as detected acceleration values ax, ay, and az for respective axis directions. The controller 74 performs fall determination in accordance with the processing described below.
Examples of various acceleration sensors that can be used as the acceleration sensor 60 include a piezoelectric, piezo-resistance, and capacitive acceleration sensors.
In a 1 G state, that is, in a steady state where falling has not yet started, the detected values (voltages) for the respective axes of the acceleration sensor 60 continue to be predetermined values. When a falling state (0 G) is entered at a point in time, the detected values (voltages) for the respective axes of the acceleration sensor 60 continue to be values corresponding to 0 G. Then, the outputs of the acceleration sensor 60 for the respective axes vary widely due to collision with a floor or the ground.
In the figure, ax is a detected value (subsequent to A/D conversion of the acceleration sensor output voltage) obtained by the acceleration sensor for detecting the acceleration in the x-axis direction, ay is a detected value obtained by the acceleration sensor for detecting the acceleration in the y-axis direction, and az is a detected value obtained by the acceleration sensor for detecting the acceleration in the z-axis direction.
First, a timer is started (S11), and the detected values ax, ay, and az obtained by the acceleration sensor 60 are read (S12).
Then, the absolute value dxy of the difference between ax and ay, and the absolute value dzy of the difference between az and ay are obtained, with ay as a reference (S13). Then it is determined whether or not the absolute values dxy and dzy of the two difference values are respectively within δxy±α and δzy±α described later (S14, S15).
When dxy and dzy described above are stable as illustrated in
When the value of the timer reaches T described above, a falling state signal is output (S17).
Fall detection is performed in the above-described manner. According to the first embodiment, instead of observing a change in the detected value in accordance with an elapsed time, determination is performed every time on the basis of the absolute value of the difference between the detected values for two axes among the acceleration values for the three axes orthogonal to one another. Hence, high-response fall detection is realized without making the arithmetic operation cycle time short.
The detected values (ax, ay, az) obtained by the above-described acceleration sensor are represented by the relation (gx+δx, gy+δy, gz+δz) with respect to the actual acceleration (gx, gy, gz). Here, δ is an output variation in a gravity-free state specific to the sensor device. In other words,
(ax,ay,az)=(gx+δx,gy+δy,gz+δz).
The sensor output is (δx, δy, δz) even in the gravity-free state (gx=gy=gz=0). Hence, in the existing technique, when these values are larger than a threshold, the gravity-free state is not recognized as a falling state, or a compensation circuit is required to make these values zero.
In the first embodiment, with |ax−ay| and |az−ay| as determination values, it is determined that the current state is a falling state when the following state continues for the predetermined continuation time or more:
|δx−δy|−α<|ax−ay|<|δx−δy|+α (α>0)
and
|δz−δy|−α<|az−ay|<|δz−δy|+α
Hence, this determination utilizes the fact that the determination values described above logically become respectively |δx−δy| and |δz−δy| in a gravity-free state.
These |δx−δy| and |δz−δy| are respectively δxy and δzy illustrated in
The process of this determination is described with reference to
Assuming |δx−δy|=0.19 [V], |δz−δy|=0.35 [V], and α=0.04 [V], determination is performed using the following reference ranges:
0.15<|ax−ay|<0.23, and
0.31<|az−ay|<0.39.
In a 1 G state in which the acceleration sensor is held in the air by hand,
|ax−ay|≈0.30 [V]
|az−ay|≈0.08 [V].
Since these values are out of the reference ranges, this state is not considered to correspond to a falling state.
On the other hand, when the sensor is put in a falling (0 G) state out of hand,
|ax−ay|≈0.20 [V]
|az−ay|≈0.36 [V].
These values are within the reference ranges. In this case, when the reference time has been set to be 100 [ms], a falling state signal can be generated before the sensor collides with a floor.
The output values (δx, δy, δz) of the acceleration sensor for the respective axes in a 0 G state can be obtained in advance by making the sensor for each axis be held horizontally. Hence, on the basis of these values, |δx−δy| and |δz−δy| described above can be fixed in advance.
Note that although the relative voltages of the x-axis and z-axis with the y-axis as a reference axis are used for the determination in the first embodiment, the reference axis may be the x-axis or z-axis.
Although the above description is for the output variation in a gravity-free state, the present embodiment is effective also for variation due to a change in temperature and a change with time, since the outputs for the respective axes similarly vary due to these changes in general. In other words, by letting this variation be Δ, the following relation is satisfied.
|(ax+Δ)−(ay+Δ)|=|ax−ay|
Hence, the influence of this variation is cancelled out. In this manner, since the influence of a change in temperature or a change with time is prevented, malfunctions caused by such influence are prevented, or a compensation circuit need not be provided.
A fall detection apparatus according to a second embodiment will be described with reference to
The block diagram of the configuration of the fall detection apparatus according to the second embodiment is the same as that illustrated in
Then, the absolute value dxy of the difference between ax and ay, and the absolute value dzy of the difference between az and ay are obtained, with ay as a reference (S23). Then it is determined whether or not the absolute values dxy and dzy of the two difference values are respectively within δxy±α and δzy±α (S24, S25). These ranges, δxy±α and δzy±α, are the same as those described in the first embodiment.
When the timer value has reached T1, a falling state signal is output (S26→S27).
Then, it is determined whether or not the timer value has reached an upper limit time T2, which is longer than T1 (S28). The steps S22 to S28 are repeated until the timer value reaches this upper limit time T2 (S28→S22→ . . . ).
When the timer value has exceeded the upper limit time T2, the falling state signal is cancelled (S29). Then, the timer is started again, and the same processing is performed (S28→S29→S21→ . . . ).
In addition, when dxy or dzy, which is the absolute value of the difference between the detected values for two axes, varies in such a manner as to exceed the range δxy±a or δzy±α after the falling state signal has been once output in step S27, it is determined that the current state is not a falling state (normal moving state or collision state after falling), and the falling state signal is cancelled (S24, S25→S29).
In this manner, in the fall detection apparatus according to the second embodiment, even when a fall state signal is output although the current state is a 1 G state, that is, not a falling state, the falling state signal is cancelled if the current state is actually not a falling (0 G) state, thereby preventing the falling state signal from being wrongly output continuously.
Referring to
Then, the absolute value dxy of the difference between ax and ay, and the absolute value dzy of the difference between az and ay are obtained, with ay as a reference (S37). Then it is determined whether or not the absolute values dxy and dzy of the two difference values are respectively within δxy±α and δzy±α (S38, S39). These ranges, δxy±α and δzy±α, are the same as those described in the first and second embodiments.
When the timer value has reached T1 described above, a falling state signal is output (S40→S41).
Then, it is determined whether or not the timer value has reached an upper limit time T2, which is longer than T1 (S42). The steps S33 to S42 are repeated until the timer value reaches this upper limit time T2 (S42→S33→ . . . ).
When the timer value has exceeded the upper limit time T2, the values of ax, ay, and az at this time (at the time when it is determined that the current state is actually not a falling state) are stored as sx, sy, and sz (S43). Then the falling state signal described above is cancelled (S44), the timer is started again, and the same processing is performed (S43→S44→S31→ . . . ).
As described in steps S32 to S36, these values sx, sy, and sz are data on the basis of which fall detection determination based on ax, ay, and az is prohibited or the output of the fall detection determination result is prohibited next time.
In this manner, a stable state of rest in 1 G state is prevented from being erroneously determined as being a “falling state” after the first time.
Note that according to the first to third embodiments described above, since multiplication is not required, an operation load is low. As a result, hardware with a very simple architecture can be used to realize the embodiments.
Number | Date | Country | Kind |
---|---|---|---|
2008-189786 | Jul 2008 | JP | national |
The present application is a continuation of International Application No. PCT/JP2009/061559, filed Jun. 25, 2009, which claims priority to Japanese Patent Application No. JP2008-189786, filed Jul. 23, 2008, the entire contents of each of these applications being incorporated herein by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2009/061559 | Jun 2009 | US |
Child | 13011126 | US |