Skip to content

This projects implements Extended Kalman Filter for Micro Aerial Vehicle to estimate the position, orientation and velocity. Control inputs are provided from on board IMU and measurement update is obtained from VICON system

Notifications You must be signed in to change notification settings

somikdhar729/Extended_Kalman_Filter_for_State_Estimation_of_Micro_Aerial_Vehicle

Repository files navigation

Extended_Kalman_Filter_for_State_Estimation_of_Micro_Aerial_Vehicle

This project implements an Extended Kalman Filter for Micro Aerial Vehicle to estimate the position, orientation, and velocity. Control inputs are provided from onboard IMU and measurement update is obtained from the VICON system. The model is being tested on three datasets prepared for testing.

Process Flow

  1. Developed state-space system for the dynamic model
  2. Computed the Jacobian to handle the nonlinearity by approximating around the mean values.
  3. Implement a discrete form of EKF to be implemented in Matlab

Explanation

The EKF algorithm has two main steps: Prediction Step:

  • Process model predicts future state and covariance based on the current state, control inputs, system dynamics, and noise models
  • Process model includes position, velocity, orientation, sensor biases, and transformation matrices
  • Outputs predicted state and covariance

Update Step:

  • Incorporate measurements from the Vicon system
  • Vicon provides position and orientation measurements as ground truth
  • The measurement model relates measurements to the state
  • Kalman gain balances predicted and measured states
  • Updated state and covariance computed using Kalman gain and measurement residue

Results

Part 1: Measurement update will be given by the position and orientation from VICON

Dataset 1

alt text

Dataset 4

alt text

Dataset 9

alt text

Comments on the obtained results for the three datasets

• For all three datasets, position, orientation, and velocity from the raw data and estimated states represent the uncertainty bounds reflect errors in the estimates
• The gyroscopic and accelerometer bias are between -0.2 to 0.2

Part 2: Measurement update will be given by using only the velocity from VICON

Dataset 1

alt text

Dataset 4

alt text

Dataset 9

alt text

Comments on the obtained results for the three datasets

• For all three datasets, position, orientation, and velocity from the raw data and estimated states represent the uncertainty bounds reflect errors in the estimates
• The gyroscopic and accelerometer bias are between -0.2 to 0.2
• The measurement only captures the XYZ velocity of the system in the measurement model. This means it is very difficult for my Kalman filter to gain any information about the state of the orientation of the robot because it can’t really measure any quantities that would tell it information about its orientation.

About

This projects implements Extended Kalman Filter for Micro Aerial Vehicle to estimate the position, orientation and velocity. Control inputs are provided from on board IMU and measurement update is obtained from VICON system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages