on-line self-diagnosis based on power measurement for a … · 2013-02-28 · on-line...

36
./Graphics/introduction/l 1/26 Background Our approach for on-line self-diagnosis Simulation Conclusions and Perspectives On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie JULIEN, Pascal BERRUET Lab-STICC Research Center, University of South-Brittany Oral presentation in HARSH Workshop 24 February 2013 Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Upload: others

Post on 03-Apr-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

1/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

On-line self-diagnosis based on power measurement for awireless sensor node

Van-Trinh HOANG, Nathalie JULIEN, Pascal BERRUET

Lab-STICC Research Center, University of South-Brittany

Oral presentation in HARSH Workshop24 February 2013

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 2: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

2/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Outline

1 BackgroundIntroductionBackground

2 Our approach for on-line self-diagnosisFailure detectionFailure localization

3 SimulationSimulation toolsAvailability simulationEnergy simulation

4 Conclusions and Perspectives

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 3: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

3/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Outline

1 BackgroundIntroductionBackground

2 Our approach for on-line self-diagnosis

3 Simulation

4 Conclusions and Perspectives

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 4: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

4/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Application fields of WSN

Advantages

Easy deployment.

Self-organisation.

Reconfigurability.

Portability.

Low cost.

Application fields

Area and Environment monitoring.

Health monitoring.

Home automation.

Industrial monitoring.

Military monitoring.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 5: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

5/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Context

Context

When WSN is deployed in harsh environment, human intervention isvery difficult in case of hardware failure of node element.

Additionally, energy is wasted if failing element is still supplied thatleads to shorten the node lifetime because wireless sensor node ispowered by battery.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 6: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

5/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Context

Context

When WSN is deployed in harsh environment, human intervention isvery difficult in case of hardware failure of node element.

Additionally, energy is wasted if failing element is still supplied thatleads to shorten the node lifetime because wireless sensor node ispowered by battery.

Wireless sensor node can encounter the failure issues of element as follows :

Soft-failure during data sensing, or data processing, or datatransmission.

Element is down due to hard-failure.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 7: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

5/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Context

Context

When WSN is deployed in harsh environment, human intervention isvery difficult in case of hardware failure of node element.

Additionally, energy is wasted if failing element is still supplied thatleads to shorten the node lifetime because wireless sensor node ispowered by battery.

Wireless sensor node can encounter the failure issues of element as follows :

Soft-failure during data sensing, or data processing, or datatransmission.

Element is down due to hard-failure.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 8: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

5/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Context

Context

When WSN is deployed in harsh environment, human intervention isvery difficult in case of hardware failure of node element.

Additionally, energy is wasted if failing element is still supplied thatleads to shorten the node lifetime because wireless sensor node ispowered by battery.

Wireless sensor node can encounter the failure issues of element as follows :

Soft-failure during data sensing, or data processing, or datatransmission.

Element is down due to hard-failure.

Objectives

To propose an on-line self-diagnosis that can detect and localize the failing element ofwireless sensor node.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 9: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

6/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Hardware configuration of wireless sensor node

IAS

S1

S2

Cam

Processor

Ram/Flash

Receiver Transmitter

Power Switch (PS)

Battery

RTM

ReceptionBuffer

CapturingBuffer

IAS : Interface of Actuator and Sensor RTM : Radio Transceiver Module

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 10: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

6/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Hardware configuration of wireless sensor node

IAS

S1

S2

Cam

Processor

Ram/Flash

Receiver Transmitter

Power Switch (PS)

Battery

RTM

ReceptionBuffer

CapturingBuffer

IAS : Interface of Actuator and Sensor RTM : Radio Transceiver Module

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 11: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

6/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Hardware configuration of wireless sensor node

IAS

S1

S2

Cam

Processor

Ram/Flash

Receiver Transmitter

PAM

FPGA

Power Switch (PS)

Battery

RTM

ReceptionBuffer

CapturingBuffer

IAS : Interface of Actuator and SensorPAM : Power Availability Manager

RTM : Radio Transceiver Module

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 12: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

7/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

Issues and Corrective Solutions

The complementary devices are added in sensor node :PAM Block is considered as intelligent part to reduce energy consumption andreact against the issues.FPGA enhances availability and performance for sensor node.

Issues

Software and Hardware causes Energy causes

SolutionsDead

Processor

Dead Ram Dead IAS Dead RTM Software

Bugs

Low

Energy

Energy

depletion

Dead Node

X PAM enables FPGA processor to replace main processor

