The invention relates to an accelerometer that measures acceleration in three dimensions, and in particular to methods for processing the measurements from the accelerometer.
Generally, an object in three dimensional space has six degrees of freedom, translation along three perpendicular axes and rotation about three perpendicular axes. As the movement of the object along each of the three translational axes is independent of the other two and independent of the rotation about any of the rotational axes, the motion indeed has six degrees of freedom.
This is well known in the field of inertial sensors that conventionally several sensors are needed in order to measure and compute all six degrees of freedom of the object that is being monitored. Typically, accelerometers that can measure accelerations along the three translational axes, gyroscopes that can measure the rotations around the three rotational axes and magnetometers that can measure the orientation of the object relative to an external magnetic field are used to monitor the six degrees of freedom of the object.
In these systems, the three dimensional accelerometer can only measure three possible degrees of freedom, and in order to measure six degrees of freedom, an electronic gyroscope is used. Algorithms are used to compensate for the rotation of the accelerometer relative to an external reference frame (such as a reference frame fixed relative to the Earth) which enables the measurement of the acceleration to be converted into the Earth reference system. However, using gyroscopes has several disadvantages; firstly, gyroscopes are expensive and consume a lot of energy in comparison to an accelerometer or magnetometer, and secondly, the algorithms used to rotate the accelerometer reference system into the Earth reference system are computationally intensive.
These types of systems are often used to monitor the movement of a person by attaching a sensor unit (or units) to the body. However, the need for three different types of sensors in order to measure the six degrees of freedom of the person's movement results in an apparatus that is quite large and bulky, in addition to the disadvantages associated with using gyroscopes described above.
It is an object of the invention to provide a method of estimating the orientation of an accelerometer in the absence of a gyroscope or other orientation sensor.
It is a further or alternative object of the invention to provide a method of estimating the acceleration in a vertical direction of an external reference frame (such as the Earth) from the measurements from the accelerometer According to a first aspect of the invention, there is provided a method for estimating the orientation of an accelerometer relative to a fixed reference frame, the method comprising obtaining signals from the accelerometer, the signals indicating the components of the acceleration acting on the accelerometer along three orthogonal axes; identifying the axis with the highest component of acceleration; and determining the orientation of the accelerometer by determining the angle between the acceleration acting on the accelerometer and the axis with the highest component of acceleration.
Preferably, the angle, θ, between the acceleration acting on the accelerometer and the axis with the highest component of acceleration is determined from
where Az is component of the acceleration along the axis with the highest component of acceleration, and Ax and Ay are the components of the acceleration along the other two axes.
Preferably, the method further comprises checking for local instability in an orientation determined in a particular sampling instant, i, by obtaining a set of signals from the accelerometer for a plurality of sampling instants around the particular sampling instant; and computing the variance of the norm of the components of the acceleration acting on the accelerometer along the three orthogonal axes for each of the set of signals.
Preferably, the step of computing the variance of the norm comprises calculating:
where a+b is the number of sets of signals, and a is a value that indicates a rapid change in acceleration.
Preferably, a is a value selected from the range 15 m/s2 to 20 m/s2.
Preferably, acceleration due to gravity is acting on the accelerometer.
In a preferred embodiment, gravity acts in a known direction in the fixed reference frame, and the angle between the acceleration acting on the accelerometer and the axis with the highest component of acceleration provides an estimate of the orientation of the accelerometer relative to the known direction.
In a second aspect of the invention, there is provided a method for estimating the acceleration in a particular direction relative to a fixed reference frame from measurements of acceleration acting on an accelerometer, the accelerometer having an arbitrary orientation relative to the fixed reference frame, the method comprising estimating the orientation of the accelerometer relative to the fixed reference frame as described above; and using the estimated orientation of the accelerometer to determine the acceleration in the particular direction from the measurements of acceleration.
In a third aspect of the invention, there is provided a method for estimating the acceleration in a vertical direction relative to a fixed reference frame from measurements of acceleration acting on an accelerometer, the accelerometer having an arbitrary orientation relative to the fixed reference frame, the method comprising estimating the orientation of the accelerometer relative to the fixed reference frame as described above; and using the estimated orientation of the accelerometer to determine the acceleration in the vertical direction from the measurements of acceleration.
Preferably, the step of using the estimated orientation comprises evaluating
acc
—
vert=(Az−g cos θ)cos θ+g, if θ>0 or there is local instability
acc
—
vert=(g cos θ−Az)cos θ+g, if θ<0 or there is no local instability
where g is the magnitude of the acceleration due to gravity in the vertical direction.
According to a fourth aspect of the invention, there is provided an apparatus for estimating the orientation of an accelerometer relative to a fixed reference frame, the apparatus comprising processing means adapted to perform the methods described above.
According to a fifth aspect of the invention, there is provided an apparatus for estimating the acceleration in a vertical direction relative to a fixed reference frame from measurements of acceleration acting on an accelerometer, the accelerometer having an arbitrary orientation relative to the fixed reference frame, the apparatus comprising processing means adapted to perform the methods described above.
According to a sixth embodiment of the invention, there is provided a computer program product comprising computer executable code that, when executed on a suitable computer or processor, is adapted to perform the methods as described above.
Thus, the invention provides a method for calculating the tilt angle of the accelerometer without the need for a gyroscope or any other sensor, and a method for calculating the vertical acceleration in a fixed reference frame from the tilt angle. Provided that the movements of the accelerometer are slow (for example movements which have a vertical acceleration of no more than ±20 m/s2) the vertical acceleration calculated in accordance with the invention will be of a similar accuracy to that calculated using a system that includes a gyroscope and other sensors.
Embodiments of the invention will now be described, by way of example only, with reference to the following drawings, in which:
When the accelerometer is attached to a person or other object that is capable of movement with respect to a fixed reference frame, it is possible for the orientation of the accelerometer to change with respect to the fixed reference frame.
In this Fig., the acceleration A has components Ax, Ay and Az measured along the three axes respectively.
For an accelerometer that is undergoing small or no accelerations (other than gravity), the acceleration A experienced by the accelerometer will correspond substantially to that of gravity. Thus, from this assumption, it is possible to link the acceleration A to gravity, whose direction is known in the fixed reference frame.
The orientation of the accelerometer can be estimated by calculating the angle between the acceleration A and the axis of the accelerometer that has the highest magnitude of acceleration.
A method of estimating the orientation of an accelerometer is illustrated in
Next, in step 103, the magnitudes of each component of the acceleration A are compared to identify the component with the highest magnitude.
In the following, the axis (xa, ya or za) with the component with the highest magnitude is denoted za′, and the other two axes are denoted xa′ and ya′. In this way, it is possible for the method to determine the orientation of the accelerometer regardless of the initial position of the accelerometer. For example, although it may be intended for the za axis to correspond to a vertically oriented axis in the fixed reference frame, the accelerometer may not be attached to the object or person in this way (it may be that the ya axis corresponds most closely to the vertically oriented axis in the fixed reference frame).
It will be noted that in
Next, in step 105, the angle between the acceleration A and the axis with the highest component of acceleration (za′) is determined. Thus, it can be seen from
If all components of the acceleration are zero (i.e. Ax=Ay=Az=0) then θ and thus the orientation cannot be estimated. In this situation, the accelerometer is in free fall.
Thus, as this angle θ is determined using gravity as a reference, the angle θ can be considered as indicating the orientation of the accelerometer.
As the accelerometer is free to move with respect to the fixed reference frame, it is desirable to check for local instability caused by rapid changes in the acceleration. In this way, it is possible to compensate for errors in the determined orientation caused by these rapid changes in acceleration. In particular, local instability is checked by computing the variance of the norm of the components of the acceleration A over a period of time.
A number of signals are obtained from the accelerometer representing the acceleration at a number of sampling instants. These sampling instants preferably occur both before and after the sampling instant, i, at which the orientation of the accelerometer is calculated.
The variance of the norm of the components of the acceleration A are calculated using:
where a is the number of sampling instants after the sampling instant at which the orientation of the accelerometer is calculated, b is the number of sampling instants before the sampling instant at which the orientation of the accelerometer is calculated and α is a value that indicates a rapid change in acceleration.
Preferably, α is a value selected from the range 15-20 m/s2. In an even more preferred embodiment, α is 17 m/s2
In a preferred embodiment of the invention, a and b are 10.
Once the angle θ has been calculated, it is possible to determine the acceleration in a vertical direction relative to the fixed reference frame. In particular, this vertical acceleration can be used to calculate the vertical acceleration occurring, for example, when a person moves from a sitting to a standing position.
The acceleration in the vertical direction is calculated from:
acc
—
vert=(Az−g cos θ)cos θ+g, if θ>0 or there is local instability (3)
acc
—
vert=(g cos θ−Az)cos θ+g, if θ<0 or there is no local instability (4)
where g is the magnitude of the acceleration due to gravity in the vertical direction. It will be appreciated that θ<0 in
There is therefore provided a method for calculating the tilt angle of the accelerometer without the need for a gyroscope or any other sensor, and a method for calculating the vertical acceleration in a fixed reference frame from the tilt angle. The methods for calculating the orientation and vertical acceleration can be used in any application where accelerometers and gyroscopes are normally used, and in particular can be used in devices that detect when a person has fallen, or is about to fall. As described above, the methods can also be used to determine the vertical acceleration involved in a person standing up from a sitting position.
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments.
Variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.
Number | Date | Country | Kind |
---|---|---|---|
08164911.3 | Sep 2008 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2009/054086 | 9/18/2009 | WO | 00 | 3/15/2011 |