Modeling and Analysis of Distributed Control Networks

Similar documents
Modeling and Analysis of Multi-hop Control Networks

The Embedded Systems Design Challenge. EPFL Verimag

Principles of Wireless Sensor Networks

Lecture 12: Event based control

LTI s with switched delays and applications to WCNs

CHAPTER 1 INTRODUCTION

European Network on New Sensing Technologies for Air Pollution Control and Environmental Sustainability - EuNetAir COST Action TD1105

They avoid the cost, installation, and maintenance of network infrastructure.

A Multi-Modal Composability Framework for Cyber-Physical Systems

IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 54, NO. 8, AUGUST

Using Structured System Theory to Identify Malicious Behavior in Distributed Systems

Boon Thau Loo University of Pennsylvania

Decoupling Among Design Concerns

Lecture 9: Reachability

Formal languages and computation models

Principles of Wireless Sensor Networks. Routing, Zigbee, and RPL

Wireless Multicast: Theory and Approaches

Automation Systems Discrete Event Control Systems and Networked Automation Systems

Chapter 1 - Introduction

Principles of Wireless Sensor Networks

Ad hoc and Sensor Networks Chapter 13a: Protocols for dependable data transport

Introduction to Control Systems Design

6 NFA and Regular Expressions

Chapter 3 MEDIA ACCESS CONTROL

Complex Networks and Systems. Program Manager AFOSR/RSL Air Force Research Laboratory

AN INTRODUCTION TO FUZZY SETS Analysis and Design. Witold Pedrycz and Fernando Gomide

Greed Considered Harmful

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Automata Based Interfaces for Control and Scheduling

Embedded Real-Time Systems

On the construction of convergent transfer subgraphs in general labeled directed graphs

FAULT DETECTION AND ISOLATION USING SPECTRAL ANALYSIS. Eugen Iancu

Joint Entity Resolution

Throughput-Optimal Broadcast in Wireless Networks with Point-to-Multipoint Transmissions

The semantic gap Control-theoretical aspects Compilation aspects C code production

University of L Aquila. Scheduling for wireless control in single hop WirelessHART networks

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

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

Markov Chains and Multiaccess Protocols: An. Introduction

Termination Analysis of the Transformation UML to CSP

Near Optimal Broadcast with Network Coding in Large Sensor Networks

Modeling Issues Modeling Enterprises. Modeling

Power Laws in ALOHA Systems

Performance Evaluation and Design Improvement of Media Access Control Protocols for Broadband Wireless Local Loop

Design and Evaluation of the Ultra- Reliable Low-Latency Wireless Protocol EchoRing

Data Link Layer: Collisions

LOGIC AND DISCRETE MATHEMATICS

DISCRETE TIME ADAPTIVE LINEAR CONTROL

Last Time. Introduction to Design Languages. Syntax, Semantics, and Model. This Time. Syntax. Computational Model. Introduction to the class

June 20th, École Polytechnique, Paris, France. A mean-field model for WLANs. Florent Cadoux. IEEE single-cell WLANs

Numerical Methods for PDEs : Video 11: 1D FiniteFebruary Difference 15, Mappings Theory / 15

Approximate Linear Programming for Average-Cost Dynamic Programming

Luca Schenato Workshop on cooperative multi agent systems Pisa, 6/12/2007

Inverse Kinematics. Given a desired position (p) & orientation (R) of the end-effector

Graph Adjacency Matrix Automata Joshua Abbott, Phyllis Z. Chinn, Tyler Evans, Allen J. Stewart Humboldt State University, Arcata, California

DISCRETE-event dynamic systems (DEDS) are dynamic

Resource-bound process algebras for Schedulability and Performance Analysis of Real-Time and Embedded Systems

Wireless Sensor Networks: Clustering, Routing, Localization, Time Synchronization

A Tale of Two Synchronizing Clocks

Last lecture CMSC330. This lecture. Finite Automata: States. Finite Automata. Implementing Regular Expressions. Languages. Regular expressions

CELLULAR automata (CA) are mathematical models for

Timed Automata: Semantics, Algorithms and Tools

