40
SCHEDULING AND PLANNING IN EXECUTIVE SYSTEMS CONNOR LANGE

Scheduling and planning in executive systems Connor LANGE

  • Upload
    donagh

  • View
    15

  • Download
    0

Embed Size (px)

DESCRIPTION

Scheduling and planning in executive systems Connor LANGE. Overview. Background Previous Systems GDMFAS Task Manager Scheduler System Monitor Implementation Issues. Research/Topic Area. Executive Systems in Space! Special Considerations Extreme Risk – Money and Time - PowerPoint PPT Presentation

Citation preview

Page 1: Scheduling and planning in executive systems Connor LANGE

SCHEDULING AND PLANNING IN

EXECUTIVE SYSTEMSCONNOR LANGE

Page 2: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Task ManagerSchedulerSystem Monitor

Implementation Issues

Page 3: Scheduling and planning in executive systems Connor LANGE

Research/Topic Area

Executive Systems in Space!

Special ConsiderationsExtreme Risk – Money and TimeCommunication – Little to None“Weak” hardware – Flight HeritageMistrust of AI – Flight Heritage / Risk

Page 4: Scheduling and planning in executive systems Connor LANGE

Executive System Architecture Overview Agent architecture that acts as the

“brain” of an autonomous system (AS)

Handles all planning and scheduling of tasks and mission objective

Monitors system health and consolidates information about the agent to preserve the system

Page 5: Scheduling and planning in executive systems Connor LANGE

Implications

Significant resource usage

Additional complexitySoftwareRisk Hardware

Increased development time

Page 6: Scheduling and planning in executive systems Connor LANGE

Why?

Human error due to:Limited visibility of system stateAccidents (wrong commands, etc.)Humans being slow and inefficient (other

things)

It’s necessary… for the precise reasons it’s dangerous

Page 7: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 8: Scheduling and planning in executive systems Connor LANGE

List of Previous Systems

GENIE LOGOS ASOF ASPEN NMRA ASE CASPER NEAT

Page 9: Scheduling and planning in executive systems Connor LANGE

Ground Station Approach

Systems: GENIE, LOGOS, ASOF Benefits:

Significant advantages all-around○ Hardware○ Error Correction○ Software Complexity/Testing

Cons:Comms!

Page 10: Scheduling and planning in executive systems Connor LANGE

Platform Independent Approach

Systems: ASPEN Benefits:

Generic/Abstract ImplementationVersatility in mission planning

○ Ground/Space FocusEasier to interface with since humans think

in terms of “high-level” operations Cons:

Doesn’t inherently address specific spacecraft concerns (hardware, etc.)

Page 11: Scheduling and planning in executive systems Connor LANGE

Spacecraft Approach

Systems: NMRA, ASE Benefits:

Considers unique spacecraft problemsImmune to communication problemsCounteracts human errorQuick response time

Cons:Added complexity, risk, development time,

etc.

Page 12: Scheduling and planning in executive systems Connor LANGE

Partial Solutions

Systems: CASPER, NEAT Benefits:

UNIX philosophy – do 1 thing and do it well Forces modular architecture Provides versatility in system design and

decreases future development time Cons:

No assumptions about system designCommunication with other modules

Page 13: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 14: Scheduling and planning in executive systems Connor LANGE

Generic Decision Making Framework for Autonomous Systems (“the framework”)

Relieve the headache Make development simpler and more

cost effectiveDon’t reinvent the wheel

Don’t waste time with the “obvious”Ex: C program headers, function declaration

Page 15: Scheduling and planning in executive systems Connor LANGE
Page 16: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 17: Scheduling and planning in executive systems Connor LANGE

Data Item Design Decisions Executables

Effects on the system are all that matterTasks executed through user-code

ResourcesNumerical values and binary use indicatorsSafety

○ Minimum safe level○ Total amount

Page 18: Scheduling and planning in executive systems Connor LANGE

