The Cooperative Cleaners Case Study: Modelling and Analysis in Real-Time ABS

Similar documents
Pedestrian Dynamics: Models of Pedestrian Behaviour

Robust Task Execution: Procedural and Model-based. Outline. Desiderata: Robust Task-level Execution

Autonomous blimp control with reinforcement learning

Cuneiform. A Functional Workflow Language Implementation in Erlang. Jörgen Brandt Humboldt-Universität zu Berlin

Section 8: Model-View-Controller. Slides adapted from Alex Mariakakis, with material from Krysta Yousoufian and Kellen Donohue

Analyzing football matches using relational performance data

Sensing and Modeling of Terrain Features using Crawling Robots

Team Description: Building Teams Using Roles, Responsibilities, and Strategies

Lecturers. Multi-Agent Systems. Exercises: Dates. Lectures. Prof. Dr. Bernhard Nebel Room Dr. Felix Lindner Room

Application of Dijkstra s Algorithm in the Evacuation System Utilizing Exit Signs

A Generalised Approach to Position Selection for Simulated Soccer Agents

CS 4649/7649 Robot Intelligence: Planning

Computer Integrated Manufacturing (PLTW) TEKS/LINKS Student Objectives One Credit

System Operating Limit Definition and Exceedance Clarification

Distributed Control Systems

Lecture 1 Temporal constraints: source and characterization

Learning Control Cycles for Area Coverage with Cyclic Genetic Algorithms

2011 KIPR Autonomous Arial Vehicle Contest

CMSC131. Introduction to Computational Thinking. (with links to some external Scratch exercises) How do you accomplish a task?

The Incremental Evolution of Gaits for Hexapod Robots

NATIONAL INSTRUMENTS AUTONOMOUS ROBOTICS COMPETITION Task and Rules Document

COLREGS Based Collision Avoidance of Unmanned Surface Vehicles

ITAndroids 2D Soccer Simulation Team Description 2016

Engineering Design Challenge 3. Mars Colonization. Rules & Game Description

Prof. Brian C. Williams February 23 rd, /6.834 Cognitive Robotics. based on [Kim,Williams & Abramson, IJCAI01] Outline

WORKSHOP SAFE ENGINEERING

Paul Burkhardt. May 19, 2016

PEPSE Modeling of Triple Trains of Turbines Sending Extraction Steam to Triple Trains of Feedwater Heaters

COACHING BLUEPRINT COACHING

Principles of Knowledge Representation and Reasoning

Air Force Calibration Interval Analysis of Test, Measurement and Diagnostic Equipment (TMDE) Based on Maintenance Data Collection (MDC)

Dealing with Dependent Failures in Distributed Systems

THE CANDU 9 DISTRffiUTED CONTROL SYSTEM DESIGN PROCESS

Rules for. Polyathlon. Version Released

Centre for Transport Studies

National Robotics Competition 2018 NRC WRO Challenge Manual

2017 IIHF BID REGULATIONS

CT PET-2018 Part - B Phd COMPUTER APPLICATION Sample Question Paper

Assignment for Next Class. Information Systems ISM Put In Nonsense, Get Out Chaos. System and Modeling Concepts. Components of a System.

UFLTI Seminar. Capacity and Delay Implications of Connected and Automated Vehicles at Signalized Intersections. Alexander Skabardonis

EVOLVING HEXAPOD GAITS USING A CYCLIC GENETIC ALGORITHM

Design of a double quadruped for the Tech United soccer robot

Principles of Knowledge Representation and Reasoning. Principles of Knowledge Representation and Reasoning. Lecturers. Lectures: Where, When, Webpage

An experimental validation of a robust controller on the VAIMOS autonomous sailboat. Fabrice LE BARS

Cynemon - Cycling Network Model for London

PERCEPTIVE ROBOT MOVING IN 3D WORLD. D.E- Okhotsimsky, A.K. Platonov USSR

A Guide to SCRUMstudy Certifications and Courses SDC SMC SPOC AEC ESM.

