Copyright B. Williams 16.412J/6.834J, Fall 02 Lecture 3: Immobile Robots and Space Explorers Prof. Brian Williams Rm 33-418 Wednesday, September 11 th,

Slides:



Advertisements
Similar presentations
© Charles Pecheur 1 Dagstuhl 5-9 Nov 2001 Symbolic Model Checking of Domain Models for Autonomous Spacecrafts Charles Pecheur (RIACS / NASA Ames)
Advertisements

Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
Dynamic Domain Architectures for Model Based Autonomy MoBIES Embedded Software Working Group Meeting April B. Williams, B. Laddaga, H. Shrobe,
MBD in real-world system… Self-Configuring Systems Meir Kalech Partially based on slides of Brian Williams.
Approved for Public Release, Distribution Unlimited Pervasive Self-Regeneration through Concurrent Model-Based Execution Brian Williams (PI) Paul Robertson.
AeroSense, April System Health Tracking and Safe Testing André Bos, Arjan van Gemund Jonne Zutt Delft University of Technology.
WPI CS534 Showcase Jeff Martin. * Computer Software on Deep Space 1 * Used to execute plans/mission objectives * Model based * Constraint based * Fault.
CS 795 – Spring  “Software Systems are increasingly Situated in dynamic, mission critical settings ◦ Operational profile is dynamic, and depends.
Introduction to Cyber Physical Systems Yuping Dong Sep. 21, 2009.
Bastien DURAND Karen GODARY-DEJEAN – Lionel LAPIERRE Robin PASSAMA – Didier CRESTANI 27 Janvier 2011 ConecsSdf Architecture de contrôle adaptative : une.
AI Planner Applications Practical Applications of AI Planners.
Experiences with an Architecture for Intelligent Reactive Agents By R. Peter Bonasso, R. James Firby, Erann Gat, David Kortenkamp, David P Miller, Marc.
Modeling and Planning with Robust Hybrid Automata Cooperative Control of Distributed Autonomous Vehicles in Adversarial Environments 2001 MURI: UCLA, CalTech,
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Executing Reactive, Model-based Programs through Graph-based Temporal Planning Phil Kim and Brian C. Williams, Artificial Intelligence and Space Systems.
Feasibility Criteria for Investigating Potential Application Areas of AI Planning T.L.McCluskey, The University of Huddersfield,UK
Sheila McIlraith, Knowledge Systems Lab, Stanford University DX’00, 06/2000 Diagnosing Hybrid Systems: A Bayesian Model Selection Approach Sheila McIlraith.
Intelligent Agents: an Overview. 2 Definitions Rational behavior: to achieve a goal minimizing the cost and maximizing the satisfaction. Rational agent:
Aeronautics & Astronautics Autonomous Flight Systems Laboratory All slides and material copyright of University of Washington Autonomous Flight Systems.
Strong Method Problem Solving.
Model-based Programming of Fault Aware Systems Brian C. Williams CSAIL, MIT.
Software Faults and Fault Injection Models --Raviteja Varanasi.
The Pursuit for Efficient S/C Design The Stanford Small Sat Challenge: –Learn system engineering processes –Design, build, test, and fly a CubeSat project.
Model-Based Programming of Intelligent Embedded Systems Bill Gaes CSc 299 Masters Seminar Presentation and Discussion 5/20/2005 Based on: Brian C. Williams.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
SensIT PI Meeting, January 15-17, Self-Organizing Sensor Networks: Efficient Distributed Mechanisms Alvin S. Lim Computer Science and Software Engineering.
A Hierarchical Approach to Model-based Reactive Planning in Large State Spaces Artificial Intelligence & Space Systems Laboratories Massachusetts Institute.
European Network of Excellence in AI Planning Intelligent Planning & Scheduling An Innovative Software Technology Susanne Biundo.
The Role of Optimization and Deduction in Reactive Systems P. Pandurang Nayak NASA Ames Research Center Brian.
1 Description and Benefits of JWST Commanding Operations Concept TIPS/JIM Meeting 17 July 2003 Vicki Balzano.
EEL Software development for real-time engineering systems.
.1 RESEARCH & TECHNOLOGY DEVELOPMENT CENTER SYSTEM AND INFORMATION SCIENCES JHU/MIT Proprietary Titan MESSENGER Autonomy Experiment.
Probabilistic Reasoning for Robust Plan Execution Steve Schaffer, Brad Clement, Steve Chien Artificial Intelligence.
MIT Dept of Aeronautics and Astronautics March 21, 2003 Graduate Open House Aero/Astro Open House MERS Research Group Model-based Embedded and Robotic.
1 Jillian Redfern Orbital Express Presentation TITAN All-Hands 07/08/2003.
Polymorphous Computing Architectures Run-time Environment And Design Application for Polymorphous Technology Verification & Validation (READAPT V&V) Lockheed.
16.412J/6.835 Intelligent Embedded Systems Prof. Brian Williams Rm Rm NE Prof. Brian Williams Rm Rm NE43-838
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Aero/Astro Open House MERS Research Group Model-based Embedded and Robotic Systems Group Space Systems Laboratory Massachusetts Institute of Technology.
10/16/02copyright Brian Williams, courtesy of JPL Diagnosing Multiple Faults Brian C. Williams J/6.834J October 16 th, 2002 Brian C. Williams,
Robotic Space Explorers Brian C. Williams Space Systems Lab & Artificial Intelligence Lab, MIT.
Planning Your Advanced Lecture 1 Brian C. Williams J/6.834J Sept 26 th, 2001.
Intelligent Distributed Spacecraft Infrastructure Earth Science Vision Session IGARSS 2002 Toronto, CA June 25, Needs for an Intelligent Distributed.
Mike Graves Summer 2005 University of Texas at Dallas Implicit Invocation: The Task Control Architecture Mike Graves CS6362 Term Paper Dr. Lawrence Chung.
Model-based Programming of Cooperative Explorers Prof. Brian C. Williams Dept. of Aeronautics and Astronautics Artificial Intelligence Labs And Space Systems.
Discovery and Systems Health Technical Area NASA Ames Research Center - Computational Sciences Division Automated Diagnosis Sriram Narasimhan University.
Robotic Space Explorers: To Boldly Go Where No AI System Has Gone Before A Story of Survival J/6.834J September 19, 2001.
Outline Deep Space One and Remote Agent Model-based Execution OpSat and the ITMS Model-based Reactive Planning Space Robotics.
Space Systems Laboratory Massachusetts Institute of Technology AUTONOMY MIT Graduate Student Open House March 24, 2000.
ESA Harwell Robotics & Autonomy Facility Study Workshop Autonomous Software Verification Presented By: Rick Blake.
SAS_05_Contingency_Lutz_Tal1 Contingency Software in Autonomous Systems Robyn Lutz, JPL/Caltech & ISU Doron Tal, USRA at NASA Ames Ann Patterson-Hine,
9/18/2000copyright Brian Williams1 Propositional Logic Brian C. Williams J/6.834J October 10, 2001.
MIT Dept of Aeronautics and Astronautics March 21, 2003 Graduate Open House Programming Cooperative Teams To Perform Global Science HOME TWO Enroute COLLECTION.
Autonomy: Executive and Instruments Life in the Atacama 2004 Science & Technology Workshop Nicola Muscettola NASA Ames Reid Simmons Carnegie Mellon.
Ocean Observatories Initiative OOI CI Kick-Off Meeting Devils Thumb Ranch, Colorado September 9-11, 2009 Observation Planning and Autonomous Mission Execution.
Lecture 8: Wireless Sensor Networks By: Dr. Najla Al-Nabhan.
Timed Model-based Programming: Executable Specifications for Robust Mission-Critical Sequences Michel Ingham, Seung Chung, Paul Elliott, Oliver Martin,
Temporal Plan Execution: Dynamic Scheduling and Simple Temporal Networks Brian C. Williams J/6.834J December 2nd,
Monitoring Dynamical Systems: Combining Hidden Markov Models and Logic
Reading B. Williams and P. Nayak, “A Reactive Planner for a Model-based Executive,” International Joint Conference on Artificial Intelligence, 1997.
CS 4700: Foundations of Artificial Intelligence
Model-based Diagnosis: The Single Fault Case
Temporal Planning: Part 2
NASA Ames Research Center
Thrust IC: Action Selection in Joint-Human-Robot Teams
AI in Space – Lessons From NASA’s Deep Space 1 Mission
CSCI 5582 Artificial Intelligence
Temporal Planning, Scheduling and Execution
Model-based Diagnosis
MIT AI Lab: B. Williams, H. Shrobe, R. Laddaga
Presentation transcript:

