Z3 relay computer: automatic arithmetic before electronic switching
The Z3 relay computer completed by Konrad Zuse in 1941 performed automatic calculations with electromechanical relays. Its arithmetic unit and its memory both used that technology. The computer handled binary numbers, and its instructions came from perforated film tape. The Computer History Museum's 1941 timeline identifies a 22-bit word length and binary floating-point arithmetic, placing those numerical features alongside the machine's relay construction.
Zuse's interest in automatic calculation grew from engineering work. The MacTutor biography describes long calculations during his civil-engineering studies at the Technische Hochschule in Berlin-Charlottenburg. After graduation, his work at the Henschel Aircraft Company involved stress analysis and the vibrations of aircraft wings. That background supplied a sustained demand for numerical calculation. His first attempt at a computing machine took shape in his parents' living room.
Military service interrupted the development program. MacTutor records that Zuse was called into the infantry while planning the Z2, then obtained permission to return to computing work. The Aerodynamic Research Institute provided funding. The biography also records a rejected proposal for a computer using electronic valves.
The earlier Z1 used mechanical switching elements. Raúl Rojas's study, based on reconstruction drawings, notebooks, and correspondence, describes a binary machine built between 1936 and 1938. Small moving rods or metal plates represented binary states. It used floating-point numbers and read arithmetic, memory, and input-output instructions from punched tape. The use of binary arithmetic and an external sequence of instructions therefore preceded the Z3's change to relay components. Rojas records 16 words in the Z1's memory and a machine cycle of approximately 4 hertz.
The machines did not simply share identical internal mechanisms. Rojas describes the Z1's arithmetic as a sequence of microinstructions selected through mechanical layers and a digital counter. His comparison identifies rotary switches as micro-steppers in the Z3. He also distinguishes the Z3's treatment of a zero mantissa, an exception needed for normalized floating-point arithmetic, from the corresponding omission in the earlier mechanical machine. The development involved changes in arithmetic control as well as a different kind of switch. His analysis traces separate controls for the exponent and mantissa units and the memory blocks. In the Z1, microinstructions selected among 12 mechanical layers.
MacTutor describes the intermediate Z2 as combining the existing mechanical memory with an arithmetic unit made from electromechanical relays. The Z3 relay computer extended relay construction into memory as well. The biography identifies approximately 2,600 relays and describes applications involving simultaneous equations and aircraft vibration. The exact switch count varies among historical summaries: the Computer History Museum's timeline lists 2,300. Both accounts identify relay hardware, rather than vacuum tubes.
The published specifications distinguish working data from the program. The Z3 had memory for 64 words of 22 bits each, while punched celluloid tape carried its instructions. Decimal floating-point numbers entered and left through a terminal with a special input keyboard and lamps for the result. The listed arithmetic operations included addition, subtraction, multiplication, division, and square root. Its numerical storage was therefore a separate component from the medium holding the instruction sequence.
Those specifications give an average addition time of about 0.8 seconds and multiplication time of about 3 seconds. The machine also lacked conditional branching. Its automatic execution of a sequence did not include the ordinary ability to choose a different path according to an intermediate result. The combination of external program tape, limited data storage, and a defined arithmetic repertoire describes the particular machine completed in 1941.
The original Z3 was lost in an air raid on Berlin in December 1943. Rojas explains that few people had seen it working. A patent application filed on June 16, 1941 described binary arithmetic, memory, and control for executing a program. The later patent examination became one reason to reconstruct the machine in functioning hardware.
Rojas dates the first Zuse KG reconstruction to 1962 and records its transfer to the Deutsches Museum in Munich in May 1968. It used smaller, newer relays. The original had two memory cabinets, whereas this reconstruction had one. Its circuit diagrams and construction documents survived in much greater detail than those of the lost original.
A further reconstruction in Berlin demonstrated another approach to preserving the Z3 relay computer. Rojas records its public presentation on May 11, 2001. Relays implemented the memory and arithmetic, while modern components controlled the arithmetic algorithms and a connected computer replaced the historical console and simulated the program tape. The reconstruction exposed data paths with lights. Its combination of old and new components served a demonstration purpose, separate from an exact material reproduction of the 1941 apparatus.
- J. J. O'Connor and E. F. Robertson, Konrad Zuse, MacTutor History of Mathematics — mathshistory.st-andrews.ac.uk
- Computer History Museum, 1941 timeline: Konrad Zuse finishes the Z3 Computer — www.computerhistory.org
- Raúl Rojas, The Z1: Architecture and Algorithms of Konrad Zuse's First Computer, arXiv 1406.1886 — arxiv.org
- Raúl Rojas, The Reconstructions of Konrad Zuse's Z3 Computer, arXiv 2607.13089 — arxiv.org
- Wikipedia, Z3 (computer): specifications and instruction sequence — en.wikipedia.org