Syllabus for Ph.D Entrance Test, RGPV. Common for CSE/IT/CA

Super Matrix Solver-P-ICCG:

Algebraic Dynamic Programming. ADP Theory II: Algebraic Dynamic Programming and Bellman s Principle

Control Systems. Introduction to Control System.

Multiple Access Communications. EEE 538, WEEK 11 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

4G Mobile Communications

The Flooding Time Synchronization Protocol

Formal Modeling and Analysis of Stream Processing Systems

16 Time Triggered Protocol

An algorithm for Performance Analysis of Single-Source Acyclic graphs

Module 4. Computer-Aided Design (CAD) systems

Chapter 6 Medium Access Control Protocols and Local Area Networks

Technische Universiteit Eindhoven Department of Mathematics and Computer Science. Relationship between Simulink and Petri nets

Link Lifetime Prediction in Mobile Ad-Hoc Network Using Curve Fitting Method

Table of Contents. Chapter 1. Modeling and Identification of Serial Robots... 1 Wisama KHALIL and Etienne DOMBRE

A Systematic Approach to Network Coding Problems using Conflict Graphs

Multiple Access (1) Required reading: Garcia 6.1, 6.2.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

MAC Essentials for Wireless Sensor Networks

Dynamic Index Coding for Wireless Broadcast Networks

Future Directions. Edward A. Lee. Berkeley, CA May 12, A New Computational Platform: Ubiquitous Networked Embedded Systems. actuate.

Fundamental Algorithms

AM205: lecture 2. 1 These have been shifted to MD 323 for the rest of the semester.

NECO: Network Coding Simulator

Regular Languages. MACM 300 Formal Languages and Automata. Formal Languages: Recap. Regular Languages

FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido

Real-Time Internet of Things

Embedded software design with Polychrony

Fabian Kuhn. Nicla Bernasconi, Dan Hefetz, Angelika Steger

VIBRATION ISOLATION USING A MULTI-AXIS ROBOTIC PLATFORM G.

A Literature survey on Improving AODV protocol through cross layer design in MANET

CS402 - Theory of Automata Glossary By

Numerical Methods for (Time-Dependent) HJ PDEs

Madrid, 25 y 26 de mayo de 2015 ABB Automation Days Wireless Instrumentation

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

Communication Complexity and Parallel Computing

Greedy Gossip with Eavesdropping

Configuring Spanning Tree Protocol

Introduction aux Systèmes Collaboratifs Multi-Agents

Transcription:

Modeling and Analysis of Distributed Control Networks Rajeev Alur, Alessandro D Innocenzo, Gera Weiss, George J. Pappas PRECISE Center for Embedded Systems University of Pennsylvania

Motivation ( ) ( ) ( ) ( ) Impact Impact of of Delays Delays ( ) ( ) Impact Impact of of Scheduling Scheduling ( ) ( ) Impact Impact of of Routing Routing Challenge: Close Close the the loop loop around wireless sensor networks

Challenges Understand the impact of Time delays Channel capacity Packet losses Scheduling Network topology Routing on controller performance, enabling analysis or co-design Formal network abstractions enabling analysis Analysis should be compositional to changes in the netwok or the addition control control loops

Wireless HART: a specification for control over wireless networks

Wireless HART MAC level (TDMA FDMA)

Wireless HART Network level (Routing) Each pair of nodes (source,destination) is associated to an acyclic graph that defines the set of allowed routing Dynamic routing in a finite set Redundancy in the routing path

A formal model - syntax Plants/Controllers D = (P1, Pn, C1, Cn), where Pi and Ci are LTI systems Graph G = (V,E) where V is the set of nodes and E is the radio connectivity graph Routing R : I O 2 V* \{Ø} associates to each pair sensor-controller or controller actuator a set of allowed routing paths

From radio connectivity graph to memory slots graph

Communication and computation schedule

Semantics in each time slot

A formal model - Semantics Given communication/computation schedules, the closed loop control system is a switched linear system: where x = (x p, x v, x c ) and x p, x c model the states of the plant and of the controller, and x v models the measured and control data flow in the nodes of the network

