The challenges of networking in Wireless Sensor Networks!

Similar documents
Mobile Communications

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

RF and network basics. Antonio Liñán Colina

Outline. Introduction. The Internet Architecture and Protocols Link Layer Technologies Introduction to 6LoWPAN The 6LoWPAN Format Bootstrapping

Implementation of Gradient Routing in WSNs

IoT Roadmap in the IETF. Ines Robles

Proposed Node and Network Models for M2M Internet

Wireless Sensor Networks Module 2: Routing

Networked Embedded Systems: 6LoWPAN

Networked Embedded Systems: 6LoWPAN

Politecnico di Milano Advanced Network Technologies Laboratory. 6LowPAN

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Linux-based 6LoWPAN border router

Lesson 4 RPL and 6LoWPAN Protocols. Chapter-4 L04: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

Communication and Networking in the IoT

Routing over Low Power and Lossy Networks

Study of RPL DODAG Version Attacks

Internet Engineering Task Force (IETF) Request for Comments: ISSN: March 2012

Principles of Wireless Sensor Networks

Integration of Wireless Sensor Network Services into other Home and Industrial networks

Enhancing Routing Protocol for Low Power and Lossy Networks

draft-ietf-6lowpan-nd-07 Authors: Zach Shelby (ed.) Jonathan Hui Pascal Thubert Samita Chakrabarti Erik Nordmark Carsten Bormann

System Architecture Challenges in the Home M2M Network

Wireless Sensor Networks for Spacecraft DAMON PARSY, CEO OF BEANAIR

WSN Routing Protocols

INESC TEC. Centre for Telecomunications and Multimedia. 21 March Manuel Ricardo. CTM Coordinator

Medium Access Control in Wireless Networks

Routing in the Internet of Things (IoT) Rolland Vida Convergent Networks and Services

Cloud Based IoT Application Provisioning (The Case of Wireless Sensor Applications)

Communications Options for Wireless Sensor Networks. Marco Zennaro and Antoine Bagula ICTP and UWC Italy and South Africa

ZigBee IP update IETF 87 Berlin. Robert Cragie

Internet based IoT connectivity Technologies

ns-3 RPL module: IPv6 Routing Protocol for Low power and Lossy Networks

Internet of Things: Latest Technology Development and Applications

Constrained Application Protocol (CoAP) Vilen Looga, M.Sc. Doctoral

Implementation of 6LoWPAN Border Router (6BR) in Internet of Things

TinyOS meets IP -- finally

Quantitative Analysis and Evaluation of RPL with Various Objective Functions for 6LoWPAN

Interoperability. Luca Mottola slides partly by Simon Duquennoy. Politecnico di Milano, Italy and Swedish Institute of Computer Science

Internet of Things: An Introduction

A Performance Evaluation of RPL in Contiki

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

CHAPTER 3. 6LoWPAN 3.1 INTRODUCTION

Chapter 5 Ad Hoc Wireless Network. Jang Ping Sheu

WIRELESS TECHNOLOGIES FOR THE INTERNET OF THINGS

IoT in Smart Cities Technology overview and future trends

AN ENERGY EFFICIENT AND RELIABLE TWO TIER ROUTING PROTOCOL FOR TOPOLOGY CONTROL IN WIRELESS SENSOR NETWORKS

RPL: The IP routing protocol designed for low power and lossy networks

Available online at ScienceDirect. Procedia Computer Science 87 (2016 )

Impact of Black Hole and Sink Hole Attacks on Routing Protocols for WSN

Lithe: Lightweight Secure CoAP for the Internet of Things

The P2P-RPL Routing Protocol for IPv6 Sensor Networks: Testbed Experiments

Energy-Efficient Communication Protocol for Wireless Micro-sensor Networks

Leveraging upon standards to build the Internet of Things

Ad Hoc & Sensor Networks

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Optimizing Routing Protocol for Low power and Lossy Network (RPL) Objective Function for Mobile Low-Power Wireless Networks

DASH7 ALLIANCE PROTOCOL - WHERE RFID MEETS WSN. public

Linux-wpan: IEEE and 6LoWPAN in Linux

Sensors & Transducers Published by IFSA Publishing, S. L.,

Network protocol for Internet of Things based on 6LoWPAN

RPL- Routing over Low Power and Lossy Networks

Low Power and Low Latency MAC Protocol: Dynamic Control of Radio Duty Cycle

Implementation of cluster control manager for multiple wireless links sharing systems

