दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Foundations of computing › Giant Brains › Full text

Giant Brains

Edmund Callis Berkeley · part 2 of 12 · 83,647 words

Public-domain edition · source: Project Gutenberg eBook #68991 · Public domain in the USA (Project Gutenberg)

Languages of Physical Objects

The use of pebbles (see No. 14) for keeping track of numerical information is shown in the history of the words containing the root calc-of the word calculate. The Latin word calcis meant pertaining to lime or limestone, and the Latin word calculus derived from it meant first a small piece of limestone, and later any small stone, particularly a pebble used in counting. All three of these meanings have left descendants: “chalk,” “calcite,” “calcium,” relating in one way or another to lime; in medicine, “calculus,” referring to stones in the kidneys or elsewhere in the body; and in mathematics, “calculate,” “calculus,” referring to computations, once done with pebbles.

The pebbles, and the slab (for which the ancient Greek word is abax) on which they were arranged and counted, were later replaced, for ease in handling, by groups of beads strung on rods and placed in a frame (see No. 17). These constituted the abacus (see Supplement 2 and the figure there). This was the first calculating machine. It is still used all over Asia; in fact, even today more people use the abacus for accounting than use pencil and paper. The skill with which the abacus can be used was shown in November 1946 in a well-publicized contest in Japan. Kiyoshi Mastuzaki, a clerk in the Japanese communications department, using the abacus, challenged Private Thomas Wood of the U. S. Army, using a modern desk calculating machine, and defeated him in a speed contest involving additions, subtractions, multiplications, and divisions.

The heaps of small pebbles, the notches in sticks, and the abacus had the advantage of being visible and comparatively permanent. Storing and reading were relatively easy. They were rather compact and easy to manipulate, certainly much easier than spoken words. But they were subject to disadvantages also. Moving correctly from one arrangement to another was difficult, since there was no good way for storing intermediate steps so that the process could be easily verified. Furthermore, these devices applied to specified numbers only. Also, there was no natural provision for recording what the several numbers belonged to. This had to be recorded with the help of another language, writing.

The language of physical objects was picked up from obscurity by the invention of motors and the demands of commerce and business. Commencing in the late 1800’s, desk calculating machines (see No. 19) were constructed to meet mass calculation requirements. They would add, subtract, multiply, and divide specific numbers with great accuracy and speed. But until recently they still were adjuncts to the other languages, for they provided figures one at a time for insertion in the spaces on the ledger pages or calculation sheets where figures were called for.

Beginning in the 1920’s, a remarkable change has taken place. Instead of performing single operations, machines have been developed to perform chains of operations with many kinds of information. One of these machines is the dial telephone: it can select one of 7 million telephones by successive sorting according to the letters and digits of a telephone number. Another of these machines is a fire-control instrument, a mechanism for controlling the firing of a gun. For example, in a modern anti-aircraft gun the mechanism will observe an enemy plane flying at several hundred miles an hour, convert the observations into gun-aiming directions, and determine the aiming directions fast enough to shoot down the plane. Punch-card machinery, machines handling information expressed as punched holes in cards, enable the fulfillment of social security legislation, the production of the census, and countless operations of banks, insurance companies, department stores, and factories. And, finally, in 1942 the first mechanical brain was finished at Massachusetts Institute of Technology.

The Crucial Devices for Mechanical Brains

Let us consider the two modern physical devices for handling information which make mechanical brains possible. These are relays and electronic tubes (Nos. 21 and 22). The last three kinds of equipment listed in the table (magnetic surfaces, No. 23; delay lines, No. 24; and electrostatic storage tubes, No. 25) were not included in any mechanical brains functioning by the middle of 1948. The discussion of them is therefore put off to Chapter 10, where we talk about the future design of mechanical brains.

Figure 1 shows a simple relay. There are two electrical circuits here. One has two terminals—Pickup and Ground. The other has three terminals—Common, Normally Open, and Normally Closed. When current flows through the coil of wire around the iron, it makes the iron a magnet; the magnet pulls down the flap of iron above, overcoming the force of the spring. When there is no current through the coil, the iron is not a magnet, and the flap is held up by the spring. Now suppose that there is current in Common. When there is no current in Pickup, the current from Common will flow through the upper contact, to the terminal marked Normally Closed. When there is current in Pickup, the current from Common will flow through the lower contact, to the terminal marked Normally Open. Thus we see that a relay expresses a “yes” or a “no,” a 1 or 0, a binary digit, a unit of information. A relay costs $5 to $10. It is rather expensive for storing a single unit of information. The fastest it can be changed from 1 to 0, or vice versa, is about ¹/₁₀₀ of a second.

