The present invention is related to calibration of accelerometers, and more particularly to an efficient calibration method without external aiding.
Global Navigation Satellite Systems (GNSS), such as the Global Positioning System (GPS), have some limitations such as the availability of a sufficient number of satellite signals. Satellite signals are sometimes not available in deep canyons, in areas with large numbers of buildings blocking the direct satellite signals, and in dense forest areas. In addition to this, the satellite signals can be completely blocked or greatly attenuated inside buildings. Furthermore, tunnels and bridges can block satellite signals resulting in large jumps in the indicated position at the exit of the tunnel after new satellite signals are received. To reduce these errors, other complementary methods are often used with satellite navigational systems to prevent interruptions in the position information. For example, inertial measurement units (IMUs) such as gyroscopes and accelerometers may be used to measure changes in direction and acceleration. IMUs may be incorporated in a very wide range of satellite based navigation systems—e.g. personal navigation devices (PNDs), other hand held devices such as cell phones, and vehicle-based navigation devices.
More particularly, after the position of a GPS receiver is initially determined, the IMUs allow the position of the receiver to be determined as the receiver moves, even if the satellite signals are blocked. The determination of the position based on measuring the receiver movement is known as dead reckoning (i.e. inertial navigation). The accuracy of a dead reckoning position, and how long it remains accurate, depends on the quality of the sensors and how well they are calibrated.
Calibration of the IMUs is required each time before starting the process of inertial navigation. Note that the prior calibration may in fact still be accurate, but that would not be known without essentially calibrating. Therefore, a calibration routine is run each time before navigation. The calibration of an accelerometer triad, for example, might include determining: the orientation of the triad relative to the gravity vector; the biases of the individual accelerometers; and scaling factors for the individual accelerometers. The calibration process needs to be efficient, since inertial navigation needs to start as soon as possible after satellite signals are lost. Furthermore, a self-calibration process—a process that does not engage the user's attention—will be preferred as a matter of user convenience and also efficiency. This means that the user is not obligated to perform a specific set of maneuvers to facilitate the calibration process.
Clearly, there is a need for an efficient method of calibrating accelerometers without needing to acquire GPS signals. Furthermore, there is a general need for an efficient method of calibrating accelerometers without needing to use any external assistance signals, where external assistance signals may be GNSS signals, WiFi signals, TV signals, signals from cell towers, LORAN (Long Range Navigation) signals and sensor signals (sensor signals including altimeter signals, compass signals, etc.). Note that here use of a signal may or may not require utilizing all or any data encoded in the signal—the signal may be used just as a ranging signal. Furthermore, there is a need for a self-calibration process for accelerometers.
Accelerometers are used in a wide variety of applications outside of GPS-based navigation—for example, accelerometers are widely used in the fields of vibration/seismic sensing, monitoring of machinery, pedestrian motion, etc. These accelerometers may also benefit from efficient methods of calibration.
The present invention provides methods for calibrating an accelerometer—enabling the provision of unbiased measurements—without needing to use external assistance signals. External assistance signals include signals such as GNSS signals, WiFi signals, TV signals, signals from cell towers, LORAN (Long Range Navigation) signals and sensor signals (sensor signals including altimeter signals, compass signals, etc.). Furthermore, the methods do not require high data sampling rates, and do not result in large computational loads. The invention is applicable to accelerometers generally—in both GNSS navigation devices and other devices. The calibration includes determining accelerometer bias and or scale factor, where the accelerometer bias is the zero offset for accelerometer measurements and the accelerometer scale factor is the ratio of the change in output (in volts or amperes) to a unit change of the input (in units of g).
Accelerometers are commonly utilized in triads, allowing measurement of acceleration along three roughly orthogonal axes. Note that due to manufacturing limitations, the axes of a triad are ordinarily not truly orthogonal; however, this does not limit the effectiveness of the methods presented herein. The methods of the present invention can be used for calibration of accelerometer triads.
Accelerometers embedded in a device and calibrated using some embodiments of the present invention may be used to estimate: the pitch and/or roll of the device with respect to the earth; horizontal acceleration of the device—useful for navigation applications; and vertical acceleration of the device—useful for pedestrian navigation up and down stairs and elevators, for example. Note that accelerations are measured in units of g—a standard value of gravity, which on the Earth's surface is approximately 9.8 m/s2. However, using a gravity table, more accurate estimates of the magnitude of the acceleration may be calculated.
According to aspects of the invention a method of calibrating an accelerometer, the accelerometer having a bias, comprises: moving the accelerometer, wherein the orientation of the axis of the accelerometer changes with respect to the local gravity vector; collecting accelerometer measurements as the accelerometer is moving; and calculating the bias; wherein the accelerometer measurements are primarily due to local gravity. Furthermore, the calculating step may further include calculating a scale factor. Furthermore, some embodiments of the present invention include a self-calibration process—a process that does not engage the user's attention. For example, in a self-calibration process for an accelerometer in a cell phone the moving step may be the movement of the phone out of a user's pocket to hold it up to view the screen.
According to further aspects of the invention a circuit for calibrating an accelerometer triad, each component accelerometer of the accelerometer triad having a bias, comprises: an analog to digital converter for converting analog accelerometer measurements from the accelerometer triad to digital accelerometer measurements; a power routine processor block for weighting each of the digital accelerometer measurements by an estimated noise power; and a bias estimate processor block for calculating the biases from weighted digital accelerometer measurements.
These and other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures, wherein:
The present invention will now be described in detail with reference to the drawings, which are provided as illustrative examples of the invention so as to enable those skilled in the art to practice the invention. Notably, the figures and examples below are not meant to limit the scope of the present invention to a single embodiment, but other embodiments are possible by way of interchange of some or all of the described or illustrated elements. Moreover, where certain elements of the present invention can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present invention will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the invention. Embodiments described as being implemented in software should not be limited thereto, but can include embodiments implemented in hardware, or combinations of software and hardware, and vice-versa, as will be apparent to those skilled in the art, unless otherwise specified herein. In the present specification, an embodiment showing a singular component should not be considered limiting; rather, the invention is intended to encompass other embodiments including a plurality of the same component, and vice-versa, unless explicitly stated otherwise herein. Moreover, applicants do not intend for any term in the specification or claims to be ascribed an uncommon or special meaning unless explicitly set forth as such. Further, the present invention encompasses present and future known equivalents to the known components referred to herein by way of illustration.
For purposes of illustration of aspects of the invention the calibration of an accelerometer triad attached to a platform, embedded in a navigation device (with a GPS receiver) or cell phone 100, is described and shown in
The basic method according to embodiments of the present invention for calibrating an accelerometer in an accelerometer triad is shown in
The basic method for calibrating an accelerometer in an accelerometer triad, as described above and shown in
r
X
=g(t)·kX(t) (1)
r
Y
=g(t)·kY(t) (2)
where g(t) is the magnitude of local gravity, and kx and ky are parameters which scale the sampled measurements into a physical value of acceleration derived from the magnitude of local gravity. Note that kx and ky are functions of many environmental factors which affect the accelerometers, for example temperature. As described below, measurement of the radii and center of the ellipsoid in
For ease of illustration, a 2 dimensional example is provided in
Some embodiments of the invention are methods of self-calibration—processes that do not engage the user's attention—and will generally have need of a weighting scheme for accelerometer measurements to accommodate motion which may not always be smooth and slow. For example, embodiments of the present invention are intended to provide calibration of accelerometers using measurements taken when the device 100 is being moved by a motion such as taking a cell phone out of a pocket and holding it up to view the screen. Furthermore, embodiments of the present invention may provide calibration of accelerometers using measurements taken when the device 100 is in a user's pocket as the user is moving about.
A more detailed mathematical description of the calibration process for an accelerometer triad is provided as follows. When the device 100 is stationary the only force acting on the accelerometers is gravity. A representative equation which describes the general constraint on the accelerometer triad is given in equation (3), and rearranged for equation (4). The values of AX, AY, and AZ are the measurements from the accelerometers (through the analog to digital converter (ADC)) and bx, by and bz are the biases of the accelerometers. G is a representation of local gravity. A, b and G are measured in levels—determined by the number of bits available in the analog-to-digital convertor (ADC). Typical ADCs have roughly 13 bits, which equates to approximately 8000 levels. Equation (3) represents a spherical surface.
However, as discussed in greater detail below, the present invention is not limited to embodiments in which a spherical surface is described.
G
2=(AX−bX)2+(AY−bY)2+(AZ−bZ)2 (3)
(AX2+AY2+AZ2)=2·(AX·bX+AY·bY+AZ·bZ)+(G2−(bX2+bY2+bZ2)) (4)
The terms Mn and G* are introduced for convenience, where Mn, represents a form of the measurements at epoch n. (Here epoch is used to refer to a particular one of a series of times with some unspecified, but regular frequency.)
M
n=(AX,n2+AY,n2+AZ,n2) (5)
G*=G
2+(bX2+bY2+bZ2) (6)
Equations (3)-(6) are stacked, see equation (7), and solved for the biases, see equation (8), where AT is the matrix transpose of matrix A, and the matrix W is a matrix of weighting values, as described below.
Ideally, accelerometer measurements AX, AY, and AZ are collected when the platform is stationary. However, in practice measurements are often taken when the platform is still moving. To accommodate measurements taken when the platform is moving, and yet provide a reliable calibration, the measurements are weighted by an estimate of the noise power, as follows. Equations (9) & (10) define the “raw” and “filtered” noise powers rn and fn, respectively. Where τ is a filter time constant, the larger (closer to one) that τ is, the more the filter will deemphasize current measurements. This value is chosen empirically, and for
r
n=(AX,n−AX,n-1)2+(AY,n−AY,n-1)2+(AZ,n−AZ,n-1)2 (9)
f
n
=τ·f
n-1+(1−τrn (10)
Since power is best described by its order of magnitude, the log10 function is used, and to avoid taking the log10 of zero, one is added to the interior value, to give a weighting factor wn, as in Equation (11). Equation (12) defines W, the matrix of weighting values. Using equation (12), the parts of equation (8) are expanded as shown in equations (13) and (14).
Two more techniques which may be utilized in the process of calibrating the accelerometers are a recursive solution to minimize the data storage required and a scaling method to keep the summation from growing. The scaling method works by dividing the total sum by the number of samples, so as to keep the value of the sum from increasing to the point that it cannot be easily represented in memory. The summation can be stopped if the system determines that it has enough points for a solution. A new summation may be started if the system needs to be recalibrated. The scaling method is equivalent to using a low pass filter.
An example is provided here which combines both the recursive solution and the scaling method, as follows. Let α1,2(n) be a scaled version of the summation term (1,2) of Eq. 13. A technique equivalent to calculating a recursive mean, as in equation (15), is used to give equation (16). All of the elements of the matrices in equations (13) and (14) can be represented similarly. Consequently, equations (13) and (14) can be solved using minimal memory, since only the sum from the 1st to the (n−1)th element is stored in memory for each element, to be combined with the current, nth, term which is determined by current measurements.
A further embodiment of the present invention is the estimation of scaling factors for the accelerometers, in other words, properly estimating the “Gravity Ellipsoid” instead of just assuming a gravity sphere. Equation (17) defines an ellipsoid where Gx, Gy and Gz represent the components of gravity multiplied by a scaling factor for each accelerometer in the triad. Note that when the three accelerometers have the same scaling factor, equation (17) describes a sphere; when the scaling factors are not equal the ellipsoid may be an oblate spheroid, a prolate spheroid or a scalene ellipsoid. Equation (17) may be solved, but creates a slight asymmetry which causes there to be a difference in the quality of the estimates of the scale factors depending on the arrangement of the axes in the equation solution. For example, the solution provided below in equations (18) through (21) is constructed with Gy and G, being dependent on Gx. This will result in Gy and Gz having larger errors than Gx.
Using the definitions in equations (18) and (19), equation (17) is rearranged to give equations (20) and (21). The solutions for each parameter can be resolved from the estimates resulting from equation (21). The variance of GX will be different from GY and GZ. Note that GX is equivalent to rX in equation 1, with kXY=kX/kY.
The present invention can be further extended to describe less well defined “Gravity Surfaces” in three dimensions. However, for practical purposes these surfaces are approximated to spheroidal or ellipsoidal surfaces for which more convenient mathematical solutions are available, as described above.
Although some methods of the present invention have been described as including complete rotation of the handheld device including the accelerometers which are being calibrated, only partial rotations and similar movements may still result in satisfactory calibration. Instead of generating a gravity ellipsoid, such a movement will result in a partial ellipsoid such as the ellipsoidal caps shown in
Accelerometers embedded in a device and calibrated using some embodiments of the present invention may be used to estimate: the pitch and/or roll of the device with respect to the earth; the magnitude and direction of the local gravity vector; horizontal acceleration of the device—useful for navigation applications; and vertical acceleration of the device—useful for pedestrian navigation up and down stairs and elevators, for example. Note that accelerations are measured in units of g—a standard value of gravity, which on the Earth's surface is approximately 9.8 m/s2. However, using a gravity table, more accurate estimates of the magnitude of the acceleration may be calculated. The methods of the present invention may be useful for calibration of accelerometers in a wide range of devices including: GPS devices such as a handheld/portable personal navigation device (PND, e.g. from Garmin, TomTom, etc.), a cell phone, iPhone, PDA, handheld or laptop computer, other types of devices with built-in GPS functionality, or any GPS device embedded in tracking applications (e.g. automotive tracking from Trimble, package or fleet management tracking from FedEx, child locator tracking applications etc.). Furthermore, methods of the present invention may be useful for calibration of accelerometers in non-GPS devices—for example, accelerometers are used in devices for vibration/seismic sensing, monitoring of machinery, pedestrian motion, etc.
Although the present invention has been particularly described with reference to the preferred embodiments thereof, it should be readily apparent to those of ordinary skill in the art that changes and modifications in the form and details may be made without departing from the spirit and scope of the invention. It is intended that the appended claims encompass such changes and modifications.