An Energy-Efficient Hierarchical Routing for Wireless Sensor Networks

RPL: Routing for IoT. Bardh Prenkaj Dept. of Computer Science. Internet of Things A.A

IETF 93 ROLL. Routing over Low-Power And Lossy Networks. Chairs: Michael Richardson Ines Robles

Open Shortest Path First (OSPF)

Internet of Things 2017/2018

WIRELESS FREIGHT SUPERVISION USING OPEN STANDARDS

The Internet of Things. Thomas Watteyne Senior Networking Design Engineer Linear Technology, Dust Networks product group

BII - Broadband for Industrial Internet

Enhancement of CoAP Packet Delivery Performance for Internet of Things. Hang Liu

Impact of IEEE n Operation on IEEE Operation

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

6LoWPAN (IPv6 based Low Power WPAN)

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Routing Protocols in Internet of Things. Charlie Perkins December 15, 2015 with a few slides originated by Pascal

GPRS and UMTS T

CSCI Spring Final Exam Solution

CASAN: A New Communication Architecture for Sensors Based on CoAP

Constrained Application Protocol (CoAP) Vilen Looga, M.Sc. Doctoral

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

Semainaire Objects connectés industriels, M2M, réseaux June 12th, 2014 IoT et Smart Cities: comment passer à l échelle

ICS 351: Today's plan. OSPF BGP Routing in general routing protocol comparison encapsulation network dynamics

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

INTERNATIONAL JOURNAL OF COMMUNICATIONS Volume 12, Performance comparative analysis of LOADing-CTP and RPL routing protocols for LLNs

Chapter 09 Network Protocols

LoRa - LoRaWAN - LRSC. Wireless Long Range Network for M2M Communication

Outlook on IEEE ZigBee Implications IP Requirements IPv6 over Low Power WPAN (IEEE ) Conclusions. KRnet /21

IEEE s ESS Mesh Networking

Streaming the Sound of Smart Cities: Experimentations on the SmartSantander test-bed

Intra and Inter Cluster Synchronization Scheme for Cluster Based Sensor Network

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Prianka.P 1, Thenral 2

Link Layer and LANs. CMPS 4750/6750: Computer Networks

New Real Evaluation Study of Rpl Routing Protocol Based on Cortex M3 Nodes of Iot-Lab Test Bed

A Dinamic Multi-Layer Self-Healing Algorithm for WSN using Contiki OS

INTERNET OF THINGS FOR SMART CITIES BY ZANELLA ET AL.

Transcription:

The challenges of networking in Wireless Sensor Networks! Winter school on Wireless Sensor Systems!! Centre de Développement des Technologies Avancées!! Algiers, Algeria, December 4th! Prof. Congduc Pham! http://www.univ-pau.fr/~cpham! Université de Pau, France!!

Wireless autonomous sensor! q Wireless Sensor Nodes or embedded Linux still remain the main IoT development platform! q In general: low cost, low power (the battery may not be replaceable), small size, prone to failure, possibly disposable! Radio Transceiver Battery Power Processor Data Storage 2

Sensor networks! 8720 Joules! 3

Academics vs Industries! Millions of sensors, self-organizing, selfconfiguring, with QoS-based multipath routing, mobility, and 50 sensors, STATIC deployment, but need to have RELIABILITY, GUARANTEED LATENCY for monitoring and alerting. MUST run for 3 YEARS. No fancy stuff! CAN I HAVE IT? From Peng Zeng & Qin Wang 5

Deployment in practice! to 50 sensor nodes per cluster/area Gateway can interconnect clusters Communication needs: Sensor <-> Sensor Sensor <-> Gateways Gateways <-> Internet 6

-hop communication! Most of telemetry systems Only issue is to process data, and cost & energy 7

Cellular model! 8 8

GSM (2G)/GPRS! Channels Downlink Uplink 8 Time Slots per frame Duration of a TDMA frame = 4.62 ms GPRS shield for Arduino! 7 0 2 3 4 5 6 7 0 time 9

3G and beyond! q 3G and beyond use CDMA techniques! uplink Voice Data CDMA codes (Walsh) 2 3 3G shield sold by Libelium! 0

Opportunities for Telco operators & more! Enhanced from M. Dohler M2M in SmartCities