Collision Avoidance System using Common Maritime Information Environment.

A Guide to SCRUMstudy Certifications and Courses SDC SMC SPOC AEC ESM.

A new AI benchmark. Soccer without Reason Computer Vision and Control for Soccer Playing Robots. Dr. Raul Rojas

Task Decomposition, Dynamic Role Assignment, and Low-Bandwidth Communication for Real-Time Strategic Teamwork Λ

Safety Critical Systems

beestanbul RoboCup 3D Simulation League Team Description Paper 2012

Adaptation of Formation According to Opponent Analysis

Written Report of Robot Design

Line Following with RobotC Page 1

Software Quality Engineering: Testing, Quality Assurance, and Quantifiable Improvement

CC-Log: Drastically Reducing Storage Requirements for Robots Using Classification and Compression

Rescue Rover. Robotics Unit Lesson 1. Overview

Fail Operational Controls for an Independent Metering Valve

Diver Training Options

EXPLORING MOTIVATION AND TOURIST TYPOLOGY: THE CASE OF KOREAN GOLF TOURISTS TRAVELLING IN THE ASIA PACIFIC. Jae Hak Kim

Thomas H. Kolbe Dept. of Geodesy and Geoinformation Science, Technical University Berlin, Germany thomas.kolbe (at) tu-berlin.de

Learning of Cooperative actions in multi-agent systems: a case study of pass play in Soccer Hitoshi Matsubara, Itsuki Noda and Kazuo Hiraki

#19 MONITORING AND PREDICTING PEDESTRIAN BEHAVIOR USING TRAFFIC CAMERAS

Application of Bayesian Networks to Shopping Assistance

Minor Hockey Development Guide

RoboHit TM Robofest 2017 Game

Multi-Reactive Planning for Real-Time Strategy Games

AN UNDERWATER AUGMENTED REALITY SYSTEM FOR COMMERCIAL DIVING OPERATIONS

Automating Injection Molding Simulation using Autonomous Optimization

Introduction to Alloy

Open Research Online The Open University s repository of research publications and other research outputs

Section 3 Game Specific Rules

BHATNAGAR. Reducing Delay in V2V-AEB System by Optimizing Messages in the System

Rules Modernization FAQs March 2018 Update

A 28nm SoC with a 1.2GHz 568nJ/ Prediction Sparse Deep-Neural-Network Engine with >0.1 Timing Error Rate Tolerance for IoT Applications

Breaking Up is Hard to Do: An Investigation of Decomposition for Assume-Guarantee Reasoning

THE UNIVERSITY OF HULL

MESHMERIZE - Wildcard

the world s most advanced humanoid robot

IEEE RAS Micro/Nano Robotics & Automation (MNRA) Technical Committee Mobile Microrobotics Challenge 2016

An Advice about Shimming in High-Resolution Nuclear Magnetic Resonance

Task decomposition, dynamic role assignment, and low-bandwidth communication for real-time strategic teamwork

The Scrum Guide. The Definitive Guide to Scrum: The Rules of the Game. July Developed and sustained by Ken Schwaber and Jeff Sutherland

Vision2020 Emerging Themes Top-Line

Using MATLAB with CANoe

Software Design of the Stiquito Micro Robot

Reasoning for Ontology Engineering and Usage

Neural Network in Computer Vision for RoboCup Middle Size League

LINE FOLLOWING ENHANCED RULES. Allar Aasjõe

PropaGator Autonomous Surface Vehicle

Master s Project in Computer Science April Development of a High Level Language Based on Rules for the RoboCup Soccer Simulator

Rules Modernization FAQs March 2018 Update

Robotic Pool Cleaners

CS 4649/7649 Robot Intelligence: Planning

Report on OSU Opto-Pack Prototypes

Live Round Interrupter (LRI) Technical Implementation White Paper

Manoeuvring Simulation of Multiple Underwater Vehicles in Close Proximity

