Cyber-Physical Software Agents Vincenzo Liberatore.

Slides:



Advertisements
Similar presentations
Agents & Mobile Agents.
Advertisements

Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Integrated Play-Back, Sensing, and Networked Control Vincenzo Liberatore Division of Computer Science Research supported in part by NSF CCR , Department.
Sense-and-Respond Systems and Play-Back Buffers Vincenzo Liberatore Division of Computer Science Research supported in part by NSF CCR , Department.
SELBO Agent Ivan Minov University of Plovdiv “Paisii Hilendarski“
MotoHawk Training Model-Based Design of Embedded Systems.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
Distributed Systems Architectures
1 Quality Objects: Advanced Middleware for Wide Area Distributed Applications Rick Schantz Quality Objects: Advanced Middleware for Large Scale Wide Area.
Distributed Service Architectures Yitao Duan 03/19/2002.
Software Engineering and Middleware: a Roadmap by Wolfgang Emmerich Ebru Dincel Sahitya Gupta.
University of Kansas Construction & Integration of Distributed Systems Jerry James Oct. 30, 2000.
Managing Agent Platforms with the Simple Network Management Protocol Brian Remick Thesis Defense June 26, 2015.
.NET Mobile Application Development Remote Procedure Call.
Design of a Multi-Threaded Distributed Telerobotic Framework Mayez Al-Mouhamed, Onur Toker, and Asif Iqbal Mayez Al-Mouhamed, Onur Toker, and Asif Iqbal.
Networked Control Systems Vincenzo Liberatore. Today: Cyberspace Interact with remote virtual environment – On-line social activities Communicate with.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Distributed Real-Time Systems for the Intelligent Power Grid Prof. Vincenzo Liberatore.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
Presented by Mark Miyashita
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
1 소프트웨어공학 강좌 Chap 9. Distributed Systems Architectures - Architectural design for software that executes on more than one processor -
September1 Managing robot Development using Agent based Technologies Dr. Reuven Granot Former Scientific Deputy Research & Technology Unit Directorate.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
B.Ramamurthy9/19/20151 Operating Systems u Bina Ramamurthy CS421.
Robot Autonomous Perception Model For Internet-Based Intelligent Robotic System By Sriram Sunnam.
 Applied Architectures and Styles Chapter 11, Part 2 Service-Oriented Architectures and Web Services Architectures from Specific Domains Robotics Wireless.
Active Monitoring in GRID environments using Mobile Agent technology Orazio Tomarchio Andrea Calvagna Dipartimento di Ingegneria Informatica e delle Telecomunicazioni.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Other Topics RPC & Middleware.
1 06/00 Questions 10/6/2015 QoS in DOS ECOOP 2000John Zinky BBN Technologies ECOOP 2000 Workshop on Quality of Service in Distributed Object Systems
1 Vrijendra Gokhale, Bernard Menezes K. R. School of Information Technology IIT Bombay User Interfaces for Jini Services The Jini Pattern Language Workshop.
Wireless Access and Terminal Mobility in CORBA Dimple Kaul, Arundhati Kogekar, Stoyan Paunov.
SAMANVITHA RAMAYANAM 18 TH FEBRUARY 2010 CPE 691 LAYERED APPLICATION.
1 Introduction to Middleware. 2 Outline What is middleware? Purpose and origin Why use it? What Middleware does? Technical details Middleware services.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
MOBILE AGENTS What is a software agent ? Definition of an Agent (End-User point of view): An agent is a program that assists people and acts on their behalf.
SCALABLE EVOLUTION OF HIGHLY AVAILABLE SYSTEMS BY ABHISHEK ASOKAN 8/6/2004.
Client Call Back Client Call Back is useful for multiple clients to keep up to date about changes on the server Example: One auction server and several.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved RPC Tanenbaum.
Page 1 Remote Interaction With Machines Principal Investigator: Vincenzo Liberatore Task Number: NAG Case Western Reserve University September 18,
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
March 2004 At A Glance NASA’s GSFC GMSEC architecture provides a scalable, extensible ground and flight system approach for future missions. Benefits Simplifies.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
Bandwidth Allocation in Sense-and-Respond Systems Vincenzo Liberatore Research supported in part by NSF CCR , Department of Commerce TOP ,
Service Discovery Protocols Mobile Computing - CNT Dr. Sumi Helal Professor Computer & Information Science & Engineering Department University.
ProActive components and legacy code Matthieu MOREL.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Implementation Challenges in Real-Time Middleware for Distributed Autonomous Systems Prof. Vincenzo Liberatore Research supported in part by NSF CCR ,
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 1: Characterization of Distributed & Mobile Systems Dr. Michael R.
Transversal Issues in Real-Time Sense-and-Respond Systems Ahmad T. Al-Hammouri Vincenzo Liberatore Huthaifa A. Al-Omari Case Western Reserve University.
1 BBN Technologies Quality Objects (QuO): Adaptive Management and Control Middleware for End-to-End QoS Craig Rodrigues, Joseph P. Loyall, Richard E. Schantz.
1 Chapter 38 RPC and Middleware. 2 Middleware  Tools to help programmers  Makes client-server programming  Easier  Faster  Makes resulting software.
GRID ANATOMY Advanced Computing Concepts – Dr. Emmanuel Pilli.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
©Ian Sommerville 2000, Tom Dietterich 2001 Slide 1 Distributed Systems Architectures l Architectural design for software that executes on more than one.
March 2004 At A Glance The AutoFDS provides a web- based interface to acquire, generate, and distribute products, using the GMSEC Reference Architecture.
Euro-Par, HASTE: An Adaptive Middleware for Supporting Time-Critical Event Handling in Distributed Environments ICAC 2008 Conference June 2 nd,
Third International Workshop on Networked Appliance 2001 SONA: Applying Mobile Agent to Networked Appliance Control S.Aoki, S.Makino, T.Okoshi J.Nakazawa.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
SRA 2016 – Strategic Research Challenges Design Methods, Tools, Virtual Engineering Jürgen Niehaus, SafeTRANS.
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
Unit V Mobile Middleware.
A Component-based Architecture for Mobile Information Access
JINI ICS 243F- Distributed Systems Middleware, Spring 2001
Quality Assurance for Component-Based Software Development
In Distributed Systems
Presentation transcript:

