Terrain Navigation Using the Ambient Magnetic Field as a Map

Similar documents
Pose tracking of magnetic objects

Sequential Monte Carlo in the machine learning toolbox

Inertial Odometry on Handheld Smartphones

System identification and sensor fusion in dynamical systems. Thomas Schön Division of Systems and Control, Uppsala University, Sweden.

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

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

AUTOMOTIVE ENVIRONMENT SENSORS

Dynamic Multipath Estimation by Sequential Monte Carlo Methods

Lecture 6: Bayesian Inference in SDE Models

TSRT14: Sensor Fusion Lecture 8

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

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Bayesian Methods in Positioning Applications

Calibration of a magnetometer in combination with inertial sensors

Lecture 7: Optimal Smoothing

Probabilistic numerics for deep learning

Gaussian with mean ( µ ) and standard deviation ( σ)

GWAS V: Gaussian processes

An introduction to particle filters

2D Image Processing. Bayes filter implementation: Kalman filter

Practical Bayesian Optimization of Machine Learning. Learning Algorithms

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

Computer Intensive Methods in Mathematical Statistics

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

2D Image Processing. Bayes filter implementation: Kalman filter

PILCO: A Model-Based and Data-Efficient Approach to Policy Search

Sensor Fusion: Particle Filter

Linear Dynamical Systems

Robust Monte Carlo Methods for Sequential Planning and Decision Making

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

Sensor Tasking and Control

Local Positioning with Parallelepiped Moving Grid

Neutron inverse kinetics via Gaussian Processes

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

Reliability Monitoring Using Log Gaussian Process Regression

Time Series Prediction by Kalman Smoother with Cross-Validated Noise Density

Artificial Intelligence

Part 1: Expectation Propagation

Lecture 2: From Linear Regression to Kalman Filter and Beyond

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 13: SEQUENTIAL DATA

Markov chain Monte Carlo methods for visual tracking

Introduction to Machine Learning

Introduction to Gaussian Processes

Nonparametric Bayesian Methods (Gaussian Processes)

GAUSSIAN PROCESS REGRESSION

Parallel Particle Filter in Julia

Learning Gaussian Process Models from Uncertain Data

Parameter Estimation. Industrial AI Lab.

TSRT14: Sensor Fusion Lecture 9

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

Inferring biological dynamics Iterated filtering (IF)

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

A Study of Covariances within Basic and Extended Kalman Filters

Gaussian Processes (10/16/13)

Multi-Sensor Fusion for Localization of a Mobile Robot in Outdoor Environments

Why Bayesian? Rigorous approach to address statistical estimation problems. The Bayesian philosophy is mature and powerful.

Rao-Blackwellized Particle Filter for Multiple Target Tracking

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

E190Q Lecture 10 Autonomous Robot Navigation

Partially Observable Markov Decision Processes (POMDPs)

Gaussian Processes in Machine Learning

Inertial Navigation and Various Applications of Inertial Data. Yongcai Wang. 9 November 2016

System identification and control with (deep) Gaussian processes. Andreas Damianou

Bayesian room-acoustic modal analysis

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

2D Image Processing (Extended) Kalman and particle filter

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

Robotics. Mobile Robotics. Marc Toussaint U Stuttgart

Gaussian Processes as Continuous-time Trajectory Representations: Applications in SLAM and Motion Planning

An introduction to Sequential Monte Carlo

Expectation Propagation Algorithm

Mobile Robot Localization

Localization. Howie Choset Adapted from slides by Humphrey Hu, Trevor Decker, and Brad Neuman

Expectation Propagation for Approximate Bayesian Inference

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

State Space Gaussian Processes with Non-Gaussian Likelihoods

Association studies and regression

The Kalman Filter (part 1) Definition. Rudolf Emil Kalman. Why do we need a filter? Definition. HCI/ComS 575X: Computational Perception.

Bayesian Regression Linear and Logistic Regression

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

Kernel adaptive Sequential Monte Carlo

Particle lter for mobile robot tracking and localisation

Gaussian Process Approximations of Stochastic Differential Equations

Pose tracking of magnetic objects

Mobile Robot Localization

Gaussian Mixture Filter in Hybrid Navigation

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

Bayesian Learning. HT2015: SC4 Statistical Data Mining and Machine Learning. Maximum Likelihood Principle. The Bayesian Learning Framework

Logistic Regression Review Fall 2012 Recitation. September 25, 2012 TA: Selen Uguroglu

1 Kalman Filter Introduction

Cheng Soon Ong & Christian Walder. Canberra February June 2018

How to build an automatic statistician

Bayesian Methods for Machine Learning

A Monte Carlo Sequential Estimation for Point Process Optimum Filtering

Nonparameteric Regression:

Density Estimation. Seungjin Choi

RAO-BLACKWELLIZED PARTICLE FILTER FOR MARKOV MODULATED NONLINEARDYNAMIC SYSTEMS