World Robot Olympiad WeDo 2.0 Pilot Regular Challenge. Game Description, Rules and Scoring. Sustainabots [Robots for sustainability]

Transcription:

: Modelling and Analysis in Real-Time ABS Silvia Lizeth Tapia Tarifa Precise Modelling and Analysis University of Oslo sltarifa@ifi.uio.no 29.11.2013 S. Lizeth Tapia Tarifa

Outline Motivation 1 Motivation Swarm Robotics ABS Problem Statement 2 Definition The Floor The Cleaning Robots The CLEAN Protocol 3 4 5 S. Lizeth Tapia Tarifa

Swarm Robotics Motivation Swarm Robotics ABS Problem Statement Group of autonomous, simple and similar robots is coordinated in a way that leads to useful behaviour of the swarm itself. Advantages Parallelism: robots cooperate and synchronise intelligently. Decentralised: robots operate on local information to accomplish global goals. Adaptability: changing environment. Scalability: e.g., number of robots. Fault-tolerance: robots complete the task, even if some of them fail. S. Lizeth Tapia Tarifa

Swarm Robotics ABS Problem Statement ABS Abstract Behavioural Specification Language ABS is a language for modelling object-oriented systems at an abstract, yet precise level. Targets software systems that are: concurrent, distributed and object-oriented. Offers a wide variety of modelling options in one framework. (datatypes, functions, classes, concurrency, distribution, etc.). Clear and simple concurrency model that permits synchronous as well as asynchronous communication. Abstracts from implementation choices of data structures. Fully executable with code generators into e.g., Java and Maude. Has a formal semantics. Real-Time ABS extends the syntax and semantics of ABS in order to allow models with time dependent behaviour. S. Lizeth Tapia Tarifa

About This Thesis Swarm Robotics ABS Problem Statement Questions: 1 How can Real-Time ABS be used to naturally model autonomous, decentralised and self-organised systems such as swarm robotics? 2 To what extent can the simulation tool of Real-Time ABS help to analyse the collective behaviour of such systems? Approach: Develop a case study from the swarm robotics domain that exploits features of Real-Time ABS such as concurrency, distribution, object-orientation and so forth. Evaluate how well Real-Time ABS can be applied to model and analyse this case study. S. Lizeth Tapia Tarifa

Definition The Floor The Cleaning Robots The CLEAN Protocol A group of cleaning robots cooperate to clean a dirty floor Floor: connected dirty area in Z 2. Cleaner: restricted amount of memory, indirect communication (signals and sensing), local knowledge (e.g., overall topology of the dirty floor is unknown), movement follows a protocol. Cleaning the whole floor is an emerging property of the cleaning robots cooperation Original definition: Cooperative cleaners: A study in ant robotics. Israel A. Wagner, Yaniv Altshuler, Vladimir Yanovski, and Alfred M. Bruckstein, 2008. S. Lizeth Tapia Tarifa

Definition The Floor The Cleaning Robots The CLEAN Protocol Definition of the Problem: The Floor Shape: undirected graph G in Z 2 with vertices v = (x, y) representing positions connected with edges e = (v, w) following a 4-neighbours relation. 8 y Concepts: 4-neighbours, 8-neighbours, boundary, single connected component, critical vertex. 7 6 5 4 The dirty floor F t is a subgraph of G, t represents time. Initial state: assume G is a single connected component without holes or obstacles, and F 0 = G. 3 2 1 1 2 3 4 5 6 7 8 X S. Lizeth Tapia Tarifa

Definition The Floor The Cleaning Robots The CLEAN Protocol Definition of the Problem: The Cleaners Group of identical cleaners moving across F t. (using 4-neighbours relation). Cleaners can only observe their local environment. Goal: clean the dirty floor (not prior knowledge of the shape or size of the dirty floor). 8 7 6 5 4 3 2 y Local knowledge of diameter 5 Initial Clean position position RED cleaner All the cleaning robots start and stop in the same position. 1 Dirty position 1 2 3 4 5 6 7 8 X BLUE cleaner Initial position: at the boundary of F 0. S. Lizeth Tapia Tarifa

