Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

Mobile Robot Localization and Mapping using the Kalman Filter
Probabilistic Reasoning over Time
Lab 2 Lab 3 Homework Labs 4-6 Final Project Late No Videos Write up
Observers and Kalman Filters
Kalman Filter CMPUT 615 Nilanjan Ray. What is Kalman Filter A sequential state estimator for some special cases Invented in 1960’s Still very much used.
Introduction to Mobile Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics: Kalman Filters
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Introduction to Kalman Filter and SLAM Ting-Wei Hsu 08/10/30.
Mobile Intelligent Systems 2004 Course Responsibility: Ola Bengtsson.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Tracking using the Kalman Filter. Point Tracking Estimate the location of a given point along a sequence of images. (x 0,y 0 ) (x n,y n )
Discriminative Training of Kalman Filters P. Abbeel, A. Coates, M
Probabilistic Robotics
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Course AE4-T40 Lecture 5: Control Apllication
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Novel approach to nonlinear/non- Gaussian Bayesian state estimation N.J Gordon, D.J. Salmond and A.F.M. Smith Presenter: Tri Tran
Kalman Filtering Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read.
RLSELE Adaptive Signal Processing 1 Recursive Least-Squares (RLS) Adaptive Filters.
ROBOT MAPPING AND EKF SLAM
Slam is a State Estimation Problem. Predicted belief corrected belief.
1 Formation et Analyse d’Images Session 7 Daniela Hall 7 November 2005.
Lecture 11: Kalman Filters CS 344R: Robotics Benjamin Kuipers.
Computer vision: models, learning and inference Chapter 19 Temporal models.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 6.2: Kalman Filter Jürgen Sturm Technische Universität München.
Computer vision: models, learning and inference Chapter 19 Temporal models.
Kalman Filter (Thu) Joon Shik Kim Computational Models of Intelligence.
Jamal Saboune - CRV10 Tutorial Day 1 Bayesian state estimation and application to tracking Jamal Saboune VIVA Lab - SITE - University.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
Karman filter and attitude estimation Lin Zhong ELEC424, Fall 2010.
Human-Computer Interaction Kalman Filter Hanyang University Jong-Il Park.
Mobile Robot Localization (ch. 7)
2 Introduction to Kalman Filters Michael Williams 5 June 2003.
Geology 5670/6670 Inverse Theory 21 Jan 2015 © A.R. Lowry 2015 Read for Fri 23 Jan: Menke Ch 3 (39-68) Last time: Ordinary Least Squares Inversion Ordinary.
An Introduction to Kalman Filtering by Arthur Pece
HCI / CprE / ComS 575: Computational Perception Instructor: Alexander Stoytchev
NCAF Manchester July 2000 Graham Hesketh Information Engineering Group Rolls-Royce Strategic Research Centre.
Unscented Kalman Filter 1. 2 Linearization via Unscented Transform EKF UKF.
An Introduction To The Kalman Filter By, Santhosh Kumar.
Short Introduction to Particle Filtering by Arthur Pece [ follows my Introduction to Kalman filtering ]
Using Kalman Filter to Track Particles Saša Fratina advisor: Samo Korpar
By: Aaron Dyreson Supervising Professor: Dr. Ioannis Schizas
Extended Kalman Filter
Nonlinear State Estimation
Cameron Rowe.  Introduction  Purpose  Implementation  Simple Example Problem  Extended Kalman Filters  Conclusion  Real World Examples.
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Kalman Filter with Process Noise Gauss- Markov.
The Unscented Kalman Filter for Nonlinear Estimation Young Ki Baik.
Robust Localization Kalman Filter & LADAR Scans
VANET – Stochastic Path Prediction Motivations Route Discovery Safety Warning Accident Notifications Strong Deceleration of Tra ffi c Flow Road Hazards.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probability Theory and Parameter Estimation I
Using Sensor Data Effectively
Ch3: Model Building through Regression
CH 5: Multivariate Methods
PSG College of Technology
Probabilistic Robotics
Kalman Filtering: Control with Limited/Noisy Measurements
Lecture 10: Observers and Kalman Filters
Filtering and State Estimation: Basic Concepts
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Bayes and Kalman Filter
Extended Kalman Filter
Kalman Filtering COS 323.
Kalman Filter: Bayes Interpretation
Extended Kalman Filter
Presentation transcript:

Estimation and the Kalman Filter David Johnson

The Mean of a Discrete Distribution “I have more legs than average”

Gaussian Definition --   Univariate  Multivariate 2 2 )( )( :),(~)(        x exp Nxp )()( 2 1 2/1 2/ 1 )2( 1 )( :)(~)( μxΣμx Σ x Σμx    t ep,Νp d 

Back to the non-evolving case Two different processes measure the same thing Want to combine into one better measurement Estimation

What is meant by estimation? Data + noise Estimator Estimation H z ŷ Stochastic process estimate

A Least-Squares Approach We want to fuse these measurements to obtain a new estimate for the range Using a weighted least-squares approach, the resulting sum of squares error will be Minimizing this error with respect to yields

A Least-Squares Approach Rearranging we have If we choose the weight to be we obtain

For merging Gaussian distributions, the update rule is A Least-Squares Approach Show for N(0,a) N(0,b)

What happens when you move? derive

Moving As you move –Uncertainty grows –Need to make new measurements –Combine measurements using Kalman gain

The Kalman Filter “an optimal recursive data processing algorithm” OPTIMAL: -Linear dynamics -Measurements linear w/r to state -Errors in sensors and dynamics must be zero-mean (un-bias) white Gaussian RECURSIVE: -Does not require all previous data -Incoming measurements ‘modify’ current estimate DATA PROCESSING ALGORITHM: The Kalman filter is essentially a technique of estimation given a system model and concurrent measurements (not a function of frequency)

The Discrete Kalman Filter Estimate the state of a discrete-time controlled process that is governed by the linear stochastic difference equation: with a measurement: The random variables w k and v k represent the process and measurement noise (respectively). They are assumed to be independent (of each other), white, and with normal probability distributions In practice, the process noise covariance and measurement noise covariance matrices might change with each time step or measurement. (PDFs)

The Discrete Kalman Filter First part – model forecast: prediction “prior” estimate Process noise covariance State transition State prediction Error covariance prediction Control signal Prediction is based only the model of the system dynamics.

The Discrete Kalman Filter Second part – measurement update: correction “posterior” estimate state correction “prior” state prediction Kalman gain actual measurement predicted measurement update error covariance matrix (posterior)

The Discrete Kalman Filter The Kalman gain, K: “Do I trust my model or measurements?” variance of the predicted states = variance of the predicted + measured states measurement sensitivity matrix measurement noise covariance As measurement error covariance, R, approaches zero, the actual measurement, z k is “trusted” more and more. is trusted less and less But, as the “prior” (predicted) estimate error covariance, P, approaches zero, the actual measurement is trusted less, and predicted measurement, is trusted more and more

Estimate a constant voltage Measurements have noise Update step is Measurement step is

Results

Variance

Parameter tuning

More tuning

The Extended Kalman (EKF) is a sub-optimal extension of the original KF algorithm The EKF allows for estimation of non-linear processes or measurement relationships This is accomplished by linearizing the current mean and covariance estimates (similar to a first order Taylor series approximation) Suppose our process and measurement equations are the non- linear functions The Extended Kalman Filter (EKF) Kalman FilterExtended Kalman Filter

Linearity Assumption Revisited

Non-linear Function

EKF Linearization (1)

EKF Linearization (2)

EKF Linearization (3)