Figure 2 shows a simple electronic tube. It has three parts—the Cathode, the Grid, and the Plate. The Grid actually is a coarse net of metal wires. Electrons can flow from the Cathode to the Plate, provided the voltage on the Grid is such as to permit them to flow. So we can see that an electronic tube is a very simple on-off device and expresses a “yes” or a “no,” a 1 or 0, a binary digit, a unit of information. A simple electronic tube suitable for calculating purposes costs 50 cents to a $1, only ⅒ the cost of a relay. It can be changed from 1 to 0, or back again, in 1 millionth of a second.

Relays have been widely used in the mechanical brains so far built, and electronic tubes are the essence of Eniac.

In the next chapter, we shall see how physical equipment for handling information can be put together to make a simple mechanical brain.

Chapter 3

A Machine That Will Think:

The Design of a Very Simple Mechanical Brain

We shall now consider how we can design a very simple machine that will think. Let us call it Simon, because of its predecessor, Simple Simon.

Simon, the Very Simple Mechanical Brain

By designing Simon, we shall see how we can put together physical equipment for handling information in such a way as to get a very simple mechanical brain. At every point in the design of Simon, we shall make the simplest possible choice that will still give us a machine that: handles information, transfers information automatically from one part of the machine to another, and has control over the sequence of operations. Simon is so simple and so small, in fact, that it could be built to fill up less space than a grocery-store box, about 4 cubic feet. If we know a little about electrical work, we will find it rather easy to make Simon.

What do we do first to design the very simple mechanical brain, Simon?

Simon’s Flesh and Nerves—representing Information

The first thing we have to decide about Simon is how information will be represented: as we put it into Simon, as it is moved around inside of Simon, and as it comes out of Simon. We need to decide what physical equipment we shall use to make Simon’s flesh and nerves. Since we are taking the simplest convenient solution to each problem, let us decide to use: punched paper tape for putting information in, relays (see Chapter 2) and wires for storing and transferring information, and lights for putting information out.

[Illustration: TWO-HOLED TAPE READER: Simon’s left ear that listens to numbers and operations.

FOUR-HOLED TAPE READER: Simon’s right ear that listens to instructions.

LIGHT BULBS: Simon’s eyes that wink answers.

FIG. 1. Simon, the very simple mechanical brain.]

For the equipment inside Simon, we could choose either electronic tubes or relays. We choose relays, although they are slower, because it is easier to explain circuits using relays. We can look at a relay circuit laid out on paper and tell how it works, just by seeing whether or not current will flow. Examples will be given below. When we look at a circuit using electronic tubes laid out on paper, we still need to know a good deal in order to calculate just how it will work.

How will Simon perceive a number or other information by means of punched tape, or relays, or lights? With punched paper tape having, for example, 2 spaces where holes may be, Simon can be told 4 numbers—00, 01, 10, 11. Here the binary digit 1 means a hole punched; the binary digit 0 means no hole punched. With 2 relays together in a register, Simon can remember any one of the 4 numbers 00, 01, 10, and 11. Here the binary digit 1 means the relay picked up or energized or closed; 0 means the relay not picked up or not energized or open. With 2 lights, Simon can give as an answer any one of the 4 numbers 00, 01, 10, 11. In this case the binary digit 1 means the light glowing; 0 means the light off. (See Fig. 1.)

We can say that the two lights by which Simon puts out the answer are his eyes and say that he tells his answer by winking. We can say also that the two mechanisms for reading punched paper tape are Simon’s ears. One tape, called the input tape, takes in numbers or operations. The other tape takes in instructions and is called the program tape.

Simon’s Mentality—possible Range of Information

We can say that Simon has a mentality of 4. We mean not age 4 but just the simple fact that Simon knows only 4 numbers and can do only 4 operations with them. But Simon can keep on doing these operations in all sorts of routines as long as Simon has instructions. We decide that Simon will know just 4 numbers, 0, 1, 2, 3, in order to keep our model mechanical brain very simple. Then, for any register, we need only 2 relays; for any answer, we need only 2 lights.