Definition The Floor The Cleaning Robots The CLEAN Protocol Definition of the Problem: The CLEAN Protocol Common protocol: moving and cleaning (non-critical positions) along the boundary of F t. Cyclic algorithm: in each discrete time step, each cleaner executes one outer cycle. The cleaners peel layers from the boundary of F t, until F t is cleaned entirely. Protocol must preserve the connectivity of the dirty floor. From: Cooperative cleaners: A study in ant robotics. Wagner et al. S. Lizeth Tapia Tarifa

1. User-defined datatypes and their associated functions. To represent and manipulate the information of the floor and the cleaners. To record monitoring information. type Pos = Pair<Int, Int>; type Graph = Set<Pos>;... type CleanersPerPos = Map <Pos,Cleaners>;... type FloorPath = List<Triple<Time,Pos,String>>;... type CleanerPath = List<Pair<Time,Pos>>;... S. Lizeth Tapia Tarifa

2. Abstracting hardware of cleaners and environment. Abstracted using method calls. Modelling entity environment. Passive floor vs. reactive environment. Cleaner 1. Environment.. Cleaner N S. Lizeth Tapia Tarifa

3. Interpretation and implementation of informal concepts as functions. (7,3) (x-1,y+1) up left (x-1,y) left (x-1,y-1) down left (x,y+1) up (x,y) (x,y-1) down (x+1,y+1) up right (x+1,y) right (x+1,y-1) down right def PosSet eightnbr(pos p, Graph g) = let (Pos u)=up(p) in let (Pos ul)=upleft(p) in let (Pos ur)=upright(p) in let (Pos l)=left(p) in let (Pos r)=right(p) in let (Pos d)=down(p) in let (Pos dl)=downleft(p) in let (Pos dr)=downright(p) in dirtyset(set[u,ul,ur,l,r,d,dl,dr],g); def PosSet dirtyset... S. Lizeth Tapia Tarifa

4. Ambiguities of the CLEAN protocol. Unexplained Check Near Completion of Mission subtask. SWEEP Protocol. Adaptation of the Calculate waiting dependencies subtask. Implicit synchronisation: we used fixed timers to guarantee homogeneous progress. We restricted the execution of the CLEAN protocol to only one cycle per time step. (synchronise) Task completed? sense yes no yes task near completion? no Calculate next position Stop yes (synchronise) sense Waiting? (synchronise) no Resting? sense /broadcast (synchronise) Signal next position no yes broadcast May clean current postion update floor Move to next position broadcast (synchronise) S. Lizeth Tapia Tarifa

4. Ambiguities of the CLEAN protocol. (synchronise) sense Task completed? yes no yes task near completion? no Calculate next position Stop yes (synchronise) sense Waiting? (synchronise) no Resting? sense /broadcast (synchronise) Signal next position no yes broadcast May clean current postion update floor Move to next position broadcast (synchronise) S. Lizeth Tapia Tarifa

During the modelling process: 1 Validate that the manipulation of user-defined datatypes is correct. 2 Validate that the implementation of the concepts given in the problem description is adequate. 3 Observe that the recording of the monitoring information was consistent. 4 Observe that the model satisfies the considered safety properties. S. Lizeth Tapia Tarifa

Cleaning a five per five square floor using one cleaner 5 4 3 2 1 4 5 6 7 8 3 20 21 22 9 2 19 32 23 10 1 18+26+30+34 25+31+33 24 11 0+16+28+36 15+17+27+29+35 14 13 12 1 2 3 4 5 Path of the cleaner 5 4 5 6 7 8 4 3 20 21 22 9 3 2 19 32 23 10 2 1 34 33 24 11 1 36 35 14 13 12 1 2 3 4 5 Progress of cleaning the floor Total time: 36 S. Lizeth Tapia Tarifa