Copyright B. Williams J/6.834J, Fall 02 Lecture 3: Immobile Robots and Space Explorers Prof. Brian Williams Rm Wednesday, September 11 th, 2002

Copyright B. Williams J/6.834J, Fall 02 Course Objective 1 To understand the main types of intelligent embedded systems and their driving requirements: Agile Robots –Hallway robots, Field robots, Underwater explorers, stunt air vehicles “Immobile” Robots –Intelligent spaces –Robust space probes Cooperating Agents –Cooperative Space/Air/Land/Underwater vehicles, distributed traffic networks, smart dust. Accomplished by:  Case studies during lectures  Supports course final project (Objective 4).

Copyright B. Williams J/6.834J, Fall 02 Readings and Assignment Readings: Remote Agent: to Boldy Go Where No AI System Has Gone Before, N.Muscettola, P. Nayak, B. Pell and B. Williams, Artificial Intelligence 103 (1998) Remote Agent: to Boldy Go Where No AI System Has Gone Before, Immobile Robots: AI in the New Millennium, B. Williams and P. Nayak, AI Magazine, Fall (1996). Immobile Robots: AI in the New Millennium, Problem Set 1: Distributed in Class: Wednesday, September 11th, 2002 Due in Class: Wednesday, September 18th, 2002

Copyright B. Williams J/6.834J, Fall 02 Immobile Robots Responsive Environment Project (circa 1992): Create building environments that anticipate and adapt to user needs. Models self and its occupants Learns physics of building Learns models of user activity (e.g., office occupancy) Acts in order to anticipate and meet needs. Sets energy goals based on user’s anticipated needs. Regulates by distributed auction. Synthesizes distributed, optimal controllers to save energy. Xerox PARC Ubiquitous Computing Project: Shift computation from the desktop, in to the walls and everyday devices.

