computer networks ii advanced features (t-110.5111) · wireless sensor networks with mobile...

40
Computer Networks II Advanced Features (T-110.5111) Wireless Sensor Networks Mario Di Francesco, PhD Assistant Professor – DCS Research Group For classroom use only, no unauthorized distribution

Upload: others

Post on 22-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer Networks II

Advanced Features (T-110.5111)

Wireless Sensor Networks

Mario Di Francesco, PhD

Assistant Professor – DCS Research Group

For classroom use only, no unauthorized distribution

Page 2: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Wireless sensor networks:

an introduction

Network architecture

Wireless sensor nodes

Approaches to energy conservation

G. Anastasi, M. Conti, M. Di Francesco, A. Passarella, “Energy conservation in wireless sensor networks: A

survey”, Ad Hoc Networks, 7(3):537–568, May 2009 (http://dx.doi.org/10.1016/j.adhoc.2008.06.003)

Page 3: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor network

Architecture and components

Sensing field

Sensor

Node

Sink

(Base station)

Remote

user

Internet

Page 4: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Architecture and components

ADCSensors Radio

Memory

MCU

DC-DCBattery

Mobilizer Location Finding SystemPower Generator

Power Supply Subsystem Sensing Subsystem Processing SubsystemCommunication

Subsystem

Page 5: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Architecture and components

ADCSensors Radio

Memory

MCU

DC-DCBattery

Mobilizer Location Finding SystemPower Generator

Power Supply Subsystem Sensing Subsystem Processing SubsystemCommunication

Subsystem

Data acquisition

from the environment

Page 6: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Architecture and components

ADCSensors Radio

Memory

MCU

DC-DCBattery

Mobilizer Location Finding SystemPower Generator

Power Supply Subsystem Sensing Subsystem Processing SubsystemCommunication

Subsystem

Local data processing

and data storage

Page 7: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Architecture and components

ADCSensors Radio

Memory

MCU

DC-DCBattery

Mobilizer Location Finding SystemPower Generator

Power Supply Subsystem Sensing Subsystem Processing SubsystemCommunication

Subsystem

Short range wireless communication

Radio is the most power hungry component

Page 8: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Architecture and components

ADCSensors Radio

Memory

MCU

DC-DCBattery

Mobilizer Location Finding SystemPower Generator

Power Supply Subsystem Sensing Subsystem Processing SubsystemCommunication

Subsystem

Battery powered devices

Batteries cannot be changed nor recharged

Page 9: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Examples of sensor nodes: UCB Motes

Page 10: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Examples of sensors (i.e., transducers)

Name Producer Type Power

consumption

STCN75 STM Temperature 0.4 mW

ADXL330 Analog Devices Accel. (3 axis) 0.2 mW

SHTx Sensirion Temperature/humidity 3 mW

iMEMS Analog Devices Accel. (3 axis) 30 mW

2200 and 2600

series

GEMS Pressure 50 mW

CP18, VL18,

GM60, GLV30

VISOLUX Proximity 350 mW

FCS-GL1/2A4-

AP8X-H1141

TURCK Flow control 1250 mW

Page 11: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Telos node: board and integrated circuits

Page 12: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Breakdown of energy consumption

0

2

4

6

8

10

12

14

16

Po

we

r (m

W)

SENSORS CPU TX RX IDLE SLEEP

Sending 1 bit of information is equivalent to process

~1000 instructions from as for energy consumption

RADIO

Page 13: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor node

Breakdown of energy consumption

0

2

4

6

8

10

12

14

16

Po

we

r (m

W)

SENSORS CPU TX RX IDLE SLEEP

The power consumption of the sensor (transducer)

is not always negligible

Page 14: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Wireless sensor networks

Application scenarios and goals

Data collection

– Long-term network lifetime

– Self organization

Dense networks

– Multi-hop routes

– Interference

Page 15: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Energy Conservation Schemes for WSNs

Duty Cycling Data-driven Mobility-based

Energy conservation in WSNs

Mostly targeted to the radio

and the sensing (data acquisition) subsystems

Page 16: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Taxonomy of approaches

based on duty cycling

Duty Cycling

Topology Control

Location-driven Connectivity-

driven

Power Management

Sleep/Wakeup Protocols

Low-Duty Cycle MAC Protocols

Page 17: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Taxonomy of

(general) sleep/wakeup protocols

Sleep/wakeup Protocols

On-demand Scheduled

Rendez-vous Asynchronous

On demand: low-power radios, radio-triggered wakeup

Scheduled rendez-vous: synchronized wakeup

Asynchronous: wakeup at any time

Page 18: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Taxonomy of

MAC protocols with a low duty cycle

Low-Duty Cycle MAC Protocols

Time Division Multiple Access

Contention-based Hybrid

Time Division Multiple Access: Bluetooth, TRAMA

Contention-based: IEEE 802.15.4, B-MAC, S-MAC, T-MAC

Hybrid: Z-MAC, Crankshaft

Page 19: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Channel access

based on long preambles

Low-power listening

– Exploit transmit mode as it consumes less than receive mode

– Use a duty cycle for further energy savings

– Implemented by B-MAC and derived solutions (e.g., X-MAC)

Preamble Msg

Page 20: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Taxonomy of data-driven approaches

Data-driven

Data Reduction

In-network Processing

Data Compression

Data Prediction

Energy-efficient Data Acquisition

Adaptive Sampling

Hierarchical Sampling

Model-based Sensing

Page 21: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Example of data prediction:

differential sending strategy

Only send messages if values differ more than

send skip skip skip skip skip

send

skip

send skip skip skip skip

Page 22: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Example of data prediction:

model-based strategy

Send the description (representation) of the signal

send all messages

build and send the model

no messages

signal differs from model,

start over

Page 23: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Example of hierarchical sampling:

triggered sensing in smart environments

Event-triggered image capture

– Fall detection algorithm running at an ordinary sensor

– Tiered architecture with a multimedia sensor node

Ordinary Sensor

(Sun SPOT)

Multimedia Sensor Prototype

Sun SPOT(gateway)

BeagleBoard

Logitech C905

IEEE 802.15.4

Page 24: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Wireless sensor networks

with mobile elements

Definition and taxonomy

Sparse wireless sensor networks

Discovery of mobile elements

M. Di Francesco, S. K. Das, G. Anastasi, “Data Collection in Wireless Sensor Networks with Mobile Elements: A Survey”, ACM Transactions on Sensor Networks, 8(1):7, August 2011 (http://dx.doi.org/10.1145/1993042.1993049)

Page 25: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

WSNs with Mobile Elements

Main components

– (Regular) sensor nodes

Perform sensing as their main task

Sources of data

– Sinks (base stations)

Collect messages and use them or make them available

Destination of data

– Support nodes

Special nodes performing a specific task

They exploit mobility to support network operation

A network where at least one of them is mobile

Page 26: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Mobile Data Collectors

Mobile elements that visit the network

to gather data from source nodes

Classification

– Mobile sinks

Both dense and sparse WSNs

– Mobile relays

Support nodes that provide a relay (forwarding)

service between source nodes and the sink

Gather data from sensors, store them

and carry them to the base station

(Rather) sparse WSNs

Page 27: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Mobile sinks

Mobile

Sink

Mobile

Sink

Page 28: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Mobile relays

Mobile

Relay

Sink

(Base

station)

Mobile

Relay

Page 29: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Relocatable nodes

Sink

(Base

station)

Relocatable

node

Relocatable

node

Page 30: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Mobile peers

Sink

(Base

station)

Page 31: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Overview of data collection

in WSNs with mobile elements

Data collection

– Exploits contacts

between nodes

– Different from classic WSNs

Three main phases

– Discovery

– Data transfer

– Routing to MEs

Mobile

elementStart of

contact

Communication

range of the

node reached

by the MS

End of

contact

Nodes

reachable

through

multi-hop

paths

Page 32: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Sparse wireless sensor networks

Reference scenario and sensor states

MDC in contact with at most one sensor at any time

Additional sleeping phase

Mobile data

collector

timeout

Data Transfer

Discovery

Sleeping

MDC out of reach or

communication over

timeout

MDC

discovered

Page 33: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Communication in sparse WNS

Nodes wait for the MDC to approach and then transfer data

Pros – Decreased message loss

– Nodes do not have to relay messages

– Tight synchronization is not required

Cons – Increased latency

– Cost of MDCs

Page 34: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Discovery phase

Asynchronous protocol with duty cycle

Mobile data collector

– Emits beacon messages periodically

Static sensor node

– Wakes up periodically to listen for incoming beacons

Node

MDC

...

...

TD

TON

Active

TOFF

TB

Page 35: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Evolution of sensing scenarios:

from sensors to phones and things

From sensors to smartphones

People-centric sensing applications

Internet of Things

Andrew T. Campbell et al., “The Rise of People-Centric Sensing”, IEEE Internet Computing 12(4):12–21, July

2008 (http://dx.doi.org/10.1109/MIC.2008.90)

L. Atzori, A. Iera, and G. Morabito, “The Internet of Things: A survey”, Computer Networks, 54(15):2787–

2805, October 2010 (http://dx.doi.org/10.1016/j.comnet.2010.05.010)

Page 36: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

Wireless sensor networks

with mobile elements revisited

Mobile

Sink

Mobile

Sink

Page 37: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

From sensor devices to smartphones

Smartphones as sensing platforms

– Abundance of sensors

Acceleration

Location, orientation

Sound, video

Proximity

– Rich in processing and storage resources

Enabling even computationally intensive applications

– Several wireless technologies

WiFi, Bluetooth (Low Energy)

Long range cellular radio

Near Field Communication (NFC)

Page 38: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

People-centric sensing scenarios

Passive sensing scenarios

– People and communities are characterized

through data sampled by the phone during everyday life

Can be seen as a special case of WSNs with MEs or DTNs

– Also referred to as people-based sensing

Active sensing scenarios

– People involved in sensing campaigns

– Participants instructed to actively sense the environment

Sample applications: traffic/accidents monitoring, well being

Incentives for participation

– Also known as participatory sensing

Page 39: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer networks II – Advanced topics

T-110.5111 – Wireless sensor networks (13.10.2014)

Mario Di Francesco

http://www.uta.edu/faculty/mariodf

The Internet of Things

Networked objects (devices)

– Deployed worldwide

– Connected over the Internet

IoT devices

– Individually addressable

– Interconnected and accessed through the standards of the web

– Not only sensors but also actuators (i.e., power switches)

Major issues

– Heterogeneity

– Scale

Page 40: Computer Networks II Advanced Features (T-110.5111) · Wireless sensor networks with mobile elements Definition and taxonomy Sparse wireless sensor networks Discovery of mobile elements

Computer Networks II – Advanced

Features (T-110.5111)

Mario Di Francesco, PhD

[email protected]

http://www.uta.edu/faculty/mariodf