# Z1 (computer)

The Z1 was a motor-driven mechanical computer designed by German inventor Konrad Zuse from 1936 to 1937, which he built in his parents' home from 1936 to 1938. It was a binary, electrically driven, mechanical calculator, with limited programmability, reading instructions from punched celluloid film.
The “Z1” was the first freely programmable computer in the world that used Boolean logic and binary floating-point numbers; however, it was unreliable in operation. It was completed in 1938 and financed completely by private funds. This computer was destroyed in the bombardment of Berlin in December 1943, during World War II, together with all construction plans.
The Z1 was the first in a series of computers that Zuse designed. Its original name was "V1" for Versuchsmodell 1 (meaning Experimental Model 1). After WW2, it was renamed "Z1" to differentiate it from the flying bombs designed by Robert Lusser. The Z2 and Z3 were follow-ups based on many of the same ideas as the Z1.

## Design

The Z1 contained almost all the parts of a modern computer, i.e. control unit, memory, micro sequences, floating-point logic, and input-output devices. The Z1 was freely programmable via punched tape and a punched tape reader. There was a clear separation between the punched tape reader, the control unit for supervising the whole machine and the execution of the instructions, the arithmetic unit, and the input and output devices. The input tape unit read perforations in 35-millimeter film.
The Z1 was a 22-bit floating-point value adder and subtractor, with some control logic to make it capable of more complex operations such as multiplication (by repeated additions) and division (by repeated subtractions). The Z1's instruction set had eight instructions and it took between one and twenty-one cycles per instruction.
The Z1 had a 16-word floating point memory, where each word of memory could be read from – and written to – the control unit. The mechanical memory units were unique in their design and were patented by Konrad Zuse in 1936. The machine was only capable of executing instructions while reading from the punched tape reader, so the program itself was not loaded in its entirety into internal memory in advance.
The input and output were in decimal numbers, with a decimal exponent and the units had special machinery for converting these to and from binary numbers. The input and output instructions would be read or written as floating-point numbers. The program tape was a 35 mm film with the instructions encoded in punched holes.

## Construction

   There is a replica of this Model in the Museum of Traffic and Technology in Berlin. Back then it didn't function well, and in that regard the replica is very reliable — it also doesn't work well.
"Z1 was a machine weighing about 1 tonne in weight, which consisted of some 20,000 parts. It was a programmable computer, based on binary floating-point numbers and a binary switching system. It consisted completely of thin metal sheets, which Zuse and his friends produced using a jigsaw." "The [data] input device was a keyboard...The Z1's programs (Zuse called them Rechenpläne, computing plans) were stored on punch tapes using an 8-bit code"
Construction of the Z1 was privately financed. Zuse got money from his parents, his sister Lieselotte, some students of the fraternity AV Motiv (cf. Helmut Schreyer), and Kurt Pannke (a calculating machine manufacturer in Berlin) to do so.
Zuse constructed the Z1 in his parents' apartment; in fact, he was allowed to use the living room for his construction. In 1936, Zuse quit his job in airplane construction to build the Z1.
Zuse is said to have used "thin metal strips" and perhaps "metal cylinders" or glass plates to construct Z1. There were probably no commercial relays in it (though the Z3 is said to have used a few telephone relays). The only electrical unit was an electric motor to give the clock frequency of 1 Hz (cycle per second) to the machine.
'The memory was constructed from thin strips of slotted metal and small pins and proved faster, smaller, and more reliable, than relays. The Z2 used the mechanical memory of the Z1 but used relay-based arithmetic. The Z3 was experimentally built entirely of relays. The Z4 was the first attempt at a commercial computer, reverting to the faster and more economical mechanical slotted metal strip memory, with relay processing, of the Z2, but the war interrupted the Z4 development.'
The Z1 was never very reliable in operation because of poor synchronization caused by internal and external stresses on the mechanical parts.
While various sources make various statements about exactly how Zuse's computers were constructed, a clear understanding is gradually emerging.

## Reconstruction

The original Z1 was destroyed by the Allied air raids in 1943, but in the 1980s Zuse decided to rebuild the machine. The first sketches of the Z1 reconstruction were drawn in 1984. He constructed (with the help of two engineering students) thousands of elements of the Z1 again, and finished rebuilding the device in 1989. This replication has a 64-word memory instead of a 16-word one. The rebuilt Z1 (pictured) is displayed at the German Museum of Technology in Berlin.