Skip to main content
. 2013 Oct 21;13(10):14133–14160. doi: 10.3390/s131014133

Algorithm 4: Recursive EKF algorithm with event based update

Input: uk,zk,xk−1,Pk−1,LGM
Output: k,Pk
Data:f and h from model (6), Qk,Rk,ANXT
Initialization: x0,P0
for current time k do
 Prediction Step EKF:
 (same as Algorithm 1)
 Correction Step EKF:
Kk=PkHkT(HkPkHkT+VkRkVkT)1
k = k+Kk[zkh(k,0)]
Pk = (IKk Hk) Pk
 3 − σ ellipsoid area Aellip
RA = Aellip/ANXT using (12)
if RA > RA,lim then
  Global Correction Step:
  xEKF = xEKF + ΔX
  yEKF = yEKF + ΔY
  θEKF = θGM
  Pk,p = P0,x,y,θ
end
end