Cyber-Physical Software Agents Vincenzo Liberatore

V. LiberatoreCyberphysical software2 Cyberphysical Systems Computing in the physical world Components – Sensors, actuators – Controllers – Networks

V. LiberatoreCyberphysical software3 Cyberphysical Systems: Examples Enables Industrial automation [BL04] Distributed instrumentation [ACRKNL03] Unmanned vehicles [LNB03] Home robotics [NNL02] Distributed virtual environments [LCCK05] Power distribution [P05] Building structure control [SLT05]

V. LiberatoreCyberphysical software4 Cyberphysical Systems Merge cyber- and physical- worlds – Networked control and tele-epistemology [G01] Sensor networks – Not necessarily wireless or energy constrained – One component of sense-actuator networks

V. LiberatoreCyberphysical software5 Programming Cyberphysical Systems

V. LiberatoreCyberphysical software6 Objectives and Challenges Objectives – Remote supervision and programming – Adaptive and evolvable – Security and safety Challenges: decouple control from – Long-haul network delay, losses – Lack of network Quality-of-Service provisioning – Precise environment modeling

V. LiberatoreCyberphysical software7 Vision (1): Agent-based Basic properties – Autonomous, mobile – Adaptable, flexible, reactive – Knowledgeable, goal-oriented, learning – Collaborative – Persistent Agents for cyber-physical systems – Aggregation into task-oriented teams – Evolvable Re-programmability, reconfiguration, extensibility

V. LiberatoreCyberphysical software8 Vision (2): Supervision Coarse-grained high-level – Directions – Troubleshooting – Reprogramming Tele-operation Autonomous systems Supervision

V. LiberatoreCyberphysical software9 Advantages of Supervisory Control Utilize autonomous capabilities of robot – Less work for the Supervisor Makes control with delay feasible – Higher Level commands translated into many smaller ones Still the same safe robots

V. LiberatoreCyberphysical software10 Achieving Generic Control Want the same program to powerfully represent unknown, high level commands – Completely generic GUI – Adapts to commands and attributes of robot Utilizes a small code stub on the robot – Uses modern day windows controls Works on robots that communicate IP, regardless of OS and programming

V. LiberatoreCyberphysical software11 Vision (3): Manipulation Contact operations Energy exchanged between robot and environment Physical change in environment state Typically subject to constraints to prevent damage

V. LiberatoreCyberphysical software12 This talk Progress – Agent-oriented platform Agent-Communication Dynamically load functionality Mobility Virtual containment Resource Discovery Experience Future work – Application-oriented middleware E.g., Scheduling of mobility – AI (knowledge, planning, learning) – Security

V. LiberatoreCyberphysical software13 Agent Communication Supervisor invokes robotic functionality – Passes parameters using dynamic GUI Robot communicates with Supervisor – Returns values for display – Notifies supervisor of properties – Able to ask supervisor for assistance Priority may cause emergency handling

V. LiberatoreCyberphysical software14 Dynamically Load Functionality Currently, robot must be fully represented Supervisor interacts with Virtual Robot – Middleman we can inject code into – Interfaces provide access to robotic attributes Ability to add new behavior that uses existent functionality and properties – Added to proxy means that they appear as robotic functionality to supervisor

V. LiberatoreCyberphysical software15 Dynamically Load Functionality Believes that the robot it is controlling implements both foo() and bar(). bar() function loaded that calls foo() Exposes a function foo() Reports foo() upstream Supervisor GUI

V. LiberatoreCyberphysical software16 Dynamically Load Functionality Powerful ability to “reprogram” robot – Doesn’t require actual robotic modification – Send across canned functionality – Reprogram to deal with unknown environment May wrap up functionality again and again, abstracting away the lower layers Applies to multiple-robot scenarios – Dynamically reorganize groups of robots

