Autonomous Mobile Robot Design

Similar documents
EKF, UKF. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

EKF, UKF. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

Autonomous Mobile Robot Design

Bayes Filter Reminder. Kalman Filter Localization. Properties of Gaussians. Gaussians. Prediction. Correction. σ 2. Univariate. 1 2πσ e.

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

CS491/691: Introduction to Aerial Robotics

Probabilistic Fundamentals in Robotics. DAUIN Politecnico di Torino July 2010

Introduction to Unscented Kalman Filter

L06. LINEAR KALMAN FILTERS. NA568 Mobile Robotics: Methods & Algorithms

Autonomous Navigation for Flying Robots

Unscented Transformation of Vehicle States in SLAM

Robot Mapping. Least Squares. Cyrill Stachniss

2D Image Processing (Extended) Kalman and particle filter

Robotics 2 Target Tracking. Kai Arras, Cyrill Stachniss, Maren Bennewitz, Wolfram Burgard

Kalman Filter. Predict: Update: x k k 1 = F k x k 1 k 1 + B k u k P k k 1 = F k P k 1 k 1 F T k + Q

L11. EKF SLAM: PART I. NA568 Mobile Robotics: Methods & Algorithms

Kalman filtering and friends: Inference in time series models. Herke van Hoof slides mostly by Michael Rubinstein

Introduction to Mobile Robotics Bayes Filter Kalman Filter

SLAM Techniques and Algorithms. Jack Collier. Canada. Recherche et développement pour la défense Canada. Defence Research and Development Canada

1 Kalman Filter Introduction

Advanced Techniques for Mobile Robotics Least Squares. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

L07. KALMAN FILTERING FOR NON-LINEAR SYSTEMS. NA568 Mobile Robotics: Methods & Algorithms

COS Lecture 16 Autonomous Robot Navigation

Nonlinear State Estimation! Particle, Sigma-Points Filters!

Probabilistic Graphical Models

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Pose Tracking II! Gordon Wetzstein! Stanford University! EE 267 Virtual Reality! Lecture 12! stanford.edu/class/ee267/!

Unscented Transformation of Vehicle States in SLAM

L03. PROBABILITY REVIEW II COVARIANCE PROJECTION. NA568 Mobile Robotics: Methods & Algorithms

EKF and SLAM. McGill COMP 765 Sept 18 th, 2017

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Introduction to Mobile Robotics SLAM: Simultaneous Localization and Mapping

The Unscented Particle Filter

Partially Observable Markov Decision Processes (POMDPs)

Nonlinear and/or Non-normal Filtering. Jesús Fernández-Villaverde University of Pennsylvania

Dual Estimation and the Unscented Transformation

Lecture: Gaussian Process Regression. STAT 6474 Instructor: Hongxiao Zhu

2D Image Processing. Bayes filter implementation: Kalman filter

2D Image Processing. Bayes filter implementation: Kalman filter

Robot Localization and Kalman Filters

Modeling and state estimation Examples State estimation Probabilities Bayes filter Particle filter. Modeling. CSC752 Autonomous Robotic Systems

Vlad Estivill-Castro. Robots for People --- A project for intelligent integrated systems

The Scaled Unscented Transformation

Local Positioning with Parallelepiped Moving Grid

Autonomous Mobile Robot Design

Simultaneous Localization and Mapping (SLAM) Corso di Robotica Prof. Davide Brugali Università degli Studi di Bergamo

From Bayes to Extended Kalman Filter

Lecture 6: Bayesian Inference in SDE Models

ADVANCED MACHINE LEARNING ADVANCED MACHINE LEARNING. Non-linear regression techniques Part - II

Lecture 7: Optimal Smoothing

Tampere University of Technology Tampere Finland

Reduced Sigma Point Filters for the Propagation of Means and Covariances Through Nonlinear Transformations

A Comparitive Study Of Kalman Filter, Extended Kalman Filter And Unscented Kalman Filter For Harmonic Analysis Of The Non-Stationary Signals

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Bastian Steder

Distributed Data Fusion with Kalman Filters. Simon Julier Computer Science Department University College London

Sensor Tasking and Control

ROBUST CONSTRAINED ESTIMATION VIA UNSCENTED TRANSFORMATION. Pramod Vachhani a, Shankar Narasimhan b and Raghunathan Rengaswamy a 1