Data Items - Tasks

Most basic schedulable unit

Most common unit

Use resources

Only directly executable unit

Page 19: Scheduling and planning in executive systems Connor LANGE

Task Class Diagram

Page 20: Scheduling and planning in executive systems Connor LANGE

Data Items: Activities and Mission Objectives Derived from ScheduleItem NOT directly executable

Executes the Tasks or Activities contained within

Page 21: Scheduling and planning in executive systems Connor LANGE

Data Items - Resource

Used by the System Monitor to watch resource levels of all resources

Stores: The maximum capacity of the resource in

the systemIf the Resource is sharable or not

Page 22: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 23: Scheduling and planning in executive systems Connor LANGE
Page 24: Scheduling and planning in executive systems Connor LANGE

Task Manager

Repository for all possible Tasks in the systemKeeps track of what has been completed

and what hasn’t Adds new Tasks Updates Tasks Relays repository information to the

ground

Page 25: Scheduling and planning in executive systems Connor LANGE

Task Manager – Adding Tasks All Tasks that the developers are aware

of at system creation time are automatically read

Future Tasks must be transmittedMission completed, changed, or aborted

Operator sends the data required for a Task to the system (“Task factory”)

Page 26: Scheduling and planning in executive systems Connor LANGE

Task Manager - Updates

System Monitor sends updated Task properties to the repository where they are savedExecution TimeResource Usage

Updates completion status Task Activity Mission Objective

Page 27: Scheduling and planning in executive systems Connor LANGE

Task Manager – Relaying Status

Creates a report of the current status of the Task repositoryOverall Mission Status %Mission Objectives %

○ ListActivities %

○ ListTasks %

○ List

Page 28: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 29: Scheduling and planning in executive systems Connor LANGE
Page 30: Scheduling and planning in executive systems Connor LANGE

Planning/Scheduling Considerations Time

Time sensitive tasks Resources

MemoryPower

StateBroken hardwareWithin communication range

PriorityExternal tasksControl Tasks

Page 31: Scheduling and planning in executive systems Connor LANGE

Scheduler

Constructs the schedule but doesn’t execute it

Processing Risk ManagerPrioritizer

Schedule ConstructionScheduling Algorithm

Page 32: Scheduling and planning in executive systems Connor LANGE

Scheduler – Risk Manager Removes Tasks from the selection pool

Dangerous tasks ○ Resources ○ Probability of success (< 65%)

consequences○ Mission status ( > 70%)

Page 33: Scheduling and planning in executive systems Connor LANGE

Scheduler - Prioritizer

Assigns a ranking to Tasks in the selection poolTime - time of day

○ Absolute deadlines exit prioritizerFairness - starvationContribution to Mission - completion of tiersUser priority - importance to developer

Page 34: Scheduling and planning in executive systems Connor LANGE

Scheduler - Algorithm

Place Tasks with absolute deadlines first Place rest of Tasks in selection pool by

ranking and time length

Page 35: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 36: Scheduling and planning in executive systems Connor LANGE
Page 37: Scheduling and planning in executive systems Connor LANGE

System Monitor

Ensures system safety Enforce manual overrideKill or halt a Task if it becomes dangerousForce critical tasks to execute

Monitor ResourcesEnforce sharing of resourcesPrevent Tasks from running due to Resource

problems Invoke other modules Comms

Page 38: Scheduling and planning in executive systems Connor LANGE

Overview

Background Previous Systems GDMFAS

Data ItemsTask ManagerSchedulerSystem Monitor

System Concerns

Page 39: Scheduling and planning in executive systems Connor LANGE

System Concerns

PerformanceMemory

○ Unnecessary modules○ Memory overhead

ComplexityEffectiveness

UsabilityEasy to understand, integrate

Practicality of Implementation

Page 40: Scheduling and planning in executive systems Connor LANGE

QUESTIONS?

Sources in Paper