Hubbry Logo
Z2 (computer)Z2 (computer)Main
Open search
Z2 (computer)
Community hub
Z2 (computer)
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Z2 (computer)
Z2 (computer)
from Wikipedia

Z2
Drawing of the Zuse Z2
DeveloperKonrad Zuse
TypeElectromechanical (mechanical and relay-based) digital computer
Release date1940; 85 years ago (1940)
CPU600 electrical relay circuits @ ca. 5 Hz
Memory64 words
Removable storagePunch cards
Power1000 watts
Weight300 kg (660 lb)
PredecessorZ1
SuccessorZ3

The Z2 was an electromechanical (mechanical and relay-based) digital computer that was completed by Konrad Zuse in 1940.[1][2][3] It was an improvement on the Z1 Zuse had built in his parents' home, which used the same mechanical memory. In the Z2, he replaced the arithmetic and control logic with 600 electrical relay circuits, weighing over 600 pounds.

The Z2 could read 64 words from punch cards. Photographs and plans for the Z2 were destroyed by the Allied bombing during World War II.[4] In contrast to the Z1, the Z2 used 16-bit fixed-point arithmetic instead of 22-bit floating point.

Zuse presented the Z2 in 1940 to members of the DVL[1][2][3] (today DLR) and member Alfred Teichmann [de], whose support helped fund the successor model Z3.[5]

Specifications

[edit]
Frequency
c. 5 Hz
Arithmetic unit
Fixed point arithmetic unit with 16 bit word length
Average calculation time
0.8 sec for addition operation
Number of relays
600
Memory
64 words (same as Z1)
Power consumption
1000 watts
Weight
300 kg (660 lb)[6]

See also

[edit]

References

[edit]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The Z2 was an electromechanical digital computer completed in 1939 by German engineer , serving as an improved successor to his earlier mechanical Z1 prototype from 1938. It utilized the Z1's mechanical memory system while replacing the purely mechanical logic components with telephone relays for the arithmetic and control units, resulting in greater operational reliability and the ability to perform calculations at speeds of approximately 5 Hz. Built in the living room of Zuse's parents' apartment in using approximately 600 relays, the machine weighed about 300 kg, consumed 1000 watts of power, and supported a 16-bit word length with a memory capacity of 64 words. Development of the Z2 stemmed from the limitations of the Z1, which, despite incorporating core elements of a modern computer such as a and , suffered from mechanical unreliability that hindered consistent performance. Funded initially by Dr. Kurt Pannke, Zuse constructed the Z2 in 1939–1940 as a for technology, shifting from the Z1's 22-bit to a more practical 16-bit fixed-point system to simplify implementation with electrical components. Input and output were handled via decimal numbers, and basic operations like addition took an average of 0.8 seconds, demonstrating the feasibility of electromechanical for complex calculations. The Z2 held significance as a pivotal step in the evolution of digital computers, though it was not fully programmable like its successor, the Z3 of 1941; instead, it functioned primarily as a reliable demonstrator to showcase Zuse's innovations. In September 1940, Zuse presented the Z2 to the Deutsche Versuchsanstalt für Luftfahrt (German Research Institute for Aviation), which impressed officials and secured partial for further development leading to the Z3. Tragically, the original Z2 was destroyed during Allied bombing of Berlin in December 1943, but its relay-based design influenced subsequent machines and underscored Zuse's pioneering role in binary digital computing amid constraints.

Development

Background and precursors