Copyright B. Williams J/6.834J, Fall 02 Immobile Robots in Space

courtesy NASA The Russian Mir Failure

Copyright B. Williams J/6.834J, Fall 02 courtesy NASA Ames

Copyright B. Williams J/6.834J, Fall 02 MIT Spheres flies in Intl Space station 2003 courtesy Prof. Dave Miller, MIT Space Systems Laboratory

Copyright B. Williams J/6.834J, Fall 02 Autonomous Systems use Models to Anticipate or Detect Subtle Failures NASA Mars Habitat

Robotic Space Explorers: To Boldly Go Where No AI System Has Gone Before A Story of Survival J/6.834J September 19, 2001

Copyright B. Williams J/6.834J, Fall 02 Outline Motivation Model-based autonomous systems Remote Agent Example

Cryobot & Hydrobot courtesy JPL Europa ``Our vision in NASA is to open the Space Frontier... We must establish a virtual presence, in space, on planets, in aircraft and spacecraft.’’ - Daniel S. Goldin, NASA Administrator, May 29, 1996

courtesy JPL Distributed Spacecraft Interferometers search for Earth-like Planets Around Other Stars

Cassini Maps Titan courtesy JPL 7 year cruise ~ ground operators ~ 1 billion $ 7 years to build A Capable Robotic Explorer: Cassini 150 million $ 2 year build 0 ground ops Faster, Better, Cheaper

courtesy JPL Mars Pathfinder and Sojourner

Copyright B. Williams J/6.834J, Fall 02 Four launches in 7 months Mars Climate Orbiter: 12/11/98 Mars Polar Lander: 1/3/99 Stardust: 2/7/99 QuickSCAT: 6/19/98 courtesy of JPL

Copyright B. Williams J/6.834J, Fall 02 Miscommanded: Mars Climate Orbiter Clementine courtesy of JPL Spacecraft should watch out for their own survival.

