Beam Sensor Models Pieter Abbeel UC Berkeley EECS

19
Beam Sensor Models Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

description

Beam Sensor Models 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. Proximity Sensors. - PowerPoint PPT Presentation

Transcript of Beam Sensor Models Pieter Abbeel UC Berkeley EECS

Page 1: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

Beam Sensor Models

Pieter AbbeelUC Berkeley EECS

Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

Page 2: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

2

Proximity Sensors

The central task is to determine P(z|x), i.e., the probability of a measurement z given that the robot is at position x.

Question: Where do the probabilities come from?

Approach: Let’s try to explain a measurement.

Page 3: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

3

Beam-based Sensor Model Scan z consists of K measurements.

Individual measurements are independent given the robot position.

},...,,{ 21 Kzzzz

K

kk mxzPmxzP

1

),|(),|(

Page 4: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

4

Beam-based Sensor Model

K

kk mxzPmxzP

1

),|(),|(

Page 5: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

5

Typical Measurement Errors of an Range Measurements

1. Beams reflected by obstacles

2. Beams reflected by persons / caused by crosstalk

3. Random measurements

4. Maximum range measurements

Page 6: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

6

Proximity Measurement Measurement can be caused by …

a known obstacle. cross-talk. an unexpected obstacle (people, furniture, …). missing all obstacles (total reflection, glass,

…). Noise is due to uncertainty …

in measuring distance to known obstacle. in position of known obstacles. in position of additional obstacles. whether obstacle is missed.

Page 7: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

7

Beam-based Proximity ModelMeasurement noise

zexp zmax0

bzz

hit eb

mxzP2

exp )(21

21),|(

otherwisezz

mxzPz

0e

),|( expunexp

Unexpected obstacles

zexp zmax0

Page 8: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

8

Beam-based Proximity Model

Random measurement Max range

max

1),|(z

mxzPrand smallz

mxzP 1),|(max

zexp zmax0zexp zmax0

Page 9: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

9

Resulting Mixture Density

),|(),|(),|(),|(

),|(

rand

max

unexp

hit

rand

max

unexp

hit

mxzPmxzPmxzPmxzP

mxzP

T

How can we determine the model parameters?

Page 10: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

10

Raw Sensor DataMeasured distances for expected distance of 300 cm.

Sonar Laser

Page 11: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

11

Approximation Maximize log likelihood of the data

Search space of n-1 parameters. Hill climbing Gradient descent Genetic algorithms …

Deterministically compute the n-th parameter to satisfy normalization constraint.

)|( expzzP

Page 12: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

12

Approximation Results

Sonar

Laser

300cm 400cm

Page 13: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

13

Example

z P(z|x,m)

Page 14: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

15

Approximation Results

Laser

Sonar

Page 15: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

16

"sonar-0"

0 10 20 30 40 50 60 70 010 20

30 4050 60

700

0.050.10.150.20.25

Influence of Angle to Obstacle

Page 16: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

17

"sonar-1"

0 10 20 30 40 50 60 70 010 20

30 4050 60

700

0.050.10.150.20.250.3

Influence of Angle to Obstacle

Page 17: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

18

"sonar-2"

0 10 20 30 40 50 60 70 010 20

30 4050 60

700

0.050.10.150.20.250.3

Influence of Angle to Obstacle

Page 18: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

19

"sonar-3"

0 10 20 30 40 50 60 70 010 20

30 4050 60

700

0.050.10.150.20.25

Influence of Angle to Obstacle

Page 19: Beam Sensor Models Pieter  Abbeel UC Berkeley EECS

20

Summary Beam-based Model Assumes independence between beams.

Justification? Overconfident!

Models physical causes for measurements. Mixture of densities for these causes. Assumes independence between causes. Problem?

Implementation Learn parameters based on real data. Different models should be learned for different angles

at which the sensor beam hits the obstacle. Determine expected distances by ray-tracing. Expected distances can be pre-processed.