X PAM enables FPGA memory to replace RAM/Flash

memory

X Wait for recharging battery

Malfunctioning

Node

X PAM changes mode of operation to relay point

X PAM changes mode of operation to local processing

X Processor reboots

X PAM selects consistent mode of operation and

waits for battery recharge

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 13: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

8/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

FSM model for mode modeling

Monitoring

Period

Deep SleepProcessor : deep

sleep

SleepProcessor : sleep

Energy < 5% Energy >= 10%

ObservationProcessor : sleepReceiver : on

Sensor 1 : on

Energy >= 20%

Energy < 15%

MonitoringProcessor : on/offFPGA : on/off

Receiver : on

Sensor 1 : on

Ram : on/off

Observation

PeriodOn-DutyProcessor : onSensor 1 : on

Sensor 2 : on/off

Camera : on/off

Ram : on

Receiver : onTransmitter : on

AlarmDetection

& ! Dead_Ram

& ! Dead_Pro

EnhanceProcessor : onSensor 1 : on

Sensor 2 : on/off

Camera: on/off

Ram : on

FPGA : onReceiver : on

Transmitter : on

Operation

completes

Counter > timeout Task completes

Dead ProcessorSensor 1 : on

Sensor 2 : on/off

Camera : on/off

Ram : on

FPGA : on

Receiver : onTransmitter : on

Dead RamProcessor : onSensor 1 : on

Sensor 2 : on/off

Camera : on/off

FPGA : on

Receiver : onTransmitter : on

RelayProcessor : on/offFPGA : on/off

Ram : on/off

Receiver : on

Transmitter: on

Local ProcessingProcessor : on/offFPGA : on/off

Ram : on/off

Sensor 1 : on

Sensor 2 : on/off

Camera : on/off

Dead Node

AlarmDetection

& Dead_RamOperation

completes

AlarmDetection

& Dead_Pro

Operation

completes

(Dead_IAS

& Dead_RTM)

|| (Dead_Ram

& Dead_FPGA_Mem)

|| (Dead_Pro& Dead_FPGA_Pro)

Dead_RTM

Dead_IAS

Dead_IAS

Dead_RTM

Energy < 15%

|| Sleep PeriodEnergy >= 20%

& Observation Period

Performance and EnergyManager

Availability Manager

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 14: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

8/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

IntroductionBackground

FSM model for mode modelingDefinition

Availability is the ability of an entity to be able to accomplish a required function under given conditions and at agiven time.

MonitoringProcessor : on/off

FPGA : on/off

Receiver : on

Sensor 1 : on

Ram : on/off

Dead ProcessorSensor 1 : on

Sensor 2 : on/off

Camera : on/off

Ram : on

FPGA : on

Receiver : onTransmitter : on

Dead RamProcessor : onSensor 1 : on

Sensor 2 : on/off

Camera : on/off

FPGA : on

Receiver : onTransmitter : on

RelayProcessor : on/off

FPGA : on/off

Ram : on/off

Receiver : on

Transmitter: on

Local ProcessingProcessor : on/off

FPGA : on/off

Ram : on/off

Sensor 1 : on

Sensor 2 : on/off

Camera : on/off

Dead Node

Alarm Detection

& Dead_RamOperation

completes

Alarm Detection

& Dead_Pro

Operation

completes

(Dead_IAS

& Dead_RTM)

|| (Dead_Ram

& Dead_FPGA_Mem)

|| (Dead_Pro& Dead_FPGA_Pro)

Dead_RTM

Dead_IAS

Dead_IAS

Dead_RTM

Availability Manager

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 15: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

9/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Outline

1 Background

2 Our approach for on-line self-diagnosisFailure detectionFailure localization

3 Simulation

4 Conclusions and Perspectives

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 16: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

10/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

On-line self-diagnosis

On-line self-diagnosis is applied to :

Detect hard-failure based on power consumption.

Then localize correctly the failing element in order to take anappropriate corrective solution.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 17: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

11/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure detection based on power consumptionThe application of hazardous gas detection for area such as harbor or warehouse is used to illustrated our failuredetection method

Element Power (mW)PIC24FJ256GB110 36M48T35AV memory 150Oldham OLCT 80 867

Miwi Radio transmitter 130Miwi Radio receiver 70

Core8051s 26PAM block 0.1

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 18: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

11/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure detection based on power consumptionThe application of hazardous gas detection for area such as harbor or warehouse is used to illustrated our failuredetection method

Element Power (mW)PIC24FJ256GB110 36M48T35AV memory 150Oldham OLCT 80 867

