< Return to Video

NASA’s first software engineer: Margaret Hamilton - Matt Porter and Margaret Hamilton

  • Not Synced
    At roughly 4pm on July 20, 1969,
  • Not Synced
    mankind was just minutes away from
    landing on the surface of the moon.
  • Not Synced
    But before the astronauts began
    their final descent,
  • Not Synced
    an emergency alarm lit up.
  • Not Synced
    Something was overloading the
    computer,
  • Not Synced
    and threatened to abort the landing.
  • Not Synced
    Back on Earth, Margaret Hamilton held
    her breath.
  • Not Synced
    She'd led the team developing the
    pioneering in-flight software,
  • Not Synced
    so she knew this mission had no
    room for error.
  • Not Synced
    But the nature of this last-second
    emergency
  • Not Synced
    would soon prove her software
    was working exactly as planned.
  • Not Synced
    Born 33 years earlier in Paoli, Indiana,
    Hamilton had always been inquisitive.
  • Not Synced
    In college, she studied mathematics
    and philosophy,
  • Not Synced
    before taking a research position at the
    Massachusetts Institute of Technology
  • Not Synced
    to pay for grad school.
  • Not Synced
    Here, she encountered her first computer
    while developing software
  • Not Synced
    to support research into the new
    field of chaos theory.
  • Not Synced
    Next at MIT's Lincoln Laboratory,
  • Not Synced
    Hamilton developed software for
    America’s first air defense system
  • Not Synced
    to search for enemy aircraft.
  • Not Synced
    But when she heard that renowned
    engineer Charles Draper
  • Not Synced
    was looking for help sending mankind
    to the moon,
  • Not Synced
    she immediately joined his team.
  • Not Synced
    NASA looked to Draper and his group of
    over 400 engineers
  • Not Synced
    to invent the first compact digital flight
    computer, the Apollo Guidance Computer.
  • Not Synced
    Using input from astronauts, this device
    would be responsible for guiding,
  • Not Synced
    navigating and controlling the spacecraft.
  • Not Synced
    At a time when unreliable computers
    filled entire rooms,
  • Not Synced
    the AGC needed to operate without
    any errors,
  • Not Synced
    and fit in one cubic foot of space.
  • Not Synced
    Draper divided the lab into two teams,
  • Not Synced
    one for designing hardware and one
    for developing software.
  • Not Synced
    Hamilton led the team that built the
    on-board flight software
  • Not Synced
    for both the Command and Lunar Modules.
  • Not Synced
    This work, for which she coined the term
    “software engineering,"
  • Not Synced
    was incredibly high stakes.
  • Not Synced
    Human lives were on the line,
    so every program had to be perfect.
  • Not Synced
    Margaret’s software needed to quickly
    detect unexpected errors
  • Not Synced
    and recover from them in real time.
  • Not Synced
    But this kind of adaptable program was
    difficult to build,
  • Not Synced
    since early software could only process
    jobs in a predetermined order.
  • Not Synced
    To solve this problem, Margaret designed
    her program to be “asynchronous,”
  • Not Synced
    meaning the software's more important
    jobs would interrupt less important ones.
  • Not Synced
    Her team assigned every task a unique
    priority
  • Not Synced
    to ensure that each job occurred in the
    correct order and at the right time–
  • Not Synced
    regardless of any surprises.
  • Not Synced
    After this breakthrough,
  • Not Synced
    Margaret realized her software could help
    the astronauts work
  • Not Synced
    in an asynchronous environment as well.
  • Not Synced
    She designed Priority Displays
  • Not Synced
    that would interrupt astronaut’s
    regularly scheduled tasks
  • Not Synced
    to warn them of emergencies.
  • Not Synced
    The astronaut could then communicate
    with Mission Control
  • Not Synced
    to determine the best path forward.
  • Not Synced
    This marked the first time flight software
    communicated directly―
  • Not Synced
    and asynchronously―with a pilot.
  • Not Synced
    It was these fail safes that triggered the
    alarms just before the lunar landing.
  • Not Synced
    Buzz Aldrin quickly realized his mistake–
  • Not Synced
    he’d inadvertently flipped the
    rendezvous radar switch.
  • Not Synced
    This radar would be essential on their
    journey home,
  • Not Synced
    but here it was using up vital
    computational resources.
  • Not Synced
    Fortunately, the Apollo Guidance Computer
    was well equipped to manage this.
  • Not Synced
    During the overload, the software
    restart programs
  • Not Synced
    allowed only the highest priority jobs
    to be processed––
  • Not Synced
    including the programs
    necessary for landing.
  • Not Synced
    The Priority Displays gave the
    astronauts a choice––
  • Not Synced
    to land or not to land.
  • Not Synced
    With minutes to spare, mission
    control gave the order.
  • Not Synced
    The Apollo 11 landing was about the
    astronauts, mission control,
  • Not Synced
    software and hardware all working together
    as an integrated system of systems.
  • Not Synced
    Hamilton’s contributions were essential
    to the work of engineers and scientists
  • Not Synced
    inspired by President John F.
    Kennedy’s goal to reach the Moon.
  • Not Synced
    And her life-saving work went far
    beyond Apollo 11––
  • Not Synced
    no bugs were ever found in the in-flight
    software for any crewed Apollo missions.
  • Not Synced
    After her work on Apollo,
  • Not Synced
    Hamilton founded a company that uses
    its unique universal systems language
  • Not Synced
    to create breakthroughs for systems
    and software.
  • Not Synced
    In 2003, NASA honored her achievements
    with the largest financial award
  • Not Synced
    they’d ever given to an individual.
  • Not Synced
    And forty-seven years after her software
    first guided astronauts to the moon,
  • Not Synced
    Hamilton was awarded the presidential
    Medal of Freedom
  • Not Synced
    for changing the way we think
    about technology.
Title:
NASA’s first software engineer: Margaret Hamilton - Matt Porter and Margaret Hamilton
Speaker:
Matt Porter and Margaret Hamilton
Description:

more » « less
Video Language:
English
Team:
closed TED
Project:
TED-Ed
Duration:
04:49

English subtitles

Revisions Compare revisions