The UKF addresses the approximation issues of the EKF. The state
distribution is again represented by a GRV, but is now specified using
a minimal set of carefully chosen sample points. These sample points
completely capture the true mean and covariance of the GRV, and when
propagated through the true non-linear system, captures the
posterior mean and covariance accurately to the 3rd order (Taylor
series expansion) for any nonlinearity. To elaborate on this,
we start by first
explaining the unscented transformation.
The unscented transformation (UT) is a method for calculating the
statistics of a random variable which undergoes a nonlinear
transformation [1]. Consider propagating a random variable
(dimension
) through a nonlinear function,
. Assume
has mean
and covariance
.
To calculate the statistics of
, we form a matrix
of
sigma vectors
(with corresponding weights
), according to the
following:
where
is a scaling parameter.
determines the spread of the sigma points around
and is usually
set to a small positive value ( e.g., 1e-3).
is a secondary
scaling parameter which is usually set to 0, and
is used to
incorporate prior knowledge of the distribution of
(for
Gaussian distributions,
is
optimal).
is the
th row
of the matrix square root.
These sigma vectors are propagated through the nonlinear function,
|
|
(16) |
|
|
|
![]() |
(17) |
|
|
|
![]() |
(18) |
Note that this method differs substantially from general ``sampling''
methods ( e.g., Monte-Carlo methods such as particle filters
[7]) which require orders of magnitude
more sample points in an attempt to propagate an accurate (possibly
non-Gaussian) distribution of the state. The deceptively simple
approach taken with the UT results in approximations
that are accurate to the third order for Gaussian inputs for all
nonlinearities. For non-Gaussian inputs, approximations are accurate
to at least the second-order, with the accuracy of third and higher order moments
determined by the choice of
and
(See
[8] for a detailed discussion of the UT).
![]() | ||
| Figure: Example of the UT for mean and covariance propagation. a) actual, b) first-order linearization (EKF), c) UT. | ||