Deployment Support Network - BTnodes - A Distributed

25
1 Deployment Support Network A toolkit for the development of WSNs M. Dyer , J. Beutel, T. Kalt, P. Oehen, L. Thiele Computer Engineering and Networks Laboratory, ETH Zurich K. Martin and Ph. Blum Siemens Building Technologies Group, Switzerland European conference on Wireless Sensor Networks (EWSN) 2007

Transcript of Deployment Support Network - BTnodes - A Distributed

1

Deployment Support NetworkA toolkit for the development of WSNs

M. Dyer, J. Beutel, T. Kalt, P. Oehen, L. ThieleComputer Engineering and Networks Laboratory, ETH Zurich

K. Martin and Ph. BlumSiemens Building Technologies Group, Switzerland

European conference on Wireless Sensor Networks (EWSN) 2007

2

Overview

1. Introduction• WSN System Testing Challenge• Related Work

2. Deployment Support Network (Concept)• Overview• Advantages

3. DSN Prototype• Technology Overview• Target Interfaces• Service Use Cases

4. Industrial Case-Study

3

Motivation: WSN System Testing is a Challenge

Sensor-Node Constraints:

EnergySizeCost, …

– small memory– little I/O– low data-rate

radio

hard todebug

– large scale– embedded in

environment– no global time

hard to access

time

Experience / Lessons Learned:

Algorithms Test SystemIntegration Test

Deployment Test

7

WSN Development Wish-List

1. Visibility (access to state of the nodes)

2. Control over nodes

3. Tools for 1. & 2.

Related Work

Simulation: TOSSIM Test-beds: MoteLab Deployment Services:

• Deluge: Over-the-air code distribution.

• Marionette:Embedded-RPC, read/write vars, call functions, over-the-air

Problem:• Realism of

simulation models

Problem:• Artificial environment

• Wired infrastructure

• Infrastructure access

Problem:• Limited resources

• Interference (Heisenberg-Effect)

• Robustness/ Reliability

Can we take the best of both sides?

8

Deployment Support Network: Overview

Wireless Testbed with Deployment Services:

• data- and event logging

• node control over-the-air

• remote reprogramming }

9

Deployment Support Network: Overview

Wireless Testbed with Deployment Services

11

Deployment Support Network: platform independent

DSN backbone network• Deployment Services on DSN-Nodes

Target WSN

DSNServer

Client

targ

et a

rch

itec

ture

inde

pen

den

tta

rget

arc

hit

ectu

rede

pen

den

t

12

Deployment Support Network: Advantages

Advantages of separation:

• Services are target-architecture independent.

• No more over-provisioning of Target-Nodes.– Services provided by the DSN-Nodes:

• Reliable multi-hop connectivity• Adaptive topology control• Code distribution• Large data- and event buffer• Time-synchronization• Target control / power

• DSN-nodes are optimized for deployment services.– Reliability, Robustness

• Safe reprogramming of Target-Nodes.

13

Overview

1. Introduction• WSN System Testing Challenge• Related Work

2. Deployment Support Network (Concept)• Overview• Advantages

3. DSN Prototype• Technology Overview• Target Interfaces• Service Use Cases

4. Industrial Case-Study

14

DSN Prototype: Technology Overview

Target-Nodes

DSN Server:• Java Server• mysql DB

Client:• Java, C++, …• Perl, Python,

PHP, …

DSN-node:BTnode rev3• Atmel AVR• Bluetooth• 256k SRAM

Bluetooth multi-hop scatternet

Internet / XML-RPC Wired Target Interface:• Programming Interface• Serial Data / Bitwise I/O• Target Control / Power

15

DSN Prototype: Wired Target Interfaces

Moteiv Tmote Sky

Siemens A80

Shockfish TinyNodeBTnode rev3

16

Deployment Support Network: Overview

DSN Server:• Java Server• mysql DB

Client:• Java, C++, …• Perl, Python,

PHP, …

Bluetooth multi-hop scatternet

Internet / XML-RPC

DSN-Nodes

Target-Nodes

17

DSN Service Example: Remote reprogramming

Client DSN Server DSN Nodes Target-Nodes

firmware upload

status request

program nodes

all done

DSN code-

distribtion

18

DSN Service Example: Data- and Event Logging

Client DSN Server DSN Nodes Target-Nodes

configure push-mode

messages

get DB events

messagesget events

configure pull-mode

19

Overview

1. Introduction• WSN System Testing Challenge• Related Work

2. Deployment Support Network (Concept)• Overview• Advantages

3. DSN Prototype• Technology Overview• Target Interfaces• Service Use Cases

4. Industrial Case-Study

20

Wireless Fire Detection and Alarm System developed at Siemens Building Technologies Group, Switzerland

Development Approach:1. Protocol evaluation using simulation2. Characterization using prototype implementations3. Semi-automatic testing and verification of prototypes using

a Deployment-Support Network4. Live field testing in different configurations/locations

Industrial Case Study

21

Industrial Case Study: Why DSN?

Why DSN (and not cable-based testing, or over-provisioned fire-detectors with debugging capabilities)?

wireless & battery-operated

allows for realistic placement of nodes

• no modification of target hardware

• no implementation of debugging services on the target

• easy setup & deployment

22

Industrial Case Study: Setup 1/3

1. Connect Target-Nodes to DSN-nodes

Interface Board

23

Industrial Case Study: Setup 2/3

• Deploy Target-/DSN-node pairs in real scenarios

DSN-node/Target-node pair• Wireless

Existing fire-detector• Real placement location• Wired

24

Industrial Case Study: Setup 3/3

3. Server and client setup

DSN Server:

• DSN-access node

• DSN server app

• MySQL database

Client:

• Test-Case generator

• Analysis Tools

• Communicate to server via XML-RPC (remote access)

25

Industrial Case Study: Test-Case

Test Example:

• Measurement of channel quality between different pairs of deployed nodes.

• Quality difference between day and night?

• High-resolution measurements but also long term average.

• Fault injection (“jamming”, connectivity changes, … )

• Reproducability of test scenarios

Test Automation and Evaluation:

• 2 firmware images: “Sender” and “Receiver”

• Client: test-case generator / analysis tools– Schedules automated tests on different daytimes with different parameters– Evaluates results

26

Industrial Case Study: Test-Case

27

Industrial Case Study: Test-Case

28

Conclusion

The Deployment Support Network

• Features:– Wireless– Target-architecture independent– Easy to set-up

• Supported services:– Data- and event logging– Target control– Remote reprogramming

}real-world deployments

visibility & control}

29

Thank you for the attention

More information on the Project Webpage:• http://www.btnode.ethz.ch

• http://www.btnode.ethz.ch/Projects/Jaws

Questions?