Any calculating machine has a mentality, consisting of the whole collection of different ideas that the machine can ever actually express in one way or another. For example, a 10-place desk calculating machine can handle numbers up to 10 decimal digits without additional capacity. It cannot handle bigger numbers.

What are the 4 operations with numbers which Simon can carry out? Let us consider some simple operations that we can perform with just 4 numbers. Suppose that they stood for 4 directions in the order east, north, west, south (see Fig. 2). Or suppose that they stood for a turn counterclockwise through some right angles as follows:

0: Turn through 0°, or no right angles. 1: Turn through 90°, or 1 right angle. 2: Turn through 180°, or 2 right angles. 3: Turn through 270°, or 3 right angles.

Then we could have the operations of addition and negation, defined as follows:

ADDITION NEGATION _c_ = _a_ + _b_ _c_ = -_a_
_b_: 0 1 2 3 _a_|_c_ _a_ +————————— ————+———— 0 | 0 1 2 3 0 | 0 1 | 1 2 3 0 1 | 3 2 | 2 3 0 1 2 | 2 3 | 3 0 1 2 3 | 1

For example, the first table says, “1 plus 3 equals 0.” This means that, if we turn 1 right angle and then turn in the same direction 3 more right angles, we face in exactly the same way as we did at the start. This statement is clearly true. For another example, the second table says, “2 is the negative of 2.” This means that, if we turn to the left 2 right angles, we face in exactly the same way as if we turn to the right 2 right angles, and this statement also is, of course, true.

With only these two operations in Simon, we should probably find him a little too dull to tell us much. Let us, therefore, put into Simon two more operations. Let us choose two operations involving both numbers and logic: in particular, (1) finding which of two numbers is greater and (2) selecting. In this way we shall make Simon a little cleverer.

It is easy to teach Simon how to find which of two numbers is the greater when all the numbers that Simon has to know are 0, 1, 2, 3. We put all possible cases of two numbers a and b into a table:

_b_: 0 1 2 3 _a_+————————— 0 | 1 | 2 | 3 |

Then we tell Simon that we shall mark with 1 the cases where a is greater than b and mark with 0 the cases where a is not greater than b:

Greater Than

b: 0 1 2 3 a+————————— 0 | 0 0 0 0 1 | 1 0 0 0 2 | 1 1 0 0 3 | 1 1 1 0 For example, “2 is greater than 3” is false, so we put 0 in the table on the 2 line in the 3 column. We see that, for the 16 possible cases, a is greater than b in 6 cases and a is not greater than b in 10 cases.

There is a neat way of saying what we have just said, using the language of mathematical logic (see Chapter 9 and Supplement 2). Suppose that we consider the statement “a is greater than b” where a and b may be any of the numbers 0, 1, 2, 3. We can say that the truth value p of a statement P is 1 if the statement is true and that it is 0 if the statement is false:

p = 1 if P is true, 0 if P is false

The truth value of a statement P is conveniently denoted as T(P) (see Supplement 2):

p = T(P)

Now we can say that the table for the operation greater than shows the truth value of the statement “a is greater than b”:

p = T(a > b)

Let us turn now to the operation selection. By selecting we mean choosing one number a if some statement P is true and choosing another number b if that statement is not true. As before, let p be the truth value of that statement P, and let it be equal to 1 if P is true and to 0 if P is false. Then the operation of selection is fully expressed in the following table and logical formula (see Supplement 2):

SELECTION c = a·p + b·(1 - p)

_p_: 0 0 0 0 1 1 1 1 _b_: 0 1 2 3 0 1 2 3 _a_+—————————————————— 0 | 0 1 2 3 0 0 0 0 1 | 0 1 2 3 1 1 1 1 2 | 0 1 2 3 2 2 2 2 3 | 0 1 2 3 3 3 3 3

For example, suppose that a is 2 and b is 3 and the statement P is the statement “2 is greater than 0.” Since this statement is true, p is 1, and

a·p + b·(1 - p) = 2(1) + 3(0) = 2 This result is the same as selecting 2 if 2 is greater than 0 and selecting 3 if 2 is not greater than 0.

Thus we have four operations for Simon that do not overstrain his mentality; that is, they do not require him to go to any numbers other than 0, 1, 2, and 3. These four operations are: addition, negation, greater than, selection. We label these operations also with the numbers 00 to 11 as follows: addition, 00; negation, 01; greater than, 10; selection, 11.

Simon’s Memory—storing Information