Copyright B. Williams J/6.834J, Fall 02 Objective: Support programmers with embedded languages that avoid these mistakes, by reasoning about hidden state automatically. Leading Diagnosis: Legs deployed during descent. Noise spike on leg sensors latched by software monitors. Laser altimeter registers 40m. Begins polling leg monitors to determine touch down. Latched noise spike read as touchdown. Engine shutdown at ~40m. Reactive Model-based Programming Language (RMPL) Mars Polar Lander Failure Programmers often make commonsense mistakes when reasoning about hidden state.

Copyright B. Williams J/6.834J, Fall 02 Traditional spacecraft commanding

What Makes this Difficult: Cassini Case Study courtesy JPL

Reasoning through interactions is complex

Copyright B. Williams J/6.834J, Fall 02 Reconfiguring for a Failed Engine Fuel tank Oxidizer tank

Copyright B. Williams J/6.834J, Fall 02 Reconfiguring for a Failed Engine Open four valves Fuel tank Oxidizer tank

Copyright B. Williams J/6.834J, Fall 02 Reconfiguring for a Failed Engine Valve fails stuck closed Open four valves Fuel tank Oxidizer tank

Copyright B. Williams J/6.834J, Fall 02 Reconfiguring for a Failed Engine Fire backup engine Valve fails stuck closed Open four valves Fuel tank Oxidizer tank

Copyright B. Williams J/6.834J, Fall 02 Challenge: Thinking Through Interactions Programmers must reason through system-wide interactions to generate codes for: command confirmationcommand confirmation goal tracking goal tracking detecting anomalies detecting anomalies isolating faults isolating faults diagnosing causes diagnosing causes hardware reconfig hardware reconfig fault recovery fault recovery safing safing fault avoidance fault avoidance control coordination control coordination Equally problematic at mission operations level

Houston, We have a problem... courtesy of NASA Quintuple fault occurs (three shorts, tank-line and pressure jacket burst, panel flies off). Mattingly works in ground simulator to identify new sequence handling severe power limitations. Mattingly identifies novel reconfiguration, exploiting LEM batteries for power. Swaggert & Lovell follow novel procedure to repair Apollo 13 lithium hydroxide unit. Survival can require replanning the complete mission on the fly.

Copyright B. Williams J/6.834J, Fall 02 Outline Motivation Model-based autonomous systems Remote Agent Example

Copyright B. Williams J/6.834J, Fall 02 Course Objective 2 To understand fundamental methods for creating the major components of intelligent embedded systems. Plan Execute Monitor & Diagnosis

Copyright B. Williams J/6.834J, Fall 02 Programmers generate breadth of functions from commonsense models in light of mission goals. Model-based Programming Program by specifying commonsense, compositional declarative models. Model-based Planning, Execution and Monitoring Provide services that reason through each type of system interaction from models. on the fly reasoning requires significant search & deduction within the reactive control loop. Model-based Autonomy

courtesy of NASA Quintuple fault occurs (three shorts, tank-line and pressure jacket burst, panel flies off). Mattingly works in ground simulator to identify new sequence handling severe power limitations. Mattingly identifies novel reconfiguration, exploiting LEM batteries for power. Swaggert & Lovell work on Apollo 13 emergency rig lithium hydroxide unit. Styles of Thinking Through Interactions

Quintuple fault occurs (three shorts, tank-line and pressure jacket burst, panel flies off). Mattingly works in ground simulator to identify new sequence handling severe power limitations. Mattingly identifies novel reconfiguration, exploiting LEM batteries for power. Swaggert & Lovell work on Apollo 13 emergency rig lithium hydroxide unit. Multiple fault diagnosis of unexperienced failures. Mission planning and scheduling Hardware reconfiguration Scripted execution Styles of Thinking Through Interactions

Copyright B. Williams J/6.834J, Fall 02 Example of a Model-based Agent: Goal-directed First time correct projective reactive Commonsense models Heavily deductive Scripts component models Goals Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent Mission-level actions & resources

Copyright B. Williams J/6.834J, Fall 02 Conventional Wisdom: Reservations about Intelligent Embedded Systems “[For reactive systems] proving theorems is out of the question” [Agre & Chapman 87]

Copyright B. Williams J/6.834J, Fall 02 Many problems aren’t so hard

