tree-structured knowledge in a distributed intelligent mems application

31
Tree-structured knowledge in a distributed intelligent MEMS application 1) Atsushi Sato, 2) Eugen Dedu, 2) Julien Bourgeois, 1) Runhe Huang 1) Hosei University, 2) UFC/FEMTO-ST

Upload: mariel

Post on 26-Feb-2016

44 views

Category:

Documents


0 download

DESCRIPTION

Tree-structured knowledge in a distributed intelligent MEMS application. 1) Atsushi Sato, 2) Eugen Dedu , 2) Julien Bourgeois, 1) Runhe Huang 1) Hosei University, 2) UFC/FEMTO-ST. Table of Contents. Introduction Smart Surface Main issues Theory Tree-structured knowledge (TSK) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Tree-structured knowledge  in a distributed intelligent MEMS application

Tree-structured knowledge in a distributed intelligent MEMS

application

1)Atsushi Sato, 2)Eugen Dedu, 2)Julien Bourgeois, 1)Runhe Huang1)Hosei University, 2)UFC/FEMTO-ST

Page 2: Tree-structured knowledge  in a distributed intelligent MEMS application

Table of Contents

• Introduction– Smart Surface– Main issues

• Theory– Tree-structured knowledge (TSK)– Reconstruction of the object with TSK– Differentiation of the object with TSK

• Analyses• Conclusions and future work

2/30

Page 3: Tree-structured knowledge  in a distributed intelligent MEMS application

Smart Surface

MEMS-arrayed manipulation surface– Recognition– Conveyance– Positioning

Air-Flow Pressure

35mm35mm

3/30

Page 4: Tree-structured knowledge  in a distributed intelligent MEMS application

Distributed control

Sensor

Processing unit

Actuator

MEMS

MEMS– Sense– Act– Decide– Communicate

4/30

Page 5: Tree-structured knowledge  in a distributed intelligent MEMS application

Recognition

• Offline stage– Create database of shapes of models

• Online stage– Reconstruction– Differentiation

?

5/30

Page 6: Tree-structured knowledge  in a distributed intelligent MEMS application

Offline stage

0010011111100100

CriteriaMatrixA: 10P: 16S: 8

Database

Model data…

Database is uploaded to every cell

Rotate and translate the object on the Smart Surface

6/30

( the previous approach )

Repeat

Page 7: Tree-structured knowledge  in a distributed intelligent MEMS application

Online stage

• Reconstruction phase00000000000000000100000000000000000000000000000000000000

• Differentiation phase– Calculate criteria– Compare with database

failure

00000000000000000110000001000000000000000000000000000000

00000000001000000111000011100000010000000000000000000000

success

7/30

( the previous approach )Repeat

Page 8: Tree-structured knowledge  in a distributed intelligent MEMS application

Main issues

• Message size is the same as the Smart Surface -> redundant

• excessively comparison -> there is no trigger

Relative position based representation

8/30

Page 9: Tree-structured knowledge  in a distributed intelligent MEMS application

Tree-structured knowledge

N ESW

E’W’N’

Smart Surface

root node

N

W E

S

E’

N’

W’

9/30

( our current approach )

Page 10: Tree-structured knowledge  in a distributed intelligent MEMS application

Tree-structured array

1

1

010

000 10 0

000

1 1 0 0 0 0 1 0 0 1 0 0 0 01 1 1 1Smart Surface

10/30

Page 11: Tree-structured knowledge  in a distributed intelligent MEMS application

Matrix00000000000000000110000001000000000000000000000000000000

00000000001000000111000011100000010000000000000000000000

10010001000

100110011000100010001000

64 bits

64 bits

11 bits

24 bits

Tree-Structured Array

Matrix VS. TSK

11/30

Page 12: Tree-structured knowledge  in a distributed intelligent MEMS application

Reconstruction

① Initialize its array

② Generate and send messages

③ Receive and merge messages

④ Check duplication

Differentiation phase12/30

Repeat

Page 13: Tree-structured knowledge  in a distributed intelligent MEMS application

Generate messages

0 0 1 0 0 1 0 0 01 111 0 0 01

1 1 0 0 0 0 1 0 0 1 0 0 0

1 1 0 0 0 0 1 0 0 1 0 0 0

1 1 0 0 0 0 0 13/30

Page 14: Tree-structured knowledge  in a distributed intelligent MEMS application

Merge messages(1/3)

Message size : 1 bit

14/30

Page 15: Tree-structured knowledge  in a distributed intelligent MEMS application

Merge messages(2/3)

Message size : 4 bits

15/30

Page 16: Tree-structured knowledge  in a distributed intelligent MEMS application

Merge messages(3/3)

All leaf values are 0

Go todifferentiation phase

16/30

Page 17: Tree-structured knowledge  in a distributed intelligent MEMS application

Duplication check

Smart Surface

1 0 0 0 0

1 0 0 1 1

1 0 0 1 0 0 1 1 0 1 0

1 0 0 1 0 0 1 1 0 0 0

17/30

Page 18: Tree-structured knowledge  in a distributed intelligent MEMS application

Differentiation

① Transform its tree to the regular form

• Change the root to the north

