Multivariate Kalman Filter
Note
May be difficult to grasp due to the sheer number in matrices along with understanding covariance. Do more review on Linear Algebra and Probability and Statistics then revisit later to solidify understanding.
Unlike the one-dimensional Kalman Filter, the Multivariate Kalman Filter works in multiple dimensions.
Common practice to describe a multidimensional process with a single equation in matrix form.
Example: Nine-dimensional state vector that describes position, velocity, and acceleration.
MKF outputs a multivariate random variable in which a covariance matrix describes the squared uncertainty of the multivariate random variable.
How It Works
After initialization, the MKF predicts the system state at the next step and provides the uncertainty of the prediction.
Once the measurement is received, it will correct i.e. update the prediction along with the uncertainty of the current state.
Rinse and repeat.
Kalman Filter Equations for Multivariate
State Predict
Predict Covariance
Measurement
The Observation Matrix
Often, the measured value is not the desired system state. Therefore, the purpose of observation matrix is to convert the system state into outputs using linear transformations.
State Selection
- Sometimes certain states are measured while others are not. In the example provided below, the first, third, and fifth states of the five-dimensional vector are measurable, while second and fourth are not.
Related to selecting states in the configuration for Perfecting Odometry?
State Update
Note
If, for instance, the state vector has 5 dimensions, while only 3 dimensions are measurable:
Observation matrix would be a matrix.
Therefore, the innovation yields:
Covariance Update
- is the Identity Matrix
Kalman Gain
Notation Table
- is the number of states in a state vector.
- is the number of measured states.
- is the number of elements of the input variable.