Recursive Attitude Estimation in the Presence of Multi-rate and Multi-Delay Mes_ACC2015
Recursive Attitude Estimation in the Presence of Multi-rate and Multi-Delay Mes_ACC2015
Vector Measurements
Alireza Khosravian, Jochen Trumpf, Robert Mahony, Tarek Hamel
Abstract— This paper proposes an attitude estimation communication channel from these sensors to the onboard
methodology for the case where attitude sensors provide attitude estimation system of the vehicle.
discrete-time samples of vector measurements at different Sampling and delays can negatively affect the stability
sample rates and with time delays. The proposed methodology
is based on a cascade combination of an output predictor and robustness of any observer or filter and degrade their
and an attitude observer or filter. The predictor compensates performance if they are not compensated for properly [18]–
for the effect of sampling and delays in vector measurements [24]. Typical estimator design methodologies to tackle the
and provides continuous-time predictions of outputs. These measurement sampling and delay problem are; estimator
predictions are then used in an observer or filter to estimate design with Lyapunov-Krasovskii modification, stochastic
the current attitude. The primary contribution of the paper is
to exploit the underlying symmetry of the attitude kinematics filtering with Out-Of-Sequence Measurements (OOSM), and
to design a recursive predictor that is computationally simple compound observer-predictor design. The classical approach
and generic, in the sense that it can be combined with any to tackle the sensor delay is to take an estimator that has the
asymptotically stable observer or filter. We prove that the desired performance for delay free measurements, and mod-
predictor is able to reproduce the continuous time delay-free ify its innovation term such that it compares each delayed
vector measurements. In a simulation example, we demonstrate
good performance of the combined predictor-observer even in measurement with its corresponding backward time-shifted
presence of measurement noise and delay uncertainties. estimate. If the delay-free estimator has a Lyapunov stability
proof, the stability analysis for the modified estimator can be
I. I NTRODUCTION undertaken using Lyapunov-Krasovskii functions [25], [26].
Although these modified estimators are commonly used in
Attitude sensors mounted on a vehicle measure partial
practice (see e.g. [27], [28]), they require complicated stabil-
information about its attitude in the form of vector direc-
ity analyses and careful and conservative gain tuning, lead-
tion measurements. The goal of an attitude estimator is to
ing to poor transient responses of the resulting estimators.
compute the orientation of the vehicle by processing those
Stochastic filtering with OOSM has been extensively studied
vector measurements. There is a large body of research
[29]–[33], albeit most of this literature focuses on target
on both stochastic attitude estimation methods (such as
tracking applications. Although OOSM filtering approaches
extended Kalman filters [1], [2], unscented filters [3], etc.) as
are flexible, easily dealing with sampled and delayed data
well as deterministic attitude observers [4]–[16]. In satellite
as well as out-of-sequence measurements, they usually have
attitude estimation applications, high accuracy sensors such
significant memory and processing requirements that are
as star trackers or earth sensors provide measurements at low
unrealistic for most embedded observer design applications,
sampling rates (0.5 to 10 Hz) [17]. In contrast, the onboard
except for linear system models where simpler OOSM filters
gyroscope can easily provide high bandwidth measurements
are available [20], [29]. For the specific problem of atti-
at kHz rates, potentially two orders of magnitude faster than
tude estimation with sampled and delayed measurements,
the direction information is obtained. The image processing
a modified extended Kalman filter with a novel real time
inside a star-tracker sensor can cause significant delays in
implementation architecture is proposed in [34]. Despite its
the order of tens of milliseconds, leading to the star-tracker
good performance in practice, this algorithm suffers from
measurement being delayed with respect to the gyroscope
major drawbacks such as unclear convergence properties and
measurements. Similar sampling and delay problems also
high computational load due to the required propagation
occur in attitude estimation for aerial robots when vision
stages associated with sensor delay compensation. Combined
based sensors such as cameras and landmarks are employed.
observer-predictor design methods for nonlinear systems on
Also, in indoor flight environments, the attitude data from
Rn have been developed in [19], [24], [35]. These methods
devices such as VICON or OptiTrack are delayed by the
take observers that have the desired stability properties for
A. Khosravian, J. Trumpf and R. Mahony are with the Research continuous delay-free measurements and combine them with
School of Engineering, Australian National University, ACT 2601, Aus- appropriate predictors that compensate for the effects of
tralia (e-mail: [email protected]; [email protected]; sensor sampling and delays, such that the combined observer-
[email protected]).
T. Hamel is with I3S UNS-CNRS, France (e-mail: [email protected]). predictor maintains the stability properties of the observer.
This work was partially supported by the Australian Research Council The authors of this paper have recently proposed a cascade
through the ARC Discovery Project DP120100316 ”Geometric Observer observer-predictor combination to handle sensor delay in
Theory for Mechanical Control Systems” and by the project ”Sensory
Control of Aerial Robot” from French Agence Nationale de la Recherche the attitude estimation problem [36]. Although the result-
through the ANR-ASTRID SCAR. ing observer-predictor combination is stable, this method
requires continuous availability of sensor outputs and is not delayed with respect to the measured physical quantities due
applicable to the sampled measurement case. To the authors’ to various reasons such as slow response rates of the physical
knowledge, there is no attitude estimation methodology with parts of the sensors, internal processing time of sensors, and
stability proof available that considers sampled and delay communication delays. In the following two subsections, we
measurements. present a general discussion about modeling sampling and
In this paper, we consider the attitude estimation prob- delays in sensors. This discussion will then be applied to the
lem when sampled and delayed vector measurements are specific case of attitude sensors and vector measurements in
available. We propose a cascade combination of a predictor Section II-C.
with an attitude observer or filter in which the predictor
compensates for the effect of sampling as well as delays A. Physically inspired modeling of sampling and delays
in vector measurements and the filter or observer processes We propose the model illustrated in Fig. 1 to include
the predicted outputs and estimates the attitude. Our design the effect of sampling and delays on the output of sensors.
is based on the exact continuous time nonlinear attitude This model is inspired by the physical process that takes
kinematics on the Lie group SO(3) without resorting to place in sensors during measuring a physical quantity. This
parameterization, linearization, or discretization. The main model consists of a zero-order-hold (ZOH) block that models
contribution of the paper is to effectively employ the sym- the effect of sampling and two delay blocks before and
metries of the attitude kinematics and vector measurement after the ZOH that, respectively, model the pre-sampling
models to design a simple generic predictor that is inde- and post-sampling delays. The pre-sampling delay on the
pendent of the choice of observer or filter. That is, our left side of Fig. 1 models ρi seconds of delay from when
proposed predictor can be combined with any observer the physical quantity yi (t) occurs to when it is observed
or filter that has asymptotically stable estimation error in by the i-th sensor. We have yiρ (t) = yi (t − ρi ) for all
ideal conditions (i.e. when it is fed with continuous time t. In practice, this delay is usually due to the physical
delay-free vector measurements) and the predictor-observer properties of the environment or the sensors. For instance,
combination maintains those stability properties in the non- a star tracker requires that its imaging sensor is exposed to
ideal conditions (i.e. sampled and delayed measurements). light from stars for a specific amount of time so that it can
The proposed predictor is recursive and requires only very produce an image of the stars. This is known as exposure
small computational power, making it ideal for embedded time and can be as large as hundreds of milliseconds [37].
implementation in real-world applications. We assume that The ZOH block in Fig. 1 takes the delayed signal and
the delay in each sensor measurement is known, that is we produces a sample at time tki . This sample is latched at
require accurate time-stamping of data, however, this is the the output of ZOH until the next sample is taken at time
only condition on the data. Given this assumption, the gain tki +1 . Hence we have ziρ (t) = yiρ (tki ) = yi (tki − ρi )
tuning process and the stability of the observer is independent for t ∈ [tki , tki +1 ). For clarity in presentation, we assume
of the size of the delay and valid even for time varying that the sequence (tki )∞ ki =1 is an ordered monotonically
delays or OOSM measurements although we do not explicitly increasing sequence, i.e. tki −1 ≤ tki ≤ tki +1 . However,
consider the latter in this paper. The proposed approach this assumption is not necessary for our proposed method
directly extends to the multi-rate measurement case without and our method is also applicable to the case where the
further modification. Via a simulation example, we show that measurements are out-of-sequence, although the necessary
our predictor-observer method performs significantly better modifications to the notation are rather cumbersome. For
than Lyapunov-Krasowskii approach. a star tracker, the sequence (tki )∞ ki =1 corresponds to the
The structure of the paper is as follows. Background and specific times when the star tracker obtains an image of stars.
problem formulation is given in section II. The proposed This sampling frequency can be as low as only 0.5 Hz up
predictor-observer approach is described in section III where to 10 Hz for practical star trackers. The post-sampling delay
the main result of the paper is given by Theorem 1. The on the right side of Fig. 1 models σi seconds of delay from
performance of our method is demonstrated via simulations when a sample of the physical variable becomes available to
in section IV. the sensor to the time when the new output zi (t) becomes
available to the user. Hence we have
II. P ROBLEM FORMULATION
zi (t) = ziρ (t − σi ) = yi (tki − ρi ), t ∈ [tki + σi , tki +1 + σi )
Attitude determination sensors aim to measure physical
(1)
quantities that are usually continuous time objects by their
nature. Examples of these physical quantities are the light In practice, the post-sampling delay models the delay due
intensity of stars or the Sun, respectively, sensed by star to the internal signal processing in the sensor or due to the
sensors or sun sensors, the Infra-Red reflection of the Earth communication delay for transmitting information from the
surface sensed by Earth sensors, or the magnetic field of the sensor to the user. For a star tracker, the post-sampling delay
Earth sensed by magnetometers, all of which are continuous is mainly due to the processing time associated with image
time objects. In practice, however, attitude sensors are only processing algorithms that analyze the images taken by the
capable of providing samples of those physical quantities at star tracker to recognize stars in the image and associate each
specific sampling rates. Moreover, these samples are usually recognized star with its corresponding star in the on-board
Sensor Model