ArticleslgStudy

computer science

Apollo Guidance Computer

Apollo Guidance Computer is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apollo Guidance Computer rather than just read about it. In short: The Apollo Guidance Computer (AGC) is a digital computer produced for the Apollo program that was installed on board each Apollo command module (CM) and Apollo Lunar Module (LM). The AGC provided computation and electronic interfaces for guidance, navigation, and control of the spacecraft.

Apollo Guidance Computer — main illustration
Apollo Guidance Computer — illustration

Key takeaways

  • Apollo Guidance Computer belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apollo Guidance Computer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apollo Guidance Computer from memory before moving on to harder problems.

Reference excerpt

The Apollo Guidance Computer (AGC) is a digital computer produced for the Apollo program that was installed on board each Apollo command module (CM) and Apollo Lunar Module (LM). The AGC provided computation and electronic interfaces for guidance, navigation, and control of the spacecraft. The AGC was the first computer based on silicon integrated circuits (ICs). The computer's performance was comparable to the first generation of home computers from the 1970s, such as the Kenbak-1, Apple II, TRS-80, and Commodore PET. At around 1 cubic foot (28 litres) in size, the AGC held 4,100 IC packages. The AGC has a 16-bit word length, with 15 data bits and one parity bit. Most of the software on the AGC is stored in a special read-only memory known as core rope memory, fashioned by weaving wires through and around magnetic cores, though a small amount of read/write core memory is available. Astronauts communicated with the AGC using a numeric display and keyboard called the DSKY (for "display and keyboard", pronounced DISS-kee). The AGC and its DSKY user interface were developed in the early 1960s for the Apollo program by the MIT Instrumentation Laboratory and first flew in 1966. The onboard AGC systems were secondary, as NASA conducted primary navigation with mainframe computers in Houston.

Operation

In the earlier Project Gemini program, the astronauts flew manually with control sticks. In the Apollo program however, the flight was controlled by the computer. The astronauts flew manually briefly during lunar landings. Each Moon flight carried two AGCs, one each in the command module and the Apollo Lunar Module, with the exception of Apollo 7 which was an Earth orbit mission and Apollo 8 which did not need a lunar module for its lunar orbit mission. The AGC in the command module was the center of its guidance, navigation and control (GNC) system. The AGC in the lunar module ran its Apollo PGNCS (primary guidance, navigation and control system), with the acronym pronounced as pings. Each lunar mission had two additional computers:

The Launch Vehicle Digital Computer (LVDC) on the Saturn V booster instrument unit the Abort Guidance System (AGS, pronounced AGZ) of the lunar module, to be used in the event of failure of the LM PGNCS. The AGS could be used to take off from the Moon, and to rendezvous with the command module, but not to land.

Design

The AGC was designed at the MIT Instrumentation Laboratory under Charles Stark Draper, with hardware design led by Eldon C. Hall. Early architectural work came from J. H. Laning Jr., Albert Hopkins, Richard Battin, Ramon Alonso, and Hugh Blair-Smith. The flight hardware was fabricated by Raytheon, whose Herb Thaler was also on the architectural team. According to Kurinec et al., the chips were welded onto the boards rather than soldered as might be expected. Apollo Guidance Computer logic module drawings specify resistance-welding.

Logic hardware Following the use of integrated circuit (IC) chips in the Interplanetary Monitoring Platform (IMP) in 1963, IC technology was later adopted for the AGC. The Apollo flight computer was one of the first computers to use silicon IC chips. While the Block I version used 4,100 ICs, each containing a single three-input NOR gate, the later Block II version (used in the crewed flights) used about 2,800 ICs, mostly dual three-input NOR gates and smaller numbers of expanders and sense amplifiers. The ICs, from Fairchild Semiconductor, were implemented using resistor–transistor logic (RTL) in a flat-pack. They were welded to printed circuit boards, which were interconnected via wire wrap, and the wiring was then embedded in cast epoxy plastic. The use of a single type of IC (the dual NOR3) throughout the AGC avoided problems that plagued another early IC computer design, the Minuteman II guidance computer, which used a mix of diode–transistor logic and diode logic gates. NOR gates are universal logic gates from which any other gate can be made, though at the cost of using more gates.