Remarks Algebraic representations of the graph are very useful Size of matrices depends on the network and hence on the routing

Mathematical Tool

Analysis Periodic deterministic scheduling (Wireless HART single-hop) Theory of periodic time varying linear systems is relevant Schedule is a fixed string in the alphabet of edges/controllers Nghiem,Pappas,Girard,Alur - EMSOFT06 Periodic non-deterministic scheduling (Wireless HART multi-hop) Theory of switched/hybrid linear system applies Schedule is an automaton over edges/controllers Weiss EMSOFT08 Session 5

Approach Ideal Semantics + Error - Implementation Semantics

Separation of Concerns Control design in continuous-time Many benefits: composable, powerful design tools Portable to many (or evolving) platforms Provides interface to system/software engineer to implement Should not worry about platform details Software implementation Should not worry about control methods or details Focus on fault tolerance, routing, scheduling Make sure the implementation follows continuous time design

Approximation Error Given model and implementation semantics, the implementation error is defined as : Note that error is measured using the L 2 norm. Partial order on implementations based on errors

Approximation Error Given model and implementation semantics, the implementation error is defined as : Note that error is measured using the L 2 norm. Partial order on implementations based on errors

Approximation Error (EMOSFT06) The implementation error is exactly equal to : which requires the solution of the Lyapunov equations for implementation dependent matrices

Example - Models LTI plant The PID controller Simulink Model

Example - Implementation Errors Ideal Controller Implementation 2 ú2 = ü2(bj )= 1 î 2 =0:00075sec Trapezoid & Backward Difference e M (ú2;ü2;î2;x(0)) = 1:9263 ú1 = Implementation 1 ü1(bj )=1 î 1 =0:001sec Euler & Backward Difference e M (ú1;ü1;î1;x(0)) = 10:0058 ú3 = Implementation 3 ü3(bj )= 1 î 3 =0:001sec Euler & Backward Difference e M (ú3;ü3;î3;x(0)) = 0:5241

Example More Results (Poor) Implementation can destabilize the plant Good scheduling can improve the quality of the implementation greatly (compare implementations 1 and 3, 4 and 5). Scheduling has great affect on the overall performance Integration and differentiation algorithms can affect the performance (compare implementations 1 and 2). Source code: www.seas.upenn.edu/~nghiem/publications/2006/emsoft06_code.zip

Example Is Faster Better? For fixed schedule, faster is better (compare implementations 6 and 8) Across schedules, faster is not necessarily better (compare implementations 6 and 7)

Analysis Periodic deterministic scheduling (Wireless HART single-hop) Theory of periodic time varying linear systems is relevant Schedule is a fixed string in the alphabet of edges/controllers Nghiem,Pappas,Girard,Alur - EMSOFT06 Periodic non-deterministic scheduling (Wireless HART multi-hop) Theory of switched/hybrid linear system applies Schedule is an automaton over edges/controllers Weiss EMSOFT08 Session 5

Non determinism in routing Given a communication schedule η(t), the effective schedule that acts on the network depends on the status of nodes and channel: Set of allowed routing paths is centralized Routing decisions are decentralized

Key Challenges Periodic non-deterministic scheduling (Wireless HART multi-hop) Verification : given a schedule, compute the language of effective schedules and verify stability Design: compute the set of schedules that satisfy control specifications (exponential convergence rate) Aperiodic scheduling Verification : given a schedule, verify whether the system is stable Design: compute a regular language of scheduling that satisfy control specifications (exponential convergence rate)

Compositional analysis

A tool Plants/Controllers D = (P1, Pn, C1, Cn), Radio connectivity Graph G = (V,E) Routing R : I O 2 V* \{Ø} Schedule s= (η, μ) D G R s Verification Stable Unstable D G R Design L language of allowed schedules

The End Conclusions WirelesHART protocol allows implementation error analysis Semantics of switched linear systems Given periodic schedules, implementation error can be computed exactly For nondeterministic routing, scheduling languages can be obtained Compositional admission control policies are possible Future work Exploit matrix structure of switched linear system Apply tool to practical applications (ABB, Honeywell) Consider sensor, network uncertainty Control the network!