top of page

Search this site

18 results found with an empty search

  • Relay-lab | Vintage Relay Computers

    Relay Dynamics Measurements A relay's operate speed determines how quickly a relay-based calculator or computer can compute and switch logic, so understanding relay behavior is essential. Here I share the lab tests used to choose the R30's relays. A few were selected from among many relays to optimize the machine's performance. Included are oscilloscope photos of the key relay operating parameters. Figure 1 shows five relays from an early telephone exchange, part of my collection of relays from which I chose 30 for the R30's. Fig 1, E-type relays, Panel Exchange, ~1925 build (author’s collection) There are three primary parameters of interest: Contact operating and release times Inductive kickback voltage and its reduction Contact bouncing on open and close All three metrics are involved in setting the relay’s max operations/second (ops/sec) rate. The goal was to select relays that could work dependably at 25 ops/sec then run them at 15 ops/sec to reduce wear and prolong their lifetime. I made measurements of these metrics on many telephone relays. These were mostly designed at Bell Labs (BL) and manufactured by Western Electric (WE). The E-type was patented in 1915 (WE) by Edward Craft and the U-type in 1938 (BL). Most WE relays used a nominal voltage of 48 VDC and a coil current of 30-60 ma is common. Modern relays often offer better specifications, so the measurements in this section should be treated as practical guidance rather than state-of-the-art benchmarks . Even so, the principles discussed below apply to all relays. Relays from the same family (all E type, all U type,..) share many similar characteristics. However, there are variations among type based on the contact “pile up”, operating current, and operate/release times. A measurement circuit was built to interface 48VDC, an adjustable pulse generator, the relay under test and the scope. The pulse generator drove the relay coil via a high-speed mercury whetted relay for isolation. See Figure 2. In the oscilloscope images that follow, the yellow trace shows the coil state and the green trace shows a contact's on/off state. The exact Y-axis voltage levels are not always needed for understanding. In most cases, Vhigh and Vlow correspond to the coil being on or off. If you are new to relays, see the explainer article on this site. Next, let’s look at each of these parameters starting with contact switching speed. Fig 2, Author’s lab setup for testing relay operational parameters The short video below shows a U1149 relay wired for a speed test (real time and slomo) Operate and release times When voltage is applied to a relay’s coil it takes time for the magnetic field to build and likewise to decay when the voltage is removed. This delay is due to the inductance of the relay’s coil. Many U-type relays have an inductance of 3-5 Henrys. Here NO is normally open and NC is normally closed. In Figure 3, the lower curve is the coil's magnetic field. It takes some milliseconds to climb high enough to close (pull-in) the NO contacts, and after the voltage is removed it takes a similar time to fall low enough for them to open (drop-out). Some relays are designed for quick pull-in and others for slow drop-out depending on circuit needs. Of course, the same reasoning applies for contacts that are NC at rest. Western Electric manufactured about 6,400 different relay versions in 1955 (Calling315.com ). Fig 3, Relay operate and release time delays for NO contact Figure 4 shows a scope image of an operating U184 WE relay. The relay follows a 25 ops/sec pulse train (40 ms period). Fig 4, U184 relay, yellow is the coil drive signal, green is NO contact response The operate time is measured from when the coil voltage is applied until contact closure. The contact for this test is a NO type. In Fig 4, the close time (Ton) is ~15 ms measured from the rising edge of coil drive to first edge of contact close (voltage rise). There is some apparent rising edge jitters, to be covered later. The contact opening time (Toff) is ~7 ms measured from the falling edge of the coil drive signal. This test has a “flyback diode” connected across the coil. Contact pull-in and drop-out delay times will change slightly for the same relay based on ops/sec rate due to the residual magnetism in the coil at high operate rates. Modern performance-based Mercury Whetted relays can operate comfortably at 200 ops/sec if speed is the aim. So, it’s possible to build a 1-bit adder at ~200 adds/sec although I have not yet seen a working model. With careful relay selection and excellent design a 32-bit relay adder may reach ~300 adds/sec. 2. Managing inductive kickback Current flowing through a relay coil creates a magnetic field that stores energy. See Figure 5. The moment the applied relay current is cut off, the collapsing magnetic field tries to keep current flowing in the same direction. To do this, the coil flips its voltage polarity creating a sharp high-voltage transient. Appendix A examines this in more detail. Fig 5, The Back EMF spike is seen on relay release In the diagram, there is an optional standard diode (like a 1N4002) across the coil. The orange trace is what happens without the diode: the current stops almost instantly, so the voltage shoots very negative, up to hundreds of volts! The green dashed trace is with a flyback diode: the current fades away gradually, and the coil voltage stays clamped at nearly zero (-.7V). That slower fade has a cost: the relay releases later because the current decays more slowly. Note that the diode is connected across the coil so it only conducts (note polarity) when the current is cut off and the coil voltage reverses. Without the diode protection, the large voltage spike could easily cause arcing contacts and damage connected components. For more on spiking, arcing and relay life-time see the article on relay reliability . Figure 6 shows a measurement of a E6458 relay coil voltage. There is no diode! In the center of the screen the coil supply voltage (yellow) goes “open circuit” and falls. The coil voltage immediately spikes 286 V from about +46 VDC to -240 VDC. The contacts open (green trace) in only Toff = 5.75 ms from supply removal. The larger the inductive spike the faster the coil current decays. Fig 6, Measured Back EMF spike (yellow) on the relay release – 2.0 ms/div The R30’s relays interface with a low voltage microcontroller (via driver transistors) so I needed to limit the spike voltage to prevent component damage and at the same time not increase relay operation speed. Next, I tested with a common 1N4002 diode across the coil of the same E6458 relay. Figure 7 shows this case. This causes the coil voltage to go from about +48 to only -.7 volts (diode drop) when the supply current stops. The coil current diminishes more slowly than a non-protected coil. Note that the contact release time is Toff = ~20 ms (yellow to green falling edges), almost 4 times slower than without any protection diode. Good to reduce spiking but bad for speed.

  • adder-synthesis | Vintage Relay Computers

    Binary Adders – Let Me Count the Ways Abstract: The 1-bit adder is a fundamental component of every calculator, computer and AI compute engine. The article Examples of Relay-based Adders presented eight examples of 1-bit full binary adders. The variety raises two questions: are there systematic methods for generating adder circuits and can a catalog of all possible designs be constructed? This section explores those questions, traces the influence of early relay designs on modern transistor-based adders, and addresses a gap in the limited literature on relay-adder synthesis. Introduction to logic design synthesis To frame the “how many adders” problem, let’s turn to the basic logic diagram that defines the 1-bit full adder. Other forms can always be reduced to this version. Fig 1, Combining 2 half-adders to make a full adder Konrad Zuse invented a 5-relay adder (based on Fig 1) for his Z3 computer (1941) and he thought [1] this was the minimum number of relays needed. Years later he designed a 2-relay method for his 1961 replica version. Konrad would have benefited from logic synthesis tools to eliminate the guess work but very little existed at the time. Claude Shannon’s master’s thesis [2] revolutionized logic circuit design, replacing trial-and-error design with a systematic, mathematically solvable discipline . This single breakthrough laid the foundation for modern computing, enabling the evolution of everything from basic logic functions to advanced microprocessors. So, how do Shannon’s ideas help us implement Fig 1 in relays? Let’s break down the answer in two parts. 1. What logical relationships describe the Sum term in Fig 1? Sum = A⊕B⊕Cin This can be seen from Fig 1 where ⊕ is the XOR symbol. Another way to state this is: Sum = True when exactly 1 or 3 inputs are asserted. This is 3-Input odd parity rule . Sum = S₁,₃ (A, B, Cin) Using Claude Shannon’s symmetric function terminology for odd parity of the 3 inputs. 2. What logical relationships describe the Carry_out term in Fig 1? Cout = True when 2 or 3 inputs are asserted. Cout = S₂,₃(A, B, Cin) This is the Shannon 2-out-of-3 majority rule These two basic relationships describe the operation of Figure 1. Below are four (there are more) common symmetric functions. These are perfect for relay designs because they naturally implement counting, branching, and selection. Parity (odd/even number of 1s) Majority (at least half are 1) Threshold (≥ k inputs are 1) Equality (all inputs same) A Boolean function F (X1, X2, X3, …Xn) is symmetric if and only if its truth value depends solely on the total count of the Xn input variables that are TRUE (1), rather than on which specific variables are TRUE. Shannon’s ideas opened the floodgates for new possibilities of design. His work influenced generations of mathematicians and engineers working on logic designs, starting at Bell Labs (AT&T). Say goodbye to trial and error and hello to design by synthesis. Relay Design Synthesis Methods In the context of relay‑based logic design, two classical synthesis families dominate. These tools can help with any logic problem but the focus here are designs for 1-bit full adders. Aside from these two methods, others are discussed later. A pure Shannon Contact Tree is a brute-force binary decoder: Relay A selects a branch, Relay B selects sub-branches, and Relay C selects the final leaves. This is a 1-to-8 decoding tree where leaves are tied to form the desired truth table outputs. A Two-Dimensional Switching Lattice (folded and unfolded) exploits the mathematical symmetry of the truth tables by folding intermediate nodes together before reaching the output terminals. Let’s look at two examples, one for each method. The Shannon Contact Tree Figure 2 shows a three-input Shannon Contact Tree for a 3-relay 1-bit full adder. The tree shape is obvious and parsing the design is straightforward. The relay forms are not shown but their contacts are. Fig 2, Shannon Contact Tree (binary decision tree) for 3-relay adder All eight combinations (000 to 111) of the 3 inputs (A, B, Cin) are mapped across the tree. In total there are 6 form-C contacts (SPDT) and 2 simple normally open (NO) contacts. For this circuit a logic 1 = +V and a logic 0 = float (open). What’s impressive about this circuit is its simplicity. This is truly a turn-the-crank method to design a binary adder. Next, let’s use another Shannon method to develop a full adder. Two‑Dimensional Switching Lattice (Shannon) Shannon’s MIT paper is challenging to understand. His nomenclature was new and no surprise since he was breaking new ground. Figure 3 is Fig 24 from his paper and shows a diamond or lattice diagram. Let’s crack the code with an example. The logic function (truth table) of the diagram is not explained here only how to read the diagram. Fig 3, Lattice diagram from Shannon’s paper To decipher this, there are 3 relays X1, X2 and X3. Input ‘a’ is routed to output ‘b’ based on the desired truth table. X1 has 2 contacts and the diagonal one, X1, is normally open (NO) while the horizontal one, X1’ is normally closed (NC). X2 has 4 contacts and X3 has 6 contacts. Shannon's convention uses the word "hinderance" to describe a contact state. See Endnote A for more on this and how to understand Fig 4 as it deviates somewhat from Shannon's original work. Shannon gave an example (Fig 4) of how to design a 1-bit full adder using the lattice method. Fig 4, Shannon’s Fig 37, 3-relay lattice adder with annotations The figure (bottom) shows two symmetric functions, one for the Sum and one for Cout. The lattice diagram shows 3 relays (a, b, c) and 2 output register relays (external to adder) to record the Sum and Cout values. The index ‘j’ makes the adder generic but for our case j= 1 (or blank). Inputs A, B, Cin (0,1) engages relays a, b, c respectively. If you map each of the 8 input states, Sum and Cout are always correct. I created a logically equivalent view of the lattice diagram in Fig 5. Fig 5, Shannon’s 3-relay lattice adder, redrawn This adder has a ripple carry delay and this becomes an increasing penalty when chaining k adders. It’s possible to design a 3-relay adder with no ripple carry delay. More on the ripple delay effect below. I used exhaustive simulations and proved that this is the absolute simplest 3-relay adder possible using a min of 4 form-C contacts and 2 NO contacts. This highlights the power of Shannon’s approach. Note that this design and Figure 2 have identical in/out logic mappings. The lattice method is the specialist compared to the tree method. Sum and carry in an adder are symmetric functions, which depend only on how many inputs are on, so a lattice can fold the repeated parts into shared nodes and come out smaller compared to the tree method. The lattice takes more design effort and care. There are several steps to prune the lattice but these are not covered here. A 2-relay adder lattice design With Claude AI as my research assistant, I refined a lattice network for a 2-relay 1-bit adder through successive iterations. I was impressed by its grasp of the subtleties of Shannon’s lattice method. Fig 6 shows the results using standard NO/NC switches extracted from the lattice design. Logic 1 = +V and logic 0 = float. There is no ripple delay carry penalty. It uses “dual-rail carry propagation” for the carry in and out lines. The synthesis method uses a two-variable Shannon symmetric-function lattice. Dual-rail carry uses two wires: Cin and its complement, Cin′ (and Cout/Cout’). Because the carry passes through contacts without operating a relay, there is no ripple delay. In a chain of k adders, it propagates at wire speed; only the first stage needs an inverter to generate Cin′. So, the overhead of needing two wires per carry is very low and well worth it. The contact count is: -Relay A: 4 form-C, 1 NO, 1 NC contacts -Relay B: 3 form-C contacts Fig 6, Shannon’s lattice 2-relay 1-bit adder This completes the examples using Shannon’s two techniques for relay adder design. I did not know what to expect when the research started and was pleased to see how well Shannon’s techniques work. So, are there other synthesis methods to augment Shannon’s work? Are there more adder designs to be discovered? Let’s find out. How many the relay-based adders are there? Web searches reveal scattered examples of 1-bit adders that use varying numbers of relays, but no comprehensive circuit catalog exists. Such a catalog would enable direct comparisons between circuits and help designers make more informed decisions. The goal here is to create a catalog with the following features: A list of synthesis methods for designing 1-bit full adders A count of distinct adders (using 4, 3, and 2 relays) generated per synthesis method Adders grouped based on logic convention Generating one-of-a-kind circuits is complex because of the numerous wiring and contact permutations and combinations, differing logic conventions, and variations in synthesis methods. It is not a goal to render as a circuit every possible adder. More on this later. Existing modern tools are not optimized for full multi-contact relay design. Standard logic minimizers are excellent at optimizing Boolean expressions. But they will miss non-series-parallel topologies. There is no one-size-fits-all tool to design relay-based adders. I consulted Shannon's two chief papers (1938 and 1949), and reference texts like Keister, Ritchie & Washburn's The Design of Switching Circuits and Caldwell's Switching Circuits and Logical Design — both excellent Bell Labs-era books written specifically on relay-based circuit design. See Appendix B. I also turned to Claude AI as a research assistant to help me create a list of synthesis methods including the two from Shannon discussed above. No AI system is an expert on this obscure topic. It is noteworthy that Claude AI is assisting with this task, as the name was inspired by Claude Shannon. It’s likely that some designs are missing from the totals. There is no guaranteed way to catalog all adder forms without an enormous number of simulations to find all the corner cases. One estimate is 10E43 simulations for the 5-relay adder case to exhaust all possible circuits using brute force combination testing. The Catalog The first task is to define the system logic conventions. Fig 7 shows the table for six conventions that are in common use. So, for #2, a logic 1 is +V and a logic 0 is GND (0 volts). Many telephone systems (~1900 onward) use #2 (usually -V rather than +V). The adder schematic will be different for each chosen convention. Typically, voltage V is chosen depending on the relay operate voltage. Fig 7, Six digital logic conventions in common use Next, I set off to define a list of synthesis methods and started with the two Shannon synthesis methods discussed above. I had no idea how many different methods would be discovered. Figure 8 is the list, compiled by iteratively adding synthesis methods. Each of the eight entries represents a different method for designing adders or other logic circuits. Because no single method can produce every circuit variation, methods M1–M8 are each applied to design adders using two, three, and four relays. Only unique designs are included in the count of adders. The labels M1–M8 are used for convenience here. Also, there may be other synthesis methods (M9 +) that my research missed. Shannon and Boole synthesis are responsible for M1, M3, M4 and M5 . M6 and M7 are new (mux-chain) and not described elsewhere to my knowledge. The differential coil method, M2 , is also a new method to describe how the R30 adder works. Both M2 and M8 use the same trick at the start; a coil is driven by the A and B inputs, so it pulls in only when A and B differ. Then the methods diverge. Some designs have ripple carry delay and some do not. More on this below. M7 is marked "no-ripple" but other methods also feature no-ripple delay but not identified as such in the Figure. Methods M3 and M5 were used to create Fig. 2 and Fig. 5 (above) respectively. The M1-based Zuse and Stibitz 2-relay adders (Figs. 8 and 10) and the M6/M7 hybrid Zuse 5-relay adder (Appendix C)—are detailed in Examples of Relay-based Adders . While sample circuits were designed for methods M1 through M8, only a subset are reproduced in this paper. Fig 8, A listing of eight adder synthesis methodologies Fig 8, A listing of eight adder synthesis methodologies Note, for M1 and M2 the relay’s input is the selector, and the signals it chooses are the cofactors, which are simpler functions of the remaining inputs. The final catalog is Figure 9, folding in aspects of Figs 7 and 8. There are 58 individual circuit designs in total . Some logic conventions are only supported by some designs. For example, the 3-relay M8 design only supports logic conventions 2 and 4. The 3-relay M7 designs support all six logic conventions. Note that 3 entries are “DPDT capped”. This means the relay was limited to two form-C contacts for easier access to off-the-shelf relays. Also, relay H is referenced, and this is: H = A XOR B, the “half-sum”. Figure 9, Abridged catalog of 2, 3 and 4 relay 1-bit full adders The catalog is abridged. Why? Initially the goal was a catalog of designs from 5 to 2 relays. I removed the 5-relay case to reduce the validation efforts. Once the Fig 9 data was solid, I expanded to the 5-relay case. I estimate that this adds ~35 additional circuit designs not shown in Fig 9. Each circuit is synthesized using a single synthesis method per adder. Combining methods—for example, M4 for the Sum logic and M6 for the Carry logic—produces additional hybrid designs. I estimate that these mixed-method designs add about 30 schematics. Include also a few 1-relay adder circuits described in Examples of Relay-based Adders . So, the sum of individual relay-based adders to implement Figure 1 is at least 125 designs across the six logic conventions supporting 5 to 1 relay designs. Another way to look at this is there are roughly 20 designs per each logic convention (1 from 6). If diodes are allowed in the circuit, then the number of circuits is certainly greater. For example, DIY designer Jeroen Brinkman's full 1-bit adder is 4-relays plus 2 diodes. If dual coil relays are included (opposed or added fields) yet more adder designs are possible. The RC Metric In Figure 9, the column “RC” metric gives the Relay-Contact Metric. First, some definitions of terms. A Form-C pole (common + NC + NO) counts as 2 contacts — it's physically two separate make/break junctions (common-to-NC, and common-to-NO), even though they share one moving blade and one coil. This contact form is also called SPDT type. A plain NO-only or NC-only pole counts as 1 contact — only one junction exists. The RC metric is the number of contacts times the number of relays in the design. For example, in Figure 9 table, ID = 8, there are 8 contacts across the three relays to generate an RC Metric of 24. This metric is a rough gauge of adder complexity. However, a 4-relay design may be more desired (larger RC value) compared to a 3-relay design if the contacts per relay are fewer. The M2 2-relay design used for the R30's adder has an RC Metric of only 12. One five-relay adder (not included in Fig 9) uses only one Form-C contact per relay (readily available), giving it an RC metric of 50. A higher RC value does not necessarily make a design less attractive. The Ripple Delay Problem When cascading k 1-bit adders, the effects of carry ripple are very important. A k-bit adder has the form in Figure 10 (k =4). In a delay free carry ripple 1-bit adder, carry-out never waits for a relay driven by carry-in. Chained adders connect each carry-out to the next carry-in; any relay that must engage to pass the carry adds delay at each stage. In a delay-free design, carry passes at “wire speed” through contacts already set by each stage’s A and B inputs. Figure 10, A 4-bit adder (k=4) It turns out that 1-bit relay adders can be built with delay-free carry or with ripple delay. Of course, ripple delay free is always desired but there is usually some logic overhead to accomplish this. To learn more about the ripple delay problem and solutions see Appendix C Conclusions Cataloging 1-bit adder designs helps researchers, engineers and hobbyists understand their options by organizing an otherwise scattered collection of circuits into a coherent design landscape. It also highlights Boole’s and Shannon’s importance to early computing. A listing of synthesis methods supports informed choices instead of trial and error. This helps balance relay count, contact complexity, logic convention choice and ripple-carry performance. To generate a circuit schematic, give an AI tool the catalog’s full method name—not its M1–M8 label—along with the desired relay count and other constraints. Note that some of the adder synthesis methods are only published here so there is no guarantee that AI tools (including Claude) will be aware of them. Results will vary among tools, so refining the prompt or trying another tool may help produce the best design for your needs. Endnote A Note on Shannon’s Notation: In his 1938 paper, Shannon used two conventions that are the exact inverse o f modern digital logic: he defined logic states by hindrance (0 = closed switch, 1 = open switch), and in his lattice diagrams, he defined unprimed variables (X) as normally closed (NC) contacts and primed variables (X') as normally open (NO) contacts. While internally consistent within his thesis, this dual inversion can be confusing to modern readers. To keep the schematics intuitive, this article reverses both conventions—using modern transmission logic (1 = +V, 0 = open / float) and treating unprimed contacts (X) as normally open (NO) and primed contacts (X') as normally closed (NC). Because both the logic sense and contact states are inverted simultaneously, the resulting adder truth tables remain logically identical. References Konrad Zuse, “The Computer – My Life ”, 1993 edition Shannon, Claude, A Symbolic Analysis of Relay and Switching Circuits, 1938, MIT, Thesis paper. J. Sklansky, "Conditional-Sum Addition Logic, " IRE Transactions on Electronic Computers, June 1960, p. 226 P. M. Kogge and H. S. Stone, “A Parallel Algorithm for the Efficient Solution of a General Class of Recurrence Equations,” IEEE Transactions on Computers, vol. C-22, no. 8, pp. 786-793, August 1973. V. N. Roginskiy, Elements of the Structural Synthesis of Control Relay Circuits , Moscow 1959; JPRS 5518, 22 Sept 1960; English edition The Synthesis of Relay Switching Circuits, Van Nostrand 1959. T. Kilburn and others, "Parallel Addition in Digital Computers: A New Fast 'Carry' Circuit ", Proceedings of the IEE - Part B: Electronic and Communication Engineering, pp. 464–466, September 1959. Appendix A The Manchester Carry Chain A Manchester carry chain passes the carry through a multi-bit adder using a row of pass-thru transistor switches (CMOS) instead of logic gates. It was developed at the University of Manchester in 1959 [6]. Each bit position uses its A and B inputs and sets its switch to generate a new carry, pass the incoming carry along, or block it, and all of these switches are set at the same time. This is the same as the P&G method discussed in Appendix C. Once they are set, the carry flows down the line without a gate delay at each stage, which makes it fast and cheap in transistors. Its limit is that long chains become slower because of transistor switch loss, so it is usually used in short blocks of about 4 to 8 bits. In one sense, this method approximates the ideal relay contact (lossless) to pass through a signal. Some transistor adder designs use a combo of Manchester Carry (say, k =4) and lookahead methods between 4-bit adder blocks to build any large k length adder. Appendix B The Work of V. N. Roginskiy Roginskiy’s 1959 book [5] is a general theory for designing relay contact networks with as few contacts as possible. Its main tools are Povarov’s cascade method, a graphical construction for symmetric networks, and rules for avoiding false (sneak) circuits. G. N. Povarov was a Soviet researcher in relay-contact theory in the 1950s. For relay designers his book offers: A step-by-step method for tree and lattice circuits, which fits M3–M5 type adders outlined in the main body of this article A way to prevent sneak-paths Contact savings from unused input states Multi-coil relay logic is considered in Chapter 8 It has no adder examples and doesn’t cover the cofactor-select, mux-chain or differential-coil methods (M1, M2, M6–M8). It is at best a reference and not a source of ready-made circuits. Roginskiy credits Shannon for the theory of symmetric networks and Povarov for the cascade and graphical constructions. Bottom line, likely no new adder synthesis methods (i.e. no M9 method) from his work or that of Povarov. Appendix C Delay-free Carry: The Problem and Solutions What is delay-free carry (DFC)? Figure C1 shows a simplified 4-bit adder built from four 1-bit adders in series. In each adder, the carry input drives a relay coil, and the relay may operate before producing a carry output. The carry therefore passes through up to four relay delays, one per stage, before Cout is valid. This limits speed, and the delay grows with every bit added. Fig C1, 1-bit adders each with ripple carry delay Fortunately, there are at least two ways to build DFC adders of length K. In the first, each 1-bit cell has delay-free carry. In the second, the carry decisions are moved outside the cells into a separate network, an approach called carry lookahead, which is the subject of a later section. We start with the first method. Inside every delay-free carry cell (Fig C2), the relays are energized only by the A and B inputs to form two internal logic states: the generate term, G = A·B, and the propagate term, P = A ⊕ B. G tells the cell to produce a carry out independent of the carry in value. P tells the cell to pass the carry in directly to the carry out. Both terms depend only on A and B and they act as steering signals that set up the carry path in advance. No “Cout” relay operates based on Cin arriving. Let’s call this first method “bit-level P&G generation.” It is not always easy to identify the P&G terms inside a DFC adder cell, but they are always there even if cloaked by the design method. Fig C2, Internal logic of a 1-bit, delay-free carry, full adder cell Figure C3 shows a chain of such cells. The Ai and Bi inputs operate the internal relays of all K cells in parallel, so every cell has formed its P and G terms not depending on Cin. The carry into each cell then reaches its output by passing through closed relay contacts alone: the contacts pass Cin when P = 1 and supply the generated carry when G = 1. After a single relay operate time that does not depend on K, Cin propagates to the final Cout at close to wire speed, limited only by the small resistance and capacitance of the contacts and wiring. Fig C3, 1-bit delay-free ripple carry adder cells Considering the M1-M8 design methods (Fig 8, main article), M1, M2, M7, and M8 can generate 1-bit delay-free carry designs while the other methods do not. Several examples of ripple delay-free designs are found in the main article but without calling out the internal P and G signals. Fast carry using lookahead logic A second method to achieve fast carry is to use logic outside of the 1-bit adder cell. So, no P&G terms inside the cell are needed. Fig C4 shows one version of such a circuit. The lookahead logic computes the carry signals (C1, C2, C3) simultaneously and feeds these into each full adder. So, there is no ripple carry delay effect. The lookahead logic computes each P and G term, based on Ai and Bi, and outputs the C1, C2 and C3 carry signals. Fig C4, Carry Lookahead Adder 4-bit block diagram (Nandland.com) Note, that since it’s easy to build a 1-bit delay-free carry adder cell, the form in Fig C4 would not be practical for a relay-based system. However, it is of great value in a transistor-based design. Adder designs using transistors In modern transistor-based CPU designs, all 8- to 1024-bit adders use some form of lookahead logic to quicken the total add time. The lookahead cost is extra gates and wiring, so designers couple it in small blocks, often four bits wide, to balance carry speed against chip area. One arrangement is building 4-bit blocks with each adder using the Manchester Carry chain approach (See Appendix A) and N blocks ganged together using a carry lookahead method similar to Fig 4. This yields a 4*N bit adder. This method uses two forms of carry propagation speedup- one internal to each cell (say in a 4-bit block) and one external to the N blocks. For more on carry lookahead designs, see the Kogge–Stone method and its variants [4]. An interesting comparison, a 2026 vintage 16-bit Kogge–Stone adder may use more or less 950 transistors, whereas a 16-bit 2-relay (M2) delay-free carry ripple adder requires 96 contacts. The carry speed in a 1,024-bit DFC relay adder is nearly the same as for a 1-bit adder -- at wire speed. One billion 1-bit adders The Cerebras Wafer-Scale Engine 3 (WSE-3) is a dinner-plate-sized AI accelerator fabricated from an entire 300mm silicon wafer, packing 4 trillion transistors . Across the wafer’s 900,000 cores, roughly two-thirds (~756 million ) of its estimated 1.15 billion 1-bit adders are dedicated solely to multiplication inside the cores' FP16/BF16 (Brain Floating Point 16), partial-product reduction trees. The remaining one-third (~392 million ) handles everything else: finishing floating-point accumulation and exponent math (~243 million ), stepping through memory addresses via dedicated tensor address generators (~99 million ), and general-purpose integer math (~50 million) . George Stibitz and Konrad Zuse would be amazed. Note: Core architecture specifications based on Cerebras Systems WSE-3 technical disclosures (900,000 cores, 4 trillion transistors). Adder counts are derived from estimated arithmetic logic gate allocations across tensor compute units, exponent accumulation paths, and address generators.

  • Explore the Contents | Vintage Relay Computers

    Exploring the Basics of Relay Computers The Building Blocks Binary Number Explorer Relay Computer Timelines Electromechanical Telephone Exchanges The Minimalist Calculator The Relay Lab -- Measurements Digging Deeper: Principles of Relay-based Design Historical and Contemporary Studies Digital Logic Gates An Interactive 1-bit Adder DIY Modern Relay Computers Adder Design Methods How Relays Work Examples of 1-bit Adders History of the Relay The Arithmetic Logic Unit (ALU)

  • DIY relay computers | Vintage Relay Computers

    Modern Day Relay-based Computers A small group of DIY inventors have built relay computers and calculators. This section does not cover every known system. However, it highlights a few notable projects by dedicated experimenters. In general, “relay computers” fall into three broad classes used here to clarify the different types. These are: 1. Pure relay-only for all functions (~300 to ~2K relays). Some have capacitor charge memory and may use diodes for some logic gating. 2. Mostly relays with some diodes for logic steering and semiconductor RAM/ROM memory. It takes 1,000 relays to store 1,000 bits so using semiconductor memory offers a huge saving in size, power and cost. 3. Hybrid designs. A small microcontroller, such as an Arduino, Raspberry Pi, or ESP32, helps with the user interface, storage, and some program controls. Relays still handle the math. This approach makes the computer smaller, lighter, and more energy efficient, while allowing features such as a Wi-Fi tablet interface and 32-bit floating point math. It is not made entirely from relays, but it still shows the power of relay logic. Some designs use only one relay type repeatedly (say, SPDT) while others use SPDT, DPDT and even more complex contact forms in the same machine. The following summaries are based on my current understanding of these machines. If you see an error please contact me and I will update the description. All images are taken from the inventor's respective published sites. The R30 Electromechanical computer (Class 3) is a DIY project is covered here . The famous Z3 computer was reconstucted by experts and a coverage follows the DIY inventers. Review of some Noteworthy DIY Relay Computers 1- - Jeroen Brinkman (Netherlands), MERCIA all Relay Computer, 2016. ~2,000 relays. 10 bits instruction width, 1K storage, integer math. No semiconductors except for diodes. One relay type (SPDT) is repeatedly used for all logic circuits. Capacitors are used for 1/0 storage and refreshed if needed. This is a Class 1 design and an amazing effort to show all the key aspects of relay computing. It is strictly a fixed-point/integer 10-bit machine. Any fractional or extended-precision arithmetic could be implemented in software/microcode. MERCIA relay computer 2 -- Simon Winder (UK), 8 bits, floating point, 480 relays. Computes square roots only. Note the value in the Nixie tubes below, the square root of 2. Simon started the project in 2009 and finished it in 2014. Digit entry uses a telephone dial. This is a Class 1 design. See a video here . 3 —Dr. Harry Porter’s relay computer. 2015, 415 relays, Data Bus (8 bits), Address Bus (16-bits). Uses the Konrad Zuse Z3 relay adder circuit. Uses semiconductor SRAM for program storage to reduce relay use so falls into a Class 2 design. It supports 8-bit integer math. https://web.cecs.pdx.edu/~harry/Relay/ https://www.youtube.com/watch?v=n3wPBcmSb2U 4 —DipDot, 2026 (YouTube). A DIY relay computer, evolving story. It appears that this is a Class 1 relay computer. Initially, the designer used semiconductor static RAM then later transitioned to a period-accurate 1940s-style Capacitor-Diode Memory . ~450 DPDT relays fully populated. Very clean design with many custom PC boards. He uses an Arduino to assist in testing new designs quickly, but this is not needed for real-time math calculations. Uses 8-bit integer math with a 16-bit address bus for storage access. https://www.youtube.com/watch?v=Jy2j2jv5MPI 5 -- Paul Law's architecture is heavily inspired by Dr. Harry Porter's Relay Computer. Law’s machine reportedly has about 400 relays. So, it supports 8-bit integer math. Pragmatically, it uses semiconductor memory and transistor arrays to interface between SRAM and the relays. It uses a 5-relay per bit, full adder design. It was designed for portability and has the feeling of the MITS Altair 8800 computer (1975) user control panel. It is packaged beautifully and portable. Because the hardware ALU can only operate on 8 bits at a time, calculations like division or long addition are chained together using multi-byte software algorithms (e.g., repeating 8-bit addition with carry). In a Youtube video Paul shows an example of calculating PI to 20 decimal places. He needs an external controller (PC or other) that “assembles” a complex math routine into 8-bit operations that are loaded into the machine’s semiconductor ROM. So, without external assembly of microcode this is a Class 2 machine. For complex math operations this looks like a Class 3 machine. https://youtube.com/shorts/UN4LOo79pjg?si=BHGuPcSv5SLtqjzi Paul Law’s relay computer, front side 6. Michał Zalewski published an article titled Now you're thinking with relays in 2023 on Substack. He describes relay-based logic functions and crafts a 12-relay 1-bit adder using AND/OR/XOR functions. He acknowledges that 12 is excessive but did it "for fun." Here is his 1-bit adder with a keyboard and microprocessor for control. The CPU sequences all operations and funnels all arithmetic to the 1-bit adder. Michał also created a display board. "Here is where I went a bit nuts and constructed a Rube Goldberg-esque device just for the sake of it. The PCB contains six 7-segment displays, but they are driven entirely by relays ". The 2 PCB's are mounted in a hand crafted walnut case. This project is a study in extremes. A calculator using only relays for "1-bit math" and a microprocessor to mange all else except for the 42 display driver relays. The walnut case is exquisite and adds charm to this outstanding example of "Thinking with Relays ." Z3 Reconstructions by Experts There is a special class of "DIY" relay computer that is built by experts from universities and museums. Outstanding examples are the four versions of the Z3 relay computer originally by Konrad Zuse. For more info on the original Z3 (1941) see the article on this site - From Pascal to Zuse . Of the four, two are practical replicas and two are hybrid machine reconstructions. In 2027 each of these are in museums in Germany and Switzerland. The first replica was built by Konrad Zuse in 1961 for the Deutsches Museum in Munich. This is a Class 1 all-relay machine with electromechanical stepping switches for memory. Because the original machine was destroyed by wartime bombing in 1943, Konrad Zuse recreated his masterpiece entirely from memory and surviving documents to act as an historically accurate, structurally identical clone. Pictures of this version are often considered the original since there are no images remaining of the 1941 version. A second major reconstruction (Z3r) was engineered and built by Konrad Zuse’s eldest son, Professor Dr. Horst Zuse, between 2008 and 2010. Permanently housed at the Deutsches Technikmuseum in Berlin, this version deliberately diverges from the original Z3 blueprint for educational purposes. Horst added diagnostic LEDs to the relay blocks so live museum audiences could physically trace the movement of bits. He made other changes too for demo and simplification purposes. It uses a Siemens Simatic PLC (S7) electronic controller to assist in stepping through program sequences. This is a Class 3 machine. See a video of Horst explaining, in German and English, his version of the Z3. Two other versions were build by Dr. Raúl Rojas and Dr. Christof Traber respectively. See below. Snapshot of Horst Zuse in front of his version of the Z3, 2022 at the Museum The four reconstructions of the Z3: 1. 1961 (Zuse KG / Konrad Zuse): Built by Zuse's own company to serve as technical evidence for patent claims and historical priority. It reproduced the logical operation using newer, smaller relays in a single memory cabinet configuration and is on permanent display at the Deutsches Museum in Munich. This uses the very clever 2 relay full adder circuit compared to the 5 relay 1-bit adder design for the original Z3. 2. 2001 (Dr. Raúl Rojas / Free University of Berlin): An educational, hybrid reconstruction using relays for the arithmetic and memory units combined with digital components and a PC for user I/O. It is housed at the Konrad Zuse Museum in Hünfeld, Germany. 3. 2010 (Dr. Horst Zuse's Z3r): Built at approximately full historical scale using around 2,500 modern industrial relays to mark the centenary of Konrad Zuse’s birth. It features LED indicators and manual single-bit stepping controls, and is located at the German Deutsches Technikmuseum in Berlin. 4. 2021–2024 (Dr. Christof Traber): A fully operational electromechanical reconstruction based on the 1941 patent application, using modern relays, stepping switches, and relay-chain clock generation. It is housed and regularly demonstrated at the Enter Technikwelt Solothurn in Derendingen, Switzerland. The 2001 reconstruction of the Z3 by Raul Rojas and team. Modern relays were interconnected using circuit boards. The console and punched tape were simulated by means of a modern display. Photograph by R. Rojas. Christof Traber describing the Z3 replica at Enter Technikwelt Solothurn circa 2025

  • Examples of Adders | Vintage Relay Computers

    Examples of Relay-based Adders Abstract : This section surveys 1-bit digital adders, a fundamental computer component alongside the Boolean operations AND, OR, and NOT. It compares relay-based designs starting with five relays down to one relay per adder. It addresses a gap in the limited literature on relay-adder types. Eight circuit examples are presented. Introduction In 1937, Bell Labs mathematician Dr. George Stibitz built the Model K 1-bit binary adder on his kitchen table. This landmark invention bridged an intellectual divide that had endured for more than a century. Gottfried Wilhelm Leibniz formalized binary arithmetic circa 1679 (published in 1703) and Joseph Henry and Edward Davy developed the electromechanical relay in the 1830s. The two concepts lived in different universes. Stibitz’s breakthrough was marrying binary arithmetic with electromechanical logic circuits. Surprising it was not done long before – See Appendix A. Fig 1, Stibitz with his replica of the original Model-K Half Adder, 1980 Source: www.computerhistory.org Figure 1 shows a replica of the Model-K that he built since the original was lost to time. The first digital adder was remarkably simple. First, let’s look at the logic diagram of what he built. It was called a “half-adder”. A full 1-bit adder has a Carry_in bit and a half-adder does not. Figure 2 shows this circuit made of a XOR gate and an AND gate with Sum and Carry_out bits (S and C). This diagram is agnostic to the implementation details. If you are unfamiliar with logic gates check out the interactive logic explainer . Fig 2, Logic diagram of a 1-bit “half adder” Figure 3 shows a replica built by Stibitz on display at the Computer History Museum in Mountain View, CA. It implements the logic in Figure 2. There are two input keys A and B, and two output lamps, Sum and Carry. Two telephone relays perform the addition logic. Fig 3, Replica of original half-adder Model-K built by G. Stibitz Source: www.computerhistory.org This author built a Model-K “replica of a replica” in 2026. The two batteries are 18V each, (36V in series) to power the two telephone relays very similar to the original Model-K relays (~1935). Below is a short video demo of this replica. The relay circuit schematic is described in Appendix B. It’s easy to imagine Stibitz reasoning on how to extend his idea by including a Carry_in bit and end up with Figure 4. This makes it a full adder in modern terms; 3 inputs, 2 outputs. It’s very likely he built a demo board of this too using telephone relays from the Bell System. Chaining together K full 1-bit adders create a composite adder of length K bits. As will be seen, there are many ways to implement this diagram using relays plus other methods using vacuum tubes and transistors. Incidentally, Konrad Zuse (Germany, Z3 computer) and Stibitz worked entirely independently in the lead-up to World War II, neither knew of the other's work, but both arrived at using electromechanical telephone relays for binary arithmetic at almost the same time although using completely different circuits for their version of a full adder. Fig 4, Combing 2 half-adders to make a full adder The Stibitz experiment started a fire inside Bell Labs. Along with engineer Sam Williams, Stibitz took the lead working with 20 other engineers and began building relay calculators then relay computers. They built the first Complex Number Calculator, the Model 1 in 1940 using 450 relays [E. G. Andrews]. The full adder circuit that Stibitz used in the Model 1 is described below. How to add using relays No matter what clever full adder circuits engineers invent they all accomplish the same thing: A + B + Cin = 2*Cout + Sum, where the variables are binary values. The "+" is an add symbol here but sometimes used for an OR operation. The following sections will review designs spanning from 5 to 1 relay(s) to implement a 1-bit addition. The adder examples below are “pure relay” designs, and the following are not used: Polarized relays or relays with 2 coils Diodes/resistors to assist in the logic OR and AND functions Transistors or vacuum tubes Also, race conditions are not considered and with a clocked adder races are not a worry. There are published schematics using more than 5 relays per 1-bit adder. For an example of a 1-bit adder using 12 relays see the DIY page . Cases with more than 5 relays is not the focus of this coverage. The instances below provide one example circuit for each case. There are other alternative schematics for each case but not considered here. Early designs of relay switching circuits used trial and error methods. By the 1940s, systematic synthesis techniques had reduced much of the guesswork. More on this later. The 5-relay case First, let’s do a brute force mapping of Figure 4 using five relays, one per logic function. This is certainly the most straightforward but not the most efficient use of relays as we will see. The 1:1 implementation is Figure 5. A single relay is needed per XOR, AND or OR operator. By inspection you can see how each relay performs its assigned logical operation. For this design the logic state convention is: logic 1 = +V (48 vdc for this case) and logic 0 = Ground (0 volts). This design has the advantage of needing only a single form-C contact (SPDT) per relay, 5 in total. By examination, there are at most two relay operate delays from in to out. Relay-based systems support at least six conventions for digital logic states; See Appendix D for a comparison of logic conventions. Figure 5 uses Case #2 in the Appendix D table. Fig 5, A five relay 1-bit binary full adder The XOR function is often implemented using 2 relays as is the AND gate. So, another version of Fig 5 would have 9 relays. Since Fig 5 is a simple mapping of logic gates implementing Fig 4, it is easy to understand how this adder works. The 4-relay case Next, is a full adder design using 4 relays. There are 6 form-C (SPDT) contacts total. For this case, logic 1= +V and logic 0 = Ground. Figure 6 uses a nomenclature that was first introduced by Bell Labs in the 1930’s. It uses a relay‑contact notation where the ‘X’ symbol is a NO (normally open) contact and a ‘I’ symbol is a NC (normally closed) contact. To many readers, a schematic using this notation is easier to understand compared to forcing all the contacts to be aligned with the relay’s coil (as in Fig 5). Fig 6, A four relay binary 1-bit full adder [5] In a cascade of Fig 6 adders to make a K bit adder, the A and B relays engage at the same time and may be followed by the H relay. By examination, there is no “ripple carry delay” effect between stages. So, this is a fast design compared to cascading Figure 5 circuits. Also, relay H is referenced, and H is engaged when H = A XOR B, the “half-sum”. The 3-relay case Next, a 3-relay adder is developed in Figure 7. This circuit also implements the Figure 4 logic diagram. Fig 7, A three relay full binary adder [5] There are 8 form-C contacts total. So, as the number of relays decreases, the number of total contacts increases. In the end, the adder logic equation can be implemented using combinations of relays and total contacts trading off one for the other. Both are related to reliability, space, power and cost. Both the B and C relays in Fig 7 need three form-C (SPDT) contacts and this is not a commonly available (or inexpensive) relay type. This design has a ripple delay carry effect, slowing the final sum of K bits when Figure 7’s are cascaded. Also, H is referenced and this is: H = A XOR B, the “half-sum”. The 2-relay case This is the most interesting case. It was the “Holy Grail” for engineers –"Can I build it in two?” Let’s start with the 2-relay design by Dr. George Stibitz as described in his famous US patent 2,668,661, “Complex Computer”, filed in 1941. Figure 8 shows Figure 3 of the patent. This circuit was used in Bell’s first relay calculator, the Model 1. The terms “ADDEND” and “AUGEND” (A, B) were common in 1941 but not so today. Stibitz must have been very satisfied inventing his 2-relay full adder considering his first half-adder was also 2-relays. True, there is a third relay, C, in the figure. This is not strictly necessary since it could be part of another circuit that records the total sum. So, for this discussion, the C relay is not part of the basic adder. Fig 8, two relay adder schematic from the Stibitz patent First, why are there four carry lines? The Carry_in and Carry_out lines are so-called “dual rail”. The 2-relay case needs C_in and NOT(C_in), two lines. Likewise, the adder carry outputs are C_out and NOT(C_out). Fortunately, the Carry pairs propagate naturally in a chain (C_out to C_in) of similar circuits to build a K bit adder. So, the dual carry method is not a burden except on the first bit’s carry input. Using the dual rail approach gives a designer C and NOT(C) lines to propagate between stages “for free” and this enables a 2-relay design. The dual rail carry adder design has been criticized as “cheating” because it requires two carry-input lines. Although it adds overhead to a solitary 1-bit adder, it is an elegant and effective solution for a chain of K such adders. The logic levels are: logic 1 = Ground and logic 0 = float (open). The two relays in the figure have +48 VDC (or other value) on one side of each coil and the other sides are connected to the inputs A and B respectively (implied but not shown). So, when “Carry_in 1” is a logic 0 then “Carry_in 0” must be a logic 1 (and the reverse). This is an amazing design and has no ripple carry delay across K chained identical 1-bit adders. Let’s follow the signal paths for one case: A=0, B=0, C_in = 1. This means that A and B are floating (both relays are off) and Carry_in 1 = Ground and Carry_in 0 = floating. We would expect Carry_out = 0 and Sum = 1. Examining Figure 9, you can see the red pathing for this case. Fig 9, Tracing out the case A=B=0 and C_in = 1 Calling Konrad Zuse In 1941 Konrad Zuse of Germany created his first all-relay computer, model Z3. It used a 5-relay 1-bit adder design that Zuse thought, at the time, was the most economical use of relays. See Appendix C for an analysis of this 5-relay design. During WW2 in 1944 the original Z3 was destroyed. In about 1960 Zuse rebuilt the Z3 and it’s now at the Deutches Museum in Munich. This replica uses a 2-relay adder of Zuse’s own design (Fig 10). In Zuse’s words “Only years later (after his first 5-relay adder design) did my general research in switching theory lead me to solve the same exercise in (fewer steps)” [2, page 197]. Some authors claim incorrectly that Zuse’s 1941 Z3 used a 2-relay adder. Zuse came to learn that George Stibitz and Howard Aiken also invented a 2-relay design according to [2, page 199]. To see Aiken’s version of the 2-relay full adder visit Figure 2.11 of [3]. This design was used in The Harvard Mark II computer in 1947 (~13,000 relays). The second Zuse design (dual rail) can be expressed using two A and two B relays. A1 (B1) and A2 (B2) coils are in parallel so each only needs 2 SPDT contacts. It is not easy to find a single relay with 4 SPDT contacts, but Zuse did. So, Figure 10 is easier to build and to understand. Fig 10, Zuse 2-relay adder using 2x2 relays in parallel, redrawn based on [4] This circuit is very similar to the Stibitz adder in Fig 8 with its contact stack only slightly modified due to logic convention. The logic convention used is logic 1 = +V (12v for this case) and logic 0 = float (open). The R30 2-relay adder The R30 relay computer uses a novel 2-relay adder. This one is super-efficient in contact use and has no ripple carry delay. Fig 11 shows the details. After researching, there is no reference that names the inventor. Relay R1 coil voltage can be +- or -+ in polarity and this enables an XOR function. This design has “hot switching” on some contacts (as does Fig 6), and this was a concern during development. For example, the R2 relay’s form-C contact has solid ground and +48 on two of the three contacts. I was worried that contact stickiness or odd bouncing dynamics could cause a momentary power supply short. Based on oscilloscope relay measurements there is ample swinging contact headroom, so the three contacts never touch simultaneously even at 30 operations per second. The contact-to-contact bounce is small, on the order of < 3 ms. The R30 uses 6 of these units plus input A and input B latches (as most adders need) to make a full 6-bit hardware adder. This requires 24 (6x4) relays. It is not a dual rail design so this reduces contact use. However, relay R2 does invert the input carry line so this, in effect, creates a dual rail for the input carry only. Fig 11, R30 computer 1-bit full adder The 1-relay case Surprisingly, a 1-relay full dual rail adder is possible, but it requires A, NOT(A), B, Cin, NOT(Cin), Cout, and NOT(Cout) signals. Figure 12 shows an implementation using logic 1 = +V and logic 0 = GND. Relay K energizes only when A and B differ, thereby performing the XOR function. A second relay could generate NOT(A) from A, but that would make it a 2-relay design, albeit still quite simple. Thus, the 1-relay approach is most practical when NOT(A) is already available and when the relay type matches your availability. Fig 12, 1-relay full adder requiring A and NOT(A) inputs [5] Conclusion This survey presents eight ways to build a 1-bit full binary adder. My research uncovered a large range of published relay circuits and logic conventions. How many more designs are posssible? I also found floating logic signals more widespread than anticipated. A key lesson is the tradeoff between fewer relays with more contacts each and more relays with fewer contacts each. This variety gives designers more options. For an introduction to structured synthesis rather than trial-and-error design see “Adders – let me count the ways ” It also provides a catalog of binary adders organized by relay count and synthesis method. References E. G. Andrews, "Telephone Switching and the Early Bell Laboratories Computers, " The Bell System Technical Journal (BSTJ), Vol. 42, No. 2 (March 1963), pp. 341–353. Konrad Zuse, “The Computer – My Life” , 1993 edition Howard Aiken and the Staff of the Computation Laboratory, Description of a Relay Calculator, Harvard Collage, 1949 https://clicksrelaycpu.blogspot.com/2015/11/ Kovalick, Al, developed the 1, 3 and 4 relay adders using synthesis methods described here . Appendix A The Stibitz 1-bit Half-Adder – A Monumental Breakthrough The following is a quote from [1] reflecting on the long gestation period for digital computers to arise when the concepts and components were ripe for harvesting years before. Dr. George Stibitz was a mathematician at Bell Laboratories (AT&T) and was familiar with relays as a logic switching element. "In the 1920's, the valuable bistable flip-flop circuit came into use, called the "W and Z" relay combination in telephone switching…. Also, Boolean algebra for optimizing logic circuitry was being studied, beginning in the late 1930's, by G. R. Stibitz, C. E. Shannon, W. Keister, and others. In brief, many of the more important computer operations and concepts were, in the 1920's and 1930's, already incorporated into the panel (telephone) switching system, and, as the value of the new circuits was recognized, into other systems as well. It might be asked, therefore, why automatic digital computers were not developed simultaneously? In the period from 1925, for example, this writer (Andrews) heard many of his colleagues say with firm conviction that relay circuit techniques could be used to carry out arithmetical operations commonly performed with desk-type adding machines. The reasons are the traditional ones of economics and failure to see a compelling need. But more importantly, no one had taken the initiative to make a thorough study of all aspects of such a project. Dr. George Stibitiz also knew that Bell Laboratories engineers had been working for many years on dial switching systems. He noted that many of the design techniques therein employed were directly applicable to the design of an automatic computer…. He decided in favor of the true binary code for representing numbers. This was a new and revolutionary idea in the computing field, even though small numbers had previously been used in binary form in the (telephone) panel system decoder and in some European systems. Having made this fundamental decision, he then proceeded to design a relay-type computer (Model 1). Stibitz thereby satisfied another prerequisite for a new computer development, namely, he demonstrated that it was a feasible undertaking." So, it's no surprise that the very first relay-based binary adder and calculator was created at Bell Labs, the home of telephone switching theory, exchange design and relay development. Stibitz was well aware that a typical metro telephone exchange may have 60,000 relays. Stibitz’s Model K adder is a classic example of how access breeds innovation. For more on relays and telephone switching see the companion site -- calling315.com . Appendix B George Stibitz Replica Model-K Half Adder The schematic below describes the replica that I constructed (10/2026) based on the Stibitz version (original, 1937) in the Computer History Museum in Mountain View, CA. The two relays are original Western Electric U-type telephone flat spring models circa 1940’s. I started collecting used telephone relays while attending Lowell High School in San Francisco in pursuit of building a telephone system. The power supply is battery operated (four 9V cells for 36V, 2 cells inside each battery case designed for insertable batteries) or switchable to an external 36VDC wall plug supply. The 2 lamps are white LEDs. It is mounted on ½” white oak panel board. The A and B switches use spring steel cut from a flexible metal ruler whereas Stibitz used parts of a tin can. See article above for a video of the adder in operation. Model-K replica built by Al Kovalick, Santa Clara, Ca. Below is a simulator of the Stibitz' Half-Adder with A and B binary inputs. Very simple, yet a profound idea in 1937. Remember that a Half-Adder does not have a carry input. Appendix C The Konrad Zuse 5-relay adder from 1941 Konrad Zuse’s Z3 1941 relay computer used a 5-relay adder for its 1-bit adder module. These were chained using “carry_ out to carry_in” to make the final k-bit adder. The Z3 was a 22-bit floating point machine . There was no carry ripple delay effect. According to Zuse [2, page 198] "the carry is prepared in parallel through all binary locations using the C and D relays." This is a form of "carry lookahead" discussed here . For clarity, I reformatted the Zuse Fig A.12 schematic diagram on page 198 of [2]. The Truth Table below proves that this circuit is a full adder. As mentioned in the main article, the rebuilt Z3 in 1960 used his new 2-relay adder. Convention is logic 1 = Vs and logic 0 = float (open). Some contacts are delibrately not connected. Zuse 5-relay adder used in Z3 Computer 1941 Truth Table Appendix D Six digital logic conventions in common use A binary 1 and 0 each need to be represented by a signal value. There are six common conventions shown in the table. All these are practical pairs and found in real world circuits. For cases 2 and 4, both the GND and +V signals need to sink or source current. Cases 1 and 2 may be the most common in use. If we added -V values the table would be expanded. Many online adder circuits do not clearly define their logic convention. The table was created to add some structure to the landscape of choices. The # is the convention identifier number.

  • Ask me anything | Vintage Relay Computers

    Query our AI engine (bottom right) to learn more about any subject discussed on this site.

  • About | Vintage Relay Computers

    Future home of about and contact

  • Relay Basics | Vintage Relay Computers

    Relay Basics Introduction A relay is a remotely controlled switch that can open or close (0/1) contacts when sufficient energy is supplied to its coil of wound wire. The coil becomes an electromagnet when energized. Before the vacuum tube, transistor and integrated circuit, relays were the perfect on-off switch to build logical circuits using electricity. By far, telephone switching consumed nearly all relay use (some for telegraph) from the 1880's until the late 1970's. Relays made for telephone switching by Siemens & Halske in Germany were used by Konrad Zuse for his Z3 relay-based computer in 1941 [Rojas]. In theory, relays could be the foundational switch to implement a (very very slow) AI inference engine (i.e. ChatGPT, Claude). In Fig 1, the relay is an unoperated state (A) and an operated state for (B). This relay type was called a flat spring relay based on its design. The flexible arm (armature) moves to make or break contacts depending on if the core is energized or not. Figures 1 and 2 below are from [Keister], the classic book on relay applications as used by the Bell System and others. Fig 1, The basic flat spring relay-- off and on The following animation outlines the basics of relay operations. Fig 2 displays two classic relay form factors from AT&T. The left one is a U-type flat spring relay, while the right one represents the cylinder style 200 series. This second style was popular for Step-by-Step exchange switches worldwide. The 3000 type (no image) was designed by engineers Ray and Biddlecombe, of the British GPO, in cooperation with many providers and contractors. It was adopted as a standard in 1932 [POEEJ-2]. The Fig 2 relays have many contacts that move when energized. Relays may have from 1 (Fig 1) to 24+ (Fig 2) contacts. The most common forms are: Make, Break, Break-then-Make (SPDT or Form-C). A M contact is also called a normally closed NO switch and a B is also called a normally open NC switch. Fig 2, Typical General-Purpose relays In 1952 the Bell System introduced a new type of relay, the wire-spring type. This type was Western Electric’s major leap forward over the older flat‑spring relay, and it added better reliability, manufacturability, choice, and easier maintenance. Many millions were made annualy. See Figure 3 and the short video below of an AF-22 relay following the dial pulses from a vintage rotary telephone dial. Fig 3, AJ-9 type wire-spring relay (author's collection) How many telephone relays were made from the 1920's until 1975? There is no published worldwide value. But we can estimate from available information. For one data point, from 1910 until 1952 about 320 million were manufactured by Western Electric Company according the Bell System records [Kovalick]. There were about 360 million telephones (including extension and PBX phones), dial by far, worldwide in 1975. These were served by 240 million access lines. This is from AT&T’s annual publication, The World’s Telephones. There is an important metric of about 7 relays per subscriber line, factoring in the many thousands of relays for the route switching per central office [Kovalick]. So, from this we can roughly estimate that about 240*7 = 1.7 billion relays were installed worldwide for telephone switching in 1975. Hence, the total amount manufactured is somewhat greater given the 30-40 year lifetime per relay. The total count manufactured is likely in the range 2+ billion relays from 1920-1975. Relay circuits With the basics of relays explained, let's look at combinations of wired relays. Need a multiplexer, demux, bit shifter, comparator, flip flop, adder, ...? Wiring relays together creates any logical circuit desired. Of course, relay-count, power, speed and other factors will limit some functions but this is where having a variety of relay coil types, operate speeds, and contact forms is of value. The Bell System manufactured 1000's of relay types to give engineers a wide choice of design options. Fig 4 is an example of 4 relays (A-D) wired to create a 1-in, 16-out multiplexer. There are 16 combinations of on/off for these 4 relays. This kind of circuit is used to route the sole input terminal on the left to one of 16 outputs on the right. The ABCD terminal on the bottom right connects to the input terminal only if relays A,B,C,D are all engaged. Each relay has a different contact configuration. Hence, having a large catalog of relay choices, a relay bible, is essential for designers. For relay D, the Western Electric (WE) Wire Spring relay model AJ21 has 8 "early break then make" contacts (sometimes called a EBM, form-C or SPDT contact) fits the circuit design needs. Ideally, a different relay would be chosen with one "early break then make" contact for relay A. Most WE telephone relays operated (coil) with 48 volts DC but there were exceptions. Check out my Youtube page for ~30 videos covering a wide range of switching device demos. The channel is dedicated to the electromechanical devices (1880-1975) used to make telephone calls over different exchange types. Included are many relays, both 1D and 2D linear and rotational talking-path switches, sequence switches, and more. Fig 4, The basic 4-relay transfer tree [Keister] References Britannica Yearbook Of Science And The Future 1973 Keister, Ritchie and Washburn; Members of Bell Laboratories, “The Design of Switching Circuits ”, 1951 Kovalick, Al, https://www.calling315.com/relay-logic Fig 11 and https://www.calling315.com/history-of-the-telephone-relay , Endnote B POEEJ-2: The Introduction of the Standard Telephone Relay, R. W. Palmer, The Post Office Electrical Engineers' Journal, April 1934. Rojas, Paul, The Design Principles of Konrad Zuse’s Mechanical Computers, 2015

  • Pascal to Zuse | Vintage Relay Computers

    The Dawn of Machine Calculation 300 Years of Computing: From Pascal to Zuse Long before relays, before vacuum tubes, and centuries before transistors, the idea of a machine that could calculate was taking shape. The journey from the first mechanical calculators of the 1600s to the relay computers of the 1940s is a story of slow, steady evolution. Each generation of machines solved a different piece of the puzzle —user interaction, programmability, precision, speed, and reliability. Early Mechanical Calculators: The First Steps Towards Computers The story begins in 1623 with Wilhelm Schickard, a German astronomer who built what is now recognized as the first mechanical calculator. His “Calculating Clock” used gears and rotating drums to add and subtract, and it assisted Johannes Kepler with astronomical tables. Although Schickard’s machine was lost to history for centuries, it introduced a crucial idea: arithmetic could be mechanized. Two decades later, in 1642, Blaise Pascal (French) created the Pascaline, a robust adding machine built from precision gears and carry mechanisms. Unlike Schickard’s device, Pascal’s machines survived, were manufactured in quantity, and were demonstrated widely. He designed the machine to add and subtract two numbers and to perform multiplication and division through repeated addition or subtraction. The Pascaline could handle between 5 and 10 digits, depending on the specific model. The Pascaline: 6-digits, CNAM Museum, Paris Early Mechanical Calculators: The First Steps Towards Computers The next major leap came from Gottfried Wilhelm Leibniz in 1672 (Germany). His Stepped Reckoner introduced the stepped drum (later known as the Leibniz wheel), a mechanical innovation that allowed a machine to multiply and divide automatically. Leibniz also articulated a deeper vision: reasoning could be reduced to mechanical operations. His ideas included Boolean logic concepts and digital computation 175 years before George Boole’s work. Important too was the binary work of English scientist Thomas Harriot (1560-1621), before Leibniz. Leibniz’ machine was the first calculator capable of performing all four basic arithmetic operations—addition, subtraction, multiplication, and division. In 1923, the Deutsches Museum, Germany, commissioned a fully functional reconstruction based on Leibniz’s surviving drawings and descriptions. The machine has an 8-digit input section and a 16-digit accumulator (where the results appeared). Historical drawings also show that a 12-digit version may have existed. Replica of Leibniz's stepped reckoner in the Deutsches Museum, Germany Of note; Leibniz proposed a different machine (he never built it) that worked only in binary. It used rolling marbles, gates and registers to perform arithmetic using base-2. See Binary calculator using marbles for an excellent video based on Leibniz’ concepts. These early machines were limited, slow, and delicate, but they established the essential principle that calculation could be performed by a machine following deterministic rules. [Ifrah] Industrial‑Era Calculators: Scaling Up Computation One of the most famous machines developed was the Difference Engine (DE) by Charles Babbage in the 1820s. This was an automatic mechanical calculator engineered to tabulate polynomial functions using intricate gears and the method of finite differences. Although manufacturing limitations and funding disputes prevented completion during Babbage's lifetime, modern reconstructions have proven his visionary design was perfectly functional. Every level of its operation—from its internal state representation to its arithmetic logic and error-correction mechanisms—operated entirely on discrete, integer states (specifically decimal, base-10). Replica Difference Engine No.2, designed by Charles Babbage, Science Museum, London, completed June 1991 By the 1800s and early 1900s, mechanical calculators had become industrial tools. Companies like Burroughs, Monroe, and Marchant built rugged, crank‑driven machines capable of handling business arithmetic. These devices were faster and more reliable, but they were still fundamentally mechanical: gears, cams, levers, locks, and springs. They computed, but they could not decide. They lacked programmability, conditional logic, and the ability to store and manipulate symbolic information. The conceptual leap from “calculator” to “computer” required a new kind of switching element—something that could represent binary states (0,1), switch rapidly, and be wired into arbitrary logical structures. [Williams] The Relay: The First True Digital Logic Element Edward Davy (English, 1806-1885) built an “electric relay” to repeat telegraph signals. Davy invented the relay to “renew the current” on long-distance telegraph lines and to steer telegraph signals to different endpoints. Telephone switching systems likewise relied on relays to steer signals and make logical decisions based on the number dialed. By the early 20th century, telephone exchanges used millions of electromechanical relays to route calls. Relay characteristics: Two states (binary): 1/0, true/false, on/off, high/low, +volts/0_volts, per contact pair Capable of moving several contact arms to independently switch circuits Electrically controlled – a digital switch with many practical contact arrangements Capable of implementing logic (AND, OR, XOR, NOT gates) Capable of storing logic state Reliable and mass produced Western Electric Company produced about 100 million relays between 1920 to 1948 for exchange switching. So they knew more about relay manufacturing and reliability than anyone. View this short video (one contact pair) to get a feel for relay operations. The Big Three Switches The relay was the first switch but what about the vacuum tube (1906) and transistor (1948)? All three can change state from 0/1 or 1/0. However, a single relay can support many linked contact forms (on/off, off/on, form-C, and more) per device and can do far more logic work than one vacuum tube or one transistor. However, tubes and transistors can do more 0/1 switching work per second. See The History of the Telephone Relay for more insights. The first machine to compute using vacuum tubes was Atanasoff and Berry (the ABC, in 1942). Other tube-based systems followed, for example: the Colossus (Tommy Flowers at Bletchley Park, UK, 1943) and the ENIAC (1945). One version of a full 1-bit binary adder uses 9 Triode tubes for the gate switching whereas the same function can be done using only 2 multi-contact relays. More on this later. In 1954, Bell Labs built the TRADIC (TRAnsistor DIgital Computer) and it was the first computing machine to eliminate vacuum tubes and relays. In 2026, for a single, monolithic die, ~104 billion transistors (about 26 billion logic gates) is the state of the art. This is a component in the NVIDIA/TSMC Blackwell B200, a data‑center AI GPU. Famously, the transistor was invented at Bell Labs (AT&T). It should be no surprise that telephone engineers were looking for a relay replacement (something faster, smaller, and more reliable). After all, "Necessity is the mother of invention". A trio of Bell scientists John Bardeen, Walter Brattain, and William Shockley invented the transistor in December of 1947. All three received the Nobel Prize in Physics in 1956. The First Binary Adder using Relays George Stibitz (mathematician at Bell Labs) is recognized as the father of the binary adder using relays. In his kitchen in 1937 he built the Model K relay adder (using two telephone exchange relays) with two input switches, A and B (0 and 1 inputs), and 2 outputs Sum and Carry_out (lamps). This was the first relay-based binary adder, albeit very rudimentary. Of note, his concept model was only a “half adder”. This means that there was no “Carry_in” terminal only and A and B keys. Two of these adders can be easily combined to make a “full adder” with 3 inputs and 2 outputs. Check out an interactive adder demo here (based on Boolean logic gates). See a video of a replica adder here . Keep In mind that the relay was invented 100 years earlier and it took a PhD mathematician to conceive of 2 relays doing binary math. This seems obvious today but was a gigantic intellectual leap in 1937. See Endnote A. This experiment started a fire at AT&T, and Stibitz was effectively the “chief engineer” on the Model I to Model VI relay calculators/computers over the next many years (discussed below). Model K, 1-bit binary adder by Stibitz (Computer History Museum) Konrad Zuse and the First Relay Computers In the 1930s, German engineer Konrad Zuse (with colleague Helmut Schreye) recognized that relays could be wired into networks that performed logical operations. He built a series of groundbreaking machines: Z1 (1936) – all mechanical logic/memory, proof of concept, unreliable Z2 (1939) – hybrid design, 16 bits integer math, 600 relays in total but using mechanical memory. The first computer to have relay-based adders and a prototype for the Z3 math hardware. It was operational very briefly [Zuse, page 61] Z3 (1941) – fully relay‑based, ~2,600 relays, 22-bit floating‑point arithmetic, program on punched film. The 22 bits were split as: 14 mantissa, 7 exponent, 1 sign. It needed 1,400 relays from the total just for bit memory [Williams, pg 214] The Z1/Z2 designs were powered by an electric motor. Through a system of cams, direction-changer levers, and pushrods located in the "basement" (lower layer) of the machine, rotational motor motion was converted into horizontal and vertical reciprocating motion. The machines used binary logic gates and were implemented with flat, sliding sheet-metal plates, pins, and guide slots. Very clever! The Z3 is widely regarded as the first working, programmable, digital computer. It proved that relays could implement not just arithmetic but general computation. Interestingly, it did not support a dedicated conditional branch instruction (If this, then jump there) yet is regarded as a computer by most experts. Computer scientist Raúl Rojas (1998) proved that the Z3 is theoretically Turing-complete, hence a computer not just a calculator [ Rojas]. There have been 4 major reconstructions of the original Z3. The Z3 1-bit full relay adder (5 relays) was not based on Stibitz design but a variation with some possible help from Helmut Schreye. See Endnote B. In his autobiography, The Computer – My Life (1993), Zuse said, "A relay computer doesn't just calculate; it works. It has a rhythm, a cadence, and when hundreds of relays flip in harmony, you can hear the logic happening ." The three Figures below show the Zuse Z3, all-relay computer. Zuse Z3 replica on display at Deutsches Museum in Munich The image above is from a 2016 article by Horst Zuse, son of Konrad Zuse. Note the blazing clock speed of 5.33 Hz. https://www.zuse.de Other Relay-based Machines The years 1940–1947 were the golden age of electromechanical machines. A calculator executes a fixed sequence of operations to evaluate mathematical expressions, whereas a computer uses conditional branching to dynamically alter its own execution path based on intermediate data. About the same time as Zuse, Bell Labs employees (George Stibitz and Sam Williams took the lead working with 20 other engineers) began building relay calculators then relay computers. Below are some notable models. The Model I was not programmable in the same fashion as the Zuse Z3, they are in different categories. Bell Labs Model I Complex Number Calculator ( 1940) – 450 relays and eight, 100-point, crossbar switches for memory 8 decimal places of precision, used a modified form of BCD arithmetic. Bell Labs Model II, Relay Calculator (1943) 493 relays, crossbar memory, operational until 1961 Bell Labs Model V Computer (1944) – 9,000 relays Harvard’s Model II Computer (1947) – Fully relay based with approximately 13,000 high-speed relays. Built by IBM as a partner. 10 digit floating point numbers, 8 additions per second The only mechanical parts were the peripheral input/output devices These models demonstrated that relay computers could be scaled, maintained, and operated reliably for long periods. All Bell Labs models were constructed with “telephone relays” designed by Bell Labs and manufactured by Western Electric Co, both subsidiaries of AT&T [Williams, pg 224] . Bell Labs Complex Number Calculator, Model Mark I, 1940 Photo archive, Lucent Technologies The Bridge to Electronic Computing Relay computers were slow by modern standards (about 5 to 15 additions per second) but they were the first machines to embody the full architecture of digital computers. Relay logic provided the conceptual blueprint that vacuum tubes, transistors, and integrated circuits would later accelerate by many orders of magnitude. Can Artificial Intelligence (AI) be implemented using only electromechanical relays? Check out a discussion on this here and the history of the relay here . Conclusion: A 300‑Year Journey to the First Computers From Pascal’s wheels to Babbage’s DE, to Stibitz’ K1 relay adder, to the Zuse Z3, the evolution of computing was a slow accumulation of breakthrough ideas: Mechanizing arithmetic Represent information symbolically Implement logic using electro-magnetics Store and manipulate state Build programmable systems The relay was the first true digital switch. A device that leapfrogged centuries of mechanical ingenuity and helped launch the dawn of the computer age. See a timeline of relay computer evolution here . For more information related to these topics including a list of DIY relay computers, check out the the main menu above. Endnotes A : Relay math was not completely foreign to Stibitz. He worked for Bell Labs (AT&T) and was certainly aware of how relays were used to count dial pulses from a caller. The Panel telephone exchange had a wonderful example of a relay-based digit counter using a so-called 1/2/4/5/Z code (1927). It wasn’t binary but a step in the right direction. See Fig 9 in the companion website Calling315.com for a description of how this worked. B . The original Z3 (destroyed in December of 1943, WW2) used 5 relays for each full adder circuit, or 6 with a "sum" relay output. The 1961 Z3 reconstruction by Konrad Zuse uses a 2 relay 1-bit full adder. Both the 5 and 2 relay circuits are described by [Zuse] , page 198. References Ifrah, Georges. The Universal History of Computing: From the Abacus to the Quantum Computer. Wiley, 2001. Kovalick, Al. https://www.calling315.com/history-of-the-telephone-relay Randell, Brian. The Origins of Digital Computers , 1982, pages 159, 183 Rojas, R., How to make Zuse's Z3 a universal compute r, IEEE Annals of the History of Computing ( Volume: 20, Issue: 3, July-Sept. 1998) Williams, Michael R. A History of Computing Technology. 2nd ed., IEEE Computer Society Press, 1997. Zuse, Konrad. The Computer – My Life . Springer, 1993.

  • Home | Vintage Relay Computers

    Work in Progress.. Stay Tuned Come back March 2027... (calling315.com companion site) Before vacuum tubes and transistors, pioneers like Claude Shannon, George Stibitz, and Konrad Zuse launched the computing revolution in the late 1930s using Boolean logic and electromechanical relays. A primary focus of this site is DIY relay-based computing, featuring articles ranging from logic basics to step-by-step guides on binary arithmetic using relays. Building a machine from scratch is more than a retro-engineering challenge—it is a hands-on masterclass in how the basic on/off switch forms the foundation of all modern computation. History : Select "Pascal to Zuse " in the menu above for the historical background of computation. The DIY Build : Select "R30 Computer " to follow the design, construction and operation of a 30-relay computer. Exploring : Visit "Explore the Contents " for technical explainers, historical context, prime examples of published DIY computers, interactive demos and understanding how to do complex math using relay-based adders. Your Home for Relay-based Computing

  • digital-logic-gates | Vintage Relay Computers

    Digital Logic Gates Before there were physical logic gates, there was the math. In 1847, English mathematician George Boole published The Mathematical Analysis of Logic. Boole pioneered the algebraic representation of logical operations corresponding to AND , OR , and NOT , laying the foundation for what later became Boolean algebra. Each performs some operation based on the 1/0 (TRUE/FALSE) state of its inputs. There is also a fourth operation, the XOR (Exclusive OR). Boole did not introduce the XOR operator or physical "gate" but he did introduce the concept. By wiring copies of these four basic gate types, we can construct any digital computing device. The four gates are: A and B are the inputs, either 1 or 0 for either. C is the output. Importantly, all digital gates are internally built from combinations of on/off switches. By definition; AND: A and B must both be 1 for C=1 OR: A or B must be 1 for C=1 XOR: Output C= 1 only when its two inputs are different . So, C=0 when A=B. INV: The output is the inversion of the input. 1 becomes 0 , 0 becomes 1 Experiment with the Digital Logic Evaluator below to see how each gate works. Keep in mind that all computer hardware operations are made from these gate types or logically equivalent circuits. Also, as highlighted on this site, all logic operations can be relay-based. The power of the inverter Augustus De Morgan, a 19th-century British mathematician proved (De Morgan’s Law) that NAND (AND with Inverter on output) gates alone can build any logic circuit. The same holds true for a NOR (OR with Inverter on output). This means that the four basic gates above can each be made using some wired combo of NANDs only (or NORs only). For example, here is the equivalent of a standalone XOR gate made with 4 NANDs. Why is this important? One gate type can be reapplied to make the most sophisticated computers imaginable. Is the NAND (or NOR) only approach the most efficient way to build any gate type? Not usually, but the concept is powerful. Also, without the inverter operation (needed for the XOR no matter how it is built), there would be no digital adders -- no computers. An inverter must be built using an active device like a relay or vacuum tube or transistor. On the other hand, AND and OR gates can be constructed using passive resistors and diodes only. In 1921 Emil Post, a mathematics professor, proved that a system of logic gates is only capable of performing any mathematical operations if it includes a way to flip bits, such as a NOT gate. Without this ability to invert values, a system relies entirely on gates whose outputs can never decrease when inputs increase, making general computation impossible. A relay is a natural inverter, it deserves our respect.

bottom of page