adaptive methane detection

23
Adaptive Methane Detection Author: Kern Ding Mentor: David Thompson, Lance Christensen

Upload: ke-ding

Post on 31-Jul-2015

24 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Adaptive Methane Detection

Adaptive Methane DetectionAuthor: Kern Ding

Mentor: David Thompson, Lance Christensen

Page 2: Adaptive Methane Detection

Outline

Project Overview

Simulate Methane Distribution

Update Hypothesis Probability

Expected Information Gain to start path planning

Demo on real data

Page 3: Adaptive Methane Detection

Project Object

JPL has developed a hand-held methane sniffer that can be deployed on a flying robot.

To develop an automated system that guides the robot or person carrying the sniffer from first detection to the leak source.

Input: methane concentration and wind vector at detected location

Output: direction to the leak source

Page 4: Adaptive Methane Detection

Foundation Approach

The approach is a Bayesian ModelFirst, set several hypotheses(leak location,

leak concentration)Using the collocated data to update the

probability of those hypotheses

Page 5: Adaptive Methane Detection

Outline

Project Overview

Simulate Methane Distribution

Update Hypothesis Probability

Expected Information Gain to start path planning

Demo on real data

Page 6: Adaptive Methane Detection

Simulate wind turbulence

Src dst

Gaussian Distribution

src dst

Page 7: Adaptive Methane Detection

Wind turbulence using Gaussian Distribution

Page 8: Adaptive Methane Detection

Local potential field by obstacle

Calculation Wind Vector = Real wind + Local potential

Page 9: Adaptive Methane Detection

Build the map model

Page 10: Adaptive Methane Detection

Build a virtual world for hypothesis

Decompose the map into cells tagged as building, air and ground.

Make a methane leak location cell and its leak concentration as a hypothesis.

Distribute methane from cells to cells using Gaussian distribution by calculated wind.

Page 11: Adaptive Methane Detection

Outline

Project Overview

Simulate Methane Distribution

Update Hypothesis Probability

Expected Information Gain to start path planning

Demo on real data

Page 12: Adaptive Methane Detection

Calculated methane concentration under each hypothesis

Concentration plot in 4 Different hypotheses virtual worlds

We normalized the probability for all the hypotheses in the initialized stage:

𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑖𝑖 = 1/𝑁𝑁

For the virtual world according to each hypothesis, calculate the methane concentration in every cell in the map.

We can draw the concentration/coordinate plot as left showing

Page 13: Adaptive Methane Detection

0

2

4

6

8

10

12

14

16

0 2 4 6 8 10 12

Con

cent

ratio

n

Coordinate

Real Detection

0

5

10

15

0 5 10 15

Con

cent

ratio

n

Coordinate

Hypothesis#1

0

2

4

6

8

0 5 10 15

Con

cent

ratio

n

Coordinate

Hypothesis#2

-5

0

5

10

15

0 5 10 15Con

cent

ratio

n

Coordinate

Hypothesis#3

Model the likelihood using gamma distribution

Page 14: Adaptive Methane Detection

Model the likelihood using gamma distribution

𝑀𝑀𝑀𝑀𝑝𝑝𝑀𝑀𝑖𝑖 = Concentration under 𝑝𝑝𝑑𝑑𝑑 hypothesis

x = Concentration detected in real word

π‘π‘π‘π‘π‘™π‘™π‘€π‘€π‘π‘π‘π‘β„Žπ‘π‘π‘π‘π‘œπ‘œπ‘–π‘– = Gamma.pdf(𝑀𝑀𝑀𝑀𝑝𝑝𝑀𝑀𝑖𝑖, x)

𝑃𝑃𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑛𝑛𝑛𝑛𝑛𝑛𝑖𝑖 = π‘ƒπ‘ƒπ‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘œπ‘œπ‘œπ‘œπ‘œπ‘œπ‘–π‘– βˆ— π‘π‘π‘π‘π‘™π‘™π‘€π‘€β„Žπ‘π‘π‘π‘π‘œπ‘œπ‘–π‘–

Repeated the steps for each detection

Page 15: Adaptive Methane Detection

Model the likelihood using gamma distribution