Expectation propagation for signal detection in flat-fading channels

Parallel Gaussian Process Optimization with Upper Confidence Bound and Pure Exploration

Midterm. Introduction to Machine Learning. CS 189 Spring Please do not open the exam before you are instructed to do so.

Transcription:

Terrain Navigation Using the Ambient Magnetic Field as a Map Aalto University IndoorAtlas Ltd. August 30, 017 In collaboration with M. Kok, N. Wahlström, T. B. Schön, J. Kannala, E. Rahtu, and S. Särkkä

Presentation Outline Terrain navigation Conclusion Magnetic terrain navigation Positioning by particle filtering Outline of the approach Example study Maps of the magnetic field /14

(Classical) Terrain Navigation 3/14

Terrain Matching in the Magnetic Landscape 4/14

Outline of the Approach I Magnetic terrain map: A Gaussian process model for the magnetic field estimate and its variance for any spatial location in the building. I Particle filtering: A sequential Monte Carlo approach for proposing different state histories and finding which one matches the data the best. I Pedestrian dead reckoning: A model for the movement of the person being tracked. 5/14

Maps of the Magnetic Field I A map of the magnetic field is required. I The magnetic field is a vector field. I A set of measurements of the magnetic field at known spatial points. 80 be concentrated to a single particle, and the filter I Interpolationweight andmight extrapolation of the estimate is thus only dependent on that one particle. 40 60 Magnetic norm (µt) Sample depletion avoided by resampling (step 3 in magnetic field done by ais Gaussian Alg. 1). By resampling new (representative) particles are creto replace those particles which have process (GP)atedregression model [1].become negligible. Resampling however increases uncertainty and therefore it threshold. measurements with prior information The effective number of particles (see [1] for discussion) gives a summary for sample depletion: from the physical properties of magnetic 1 n. (4) fields. [w ] eff i (i) k number the of effective samples is between 1 neff n, I The output istheboth mean and where the upper bound indicates that all particles are equally weighted and lowermagnetic bound that one particle marginal variance ofthethe fieldhas all the weight. Thus the resampling threshold can be determined, for to be n < n. at any spatialinstance, input. eff 3 If the terrain matching algorithm completely looses track of the position, the effective number of particles tends to drop drasticly at once. Therefore, on occasions when this happens, we propose a reinitialization strategy which resets the particle filter when the number of effective particles drop below 13 n on two consecutive steps. B. Pedestrian dead reckoning The knowledge of the movement of the target is encoded into the dynamical model in the terrain matching algorithm (step 1 in Alg. 1). In pedestrian positioning this model is 0 is avoided until needed, and therefore resampling is done I The model combines noisy when the number the of effective particles drops below a given Fig. 3: The norm of the and interpolated Magnitude ofmapped the magnetic field. magnetic field. The opacity of the magnetic field estimate follows the certainty (marginal standard deviation) of the Gaussian process estimate. The heading estimate 0 is initialized by matching the first magnetometer observation to the magnetic map, and it is updated from relative information provided by the AHRS system on each step: k = k 1 + k +qk, where qk N(0, tk /). The random walk models for the position and heading together define the dynamic (prediction) model xk+1 p(xk+1 xk ) (6) which is a probabilistic model for the transition between the Terrain Navigation Usingstate. the Ambient Magnetic Field as Map previous state and the next This model is driven byathe AHRS estimates of the orientation. We also use this model as 6/14 the importance distribution in the particle filter.