Private long distance communications! Picture from Libelium/Cooking-Hacks! XBEE PRO 868 868 MHz short-range device G3 band for Europe Outdoor RF line-of-sight range up to 40 km Data rate of 24 Kbps Libelium LoRa is based on Semtech SX272 LoRa 863-870 MHz for Europe Outdoor RF line-of-sight range up to 22 km in LOS and 2km in NLOS Data rate? 2

Tests from Libelium! http://www.libelium.com! 3

Multi-hop to gateways! - Routing issues - Medium Access issues 4

IEEE 802.5.4! Low-power radio offering up to 250kbps throughput at physical layer (2.4GHz, O-QPSK)! Power transmission from mw to 00mW for range from 00m to about km is LOS! CSMA/CA (beacon &! non beacon)! Used as physical layer! in many stacks! 64-bit or 6-bit address! 6-bit PAN ID! 5

IEEE 802.5.4! OSI 3 & 4 802.5.4 (PHY & MAC) OSI 2 OSI ZigBit AT86RF230 (ATMEL)! CC2420 (TI)! Xbee (Digi)! MRF24J40MA (Microchip)! 6

Spectrum band! 7

MAC frame format! Max size = 27 bytes Max=02 bytes 58 3332 003A200 3332 CC6 003A200 40922078 4086D834 HELLO 2B32 HELLO 64-bit 0x003A2004086D834! 6-bit 0x000! CHANNEL 0x0C! PANID 0x3332 Can broadcast if sent to 0x000000000000FFFF 64-bit 0x003A20040922078! 6-bit 0x0020! CHANNEL 0x0C! PANID 0x3332 8

SmartSantander! www.smartsantander.eu! 9

SmartSantander test-bed! Sensor motes / IoT node! Pictures are taken in the context of the EAR-IT project! 20

SmartSantander test-bed! Gateways! Pictures are taken in the context of the EAR-IT project! 2

Limit the number of hops to gateways! 3 to 5 hops maximum! 22

Do I need multi-hop for my app?! Most of telemetry systems XBee 868MHz Outdoor LOS range: 40-80kms 2400 bps Many surveillance applications can be satisfied with the -hop communication model!!! 23

Multi-hop routing is still interesting! q -hop model is not economically tractable in large scale deployment! q -hop model is usually not energy-efficient! q -hop model is hard to optimize in terms of radio access methods! q Routing in WSN is fundamentally different from routing in other type of networks, even other wireless networks! 24

Why is it so different?!. WSN are deployed for surveillance è coverage & Latency is important!! 2. WSN are deployed to get data from remote areas or to react to events è mainly data-centric! 3. WSN run on battery è energy saving is important, if not managed correcty, see item! 25

Energy vs Latency! -hop! x d,y d -hop has the smallest latency! x s,y s 26

Energy vs Latency! Multi-hop - greedy! x d,y d Greedy geographic routing uses maximum distance forwarding x s,y s 27

Is maximum distance always good?! S S Few long links with low quality D Many short links with high quality D S Adapted from Ahmed Helmy, Robust Geographic Routing and Location-based Services D Intermediate nodes that are more sollicited die first 28

Greedy=shortest path?! S A B D E C 29

Greedy=shortest path?! S A B D E C 30

Organizing the network! q The network is no longer useful when node s battery dies!! q Organizing the network allows for spacing out the lifespan of the nodes!! q Hierarchical routing protocols often give priority to energy!! q Ex: Low-Energy Adaptive Clustering Hierarchy (LEACH)! 3

Clustering! q A cluster-head collect data from their surrounding nodes and pass it on to the base station! q The job of cluster-head rotates! 32

LEACH cluster-head! Cluster-heads can be chosen stochastically (randomly based) on this algorithm:!!! If n < T(n), then that node becomes a cluster-head! The algorithm is designed so that each node becomes a cluster-head at least once! W.B. Heinzelman, A.P. Chandrakasan, H. Balakrishnan, Application specific protocol architecture for wireless microsensor networks, IEEE Transactions on Wireless Networking (2002). 33

