Kalman Update Equations
Kalman Update Equations
x^
k1+ Buk
^x
k =A
TIME UPDATE
(PREDICTION)
P k H T
K k =
x^
k
z k H
^x
k +Kk
^x k =
Pk
Pk =( I K kH )
Example:
MEASUREMEN
T UPDATE
(CORRECTION
)
x k = Ax k1+ Buk1 +w k
2.
z k =Hx k + v k
(Measurement)
20
40
80
x k =Posk
and
H=1
x^
k1+vT
^x
k =
Pk H
H
T
Pk H
K k =
P
k +R
P
k
K k =
x^
k
z k
^x
k +Kk
^x k =
P
k
Pk =( I K k )
H=1 ,
R=.01
Position = 40Km
Velocity = 80 KmpH
Time = 20 sec = (20/3600) Hr
^x k = 40.444
.. (1)
2
P
k = E[e ]
where
x^ k
e=x k
e=0.444 4
P
k =0.197136
Therefore
... (2)
H=1
Here
and considering
R=.01
T
P
k H + R
H
P k H T
K k =
K k =0.9517 . (3)
x^ k
z k
^x k + K k
^x k =
Where
z k =40(Observed)
^x k =40.0214
.. (4)
P
k
Pk =( I K k )
Pk =( I 0.9517 )0.197136
Pk =0.0095 . (5)
Therefore the (One Step) first Estimates are:
State Ahead
Error Covariance Ahead
Kalman Gain
x^ k
(Prediction)
P
k
(Prediction)
Kk
40.444
0.197136
0.9517
(Update)
Update Estimate
^x k (Update)
40.0214
Error Covariance
Pk (Update)
0.0095
40.0124 Km