Miwi Radio transmitter 130Miwi Radio receiver 70

Core8051s 26PAM block 0.1

Monitoring

Pmonitoring = 1123mW

Processor fails

PProFail = 1087mW

Radio fails

PRadioFail = 1053mW

Ram fails

PRamFail = 973mW

Sensors fail

PSensorsFail = 256mW

OnDutyWithSen2Cam

POnDutySen2Cam = 2425mW

OnDuty

POnDuty = 1253mW

Sleep

PSleep = 10mW

Fault-free modes

Faulty modes0

500

1000

1500

2000

2500

3000

Sleep Sensors fail Ram fails Radio fails Processor fails Monitoring On-Duty On-Duty With

Sen2Cam

Power consump!on (mW)Power consump!on (mW)

Schmitt

trigger

Schmitt

triggerLocalization method is applied to

detect correctly failing element

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 19: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

12/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Petri Net modelling for discrete-event systemsDefinition

A Timed Stochastic Petri Net graph (TSPN) is a weighted bipartite graph (P, T, A, w, Ti,Pb), where : P is the finite set of places, T is the finite set of transitions, A is the set ofarcs from places to transitions or from transtions to places, w is the set of themultiplicities of the arcs, Ti is the set of the firing times of the transitions, Pb is the setof the firing rates of the transitions.

λ 1-λ

OK NotOK

[T, T]

WaitCapture

NotCap

CapData

Cap

System

AskDataCapture

WaitData

ProcessDataNondeterministic model

Deterministic model

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 20: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

13/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure localization for sensor

A functional test is applied to check thestate of sensor as follows :

Check the state of capturingbuffer.

Make a request of capturing dataif capturing buffer is still emptyduring a time interval T2.

If data arrive into capturing buffer,sensor is still available. Otherwiseit is down.

2

ReadyDS

UpS

CaptureD

Localization model

10

[T1, T1]

1

PAM

AskCaptureD1

DownS

SucCapture

RcvData

WaitData1

WaTiIsOver1

LocalizeSenProb

NotRcvData

NotSucCapture

WaitData2

WaTiIsOver2

[T1, T1]

SenProb

AskCaptureD2

SenIsDown

WaTimer

SucCap

check

empty

DataCaptureRequest

IAS PAM

1

2

3

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 21: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

14/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure localization for processor

A functional test is applied to check thestate of processor as follows :

The PAM block sends a beaconsignal to processor and wait itsresponse.

If our PAM does not receive anyfeedback from the processor, theprocessor is considered as failed.

Localization model

[T2, T2]

1

PAM

SendBeacon1

DownP

RcvRespone

WaitResponse1

WaTiIsOver3

LocalizeProProb

NotProcess

NotRcvResponse

WaitResponse2

WaTiIsOver4

[T2, T2]

ProProb

SendBeacon2

ProIsDown

1ReadyDS

UpPBeginBugPRebootPEndBugP

BeginProcessD

λbug

EndProcessD

SucProcess

InProcess

Processor PAMBeacon

Feedback

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 22: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

15/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure localization for RAM memory

A functional test is applied to check thestate of RAM as follows :

To check the availability of RAMmemory, the PAM block writes atesting data of 32bits in anaddress of memory space.

Then, PAM reads the writing dataat the same address.

The reading data is compared withthe the original data. If they aresimilar, Ram memory is stillavailable, otherwise it is down.

Localization model

[T3, T3]

1

PAM

Write&ReadData1

DownRam

CompareData1

RcvData1

WaitCheck1

LocalizeRamProb

NotOperate

WaitCheck2

[T3, T3]

RamProb

RamIsDown

1ReadyDP

UpRam

BeginOperation

EndOperation

SucOperation

InOperation

RcvData2

CompareData2

CorrectData

Result1 Result2

WrongData

Write&ReadData2

Ram PAMDataWrite

DataRead

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 23: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

16/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Failure detectionFailure localization

Failure localization for Radio module

A functional test combined with physicaltest is applied to check the availability ofradio module as follows :

Check the state of receptionbuffer.

Make a request of datatransmission to a neighbor node ifthis buffer is still empty during atime interval T4. This step is calledas the functional test.

The transmission power ismeasured by an embeddedelectronic device, and then iscompared to a power thresholdusing a Schmitt trigger. If theoutput result of this trigger is true,the radio is still available,otherwise it is down. This step iscalled as the physical test.

Localization model

[T4, T4]

1

PAM

