Professional Documents
Culture Documents
Attitude Estimation For A Vehicle Using Intertial Sensors
Attitude Estimation For A Vehicle Using Intertial Sensors
281-287, 1994
Pergamon ~ © 1994l~ev~rSciea~l.,td
Pan~ i. ~ eaua.. ~ aOa re.m~t
0967-0661/94 $6.00 + 0.00
Abstract. This paper presents an attitude estimation system for an autonomous ground vehicle
which is based on the cooperation of low-cost inertial sensors. The attitude is obtained using two
different methods. The fLst method is based on acceleromelric measurements of gravity. The
second one proceeds by integration of the differential equation relating the robot's attitude and its
instantaneous angular velocity which is measured by gyrometers. The advantages of these two
solutions are exploited by fusing together the redundant attitude information they provide using
an extended Kalman filter.This algorithm has been implemented and tested on a vehicle.
Experimental results are presented.
281
282 J. Vaganay and M.J. Aldon
The accelerometers are attached to the robot so that When the robot moves, the non-gravitational
the transformation between Rr and Ra is reduced to acceleration [y(Oa/RO)]r has to be removed from the
the translation OrOa=[dx dy dz]T (no alignment accelerometric output (5). Since this acceleration is
error) which has to be calibrated. With this not directly measurable, it has to be approximated.
assumption, (4) can be rewritten as follows : It is given by :
Attitude Estimation 283
(1971), after minor changes. This algorithm is used and the quatemions :
to solve the attitude equation.
= a 1 .i+a2.j+a3.k
= al.i+a2.J+a3.k
4.1.~
r. a a 2 1 a.a.)l"
Q(t) = Q(t-at) (a*.a -
Euler's theorem states that an arbitrary sequence of
rotations with one point fixed applied to a rigid
body leads to a final attitude that can be obtained 1
The analytical solution of Q = ~ Q l'~ (with the
using a single rotation about an axis which passes
restriction concerning the rotation axis) is :
through the fixed point. Considering the rotation t
from the absolute reference frame to the robot's
frame, let uffi[UxUy Uz]T expressed in the absolute Q(O = Qo.exp(S-~- d'C)= Qo.exp@)
reference frame be the rotation axis, and let 13be the o
rotation angle about u. The attitude quaternion a 1 a 2 1 a 3
associated to this rotation is:
Q0=c°s 2~ ' Ql=Ux'sin ~2' Q2=Uy"sin [~ corresponds to a correction applied to account for the
2'
fact that the rotation axis is not fixed.
Q3fuz.sin ~2
At each step, a normalization of the updated
quatemion is perfumed :
and where i, j, k are such that"
ii =jj = kk =-1
ij = -ji =k, jk = -kj = i, ki = -ik = j Q -'->Q/IQ.
Vg(O = v(t) + d~t).t (12) The system described above has been implemented
#g(O = *(0 + dt(O.t (13) and tested on the two-differential-wheels mobile
platform VEGA available in the laboratory. All
where y g and Og are determined by the gyrometric software (robot controland inertial measurement
method, ¥ and ¢~define the real attitude, and d~ and processing) is programmed in C and executed on a
d~ are the mean drifts between the initial time and T805 transputer network. The real-time
time instant t. implementation allows the attitude estimation to be
updated every I0 ms. Three gyrometers and a three-
The state vector X is made up of the pitch and roll axis accelerometer are fixed on a precision-made
angles as well as their drifts. Since the angular support to ensure a good alignment of the
movement of the robot is unknown, the state sensitivity axes. This support is attached to the
lransition equation is : robot.
[g l r-gsins' "1
gy[ /gcos~sinO/
Vg| =| ¥+dv.t / + wk <=>Zk=h(Xk'k)+wk
@gJk L@+d@.t Jk
![ "'!". i
(0 °) when the robot moves on fiat ground, and implementation of the system on the experimental
around +1.5 ° when one wheel of the robot is on the robot VEGA demonstrated that it works well, but
plank), but that instantaneous values can be the variation domain of the attitude being very
completely wrong because of shocks or vibrations restricted, it would be interesting to test it on other
(example: ,=-4.5° at t=8s). It can also be verified that types of vehicles. To employ this system on other
the gyrometric estimates give a precise short-term types of vehicles (all-terrain, under-water), an
evolution of roll. For example, between t=7s and estimation of the absolute acceleration of the vehicle
t=12s, the variation of roll is very well represented. should be available to extract the gravity
On the other hand, the values of this angle get components from the accelerometric measurements.
worse with time, because of the drift due to the The sensors' full scales and resolutions should also
gyros and the integration process. The roll be adapted to the vehicle's dynamics.
estimation obtained by extended Kalman filtering
gives a precise evolution and value of the angle at
the same time. The variation of roll observed 8. REFERENCES
between t-22s and t,,26s, corresponds to the rotating
phase. Before the rotation, the gyrometric roll Bhanu, B., B. Roberts and J. Ming (1990). Inertial
estimation is about -2 ° . Since this angle is navigation sensor integrated motion analysis for
calculated by integration, after a +180 ° rotation, it obstacle detection. In: IEEE Int. Conf. on
becomes +2 ° . Everything happens as if the robot Robotics and Automation, pp. 954-959,
had turned on a 2 ° inclined plane. This is why a +2 ° Cincinnati, Ohio.
variation can be observed on the pitch estimation
(Fig. 2). Edwards, A. (1971). The state of strapdown inertial
guidance and navigation. In: Navigation, Journal
of the Institute of Navigation, vol. 18, n°4.
' ~i ~ i !i
Fig. 2. Pitch estimation Le Corre, J.F., and G. Garcia. (1992). Real time
determination of the location and speed of mobile
Figure 2 shows the estimations of the pitch angle robots running on non-planar surfaces. In: IEEE
throughout the motion. The same comments are nt. Conf. on Robotics and Automation, pp. 2594-
valid concerning the accelerometric and gyrometric 2599, Nice, France.
estimations. Variations in the pitch can be observed
when the robot climbs on the plank (negative pitch Radix, J.C. (1980). Syst~mes inertiels /~
around t=8s and t,~34s) or when it climbs down from composants li6s 'strap-down'. In: Sup'Adro, Ecole
it (positive pitch around t,,14s and t,-39s). Nationale Sup6rieure de l'A6ronautique et de
rEspace, ed. Cepadues.
Vaganay, J. (1993b). Conception d'un syst~me ~16viile, T., and O. Faugeras (1989b). Computation
multisensoriel de localisation dynamique 3D pour of inertial information on a robot. In: 5th Int.
robot mobile. Doctorate Thesis, UM II, Sympo~um of Robotics Research, Tokyo, Japan.
Montpellier.
Wang, J., and W. J. Wilson (1992). 3D relative
Vi6ville, T., and O. Faugeras (1989a). Cooperation position and orientation estimation using Kalman
of the inertial and visual systems. In: NATO filter for robot control. In: IEEE Int. Conf. on
ARW Traditional and Non Traditional Robotic Robotics and Automation, pp. 2638-2645, Nice,
Sensors. France.