Computer Networks II
Advanced Features (T-110.5111)
Wireless Sensor Networks Mario Di Francesco, PhD
Assistant Professor – DCS Research Group
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)
Wireless sensor network
Architecture and components
Sensing field
Sensor Node Sink
(Base station) Remote
user
Internet
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Wireless sensor node
Architecture and components
ADC
Sensors Radio
Memory MCU DC-DC
Battery
Mobilizer Location Finding System
Power Generator
Power Supply Subsystem Sensing Subsystem Processing Subsystem Communication Subsystem
Wireless sensor node
Architecture and components
ADC
Sensors Radio
Memory MCU DC-DC
Battery
Mobilizer Location Finding System
Power Generator
Power Supply Subsystem Sensing Subsystem Processing Subsystem Communication Subsystem
Data acquisition
from the environment
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Wireless sensor node
Architecture and components
ADC
Sensors Radio
Memory MCU DC-DC
Battery
Mobilizer Location Finding System
Power Generator
Power Supply Subsystem Sensing Subsystem Processing Subsystem Communication Subsystem
Local data processing
and data storage
Wireless sensor node
Architecture and components
ADC
Sensors Radio
Memory MCU DC-DC
Battery
Mobilizer Location Finding System
Power Generator
Power Supply Subsystem Sensing Subsystem Processing Subsystem Communication Subsystem
Short range wireless communication
Radio is the most power hungry component
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Wireless sensor node
Architecture and components
ADC
Sensors Radio
Memory MCU DC-DC
Battery
Mobilizer Location Finding System
Power Generator
Power Supply Subsystem Sensing Subsystem Processing Subsystem Communication Subsystem
Battery powered devices
Batteries cannot be changed nor recharged
Examples of sensor nodes: UCB Motes
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
Telos node: board and integrated circuits
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
Power (mW)
SENSORS CPU TX RX IDLE SLEEP
Sending 1 bit of information is equivalent to process
~1000 instructions from as for energy consumption
RADIO
Wireless sensor node
Breakdown of energy consumption
0 2 4 6 8 10 12 14 16
Power (mW)
SENSORS CPU TX RX IDLE SLEEP
The power consumption of the sensor (transducer)
is not always negligible
Wireless sensor networks
Application scenarios and goals
Data collection
– Long-term network lifetime – Self organization
Dense networks
– Multi-hop routes
– Interference
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
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
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
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
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
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
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
𝒕 𝟎 + 𝟐∆𝑻 ⋯
𝜹
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
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
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)
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
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
Mobile sinks
Mobile Sink Mobile
Sink
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Mobile relays
Mobile Relay
Sink (Base station) Mobile
Relay
Relocatable nodes
Sink (Base station)
Relocatable
Relocatable
node
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Mobile peers
Sink
(Base
station)
Overview of data collection
in WSNs with mobile elements
Data collection
– Exploits contacts between nodes
Three main phases
– Discovery – Data transfer
Mobile element
Start of contact
Communication range of the node reached
by the MS
End of contact
Nodes reachable
through multi-hop
paths
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
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
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
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
...
...
T
DT
ONActive
T
OFFT
B𝑇 𝑂𝑁 = 𝑇 𝐵 + 𝑇 𝐵𝐷
𝛿 = 𝑇 𝑂𝑁
𝑇 𝑂𝑁 + 𝑇 𝑂𝐹𝐹
Evolution of sensing scenarios:
from sensors to phones and things
From sensors to smartphones
People-centric sensing applications
Internet of Things
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf
Wireless sensor networks
with mobile elements revisited
Mobile Sink Mobile
Sink
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)
Computer networks II – Advanced topics
T-110.5111 – Wireless sensor networks (09.10.2013)
Mario Di Francesco
http://www.uta.edu/faculty/mariodf