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

Adaptive Methane Detection

  • Upload
    ke-ding

  • View
    36

  • Download
    0

Embed Size (px)

Citation preview

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.