, a German student in during the early , became frustrated with the manual tedium of complex structural calculations required for building construction and aircraft design, motivating him to automate such computations. In 1935, while working at the Henschel aircraft factory after graduating, Zuse quit his job to pursue this vision, sketching initial designs for a binary-based machine that could handle tasks more efficiently than existing mechanical calculators. His goal was to create a device capable of performing repetitive arithmetic operations independently, drawing on concepts like binary representation and floating-point numbers to suit applications. From 1936 to 1938, Zuse developed and constructed the Z1 as a fully mechanical prototype in his parents' , assisted by fellow students Helmut Schreyer and Erich W. Specht. The machine featured over 30,000 moving parts, including thin metal plates, pins, levers, and cams, all driven by a single motor to execute binary logic operations. For memory, it employed a mechanical with vertical pins to store up to 64 binary words (each 22 bits for floating-point numbers), while programs and data were input via punched strips, allowing limited programmability through sequences of instructions. Completed by the end of 1938, the Z1 was tested privately in Zuse's home, demonstrating basic arithmetic but revealing significant practical shortcomings. The Z1's mechanical design proved highly unreliable due to frequent jams and wear in its intricate components, compounded by excessive noise from constant mechanical engagements and extreme slowness, with the system operating at approximately 1 Hz and basic multiplications requiring about 20 seconds. Additionally, its struggled in practice, lacking proper handling for zero values and exceptions in normalized mantissas, which led to errors during extended runs. These limitations prompted Zuse, in , to hybridize the approach for his next prototype, the Z2, by retaining the Z1's mechanical memory for its storage density while replacing the mechanical logic and arithmetic units with telephone relays to enhance speed and operational reliability.

Design innovations

The Z2 represented a pivotal shift in Konrad Zuse's computing designs by adopting binary fixed-point arithmetic with a 16-bit word length, a deliberate simplification from the Z1's more complex 22-bit floating-point system to better accommodate the limitations of relay-based technology. This change prioritized reliability and ease of implementation over precision, allowing the machine to perform integer operations more robustly while reducing mechanical complexity in the arithmetic unit. Central to the Z2's electromechanical architecture was the use of approximately 600–800 telephone relays, sourced from German post offices, for the arithmetic and control logic. These relays replaced the Z1's purely mechanical switches, which had proven unreliable due to wear and slow operation, enabling faster switching speeds of up to several operations per second and marking an early innovation in hybrid computing systems. The Z2 retained the mechanical memory design from the Z1, providing a capacity of 64 words in 16-bit fixed-point format. Programs and were input via perforated strips. This film-based storage, leveraging discarded movie film for its durability and ease of perforation, served as a cost-effective solution amid resource constraints, though it limited compared to emerging electronic alternatives. Input was provided via punched strips for programs, allowing sequential loading of up to 64 instructions directly into the , which facilitated automated execution without manual intervention for each step. This mechanism built on Zuse's earlier punched film concepts but adapted to tape for improved program handling. Overall, the Z2's design aimed to realize a fully functional, program-controlled computer while navigating World War II-era material shortages, eschewing full electronic memory or vacuum tubes—options for which funding was denied—in favor of readily available relays and mechanical components. This pragmatic approach not only validated relay technology for but also laid groundwork for Zuse's subsequent fully relay-based machines.

Construction process

The construction of the Z2 commenced in 1939 within the of Konrad Zuse's parents' apartment in , where space constraints and wartime conditions necessitated a compact assembly area. Due to material shortages and rationing, Zuse relied on scavenged secondhand relays for the electromechanical components, adapting them to replace the purely mechanical elements of the predecessor design. The machine attained a total weight of approximately 300 kg (660 pounds), with the relay circuits comprising a substantial portion of this mass owing to their bulky electromechanical nature. Assembly proved highly labor-intensive, requiring the manual wiring of approximately 600–800 to form the arithmetic and control units—a relay-based design that enhanced reliability over mechanical switches. Zuse undertook this wiring primarily by himself, aided by collaborators such as electrical engineer Helmut Schreyer, who provided technical advice on relay integration. The Z2 reached completion in 1940, followed by initial testing that verified its core functionality, including reliable arithmetic operations at around 5 Hz clock speed. Key challenges encompassed Zuse's self-financing of the project without institutional support, ongoing material rationing that limited component availability, and efforts to muffle the relays' mechanical clicking noise to suit residential living and avoid complaints from neighbors. These obstacles, compounded by the broader disruptions of the war, underscored the resourceful yet precarious nature of the build.

Technical specifications

