I assume the reader is already familiar with the concept of covariance extrapolation (prediction). We've already met the Covariance Extrapolation Equation (or Predictor Covariance Equation) in the "One-dimensional Kalman Filter" section. In this section, we derive the Kalman Filter Covariance Extrapolation Equation in matrix notation.
The general form of the Covariance Extrapolation Equation is given by:
Pn+1,n=FPn,nFT+Q
Where:
Pn,n
is the squared uncertainty of an estimate (covariance matrix) of the current state
Pn+1,n
is the squared uncertainty of a prediction (covariance matrix) for the next state
F
is the state transition matrix that we derived in the "Modeling linear dynamic systems" section
Q
is the process noise matrix
The estimate covariance without process noise
Let's assume that the process noise is equal to zero (Q=0), then:
As you already know, the system dynamics is described by:
x^n+1,n=Fx^n,n+Gu^n,n+wn
Where wn is the process noise at the time step n.
We've discussed the process noise and its influence on the Kalman Filter performance in the "One-dimensional Kalman Filter" section. In the one-dimensional Kalman Filter, the process noise variance is denoted by q.
In the multidimensional case, the process noise is a covariance matrix denoted by Q.
We've seen that the process noise variance has a critical influence on the Kalman Filter performance. Too small q causes a lag error (see Example 7). If the q value is too high, the Kalman Filter follows the measurements (see Example 8) and produces noisy estimations.
The process noise can be independent between different state variables. In this case, the process noise covariance matrix Q is a diagonal matrix:
Q=q110⋮00q22⋮0⋯⋯⋱⋯00⋮qkk
The process noise can also be dependent. For example, the constant velocity model assumes zero acceleration (a=0). However, a random variance in acceleration σa2 causes a variance in velocity and position. In this case, the process noise is correlated with the state variables.
There are two models for the environmental process noise.
Discrete noise model
Continuous noise model
Discrete noise model
The discrete noise model assumes that the noise is different at each period but is constant between periods.
For the constant velocity model, the process noise covariance matrix looks like the following:
Q=[V(x)COV(v,x)COV(x,v)V(v)]
We express the position and velocity variance and covariance in terms of the random acceleration variance of the model: σa2.