The Kalman filter model assumes the true state at time
where
At time
where
The initial state, and the noise vectors at each step
The Kalman filter is a recursive estimator. Only the estimated state from the previous time step and the current measurement are needed to compute the estimate for the current state
The notation
The state of the filter is represented by two variables:
The Kalman filter can be written as a single equation; however, it is most often conceptualized as two distinct phases:
The predict phase uses the state estimate from the previous timestep to produce an estimate of the state at the current timestep. This predicted state estimate is also known as the a priori state estimate because, although it is an estimate of the state at the current timestep, it does not include observation information from the current timestep
In the update phase, the innovation (the pre-fit residual), i.e. the difference between the current a priori prediction and the current observation information, is multiplied by the optimal Kalman gain and combined with the previous state estimate to refine the state estimate. This improved estimate based on the current observation is termed the a posteriori state estimate.
Typically, the two phases alternate, with the prediction advancing the state until the next scheduled observation, and the update incorporating the observation. However, this is not necessary;
Predicted (a priori) state estimate
Predicted (a priori) estimate covariance
Innovation or measurement pre-fit residual
Innovation (or pre-fit residual) covariance
Optimal Kalman gain
Updated (a posteriori) state estimate
Updated (a posteriori) estimate covariance
Measurement post-fit residual
The formula for the updated (a posteriori) estimate covariance above is valid for the optimal
A state observer or state estimator is a system that provides an estimate of the internal state of a given real system, from measurements of the input and output of the real system
It is typically computer-implemented, and provides the basis of many practical applications
A continuous-time linear system
where
has rank
For a continuous-time linear system
where
The observer error
Eigenvalues of matrix
See this paper for state observers in epidemiological models