A Think Again Media Group publication
Bot Stumper

A spacecraft experiment met an unplanned interruption

Remote Agent and the spacecraft that generated its own plans

By Phil Springer, Editor · Published · Bot Stumper

Remote Agent and the spacecraft that generated its own plans

Remote Agent was one of the technologies carried by NASA's Deep Space 1, launched from Cape Canaveral on October 24, 1998. NASA described the mission as an engineering test flight for 12 technologies. Its inventory listed autonomous navigation software and the Remote Agent experiment as distinct technologies. The spacecraft also carried an ion propulsion system. The mission supplied a flying laboratory in which new equipment and software could be evaluated during operations beyond Earth.

The experiment's technical team reported that the artificial intelligence software was validated in flight between May 17 and May 21, 1999. It generated plans aboard the spacecraft and issued commands through the underlying flight software. Ground operators supplied high-level goals. The onboard system worked out activities and timing that could satisfy them, including ion-engine thrusting and the acquisition of navigation images. Its responsibilities extended to responses to deliberately simulated equipment faults.

Remote Agent brought together three components. A planner and scheduler generated coordinated activities. An executive expanded those activities into commands and monitored their execution. A mode-identification and recovery system, known as Livingstone, inferred equipment states and proposed responses when observations indicated a fault. The flight validation report distinguished faults that permitted the current plan to continue from more serious cases that required a replacement plan for the remaining goals.

The operational design had developed through collaboration with ground controllers. In Mission Operations with an Autonomous Agent, Barney Pell and his coauthors described changes from an early prototype focused on extensive automation. The broader architecture supported a shared, long-range mission profile, updates from the ground and monitoring at different levels of detail. The authors explicitly distinguished this full architecture from the subset implemented for the Deep Space 1 flight experiment. Their description placed commanding within scheduled Deep Space Network contacts, during which sequences went to the spacecraft and telemetry returned to scientists and engineers on Earth.

Within that architecture, mission goals occupied a temporal database called the mission profile. Parallel timelines represented requirements such as spacecraft pointing, navigation opportunities and particular activities. The design also accommodated varying degrees of autonomy. Some modes involved plans generated onboard, while other modes involved uploaded scripts executed by the executive. The authors described ways for ground operators to supply revised knowledge and goals while coordinating their work with activities already in progress on the spacecraft.

The Research Institute for Advanced Computer Science's report for October 1998 through September 1999 recorded the preparation for flight. Development moved through a succession of computing environments and testbeds that increasingly resembled the spacecraft. The report named a Sun/Solaris development system, a PowerPC/VxWorks system called Babybed, a flight-software testbed called Papabed and the project testbed HotBench. Operations-readiness tests accompanied the transition. This was an extended process of adapting and testing research software for its flight setting.

That institutional record also described ground tools built to observe Remote Agent. Stanley displayed spacecraft states inferred by Livingstone from telemetry. A second tool represented the progress of the onboard planner graphically. These displays let the project team follow decisions that were being made away from Earth. The annual report recorded completion of the validation criteria and selection of the system as one of two recipients of NASA's 1999 Software of the Year award.

The flight also exposed a software fault separate from the simulated equipment failures. Charles Pecheur's 2000 technical memorandum, Verification and Validation of Autonomy Software at NASA, described a deadlock in the executive. Two concurrent software threads reached a timing combination that had not appeared during the extensive ground tests. Their interaction halted progress. Pecheur used the incident to illustrate how the order in which concurrent activities ran could change a program's behavior even when a test scenario had succeeded previously.

Pecheur also reported a subsequent investigation by NASA's automated-software-engineering researchers. Separate groups examined suspect code and modeled its concurrent behavior. A small Java model reproduced the problem, and the Spin verification system identified the deadlock. The pattern matched a type of fault found in another part of the executive two years earlier. Pecheur recorded that the Java model took three hours to produce and occupied two pages. The earlier investigation had identified five concurrency bugs in the executive subsystem it examined. The memorandum treated the incident as evidence about the limits of conventional testing and the difficulty of constructing useful models of complex software.

NASA's separate mission history recorded successful tests of all 12 Deep Space 1 technologies and the end of its primary mission on September 18, 1999. The spacecraft had also passed asteroid Braille on July 29, 1999. Its account placed the autonomy demonstration within that technology-testing mission, before the spacecraft's extended encounter with comet Borrelly in 2001.

The Question

Where did Remote Agent generate spacecraft plans during its May 1999 flight experiment?

Show the answer

The Answer

Aboard Deep Space 1. The flight experiment validated onboard planning, execution and fault response, with ground operators supplying mission goals.

Send this question to a friend

Read next

By clicking “Send me a stumper” you agree to Bot Stumper’s Terms of Use and Privacy Policy.