Copyright B. Williams J/6.834J, Fall 02 Generate Non-conflicting Successor Generate Non-conflicting Successor Candidates with decreasing likelihood or value SAT Generalization of Conflicts Generalization of Conflicts Developed RISC-like, deductive kernel (OPSAT) How can general deduction achieve reactive time scales? Solutions When you have eliminated the impossible, whatever remains, however improbable [costly], must be the truth. - Sherlock Holmes. The Sign of the Four.

Copyright B. Williams J/6.834J, Fall 02 Transition Systems + Constraints + Probabilities Closed Valve Open Stuckopen Stuckclosed OpenClose inflow = outflow = 0 Can model-based agents perform many different types of reasoning from a common model?

Copyright B. Williams J/6.834J, Fall 02 Outline Motivation Model-based autonomous systems Remote Agent Example

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Remote Agent Architecture Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Executive requests plan

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Remote Agent Architecture

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Mission manager establishes goals, planner generates plan

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Executive executes plan

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Diagnosis system monitors and repairs

courtesy JPL Walk Through of Cassini Saturn Orbital Insertion

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Executive Planner/Scheduler Remote Agent RAX_START Plan for Next Time Horizon

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Engine Power

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Off Delta_V(direction=b, magnitude=200) Power Mission Manager Sets Goals over Horizon

Copyright B. Williams J/6.834J, Fall 02 Planner Repeatedly Applies Library of Operational Constraints Thrust Goals Engine Thrust (b, 200) Delta_V(direction=b, magnitude=200) contains

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(b) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power Warm Up meets met_by contained_by equals Planner Repeatedly Applies Library of Operational Constraints

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Off Delta_V(direction=b, magnitude=200) Power Planner Starts

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Delta_V(direction=b, magnitude=200) Power Thrust (b, 200) Off

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Delta_V(direction=b, magnitude=200) Power Thrust (b, 200) Off

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Engine Delta_V(direction=b, magnitude=200) Power Off Thrust (b, 200)

Copyright B. Williams J/6.834J, Fall 02 Point(b) Thrust Goals Attitude Point(a) EngineOff Delta_V(direction=b, magnitude=200) Power Thrust (b, 200) Off

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Point(b) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power Off

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a) Point(b) Engine Thrust (b, 200) Warm Up Off Delta_V(direction=b, magnitude=200) Power

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a)Point(b)Turn(b,a) Engine Thrust (b, 200) Warm Up Off Delta_V(direction=b, magnitude=200) Power

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Point(a)Point(b) Turn(b,a) Engine Thrust (b, 200) Warm Up Off Delta_V(direction=b, magnitude=200) Power

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Turn(a,b) Point(a) Point(b)Turn(b,a) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power Warm Up

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Turn(a,b) Point(a)Point(b)Turn(b,a) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power Warm Up

Copyright B. Williams J/6.834J, Fall 02 Thrust Goals Attitude Turn(a,b) Point(a)Point(b)Turn(b,a) Engine Thrust (b, 200) Off Delta_V(direction=b, magnitude=200) Power Warm Up Plan Completed!

Copyright B. Williams J/6.834J, Fall 02 Plans Allow Temporal Flexibility Through Least Committment       

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager ScriptedExecutive Planner/Scheduler Remote Agent RAX_START The executive dynamically schedules and dispatches tasks

Copyright B. Williams J/6.834J, Fall 02 Executing Temporal Plans [130,170]] [0, 300]   Propagate temporal constraints Select enabled events Terminate preceding activities Run next activities

Copyright B. Williams J/6.834J, Fall 02 Propagating Timing Constraints Can Be Costly EXECUTIVE CONTROLLED SYSTEM

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Propagating Timing Constraints Can Be Costly

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Propagating Timing Constraints Can Be Costly

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Propagating Timing Constraints Can Be Costly

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Propagating Timing Constraints Can Be Costly

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Propagating Timing Constraints Can Be Costly

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Solution: Compile Temporal Constraints to an Efficient Network

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Solution: Compile Temporal Constraints to an Efficient Network

Copyright B. Williams J/6.834J, Fall 02 EXECUTIVE CONTROLLED SYSTEM Solution: Compile Temporal Constraints to an Efficient Network

