Institute for Software Integrated Systems Vanderbilt University A Model-based Framework for Compositional Design of Cyber-Physical Systems Xenofon Koutsoukos.

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Advertisements

Energy-Efficient Congestion Control Opportunistically reduce link capacity to save energy Lingwen Gan 1, Anwar Walid 2, Steven Low 1 1 Caltech, 2 Bell.
Coordination of Multi-Agent Systems Mark W. Spong Donald Biggar Willett Professor Department of Electrical and Computer Engineering and The Coordinated.
A 2 -MAC: An Adaptive, Anycast MAC Protocol for Wireless Sensor Networks Hwee-Xian TAN and Mun Choon CHAN Department of Computer Science, School of Computing.
 (x) f(x,u) u x f(x,  (x) x. Example: Using feed-forward, what should be canceled?
Decentralized Reactive Clustering in Sensor Networks Yingyue Xu April 26, 2015.
Model Checker In-The-Loop Flavio Lerda, Edmund M. Clarke Computer Science Department Jim Kapinski, Bruce H. Krogh Electrical & Computer Engineering MURI.
Overview: Chapter 7  Sensor node platforms must contend with many issues  Energy consumption  Sensing environment  Networking  Real-time constraints.
MotoHawk Training Model-Based Design of Embedded Systems.
22 May 2015Joe Hoffert Quality of Service Configuration DSML for the Data Distribution Service Joe Hoffert
Filling the Gap Between System Design & Performance Verification Rafik HENIA, Laurent RIOUX, Nicolas SORDON Thales Research & Technology.
Effective Coordination of Multiple Intelligent Agents for Command and Control The Robotics Institute Carnegie Mellon University PI: Katia Sycara
Overview of PTIDES Project
2/11/2010 BEARS 2010 On PTIDES Programming Model John Eidson Jeff C. Jensen Edward A. Lee Slobodan Matic Jia Zou PtidyOS.
Systems Engineering for Automating V&V of Dependable Systems John S. Baras Institute for Systems Research University of Maryland College Park
Integrated Design and Analysis Tools for Software-Based Control Systems Shankar Sastry (PI) Tom Henzinger Edward Lee University of California, Berkeley.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
Using different Models of Computation for distributed control: the Robot Diffusion Problem Sarah Bergbreiter Mentors: Bruno Sinopoli, Alessandro Pinto.
Attacks on Three Tank System Three Tank System Testing Model-Based Security Features Experimental Platform for Model-Based Design of Embedded Systems Matt.
Chapter 13 Embedded Systems
Controller Tuning: A Motivational Example
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
Design Realization lecture 23
Chess Review May 11, 2005 Berkeley, CA Closing the loop around Sensor Networks Bruno Sinopoli Shankar Sastry Dept of Electrical Engineering, UC Berkeley.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
8/22/20061 Maintaining a Linked Network Chain Utilizing Decentralized Mobility Control AIAA GNC Conference & Exhibit Aug. 21, 2006 Cory Dixon and Eric.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Interfaces for Control Components Rajeev Alur University of Pennsylvania Joint work with Gera Weiss (and many others)
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Comparing Models of Computation for Real-time, Distributed Control Systems Shawn Schaffert Bruno Sinopoli.
Computational aspects of motor control and motor learning Michael I. Jordan* Mark J. Buller (mbuller) 21 February 2007 *In H. Heuer & S. Keele, (Eds.),
1 Energy Efficient Communication in Wireless Sensor Networks Yingyue Xu 8/14/2015.
Definition of an Industrial Robot
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
Distributed Real-Time Systems for the Intelligent Power Grid Prof. Vincenzo Liberatore.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
Chapter 6 Control Using Wireless Throttling Valves.
Kaifei Chen, Siyuan He, Beidi Chen, John Kolb, Randy H. Katz, David E
Yuan Xue Vanderbilt University
Low-Power Wireless Sensor Networks
1  (x) f(x,u) u x f(x,  (x) x Example: Using feed-forward, what should be canceled?
A Distributed Framework for Correlated Data Gathering in Sensor Networks Kevin Yuen, Ben Liang, Baochun Li IEEE Transactions on Vehicular Technology 2008.
Co-design Environment for Secure Embedded Systems Matt Eby, Janos L. Mathe, Jan Werner, Gabor Karsai, Sandeep Neema, Janos Sztipanovits, Yuan Xue Institute.
03/09/2003Helsinki University of Technology1 Overview of Thesis Topic Presented By: Zhao Xuetao.
Developing a SDR Testbed Alex Dolan Mohammad Khan Ahmet Unsal Project Advisor Dr. Aditya Ramamoorthy.
Verification and Validation in the Context of Domain-Specific Modelling Janne Merilinna.
HARDWARE INTERFACE FOR A 3-DOF SURGICAL ROBOT ARM Ahmet Atasoy 1, Mehmed Ozkan 2, Duygun Erol Barkana 3 1 Institute of Biomedical Engineering, Bogazici.
M. Zareinejad 1.  fundamentally, instability has the potential to occur because real-world interactions are only approximated in the virtual world 
Adaptive Transmission for layered streaming in heterogeneous Peer-to-Peer networks Xin Xiao, Yuanchun Shi, Yuan Gao Dept. of CS&T, Tsinghua University.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
September Bound Computation for Adaptive Systems V&V Giampiero Campa September 2008 West Virginia University.
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
MILAN: Technical Overview October 2, 2002 Akos Ledeczi MILAN Workshop Institute for Software Integrated.
TEMPLATE DESIGN © Observer Based Control of Decentralized Networked Control Systems Ahmed M. Elmahdi, Ahmad F. Taha School.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
University of Pennsylvania 7/15/98 Asymmetric Bandwidth Channel (ABC) Architecture Insup Lee University of Pennsylvania July 25, 1998.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Integrating Security Modeling in Embedded System Design Jan Werner, Matt Eby, Janos Mathe, Gabor Karsai, Yuan Xue, Janos Sztipanovits Institute for Software.
CS 351/ IT 351 Modeling and Simulation Technologies HPC Architectures Dr. Jim Holten.
Self-Adaptive Embedded Technologies for Pervasive Computing Architectures Self-Adaptive Networked Entities Concept, Implementations,
1 Fault tolerance in distributed systems n Motivation n robust and stabilizing algorithms n failure models n robust algorithms u decision problems u impossibility.
Smart Sleeping Policies for Wireless Sensor Networks Venu Veeravalli ECE Department & Coordinated Science Lab University of Illinois at Urbana-Champaign.
Integration Science Of Networked System Introduction ARO Site Visit Yuan Xue EECS/ISIS Vanderbilt University.
Optimization-based Cross-Layer Design in Networked Control Systems Jia Bai, Emeka P. Eyisi Yuan Xue and Xenofon D. Koutsoukos.
Integrated Simulation and Emulation Platform for Cyber-Physical System Security Experimentation Wei Yan, Yuan Xue, Xiaowei Li, Jiannian Weng, Timothy Busch,
TrueTime.
Applying Domain-Specific Modeling Languages to Develop DRE Systems
Quanser Rotary Family Experiments
Presentation transcript:

Institute for Software Integrated Systems Vanderbilt University A Model-based Framework for Compositional Design of Cyber-Physical Systems Xenofon Koutsoukos February 8, 2011

Overview  Model-based compositional design of networked control systems  Event-triggered networked control using passivity  Group coordination in multi- agent networks  Current and future work  Collaborators  Yuan Xue, Janos Sztipanovits  Nicholas Kottenstette, Derek Riley  Jia Bai, Emeka Eyisi, Heath LeBlanc, Joe Porter, Zhenkai Zheng 2

Networked Control Systems  CPS are monitored and controlled by networked controlled systems  Open systems  Dependable operation  Network uncertainties such as time-varying delays and packet loss cause significant challenges  Passive systems provide inherent safety that is fundamental in building systems that are insensitive to implementation uncertainties 3 Plant Dynamics Models Controller Models Physical design Software Architecture Models Software Component Code Software design System Architecture Models Resource Management Models System/Platform Design Passivity-based design of networked control systems: Decouple stability from network implementation side effects

Experimental Case Study 4 Objective: Demonstrate model-based design using passivity

Passivity-Based Architecture 5 Bilinear transform: power and wave vars. Bilinear transform (b) Power and Wave variables Passive down- and up-sampler (PUS, PDS) Delays Power junction Passive dynamical system

Robotic Control System  Dynamics 6

 Wave variables were introduced by Fettweis in order to circumvent the problem of delay-free loops and guarantee that the implementation of wave digital filters is realizable  Wave variables define a bilinear transformation under which a stable minimum phase continuous-time system is mapped to a stable minimum phase discrete-time system  Sensor output  Controller output  Passivity is preserved for fixed time delays and data dropouts  Tolerate typical time-varying delays Wave Variables 7

 Because of bandwidth constraints, the local digital controllers for each robot run at a faster rate than the network controller  Ensure that no energy is generated, and thus passivity is preserved  Passive down-sampling  Passive up-sampling where and Passive Up-sampling and Down-sampling 8

Power Junction  Compose a network in which multiple passive plants can be interconnected to multiple passive controllers  Interconnect wave variables from multiple controllers and plants such that the total power input is always greater than or equal to the total power output 9

Network Control Design 10  The multi-rate control network is  Passive if the plants and the controller are passive  - stable if the plants and the controller are strictly-output passive  Even in the presence of network delays and data loss Network Controller  Digital lag-compensator which minimizes the steady state error between the reference position and the actual position of every joint Robot Controller

PaNeCS: Model-Based Design Using Passivity Plant Controller Reference System Power Junction 11

Control Design Aspect 12 ControllerSystem PlantSystemReferenceSystem

Platform Design Aspect 13

Structural Semantics  Defined using  Meta-model notations  Object Constrained Language (OCL)  Implemented Constraints  Cardinality Constraints  Connection Constraints  Unique Name Constraints  OCL Example Description: There must be one connection between the DigitalController block and the BilinearTransformC block Equation: self.connectionParts("Controller_Bilinear").size()=1 14

Passivity Analysis  Passivity analysis of components  A C++ model interpreter within GME invokes a Matlab function  The CVX semidefinite programming tool is used to solve an LMI for each component (linear dynamics)  System-level analysis based on “correct-by-construction” approach  Individual components satisfy the passivity constraints  Passivity-preserving composition constraints encoded in the modeling language  Parallel interconnection  Negative feedback 15

PaNeCS Design Flow PaNeCS GME PaNeCS2tt Simulink TrueTime SL/tt model generatorBehavior simulation PaNeCS Code Generator Simulink models Bash scripts Executable code 16

Operational Semantics  Globally asynchronous locally synchronous execution model  Software components are executed periodically based on a local sampling period (executable Simulink models)  Asynchronous data communication  It is assumed that data messages do not arrive out of order  Zeros are supplied for missing data values  Preclude the possibility of blocking  Avoid introducing energy into the system (preserving passivity)  Buffer sizing  Data supply and consumption rates are known  As long as the PC clocks remain relatively close to each other, buffers will never grow without bound  No guarantee for non-ideal operation 17

Experimental Setup  Two CrustCrawler robotic arms  4 DOF with AX-12 smart servos at each joint  Novint haptic paddle  Five networked Windows PCs with Matlab/Simulink  Network infrastructure utilizes Netcat and SSH 18

Experiment 1: Nominal Case 19 x-y-z coordinates and angle of joint 2 of reference, robot 2, and robot 3

Experiment 2: Persistent Link Interruptions 20 Angle of joint 3 and y coordinate of reference, robot 2, and robot 3

Experiment 3: Intermittent Wireless Connection 21 Angle of joint 3 and y coordinate of reference, robot 2, and robot 3

Event-triggered NCS  Tracking using self-triggered control  Adaptive manipulator control (Slotine)  Self-triggered control (Tabuada)  Design preserves passivity  Triggering policy based on storage function  Event-driven passive sample and hold devices 22

Simulation Results 23 Event-triggered controlTime-triggered control

Group Coordination  Group coordination of networked agents  Surveillance and convoy tracking applications  Establish formation around a target  Distributed algorithms using local communication  Account for network delays and data loss  Discrete-time distributed design using passivity  Ensure - stability  In the presence of network delays and data loss  Regardless of the overlay network topology  Asymptotic formation establishment and output synchronization  Collision avoidance  Simulations using quadrotor UAVs  Simulink/TrueTime  NCSWT 24

NCS Model 25 Node Structure A 3-Node Network Non-passive UAV model Strictly-output passive UAV model

Passivity and Steady-State Analysis 26  The NCS is strictly output passive for any overlay network topology  Passivity-preserving inteconnection structure  The NCS is -stable for any overlay network topology  Asymmetric delays  Data loss  Steady-state analysis shows that the NCS can establish desired configurations  Steady-state output of agent i  Calculate reference inputs to asymptotically achieve a desired configuration

Simulation Results 27

Simulation Results 28

Current and Future Work  Passivity-based design  Safety  Performance  Event-triggered control based on passivity  Experimental evaluation  Anytime control algorithms  Networked multi-agent systems  Group coordination in networked multi-agent systems  Robust distributed algorithms  Effects of the network topology  Tools for system integration  NCSWT  System/Experimental studies  Fleet of quadrotor UAVs 29