V. LiberatoreCyberphysical software17 Dynamically Load Functionality Invokes a bar() command Invokes foo() Invokes more_foo() Invokes yet_foo_again() twice Executes yet_foo_again() twice

V. LiberatoreCyberphysical software18 Behind the Scenes Virtual Robots are mobile objects Take on attributes of robot(s) it controls – Additionally, any loaded functionality Mobile Agents: will move to new hosts – Allows for precision control by process in close proximity when needed – Constantly re-evaluating environment and finding better resources for its supervisor

V. LiberatoreCyberphysical software19 Resource Discovery Plug-and-play – Add new resources on the fly – Example: USB Plug in a USB camera on a USB port But now we want: on a network, with arbitrary units Example – Locate a robot on the network

V. LiberatoreCyberphysical software20 Jini Operations – Discover, Join, Look-up, Use Programming – Include a library – Use functions Fault-tolerance – Leases Join only last for a certain time period Renew the lease – Multiple look-up servers – JavaSpaces Distributed shared memory URL: Courtesy of Sun Microsystems

V. LiberatoreCyberphysical software21 Middleware Between application and transport – Libraries to provide advanced functionality – Hide communication Applications – Resource Discovery – Remote Procedure Calls – Security – Interoperability (e.g., since Real-Time Corba) – Scheduling, resource management, performance analysis – Multicast Software development – Simpler, faster – State-of-the-art functionality Middleware over IP – Wealth of libraries for IP – Critical advantage of the Internet Protocol

V. LiberatoreCyberphysical software22 Agent Mobility Mobility – Software component stops execution on host A – Resume execution from same state on host B Benefits – Adapt to changes of physical topology E.g., if a unit moves and triggers functionality hand-off – Anticipate planned disconnections – Dynamic re-programmability by agent dispatching

V. LiberatoreCyberphysical software23 Approach Outline Local robot control: virtual attractors – Interface for higher-level distributed sw components Reason about robot behavior – Encapsulate intelligence needed to Cope with –Long delays –Imprecise modeling and unstructured environments Establish predictable robot behavior and safety Distributed control – Agent-based

V. LiberatoreCyberphysical software24 Compliant Control Attracto r Platform origin Virtual tool tip External force Orientational springs and dampers Translational springs and dampers Actual tool tip

V. LiberatoreCyberphysical software25 What happens if flawed instructions are issued? COMPLIANCE DESIRED POSITION COMPLIANCE

V. LiberatoreCyberphysical software26 Agent teams On-board controllers Thin-legacy layer GUI, interface Virtual Robots: The Core

V. LiberatoreCyberphysical software27 Hierarchical organization Chain of command Relationship: Virtual inclusion

V. LiberatoreCyberphysical software28 Virtual Containment Analogy – A robotic platoon “contains” individual robot – Not necessarily in terms of ontology Application – Task-oriented teams – Layering

V. LiberatoreCyberphysical software29 Upstream Communication Report state upstream – Sensory data collection Appeals for assistance – Minimal demands of directions from human or intelligent systems High-level directions Triggered only by difficult or unexpected events – Improves safety and reliability

V. LiberatoreCyberphysical software30 Hierarchical organization Upstream communication Relationship: Virtual inclusion

V. LiberatoreCyberphysical software31 Experience Task-space: Fluid dynamics Methods Robot idParameter (range)Go!!!

V. LiberatoreCyberphysical software32Demo Objective – Close lever Operations – Remote command – Robotic manipulator Procedure – Break complex command (CloseLever) into progressively simpler instructions Close lever MoveTo(x,y,z) GoTo(x,y,z) multiple invocations of multiple invocations of

V. LiberatoreCyberphysical software33 Example RPCS Agent-based software MoveTo  Open/Close    Virtual Supervisor

V. LiberatoreCyberphysical software34 Other topics Security – Encrypt communication – Authentication and Authorization – Standard Java libraires Fault-tolerance – Look-up with soft-state – Checkpoint in JavaSpaces Advanced functionality with little incremental cost – Demonstrate importance of software re-use with state-of-the-art middleware

V. LiberatoreCyberphysical software35 Related Research

V. LiberatoreCyberphysical software36 Play-Back Buffers Playback – Smooths out network non-determinism Playback buffers integrated with – Sampling (adaptive T) – Control (expiration times, performance metrics) Packet losses – Reverts to open loop plant (contingency control)

V. LiberatoreCyberphysical software37 Bandwidth Allocation Definition – Multiple sense-and-respond flows – Contention for network bandwidth Desiderata – Stability and performance of control systems Must account for physics – Efficiency and fairness – Fully distributed, asynchronous, and scalable – Dynamic and self- reconfigurable

V. LiberatoreCyberphysical software38 Problem Formulation Define a utility fn U(r) that is – Monotonically increasing – Strictly concave – Defined for r ≥ r min Optimization formulation

V. LiberatoreCyberphysical software39 Conclusions Remote supervision of robotic manipulation Compliant control – Local encapsulation – Gentle, compliant, tolerant to network vagaries Agent-based software – Hierarchical Demonstration Future work: middleware, AI, security

V. LiberatoreCyberphysical software40 To Learn More