Cleaning a five per five square floor using two cleaners 5 4 5 6$7$8 9$10 11$12 5 8#9 10#11 12#13 4 3 13 4 6 7 16 14#15 3 2 26$27 14 3 5 27 17 2 1 23$24$25$28 15 2 4 19#25#26#28 18 1 0$20$31 19$21$30 18$22$29 17 16 1 2#22#31 3#21#23#30 20#24#29 1 2 3 4 5 1 2 3 4 5 5 4 5 9 11 13 4 3 6 7 16 15 3 2 5 27 17 14 2 1 4 28 18 15 1 31 30 29 17 16 1 2 3 4 5 Total time: 31 S. Lizeth Tapia Tarifa

Cleaning a five per five square floor using three cleaners 5 4 5 6 7%8%%9%10%11 12%13%14 5 8#9 10#11#12 13#14#15 4 3 15 4 6 7 16#17 3 2 16 3 5 18 2 1 26%27%28%%29%30 17 2 4 21#30#31#32 19#20 1 0%22 21%23 20%24%32 19%25%31 18 1 2#26 3#25#27 23#24#28 22#29 1 2 3 4 5 1 2 3 4 5 5 4 3 2 11#12#13 14#15#16#17#18 10 19 8 9 20#21#22 7 24#25#26# 23 5 4 5 9 13 18 4 3 6 7 10 19 3 2 5 8 9 22 2 1 4 7 23 1 4#30 5#29#31 6#28#32 27 1 18 1 2 3 4 5 1 2 3 4 5 S. Lizeth Tapia Tarifa

Summary of simulation results. 5x5 ( size = 25) Time 1 cleaner 36 2 cleaners 31 3 cleaners (before livelock) 23 10x10 ( size = 100) 1 cleaner 140 2 cleaners 129 3 cleaners (before livelock) 83 20x20 ( size = 400) 1 cleaner 580 2 cleaners 587 S. Lizeth Tapia Tarifa

Motivation Q 1. How can Real-Time ABS be used to naturally model autonomous, decentralised and self-organised systems such as swarm robotics? S. Lizeth Tapia Tarifa

Motivation Real-Time ABS & modelling of swarm robotic systems Special hardware. Entity environment. Passive environment. Entity environment. Implicit communication. Entity environment. State representation. User-defined datatypes. Work flow. Functional + Imperative. Monitoring information. User-defined datatypes. Synchronisation. Modelling a suitable synchronisation mechanism for a given concurrent problem represents a challenge on its own (e.g., fixed timers). S. Lizeth Tapia Tarifa

Motivation Q 1. How can Real-Time ABS be used to naturally model autonomous, decentralised and self-organised systems such as swarm robotics? A 1. From the cooperative cleaners case study: almost naturally model in Real-Time ABS (simple concurrent model, functional layer, imperative layer), it required fairly advanced modelling skills. S. Lizeth Tapia Tarifa

Motivation Q 2. To what extent can the simulation tool of Real-Time ABS help to analyse the collective behaviour of such systems? S. Lizeth Tapia Tarifa

Motivation RTABS & analysis of swarm robotic systems Simulations. Useful while modelling the case study. Limitations with respect to handling large amount of data. Analysis of monitoring information. Insights about the behaviour of the system. Manual analysis. Output format from the tool is not user friendly. Hard to scale in the size of the floor and in the number of cleaners. S. Lizeth Tapia Tarifa

Motivation Q 2. To what extent can the simulation tool of Real-Time ABS help to analyse the collective behaviour of such systems? A 2. From the cooperative cleaners case study: can be analysed using simulations, restricted analysis to small scenarios, requires reformatting and reorganisation of obtained monitoring data. S. Lizeth Tapia Tarifa

Motivation Possible changes to the model and to the protocol itself. Group of robots with coordinators. Different synchronisation mechanisms (e.g., flexible timers). Possible extensions to the analysis, using symbolic execution. Reasoning about invariants using KeY. Reasoning about cost analysis using COSTA. S. Lizeth Tapia Tarifa

THANK YOU S. Lizeth Tapia Tarifa