TDMH-MAC: Real-time and multi-hop in the same wireless MAC

Similar documents
arxiv: v1 [cs.ni] 17 Sep 2018

Presented by: Murad Kaplan

Atacama: An Open Experimental Platform for Mixed-Criticality Networking on Top of Ethernet

Strengthening Unlicensed Band Wireless Backhaul

SENSOR-MAC CASE STUDY

End-to-end Real-time Guarantees in Wireless Cyber-physical Systems

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

CS263: Wireless Communications and Sensor Networks

Local Area Networks (LANs) SMU CSE 5344 /

Principles of Wireless Sensor Networks. Medium Access Control and IEEE

Vorlesung Kommunikationsnetze Research Topics: QoS in VANETs

General considerations and test methods

Wireless Sensor Networks

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

A Quota Transfer Protocol for Upstream Transmissions in Wireless Mesh Networks

The Open System Interconnect model

RT-Link: A global time-synchronized link protocol for sensor networks Anthony Rowe, Rahul Mangharam, Raj Rajkumar

ETSI Project BRAN Hiperlan Type 2 for IEEE 1394 Applications System Overview

LXRS and LXRS+ Wireless Sensor Protocol

Message acknowledgement and an optional beacon. Channel Access is via Carrier Sense Multiple Access with

Data Link Layer Technologies

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

MAC in /20/06

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

olsr.org 'Optimized Link State Routing' and beyond December 28th, 2005 Elektra mesh.net

Lecture 12 December 04, Wireless Access. Graduate course in Communications Engineering. University of Rome La Sapienza. Rome, Italy

Sensor Network Protocols

MAC Essentials for Wireless Sensor Networks

A Comprehensive Study of ZigBee. Presented by Dr. K F Tsang Citycom Technology Ltd. Tel:

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

ADB: An Efficient Multihop Broadcast Protocol Based on Asynchronous Duty-Cycling in Wireless Sensor Networks

The Flooding Time Synchronization Protocol

Medium Access Control in Wireless Networks

Networking Sensors, I

Lecture 9. Quality of Service in ad hoc wireless networks

Principles of Wireless Sensor Networks

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Chapter 6 Local Area Networks and Media Access Control. School of Info. Sci. & Eng. Shandong Univ.

Mobile Communications

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Mesh Networks

Overview of the IEEE /4a standards for low data rate Wireless Personal Data Networks

ET4254 Communications and Networking 1

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

EL2745 Principles of Wireless Sensor Networks

IEEE Time-Sensitive Networking (TSN)

WIRELESS TECHNOLOGIES

Control Data Systems Industrial Wireless Communications

CDMA-Based MAC Protocol for Wireless Ad Hoc Networks

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

The MAC layer in wireless networks

Project: IEEE P Working Group for Wireless Personal Area Networks N

MAC LAYER. Murat Demirbas SUNY Buffalo

Wireless Communications

Wireless Transmission and Mobility

3. Evaluation of Selected Tree and Mesh based Routing Protocols

Availability and End-to-end Reliability in Low Duty Cycle Multihop Wireless Sensor Networks

Fault Tolerant and Secure Architectures for On Chip Networks With Emerging Interconnect Technologies. Mohsin Y Ahmed Conlan Wesson

Mobile and Sensor Systems. Lecture 3: Infrastructure, Ad-hoc and Delay Tolerant Mobile Networks Dr Cecilia Mascolo

Lecture 9: Bridging & Switching"

Reducing Inter-cluster TDMA Interference by Adaptive MAC Allocation in Sensor Networks

ECE 650 Systems Programming & Engineering. Spring 2018

WSN Routing Protocols

WSN NETWORK ARCHITECTURES AND PROTOCOL STACK

Final Exam: Mobile Networking (Part II of the course Réseaux et mobilité )

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

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

MAC Protocols for VANETs

BASIC CHARACTERISTICS OF ZIGBEE AND SIMPLICITI MODULES TO USE IN MEASUREMENT SYSTEMS

Power-efficient Communication Protocol for Social Networking Tags for Visually Impaired

Project: IEEE P Working Group for Wireless Personal Area Networks N

The fundamentals of Ethernet!

Configuring your VLAN. Presented by Gregory Laffoon

CS 410/510 Sensor Networks Portland State University

CSE 461: Multiple Access Networks. This Lecture