Overall architecture

The Z2 computer featured a hybrid architecture that combined mechanical memory inherited from its predecessor, the Z1, with a relay-based (CPU) responsible for arithmetic operations and control functions. This design utilized approximately 200 relays for the CPU, while the memory consisted of 64 mechanical storage units capable of holding 16-bit words, enabling reliable sequential processing despite the limitations of purely mechanical systems. The integration of relays addressed the unreliability of mechanical switches in the Z1, marking a transitional step toward fully electromechanical . The system operated in binary using with 16-bit words for instructions and data representation, employing notation to handle negative numbers efficiently within its arithmetic unit. Programs were encoded in these 16-bit instruction words and fed sequentially via input, supporting a limited instruction set focused on basic arithmetic without conditional branching or built-in loops, thereby restricting execution to linear sequences—loops could only be approximated by physically joining the tape ends. This punch tape mechanism served as both program storage and input medium, ensuring deterministic flow from start to end without runtime decisions. It drew power from standard AC mains, consuming around 1000 watts overall, with the relay circuits operating at low voltage (typically 24 volts DC) to minimize wear and ensure stable electromechanical operation. This setup reflected the resource constraints of wartime , prioritizing simplicity and manual assembly.

Memory and storage

The Z2's primary memory consisted of a mechanical storage system capable of holding 64 words, each 16 bits wide, for a total capacity of 1,024 bits. This memory used slotted metal strips arranged in layers, with binary values represented by the vertical positions of pins—raised for a 1 and lowered for a 0—that could be read and written mechanically. Reading occurred via a comb-like structure that scanned the pins, while writing involved actuators to adjust pin positions, all driven by motors at a clock speed of approximately 1 Hz. The memory was used for data storage, while programs were executed sequentially from external . Input to the Z2 relied on a reader using strips, typically discarded movie stock, to provide sequential instructions. The tape featured holes punched in specific positions to encode 16-bit instructions, which were sensed mechanically as the film advanced through the reader. Data input occurred via a panel. This sequential method allowed programs to be prepared externally and fed into the machine without direct manual entry for complex sequences. The Z2 lacked any form of secondary storage, meaning all operational remained transient in the primary mechanical memory and was lost upon power-off or reset. The system's mechanical components, including the pin-based storage and film drive, operated at slow speeds—limited by physical movement and motor constraints—while being susceptible to mechanical , , and misalignment, which often led to operational unreliability and frequent needs.

Arithmetic and control units

The arithmetic unit of the Z2 was a relay-based processor designed for fixed-point operations on 16-bit binary integers, supporting , , and but lacking division capability. This unit replaced the mechanical components of its predecessor, the Z1, with relays to improve reliability during computations. The , also constructed from relays, handled the sequencing of program execution through fetch, decode, and execute cycles, using a form of hardwired control logic akin to to coordinate arithmetic operations and interactions. Together, the arithmetic and control units incorporated approximately 200 relays, which operated at switching speeds of around 200 ms, enabling an average addition time of 0.8 seconds. The Z2's instruction set comprised eight basic commands, identical to that of the Z1 but adapted for : load from , store to , add, subtract, multiply, input via the panel, output results to the display, and halt, without support for jumps or conditional branching. Programs were read sequentially from , limiting the machine to straight-line execution. The system included no built-in error detection or correction mechanisms; mechanical issues, such as sticking or jams in the hybrid electromechanical design, could operations and require manual intervention to resume.

Operation and capabilities

Programming and input methods

