AUTOMOTIVE ENVIRONMENT SENSORS

Similar documents
Autonomous Mobile Robot Design

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

2D Image Processing. Bayes filter implementation: Kalman filter

CIS 390 Fall 2016 Robotics: Planning and Perception Final Review Questions

2D Image Processing. Bayes filter implementation: Kalman filter

2D Image Processing (Extended) Kalman and particle filter

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

Mobile Robot Localization

Sensor Fusion: Particle Filter

Particle Filters. Outline

Mobile Robot Localization

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

TSRT14: Sensor Fusion Lecture 8

L09. PARTICLE FILTERING. NA568 Mobile Robotics: Methods & Algorithms

Bayesian Methods in Positioning Applications

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

ECE276A: Sensing & Estimation in Robotics Lecture 10: Gaussian Mixture and Particle Filtering

Autonomous Navigation for Flying Robots

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

Simultaneous Localization and Mapping

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

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

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 13: SEQUENTIAL DATA

From Bayes to Extended Kalman Filter

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

Why do we care? Examples. Bayes Rule. What room am I in? Handling uncertainty over time: predicting, estimating, recognizing, learning

Lecture 2: From Linear Regression to Kalman Filter and Beyond

A Comparison of the EKF, SPKF, and the Bayes Filter for Landmark-Based Localization

CS491/691: Introduction to Aerial Robotics

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber

Probability Map Building of Uncertain Dynamic Environments with Indistinguishable Obstacles

SYDE 372 Introduction to Pattern Recognition. Probability Measures for Classification: Part I

An introduction to particle filters

Lecture 7: Optimal Smoothing

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Parallel Particle Filter in Julia

Dynamic System Identification using HDMR-Bayesian Technique

Robotics. Mobile Robotics. Marc Toussaint U Stuttgart

Linear Dynamical Systems

CS325 Artificial Intelligence Ch. 15,20 Hidden Markov Models and Particle Filtering

ROBOTICS 01PEEQW. Basilio Bona DAUIN Politecnico di Torino

Robots Autónomos. Depto. CCIA. 2. Bayesian Estimation and sensor models. Domingo Gallardo

Why do we care? Measurements. Handling uncertainty over time: predicting, estimating, recognizing, learning. Dealing with time

Markov localization uses an explicit, discrete representation for the probability of all position in the state space.

CS 532: 3D Computer Vision 6 th Set of Notes

BAYESIAN DECISION THEORY

Bayesian Methods / G.D. Hager S. Leonard

Terrain Navigation Using the Ambient Magnetic Field as a Map

State-Space Methods for Inferring Spike Trains from Calcium Imaging

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

Parametric Models. Dr. Shuang LIANG. School of Software Engineering TongJi University Fall, 2012

Lecture 6: Markov Chain Monte Carlo

Introduction to Mobile Robotics Probabilistic Robotics

COS Lecture 16 Autonomous Robot Navigation

Introduction to Machine Learning

Sensor Tasking and Control

Par$cle Filters Part I: Theory. Peter Jan van Leeuwen Data- Assimila$on Research Centre DARC University of Reading

Probabilistic Fundamentals in Robotics. DAUIN Politecnico di Torino July 2010

Robot Localization and Kalman Filters

Content.

Bayesian Inference and MCMC

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

Probabilistic Graphical Models

Multivariate statistical methods and data mining in particle physics

Rao-Blackwellized Particle Filtering for 6-DOF Estimation of Attitude and Position via GPS and Inertial Sensors

ECE295, Data Assimila0on and Inverse Problems, Spring 2015

Robotics. Lecture 4: Probabilistic Robotics. See course website for up to date information.

Parameter Estimation. Industrial AI Lab.

EVALUATING SYMMETRIC INFORMATION GAP BETWEEN DYNAMICAL SYSTEMS USING PARTICLE FILTER

The Kalman Filter ImPr Talk

Sequential Bayesian Updating

Mathematical Formulation of Our Example

A Probabilistic Relational Model for Characterizing Situations in Dynamic Multi-Agent Systems

Abnormal Activity Detection and Tracking Namrata Vaswani Dept. of Electrical and Computer Engineering Iowa State University

Recursive Estimation

Human Pose Tracking I: Basics. David Fleet University of Toronto

Local Positioning with Parallelepiped Moving Grid

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

Efficient Monitoring for Planetary Rovers

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

arxiv: v1 [cs.ro] 1 May 2015

Particle Filters: Convergence Results and High Dimensions

Recursive Bayes Filtering

Target Tracking and Classification using Collaborative Sensor Networks

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

Lecture 6: Multiple Model Filtering, Particle Filtering and Other Approximations

Cheng Soon Ong & Christian Walder. Canberra February June 2018

Lecture 6: Bayesian Inference in SDE Models

Strong Lens Modeling (II): Statistical Methods

Sequential Monte Carlo and Particle Filtering. Frank Wood Gatsby, November 2007

Rao-Blackwellized Particle Filter for Multiple Target Tracking

Nonparametric Bayesian Methods (Gaussian Processes)

Exercises Tutorial at ICASSP 2016 Learning Nonlinear Dynamical Models Using Particle Filters

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

E190Q Lecture 10 Autonomous Robot Navigation

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

Computer Vision Group Prof. Daniel Cremers. 11. Sampling Methods

Sampling Based Filters

Expectation Propagation in Dynamical Systems

Improved Particle Filtering Based on Biogeography-based Optimization for UGV Navigation

Transcription:

AUTOMOTIVE ENVIRONMENT SENSORS Lecture 5. Localization BME KÖZLEKEDÉSMÉRNÖKI ÉS JÁRMŰMÉRNÖKI KAR 32708-2/2017/INTFIN SZÁMÚ EMMI ÁLTAL TÁMOGATOTT TANANYAG

Related concepts Concepts related to vehicles moving in an environment: State estimation Localization Mapping SLAM (simultaneous localization and mapping) Navigation, motion planning General term describing this field: Robot Mapping 2

Related concepts State estimation: in this context the state to be estimated is the position (and orientation) of the vehicle and the positions of the landmarks or other features that are recognized in the environment Localization: determining the position of the vehicle on a given map Mapping: building a map of the environment with known vehicle positions SLAM: simultaneous localization and mapping, vehicle position and map is unknown Navigation: given a map the vehicle autonomously chooses a path and reaches the destination 3

Localization Scenario: The map is known Vehicle position is unknown We can perform measurements that give us information about the environment We have a model of the vehicle motion and the measurement process Find and track the vehicle on the map 4

Bayes formalism Conditional probability (definition) P A B P(A B) P(B) Ω P A B = P A B P B = P B A P(A) Independent events P A B = P A P B A = P B P A B = P A P(B) Collectively exhaustive events N ራ B i = Ω B i B j = i=1 B A 5

Bayes formalism Law of total probabilities: N N P A = P A B i = P A B i P(B i ) Ω i=1 i=1 B 1 A B N Bayes theorem: P B k A = P A B k P(B k ) P(A) = P A B k P(B k ) σ N i=1 P A B i P(B i ) B 2 Usual terminology: Posterior: Prior: Likelihood: P( Bk A ) P( A B k ) PB ( ) Evidence, marginal likelihood: k PA ( ) 6

Bayes formalism (notations) Position of the vehicle at time t is x t Trajectory of the vehicle is the sequence of its positions in time: x 0, x 1, x 2,, x t short notation is x 0:t or x t Environment sensors produce the measurement z t We want to estimate p x 1:t z 1:t trajectory p x t z 1:t actual position 7

Bayes estimation p x t z 1:t = p z t x t p(x t z 1:t 1 ) p(z t z 1:t 1 ) Can be computed in a recursive form: p z t x t likelihood, can be constructed from sensor model p(z t z 1:t 1 ) evidence or normalizing factor given by the integral: p z t z t 1 = න p z t x t p x t z t 1 dx t p x t z 1:t 1 the prior is given by the time prediction integral: p x t z 1:t 1 = න p x t x t 1 p x t 1 z 1:t 1 dx t 1 motion model previous posterior 8

Bayes estimation Computing the integrals is hard, generally no analytic solution exists thus we need to approximate In special cases exact solutions can be given: linear models and Gaussian noises leads to the Kalman filter In case of nonlinear systems and arbitrary noise models we can use particle filters to evaluate the filtering equations 9

Particle filter An arbitrary distribution can be approximated by particles, that are discrete samples taken from the distribution. Monte Carlo sampling Approximating a distribution: a) Original distribution b) One Gaussian c) Gaussian suml d) Histogram e) Step (Riemann) approx. f) Monte Carlo sampling 10

Particle filter Particle filter (PF): recursive algorithm for estimating in the Bayes formalism. Can handle multimodal distributions, no Gaussian noise constrain System model can be nonlinear Non-parametric estimator, that can approximate a distribution without a known analytic form 11

Particle filter The distribution is represented by a set of weighted samples (particles) The method is effective when the samples are chosen properly How to generate particles? The function to be determined is the a posteriori which is unknown, can't sample from that We choose an other function that can be sampled and does not differ much The weights take the differences into account We can always sample from a uniform distribution but it is not effective 12

Importance weights Function f should be approximated, but cannot be sampled Instead we sample g, which is called the importance density Every particle x gets weighted by the factor f(x) g(x) In Bayes estimation f is the posterior and g is the prior In the simplest case (bootstrap particle filter) the weights are the likelihoods, which is given by the sensor model p z t x t If g and f are similar then the weights differ little Try to choose an importance density that minimizes the variance of the weights 13

Bootstrap particle filter One recursion step: (i) 1. Input: x k 1, zk, i = 1 N (i) 2. Sample from the prior: x k k 1 ~p x k x k 1 (i) (i) 3. Importance weights: w k = p zt x k k 1 4. Normalize weights: σ N (i) i=1 w k = 1 5. Resample N times with replacement from the prior (i) pool x k k 1. Each particle is drawn with probability equal to its weight. (i) 6. Output: x k 14

Difficulties in particle filtering Curse of dimensionality As the state space grows the number of particles needed to cover it grows exponentially The likelihood function becomes a narrow spike and most of the particles will have negligible weight Particle degeneration We want to approximate a continuous PDF but in the resampling step we draw particles from a discrete pool. We need to introduce some variance. Precise measurement It also causes a narrow likelihood function. Can happen that all particle will get zero weight. 15

Dealing with difficulties In case of noise free sensors (lidar) add artificial noise to the measurements Resample only when the effective sample size is under a threshold 1 N eff = σ(w i ) 2 After resampling perform kernel density estimation Epanechnikov kernel is optimal in a mean square error sense 16

References Robot Mapping: course at University of Freiburg (online videos) http://ais.informatik.unifreiburg.de/teaching/ws13/mapping/ Probabilistic Robotics (Sebastian Thrun, 2006): book http://www.probabilistic-robotics.org/ 17

Example in Matlab 18