Routing for IoT and Sensor Systems

Module 17: "Interconnection Networks" Lecture 37: "Introduction to Routers" Interconnection Networks. Fundamentals. Latency and bandwidth

FlexRay International Workshop. Protocol Overview

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

CE693: Adv. Computer Networking

Questions about LAA deployment scenarios

Link layer: introduction

CARRIER SENSE MULTIPLE ACCESS (CSMA):

ZigBee/ David Sanchez Sanchez.

Distributed Systems. 05. Clock Synchronization. Paul Krzyzanowski. Rutgers University. Fall 2017

Principles of Wireless Sensor Networks

Local Area Network Overview

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

Principles of Wireless Sensor Networks

Performance Evaluation of Route Failure Detection in Mobile Ad Hoc Networks

Outline. CS5984 Mobile Computing. Dr. Ayman Abdel-Hamid, CS5984. Wireless Sensor Networks 1/2. Wireless Sensor Networks 2/2

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

ECE 158A: Lecture 13. Fall 2015

The MAC layer in wireless networks

Real-Time Internet of Things

ECE 435 Network Engineering Lecture 11

CONTENTION BASED PROTOCOLS WITH RESERVATION MECHANISMS

ECE 435 Network Engineering Lecture 11

Transcription:

TDMH-MAC: Real-time and multi-hop in the same wireless MAC Federico Terraneo, Paolo Polidori, Alberto Leva, William Fornaciari Politecnico di Milano, Italy RTSS 8 Nashville, December 8

Quick context This talk is about a Medium Access Control (MAC) protocol targeting real-time applications for wireless networks built on top of the IEEE 8.5.4 PHY layer the one also used by Zigbee This work is part of a research line on time deterministic distributed systems (previous RTSS papers) 4 FLOPSYNC- clock synchronization sub-µs, sub-µa, off-the-shelf hw components 5 propagation delay compensation brought sub-µs precision to large scale multi-hop networks 6 quantization-aware clock synchronization relevant when only a low resolution timebase is available 7 high accuracy, low power timebase synchronizing RTC and high resolution clock on same device F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Why a MAC? Network time uncertainty going through the TCP/IP stack PHY ns to µs time jitter of sending a symbol MAC ms time for accessing the channel (statistical multiplexing) -6 order of magnitude increase from previous layer! IP/TCP s to s of ms multiple hops, internetworking only - orders of magnitude increase from previous layer F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Why a MAC? On the Internet huge number of devices scalability is a primary concern statistical multiplexing is a necessity makes networking equipment (almost) stateless Real-time communication is needed in local networks not as many hosts as the Internet can make the network stateful route streams, not packets added complexity paid off with time determinism and with simplification of upper layers manageable also on microcontrollers F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Desired feature # guaranteed end-to-end latency without statistical multiplexing Why we want it: no self-interference, no frame queues worst case latency close to average case latency can push the PHY to its limits F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 4/

Desired feature # full mesh topology not a star network and no spanning tree on the mesh and dynamically updated too M 9 Why we want it: every link counts 6 can do spatial redundancy can balance load for increased throughput for energy balancing 4 5 8 7 F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 5/

TDMH-MAC architecture TDMH-MAC is a centralized TDMA protocol. Centralized on demand SCHEDULER SCHEDULE DISTRIBUTION Flooded on demand Dirstibuted always running TOPOLOGY COLLECTION DATA TRANSMISSION Dirstibuted always running Main challenge is efficient topology collection F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 6/

TDMH-MAC architecture T data superframe T control superframe T downlink T data T uplink D U D U T tile T tile TDMH-MAC is temporally organized in tiles each tile begins with a control part for network management downlink, for clock synchronization and schedule dissemination uplink, for topology collection and stream management followed by a number of slots for data frames Tiles repeat periodically control superframe the shortest repeating sequence of downlink/uplink tiles data superframe the shortest repeating sequence of data transmission (schedule) F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 7/

The role of constructive interference flooding flooding broadcasts a frame across all hops of a network is performed using solutions suh as Glossy......that use constructive interference all nodes of a given hop transmit simultaneously to function, Glossy needs to embed a hop counter in the frame nodes become aware of their distance in hops from the flood originator TDMH-MAC makes use of this previously overlooked information In TDMH-MAC the master node floods control downlink frames using Glossy used for clock synchronization and schedule dissemination by participating in the flood, nodes become aware of their distance in hops from the master F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 8/