Example! p=0.05,! draw N a random number [0,[ at each round!! N < 0.0500 = 0.05/(-0.05*0)?! N < 0.0526 = 0.05/(-0.05*)?! N < 0.0555 = 0.05/(-0.05*2)?! N < 0.0588 = 0.05/(-0.05*3)?! N < 0.0625 = 0.05/(-0.05*4)?! N < 0.0666 = 0.05/(-0.05*5)?! N < 0.074 = 0.05/(-0.05*6)?! N < 0.0769 = 0.05/(-0.05*7)?! N < 0.0833 = 0.05/(-0.05*8)?! N < 0.0909 = 0.05/(-0.05*9)?! N < 0.000 = 0.05/(-0.05*0)?!! N < 0.5000 = 0.05/(-0.05*8)?! N <.0000 = 0.05/(-0.05*9)?! Number of clusters may not fixed in any round.! 34

Optimize selection! q A modified version of this protocol is known as LEACH-C (or LEACH Centralized)!! q This version has a deterministic threshold algorithm, which takes into account the amount of energy in the node! 35

More readings! q Routing probably one of the most covered topic in WSN!! q Many variants for! q Coverage, k-coverage! q Cluster-size! q Latencies, interferences! q Multi-paths! q!! q Objective here is to give some insight on routing objectives/issues in WSN!! q To go further, read some routing survey papers! 37

Mobile Internet! 38

Beyond Sensor Networks: Communicating Objects!! q Native communication:!! q Added communication! q Active communication! q Passive communication! 39

Promising surveillance market! 40

Integration into the Internet of Things! Internet of Things for People 4

From ad-hoc to standardized protocols! 42

The benefit of IP! Don t reinvent the wheel! RFC6282 Compression Format for IPv6 Datagrams over IEEE 802.5.4-Based Networks [20]! From ArchRock 6LowPan tutorial 43

IP need IP addresses! q IPv4 has no more addresses!! q IPv6 gives plenty of addresses! q 28bit address=6bytes!! q 6LowPan adapts IPv6 to resource-constrained devices! q Compressed IPv6 header! 7 bytes! 40 bytes From ArchRock 6LowPan tutorial 44

IPv4 vs. IPv6 Addressing! prefix! Image source: Indeterminant (Wikipeida) GFDL Host address! From 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann 45

6LoWPAN Addressing! q IPv6 addresses are compressed in 6LoWPAN! q A LoWPAN works on the principle of! q flat address spaces (wireless network is one IPv6 subnet)! q with unique MAC addresses (e.g. 64-bit or 6- bit: 0x003A20040568B34 or 0x0220)! q 6LoWPAN compresses IPv6 addresses by! q Eliding the IPv6 prefix! Global prefix known by all nodes in network! Link-local prefix indicated by header compression format! q Compressing the Interface ID! Elided for link-local communication! Compressed for multihop dst/src addresses! q Compressing with a well-known context! q Multicast addresses are compressed! From 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann 46

Addressing Example! Advertise prefix! 200:300a::0! Header compression! Build an IPv6 address with prefix and a combination of 802.5.4: - PANID - 6-bit address or - 64-bit address Based from 6LoWPAN: The Wireless Embedded Internet, Shelby & Bormann wireless network is one IPv6 subnet! 47

Use RFC4944 compression scheme for simplicity. New scheme should follow RFC6282 From ArchRock 6LowPan tutorial 48

Use RFC4944 compression scheme for simplicity. New scheme should follow RFC6282 From ArchRock 6LowPan tutorial 49

Use RFC4944 compression scheme for simplicity. New scheme should follow RFC6282 From ArchRock 6LowPan tutorial 50

Use RFC4944 compression scheme for simplicity. New scheme should follow RFC6282 From ArchRock 6LowPan tutorial 5

Use RFC4944 compression scheme for simplicity. New scheme should follow RFC6282 0 0! From ArchRock 6LowPan tutorial 52

0 0! 53

UDP header can be further compressed! 54

Internet for things! UDP, TCP? TCP, UDP RPL Routing Protocol for Low power & Lossy Networks 6LowPan 802.5.4 IPv6 egde router LBR (6lowPAN) Internet Routing Protocols: RIP, OSPF, BGP, IPv4, IPv6 55

Using IP protocols! RPL RPL RPL IPv6 egde router LBR (6lowPAN) RPL UDP End-to-end IPv6 connectivity. UDP can be used to transport sensor data 56

RPL (ripple) Routing Protocol for Low Power and Lossy Networks Walkthrough draft-dt-roll-rpl-0.txt Anders Brandt Thomas Heide Clausen Stephen Dawson-Haggerty Jonathan W. Hui Kris Pister Pascal Thubert Tim Winter IETF 75 Roll WG July 2009

Approach - Forwarding Forwarding MP2P traffic to nodes of lesser depth avoids loops only occur in presence of depth inconsistency, which is avoided or discovered and resolved Ample redundancy in most networks Forwarding traffic to nodes of equal depth (DAG siblings) may be used if forwarding to lesser depth is temporarily failed Increases redundancy, but additional protection against loops, e.g., id s, should be added Forwarding MP2P traffic to nodes of deeper depth is unlikely to make forward progress and likely to loop IETF 75 Roll WG July 2009

DAG Construction Low power and lossy network Border Router A B C F D G H I LBR- 3 4 2 E LLN links are depicted LBR form a Destination Object DAG (DODAG) Links are annotated w/ ETX (Expected Transmission Count) It is expected that ETX variations will be averaged/filtered as per [ROLL-METRICS] to be stable enough for route computation IETF 75 Roll WG July 2009

DAG Construction LBR- multicasts RA-DIO A B C F D G H I LBR- 3 4 2 E IETF 75 Roll WG July 2009 (Router Advertisement DODAG Information Object) Nodes A, B, C receive and process RA-DIO Nodes A, B, C consider link metrics to LBR- and the optimization objective The optimization objective can be satisfied by joining the DAG rooted at LBR- Nodes A, B, C add LBR- as a DAG parent and join the DAG

DAG Construction A B C F D G H I LBR- 3 4 2 E Node A is at Depth in the DAG, as calculated by the routine indicated by the example OCP (Depth ~ ETX) Node B is at Depth 3, Node C is at Depth 2 Nodes A, B, C have installed default routes (::/ 0) with LBR- as successor IETF 75 Roll WG July 2009

DAG Construction A F D B G H I LBR- 3 4 2 C E The RA timer on Node C expires Node C multicasts RA-DIO LBR- ignores RA-DIO from deeper node Node B can add Node C as alternate DAG Parent, remaining at Depth 3 Node E joins the DAG at Depth 3 by adding Node C as DAG Parent IETF 75 Roll WG July 2009

DAG Construction A B C F D G H I LBR- 3 4 2 E Node A is at Depth, and can reach ::/0 via LBR- with ETX Node B is at Depth 3, with DAG Parents LBR-, and can reach ::/0 via LBR- or C with ETX 3 Node C is at Depth 2, ::/0 via LBR- with ETX 2 Node E is at Depth 3, ::/0 via C with ETX 3 IETF 75 Roll WG July 2009

DAG Construction A F D B G H I LBR- 3 4 2 C E The RA timer on Node A expires Node A multicasts RA-DIO LBR- ignores RA-DIO from deeper node Node B adds Node A Node B can improve to a more optimum position in the DAG Node B removes LBR-, Node C as DAG Parents IETF 75 Roll WG July 2009

DAG Construction A B C F D LBR- 3 4 2 E Node A is at Depth, ::/0 via LBR- with ETX 2 Node B is at Depth 2, ::/0 via A with ETX 2 Node C is at Depth 2, ::/0 via LBR- with ETX 2 Node E is at Depth 3, ::/0 via C with ETX 3 G H I IETF 75 Roll WG July 2009

DAG Construction LBR- 3 2 DAG Construction continues A B C F D 4 E And is continuously maintained G H I IETF 75 Roll WG July 2009

Internet for things! CoAP: Constrained Application Protocol UDP, TCP? HTTP TCP, UDP RPL Routing Protocol for Low power & Lossy Networks 6LowPan 802.5.4 IPv6 egde router LBR (6lowPAN) Internet Routing Protocols: RIP, OSPF, BGP, IPv4, IPv6 67

get 6LowPan border router CoAP/6LowPan/IEEE 802.5.4! RPL routing! ack Client/Userinitiated scenario (e.g. temp. sensor) IPv6 ack get IPv6 to actuators 68

RPL and CoAP exchanges! 69

Copper for Firefox! q CoAP pluggin to query CoAP nodes in an http-like fashion! get ack 70

What do you need?! Everything is here!! CoAP Constrained Application Protocol RPL Routing Protocol for LLN LLN: Low power & Lossy Networks 6LowPan 802.5.4 Need a CoAP implementation Need an RPL implementation Not difficult, just formatting of packets TinyOS Contiki Arduino (Telecom Bretagne) 7

Conclusions! q Part I! q Present various ways to connect your sensors and build sensor networks! q -hop communication model should also be considered because there are new technologies to do so! q Multi-hop is challenging but allows much finer grain tuning of performances! q Present the IoT protocols! q Part II! q Data-intensive surveillance applications with WSN! 72