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

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

WiseTOP - a multimode MAC protocol for wireless implanted devices

Real-Time Internet of Things

Hardware-Software Codesign

CHAPTER 3 ENHANCEMENTS IN DATA LINK LAYER

Reservation Packet Medium Access Control for Wireless Sensor Networks

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

PIP: A Connection-Oriented, Multi-Hop, Multi-Channel TDMA-based MAC for High Throughput Bulk Transfer

AirTight: A Resilient Wireless Communication Protocol for Mixed- Criticality Systems

Challenges in Mobile Ad Hoc Network

ptunes: Run*me Parameter Adapta*on for Low- power MAC Protocols

PROBABILISTIC SCHEDULING MICHAEL ROITZSCH

A Adaptive Real-time Communication for Wireless Cyber-physical Systems

Research Article Priority-Based Dynamic Multichannel Transmission Scheme for Industrial Wireless Networks

IEEE Time-Sensitive Networking (TSN)

Interference-Aware Real-Time Flow Scheduling for Wireless Sensor Networks

Michael Johas Teener

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

Chapter 6 Route Alteration Based Congestion Avoidance Methodologies For Wireless Sensor Networks

Adaptive Real-Time Communication for Wireless Cyber-Physical Systems

Maximizing Network Lifetime of WirelessHART Networks under Graph Routing

Author(s): Mager, Fabian; Baumann, Dominik; Jacob, Romain; Thiele, Lothar; Trimpe, Sebastian; Zimmerling, Marco

ARTIST-Relevant Research from Linköping

Efficient many-to-many data sharing using synchronous transmission and TDMA

Sensor Network Protocols

Extensions at Broadcast Growth Codes

DISTRIBUTED EMBEDDED ARCHITECTURES

BLITZ: A Network Architecture for Low Latency and Energy-efficient Event-triggered Wireless Communication

Wireless Sensor Actuator Networks

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Enabling the Chaos Networking Primitive on Bluetooth LE Coen Roest

Towards a Real Time Communica3on Framework for Wireless Sensor Networks

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Advanced Network Design

II. Principles of Computer Communications Network and Transport Layer

ECE 158A: Lecture 13. Fall 2015

A Low-Energy Adaptive and Distributed MAC Protocol for Wireless Sensor-Actuator Networks

The Network Layer and Routers

X-Sense. Sensing in Extreme Environments. Jan Beutel, Bernhard Buchli, Federico Ferrari, Matthias Keller, Lothar Thiele, Marco Zimmerling

Architecture or Parallel Computers CSC / ECE 506

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

Acknowledgement Technique in Communication Network

Conflict-Aware Real-Time Routing for Industrial Wireless Sensor-Actuator Networks

Interactions Between the Physical Layer and Upper Layers in Wireless Networks: The devil is in the details

Concurrent Transmissions for Communication Protocols in the Internet of Things

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

. 14 Byte for Acks. Due to this fact, the overhead is more relevant if the data contained in packets is sent to high rates:

Optimal Routing and Scheduling in Multihop Wireless Renewable Energy Networks

Real-Time Protocol (RTP)

2. Introduction to Software for Embedded Systems

Formal Modeling and Analysis of Stream Processing Systems

LXRS and LXRS+ Wireless Sensor Protocol

Voice Over Sensor Networks

ENSC 427: COMMUNICATION NETWORKS

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien

Energy Management Issue in Ad Hoc Networks

Infrastructure for Autonomous Mobile Robots Communication and Coordination

LS Example 5 3 C 5 A 1 D

Principles behind data link layer services

MULTIPLE ACCESS PROTOCOLS 2. 1

CSC 4900 Computer Networks: Link Layer (2)

Wireless Sensor Networks

Energy Management Issue in Ad Hoc Networks

Real-Time and Low-Power Wireless Communication with Sensors and Actuators

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

Wireless Sensor Networks

Peer entities. Protocol Layering. Protocols. Example

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

MAC Essentials for Wireless Sensor Networks

TCP based Receiver Assistant Congestion Control

Node activity scheduling in wireless sensor networks

Exercise 1 INTERNET. x.x.x.254. net /24. net /24. x.x.x.33. x.x.x.254. x.x.x.52. x.x.x.254. x.x.x.254. x.x.x.

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Outline. A Professional Company in Software-Defined Networking (SDN) Copyright , EstiNet Technologies Inc. All Rights Reserved..

Applications and Performance Analysis of Bridging with Layer-3 Forwarding on Wireless LANs

Principles behind data link layer services:

Principles behind data link layer services:

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

On QoS Mapping in TDMA Based Wireless Sensor Networks

CHAPTER 5 PROPAGATION DELAY

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

An Experimental Study of Network Performance Impact of Increased Latency in SDR

Implementation of a Wake-up Radio Cross-Layer Protocol in OMNeT++ / MiXiM

Lecture 15 Networking Fundamentals. Today s Plan

CS263: Wireless Communications and Sensor Networks

Chaos: Versatile and Efficient All-to-All Data Sharing and In-Network Processing at Scale

