Aerial Robotics
State Estimation: Bayesian Estimation – Kalman Filter
C. Papachristos
Robotic Workers (RoboWork) Lab
University of Nevada, Reno
CS-491/691
Probabilistic Robotics
Uncertainty defines the State Estimation Process
Notation(s) :
State
Measurement
Input
CS491/691 C. Papachristos
Probabilistic Robotics
C. Papachristos
Probabilistic Robotics
A Function /Table of Random Variables - Integrates to 1
Specific Probability Values
Pick a 10 of Diamonds (card is 10 AND card is Diamonds)
UNCONDITIONED Probability: Pick a 10 (or Pick a Diamond …)
Probability “DISTRIBUTION” of card Numbers and Shapes
C. Papachristos
Conditional Probability (or Likelihood):
GIVEN that we picked a Diamond, Probability of being a 10
Probability of being 10 of Diamonds = Probability of being a 10 GIVEN that it is a Diamond * Probability of being a Diamond
| | | |
| | | |
| | | |
… | … | … | … |
D H S C
1
2
3
…
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
Probabilistic Robotics
Probability�of State given Observation
Marginal Probability of State
Marginal Probability of Observation
| | | |
| | | |
| | | |
… | … | … | … |
D H S C
1
2
3
…
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
1/52
Probabilistic Robotics
C. Papachristos
| | |
3-Level Thin Obstacle Detection Sensor
| | |
Probability�of State given Observation
Marginal Probability of State
Marginal Probability of Observation
Bayes Filter
Markov Chain
Markov Property:
Markov Chain:
CS491/691 C. Papachristos
Bayes Filter
HMM: State variable
isn't observed, only�a noisy measurement of it is observed)
(General Description – given Conditional Independences from Markov Process)
CS491/691 C. Papachristos
Bayes Filter
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal PDFs
Univariate Normal (Gaussian) Distribution:
Multivariate Normal (Gaussian) Distribution:
Probability Density Function
Probability Density Function
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal Distributions
Linear Transformation of Gaussian Distribution:
Product of two Gaussian Probability Density Functions
(Note 1: Not the Distribution of the product�of the 2 Random Variables themselves (!),�but the product of the PDFs of the two RVs)
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal Distributions
Assuming a Discrete Time Stochastic Process that follows the Markov Property
Assuming the state Probability Density Function is Gaussian:
Assuming that it evolves according to a Linear Process Model:
Note: These are the Gauss-Markov Assumptions
such that Ordinary Least Squares provide the
Best, Linear, Unbiased Estimation methodology�(BLUE)
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal Distributions
Assuming a Discrete Time Stochastic Process that follows the Markov Property
Assuming the state Probability Density Function is Gaussian:
Assuming that it evolves according to a Linear Process Model:
Assuming that the Measurement Model is also Linear:
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal Distributions
Recursive Bayes Estimator
CS491/691 C. Papachristos
Kalman Filter
Bayes Filter for Multivariate Normal Distributions
Applied, gives the Kalman Filter Predict & Update (/Correct) steps:
Note: Prediction & Correction steps can take place in various orders� depending on the Markov Chain
CS491/691 C. Papachristos
Kalman Filter
where
(1)
(2)
(1)
CS491/691 C. Papachristos
Kalman Filter
(1)
(2)
(2)
Solve to yield “Kalman Gain”
CS491/691 C. Papachristos
Kalman Filter
Kalman Filter – Recursive Estimation
Prediction
Correction
Project State Ahead:
Project Error Covariance Ahead:
Update Error Covariance:
Update Estimate with Measurement:
Compute Kalman Gain:
CS491/691 C. Papachristos
Kalman Filter
Kalman Filter – Recursive Estimation
Prediction
Correction
Project State Ahead:
Project Error Covariance Ahead:
Update Error Covariance:
Update Estimate with Measurement:
Compute Kalman Gain:
CS491/691 C. Papachristos
Kalman Filter
Kalman Filter – Recursive Estimation
Prediction
Correction
Project State Ahead:
Project Error Covariance Ahead:
Update Error Covariance:
Update Estimate with Measurement:
Compute Kalman Gain:
more on EKF in�upcoming Lecture…
CS491/691 C. Papachristos
Time for Questions !
CS-491/691
CS491/691 C. Papachristos