25
EKF and UKF Day 24 1

EKF and UKF

  • Upload
    sanaa

  • View
    57

  • Download
    1

Embed Size (px)

DESCRIPTION

Day 24. EKF and UKF. EKF and RoboCup Soccer. simulation of localization using EKF and 6 landmarks (with known correspondences) robot travels in a circular arc of length 90cm and rotation 45deg. EKF Prediction Step. - PowerPoint PPT Presentation

Citation preview

Page 1: EKF and UKF

EKF and UKFDay 24

1

Page 2: EKF and UKF

EKF and RoboCup Soccer• simulation of localization using EKF and 6

landmarks (with known correspondences)• robot travels in a circular arc of length

90cm and rotation 45deg

2

Page 3: EKF and UKF

EKF Prediction Step• recall that in the prediction step the

state mean and covariance are projected forward in time using the plant model

3

tTtttt

ttt

RGG

ug

1

1),(

Page 4: EKF and UKF

4

EKF Prediction Step

positionand

covarianceat previoustime step

Page 5: EKF and UKF

5

EKF Prediction Stepuncertainty

due tocontrol noise(small transl.

and rot. noise)

Page 6: EKF and UKF

6

EKF Prediction Stepprevious

uncertaintyprojectedthroughprocessmodel

Page 7: EKF and UKF

7

EKF Prediction Stepnet

predicteduncertainty

Page 8: EKF and UKF

8

EKF Prediction Stepuncertainty

due tocontrol noise(large transl.

and smallrot. noise)

Page 9: EKF and UKF

9

EKF Prediction Stepuncertainty

due tocontrol noise(small transl.

and largerot. noise)

Page 10: EKF and UKF

10

EKF Prediction Stepuncertainty

due tocontrol noise(large transl.

and largerot. noise)

Page 11: EKF and UKF

EKF Observation Prediction Step• in the first part of the correction step,

the measurement model is used to predict the measurement and its covariance using the predicted state and its covariance

11

tTtttt

tt

QHHS

hz

)(

Page 12: EKF and UKF

12

EKF Observation Prediction Step

landmarkobservation

predictedstate withcovariance predicted

landmarkobservation

Page 13: EKF and UKF

13

EKF Observation Prediction Step

landmarkobservation

predictedstate with

uncertainty observationuncertainty

Page 14: EKF and UKF

14

EKF Observation Prediction Step

landmarkobservation

predictedstate withcovariance

uncertaintydue to

uncertaintyin predicted

robot position

Page 15: EKF and UKF

15

EKF Observation Prediction Step

landmarkobservation

predictedstate withcovariance

innovation(differencebetween

predicted andactual observations)

Page 16: EKF and UKF

16

EKF Observation Prediction Step

landmarkobservation

predictedstate with

uncertainty

observationuncertainty

(large distanceuncertainty)

Page 17: EKF and UKF

17

EKF Observation Prediction Step

landmarkobservation

predictedstate with

uncertainty

observationuncertainty

(large bearinguncertainty)

Page 18: EKF and UKF

EKF Correction Step• the correction step updates the state

estimate using the innovation vector and the measurement prediction uncertainty

18

tttt

ttttt

tTttt

HKIzzK

SHK

)()(

1

Page 19: EKF and UKF

19

EKF Correction Stepinnovation(differencebetween

predicted andactual observations)

innovation scaledand mapped into

state space

Page 20: EKF and UKF

20

EKF Correction Stepcorrected

state meancorrected

stateuncertainty

Page 21: EKF and UKF

21

EKF Correction Step

Page 22: EKF and UKF

22

Estimation Sequence (1)

motion modelestimated path

true path

landmarkmeasurement

event

initialposition

uncertainty

predictedposition

uncertainty

correctedposition

uncertainty

EKFestimated

path

Page 23: EKF and UKF

23

Estimation Sequence (2)

same as previous but with greater measurement uncertainty

Page 24: EKF and UKF

24

Comparison to GroundTruth

Page 25: EKF and UKF

25

EKF Summary

• Highly efficient: Polynomial in measurement dimensionality k and state dimensionality n: O(k2.376 + n2)

• Not optimal!• Can diverge if nonlinearities are large!• Works surprisingly well even when all

assumptions are violated!