AskDataTrans1

DownRadio

TransmitD1

DataForTrans1

WaTiIsOver5

LocalizeRadioProb

NotRcvPack

WaTiIsOver6

[T4, T4]

RadioProb

RadioIsDown

1

ReadyDRadio

UpRadioReceiver

ReceivePack

10

WaTimer

SucRcvPackRcvPack

AskDataTrans2

DataForTrans2

TransmitD2

MeasureTransPow2MeasureTransPow1

CorrectPow WrongPow

1

UpRadioTransceiver

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 24: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

17/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Outline

1 Background

2 Our approach for on-line self-diagnosis

3 SimulationSimulation toolsAvailability simulationEnergy simulation

4 Conclusions and Perspectives

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 25: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

18/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Introduction of simulation toolsIn our approach, two different constraints of availability and energy are simulated by two different tools.

1 Capnet-PE tool for energy simulationCAPNET-PE tool is created by Nicolas Ferry and al. atLab-STICC laboratory, in the project with Eryma company.

This tool allows to :-) Predict the node autonomy.-) Provide energy consumption of node based on businessscenario.-) Predict energy harvested from the environment based onthe weather forecast.

2 SPNP tool for availability simulationThis tool is created by Prof. Kishor S. Trivedi and al. at DukeUniversity in Durham NC, USA.

This tool allows to :-) Model the node system using Petri Net.-) Perform the concurrent operations and asynchronousevents of node system.-) Provide the failure prediction features.

Capnet-PE tool for estimating energy consumption

SPNP tool for modeling node system

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 26: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

19/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Mean Time To FailureDefinition

Mean Time To Failure (MTTF) is defined for non-repairable systems to indicate theaverage functioning time from instance 0 to the first appearance of failure.

Component Failure rate (λ) MTTF

Sensor 1/30000 hour−1 3.4 years

Processor 1/262800 hour−1 30 years

RAM 1/83220 hour−1 9.5 years

RTM 1/100000 hour−1 11.4 years

FPGA memory 1/80000 hour−1 9.1 years

FPGA processor 1/131400 hour−1 15 years

The availability of each element is given by :

R(t) = e−∫ t0λ(x) dx

= e−λ.t = A(t) (1)

The failure probability of each element is given by :

Fsensors = (1 − Asensor1) ∗ (1 − Asensor2) (2)

Fprocessor = 1 − Aprocessor (3)

Fram = 1 − Aram (4)

Fradio = 1 − Aradio (5)

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 27: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

19/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Mean Time To FailureDefinition

Mean Time To Failure (MTTF) is defined for non-repairable systems to indicate theaverage functioning time from instance 0 to the first appearance of failure.

Component Failure rate (λ) MTTF

Sensor 1/30000 hour−1 3.4 years

Processor 1/262800 hour−1 30 years

RAM 1/83220 hour−1 9.5 years

RTM 1/100000 hour−1 11.4 years

FPGA memory 1/80000 hour−1 9.1 years

FPGA processor 1/131400 hour−1 15 years

The availability of each element is given by :

R(t) = e−∫ t0λ(x) dx

= e−λ.t = A(t) (1)

The failure probability of each element is given by :

Fsensors = (1 − Asensor1) ∗ (1 − Asensor2) (2)

Fprocessor = 1 − Aprocessor (3)

Fram = 1 − Aram (4)

Fradio = 1 − Aradio (5)

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 28: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

20/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Failure localization model for sensor node

2

ReadyDS

UpS

CaptureD

Deterministic model

10

[T1, T1]

1

WaTimer

PAM

AskCaptureD1

SucCap

DownS

SucCapture

RcvData

WaitData1

WaTiIsOver1

LocalizeSenProb

NotRcvData

NotSucCapture

WaitData2

WaTiIsOver2

[T1, T1]

SenProb

AskCaptureD2

SenIsDown

WaitD

λS

λnotRcv

1-λS-λnotRcv

Nondeterministic model

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 29: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

21/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Failure Probability of each elementProbability

Time (years)

Failureprobability of sensors

Failureprobability of Ram

Failureprobability of Radio transceiver

Failureprobability of Processor

Remark

The obtained curves are consistent to the above equations of computation of failure probability.

The sensors are the most critical elements due to their low reliability (the smallest MTTF), because theircircuitry is very complex.

This simulation result allows to validate our localization method of failing element.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 30: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

22/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Energy resultsThe consumption of wireless sensor node is simulated with the application of detection of hazardous gaz usingCapnet-PE tool during seven days.

