kalman filter
play

Kalman Filter I've got it! Sequential Bayes Filtering is a - PowerPoint PPT Presentation

Kalman Filter I've got it! Sequential Bayes Filtering is a general approach to state estimation that gets used all over the place. But, implementations like histogram filters or Kalman filters are computationally complex. Is it


  1. Kalman Filter I've got it! • Sequential Bayes Filtering is a general approach to state estimation that gets used all over the place. • But, implementations like histogram filters or Kalman filters are computationally complex. • Is it always this way? Is Bayes filtering ever simple?

  2. Why Kalman filtering? In general: state estimation Image: Thrun et al. , Probabilistic Robotics Kalman filters are particularly well suited for tracking moving objects Image: UBC, Kevin Murphy Matlab toolbox

  3. Review of sequential Bayes filtering Process update: Measurement update:

  4. Review of sequential Bayes filtering Image: Thrun et al. , Probabilistic Robotics

  5. Transition function Recall the state transition function: Next state Current state – this probability can be expressed as a table: Can also be expressed as a function: or:

  6. Linear system A linear system is any system where: (technically, this is a linear Gaussian system) Also written:

  7. Linear system: Example k m b Equation of motion: How get it into this form?

  8. Linear system: Example k m b Equation of motion: How get it into this form? Integrate forward one timestep:

  9. Linear system A linear system is any system where: (technically, this is a linear Gaussian system) Also written: Also, assume that the observation function is linear Gaussian:

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

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

  12. Gaussians Univariate Gaussian: Multivariate Gaussian:

  13. Playing w/ Gaussians Suppose: Calculate: y y x x

  14. In fact Suppose: Then:

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

  16. And Suppose: Then: Marginal distribution

  17. Does this remind us of anything?

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

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

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

  21. Observation update Observation update: Where:

  22. Observation update Observation update: Where:

  23. Observation update Observation update: Where:

  24. Observation update But we need:

  25. Another Gaussian identity... Suppose: Calculate:

  26. Observation update But we need:

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

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

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

  30. 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

  31. 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

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

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

  34. Example: filling a tank Level of tank Fill rate Process: Observation:

  35. Example: estimate velocity

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

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

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

  39. 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

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

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

  42. To summarize the EKF Prior: Process update: Measurement update:

  43. Extended Kalman filter Image: Thrun et al. , CS233B course notes

  44. Extended Kalman filter Image: Thrun et al. , CS233B course notes

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