项目作者: mehhdiii

项目描述 :
Kalman Filter algorithm simulation with Markov process for state estimation.
高级语言: MATLAB
项目地址: git://github.com/mehhdiii/Kalman-Filter-Algorithm.git
创建时间: 2021-06-21T20:06:04Z
项目社区:https://github.com/mehhdiii/Kalman-Filter-Algorithm

开源协议:MIT License

下载


Kalman-Filter

The repository implements Kalman Filter for state estimation problem. We assume Markov process in deriving the KF equations. The state vector X is as follows:

State Description
x x coordinate
y y coordinate
vx Velocity along X coordinate
vy Velocity along Y coordinate

System and Sensor model

The system model is defined as follows:

  1. X(k) = F*x(k-1) + V

where,

  1. V ~ N(0, T^2 * Qk) is White gaussian Noise with covariance matrix Qk
  2. and
  3. F = I + A*T;
  4. Given that,
  5. A is a system parameter and T is sampling time.

Similarly, the sensor observations, assuming the sensor observes all states in X, is governed by the following equation:

  1. Yk = H*Xk + W_k;
  2. where H is an identity matrix and Wk is white random gaussian noise and is defined as follows:
  3. W_k ~ (0, Rk); Rk is covariance matrix

Results

The estimated trajectory along with the sensor readings and the true values are plotted in the figure below. As can be observed, the KF is able to estimate the trajectory with very high accuracy.