1 / 11

Smoother Pieter Abbeel UC Berkeley EECS

Smoother Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun , Burgard and Fox, Probabilistic Robotics. TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A A A A. Overview. Filtering: Smoothing:

felcia
Download Presentation

Smoother Pieter Abbeel UC Berkeley EECS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Smoother Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAAAAA

  2. Overview • Filtering: • Smoothing: • Note: by now it should be clear that the “u” variables don’t really change anything conceptually, and going to leave them out to have less symbols appear in our equations. X0 X0 Xt-1 Xt-1 Xt Xt Xt+1 XT z0 z0 zt-1 zt-1 zt zt zt+1 zT

  3. Filtering • Generally, recursively compute:

  4. Smoothing • Generally, recursively compute: • Forward: (same as filter) • Backward: • Combine:

  5. Complete Smoother Algorithm • Forward pass (= filter): • Backward pass: • Combine: Note 1: computes for all times t in one forward+backward pass Note 2: can find P(xt | z0, …, zT) by simply renormalizing

  6. Important Variation • Find • Recall: • So we can readily compute (Law of total probability) (Markov assumptions) (definitions a, b)

  7. Exercise • Find

  8. Kalman Smoother • = smoother we just covered instantiated for the particular case when P(xt+1 | xt) and P(zt | xt) are linear Gaussians • We already know how to compute the forward pass (=Kalman filtering) • Backward pass: • Combination:

  9. Kalman Smoother Backward Pass • TODO: work out integral for bt • TODO: insert backward pass update equations • TODO: insert combination  bring renormalization constant up front so it’s easy to read off P(xt | z0, …, zT)

  10. Matlab code data generation example • A = [ 0.99 0.0074; -0.0136 0.99]; C = [ 1 1 ; -1 +1]; • x(:,1) = [-3;2]; • Sigma_w = diag([.3 .7]); Sigma_v = [2 .05; .05 1.5]; • w = randn(2,T); w = sqrtm(Sigma_w)*w;v = randn(2,T); v = sqrtm(Sigma_v)*v; • for t=1:T-1 x(:,t+1) = A * x(:,t) + w(:,t); y(:,t) = C*x(:,t) + v(:,t); end • % now recover the state from the measurements • P_0 = diag([100 100]); x0 =[0; 0]; • % run Kalman filter and smoother here • % + plot

  11. Kalman filter/smoother example

More Related