TechnologySpacecraft computer

Apollo Guidance Computer

Also known as: AGC

Onboard digital computer that provided guidance, navigation and control for NASA's Apollo command and lunar modules in the 1960s and 1970s.

The Apollo Guidance Computer (AGC) was the digital computer that provided guidance, navigation and control for NASA's Apollo spacecraft. Each crewed lunar mission carried two, one in the command module and one in the lunar module. Astronauts operated it through the DSKY, a display and keyboard unit on which commands were entered as numeric verb and noun codes. The AGC was among the first computers built from integrated circuits, an unusual choice at a time when the technology was young and expensive.

The MIT Instrumentation Laboratory designed the AGC and Raytheon manufactured it. It used 16-bit words, 2,048 words of erasable magnetic core memory and 36,864 words of read-only core rope memory, in which software was physically woven by hand as wires threaded through or around tiny magnetic cores. Its software, developed by a team in which Margaret Hamilton led the onboard flight software effort, ran a priority-based real-time executive. During the Apollo 11 landing in 1969, overload alarms appeared, but the system shed lower-priority work and kept guidance running, and the landing continued.

The AGC showed that a compact digital computer could be trusted with life-critical control in real time, and NASA's large purchases of integrated circuits for Apollo helped expand the early market for semiconductor chips. The rigor of its software development helped shape the discipline of software engineering, a term Hamilton helped popularize. Its source code was later transcribed and published online, and enthusiasts have restored a surviving unit and built simulators, making it a widely studied example of embedded system design and fault tolerance under severe resource limits.

Key points

  • The AGC provided guidance, navigation and control for Apollo command and lunar modules.
  • It was one of the first computers built from integrated circuits.
  • Programs were stored in hand-woven core rope memory that could not be changed in flight.
  • Priority scheduling let it recover from overload alarms during the Apollo 11 lunar landing.

Related entries

Person

American computer scientist who led the team that wrote the on-board flight software for NASA's Apollo missions and helped define software engineering.

Glossary term

Set of electronic circuits fabricated together on a single small piece of semiconductor, combining many transistors and other components in one chip.

Glossary term

Embedded System

HardwareProgramming

Computer system with a dedicated function built into a larger device, often with limited resources and strict timing or reliability requirements.

Technology

ENIAC

HardwareIdeas and Culture

One of the first general-purpose electronic digital computers, built at the University of Pennsylvania and unveiled in 1946.

Glossary term

Ability of a system to continue operating correctly, possibly at reduced capacity, when some of its components fail.

Glossary term

Material whose electrical conductivity lies between that of a conductor and an insulator and can be precisely controlled, forming the basis of electronic chips.

Glossary term

Software

ProgrammingFOSS

Instructions and data that tell a computer or other device how to perform tasks, spanning operating systems, applications and embedded firmware.