Memory The Block II computer had 2,048 words of erasable magnetic-core memory and 36,864 words of read-only core rope memory. Both had cycle times of 11.72 microseconds. The memory word length was 16 bits: 15 bits of data and one odd-parity bit. The CPU-internal 16-bit word format was 14 bits of data, one overflow bit, and one sign bit (ones' complement representation).

DSKY interface

The user interface to the AGC was the DSKY, standing for display and keyboard and usually pronounced DISS-kee. It has an array of indicator lights, numeric displays, and a calculator-style keyboard. Commands were entered numerically, as two-digit numbers: Verb and Noun. Verb described the type of action to be performed and Noun specified which data were affected by the action specified by the Verb command. Each digit was displayed via a green (specified as 530 nm) high-voltage electroluminescent seven-segment display; these were driven by electromechanical relays, limiting the update rate. Three five-digit signed numbers could also be displayed in octal or decimal, and were typically used to display vectors such as space craft attitude or a required velocity change (delta-V). Although data was stored internally in metric units, they were displayed as United States customary units. This calculator-style interface was the first of its kind. The command module has two DSKYs connected to its AGC: one located on the main instrument panel and a second located in the lower equipment bay near a sextant used for aligning the inertial guidance platform. The lunar module had a single DSKY for its AGC. A flight director attitude indicator (FDAI), controlled by the AGC, was located above the DSKY on the commander's console and on the LM.

… excerpt ends here. Continue reading the full article.

Illustrations

Apollo Guidance Computer illustration
Apollo Guidance Computer: The display and keyboard (DSKY) interface of the Apollo Guidance Computer mounted on the control panel of the command module, with the flight director attitude indicator (FDAI) above
The display and keyboard (DSKY) interface of the Apollo Guidance Computer mounted on the control panel of the command module, with the flight director attitude indicator (FDAI) above
Apollo Guidance Computer: Partial list of numeric codes for verbs and nouns in the Apollo Guidance Computer, printed for quick reference on a side panel
Partial list of numeric codes for verbs and nouns in the Apollo Guidance Computer, printed for quick reference on a side panel
Apollo Guidance Computer: Photograph of the dual NOR gate chip used to build the Block II Apollo Guidance Computer. Connections (clockwise from top center) ground, inputs (3), output, power, output, inputs (3).
Photograph of the dual NOR gate chip used to build the Block II Apollo Guidance Computer. Connections (clockwise from top center) ground, inputs (3), output, power, output, inputs (3).
Apollo Guidance Computer: AGC dual 3-input NOR gate schematic
AGC dual 3-input NOR gate schematic

Worked examples

Example 1 — a first encounter with Apollo Guidance Computer

Start with the simplest possible case. Write down what Apollo Guidance Computer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apollo Guidance Computer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apollo Guidance Computer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apollo Guidance Computer

In research
Apollo Guidance Computer appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apollo Guidance Computer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apollo Guidance Computer is common in secondary-school and first-year university syllabi. It links to neighbouring topics 16-bit computers, 1975 disestablishments, Apollo program hardware, so understanding it makes those chapters shorter.
In everyday life
Look for Apollo Guidance Computer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apollo Guidance Computer” →

How to study Apollo Guidance Computer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apollo Guidance Computer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apollo Guidance Computer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apollo Guidance Computer in simple terms?

The Apollo Guidance Computer (AGC) is a digital computer produced for the Apollo program that was installed on board each Apollo command module (CM) and Apollo Lunar Module (LM). The AGC provided computation and electronic interfaces for guidance, navigation, and control of the spacecraft.

Why does Apollo Guidance Computer matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apollo Guidance Computer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apollo Guidance Computer.

Tags

  • 16-bit computers
  • 1975 disestablishments
  • Apollo program hardware
  • Computer-related introductions in 1966
  • Guidance computers
  • Massachusetts Institute of Technology
  • Software programmed in assembly language
  • Spacecraft navigation instruments

Keep exploring