Timeline-based Planning and Execution: Theory and Practice - - - PowerPoint PPT Presentation

timeline based planning and execution theory and practice
SMART_READER_LITE
LIVE PREVIEW

Timeline-based Planning and Execution: Theory and Practice - - - PowerPoint PPT Presentation

Timeline-based Planning and Execution: Theory and Practice - PLATINUm - A Novel framework for PL anning and A cting with TI meli N es under U ncertainty Alessandro Umbrico National Research Council of Italy (ISTC-CNR) Outline p General


slide-1
SLIDE 1

Timeline-based Planning and Execution: Theory and Practice

  • PLATINUm -

A Novel framework for PLanning and Acting with TImeliNes under Uncertainty

Alessandro Umbrico National Research Council of Italy (ISTC-CNR)

slide-2
SLIDE 2

Outline

p General Introduction to PLATINUm

n History, general motivations and objectives

p PLATINUm Representation Capabilities

n Temporal Uncertainty, Components and Resolvers

p PLATINUm Deliberative Capabilities

n Pseudo-controllability aware planning and hierarchical approach

p PLATINUm Executive Capabilities

n Closed-loop control approach and controllability issues

p PLATINUm in Action

n Human-Robot Collaboration in realistic manufacturing scenarios

1

slide-3
SLIDE 3

GENERAL INTRODUCTION TO PLATINUM

2

slide-4
SLIDE 4

A Brief History of PLATINUm

3

HSTS

[Muscettola et al. 1994]

APSI-TRF

[Cesta et al. 2008]

APSI-GOAC

[Fratini et al. 2011]

EPSL

[Umbrico et al. 2015]

PLATINUm

[Umbrico et al. 2017]

Formalization of Timeline-based Approach with Temporal Uncertainty and Resources

[Cialdea et al. 2016] + [Umbrico et al. 2018]

PLATINUm + Resources

[Umbrico et al. 2018]

slide-5
SLIDE 5

Motivations and Objectives

p Several timeline-based systems successfully applied in practice

n E.g., EUROPA2, ASPEN, IxTeT, APSI-TRF

p Lack of uniform formal interpretation of the main concepts

n E.g., different interpretation of timelines, domain rules, plans and solutions

p Lack of a uniform approach to planning and execution with

timelines

n E.g., different approaches to solving and modeling problems with timelines

p Lack of representation of uncertainty and uncontrollable

dynamics

4

slide-6
SLIDE 6

Framework Capabilities

p A software framework capable of dealing with planning and

execution of timelines under temporal uncertainty

n Comply with the formalization proposed in [Cialdea et al. 2016]

p Synthesize timeline-based plans with some desired

controllability properties

n E.g., pseudo-controllability

p Execute timelines by dealing with the dynamics of the

uncontrollable features of the environment

n The controllability problem [Morris, Muscettola and Vidal 2001]

5

slide-7
SLIDE 7

Architectural Overview of the Framework

Deliberative

Planner Strategy Solver Heuristics

Representation

Plan Database Domain Component Resolver Temporal Database Parameter Database

Executive

Executive Monitor Clock Dispatcher Executive Plan Database Manager

6

slide-8
SLIDE 8

A Layered Architecture for PLATINUm

p The Representation Layer is responsible for providing the basic

functionalities needed to manage timeline-based plans

n Encapsulate data structures and algorithms needed to build valid timelines

p The Deliberative Layer is responsible for solving planning

problems by synthesizing timeline-based solution plans

n Encapsulate heuristics, strategies and algorithms needed to build plans

p The Executive Layer is responsible for executing timelines by

scheduling flexible tokens over time

n Encapsulate dispatching and monitoring algorithms to dynamically adapt

timelines during execution, according to the received feedbacks

7

slide-9
SLIDE 9

GOING DEEP INTO REPRESENTATION CAPABILITIES

8

slide-10
SLIDE 10

Plan Database Overall Structure

9

slide-11
SLIDE 11

Plan Data Representation and Management

p Temporal information is managed through Temporal Networks

n Framework enabling temporal inference and consistency checking

[Dechter et al. 1991]

p Simple Temporal Network with Uncertainty (STNU) to manage

uncontrollable durations

p Controllability check [Morris, Muscettola and Vidal 2001]