Copyright B. Williams J/6.834J, Fall 02 Real-Time Execution Flight H/W Fault Monitors Planning Experts (incl. Navigation) Ground System RAX Manager Diagnosis & Repair Mission Manager Scripted Executive Planner/Scheduler Remote Agent RAX_START Execution and Fault Recovery involves monitoring and commanding hidden states

Copyright B. Williams J/6.834J, Fall 02 Programmers and operators must reason through system-wide interactions to generate codes for: Reconfiguring ModesEstimating Modes monitoring monitoring tracking goals tracking goals confirming commands confirming commands detecting anomalies detecting anomalies diagnosing faults diagnosing faults reconfiguring hardwarereconfiguring hardware coordinating control policies coordinating control policies recovering from faults recovering from faults avoiding failures avoiding failures Model-based Execution of Activities

Copyright B. Williams J/6.834J, Fall 02 Model-based Execution as Stochastic Optimal Control Controller Plant mode Estimation mode reconfiguration s’(t)  (t) f f s (t) g g o(t) Model Livingstone Goals

Copyright B. Williams J/6.834J, Fall 02 Closed Open Stuck open Stuck closed Open Close Cost 5 Prob.9 Models modes engage physical processes encoded as finite domain constraints probabilistic automata for dynamics Concurrency to model multiple processes Vlv = closed => Outflow = 0; vlv=open => Outflow = M z + (inflow); vlv=stuck open => Outflow = M z + (inflow); vlv=stuck closed=> Outflow = 0;

Copyright B. Williams J/6.834J, Fall 02 Possible Behaviors Visualized by a Trellis Diagram Assigns a value to each variable. Consistent with all state constraints. A set of concurrent transitions, one per automata. Previous & Next states consistent with source & target of transitions

Copyright B. Williams J/6.834J, Fall 02 Model-based Execution as Stochastic Optimal Control Controller Plant mode Estimation mode reconfiguration s’(t)  (t) f f s (t) g g o(t) Model Livingstone Goals Fire backup engine Valve fails stuck closed least cost reachable goal state First Action Current Belief State

Control Sequencer Deductive Controller System Model Commands Observations Control Program Plant Titan Model-based ExecutiveRMPL Model-based Program State goalsState estimates Control Sequencer: Generates goal states conditioned on state estimates Mode Estimation: Tracks likely States Mode Reconfiguration: Tracks least-cost state goals Executes concurrently Preempts Asserts and queries states Chooses based on reward Fire backup engine Valve fails stuck closed least cost reachable goal state First Action Current Belief State

Copyright B. Williams J/6.834J, Fall 02 Mode Estimation and Diagnosis Observe “no thrust” Find most likely reachable states consistent with observations.

Copyright B. Williams J/6.834J, Fall 02 Mode Reconfiguration and Repair Goal: Achieve Thrust

Copyright B. Williams J/6.834J, Fall 02 Goal: Achieve Thrust Mode Reconfiguration and Repair

Copyright B. Williams J/6.834J, Fall 02 Goal: Achieve Thrust Mode Reconfiguration and Repair

courtesy JPL Ames-JPL NewMaap Demonstration: New Millennium Advanced Autonomy Prototype July - November, 1995

Copyright B. Williams J/6.834J, Fall 02 Remote Agent on Deep Space 1 Started: January 1996 Launch: Fall 1998

Copyright B. Williams J/6.834J, Fall 02 Remote Agent Experiment May 17-18th experiment Generate plan for course correction and thrust Diagnose camera as stuck on –Power constraints violated, abort current plan and replan Perform optical navigation Perform ion propulsion thrust May 21th experiment. Diagnose faulty device and –Repair by issuing reset. Diagnose switch sensor failure. –Determine harmless, and continue plan. Diagnose thruster stuck closed and –Repair by switching to alternate method of thrusting. Back to back planning See rax.arc.nasa.gov

Copyright B. Williams J/6.834J, Fall 02 Beyond: Cooperative Exploration Distributed Planning Group, JPL Model-based Embedded and Robotic Systems Group, MIT

“With autonomy we declare that no sphere is off limits. We will send our spacecraft to search beyond the horizon, accepting that we cannot directly control them, and relying on them to tell the tale.” Bob Rasmussen Architect JPL Mission Data System