# How analog computers work?

by Avichal
Tags: analog, computers, work
 P: 278 I don't know if analog computers exist or not but if they were to be made, how would they work? I have idea of how digital computers work, how memory, processor etc. work. With analog signals, you can perhaps do basic operations like addition, subtraction using amplifiers but how about storing them? Unlike digital information, you will need an infinite amount of bits to store it. Surely, there must be other ways. Any idea?
PF Gold
P: 5,477
 Quote by Avichal Any idea?
Yes, I have an idea. How about you do at least a trivial amount of research on your own. Google search will point you immediately to articles on analog computers. Read a few and if there are confusing things, come back and ask specific questions. This is likely to give you more targeted information, since your post above is very general and basically asks us to write you a text book on analog computers.
P: 278
 Quote by phinds Yes, I have an idea. How about you do at least a trivial amount of research on your own. Google search will point you immediately to articles on analog computers. Read a few and if there are confusing things, come back and ask specific questions. This is likely to give you more targeted information, since your post above is very general and basically asks us to write you a text book on analog computers.
True, I was trying to avoid reading about analog computers. I googled and didn't get any straight-forward answer. I hoped to get it here but it seems it's a rather general question with not so easy answer. I'll try to read about analog computers then.

HW Helper
P: 6,903

## How analog computers work?

A "classic" electrical analog computer is basically a programmable circuit with a range of voltage and accuracy, for example from -100 volts to +100 volts with an optional digital readout perhaps to the nearest 1/10th of a volt, and attached to an oscilloscope like crt for display. Key components are the op amps which integrate (sum) voltage inputs over time.

A typical circuit could be used to implement an ordinary differential equation, or perhaps a second order using feedback into integrators. There's also the ability to set the initial voltage state.

For a cosine wave, the circuit would be $\ddot x = -x$, meaning that the second derivative input is set to -x output. These would be connectors on the analog computer plug board type front panel with connections made by pluging in wires, and the initial voltage would be set to some non-zero value v0. The analog computer's circuit voltage would ideally oscillate between +v0 and -v0. The frequency would depend on the analog computers effective rate of integration.

There were(are?) also mechanical analog computers that used(/use?) cables, cams, gears, pulleys, spinning discs, ... in order to perform similar differential equation type operations.

Wiki article, directed to electrical analog computer section, includes this statement:

Analog computers are especially well-suited to representing situations described by differential equations.

wiki_electronic_analog_computers.htm
HW Helper
P: 6,903
 Quote by rcgldr Key components are the op amps which integrate (sum) voltage inputs over time.
I forgot to mention that the op amps that perform integration (summation over time) use feedback from capicitors. It's the capacitor feedback (basically a resistor - capacitor circuit) that performs the integration, since the voltage on the capacitor would be a function of input voltage and time. The op-amps without capacitor feedback would be used for normal voltage addition or subtraction (no time factor other than the response time of the op-amps).
 P: 278 Yes, I studied how analog computers would do operations like addition, subtraction, multiplication and more complicated ones. What I don't understand is the memory part. How would they store information? Using digital logic, you only have to store 1 or a 0 but using analog I have no idea how you would store any information
 Engineering Sci Advisor Thanks P: 6,067 You "input the program" by physically connecting the various parts of the computer as required, adjusting variable components like potentiometers to set the value of constants, etc. The simulation runs in real time (but not necessarily the same time-scale as the physical process you are modeling). You get the output as a trace on an oscilloscope, a line on a pen plotter, or whatever. Apart from that, there is no "memory" involved. For example in real life, the solar system doesn't have any "memory" of what it has to do to make the planets orbit the sun. An analog computer model of the solar system doesn't have any "memory" either. You set up some initial conditions, start it running, and it does whatever it does, in real time.
 P: 304 Sure there is "memory" in an analog computer in a sense. You can store a voltage on a capacitor for a short time (depending on the leakage of the capacitor). This "analog memory" is the very basis of switched-capacitor circuits which are in widespread use for signal processing inside integrated circuits. My current project is a pipelined analog-to-digital converter that has an analog memory circuit in each stage because it does its internal signal processing in the discrete-time domain. In some sense very simple analog computers have been subsumed into front-ends of signal processing chips. You would be hard-pressed to find a stand-alone analog computer these days. As an interesting aside regarding the "memory", up until maybe 10 years ago hard disk read channels and Ethernet transceivers regularly used analog equalizers on the front end to detect the bits. One approach was to implement a finite impulse response feedforward filter (with either a slicer or decision feedback equalizer on the back end). These were discrete time, so analog memory was essential! Cool stuff.
 P: 4,568 For storage, you may want to check out a memristor: (it can remember levels of resistance) http://en.wikipedia.org/wiki/Memristor
 P: 387 It's been decades since I operated an analog computer. The one I remember the most was similar to a "pong" game. Two oscillators, 90 degrees out of phase and operating at about 100 Hz would be used to trace out the image of the ball on the oscilloscope. One potentiometer controlled gravity. Gravity was integrated to produce velocity (voltage at a capacitor) and then vertical position - which was then added to the vertical trace of the ball. When the ball reached the floor or either wall, it flattened and bounced. Another potentiometer controlled the elasticity of the collision. Reducing gravity would allow the ball to reach higher positions. Turning the gravity up while the ball was high would cause it to speed toward the floor. It was easy to get the ball well over the top of the oscilloscope. Too high and you would trip a circuit breaker and have to start over.
P: 128
 Quote by Avichal Yes, I studied how analog computers would do operations like addition, subtraction, multiplication and more complicated ones. What I don't understand is the memory part. How would they store information? Using digital logic, you only have to store 1 or a 0 but using analog I have no idea how you would store any information
Capacitors can store information.
Inductors can briefly delay information for use in continuous analog calculations.
Analog sample and hold devices can lock to a voltage when triggered.
 P: 128 There were a lot of analog computers in airplane flight controls and flight simulators 30-40 years ago. They were the only way to do real-time simulation involving equations of motion. They were also the only way to do the more complicated flight controls that were being developed then.
 P: 6 Although there was no 'memory' There were program storage methods. I remember that punchcards were used before magnetic media. but they were very time consuming, and if you happened to drop a box of cards, it was painstaking to reassemble them in the correct order again.

 Related Discussions Academic Guidance 2 Quantum Physics 4 Science & Math Textbooks 3 Career Guidance 1 Differential Equations 2