p A “standard” CSP solver is encapsulated to manage variable

assignment and constraint propagation

n Choco CSP solver

10

slide-12
SLIDE 12

Resolvers and Components

p Domain components are data structures that model the features

  • f a planning domain that must be controlled over time

n Each feature has its own constraints that must be satisfied to generate

valid timelines i.e., temporal behaviors without flaws

p Resolvers represent specialized algorithms capable of detecting

flaws and computing possible solutions

n Each resolver encapsulates the logic for handling a particular type of flaw

p PLATINUm provides a set of ready to use components and

resolvers representing the typical features that compose a timeline-based planning domain

11

slide-13
SLIDE 13

State Variables

p Components that comply with

the proposed formalization

n Encapsulate values, durations,

controllability tags and transition constraints

p Resolvers are provided to

synthesize timelines

n Schedule state variable tokens n Synthesize complete sequences

  • f tokens enforcing transition

constraints

12

slide-14
SLIDE 14

Discrete and Reservoir Resources

p Components encapsulate

resource constraints and resource events according to the tokens of the timelines

p Resolvers provide the logic for

detecting and solving peaks

n Compute pessimistic and

  • ptimistic resource profiles

n Compute peak solutions through

Minimal Critical Sets (MCSs)

p Planning & Scheduling integration

13

slide-15
SLIDE 15

The Plan Database

p Encapsulating all the domain

components and configurations

n Composite design pattern n Provide a public interface to

domain features and data

p Leverage internal components

to detect planning goals

n Planning goal solutions computed

through synchronization rules

n Apply expansion or unification

14

slide-16
SLIDE 16

GOING DEEP INTO DELIBERATIVE CAPABILITIES

15

slide-17
SLIDE 17

Detailed Structure of a PLATINUm Planner

16

slide-18
SLIDE 18

Pseudo-controllability Aware Solving

p General plan refinement search procedure

n Iteratively refine an initial partial plan by solving flaws, until a valid plan

without flaws is found

n Search decision point: which partial plan to select for search space

expansion

n Flaw decision point: which flaw to solve for plan refinement

p Pseudo-controllability check as a special flaw of the plan

n Verify if the flexible durations of the uncontrollable tokens have been

modified with respect to the domain specification

n Pseudo-controllability is a necessary but not sufficient condition for

dynamic controllability

17

slide-19
SLIDE 19

Hierarchical Flaw Selection Heuristics

p Analyze synchronization rules

to extract dependencies among state variables and their values

n Extract a hierarchy if possible n Domain-independent heuristics

p Leverage the extracted

hierarchy to evaluate flaws and decide which flaw to solve next

n Support flaw decision point

18

Functional variables

SVA SVB SVC

Primitive variables

SVD SVE

SVA SVB SVC SVD SVE

slide-20
SLIDE 20

Search & Build Plan Synthesis

p Search phase aims at constraining temporal behaviors as much

as possible

n Interleave planning and scheduling decisions by reasoning on flaws n Constraint state variables behaviors according to synchronization rules

and resource constraints - generated behaviors are not timelines yet

p Build phase aims at finalizing timelines by enforcing semantics

defined by the formalization

n Synthesize valid timelines according to the constrained behaviors of

state variables generated by the search phase

n Backtrack by jumping-back to the search phase in case of failures

19

slide-21
SLIDE 21

Defining and Using a PLATINUm Planner

20

slide-22
SLIDE 22

GOING DEEP INTO EXECUTIVE CAPABILITIES

21

slide-23
SLIDE 23

Detailed Structure of a PLATINUm Executive

22

slide-24
SLIDE 24

Closed-loop Execution of Timeline-based Plans

p A PLATINUm executive consists of a closed-loop control

process which iteratively fix flexible timelines over time

p A Dispatcher actually executes the timelines of a plan by sending

commands to a physical system

n It is responsible for deciding the start of the execution of the tokens that

compose the timelines of a plan

p A Monitor handles execution feedbacks to verify whether the plan

complies with the observed status of the environment or not

n It is responsible for propagating information about the actual duration of

uncontrollable tokens

23

slide-25
SLIDE 25

Executing Timelines under Temporal Uncertainty

p Extract start/end execution

dependencies by analyzing temporal relations of a plan

n Dynamically generate a

execution dependency graph

