# 14.4 Analog Computer

Analog computers are used to simulate physical systems. These systems may be electrical, mechanical, acoustical, or what have you. An analog computer is basically a collection of integrators, differentiators, summers, and amplifiers. Due to their relative stability, integrators are favored over differentiators. It is not uncommon for analog computers to be made without any differentiators. Because physical systems may be described in terms of differential equations, analog computers may be used to solve these equations, thus producing as output some system parameter.

The basic advantage of simulation is that several variations of a given system may be examined in real time without actually constructing the system. For a large project this is particularly cost-efficient. The process starts by writing a differential Equation (first-, second-, or third-order) that describes the system in question. The Equation is then solved for its highest-order element, and the result used to create a circuit.

Example 10.4.1

Let’s investigate the system shown in Figure 10.4.1 . This is a simple mechanical system that might represent (to a rough approximation) a variety of physical entities, including the suspension of an automobile.

This system is comprised of a body with mass 𝑀 , that is suspended from a spring. The spring has a spring constant, 𝐾 . The mass is also connected to a shock absorber that produces damping, 𝑅 . If an external force, 𝐹 , excites the mass, it will move, producing some displacement, 𝑋 . This displacement depends on the mass, force, spring constant, and damping. Essentially, the spring and shock absorber will create reactionary forces. From basic physics, 𝐹=𝑀𝐴 , where 𝐴 is the acceleration of the body. If 𝑋 is the position of the body, then 𝑑𝑋/𝑑𝑡 is its velocity, and 𝑑2𝑋/𝑑𝑡2 is its acceleration. Therefore, we can say

In this system, the total force is comprised of the excitation force 𝐹 , and the forces produced by the spring and shock absorber.

The spring’s force is equal to the displacement times the spring constant:

The shock absorber’s force is equal to the damping constant times the velocity of the body:

By substituting and rearranging the above elements we find that

Here 𝐹 is seen as the input signal, and 𝑋 as the output signal. A somewhat less busy notation form is the dot convention. A single dot represents the first derivative with respect to time, two dots represent the second derivative, and so on. The above Equation may be rewritten as

This is the final differential equation. Note how it contains only derivatives and no integrals. The last step is to solve the Equation for the highest-order differential. By setting it up in this form, the simulation circuit may be realized without using differentiators. This will indicate how many integrators will be required.

This says that the second differential of 𝑋 is the sum of three components. To realize the circuit, start with a summing amplifier with the three desired signals as inputs. This is shown in block form in Figure 10.4.2 . Note that two of the inputs use 𝑋 and the first derivative of 𝑋 .

These elements may be produced by integrating the output of Figure 10.4.2 . Appropriate constants may be used to achieve the desired signal levels. This is shown in Figure 10.4.3 . Certain elements may be combined; for example, a weighted summing amplifier may be used to eliminate unneeded amplifiers.

In use, the constants 𝑅 , 𝐾 , and 𝑀 are set by potentiometers (they are essentially nothing more than scaled gain factors). A voltage representing the excitation force is applied to the circuit, and the desired output quantity is recorded. Note that the output of interest could be the acceleration, velocity, or displacement of the body. In order to test the system with a new spring or damping constant, all that is needed is to adjust the appropriate potentiometer. In this manner, a large number of combinations may be tried quickly. The most successful combinations may then be built and tested for the final design. An analog computer such as this would be very useful in testing such items as the suspension of an automobile or a loudspeaker system. To ease the design of the simulation circuit, commercial analog computers are available. Construction (or programming) of the circuit involves wiring integrator, amplifier, and summer blocks, together with the appropriate potentiometers. In this way, the details of designing and optimizing individual integrators or amplifiers is bypassed.