Professional Documents
Culture Documents
VEHICLES 1
460
Rate Gyro
λ
λ̂ This paper is organized as follows. Section 2
Magnetometer
Attitude
Complementary Filter bˆgyros
briefly introduces the complementary filters, pro-
Magneto-Pendular
Sensor vides the attitude complementary filter equations
and develops the MPS attitude determination
⎡p
⎢ ⎥
ˆ⎤ method. Section 3 addresses implementation is-
⎣ vˆ ⎦
Accelerometer sues, presents the position filter equations and the
Position
Complementary Filter bˆaccel multirate filter that combines the low-rate GPS
GPS
readings with the high-rate information provided
by the remaining sensors. Section 4 presents and
Fig. 1. Complementary Filter Block Diagram discusses the overall navigation system simulation
results. Concluding remarks and future work are
sampling rates. A synthesis methodology to ex- pointed out in section 5.
plicitly address the system’s multirate nature is
used, endowing this setup with properties asso-
ciated to the single rate complementary filters
2. COMPLEMENTARY FILTERING.
(Pascoal et al., 2000). The resulting navigation ATTITUDE DETERMINATION
system is depicted in Fig. 1. The system pro-
duces estimates of the vehicle pose and removes
The complementary filter theory is deeply rooted
the sensor bias that is a common source of drift
in the work of Wiener (Wiener, 1949). An un-
error in navigation systems. The real time imple-
known signal can be estimated using corrupted
mentation in a DSP of the resulting filter struc-
measurements from one or more sensors whose in-
ture is straightforward. Nowadays several navi-
formation naturally stands in distinct and comple-
gation systems resort to Extended Kalman Fil-
mentary frequency bands (Brown, 1972), (Brown
tering (EKF) to integrate the position measure-
and Hwang, 1997). The minimum mean-square
ments available from a GPS receiver with the
estimation (MMSE criteria) error was first solved
position and attitude estimates given by the In-
by Wiener (Wiener, 1949), assuming that the
ertial Navigation System (INS). While a unified
unknown signal had noise-like characteristics,
error equations analysis for INS has been carried
which usually does not fit the signal description.
out in the literature (Britting, 1971), proposed
Complementary filtering explores redundancy to
navigation systems still differ due to the several
smooth measurement errors without prior knowl-
filtering architectures that may be used. Recent
edge about the signal.
work can be found in (Sukkarieh, 2000), (Gaylor,
2003), and (Whitmore et al., 1997). Sukkarieh Interestingly enough, the complementary filter
in (Sukkarieh, 2000) develops a general purpose, does not apply any distortion to the signal (dis-
high integrity navigation system for land vehicles, tortionless filtering), and can successfully reject
that uses an EKF to integrate the information the noise components. This approach proves to
provided by a GPS and an INS. In this work the be a very efficient time-invariant solution, whose
filter uses a simple vehicle dynamic model and parameters are defined according to sensor’s com-
a multi-path/signal blockage GPS error analysis plementary bandwidths descriptions. In the linear
is presented. Gaylor(Gaylor, 2003) also addresses time-invariant case the transfer function analysis
GPS error analysis for spaceship docking and ex- can be done using conventional Bode plots.
tends the sensor error correction by introducing
The loss of optimality in complementary filters
sensor bias estimation in the EKF. Both rely
due to ignoring noise stochastic description is very
on the assumption that an INS algorithm has
slight and can even be beneficial for special cases
been previously developed. Whitmore (Whitmore
where it is better to consider irregular measures
et al., 1997) present an INS algorithm based on
that occur out of the expected variance, as con-
exact attitude update using quaternion dynamics.
vincingly argued in (Brown, 1972). To meet addi-
The complementary filter structure, shown in tional constrains, the filter order can be increased,
Fig. 1, consists of an attitude filter and a posi- as seen in (Pascoal et al., 2000) where increasing
tion filter, both featuring bias removal. The at- the filter order enabled new degrees of freedom
titude filter entries are the rate gyro readings in the transfer function and enhanced the high
and an attitude-aiding sensor based on magnetic- frequency noise rejection without distorting the
field and gravitational readings, thus referred as signal.
Magneto-Pendular Sensor (MPS). The position
filter is based on the work presented in (Pascoal
et al., 2000), resorting to accelerometers readings 2.1 Attitude Filter
and to GPS. Since gravity must be removed from
accelerometers’ specific force, the position filter Euler angles are chosen as the state space repre-
uses the attitude estimates provided by the atti- sentation for the rigid body attitude filter, due to
tude filter. its simplicity. A nonlinear transformation must be
461
ω where bω is the bias term in angular rate space,
Q(λˆ ) assumed as time-invariant.
uλ k
The transformation Q(λ) applied on rate gyro
T yλ k biases bω issues a time-varying bias terms bλ (t) in
bˆλ k +1 bˆω k +1 bˆω k bˆλ k yˆ λ k
Euler angles, whose integration can not be directly
Q −1 (λˆ ) z-1 Q(λˆ ) T z-1 -
computed from the feedback term b̂λ k+1 = b̂λ k +
K2λ (yλ k − ŷλ k ).
K1
The problem of properly integrating biases is
K2
solved resorting to a nonlinear space transforma-
tion, as depicted in the dotted box in Fig. 2.
Stability and performance issues must be carefully
Fig. 2. Attitude Complementary Filter
examined in the near future to ensure reliability
applied to the rate gyros measurements to obtain for operational applications. Nevertheless, exhaus-
Euler angles derivatives. In the case where bias tive filter tests show no problems in the regular
terms are present in the sensor readings, time- operational conditions, where the yaw angle is
invariance is lost and a new methodology is pro- unconstrained and roll and pitch angles are not
posed to correctly estimate and compensate these close to the non-singular configurations.
sensor errors.
The complementary filter structure proposed re-
quires also an attitude reading that is not directly 2.2 Magneto-Pendular Sensor
available. To tackle this problem, a Magneto-
Pendular Sensor (MPS) concept is also proposed, An indirect attitude measurement can be ob-
which assumes the role of an attitude aiding sen- tained given two vector readings in both body
sor. and inertial frames. This problem was first in-
troduced by Wahba (Wahba, 1965) and several
Let λ = (ψ, θ, φ) and bλ = (bψ , bθ , bφ ) be the solutions have been proposed along time-spread
yaw, pitch and roll Euler angles, and the bias articles. In the current work, the proposed so-
in each of the three channels of the angular rate lution may be considered as a TRIAD-like ap-
sensors, respectively. Assuming the step invariant proach, see (Caruso, 1998). Earth’s gravitational
discrete time version of the attitude kinematics as field available from the onboard accelerometer
the underlying model for the filter design, the atti- triad measurements is used to determine pitch and
tude and biases estimates, λ̂ and b̂λ respectively, roll angles. The yaw angle is computed from the
can be written as Earth’s magnetic field measurements provided by
⎧
⎪
⎪ λ̂k+1 I3×3 I3×3 T λ̂k a magnetometer triad.
⎪
⎪ =
0 I3×3
+
⎪
⎪ b̂λ k+1 b̂λ k
⎨ If the gravity vector coordinates are known on
I T K1λ
+ 3×3 uλ k + (yλ k − ŷλ k ) , (1) both body and Earth frames, it is possible to
⎪
⎪ 0 K
⎪
⎪ 2λ determine pitch and roll angles resorting to the
⎪
⎪ λ̂k
⎩ ŷλ k = I3×3 0 rotation between both frames, as expressed by the
b̂k following relation
⎡ ⎤ ⎡ ⎤
where T represents the sampling interval, the ax −g sin θ
index k abbreviates the time instant t = kT , ⎣ ay ⎦ = R−1 g = ⎣ g cos θ sin φ ⎦ , (2)
uλ is the vector of angular rate measurements, az g cos θ cos φ
yλ is the vector of angular measurements and
K1λ = I3x3 k1λ , K2λ = I3x3 k2λ are the Euler where g = (0, 0, g) is the gravity vector in Earth
angles and biases estimation filter gain matrices, frame coordinates, a = (ax , ay , az ) is the gravity
respectively. The block diagram of the proposed vector expressed in body frame, g is the local
structure is shown in Fig. 2. Since rate gyros gravitational acceleration and R is the shorthand
directly measure angular rates of body frame with for the rotation matrix between body and Earth
respect to inertial frame expressed in the body B R(λ) . The pitch and roll angles can be
frames, E
coordinate system, denoted as ω, their readings computed as
must be converted to Euler angle rates using the φ = arctan (ay , az )
relation uλ = Q(λ) ω where ⎧ ay
⎨ θ = arctan 2(−ax , ), sin φ = 0
⎡ ⎤ sin φ , (3)
0 sin φ sec θ cos φ sec θ a
⎩ θ = arctan 2(−ax , z ), cos φ = 0
Q(λ) = ⎣0 cos φ − sin φ ⎦ . cos φ
1 sin φ tan θ cos φ tan θ
where the four quadrant arctan 2 was used. The
The same transformation Q(λ) is implicitly ap- yaw angle is determined by projecting the mag-
plied to the rate gyro bias terms bλ (t) = Q(λ)bω , netic field reading on the x-y plane of the Earth
462
uλ λ
λ̂
Rate Gyro
−
Attitude
Magnetometer
Magneto-Pendular yλ Complementary Filter bω
Centripetal aMPS Sensor
Acceleration
Removal
bP −
g
− p̂
uP
Accelerometer E
B ( )
R λˆ
v̂
Position
yP Complementary Filter bˆP
GPS
Earth’s magnetic field, and RY (θ), RX (φ) are bˆP k +1 bˆP k +1 bˆP k bˆP k
E E
yˆ P k
B
E R (λˆ ) z-1 E
B R(λˆ ) T z-1 T z-1 -
pitch and roll elementary rotation matrices, re-
spectively. The yaw angle is computed using K1
463
an attitude estimate, provided by the attitude
20
filter, is required to determine the position in
Earth frame, since the strapdown mechanization 15
−Z (m)
The proposed position filter exhibits efficient bias 5
100
bias estimation feedback is unsuited since it leads Y (m) X (m)
0.04
−1.6 Est.
Sensor Bias Noise Variance (σ 2 ) MPS
−2.4
Rate Gyro 0.05 ◦ /s (0.02 ◦ /s)2 0 20 40 60 80 100
Time (s)
120 140 160 180
(1 μG)2
Roll Error(o)
Magnetometer - 0
GPS - 10 m2 −0.5
Est.
Table 1. Sensor Errors −1
MPS
464
0
Rate Gyro Bias Estimation
0.05
Accelerometer Bias Estimation should be extended beyond white noise model for
0 a more realistic approach. Due to its low-cost, low-
X(m/s2)
−0.05
power and high-performance characteristics the
p(o/s)
−0.05
−0.1
−0.15 proposed navigation system will be implemented
−0.1 −0.2
0 50 100
Time (s)
150 0 50 100
Time (s)
150 in a DSP and tested in a real vehicle in the near
0 0.05
future.
0
Y(m/s2)
−0.05
q(o/s)
−0.05
−0.1
−0.15
−0.1 −0.2 REFERENCES
0 50 100 150 0 50 100 150
Time (s) Time (s)
0 0.05
Bittanti, S., P. Colaneri and G. Nicolao (1990). An
0
Algebraic Riccati Equation for the Discrete-
Z(m/s2)
−0.05
r(o/s)
−0.05
−0.1
Time Periodic Prediction Problem. Systems
−0.15
−0.1 −0.2 & Control Letters pp. 71–78.
0 50 100 150 0 50 100 150
Time (s) Time (s) Britting, K.R. (1971). Inertial Navigation Systems
Analysis. John Wiley & Sons, Inc.
Fig. 8. Biases Estimation Brown, R.G. (1972). Integrated Navigation Sys-
The attitude filter errors, plotted in Fig. 7, are tems and Kalman Filtering: A Perspec-
also bounded. The lowpass characteristics of the tive. Journal of the Institute of Navigation
attitude complementary filter can be observed as 19(4), 355–362.
it smooths out the high-frequency acceleration Brown, R.G. and P.Y.C. Hwang (1997). Introduc-
components during the linear path and the start tion to Random Signals and Applied Kalman
of the loop (at 20 s). Due to these disturbances, Filtering. third ed.. John Wiley & Sons, Inc.
yaw errors are smaller than pitch and roll errors Caruso, M.J. (1998). Applications of Magnetore-
since these are affected by the vehicle acceleration. sistive Sensors in Navigation Systems. Tech-
nical report. Honeywell Inc.
The sensor biases are correctly estimated through Cunha, R., C. Silvestre and A. Pascoal (2003).
the high-pass filter rejection of low-frequency com- A Path Following Controller for Model-Scale
ponents in sensor measurements, as depicted in Helicopters. In: Proceedings of European Con-
Fig. 8. In real applications, it is advisable to per- trol Conference ECC 2003. EUCA. Cam-
form a careful calibration leading to good initial bridge, UK.
biases estimates. Since real biases have only small Gaylor, D.E. (2003). Integrated GPS/INS Nav-
variations due to sensor’s temperature changes igation System for Design for Autonomous
and aging, small bias estimation gains can be Spacecraft Rendezvous. PhD thesis. The Uni-
used. Simulating such case yields about 1.2 m vesity of Texas at Austin.
and (8.3 × 10−3 , 9.8 × 10−2 , 3.4 × 10−2 ) ◦ of mean Oliveira, P. (2002). Periodic and Non-Linear Es-
absolute error in position and in Yaw, Pitch and timators with Applications to the Navigation
Roll angles, respectively. of Ocean Vehicles. PhD thesis. Universidade
Técnica de Lisboa.
Pascoal, A., I. Kaminer and P. Oliveira (2000).
5. CONCLUSION Navigation System Design Using Time Vary-
ing Complementary Filters. IEEE Aerospace
This paper presented a navigation system for and Electronic Systems 36(4), 1099–1114.
an unmanned model-scale helicopter, based on Stovall, S. H. (1997). Basic Inertial Navigation.
complementary filtering. The navigation system Technical report. Naval Air Warfare Center
featured distortionless filtering and good noise Weapons Division.
rejection. Bias compensation is also performed, Sukkarieh, S. (2000). Low Cost, High Integrity,
further extending the typical IMU operation time. Aided Inertial Navigation Systems for Au-
The whole navigation system structure proved to tonomous Land Vehicles. PhD thesis. Univer-
be simple and intuitive through its stationary set- sity of Sydney.
ting, without resorting to more complex solution Wahba, G. (1965). A Least-Squares Estimate of
such as INS/EKF systems, providing good results Satellite Attitude. SIAM Review 7(3), 409
both in attitude and position for typical vehicle problem 65–1.
maneuvers. Whitmore, S.A., M. Fife and L. Brashear (1997).
Development of a Closed-Loop Strap Down
Future work involves the observability and sta- Attitude Systema for an Ultrahigh Altitude
bility issues related to the several feedback loops Flight Experiment. Technical report. NASA.
introduced in the proposed architecture. Addi- Wiener, N. (1949). Extrapolation, Interpolation
tionally, filter performance can be enhanced by and Smoothing of Stationary Time Series.
introducing new aiding sensors, such as a velocity John Wiley and Sons. New York.
sensor or a Laser Range Finder, and sensor errors
465