Programs for the Z2 were prepared by writing binary instructions manually on paper, followed by punching the corresponding holes onto strips using a simple manual perforator constructed by . This process allowed for the encoding of the machine's limited instruction set, which included basic arithmetic operations without support for conditional branching or subroutines. The input process involved loading the prepared into the machine's mechanical tape reader, which advanced the film using its existing edge perforations and sensed the data holes sequentially to direct program execution. Instructions were read one at a time and fed into the , where they triggered operations in the relay-based arithmetic unit while utilizing the mechanical memory for data storage and retrieval. This sequential reading ensured straightforward program flow but limited flexibility, as the tape could not be rewound or accessed randomly during a run. Output from the Z2 was not facilitated by integrated mechanical printers or displays; instead, results were obtained by manually inspecting the punched film strips in the mechanical or observing indicator lights connected to the registers. These lights provided visual feedback on register contents, allowing operators to verify computations after execution. A typical program flow on the Z2 involved simple arithmetic sequences, such as repeated instructions to approximate a or loop, since the machine lacked dedicated looping constructs and relied on explicit repetition in the . For instance, computing a series of additions required manually encoding each step on the tape beforehand. The user interface of the Z2 consisted solely of the mechanism and mechanical setup components, with no keyboard or direct entry device; all programs and initial data had to be pre-perforated and loaded prior to operation, emphasizing the machine's batch-processing nature. This setup demanded careful preparation and physical handling of the film, reflecting the experimental constraints of early electromechanical .

Performance characteristics

The Z2's computational speed was limited by its electromechanical design, with an average time of 0.8 seconds required for a basic operation. This equated to approximately 1 or subtraction per second, while multiplications took approximately 3 seconds due to the sequential nature of relay-based arithmetic. The machine operated at a clock of about 5 Hz, reflecting the inherent slowness of actuation compared to later electronic systems. Reliability remained a significant challenge, as the Z2 retained the Z1's mechanical memory system—consisting of perforated strips driven by electric motors—which was prone to jamming and misalignment during operation. The arithmetic and control units, built with around 200 second-hand electromagnetic relays, further contributed to instability. In one key demonstration at the German Research Institute for Aviation in 1940, the machine functioned successfully. Power consumption stood at approximately 1 kW, largely attributable to the electric motors powering the mechanical memory strips and the in the logic circuits. In comparison to its predecessor, the Z1, the Z2 was notably faster, achieving additions in about 0.8 seconds versus the Z1's roughly 5 seconds per operation, thanks to the -based arithmetic unit. However, it lagged behind contemporary analog calculators, such as differential analyzers, which could perform specific continuous computations more rapidly without the discrete delays.

Demonstrations and testing

The Z2 underwent initial private testing in 1940 within Konrad Zuse's parents' apartment in , where it was constructed, focusing on verifying basic arithmetic operations through sample programs. These tests confirmed the machine's ability to perform reliable fixed-point calculations, such as summing numerical series, using its relay-based arithmetic unit combined with mechanical . Despite the successful verification of core functions, the mechanical components occasionally caused jams, limiting consistent operation. A key demonstration occurred in September 1940, when Zuse presented the Z2 to a small group of engineers from the Deutsche Versuchsanstalt für Luftfahrt (DVL) at their facility in Berlin-Adlershof. The presentation showcased programmed computations, including simple tasks like basic multiplications and additions, which ran successfully and impressed the audience. This event highlighted the Z2's potential as the first relay-based digital computer for logic and arithmetic, though the mechanical memory retained some unreliability from its Z1 predecessor. Due to , the Z2's operations remained highly secretive, with limited visibility beyond the DVL group and no public announcements or publications at the time. The machine and its documentation were ultimately destroyed in Allied bombing raids on , preventing further immediate use or dissemination of results until postwar reconstructions. Overall, the tests established the Z2 as a functional but underscored mechanical issues that hindered full reliability, paving the way for relay-only designs in subsequent machines.

Historical significance

Role in early computing

