4.3 Large Data Sets
5.1.1 Position Estimation
At first it is assumed that the object can be considered a point as depicted in Figure 5.1a on the next page. In this case, the state xT,htTt˙Tiof the object consists of its position t =£x y z¤Tand velocity ˙t =£ ˙x ˙y ˙z¤T.
Dynamic and Measurement Model
The dynamic behavior—the motion—of the object is described by means of the linear discrete-time dynamic system
xk+1= A · xk+ wk , (5.1)
164 5 Applications
Figure 5.1: Examples for range-based localization problems. Based on the measured ranges between landmarks (LMs) at known positions and the unknown position of the object, the object’s trajectory has to be estimated.
In case of pose estimation (b), the object possesses itself several landmarks (gray circles) to which range measurements can be performed. The center of mass is indicated by the cross.
where the noise wk is assumed to be zero-mean white Gaussian. For a position velocity model [207], the matrix A and the covariance of the process noise Cware given by
A =· I T · I
corresponds to the process noise covariance of the continuous time sys-tem model withσ2c,ξbeing the variances of dimensionξ ∈ {x,y,z}.
Range measurements to N landmarks at the known positions Si∈R3with i = 1,...,N are incorporated. The nonlinear relation between the object position and the landmark position is given by
ρk,i=°
°Si− tk°
°2 , (5.3)
whereρk,i is the Euclidean distance between object and landmark.
5.1 Range-based Localization 165
In a real scenario, the ranges cannot be measured exactly, i.e., measure-ment uncertainty has to be considered, which is usually done by incorpo-rating a noise process into (5.3). Two possibilities arise for incorporation.
In the first case, which is the standard model ρk,i=°
°Si− tk°
°2+ vk,i, (5.4)
the noise process vk,idirectly affects the range rk,i. In the second case ρk,i=
°
°
°Si− tk− vk,i
°
°
°2 , (5.5)
which is called noise before non-linearity [44], the noise process affects the difference between object and landmark position. This measurement model can be interpreted such that the positions of the landmarks are uncertain. In both measurement models, the noise process is assumed to be zero-mean white Gaussian. In the following, the second model (5.5) is considered for mainly two reasons: First, the standard model (5.4) is only appropriate in situations where the distanceρk,iis large compared to the variance of the noise vk,i. Otherwise, negative ranges are possible, which is not true in reality. This problem cannot occur in the second measurement model. Second, the model in (5.5) allows analytic moment matching.
Analytic Moment Matching
Thanks to the linearity of the dynamic model (5.2), the standard Kalman filter prediction step (2.12) can be employed for propagating the state from time step k to time step k + 1. To obtain also analytic expressions for the moment integrals (2.8) in case of the measurement update, the measurement equation (5.5) is squared, which yields
di,¡ρi
¢2
=¡Si− t¢T·¡Si− t¢ − 2·¡Si− t¢T
· vi+ vTi · vi, (5.6)
166 5 Applications
where diis a squared range assumed to be calculated by ˆdi= ˆρ2i. Thus, the modified measurement equation (5.6) can be described in short term via
di= hi¡t ,vi¢
(5.7) for a single measurement to landmark i and via
d = h¡t ,v¢ (5.8)
for measurements to all landmarks, where di and hi(.,.) are the i th ele-ment of d and h(.,.), respectively. Hence, the vector of squared ranges ˆd is calculated according to ˆd = ˆr ¯ ˆr . The measurement noise v in (5.8) is land-mark. By assuming correlations between landmarks, an algorithm valid for many real-world application can be derived. The case of uncorrelated landmarks is a special case of the algorithm.
Due to the consideration of squared ranges, the measurement model in (5.6) is a polynomial of order two allowing closed-form calculations of the moment integrals (2.8). Hence, according to (2.9) the mean vector and covariance matrix of the posterior state estimate xk∼N¡µe
k, Cek¢ are
5.1 Range-based Localization 167
respectively, whereµdk (squared measurement mean), Cdk (squared mea-surement covariance matrix), and Cxdk (cross-covariance between state and squared measurement) are given by1
µdk = (V ¯ V)T· 1M+ 1N· Tr¡P·Ckp· PT¢ + OT· diag¡Cv¢ , Cdk = OT·¡4· ¡vec(V)·vec(V)T¢ ¯ T + 2·T ¯ T¢ ·O , Cxdk = −2 · Cpk· PT· V ,
(5.10)
respectively, with
S,£S1 . . . SN¤ , P,£IM 0M¤ , V,S −¡1N¢T
⊗¡P·µkp¢ , O,IN⊗ 1M ,
T,Cv+ 1N⊗¡P·Cp· PT¢ ,
where vec(V) is the vectorized version of the matrix V, 1N is a vector of ones of dimension N , and 1Nis a one matrix. The variable M = 3 stands for the three-dimensional space.
Example 24: Four Landmarks
The proposed analytical moment calculation (AMC) is compared against the EKF and UKF. For this purpose four landmarks with posi-tions
S =£S1 . . . S4¤ =
−2 −2 2 2
−2 2 −2 2
0 0 0 2
m
1 A detailed derivation can be found in Paper L.
168 5 Applications
(a) The average rmse and its stan-dard deviation.
(b) Mean of the determinant of the position covariance Cek,t.
Figure 5.2:Result of the three estimators AMC, UKF, and EKF for different noise levels.
are considered. The measurement noise covariance matrix of each landmark i is assumed to be Cvi = I · σ2n withσn=(n−1)/3m where n = 1...10, i.e., ten different noise levels are investigated. For each noise level 1000 MC runs are simulated, where each run consists of 100 measurement steps.
The initial state at time step k = 0 has zero mean and covariance C0= 10 · I6. The sampling time is T = 0.1s. The process noise covariance matrix comprises the elementsσ2c,x= σ2c,y= 0.01, and σ2c,z= 0.0001.
In Figure 5.2a, the average rmse is depicted. For small noise, all three filters perform similar. If the noise increases, the rmse of the EKF increases much stronger compared to the other two filters. For a high noise level, the UKF and the proposed approach present comparable results, where the average rmses and the standard deviations of the AMC are slightly smaller.
5.1 Range-based Localization 169
The average determinant of the covariance matrix of the position estimate tk of all test runs is shown in Figure 5.2b. Due to the lin-earization based on first-order Taylor-series expansions, the deter-minant of the EKF is too small and thus the EKF is too certain about its estimate. Hence, the estimation results are inconsistent, which is often a problem when using an EKF. On the other hand, LRKFs or analytic approaches as the AMC overcome this problem. The determinant of the AMC is smaller compared to the determinant of the UKF. Furthermore, as described before, the rmse of the AMC is smaller as well. All together, the AMC is more informative compared to the UKF.
The computational complexity of the above closed-form measurement update is inO¡M3+ M2· N¢ for the meanµdk, inO¡M2· N3¢ for the co-variance Cdk, andO¡M2· N¢ for the cross-covariance Ckxd, where typically M ¿ N . For calculating the required moments in (5.10), only vector-matrix products and no additional vector-matrix inversions or roots are required.
For comparison, already the computational complexity of calculating the matrix square root required for an LRKF is inO¡N3· M3¢.