The memory of a mechanical brain consists of physical equipment in which information can be stored. Usually, each section of the physical equipment which can store one piece of information is called a register. Each register in Simon will consist of 2 relays. Each register will hold any of 00, 01, 10, 11. The information stored in a register 00, 01, 10, 11 may express a number or may express an operation.

[Illustration: S1-1 Relay not energized

FIG. 3. Register S1 storing 10.]

How many registers will we need to put into Simon to store information? We shall need one register to read the input tape and to store the number or operation recorded on it. We shall call this register the input register I. We shall need another register to store the number or operation that Simon says is the answer and to give it to the output lights. We shall call this register the output register O. We shall need 5 registers for the part of Simon which does the computing, which we shall call the computer: we shall need 3 to store numbers put into the computer (C1, C2, C3), 1 to store the operation governing the computer (C4), and 1 to store the result (C5). Suppose that we decide to have 8 registers for storing information, so as to provide some flexibility for doing problems. We shall call these registers storage registers and name them S1, S2, S3, ··· S8. Then Simon will have 15 registers: a memory that at one time can hold 15 pieces of information.

How will one of these registers hold information? For example, how will register S1 hold the number 2 (see Fig. 3)? The number 2 in machine language is 10. Register S1 consists of two relays, S1-2 and S1-1. 10 stored in register S1 means that relay S1-2 will be energized and that relay S1-1 will not be energized.

The Control of Simon

So far we have said nothing about the control of Simon. Is he docile? Is he stubborn? We know what his capacity is, but we do not know how to tell him to do anything. How do we connect our desires to his behavior? How do we tell him a problem? How do we get him to solve it and tell us the answer? How do we arrange control over the sequence of his operations? For example, how do we get Simon to add 1 and 2 and tell us the answer 3?

On the outside of Simon, we have said, there are two ears: little mechanisms for reading punched paper tape. Also there are two eyes that can wink: light bulbs that by shining or not shining can put out information (see Fig. 1). One of the ears—let us call it the left ear—takes in information about a particular problem: numbers and operations. Here the problem tape or input tape is listened to. Each line on the input tape contains space for 2 punched holes. So, the information on the input tape may be 00, 01, 10, or 11—either a number or an operation. The other ear—let us call it the right ear—takes in information about the sequence of operations, the program or routine to be followed. Here the program tape or routine tape or control tape is listened to. Each line on the program tape contains space for 4 punched holes. We tell Simon by instructions on the program tape what he is to do with the information that we give him on the input tape. The information on the program tape, therefore, may be 0000, 0001, 0010, ···, 1111, or any number from 0 to 15 expressed in binary notation (see Supplement 2).

How is this accomplished? In the first place, Simon is a machine, and he behaves during time. He does different things from time to time. His behavior is organized in cycles. He repeats a cycle of behavior every second or so. In each cycle of Simon, he listens to or reads the input tape once and he listens to or reads the program tape twice. Every complete instruction that goes on the program tape tells Simon a register from which information is to be sent and a register in which information is to be received. The first time that he reads the program tape he gets the name of the register that is to receive certain information, the receiving register. The second time he reads the program tape he gets the name of the register from which information is to be sent, the sending register. He finishes each cycle of behavior by transferring information from the sending register to the receiving register.

For example, suppose that we want to get an answer out of Simon’s computer into Simon’s output lights. We put down the instruction

Send information from C5 into O

or, more briefly,

C5 → O

But he does not understand this language. We must translate into machine language, in this case punched holes in the program tape. Naturally, the punched holes in the program tape must be able to specify any sending register and any receiving register. There are 15 registers, and so we give them punched hole codes as follows:

REGISTER CODE REGISTER CODE _I_ 0001 _C_1 1010 _S_1 0010 _C_2 1011 _S_2 0011 _C_3 1100 _S_3 0100 _C_4 1101 _S_4 0101 _C_5 1110 _S_5 0110 _O_ 1111 _S_6 0111 _S_7 1000 _S_8 1001

To translate the direction of transfer of information, which we showed as an arrow, we put on the program tape the code for the receiving register first—in this case, output, O, 1111—and the code for the sending register second—in this case, C5, 1110. The instruction becomes 1111, 1110. The first time in any cycle that Simon listens with his right ear, he knows that what he hears is the name of the receiving register; and the second time that he listens, he knows that what he hears is the name of the sending register. One reason for this sequence is that any person or machine has to be prepared beforehand to absorb or take in any information.