The Z2 represented a pioneering milestone in the development of program-controlled digital computers by introducing electromagnetic relays for arithmetic and control logic, marking the first such implementation in a functional electromechanical machine. Completed by Konrad Zuse in 1939–1940, it predated similar relay-based efforts like the Harvard Mark I, which was not operational until 1944, and demonstrated the viability of relay technology for automated computation beyond purely mechanical designs. In the context of binary digital computing, the Z2 exemplified the feasibility of electromechanical automation during a period of technological isolation in Nazi Germany, where Zuse worked independently in his parents' apartment amid limited access to international advancements. Funded initially by a private supporter and later partially by a German aviation research institute, its construction highlighted resource ingenuity under wartime constraints, including interruptions from Zuse's brief military service. This effort contrasted sharply with contemporaneous Allied projects, such as the Colossus, an electronic special-purpose machine developed from 1943 for codebreaking under abundant state resources. The Z2 influenced early paradigms as an antecedent to the stored-program concept, employing punched film strips for sequential program input that allowed conditional branching and looping, though constrained by external loading rather than internal storage. Post-1945, Zuse himself recognized the Z2 as a crucial intermediate step toward general-purpose , bridging his mechanical Z1 and the fully relay-based Z3, and contributing to his broader legacy as a foundational figure in programmable machines despite wartime destruction of prototypes.

Relation to Zuse's other machines

The Z2 represented a direct evolution from Konrad Zuse's Z1, which was a fully mechanical binary computer completed in 1938 but plagued by reliability issues due to its moving parts. To address the Z1's slow speed and frequent mechanical failures, Zuse redesigned the arithmetic and control units of the Z2 using approximately 200 telephone relays while retaining the Z1's mechanical memory of 64 words, creating a hybrid electromechanical system that improved operational reliability without fully eliminating memory limitations. Building on the Z2's successful demonstration of relay-based processing in 1939, Zuse developed the Z3 in 1941 as the first fully relay-operated computer, incorporating 2,400 relays for both arithmetic and memory functions, along with true programmability via punched film and floating-point arithmetic—a key upgrade from the Z2's fixed-point operations. This progression marked Zuse's shift toward more versatile computing, with the Z2's hybrid design validating the scalability of relays for complex calculations. The Z3's principles directly informed the Z4, completed in 1945 as a more robust, portable relay machine with expanded 1,024-word mechanical memory and conditional branching; the Z4 was relocated to Switzerland during World War II to avoid destruction and became Zuse's first commercially viable computer when installed at ETH Zurich in 1950. As the second machine in Zuse's foundational series—following the Z1 and preceding the Z3, Z4, and Z5—the Z2 solidified the transition from purely mechanical designs to electromechanical ones, laying groundwork for Zuse's later aspirations in electronic computing. The Z5, built in 1953 as a relay-based successor to the Z4, achieved six times the speed with around 2,500 relays and 36-bit floating-point words, serving commercial applications like lens calculations at Leitz AG until 1958, though Zuse's series ultimately persisted with relays due to the unreliability of vacuum tubes at the time.

Legacy and preservation

The original Z2 computer was destroyed during an Allied bombing raid on Berlin in late 1943, along with all photographs and construction plans of the machine, leaving no surviving physical artifacts. Preservation efforts for the Z2 have centered on archival materials and digital recreations due to the complete loss of the original. The Internet Archive at the Zuse Institute (ZIB) maintains digitized documents from 's private papers, including blueprints and technical descriptions derived from his early designs for machines like the Z2. Virtual emulators and simulations of Zuse's early computers, capturing the electromechanical principles of the Z2, have been accessible online through the archive since the early 2000s. Although no dedicated physical reconstruction of the Z2 exists, Horst Zuse, son of , constructed functional replicas of his father's early machines using original plans during the and 1990s, with demonstrations at institutions such as the Deutsches Technik-Museum in . These efforts highlight the Z2's role in the evolution of -based computing. The Z2 holds cultural significance as a foundational electromechanical computer in historical accounts of digital technology. It is prominently featured in computing texts for bridging mechanical and relay architectures. In 1995, the German Patent and Trade Mark Office (DPMA) honored as one of Germany's most influential 20th-century inventors, recognizing his innovations including the Z2 as milestones in technological development. In modern scholarship, the Z2 informs research on early German contributions, emphasizing independent European advancements during and providing a counterpoint to Anglo-American dominance in standard narratives.

References

Add your contribution
Related Hubs
User Avatar
No comments yet.