• Change the root to the west

② Compare the array with all the shapes in database

Repeat

if (discover the same array) Send the result to the motion controllerelse Restart the online stage

Until the root is most northern and western

18/30

Page 19: Tree-structured knowledge  in a distributed intelligent MEMS application

Transformation (1 / 2)

0 1 0 0 1 0 0 0 001 0 01

Change the root to the north cell

19/30

Page 20: Tree-structured knowledge  in a distributed intelligent MEMS application

Transformation (2 / 2)

0 01 1 1 0 0 0 0 0 0 01 0

Change the root to the west cell

20/30

Page 21: Tree-structured knowledge  in a distributed intelligent MEMS application

Comparison

shape model10001001001000 210001010000 010001110000000 110010001000 210010100100000 210010101000000 1

10010100100000

Compare

Database

0 1 2

Models

L21/30

Page 22: Tree-structured knowledge  in a distributed intelligent MEMS application

Performance analyses

• Number of communication iterations

• Communication traffic

• Computation time

• Memory footprint

22/30

Page 23: Tree-structured knowledge  in a distributed intelligent MEMS application

The number of communication iterations :

Edge cells need morecommunications

Central cells need fewer communications

Iteration Iteration 0 0 1 1 2 2 3 3 4 4 5 6 7

h h𝑒𝑖𝑔 𝑡+ h𝑤𝑖𝑑𝑡2 +1≤𝑵 ≤h h𝑒𝑖𝑔 𝑡+ h𝑤𝑖𝑑𝑡 −1

8 5

23/30

Page 24: Tree-structured knowledge  in a distributed intelligent MEMS application

Communication traffic

Smart Surface 10 x 10

Matrixbits

Tree-structured arraybits

The number ofmessages at a time

The number ofactive cells

× 118The number of

communication iterations

×

24/30

Page 25: Tree-structured knowledge  in a distributed intelligent MEMS application

Computation time

• Reconstruction time (TR)• Transformation time (TT)• Comparison time (TC)• Computation time (TA)

𝑇= ∑𝑖=1

𝑁 𝑅𝑒𝑐𝑜𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛

𝑇𝑅𝑖+ ∑𝑗=1

𝑁 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚

𝑇 𝑇 𝑗+ ∑𝑘=1

𝑁 𝐶𝑜𝑚𝑝𝑎𝑟𝑖𝑠𝑜𝑛

𝑇 𝐶𝑘

𝑇 ′= ∑𝑖=1

𝑁 ′𝑅𝑒𝑐𝑜𝑛𝑠𝑡𝑟𝑢𝑐𝑡𝑖𝑜𝑛 (𝑇𝑅 ′𝑖+𝑇𝐴𝑖+ ∑𝑗=1

𝑁 ′𝐶𝑜𝑚𝑝𝑎𝑟𝑖𝑠𝑜𝑛

𝑇𝐶 ′ 𝑖𝑗)

Proposed approach

Previous approach

25/30

Page 26: Tree-structured knowledge  in a distributed intelligent MEMS application

Memory footprint(1/2)

Previous approach• One shape needs 29 bytes • bytes for matrices• One criterion needs 4 bytes• bytes for criteria• Total Memory for models is :

26/30

Page 27: Tree-structured knowledge  in a distributed intelligent MEMS application

Proposed approach• One shape needs: bits• is the number of cells covered by the object• Total Memory for models is :

Memory footprint(2/2)

is 22, bits

𝑴= ∑𝒊=𝟏

𝑵 𝑺𝒉𝒂𝒑𝒆𝒔

𝑴𝑺𝒊

27/30

Page 28: Tree-structured knowledge  in a distributed intelligent MEMS application

Simulation of the offline stage(1/2)

31 mm 29 mm

40 mm39 mm

33 mm

13 mm

8 mm

● 8 mm

1.6 mm

ModelsMEMS

Circle : 48 shapesRectangle : 248 shapesH : 428 shapes

Criteria : 58

724 shapes

Every model covers less than 25 cells 28/30

Page 29: Tree-structured knowledge  in a distributed intelligent MEMS application

Simulation of the offline stage(2/2)

𝑴=𝟐𝟗×𝑵𝑺𝒉𝒂𝒑𝒆+𝟒×𝑵𝑪𝒓𝒊𝒕𝒆𝒓𝒊𝒂

bits bytes

𝑴= ∑𝒊=𝟏

𝑵 𝑺𝒉𝒂𝒑𝒆𝒔

𝑴𝑺𝒊

Previous approach

Proposed approach bytes

bytes 29/30

Page 30: Tree-structured knowledge  in a distributed intelligent MEMS application

fewer The number of shapes many

reduction of the memory footprint

724 shapes are too many to store in every cell

the probability of matchinglow high

Include the shape appearing rarely

Reduce the stored shapes

30/30

Page 31: Tree-structured knowledge  in a distributed intelligent MEMS application

Conclusions and future work

• Representing the shapes as tree-structured array reduces their memory footprint and redundant information in messages.

• The number of shapes can be reduced, but it trades off with the probability of the successful differentiation.

• Reduction of the number of shapes to be stored in every cell.

31/30