Now how do we tell Simon to add 1 and 2? On the input tape, we put:

Add 00 1 01 2 10

On the program tape, we need to put:

_I_ → _C_4 _I_ → _C_1 _I_ → _C_2 _C_5 → _O_

which becomes:

1101, 0001; 1010, 0001; 1011, 0001; 1111, 1110

The Usefulness of Simon

Thus we can see that Simon can do such a problem as:

Add 0 and 3. Add 2 and the negative of 1. Find which result is greater. Select 3 if this result equals 2; otherwise select 2.

To work out the coding for this and like problems would be a good exercise. Simon, in fact, is a rather clever little mechanical brain, even if he has only a mentality of 4.

It may seem that a simple model of a mechanical brain like Simon is of no great practical use. On the contrary, Simon has the same use in instruction as a set of simple chemical experiments has: to stimulate thinking and understanding and to produce training and skill. A training course on mechanical brains could very well include the construction of a simple model mechanical brain as an exercise. In this book, the properties of Simon may be a good introduction to the various types of more complicated mechanical brains described in later chapters.

The rest of this chapter is devoted to such questions as:

How do transfers of information actually take place in Simon?
How does the computer in Simon work so that calculation actually occurs?

How could Simon actually be constructed?

What follows should be skipped unless you are interested in these questions and the burdensome details needed for answering them.

Simon’s Thinking—transferring Information

The first basic thinking operation for any mechanical brain is transferring information automatically. Let us see how this is done in Simon.

Let us first take a look at the scheme of Simon as a mechanical brain (see Fig. 4). We have 1 input, 8 storage, 5 computer, and 1 output registers, which are connected by means of transfer wires or a transfer line along which numbers or operations can travel as electrical impulses. This transfer line is often called the bus, perhaps because it is always busy carrying something. In Simon the bus will consist of 2 wires, one for carrying the right-hand digit and one for carrying the left-hand digit of any number 00, 01, 10, 11. Simon also has a number of neat little devices that will do the following:

When any number goes into a register, the coils of the relays of the register will be connected with the bus.

When any number goes out of a register, the contacts of the relays of the register will be connected with the bus.

For example, suppose that in register C5 the number 2 is stored. In machine language this is 10. That means the left-hand relay (C5-2) is energized and the right-hand relay (C5-1) is not energized. Suppose that we want to transfer this number 2 into the output register O, which has been cleared. What do we do?

Let us take a look at a circuit that will transfer the number (see Fig. 5). First we see two relays in this circuit. They belong to the C5 register. The C5-2 relay is energized since it holds 1; current is flowing through its coil, the iron core becomes a magnet, and the contact above it is pulled down. The C5-1 relay is not energized since it holds 0; its contact is not pulled down. The next thing we see is two rectifiers. The sign for these is a triangle. These are some modern electrical equipment that allow electrical current to flow in only one direction. In the diagram, the direction is shown by the pointing of the triangle along the wire. Rectifiers are needed to prevent undesired circuits. Next, we see the bus, consisting of two wires. One carries the impulses for left-hand or 2 relays, and the other carries impulses for the right-hand or 1 relays. Next, we see two relays, called the entrance relays for the O register. Current from Source 1 may flow to these relays, energize them, and close their contacts. When the first line of the program tape is read, specifying the receiving register, the code 1111 causes Source 1 to be energized. This fact is shown schematically by the arrow running from the program tape code 1111 to Source 1. Finally, we see the coils of the two relays for the Output or O register. We thus see that we have a circuit from the contacts of the C5 register through the bus to the coils of the O register.

We are now ready to transfer information when the second line of the program tape is read. This line holds 1110 and designates C5 as the sending register and causes Source 2 to be energized. This fact is shown schematically by the arrow running from the second line of the program tape to Source 2. When the second line is read, current flows:

1. From Source 2.

2. Through the contacts of the C5 register if closed.

3. Through the rectifiers.

4. Through the bus.

5. Through the entrance relay contacts of the O register.

6. Through the coils of the _O_ register relays, energizing such of them as match with the _C_5 closed contacts; and finally

7. Into the ground.

Thus relay O-2 is energized; it receives current because contact C5-2 is closed. And relay O-1 is not energized; it receives no current since contact C5-1 is open. So we have actually transferred information from the C5 register to the O register.

The same process in principle applies to all transfers:

The pattern of electrical impulses, formed by the positioning of one register, is produced in the positioning of another register.

Simon’s Computing and Reasoning

Now so far the computing registers in Simon are a mystery. We have said that C1, C2, and C3 take in numbers 00, 01, 10, 11, that C4 takes in an operation 00, 01, 10, 11, and that C5 holds the result. What process does Simon use so that he has the correct result in register C5?

Let us take the simplest computing operation first and see what sort of a circuit using relays will give us the result. The simplest computing operation is negation. In negation, a number 00, 01, 10, 11 goes into the C1 register, and the operation 01 meaning negation goes into the C4 register, and the correct result must be in the C5 register. So, first, we note the fact that the C4-2 relay must not be energized, since it contains 0, and that the C4-1 relay must be energized, since it contains 1.

Now the table for negation, with c =-a, is:

_a_ | _c_ ————+———— 0 | 0 1 | 3 2 | 2 3 | 1

Negation in machine language will be:

_a_ | _c_ ————+———— 00 | 00 01 | 11 10 | 10 11 | 01

Now if a is in the C1 register and if c is in the C5 register, then negation will be:

_C_1 | _C_5 —————+————— 00 | 00 01 | 11 10 | 10 11 | 01

But each of these registers C1, C5 will be made up of two relays, the left-hand or 2 relay and the right-hand or 1 relay. So, in terms of these relays, negation will be:

_C_1-2 _C_1-1 | _C_5-2 _C_5-1 ——————————————+—————————————— 0 0 | 0 0 0 1 | 1 1 1 0 | 1 0 1 1 | 0 1

Now, on examining the table, we see that the C5-1 relay is energized if and only if the C1-1 relay is energized. So, in order to energize the C5-1 relay, all we have to do is transfer the information from C1-1 to C5-1. This we can do by the circuit shown in Fig. 6. (In this and later diagrams, we have taken one more step in streamlining the drawing of relay contacts: the contacts are drawn, but the coils that energize them are represented only by their names.)

Taking another look at the table, we see also that the C5-2 relay must be energized if and only if:

_C_1-2 AND _C_1-1 HOLDS: HOLDS: 0 1 1 0

A circuit that will do this is the one shown in Fig. 7. In Fig. 8 is a circuit that will do all the desired things together: give the right information to the C5 relay coils if and only if the C4 relays hold 01.

Let us check this circuit. First, if there is any operation other than 01 stored in the C4 relays, then no current will be able to get through the C4 contacts shown and into the C5 relay coils, and the result is blank. Second, if we have the operation 01 stored in the C4 relays, then the C4-2 contacts will not be energized—a condition which passes current—and the C4-1 contacts will be energized—another condition which passes current—and:

IF THE NUMBER AND THE C5 RELAYS IN C1 IS: THEN C1-1: AND C1-2: ENERGIZED ARE: 0 does not close does not close neither 1 closes does not close C5-2, C5-1 2 does not close closes C5-2 only 3 closes closes C5-1 only

Thus we have shown that this circuit is correct.

We see that this circuit uses more than one set of contacts for several relays (C1-2, C4-1, C4-2); relays are regularly made with 4, 6, or 12 sets of contacts arranged side by side, all controlled by the same pickup coil. These are called 4-, 6-, or 12-pole relays.

Circuits for addition, greater than, and selection can also be determined rather easily (see Figs. 9, 10, 11). (Note: By means of the algebra of logic, referred to in Chapter 9 and Supplement 2, the conditions for many relay circuits, as well as the circuit itself, may be expressed algebraically, and the two expressions may be checked by a mathematical process.) For example, let us check that the addition circuit in Fig. 9 will enable us to add 1 and 2 and obtain 3. We take a colored pencil and draw closed the contacts for C1-1 (since C1 holds 01) and for C2-2 (since C2 holds 10). Then, when we trace through the circuit, remembering that addition is stored as 00 in the C4 relays, we find that both the C5 relays are energized. Hence C5 holds 11, which is 3. Thus Simon can add 1 and 2 and make 3!

Putting Simon Together

In order to put Simon together and make him work, not very much is needed. On the outside of Simon we shall need two small mechanisms for reading punched paper tape. Inside Simon, there will be about 50 relays and perhaps 100 feet of wire for connecting them. In addition to the 15 registers (I, S1 to S8, C1 to C5, and O), we shall need a register of 4 relays, which we shall call the program register. This register will store the successive instructions read off the program tape. We can call the 4 relays of this register P8, P4, P2, P1. For example, if the P8 and P2 relays are energized, the register holds 1010, and this is the program instruction that calls for the 8th plus 2nd, or 10th, register, which is C1.