Maps of the Magnetic Field )= lin. x x, (8) 0 µt lin. (x, x I The magnetic wherefield magnitude scale hyperparameter. a vector field. lin. is ais 0 The local Earth s magnetic field contributes linearly to the scalar potential as I A map of the magnetic field is required. T For the local variations in the magnetic field we use a building structures: points. field at known spatial x x 40 squared exponential covariance function which allows for I A set of measurements of the magnetic modeling anomalies induced by small-scale fluctuations and (9) (a) x-component where the hyperparameters SE and SE represent the magnitude scale and the characteristic length-scale, respectively. The model now has four hyperparameters: two magnitude ), a length-scale parameter ( SE ), scale parameters ( lin. and SE and a noise scale parameter ( noise ). These parameters can be learned from the data by maximizing the marginal likelihood, or fixed to sensible values describing typical variation. The Gaussian process model can be used for modeling and interpolation of the local magnetic field by first collecting a batch of mapping data. This data consists of a set of input output pairs D = {(xi, yi )}ni=1 at a discrete set of spatial inputs xi and the (noisy) magnetic field observations yi R3 at those locations. In the following, we assume that the magnetic field readings collected during mapping are calibrated and corrected for rotation. The Gaussian process regression model in Equation (7) provides a means of estimating the predictive magnetic field observation y at an unseen test input x. Thus returning the following marginal predictions for the vector field components x, y, and z (j = 1,, 3): (b) y-component, SE (x, x ) = SE exp I Interpolation and extrapolation of the SE µt 0 magnetic field done by a Gaussian process (GP) regression model [1]. 0 0 measurements with prior information from the physical properties of magnetic fields. 0 I The model combines the noisy I The output is both the mean and yj, N(yj, E[yj, x, D], var[yj, x, D]). (10) This information can be utilized in the terrain matching algorithm (step in Alg. 1) during the update step, as it directly gives the required probability formulation p(y x) required during the weight calculation: 3 60 40 µt marginal variance of the magnetic field at any spatial input. (c) z-component Fig. 4: The components of the mapped and interpolated magnetic field. The opacity of the magnetic field estimate follows the certainty (marginal standard deviation) of the Gaussian process estimate. 7/14 TABLE I: Results for the 100 test paths (68 converged) each

Positioning by Particle Filtering I Probabilistic statistical inference on where the user is based on his/her history of magnetometer observations. I Concerned with state space models of form x k+1 p(x k+1 x k ), y k p(y k x k ). I State variables: user position and heading angle. I Combining assumptions of user movement (PDR) and... I... how the assumed positions match the magnetic field. 8/14

Positioning by Particle Filtering Initialization: Draw n samples from the prior x (i) 0 p(x 0), i = 1,...,n. For each time step k = 1,,... 1. Prediction: Draw samples x (i) k x (i) k from the importance distributions (x k x (i) k 1, y 1:k), i = 1,,...,n. This propagates the particles according to the PDR model.. Map matching: Calculate new weights according to w (i) k and normalize them to sum to unity. 3. Resampling / w (i) p(y k x (i) k ) p(x(i) k x (i) k 1 ) k 1 (x (i) k x (i) k 1, y 1:k) 9/14

Example Study I Case study: lin. (x, x )= lin. xt x, 0 The local Earth s magnetic field contributes linearly to the scalar potential as (8) 0 µt whereat Aalto is a magnitude scale hyperparameter. CS Building University. lin. Nexus 5 smartphone. x x x)= exp, (9) 867 m of mapping(x,paths in 15 min. Some 4 000 measurements. where the hyperparameters and represent the magni SE SE Collected two weeks later. Sampling rate in the test paths is 5 Hz. Each test case roughly 30 s long. 100 test paths altogether. I Setup: 0 tude scale and the characteristic length-scale, respectively. The model now has four hyperparameters: two magnitude ), a length-scale parameter ( SE ), scale parameters ( lin. and SE and a noise scale parameter ( noise ). These parameters can be learned from the data by maximizing the marginal likelihood, or fixed to sensible values describing typical variation. The Gaussian process model can be used for modeling and interpolation of the local magnetic field by first collecting a batch of mapping data. This data consists of a set of input output pairs D = {(xi, yi )}ni=1 at a discrete set of spatial inputs xi and the (noisy) magnetic field observations yi R3 at those locations. In the following, we assume that the magnetic field readings collected during mapping are calibrated and corrected for rotation. The Gaussian process regression model in Equation (7) provides a means of estimating the predictive magnetic field observation y at an unseen test input x. Thus returning the following marginal predictions for the vector field components x, y, and z (j = 1,, 3): µt I Test paths: (a) x-component SE 0 SE 0 SE 40 For the local variations in the magnetic field we use a squared exponential covariance function which allows for modeling anomalies induced by small-scale fluctuations and building structures: (b) y-component 0 I Mapping: yj, N(yj, E[yj, x, D], var[yj, x, D]). (10) This information can be utilized in the terrain matching algorithm (step in Alg. 1) during the update step, as it directly gives the required probability formulation p(y x) required during the weight calculation: 3 60 40 µt Particles n = 5000. Sensors calibrated off-line. (c) z-component Fig. 4: The components of the mapped and interpolated magnetic field. The opacity of the magnetic field estimate follows the certainty (marginal standard deviation) of the Gaussian process estimate. 10/14 TABLE I: Results for the 100 test paths (68 converged) each

Example Study The videos are available on YouTube: https://youtu.be/uuuo9q0ot1q 11/14

Conclusion I Good performance even using magnetic only: I Time-to-convergence: 1 s. I Distance-to-convergence: 13 m. I Error after convergence: 5 m (best case 1 m.). I What to do to take this further: I Sensor calibration. I Pedestrian dead-reckoning. I Further sensor fusion (satellite and radio). I SLAM. 1/14

Bibliography [1], Manon Kok, Niklas Wahlström, Thomas B. Schön, and Simo Särkkä. Modeling and interpolation of the ambient magnetic field by Gaussian processes. Accepted for publication in IEEE Transactions on Robotics. [], Simo Särkkä, Juho Kannala, and Esa Rahtu (016). Terrain navigation in the magnetic landscape: Particle filtering for indoor positioning. Proceedings of the European Navigation Conference. 13/14

I Come and see the poster! I Homepage: http://arno.solin.fi I Twitter: @arnosolin 14/14