Elements Energy 1(J)Ram memory 5510

Processor 7203Radio 7630

Gas sensor 1 16124Gas sensor 2 523

Camera 71FPGA Core8051s 6.1FPGA PAM block 1.94

0

2000

4000

6000

8000

10000

12000

14000

16000

18000

Ram

memory

Processor Radio

transceiver

Gas sensor 1Gas sensor 2 Camera FPGA

Core8051s

PAM

Energy simula!on using Capnet-PE tool

Energy simula!on using Capnet-PE tool

RemarkThe consumptions of PAM block and FPGA Core8051s are very small compared to other node elements.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 31: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

22/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Simulation toolsAvailability simulationEnergy simulation

Energy resultsThe consumption of wireless sensor node is simulated with the application of detection of hazardous gaz usingCapnet-PE tool during seven days.

Elements Energy 1(J)Ram memory 5510

Processor 7203Radio 7630

Gas sensor 1 16124Gas sensor 2 523

Camera 71FPGA Core8051s 6.1FPGA PAM block 1.94

0

2000

4000

6000

8000

10000

12000

14000

16000

18000

Ram

memory

Processor Radio

transceiver

Gas sensor 1Gas sensor 2 Camera FPGA

Core8051s

PAM

Energy simula!on using Capnet-PE tool

Energy simula!on using Capnet-PE tool

RemarkThe consumptions of PAM block and FPGA Core8051s are very small compared to other node elements.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 32: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

23/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Outline

1 Background

2 Our approach for on-line self-diagnosis

3 Simulation

4 Conclusions and Perspectives

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 33: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

24/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Conclusions and perspectives

Conclusions :A on-line self-diagnosis is proposed for wireless sensor node with its efficientimplementation in term of energy that can :

Detect hard-failure based on power consumption.

Then localize correctly the failing element in order to take an appropriatecorrective solution.

The simulation results allow us to validate and evaluate our on-line self-diagnosis.

Perspectives :

Implement our approach in real material for evaluating.

Measure the energy overhead when using the additional electronic devices forpower measurement.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 34: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

24/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Conclusions and perspectives

Conclusions :A on-line self-diagnosis is proposed for wireless sensor node with its efficientimplementation in term of energy that can :

Detect hard-failure based on power consumption.

Then localize correctly the failing element in order to take an appropriatecorrective solution.

The simulation results allow us to validate and evaluate our on-line self-diagnosis.

Perspectives :

Implement our approach in real material for evaluating.

Measure the energy overhead when using the additional electronic devices forpower measurement.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 35: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

25/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

Bibliography

[1] Van-Trinh Hoang, Nathalie Julien and Pascal BerruetDesign under Constraints of Availability and Energy for Sensor Node in Wireless Sensor Network.IEEE International Conference on Design and Architectures for Signal and Image Processing (DASIP),October 2012.

[2] C. Constantinescu.Dependability evaluation of a fault-tolerant processor by gspn modeling.IEEE Transactions on Reliability, September 2005.

[3] M. Ringwald K. Romer and A. Vitaletti.Snif : Sensor network inspection framework.STechnical report, ETH Zurich, Zurich, 2006.

[4] Kuo-Feng Ssu, Chih-Hsun Chou, Hewijin Christine Jiau, Wei-Te Hu.Detection and diagnosis of data inconsistency failures in wireless sensor networks.Journal of Computer Networks, Volume 50, Issue 9, 20 June 2006.

[5] Peng Jiang.A New Method for Node Fault Detection in Wireless Sensor Networks.Open Access Journal of Sensors, 24 February 2009.

[6] Jinran Chen, Shubha Kher, and Arun Somani.Distributed Fault Detection of Wireless Sensor Networks.Proceedings of the workshop on Dependability issues in wireless ad hoc networks and sensor networks,New York, USA, 2006.

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013

Page 36: On-line self-diagnosis based on power measurement for a … · 2013-02-28 · On-line self-diagnosis based on power measurement for a wireless sensor node Van-Trinh HOANG, Nathalie

./Graphics/introduction/logo-ubs-nb

26/26

BackgroundOur approach for on-line self-diagnosis

SimulationConclusions and Perspectives

On-line self-diagnosis based on power measurement for awireless sensor node

Van-Trinh HOANG, Nathalie JULIEN, Pascal BERRUETLab-STICC/University of South-Brittany, Research Center, BP 92116

56321 Lorient cedex, France

Van-Trinh HOANG Oral presentation in HARSH Workshop - 24 February 2013