Intra and Inter Cluster Synchronization Scheme for Cluster Based Sensor Network

MC-SDN: Supporting Mixed-Criticality Scheduling on Switched-Ethernet Using Software-Defined Networking

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

Distributed Queue Dual Bus

Lecture 9. Quality of Service in ad hoc wireless networks

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

Communication Fundamentals in Computer Networks

CS 3516: Advanced Computer Networks

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Real-Time Query Scheduling for Wireless Sensor. networks. Octav Chipara, Chenyang Lu, Member, IEEE, Gruia-Catalin Roman, Member, IEEE

PERFORMANCE ANALISIS OF THE LEMR-MULTICHANNEL PROTOCOL

QoS Challenges and QoS-Aware MAC Protocols in Wireless Sensor Networks

Network-wide Consensus Utilizing the Capture Effect in Low-power Wireless Networks

Transcription:

End-to-end Real-time Guarantees in Wireless Cyber-physical Systems Romain Jacob Marco Zimmerling Pengcheng Huang Jan Beutel Lothar Thiele RTSS 16 - IoT and Networking Session December 1, 2016

Predictability is key! 2

A Cyber-physical System goes beyond a real-time wireless network Predictability Real-time guarantees > Deadlines are met Wireless network Low-power Multi-hop Network deadline 3

A Cyber-physical System goes beyond a real-time wireless network Predictability Real-time guarantees > End-to-end deadlines are met Buffer management > No buffer overflow Actuator Sensor Wireless network Low-power Multi-hop Controller Network deadline End-to-end deadline 4

A Cyber-physical System goes beyond a real-time wireless network Predictability Real-time guarantees > End-to-end deadlines are met Buffer management > No buffer overflow Local interference Communication Application 5

Design goals Blink Bolt DRP Predicatability Network Device System Real-time guarantees Buffer management Adaptability Efficiency Composability 6

First piece A predictable and adaptive wireless network Actuator Sensor Wireless network Low-power Multi-hop Controller 7

First piece A predictable and adaptive wireless network Actuator Sensor Wireless network Low-power Multi-hop Controller 8

State-of-the-art wireless protocols are predictable or adaptive Splash, RAP Efficient Adaptive > not Predictable WirelessHART Predictable Efficient > not Adaptive 9

Blink A real-time, reliable and [1] adaptive wireless protocol Adaptive Reliable Real-time Based on Glossy > Flooding primitive Average 99.97% reception rate > Multiple testbeds > Tested up to 94 nodes Online scheduling > EDF-based Lazy Scheduling [1] Zimmerling M. et al., Adaptive Real-time Communication for Wireless Cyber-physical Systems To appear in ACM Transactions on Cyber-Physical Systems, 2016 10

Blink A real-time, reliable and [1] adaptive wireless protocol Abstraction Low-power Wireless Bus (LWB) > MAC protocol Communication TDMA-based in rounds > Sleep between rounds > Wireless yields sync! Variable! Node 1 Node 2 T net t t Node N C net M slots t [1] Zimmerling M. et al., Adaptive Real-time Communication for Wireless Cyber-physical Systems To appear in ACM Transactions on Cyber-Physical Systems, 2016 11

Blink A real-time, reliable and [1] adaptive wireless protocol Abstraction Low-power Wireless Bus (LWB) > MAC protocol Communication TDMA-based in rounds > Sleep between rounds > Wireless yields sync! Variable! Node 1 Node 2 Node N C net T net Sched(n+1) M slots t t t [1] Zimmerling M. et al., Adaptive Real-time Communication for Wireless Cyber-physical Systems To appear in ACM Transactions on Cyber-Physical Systems, 2016 12

Design goals Blink Bolt DRP Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 13

Second A dual-processor architecture piece to mitigate local interference Actuator Sensor Wireless network Low-power Multi-hop Controller 14

Second A dual-processor architecture piece to mitigate local interference Actuator Sensor Wireless network Low-power Multi-hop Controller 15

Bolt A dual-processor architecture [2] to mitigate local interference Application Tasks Application Processor (AP) Receive Buffer BOLT API flush read write BOLT Incoming Outgoing BOLT API write flush read Communication Processor (CP) Receive Buffer Wireless Comm. Tasks Real-time behavior Formally verified Implemented, tested, deployed Efficient μw > sleep mw > active Composable Hardware/Software free composition [2] Sutton F. et al., Bolt: A Stateful Processor Interconnect, SenSys 15, 2015 16

Design goals Blink Bolt DRP Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 17

Design goals How can we fill the blanks Blink Bolt DRP Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 18

Third piece Distributed Real-time Protocol (DRP) Blink Bolt DRP Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 19

DRP is based on three main concepts Communication is constrained within registered flows only Global requirements are splited across distributed components Interaction between components is based on contracts 20

DRP is based on three main concepts Communication is constrained within registered flows only Global requirements are splited across distributed components Interaction between components is based on contracts 21

Communication is constrained within registered flows only Flow i F i = ( n i s, n i d, T i, J i, D i ) Source Destination Min. release interval Jitter End-to-end deadline Release model Sporatic with jitter 22