Dynamic models 1 Kalman filters, linearization,

Introduction to Mobile Robotics Compact Course on Linear Algebra. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Kalman Filters. Derivation of Kalman Filter equations

State Estimation of Linear and Nonlinear Dynamic Systems

SLAM for Ship Hull Inspection using Exactly Sparse Extended Information Filters

TSRT14: Sensor Fusion Lecture 8

Probabilistic Fundamentals in Robotics

Kalman Filter Computer Vision (Kris Kitani) Carnegie Mellon University

Robotics. Mobile Robotics. Marc Toussaint U Stuttgart

Introduction to Machine Learning

Efficient Monitoring for Planetary Rovers

Constrained State Estimation Using the Unscented Kalman Filter

Visual SLAM Tutorial: Bundle Adjustment

E190Q Lecture 11 Autonomous Robot Navigation

Mobile Robotics 1. A Compact Course on Linear Algebra. Giorgio Grisetti

Error analysis of dynamics model for satellite attitude estimation in Near Equatorial Orbit

Particle Filters. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

2010 Small Satellite Systems and Services Symposium - Funchal, Madeira, Portugal 1

Mobile Robot Localization

Factor Analysis and Kalman Filtering (11/2/04)

UAV Navigation: Airborne Inertial SLAM

OPTIMAL ESTIMATION of DYNAMIC SYSTEMS

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 13: SEQUENTIAL DATA

On Underweighting Nonlinear Measurements

The Use of Short-Arc Angle and Angle Rate Data for Deep-Space Initial Orbit Determination and Track Association

Mini-Course 07 Kalman Particle Filters. Henrique Massard da Fonseca Cesar Cunha Pacheco Wellington Bettencurte Julio Dutra

Nonlinear Estimation Techniques for Impact Point Prediction of Ballistic Targets

the robot in its current estimated position and orientation (also include a point at the reference point of the robot)

ECE295, Data Assimila0on and Inverse Problems, Spring 2015

Lego NXT: Navigation and localization using infrared distance sensors and Extended Kalman Filter. Miguel Pinto, A. Paulo Moreira, Aníbal Matos

Probabilistic Fundamentals in Robotics. DAUIN Politecnico di Torino July 2010

Introduction to Mobile Robotics Bayes Filter Particle Filter and Monte Carlo Localization

Principles of the Global Positioning System Lecture 11

Adaptive Unscented Kalman Filter with Multiple Fading Factors for Pico Satellite Attitude Estimation

PROBABILISTIC REASONING OVER TIME

Probabilistic Graphical Models

GP-SUM. Gaussian Process Filtering of non-gaussian Beliefs

An introduction to particle filters

Using the Kalman Filter to Estimate the State of a Maneuvering Aircraft

Comparision of Probabilistic Navigation methods for a Swimming Robot

Particle Filters; Simultaneous Localization and Mapping (Intelligent Autonomous Robotics) Subramanian Ramamoorthy School of Informatics

A new unscented Kalman filter with higher order moment-matching

CSE 483: Mobile Robotics. Extended Kalman filter for localization(worked out example)

Transcription:

Autonomous Mobile Robot Design Topic: Extended Kalman Filter Dr. Kostas Alexis (CSE) These slides relied on the lectures from C. Stachniss, J. Sturm and the book Probabilistic Robotics from Thurn et al.

Kalman Filter Assumptions Gaussian distributions and noise Linear motion and observation model What if this is not the case?

Linearity Assumption Revisited

Nonlinear Function

Nonlinear Dynamical Systems Real-life robots are mostly nonlinear systems. The motion equations are expressed as nonlinear differential (or difference) equations: Also leading to a nonlinear observation function:

Taylor Expansion Solution: approximate via linearization of both functions Motion Function: Observation Function:

Reminder: Jacobian Matrix It is a non-square matrix mxn in general Given a vector-valued function: The Jacobian matrix is defined as:

Reminder: Jacobian Matrix It is the orientation of the tangent plane to the vector-valued function at a given point Courtesy: K. Arras Generalizes the gradient of a scaled-valued function.

Extended Kalman Filter For each time step, do: Apply Motion Model: Apply Sensor Model: where

Linearity Assumption Revisited

Nonlinear Function

EKF Linearization (1)

EKF Linearization (2)

EKF Linearization (3)