p Manage token transitions

according to their controllability properties

n Different controllability properties

entail different dispatching policies

waiting in-execution c executed c

controllable

waiting in-execution c executed u

partially controllable

waiting starting c in-execution u executed u

uncontrollable

24

slide-26
SLIDE 26

Closed-loop Control Architecture

Deliberative

buffered planned

Failure Manager Executive

Dispatcher Monitor

failure executed re-planning

System/ROS-based Simulator

send command feedback feedback send command

25

slide-27
SLIDE 27

HUMAN-ROBOT COLLABORATION CASE STUDY

26

slide-28
SLIDE 28

The FourByThree Research Project

p Horizon 2020 research project

n Call FoF-06-2014 “Symbiotic Human-Robot Collaboration for safe and

dynamic multimodal manufacturing systems”

n Coordinated by FUNDACION TEKNIKER (Spain) n http://fourbythree.eu/

27

slide-29
SLIDE 29

Objectives of the Project

p Develop a new generation of modular industrial robotic solutions

that are suitable for efficient task execution in collaboration with humans in a safe way and are easy to use and program

n Vision: A system integrator (or end-user) can create its own custom robot

according to their application needs (“kit” of hardware and software components)

p Real-world Pilot case studies to test Human-Robot Collaboration

n ALFA, WOLL, STODT, PREMIUM

28

slide-30
SLIDE 30

ALFA: A Collaborative Assembly Case Study

p Investment Casting process

n Dies are assembled and disassembled

manually

n Some operations need human dexterity n Others can be done by a robot

p Re-design the process by taking into

account an HRC perspective

n Hierarchical process description n Three levels: Supervision, Coordination,

Implementation

29

slide-31
SLIDE 31

A Hierarchical Planning Model for Collaborative Assembly Scenarios

Robot’s motion tasks Human’s assigned tasks

30

slide-32
SLIDE 32

Flexible Collaboration with Dynamic Trajectory Selection

Verify the capabilities of an integrated task and motion planning control to improve the efficiency of HRC assembly processes

31

slide-33
SLIDE 33

Experimental Results

257 225 195 171 169 172 0% 10% 20% 30% 40% 50% 60% 70% 80% 50 100 150 200 250 300 1 2 3 4 5 6 7 Execution TIme [s] Execution Time [s] Saved Time [%] Robot Allocated Task [%]

Planning can reduce the duration of HRC processes and realize effective and safe collaborations between human operators and robots [Pellegrinelli et al. CIRP Annals 2017]

32

slide-34
SLIDE 34

Final Remarks

p HRC is particularly suited to show the capabilities of PLATINUm

p Temporal uncertainty and hierarchical problem modeling and solving

p The FourByThree research project has shown the capability of

PLATINUm to synthesize flexible and adaptable behaviors of a robot acting in the real-world

p Download PLATINUm from GitHub:

https://github.com/pstlab/PLATINUm

33

slide-35
SLIDE 35

CORRELATED PROJECTS AND FUTURE DEVELOPMENTS

34

slide-36
SLIDE 36

KEEN– The Knowledge Engineering Environment for Timeline-based Planning

p A knowledge engineering environment aimed at supporting the

design and development of timeline-based applications

n Round-trip-engineering to support both graphical and programming user

interface to model timeline-based domains

n Available as plugin for the Eclipse IDE n https://ugilio.github.io/keen/

p Integrated with PLATINUm

n Launch platinum-based planners on designed timeline-based domains n Launch platinum-based executive to simulate execution of synthesized

plans

35

slide-37
SLIDE 37

Conclusions and Future Works

p PLATINUm is an open framework which can be “easily” extended

to introduce new representation features and solving capabilities

n Discrete and Reservoir Resource management has been recently

introduced [Umbrico et al. ICAPS 2018]

p Future works

n Investigate new heuristics and new search strategies n Integrate dynamic controllability checking algorithms n Comparison with other state of the art timeline-based and hybrid planners

p EUROPA [Barreiro et al., 2012], CHIMP [Stock et al., 2015], FAPE [Dvorak et al.,

2014]

36

slide-38
SLIDE 38

Thanks for your Attention!

37

PLATINUm – PLanning and Acting with TImeliNes under Uncertainty

Available on GitHub https://github.com/pstlab/PLATINUm