filtering and robot localization
play

Filtering and Robot Localization Robert Platt Northeastern - PowerPoint PPT Presentation

Filtering and Robot Localization Robert Platt Northeastern University Where am I? Image: Berkeley CS188 course notes (downloaded Summer 2015) Robot localization example Robot is actually located here, but it doesn't know it. Prob Gray level


  1. Importance Sampling Question: how estimate expected values if cannot draw samples from f(x) – suppose all we can do is evaluate f(x) at a given point... Answer: draw samples from a different distribution and weight them Proposal distribution where are samples drawn from and Image: Thrun CS223b Course Notes (downloaded Summer 2015)

  2. Particle Filter Prior distribution

  3. Particle Filter Prior distribution Process update

  4. Particle Filter Prior distribution Process update Observation update

  5. Particle Filter Prior distribution Process update Observation update Resample w/ prob Do this n times

  6. Particle Filter Prior distribution

  7. Particle Filter Prior distribution Measurement update

  8. Particle Filter Resampling Process update

  9. Particle Filter Measurement update

  10. Particle Filter Process update Measurement update

  11. Particle Filter Example

  12. Particle Filter Example

  13. Particle Filtering Pros: Cons: – works in continuous spaces – parameters to tune – can represent multi-modal distributions – sample impoverishment

  14. Sample Impoverishment Pros: Cons: – works in continuous spaces – parameters to tune – can represent multi-modal distributions – sample impoverishment No particles nearby the true system state

  15. Sample Impoverishment Prior distribution If there aren't enough samples, then we might ``resample away'' the true state... Process update Observation update Resample w/ prob Do this n times

  16. Sample Impoverishment Prior distribution If there aren't enough samples, then we might ``resample away'' the true state... Process update One solution: add an additional k samples drawn completely at random Observation update Resample w/ prob Do this n times

  17. Sample Impoverishment Prior distribution If there aren't enough samples, then we might ``resample away'' the true state... Process update One solution: add an additional k samples drawn completely at random BUT: there's always a chance that the true state won't be represented well by the particles... Observation update Resample w/ prob Do this n times

  18. Kalman Filtering Another way to adapt Sequential Bayes Filtering to continuous state spaces – relies on representing the probability distribution as a Gaussian – first developed in the early 1960s (before general Bayes filtering); used in Apollo program Image: UBC, Kevin Murphy Matlab toolbox

  19. Kalman Idea initial position prediction measurement update y y y y x x x x Image: Thrun et al. , CS233B course notes

  20. Kalman Idea Image: Thrun et al. , CS233B course notes posterior Measurement evidence prior Image: Thrun et al. , CS233B course notes

  21. Gaussians ● Univariate Gaussian: ● Multivariate Gaussian:

  22. Playing w/ Gaussians ● Suppose: ● Calculate: y y x x

  23. In fact ● Suppose: ● Then:

  24. Illustration Image: Thrun et al. , CS233B course notes

  25. And Suppose: Then: Marginal distribution

  26. Does this remind us of anything?

  27. Does this remind us of anything? Process update (discrete): Process update (continuous):

  28. Does this remind us of anything? Process update (discrete): Process update (continuous): transition dynamics prior

  29. Does this remind us of anything? Process update (discrete): Process update (continuous): transition dynamics prior

  30. Observation update Observation update: Where:

  31. Observation update Observation update: Where:

  32. Observation update Observation update: Where:

  33. Observation update But we need:

  34. Another Gaussian identity... Suppose: Calculate:

  35. Observation update But we need:

  36. To summarize the Kalman filter System: Prior: Process update: Measurement update:

  37. Suppose there is an action term... System: Prior: Process update: Measurement update:

  38. To summarize the Kalman filter Prior: Process update: Measurement update: This factor is often called the “Kalman gain”

  39. Things to note about the Kalman filter Process update: Measurement update: – covariance update is independent of observation – Kalman is only optimal for linear-Gaussian systems – the distribution “stays” Gaussian through this update – the error term can be thought of as the different between the observation and the prediction

  40. Kalman in 1D System: Image: Thrun et al. , CS233B course notes Process update: Measurement update: posterior Measurement evidence prior Image: Thrun et al. , CS233B course notes

  41. Kalman Idea initial position prediction measurement update x x x x ˙ ˙ ˙ ˙ x x x x Image: Thrun et al. , CS233B course notes

  42. Example: estimate velocity prediction past measurements Image: Thrun et al. , CS233B course notes

  43. Example: filling a tank Level of tank Fill rate Process: Observati on:

  44. Example: estimate velocity

  45. But, my system is NON-LINEAR! What should I do?

  46. But, my system is NON-LINEAR! ● What should I do? Well, there are some options... ●

  47. But, my system is NON-LINEAR! ● What should I do? Well, there are some options... ● But none of them are great. ●

  48. But, my system is NON-LINEAR! ● What should I do? Well, there are some options... But none of them are great. Here's one: the Extended Kalman Filter

  49. Extended Kalman filter Take a Taylor expansion: Where: Where:

  50. Extended Kalman filter Take a Taylor expansion: Where: Where: Then use the same equations...

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend