Skip to main content
. 2019 Apr 9;19(7):1687. doi: 10.3390/s19071687
Algorithm 1. IEKF estimation model
  • (1)

    Step 1 (initialization): Initialization of IEKF is similar to EKF as the initial state vector x˜0|0 and initial error covariance P¯0|0, and state prediction step are the same as in EKF.

  • (2)
    Step 2 (measurement update iterations): Measurement iterations are started by initializing x^t+10=xt+1|t and i=0, computation of Jacobian matrix, Kalman gain and state estimate for the next iteration:
    Ht+1i=ht+1(s)s|s=x^t+1i
    Kt+1i=P¯t+1|t[Ht+1i]T(Ht+1iP¯t+1|t[Ht+1i]T+Rt+1)1
    x^t+1i+1=x^t+1|t+Kt+1i(zt+1ht+1(x^t+1i)Ht+1i(x^t+1|tx^t+1i))

    Step 2 is iteratively executed once a stopping criterion is achieved, i.e., the difference between two successive approximations is less than a predefined threshold ξ, xt+1i+1xt+1i<ξ.

  • (3)

    Step 3 (finalization): Once the stopping criteria is achieved, the state vector and covariance matrix is finalized