For connecting receiving registers to the bus, we shall need a relay with 2 poles, one for the 2-line and one for the 1-line, for each register that can receive a number from the bus. For example, for entering the output register, we actually need only one 2-pole relay instead of the two 1-pole relays drawn for simplicity in Fig. 5. There will be 13 2-pole relays for this purpose, since only 13 registers receive numbers from the bus; registers I and C5 do not receive numbers from the bus. We call these 13 relays the entrance relays or E relays, since E is the initial letter of the word entrance.

The circuit for selecting and energizing the E relays is shown in Fig. 12. We call this circuit the Select-Receiving-Register circuit. For example, suppose that the P8 and P2 relays are energized. Then this circuit energizes the E10 relay. The E10 relay closes the contacts between the C1 relay coils and the bus; and so it connects the C1 register to receive the next number that is sent into the bus. This kind of circuit expresses a classification and is sometimes called a pyramid circuit since it spreads out like a pyramid. A similar pyramid circuit is used to select the sending register.

We shall need a relay for moving the input tape a step at a time. We shall call this relay the MI relay, for moving input tape. We also need a relay for moving the program tape a step at a time. We shall call this relay the MP relay for moving program tape. Here then is approximately the total number of relays required:

RELAYS NAME NUMBER I, S, C, O Input, Storage, Computer, Output 30 P Program 4 E Entrance 13 MI Move Input Tape 1 MP Move Program Tape 1 ———— Total 49

A few more relays may be needed to provide more contacts or poles. For example, a single P1 relay will probably not have enough poles to meet all the need for its contacts.

Each cycle of the machine will be divided into 5 equal time intervals or times 1 to 5. The timing of the machine will be about as follows:

TIME ACTION 1 Move program tape. Move input tape if read out of in last cycle. 2 Read program tape, determining the receiving register. Read through the computing circuit setting up the _C_5 register. 3 Move program tape. Energize the _E_ relay belonging to the receiving register. 4 Read program tape again, determining the sending register. 5 Transfer information by reading through the Select-Sending-Register circuit and the Select-Receiving-Register circuit.

In order that information may remain in storage until wanted, register relays should hold their information until just before the next information is received. This can be accomplished by keeping current in their coils or in other ways. There is a type of relay called a latch relay, which is made with two coils and a latch. This type of relay has the property of staying or latching in either position until the opposite coil is impulsed (see Fig. 13). This type of relay would be especially good for the registers of Simon.

If any reader sets to work to construct Simon, and if questions arise, the author will be glad to try to answer them.

Chapter 4

Counting Holes:

Punch-card Calculating Machines

When we think of counting, we usually think of saying softly to ourselves “one, two, three, four, ···.” This is a good way to find the total of a small group of objects. But when we have a large group of objects or a great many groups of objects to be counted, a much faster way of counting is needed. A very fast way of sorting and counting is punch-card calculating machinery. This is machinery which handles information expressed as holes in cards. Punch-card machines can:

Sort, count, file, select, and copy information, Make comparisons, and choose according to instructions, Add, subtract, multiply, and divide, List information, and print totals.

For example, in a life insurance company, much routine handling of information about insurance policies is necessary:

Writing information on newly issued policies.

Setting up policy-history cards.

Making out notices of premiums due.

Making registers of policies in force, lapsed, died, etc., for purposes of valuation as required by law or good management.
Calculating and tabulating premium rates, dividend rates, reserve factors, etc.
Computing and tabulating expected and actual death rates; and much more.

All these operations can be done almost automatically by punch-card machines.

Origin and Development

When a census of the people of a country is taken, a great quantity of sorting and counting is needed: by village, county, city, and state; by sex; by age; by occupation; etc. In 1886, the census of the people of the United States which had been taken in 1880 was still being sorted and counted. Among the men then studying census problems was a statistician and inventor, Herman Hollerith. He saw that existing methods were so slow that the next census (1890) would not be finished before the following census (1900) would have to be begun. He knew that cards with patterns of holes had been used in weaving patterns in cloth. He realized that the presence or absence of a property, for example employed or unemployed, could be represented by the presence or absence of a hole in a piece of paper. An electrical device could detect the hole, he believed, since it would allow current to flow through, whereas the absence of the hole would stop the current. He experimented with sorting and counting, using punched holes in cards, and with electrical devices to detect the holes and count them. A definite meaning was given to each place in the card where a hole might be punched. Then electrical devices handled the particular information that the punches represented. These devices either counted or added, singly or in various combinations, as might be desired.