Topology collection Goal: collect information on the current network topology and forward it to the master node Control uplink slots are used at every control uplink only one node transmits round-robin scheme possible because nodes are already synchronized frame is not flooded only nodes in radio range receive it Transmitted frame contains node ID hop it belongs to node ID of a forwardee, which will forward this frame towards the master the list of its neighbors (bitmask-encoded) zero or more forwarded topologies F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 9/

Topology collection An example is shown with the following topology Node ID Hop We will see a full network formation example F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Topology collection Network knowledge of each of the four nodes Immediately after the first clock synchronization flood all nodes know their hop node and have no topology information node and know that they can reach the master node they infer it from belonging to hop F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Topology collection The round robin topology collection starts from the highest numbered node Node transmits an uplink frame with: NodeID =, Hop =, Forwardee = none, Neighbors =, Forwarded = nodes and overhear the frame and know they can reach F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Topology collection Node then transmits an uplink frame with: NodeID =, Hop =, Forwardee =, Neighbors = {,}, Forwarded = node now knows it can reach it now has a predecessor to forward its topology to node reaches full knowledge of the network other nodes reach a partial network knowledge F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Topology collection Node finally transmits an uplink frame with: NodeID =, Hop =, Forwardee =, Neighbors = {,,}, Forwarded = all nodes reach full network knowledge the round robin restarts so as to keep the topology information updated F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 4/

Topology collection In the general case forwarding of topology information may be necessary at each forwarding, data is guaranteed to get closer to the master only the master will converge to full network knowledge other nodes may only have partial network knowledge but this is not an issue, since TDMH-MAC is centralized F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 5/

The data phase Goal: transmit application data In TDMH-MAC, application data is organized in streams logical point-to-point links between nodes can be opened and closed dynamically Streams have the following properties dedicated bandwidth guaranteed period between application-level packets latency bound equals the period a redundancy level F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 6/

The data phase The master node schedules streams in data slots breaks down a stream in individual transmissions between hops guaranteed no self-interference spatial redundancy can be supported Nodes just execute the given schedule For every data slot each node either takes a frame from upper layers and transmits it receives a frame into a local buffer transmits a frame from a buffer receives a frame and passes it to upper layers or sleeps F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 7/

The TDMH scheduling problem The TDMH-MAC scheduler is thought as a customization point the scheduling problem has been formalized in first order logic allows to handle the problem in abstracto an OMNeT++ simulator for TDMH is available allows to implement new schedulers TDMH-MAC runs on WandStem nodes the same codebase runs both on the OMNeT++ simulator and on the nodes F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 8/

Scalability considerations TDMH-MAC has been characterized through simulations and experiments it can scale to beyond nodes and hops further scaling would require a faster PHY that 8.5.4 main limitation: 5kbit/s data rate we will here show the result of an experiment for the simulation characterization, please see the paper F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC 9/

Experimental evaluation TDMH-MAC was tested on a network of 9 nodes at Politecnico di Milano 6/ / / 4/ 5/ / 8/ 7/ / The topology shown is the one produced by the topology collection algorithm F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Experimental evaluation Three streams were opened Source node Dest node Period ms 6 ms 4 ms T T D 4 5 6 7 8 9 U 4 5 6 7 8 9 4 6 6 8 8 7 7 4 4 5 5 4 4 7 7 5 5 F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Experimental evaluation Two one day experiments were performed without redundancy with double spatial redundancy Link reliability was as follows Stream Without redundancy With redundancy 99.56% 99.67% 6 95.4% 99.97% 4 97.45% 99.% F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Conclusions We proposed TDMH-MAC, a wireless MAC fo real-time applications Compared to the current state of the art, our solution provides latency bounds in multi-hop networks supports full-mesh networks efficiently Feature TDMH-MAC TSCH DSME LLDN rt-wifi Multi-hop Guaranteed period Spatial redundancy Temporal redundancy feasible feasible Management C C/D D C C Topology mesh ct ct star star centralized distributed cluster-tree F. Terraneo et al. TDMH-MAC: Real-time and multi-hop in the same wireless MAC /

Thank you federico.terraneo@polimi.it paolo.polidori@mail.polimi.it alberto.leva@polimi.it william.fornaciari@polimi.it Code can be found at github.com/fedetft/tdmh