Hyp#1

Hyp#2

Page 16: Adaptive Methane Detection

Outline

Project Overview

Simulate Methane Distribution

Update Hypothesis Probability

Expected Information Gain to start path planning

Demo on real data

Page 17: Adaptive Methane Detection

Entropy for the set of hypotheses

Make probability of hypothesis as variable marked as π‘₯π‘₯𝑖𝑖

Mark the all hypotheses set as 𝑋𝑋Entropy of the set of hypotheses is:𝐻𝐻 𝑋𝑋 = βˆ’βˆ‘π‘–π‘– 𝑃𝑃(π‘₯π‘₯𝑖𝑖)𝑝𝑝𝑝𝑝𝑙𝑙𝑏𝑏𝑃𝑃(π‘₯π‘₯𝑖𝑖)

Page 18: Adaptive Methane Detection

Update probability in the future under specific assumption

Prepared a location 𝑝𝑝 as detected candidate in the future

Assume the 𝑙𝑙𝑑𝑑𝑑 hypothesis is true for next detection

Calculate new probability for each hypothesis under that assumption:π‘π‘π‘π‘π‘™π‘™π‘€π‘€π‘π‘π‘π‘β„Žπ‘π‘π‘π‘π‘œπ‘œπ‘˜π‘˜,π‘œπ‘œ

𝑖𝑖 = 𝐺𝐺𝑝𝑝𝐺𝐺𝐺𝐺𝑝𝑝. π‘π‘π‘œπ‘œπ‘π‘ π‘€π‘€π‘€π‘€π‘π‘π‘€π‘€π‘œπ‘œπ‘–π‘– , π‘€π‘€π‘€π‘€π‘π‘π‘€π‘€π‘œπ‘œπ‘˜π‘˜

π‘ƒπ‘ƒπ‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘π‘˜π‘˜,π‘œπ‘œπ‘–π‘– = 𝑃𝑃𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑖𝑖 βˆ— π‘π‘π‘π‘π‘™π‘™π‘€π‘€π‘π‘π‘π‘β„Žπ‘π‘π‘π‘π‘œπ‘œπ‘˜π‘˜,π‘œπ‘œ

𝑖𝑖

Page 19: Adaptive Methane Detection

Expected Information Gain under specific assumption

The new Entropy for the probability updated hypotheses:𝐻𝐻 π‘‹π‘‹π‘˜π‘˜,π‘œπ‘œ =βˆ’βˆ‘i P π‘₯π‘₯π‘˜π‘˜,π‘œπ‘œ

𝑖𝑖 βˆ— logbP π‘₯π‘₯π‘˜π‘˜,π‘œπ‘œπ‘–π‘–

Expected Information Gain:πΌπΌπΊπΊπ‘˜π‘˜,π‘œπ‘œ = 𝐻𝐻 𝑋𝑋 βˆ’ 𝐻𝐻(π‘‹π‘‹π‘˜π‘˜,π‘œπ‘œ)

Page 20: Adaptive Methane Detection

Sum the Expected Information Gain for each assumption

Assume all the hypotheses are true one hypothesis a time

Sum all the Expected Information Gain under one true hypothesis assumption weighted by its original probability:πΌπΌπΊπΊπ‘œπ‘œ = βˆ‘π‘˜π‘˜ πΌπΌπΊπΊπ‘˜π‘˜,π‘œπ‘œ βˆ— 𝑃𝑃(π‘₯π‘₯π‘˜π‘˜)

Page 21: Adaptive Methane Detection

Choose candidates by Expected Information Gain

By compared πΌπΌπΊπΊπ‘œπ‘œ for different locations, we can decide which candidate location to move next step in order to get more information.

It’s a start point for path planning

Page 22: Adaptive Methane Detection

Outline

Project Overview

Simulate Methane Distribution

Update Hypothesis Probability

Expected Information Gain to start path planning

Demo on real data

Page 23: Adaptive Methane Detection

A virtualization Demo

Thank David for all his the intelligent ideas and algorithm framework

Thank Lance for his real world knowledge and practical experience to build our model

Here is a Demo running on real data collected by Lance.