DRP is based on three main concepts Communication is constrained within registered flows only Global requirements are splited across distributed components Interaction between components is based on contracts 23

Global requirements are splited across distributed components Real-time guarantee DRP : D i s + D i net + D i d = D D i s D i net D i d Source Wireless protocol end-to-end deadline : D Destination 24

DRP is based on three main concepts Communication is constrained within registered flows only Global requirements are splited across distributed components Interaction between components is based on contracts 25

Interaction between components is based on contracts > Node Network Contract CONSTRAINTS ON LOCAL SCHEDULES > Max resource demand Min service delivered > Predictability Performance A A B B 26

Example Scheduling of Communication Processors (CP) Real-time Participate in rounds guarantees > T net Blink schedule Flush before rounds Write after rounds > T net Blink schedule Buffer Flush Bolt regularly s management > T f Comm. Processor schedule 27

Example Scheduling of Communication Processors (CP) How can we guarantee that all tasks are schedulable C f C net C w T net Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t T f s t 28

Example Scheduling of Communication Processors (CP) How can we guarantee that all tasks are schedulable C f C net C w T net Variable! Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t T f s Variable! t 29

Example Scheduling of Communication Processors (CP) How to guarantee that all tasks are schedulable C f C net C w T net Variable! Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t T f s Variable! Conflict! t 30

Example Scheduling of Communication Processors (CP) How to guarantee that all tasks are schedulable C f C net C w T net Variable! Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t Solution T f s Variable! TDMA approach C CP C f + C net + C w > T net k C CP t 31

Example Scheduling of Communication Processors (CP) How to guarantee that all tasks are schedulable C f C net C w T net Variable! Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t Solution T f s Fixed to min TDMA approach C CP C f + C net + C w t > T f s C CP > T net k C CP 32

Example Scheduling of Communication Processors (CP) How to guarantee that all tasks are schedulable C f C net C w T net Variable but constrained Participate in rounds Flush before rounds Write after rounds Flush Bolt regularly t Solution T f s Fixed to min TDMA approach C CP C f + C net + C w t > T f s C CP > T net k C CP 33

+ Predictability of Network + Predictability of Devices + DRP contracts = System predictability Worst-Case Ultimately Analysis End-to-end latency Buffer size Can we set local parameters such that = f( Local parameters ) End-to-end deadline Memory space Flush interval d Flush interval T f net Network deadline D i T f s If YES System predictability by design 34

Design goals Blink Bolt DRP Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 35

Design goals Blink Bolt DRP Predicatability Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 36

From there, adaptability is one (close) step away Can we set local parameters such that ADMISSION TESTS End-to-end latency Buffer size End-to-end deadline Memory space 37

From there, adaptability is one (close) step away Example Communication Processor ADMISSION TESTS Depends only on local parameters! 38

Adaptability is achieved via a distributed registration scheme end-to-end latency D i f(t f s, D i ) g(t f d ) AP s BOLT CP s BLINK CP d BOLT AP d Packet flow PHYSICAL LAYER T i, J i D i LOGICAL LAYER REGISTRATION SCHEME Compute D i request : T i, J i D i, D i Bolt buffer and YES Network YES Local Y local memory OK schedule OK memory OK YES Bolt buffer and T f d OK ADMISSION TESTS Abort Register flow and update schedule nack ack NO NO NO NO nack nack nack Abort Abort Abort Abort Register flow ack Register flow and update schedule ack Register flow ack Register flow and update schedule YES update : T f d 39

Design goals Blink Bolt DRP Predicatability Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 40

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow end-to-end latency D min 41

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow Bolt delays end-to-end latency D min Source delay > Message release by the source > Available for communication 42

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow end-to-end latency D min Network delay: Waiting time > Message available > Message processed by the network 43

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow end-to-end latency D min Network delay: Transmission > Message processed by the network > Message transmitted to the destination node 44

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow end-to-end latency D min Destination delay: Bolt > Message transmitted to the destination node > Message available in the Bolt queue 45

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min AP s BOLT CP s BLINK CP d BOLT AP d Packet flow end-to-end latency D min Destination delay: Application > Message available in the Bolt queue > Message retrieved by the destination application 46

The detailed system analysis allows for performance optimization Minimal admissible end-to-end deadline D min = δ const f + T min + T min + δ const d g + T f,min Given Packet size 32 Bytes C net 1 s d T f,min 0.1 s > D min 3.46 s Max data rate 29.7 Bps per flow 47

Design goals Blink Bolt DRP Predicatability Network Device System Real-time guarantees Buffer management na Adaptability Efficiency Composability na 48

Using flooding primitives enables the design of both adaptive AND predictable Wireless Cyber-Physical Systems 49

End-to-end Real-time Guarantees in Wireless Cyber-physical Systems Romain Jacob Marco Zimmerling Pengcheng Huang Jan Beutel Lothar Thiele RTSS 16 - IoT and Networking Session December 1, 2016

Simulation correlates closely with the analysis Typical simulation trace result 49