More than 50 years of development of punch-card calculating machinery have since then taken place. Several large companies have made quantities of punch-card machines. A great degree of development has taken place in the punch-card machines of International Business Machines Corporation (IBM), and for this reason these machines will be the ones described in this chapter. What is said here, however, may also in many ways apply to punch-card machines made by other manufacturers—Remington-Rand, Powers, Control Instrument, etc.

General Principles

To use punch-card machines, we first convert the original information into patterns of holes in cards. Then we feed the cards into the machines. Electrical impulses read the pattern of holes and convert them into a pattern of timed electrical currents. Actually, the reading of a hole in a column of a punch card is done by a brush of several strands of copper wire pressed against a metal roller (Fig. 1). The machine feeds the card (the bottom edge first, where the 9’s are printed) with very careful timing over the roller; and, when the punched hole is between the brush and the roller, an electrical circuit belonging to that column of the card is completed. The machine responds according to its general design and its wiring for the particular problem: it punches new cards, or it prints new marks, or it puts information into new storage places. Clerks, however, move the cards from one machine to another. They wait on the machines, keep the card feeds full, and empty the card hoppers as they fill up. A human error of putting the wrong block of cards into a machine may from time to time cause a little trouble, especially in sorting. Actually, in a year, billions of punch cards are handled precisely.

The punch card is a masterpiece of engineering and standardization. Its exact thickness matches the knife-blade edges that feed the cards into slots in the machines, and matches the channels whereby these cards travel through the machines. The standard card is 7⅜ inches long and 3¼ inches wide, and it has a standard thickness of 0.0065 inch and other standard properties with respect to stiffness, finish, etc.

The standard IBM punch card of today has 80 columns and 12 positions for punching in each column (Fig. 2). A single punched hole in each of the positions known as 0 to 9 stands for each of the digits 0 to 9 respectively. The remaining 2 single punch positions available in any column are usually called the 11 position and 12 position (though sometimes called the numerical X position and Y position). These two positions do not behave arithmetically as 11 and 12. Actually, in the space between one card and the next card as they are fed through the machines, more positions occur. For example, there may be 4 more: a 10 position preceding the 9, and a 13, a 14, and a 15 position following the 12. The 16 positions in total correspond to a full turn, 360°, of the roller under the brush, and to a complete cycle in the machine; and a single position corresponds to ¹/₁₆ of 360°, or 22½°. In some machines, the total number of positions may be 20. A pair of punches stands for each of the letters of the alphabet, according to the scheme shown.

A 12-1 J 11-1 Unused 0-1 B 12-2 K 11-2 S 0-2 C 12-3 L 11-3 T 0-3 D 12-4 M 11-4 U 0-4 E 12-5 N 11-5 V 0-5 F 12-6 O 11-6 W 0-6 G 12-7 P 11-7 X 0-7 H 12-8 Q 11-8 Y 0-8 I 12-9 R 11-9 Z 0-9

For example, the word MASON is shown punched in Fig. 3.

To increase the versatility of the machines and provide them with instructions, many of them have plugboards (Fig. 4). These are standard interchangeable boards filled with prongs on one side and holes or terminals called hubs on the other side. The side with the prongs connects to the ends of electrical circuits in the punch-card machine, which are brought together in one place for the purpose. On the other side of the board, using plugwires, we can connect the hubs to each other in different ways to produce different results. The single-panel plugboard is 10 inches long and 5¾ inches wide. It contains 660 hubs in front and 660 corresponding prongs in the back. A double-panel plugboard or a triple-panel plugboard applies to some machines. In less time than it takes to describe it, we can take one wired-up plugboard out of a machine and put in a new wired-up plugboard and thus change completely the instructions under which the machine operates. Many of the machines have a number of different switches that we must also change, when going from one kind of problem to another.

The numbers that are stored or sorted in punch-card machines may be of any size up to 80 digits, one in each column of the punch card. In doing arithmetic (adding, subtracting, multiplying, and dividing), however, the largest number of digits is usually 10. Beyond 10 digits, we can work out tricks in many cases.