Linearized Motion Model The linearized model leads to: describes the noise of the motion.

Linearized Observation Model The linearized model leads to: describes the noise of the motion.

EKF Algorithm KF vs EKF

EKF Summary Extension of the Kalman Filter. One way to deal with nonlinearities. Performs local linearizations. Works well in practice for moderate nonlinearities. Large uncertainty leads to increased approximation error.

EKF Discussion IMU

EKF Discussion IMU + Compass GPS

EKF Discussion IMU + Compass Camera

Autonomous Mobile Robot Design Topic: Unscented Kalman Filter Dr. Kostas Alexis (CSE) These slides relied on the lectures from C. Stachniss, J. Sturm and the book Probabilistic Robotics from Thurn et al.

KF, EKF and UKF Kalman Filter requires linear models Extended Kalman Filter linearizes via Taylor expansion Is there a better way to deal with nonlinearities? Unscented Transform Unscented Kalman Filter

Taylor Approximation Linearization of the non-linear function through Taylor expansion

Unscented Transform Computes a set of so-called sigma points.

Unscented Transform Transforms each sigma point through the non-linear function.

Unscented Transform Computes the Gaussian from the transformed and weighted sigma points.

Unscented Transform Overview Compute a set of sigma points Each sigma points has a weight Transform the point through the non-linear function Compute a Gaussian from weighted points Avoids to linearize around the mean as Taylor expansion (and EKF) does

Sigma points properties How to choose the sigma points? How to se the weights? Select so that: There is no unique solution for

Sigma points Choosing the sigma points First sigma point is the mean

Sigma points Choosing the sigma points matrix square root dimensionality scaling parameter column vector

Matrix Square Root Defined as S with Σ = SS Computed via diagonalization

Matrix Square Root Thus we can define: so that:

Cholesky Matrix Square Root Alternative definition of the matrix square root: L with Σ = LL T Result of the Cholesky decomposition Numerically stable solution Often used in UKF implementations L and Σ have the same Eigenvectors

Sigma Points and Eigenvectors Sigma point can but does not have to lie on the main axes of Σ

Sigma Points Example

Sigma Points Weights Weight sigma points for computing the mean parameters for computing the covariance

Recover the Gaussian Compute Gaussian from weighted and transformed points

Example

Examples

Unscented Transform Summary Sigma points Weights

Unscented Transform Parameters Free parameters as there is no unique solution Scaled Unscented Transform suggests Influence how far the sigma points are away from the mean Optimal choice for Gaussians

EKF Algorithm

EKF to UKF: Prediction Unscented replace this by sigma point propagation of the motion

UKF Algorithm: Prediction

EKF to UKF: Correction Unscented replace this by sigma point propagation of the motion use sigma point propagation for the expected observation and Kalman gain

UKF Algorithm: Correction (1)

UKF Algorithm: Correction (1) (from EKF)

UKF Algorithm: Correction (2)

UKF Algorithm: Correction (1) (see next slide)

EKF-to-UKF: Computing the Covariance

UKF vs EKF

UKF vs EKF (small covariance)

UKF vs EKF Banana shape EKF approximation UKF approximation

UKF vs EKF

UT/UKF Summary Unscented transforms as an alternative to linearization UT is a better approximation than Taylor expansion UT uses sigma point propagation Free parameters in UT UKF uses the UT in the prediction and correction step

UKF vs EKF Same results as EKF for linear models Better approximation than EKF for non-linear models Differences often somewhat small No Jacobians needed for the UKF Same complexity class Slightly slower than the EKF Still restricted to Gaussian distributions

Code Examples and Tasks https://www.mathworks.com/help/vision/ref/estimatefundame ntalmatrix.html

How does this apply to my project? State estimation is the way to use robot sensors to infer the robot state. You will use it for estimating your robot pose or its map, to track and object and be able to follow it etc.

Find out more Thrun et al.: Probabilistic Robotics, Chapter 3 Schön and Lindsten: Manipulating the Multivariate Gaussian Density A New Extension of the Kalman Filter to Nonlinear Systems by Julier and Uhlmann, 1995 http://www.cs.unc.edu/~welch/kalman/ http://home.wlu.edu/~levys/kalman_tutorial/ https://github.com/rlabbe/kalman-and-bayesian-filters-in-python http://www.kostasalexis.com/literature-and-links.html

Thank you! Please ask your question!