Introduction To Analog Computer Programming, Dale I. Rummen
Introduction To Analog Computer Programming, Dale I. Rummen
ANALOG COMPUTER
PROGRAMMING
oaoe l.Rummnr
A
/
INTRODUCTION TO
ANALOG COMPUTER
PROGRAMMING
INTRODUCTION TO
ANALOG COMPUTER
PROGRAMMING
v
vi PREFACE
PREFACE, vii
CHAPTER 1 PERSPECTIVE, 1
1.1 Digital vs. Analog, 2 1.2 Mathematical Modeling, 3 1.3
Active vs. Passive, 4 1.4 Past, Present, and Future, 5 1.5
Exercises, 6
vii
Viii C O N TEN TS
BIBLIOGRAPHY, 156
APPENDICES
INDEX, 197
INTRODUCTION TO
ANALOG COMPUTER
PROGRAMMING
CHAPTER PERSPECTIVE
1
2 PERSPECTIVE
If two devices have mathematical models of the same form, then one
of these may be used as an analog of the other. The mathematical equa
tion that relates angular velocity, a>, iner tia, J, and mechanical damping,
D, for a simple rotational mechanical system will later be shown to be
(1-1)
(1-2)
1-5 Exercises
1. Some devices and processes are basically analog and others are basically
digital. For each device or process listed below, state whether it is digital or
analog in nature and state your reasons. Some of these devices or processes
may be either depending on certain variations of the device or the process.
a. a stop watch
b. an automobile speedometer
c. the odometer on an automobile
d. the tuning of a radio receiver
e. the computation of the cost of gasoline delivered by a gasoline pump
t. the playing of a piano
g. the playing of a violin
2. You are to create a mathematical model that describes the relationship
between the rate at which water flows from a hole in the side of a tank and
e height of the water above the hole. Devise and describe a procedure
using only materials normally found in a kitchen to obtain data on this
process.
3. If a a COnvenient to do so> carry out the experiment devised in Exercise 2
f
and determine an appropriate mathematical model from the data obtained.
Hint, semilog graph paper may be useful. If it is not convenient to carry
on thee^Penme^dutermme an apPr°Priate mathematical model based
on the data provided below.
Height-in. 23579
Flow rate-oz/sec .284 .347 .448 .529 .600
2 ANALOGS OF
ARITHMETIC OPERATIONS
7
8 ANAL OGS O F A RIT HMETIC OP ERATIONS
EXAMPLE 2-1
J kin 75X10~5 1c ^n
" ~ J?i„ " 5 X 10« = 15 x 10 amP
AMPL ITUDE SCA LIN G 9
To convert any distance (length, width, or height) on the real ship to the
corresponding distance on the model ship the distance in feet is multiplied
by the scale factor, kd. Assume that a cabin on the real ship has the
following dimensions:
length, / = 40 ft; width, w = 20 ft; height, h = 10 ft
Notice how the units of distance, feet and foot, cancel when the product is
taken to yield the unit of distance, the inch, for the model ship dimensions.
A conversion factor to convert from distance on the model ship to dis
tance on the real ship is sometimes desired. This factor can be computed
as:
on the model is 3.0 in. high. The height of the mast on the real ship is
as follows:
h = Kd * H = (20 ft/in.) * (3.0 in.) = 60.0 ft
Throughout this book lower-case symbols will be used for variables in the
real device or system, and the corresponding upper-case letters will be
used for the related variables in the analog computer model. Note also
that the lower-case letter is used for kd, which multiplies actual system
variables (lower-case) to obtain the computer model variables. Likewise
the upper-case letter is used for Kd, which multiplies computer model
variables (upper-case) to obtain system variables. The word system has
been introduced as a means of referring to the thing being modeled. When
a specific case is considered, there may be appropriate adjectives to
further identify the system of interest, that is, hydraulic system, vertical
position control system, speed regulating system, suspension system.
After the amplitude scaling has been established, the next step in creating
INV ER SION 11
2-3 Inversion
input 1
FIG. 2-1
SJ R/
x> wv A/W
i2
0
G
ground
}' -
FIG. 2-2
Connection of an Operational Amplifier as an Inverter.
the input voltage would be even smaller. Since the input resistance of
the operational amplifier is very high, the current into the B t erminal of
the amplifier is very small. The potential difference, V, across a resistor,
the current, / , throu gh the re sistor, and the va lue of the res istor, R ,
are related by Ohm's law as follows:
(2-3a)
(2-3b)
Y = -I2* Rf (2-3c)
SUMMATION 13
Since the current into the summing junction is very, very small, the cur
rents h and I2 are essentially equal, and the substitution of Eq. (2-3b) into
Eq. (2-3c) yields t he general relationship:
7 »-3d>
2-4 Summation
5= - ( A +2.0 5+ 5.0C)
FIG. 2 -3
The line from the vertex on the right side is the output of the operational
amplifier and is identified by the symbol, S. The three inputs to the sum
mer are identified as A, B, and C. The number by each of the inputs
shows the factor by which that input is multiplied before being summed.
The output from the summer is therefore as follows:
The negative sign on the process arises for the same reason that the sign
change takes place in the inverter. In fact, if the variables B a nd C are
made equal to zero, the summer shown in Fig. 2-3 reduces to the inverter
shown in Fig. 2-1. Fig. 2-4 shows the connection of an operational ampli
fier as a summer. The gain for each input is computed as:
ANAL OGS O F AR ITHMETIC O PER AT IONS
14
(2-4b)
-m
Rf
1 meg
AAAr-
Ri
1 meg
SJ
A > AAAr 01 ys
Ri
0.5 meg
r
ground
yy AA/V-
Rt
0.2 meg
cy yy AW
= [ A+ (2.0)5 + (5.0)C
]
FIG. 2-4
s = - ( - S ) = [- - ( A +2.05 + 5.0C)]
S = A+ 2 . 0 B + 5 . 0 C
FIG. 2 -5
Fig. 2-5 by combining an inverter with the circuit used previously. The
same result could have been obtained by inverting A, B, and C before
summing, but this procedure would have required the use of four opera
tional amplifiers (three inverters, and one summer) rather than the use of
one inverter and one summer. Such a reduction in the amount of com
puting equipment required to perform a particular job can frequently be
made by proper choice of the sequence of operations. If Eq. (2-4c) was
to be mod eled:
c>
s = A + 2.05-5.0C
FIG. 2-6
Connections of a Summer and Inverters to Implement Subtraction.
HI
<> k R
ground
FIG. 2-7
^ ARM
ground
FIG. 2 -8
Block Diagram Symbol and Electrical Connections for a Three-Terminal
Potentiometer.
electrical circuit on the right shows the LO terminal grounded. This con
nection is electrically equivalent to the two-terminal potentiometer shown
in Fig. 2.7.
The use of potentiometers permits the realization of more general co
efficients in a nalog computer modeling. Fig. 2-9 shows how the potenti
ometers a re used to obtain ratios that are not available on the basic
summer. The resulting gain is the product of the ratio set on the potenti
ometer a nd the gain of the input channel to which the pot is connected.
18 ANALO GS O F AR ITHM ETIC OP E RAT IONS
0.25
A>
0.75
B>
10
0.30
C>
FIG. 2-9
Block Diagram Showing Potentiometers and a Summer Used for More General
Summation.
The variables A and B are connected to inputs with a gain of 1.0 on the
summer and hence appear at the output multiplied by the negative of the
ratio set on potentiometers 01 and 02. Since the variable C feeds through
an input on the summer with a gain of 10.0, the variable C appears at the
output multiplied by —(0.3 * 10.0 ) or —3.0. P otentiometers, summers,
and inverters can be used to create analog computer models for some
problems involving algebraic equations.
EXAMPLE 2-2
This equation shows that a —5.0 vo lts should be summed with a +3.0
volts to obtain the variable Y. The block diagram for implementing this
equation is show n in Fig. 2-10.
-10 volts
+ 10 volts )>•
FIG. 2-10
EXAMPLE 2-3
0.5
FIG. 2-11
Block Diagram for a Variable Equal to the Difference of a Constant and Another
Variable.
0.5
X = 10 At
Y = -(-5.0 +3.01) -5 . 0 - 3 . 01
FIG. 2-12
If this circuit is tried, the voltage, X , will be found to be too small because
the current flowing in the ARM of POT 03 is much too large. This diffi
culty can be overcome by using an inverter between the two potenti
ometers as shown in Fig. 2-13. Note the change from +10 to —10 on the
HI terminal of POT 03. This change was needed to compensate for the
sign change introduced by the inverter 02. These ideas can be applied to
more complicated circumstances. The only difficulty that may arise is a
limitation on the number of inputs to a summer. These ideas are more
useful as applied to solving a set of simultaneous linear algebraic equa-
SOLUTION O F SIMU LTA N EOU S L INEAR E Q UATIONS 21
0.5
-10 volts )
k
-X
- i o voits y —
FIG. 2-13
tions than for solving single equations. The method of creating an analog
model of simul taneous equations will be considered next.
In the period from 1940 to 1950 there was considerable interest in using
analog computers for solving sets of simultaneous equations because the
only alternative method of solution was hand computation. Today the
interest has declined because it is possible to obtain solutions more easily
and economically by means of the digital computer. This discussion of the
analog solution of s imultaneous algebraic equations is included because
the basic method is the same as that to be considered later for solving sets
of simultaneous differential equations. The process also provides an
opportunity to practice on the analog computer the techniques learned
thus far.
EXAMPLE 2-4
The first step is much like that learned in algebra class, that is, solve
Eq. (2-7a) for the variable X .
The next step is different because rather than substitute into Eq. (2-7b),
we solve Eq. (2-7b) for the variable Y .
The next step is to model each of these equations on the analog computer
as shown in the block diagram of Fig. 2-14. The circuit shown in the
0.060
0.166
FIG. 2-14
upper part of the figure would produce the variable X provided that the
negative of t he variable Y was available. The circuit shown in the lower
part of the figure would produce the variable Y if the negative of the
variable X was available. Although it may seem like "black magic," the
model can be completed by connecting these two circuits together as
shown in Fig. 2-15 with the output of AMP 01 providing the variable Jto
the input of the circuit which computes the variable Y, and conversely
the output of AMP 03 providing the variable Y needed by the circuit
which computes the variable X. An amplitude scaling of o ne unit per volt
has been assumed. After this circuit is connected on the analog computer
and the potentiometers adjusted to the values indicated on the block dia
gram, the output of AMP 01 will be found to be 1.0 volt and the output of
SOL UTION OF SIM ULTAN EOU S LINEAR EQUATIO NS 23
0.060
FIG. 2 -15
Completed Block Diagram for Analog Model for Equation 2-7c and 2-7d.
AMP 03 will be 2.0 volts. These values will check if substituted in the
original equations. Although these results also check if substituted into
the derived Eqs. (2-4c) and (2-4d), a check here is a necessary but sufficient
check on the correctness of the solution. If a mistake had been made in
obtaining the second set of equations, the analog computer results would
check th e second set of equations but not the original set. The process
takes on even more the aura of "black magic" if the equations are inter
changed and the solution repeated. The block diagram for this case is
shown in Fig. 2-16. When this circuit is connected on the analog com
puter, the output voltages of the amplifiers take on one of the two possible
extreme values and the overload signal is actuated. For operational ampli
fiers rated for ± 10-volt outputs, the limiting values will have a magnitude
of 1 2 to 14 volts. The form of t he block diagram is the same for the two
cases, and both cases represent the same set of algebraic equations.
The reason for this seemingly strange behavior is not immediately
obvious, but some insight into this problem can be gained by considering
an an alytical solution by successive approximations. Assume that X is
zero and then solve Eq. (2-7d) for Y. Substitute this value of Y, 1.667,
into Eq . (2-7c) and solve for X. Substitute this value of X, 0.9334, into
Eq. (2-7d) and solve again for Y. This result, Y = 1.9711, when sub
stituted into Eq. (2-7c), yields an improved value for X of 0.99422. Thus
ANALOG S OF A RIT HMETIC OPE RAT IO NS
24
0.5
FIG. 2-16
Block Diagram for an Unstable Analog Model for Equation 2-7c and 2-7d.
A = +5 -1
-1 +3
As a general rule the analog solution and also the analytical solution by
successive approximations will be stable if the larger coefficients are
located on (or near for a larger than 2 by 2 array) the diagonal from the
upper left corner to the lower right corner, and if the equations are solved
from top to bottom for the unknowns from left to right. That is, solve
equation 1 forXi, equation 2 for unknown X2,. .., and the nth equation
for X n. A discussion of the question of the convergence of the solution for
systems of simultaneous equations from yet another point of view is given
in Appendix IV.
Another reason for the amplifiers to overload is that the solution re
quires numbers that with the assumed amplitude scaling cannot be
represented within the ratings of the amplifiers.
EXAMPLE 2-5
FIG. 2 -17
Block Diagram for Analog Computer Model for Equations 2-7e and 2-7f.
ANALOGS OF ARITHMETIC OPERATIONS
26
These equations are solved by the same process as in the previous ex
ample, and the resulting block diagram is shown in Fig. 2-17 The amph-
fiers will overload under these conditions because the solution to the
problem is * = 15 and y = 19 and hence the problem is not properly
scaled The same problem would arise if this problem were solved
graphically on a graph 10 in. by 10 in. if the scale were assumed to be one
unit of x or y equal to 1 in. The lines would intersect somewhere above
and to the right of the upper righthand corner of the page. We can solve
this problem either by taking a sheet of graph paper 20 in. by 20 in., or by
rescaling the problem to make 10 in. on the graph equal to 20 units of
x or y.
0.375
FIG. 2-18
Block Diagram for Analog Computer Model of Equations 2-7i and 2-7j.
E XERCISE S 27
These last two equations are substituted into the original set of simul
taneous equations, Eqs. (2-7e) and Eq. (2-7f), to yield the amplitude
scaled set of equations that can be modeled on the analog computer.
2-8 Exercises
100,000 200,000
ohms SJ ohms
ground
FIG. 2-19
200 K 200 K
ohms 5j ohms
ground
FIG. 2-20
FIG. 2-21
EXERCISES 29
FIG. 2 -22
0.3
> - Q^—>
F I G . 2- 2 4
14. Sketch the analog computer block diagram to implement the mathe
matical relation given. Assume that gains of 0.1,1.0, and 10.0 are available
on the inverter-summers. Use a minimum number of operational ampli
fiers and potentiometers.
a. SA = —0.8,4 + 0.5B + 2.0C - 0.05D
b. SB = 3.0A + B - 0.15C - D
15. Determine the mathematical relation between the output and the inputs
for each of the block diagrams in Fig. 2-25.
16. Can the block diagram for part b of Exercise 15 be simplified to use fewer
amplifiers? Assume the gains of 1, 2, and 5 are available on the summer-
EXERCISES 31
inverters. Sketch the simplified block diagram and verify that the relation
between the output voltage and the input voltage is the same as for the
original system.
17. Show all of the connections required to implement the block diagram
shown in Fig. 2-26 on one or more of the analog computers described in
Appendix I. Sketches of the panels will be found in these appendices.
Assume that the voltages X and Y are available.
FIG. 2 -26
18. Sketch the analog computer block diagrams to implement the equations
listed below. Assume that voltages to represent all variables on the right
are available.
a. P = 8.0 - 4.00
b. P = 6.0 + 5.00
19. Set up on the analog computer available to you the block diagram shown
in Fig. 2-13. If your computer has a reference voltage other than 10 volts,
use that voltage rather than 10 volts. Measure Y for the following values
of k:
23. Solve algebraically the system of equations for Exercise 22. Would a
computer with a Cm of 10 volts be able to model this system adequately?
24. Set up on an analog computer a model of the system of equations given in
Exercise 22. Rescale if necessary to fit the model to your computer. Com
pare the answers obtained with those computed in Exercise 23.
25. Determine the general relationship between Y and X for the system shown
in Fig. 2-27. For what purpose might this circuit be useful?
FIG. 2-27
CHAPTER Q_ ANALOGS OF
CALCULUS OPERATIONS
v= ~ and x = Jj vdt
dt
33
34 ANALOGS OF CALCULUS OPE RATIONS
3-1 Differentiation
Consider a tank for storing water such as is shown in Fig. 3-1. Assume
that this tank is a right-circular cylinder with circular cross section located
in the horizontal plane. The amount of water, Q, stored in the tank is
Q = AH
F-
dQ
side
= A dH
dt
FIG. 3-1
Q = A* H (3-la)
If the area of the tank is expressed in square feet and the depth of the
water is expressed in feet, then the volume of water in the tank is ex
pressed in cubic feet. The rate at which water is flowing into the tank, F,
is the derivative of Q with respect to time, that is,
DIFFERENTIATION 35
Q = C*V (3-lc)
/=f (3.14)
7 =f = c *f <3-le>
Q = CV
c
I= = C-
' dt c dt
FIG. 3-2
Q —C * V Q = A* H
dV
I = C* ~r
*
II
dt
The most desirable kind of analog, however, would be one which pro
duced a voltage proportional to the derivative of the input voltage. By
Ohm's law the potential difference across a resistor is proportional to the
product of the resistance and the current that flows through the resistance.
The combination of a capacitor, a resistor, and an operational amplifier
as shown in Fig. 3-3 produces the desired analog model. The relationship
Vb
SJ
-AA/V
01
ground —
FIG. 3-3
between the input voltage, vi, and the output voltage, vj, can be derived
as follows assuming that the operational amplifier is ideal, that is, Vb = 0,
ib = 0.
„dvc „ dvi
/1 — L/» — C/ -j (3-lg)
dt dt
The current h is equal to the current, z'i, since the current into the input of
the o perational amplifier, ib, is zero for an ideal operational amplifier.
Therefore
dv i
n = li — lb = n (3-lh)
dt
Vb — v2 = h * Rf (3-li)
Since the input voltage, Vb, for an ideal operational amplifier is zero, the
output voltage, vi, is as follows:
38 ANALOGS OF CALCU LUS OPE RATIONS
— V2 = +*2 * Rf
or (3-lj)
V2 = —12 * Rf
v>=-Cd^*R,
(3-lk)
= - R f * C dvi
dt
EXAMPLE 3-1
v 2 = - R f * C ^ = -2.0 (3-H)
The input voltage, 01, is defined as a function of time by the upper graph
shown in Fig. 3-4. This is called a trapezoidal waveform. The derivative
with respect to time of t he voltage, v\, is plotted in the middle graph of
Fig. 3-4. During the time interval from 0 to 4 seconds, the derivative of
i?i, th at is, the slope of the graph, is as follows:
dvi (20 - 0) 20 c lA , ,
= (4^0)" = St
4~ volts/sec O-lm)
The slope of the graph for 01 in the interval from 4 to 8 seconds is equal to
zero since the function is constant. For the interval from 8 to 16 seconds
the derivative is as follows:
The remainder of the graph for dv\/dt is computed in the same way.
Eq. (3-11) relates the output voltage, 02, and the derivative of 01 with
respect to time, and thus relates the lower and middle graph of Fig. 3-4.
DIFFERENTIATION 39
FIG. 3-4
The reversal of sign in the process of differentiation occurs for the same
reason as in the case of the process of summation and in fact occurs with
all operations involving operational amplifiers.
Although the analog model of the process of differentiation can be
created easily as shown above, this analog is not used very frequently in
analog computation because differentiation accentuates noise. In most
cases the model can be created using only the process of integration. This
process is preferred because the averaging inherent in integration tends
to reduce noise that may be present. The creation of the electrical analog
to the process of integration also uses a capacitor-resistor network and
will be considered next.
3-2 Integration
dq
1
(3-2a)
dt
q = / idt (3-2b)
v =2 (3-2c)
The substitution of the integral relation for q into the last equation yields
the following:
These relations are summarized in Fig. 3-5. This analog model for integra
tion has a disadvantage similar to that of the simple capacitor circuit for
INTEGRATION 41
. _ dq
' ~ ~dt
q = J idt
Vc
-1 'c 5«"
•• =
f i g . 3-5
ground -=r-
RC
f i g . 3-6
This derivation assumes that the operational amplifier is ideal, that is,
the input voltage, Vb, a nd the input current, h, are small enough to be
considered to be zero. Refer to Fig. 3-6 for the circuit diagram. The input
current, zT, an d the output current, ii, are as follows:
. _ f(Pi - Vb)1 _ vi
L R J
R
(3-2e)
42 ANALOGS OF CALCULU S OPERATI ONS
Vi
12 = l\ ~ lb ~ ll = ~jZ (3-20
vc = vb — V2 (3-2g)
Since the voltage, Vb, is negligible compared to the voltage, V2, the output
voltage, V2, is a s follows:
(3-2h)
1. the input voltage, i?i , divid ed by the input resistor, R, determines the
current that is flowing,
2. this current is integrated with respec t to time to determine the cha rge
on the capacitor,
3. this charge divid ed by the value of capacitan ce, C, gives the value of
output voltage.
The block diagram symbol for the analog model of integration is also
shown in Fig. 3-6. The difference between this symbol and that for the
inverter is the addition of the rectangular box on the left side of the sym
bol. The number 01 identifies which operational amplifier is to be con
nected as an integrator. The number represented by the symbol k is the
reciprocal of the RC product of the integrator. This constant is called the
gain of the integrator. When the capacitance is measured in microfarads
(10~6 farad) and the resistance is measured in megohms (106 ohms), the
RC product has units of f arad-ohms or seconds. The analog model for
integration has associated with it the sign inversion seen previously for
the analog models of the process of s ummation and differentiation. Al
though the sign inversion for these processes could be eliminated by in
cluding an inverter with each of the analogs, this addition would need
lessly increase the cost of t he equipment. As will be seen later, the sign
inversion is taken into account in setting up the problem and an inverter
is added only if needed.
INTEGRATION 43
EXAMPLE 3-2
f i g . 3-7
*t SJ c
> wv
Ri B 0
v2> WV
vo — ~
f i g . 3-8
acting separately. For example, consider a scale for measuring the weight
of p eople. If one person weighs 125 pounds and a second person weighs
150 pounds, the scale registers 275 pounds if both are on the scale at the
same time. The block diagram for the combined operation of summation
and integration is shown in Fig. 3-9.
-J(£,V, + k 2 v 2 ) d t
f i g . 3-9
J 6x2dx — 2x 3 + IC (3-2i)
The symbol IC stands for the initial value of the integral. This initial value
will be a constant and its derivative will be zero. Thus the integral of 6x2
could be 2x3, 2x3 + 3, or 2x3 + any constant. The derivative of all these
functions is 6x2. Thus the analog model may also require provision for an
initial condition. An initial value for the output of a n analog integrator
requires that the capacitor be charged initially to a suitable voltage. This
is accomplished by connecting a suitable voltage to the terminal on the
integrator marked IC. The nature of the process of o btaining the initial
46 ANALOGS OF CALCU LUS OPER ATIONS
condition involves the sign change common to all operations using opera
tional amplifiers. Thus the initial condition obtained by connecting a
voltage +A to the IC terminal is — A. The block diagram for an integrator
with an initial condition connected is shown in Fig. 3-10. If no initial con-
Vo = -(v/c + kt f v,dt)
Vic = ~ vo(0)
f i g . 3-10
dition is desired, the connection is omitted on both the block diagram and
in the connections made on the analog computer. The initial condition is
then zero. The value of voltage needed for an initial condition may not be
directly available on the computer. In this case a potentiometer can be
used to attenuate or reduce the reference voltage to provide the desired
value. The coefficient required on the integration process may be a value
other than the standard gains available on the patch panel. In this circum
stance the potentiometer is used to obtain the desired value. The general
case of integration with an arbitrary gain and initial condition is shown in
Fig. 3-11. A specific example of this general case will be used in the next
section to generate a ramp function.
<-R
0
a IC
V,>
0 k
»'o = - ( ~ a 2 R +*1«I $ V i d t )
= a2 R — k i a l ^ v x d t
f i g . 3-11
The simplest function after constants are linear functions. The graph of
a linear function is shown in Fig. 3-12 in the familiar "slope-intercept"
form. The slope m is the ratio of Ay to Ax, and the intercept is the value
of b. Because the graph of such functions looks similar to ramps used to
move from one level to another, these functions are called ramp functions.
Ax
f i g . 3-12
0.5
f —10 vo lts
0.05 IC
f i g . 3-13
change at the rate of 0.5 volt per second. Thus the ramp generated will
have a slope of —0.5 volt/second. Potentiometer 02 attenuates the —10
volts to —5.0 volts, and the inversion makes the initial value of the out
put voltage equal to + 5.0 volts. The output voltage can be calculated
as follows:
t>o = -[(-10.0 * 0.5) + (1.0 * 0.05 J -1 0.0^0]
v0 = 5.0 + 0.5 J dt = 5.0 + 0.5/ (3-3)
The result is plotted in Fig. 3-14. Since the analog computer is assumed to
start calculating at time equal to zero, there is no curve to the left of the
origin. The limited range of t he output voltage of th e operational ampli
fier provides a limit on the magnitude of the function that can be gen
erated. This limit was assumed to be 10 volts for the present example.
f i g . 3-14
The usual process of interest is not to compute the function that will be
generated by a given analog computer configuration, but rather, given the
function that one wishes to generate, to create the analog computer
configuration that will do the job. The former process is known as
analysis, and the latter process is known as synthesis. The usual activity
of engineers is that of creating or synthesizing a system or device to per
form a specified j ob. The analog computer is a useful tool for synthesis
because models can be easily created on the analog computer and tested
to see whether the performance is satisfactory. Consider the problem of
generating the function shown in Fig. 3-15. The slope is positive and has a
GENERATION OF POLYNOMIAL FUNCTIONS 49
f i g . 3-15
value of (18/50) or 0.36 volt per second. Therefore, the input voltage
should be —0.36 volt, which can be obtained by potentiometer 01 set for
0.036 and connected to —10 v olts. The initial condition is —9.0 volts,
which can be obtained by connecting +9.0 volts to the IC terminal. This
is obtained from potentiometer 02 set for a ratio of 0.90 and connected to
+ 10 volts. See Fig. 3-16 for the block diagram of the analog model to
generate the desired ramp function. Ramp functions are frequently
needed in analog computer models to provide a voltage that is a linear
function of time to drive one axis of an X-Y plotter or other display device.
This application will be discussed in the next chapter.
0. 9
f i g . 3-16
Block Diagram of Analog Model for Generating Ramp Function of Fig. 3-15.
mx2 . , , n
c
z = —2— + ^
z = ax2 + ^ + C (3-4a)
<D
ic IC
e > 01 01 -» 02 02 ">vo
k-,
f i g . 3-17
„, , , Ekik2aia2t2
= — C + k2a2Dt 4 2
C = +10.0
The product of the constants k2, a2, and D m ust be 2.0. If D is chosen to
be +10 and k2 chosen to be 1.0, then a2 is 0.20, which is an appropriate
value to set on potentiometer 02. The value of 10 for D is appropriate if
the reference voltage is 10 volts. The value of 1.0 is generally an appropri
ate gain for an integrator. From Eq. (3-4c) it can be found that:
Assume: ki = 1.0
Therefore: a\ = 0.05
The block diagram for the analog computer model to generate the
polynomial of Eq. (3-4d) is shown in Fig. 3-18. A graph of the voltages vo
and v2 plotted as a function of time is shown in Fig. 3-19.
f i g . 3-18
The sine and cosine functions have an interesting property in that re
peated integrations will produce the function with which one started
except for a multiplicative constant. For example:
CO
f i g . 3-20
Next we will consider the integration of the negative sine function, since
we wish to make an iterative type operation. See Fig. 3-21. Again the in
put voltage, V2, has been multiplied by the constant co to facilitate the
integration. The result, V3, is a negative cosine function. The inverter 03
has been added to produce a positive cosine function.
CO
f i g . 3-21
The analog models shown in Figs. 3-20 and 3-21 can be combined to
form a sinusoidal function generator. Before reading on, the student
should try to put the two parts together to form this generator.
The terminals marked V2 are connected together and the terminals
marked and v\ are connected together. The complete system is shown
va
54 ANALOGS OF CALCULU S OPERATION S
f i g . 3-22
in Fig. 3-22. The feature added here that was not in the preceding two
figures are the initial conditions A and B. If the initial conditions are both
zero, nothing is generated. If A is zero and B is —10 volts, the voltage, 113,
and the voltage, V2, will be as follows:
Although the reason for these results is not obvious, the correctness of the
statements can be easily verified by successive integrations and considera
tion of the sign inversion of the analog integrators. In similar fashion the
result for initial conditions of A = —10.0 volts and B = zero are as
follows:
V2 — +10 .0 * cos (cat)
V3 = —10.0 * sin (a>t)
Sinusoidal generators such as described are very useful for analog com
puter modeling because the value of the function at the start of the
computation can be adjusted and can be depended upon to be repeatable
for a fixed value of adjustment. Most signal generators, such as those
used in electronics laboratories, cannot be started in this fashion. The
conditions at the start would vary in a random fashion.
3-6 Exercises
Note: The real problems that an engineer or other person solves in practice are
not usually like the typical textbook problems that have just the right amount of
information and one unique answer. One of the first steps in solving such real
problems is to sort out the relevant material from that which is irrelevant. On
EXERCISES 55
occasion the information provided is not sufficient and certain assumptions must
be made. If it is necessary to make assumptions, they should be clearly labeled as
such. Some of the problems in this book will have too much or too little informa
tion. The student should therefore be alert.
2 X 10 5 ohms 10 X 1 0 - 6 farad
f i g . 3-23
6. a. What is the relationship between the output voltage, V2, and the in
put voltage, vi, for the analog computer circuit represented by the
block diagram shown in Fig. 3-24?
b. Sketch the analog computer circuit represented by this block diagram.
Assume that the feedback capacitor has a value of 1 X 10~6 farad.
FIG. 3-24
56 ANALOGS OF CALC ULUS OPE RATIONS
volts
0 1 5 6 10 11 15 16 t - sec
f i g . 3-25
7. a. The voltage vi has the waveform shown in Fig. 3-25. This voltage is
operated on by an analog computer circuit represented by the block
diagram shown below. Sketch the output voltage V2 ove r the time
interval 0 to 10 seconds,
b. Assume that the operational amplifier used is rated for operation over
a range of output voltage from —10 to +10. Does the 20 volt input
signal create any problems? Why or why not? How long can this
system operate before problems will arise? What is the problem?
8. a. What is the relationship between the input voltage and the output
voltage for the analog computer circuit represented by the block dia
gram shown in Fig. 3-26?
b. Sketch the analog computer circuit represented by this block diagram.
Assume that the feedback capacitor has a value of 10 X 10~6 farad.
f i g . 3-26
9. What is the relationship between the output voltage and the input voltage
for the analog computer circuit represented by the block diagram shown
in Fig. 3-27?
0.2
FIG. 3-27
EXERCISES 57
10. What is the mathematical expression for the voltage vz i n the analog
computer circuit represented by the block diagram shown in Fig. 3-28?
0.7
f i g . 3-28
11. A voltage waveform as shown in Fig. 3-29 is desired. Sketch the block
diagram representation of the analog computer circuit that will generate
this waveform. Assume that the reference voltage on the computer to be
used is 100 volts. Assume that the integrators to be used have gains of
1, 2, and 5.
f i g . 3-29
12. What is the mathematical expression for the output voltage, vz, in the
analog computer circuit represented by the block diagram shown in
Fig. 3-30?
ANALOGS OF CALC ULUS OPERA TIONS
<^+10 volts
va = 6 +2t
Vb = 3r-4r
f i g . 3-30
13. What is the mathematical expression for the output voltage, v2 in the
araloyomputer circuit represented by the block diagram shown in
0.3
0.5
+ 10 volts
— 10 volts
0.2 JC
0.4 IC
— 10 volts" 08
09
f i g . 3-31
14. What is the mathematical expression for the output voltage, v2, in the
Fig 3S32?mPUter CirCUlt represented by the block diagram shown iin
v a = I0e~ 2 1 )>.
Vb — — io voits y-
FIG. 3-32
EXERCISES 59
15. Sketch the block diagram representation of the analog computer circuit
which will generate the given function. Assume that the analog computer
used has a reference voltage of 100 volts, and that the integrators used
have gains of 1, 2, and 5.
[72 = 30 - 41 + 212
f i g . 3-33
POTENTIOMETER 01 02 03 04
17. Sketch the block diagram representation for the analog computer circuit
that will generate each of the voltages listed below. Assume that the
reference voltage on the computer being used is 10 volts and that the
integrator gains are 1 and 10.
a. 5 cos (21)
b. 8 sin (0.5r)
18. Show by means of detailed sketches how one or more of the analog com
puters described in Appendix 1 would be connected to implement the
block diagrams shown in Fig. 3-34.
ANALOGS OF CALCU LUS OPE RATIONS
03 ) < + ref
01 IC
C
1 01 02
10
02
(«)
02 ref 04 ref
IC
01 03 02 03
(•b)
f i g . 3-34
pump
qin = 60 cu ft/sec
q^ ou t, = 50cu ft/sec
'
50 feet h{0) = 30 ft
A = 40 sq ft
f i g . 3-35
chapter
RECORDING AND DISPLAY
OF SOLUTIONS
61
62 RECORDING AND DISPLAY OF SOLUTIONS
a. With the pen lifted off the paper, center the pen at the position desired
for the origin.
b. Lower the pen and cause it to move along the X-axis by changing the
X-axis centering control.
c. Return the pen to the origin and repeat with the F-axis control to draw
the F-axis. Return the pen to the origin and proceed with recording the
solutions.
The setting for the attenuator controls for each axis should be written on
the graph paper to permit proper labeling of the axes with voltages and
problem units. Suppose that the F-axis attenuator was set for 2 volts per
in. and the scale factor for the y variable was 5 ft per volt. Then 1 in. on
the F-axis equals a distance of 10 ft in terms of the problem variable
plotted on the F-axis. The scale factor on the F-axis is 10 ft/in.
The independent variable in many problems solved on the analog
computer is time. Thus a voltage proportional to time is needed to drive
one axis of the plotter. This voltage can be obtained by integrating a
constant voltage as discussed in Section 3-3. Suppose that the reference
voltage on the computer being used is 10 volts and that the solution is to
be plotted over a time interval of 20 seconds. The voltage on the time axis
of the recorder should change at the rate of 10 volts in 20 sec or 0.5 volt
per sec. The attenuator on the X-axis of the recorder should be set for
1.0 volt/in. assuming that the X-axis is 10 in. long. The circuit shown in
Fig. 4-1 will provide the proper operation of the pen on the X-axis of the
recorder. It has been assumed that the pen is located at the lefthand side
of the paper when zero volts is applied to the recorder. When the com
puter is switched to OPERATE, the time-base integrator 01 begins
64 RECORDING AND DISPLAY OF SOLUTIONS
0.05 1 v olt/in.
X-Y
—10 volts
>-© 0.5 volts
plotter
f i g . 4-1
integrating and the pen moves to the right at the rate of 0.5 in. per sec.
The X-axis would be marked to a scale of 2.0 sec per in.
Some plotters have an automatic pen lift connected to the analog
computer, and others have a manually operated pen lift. In the latter case,
the pen must be lowered before the computer is placed in OPERATE.
When the solution has been completed, the computer should be placed in
HOLD. After the pen has been lifted, the computer can be switched to
RESET, and the pen will return to the origin. If the computer is switched
directly to RESET, the pen will trace an unwanted line across the graph
paper. If the automatic pen lift feature is available, one should pause
briefly in the HOLD mode to give the pen lift time to function.
SomeX-F plotters have a built in time-base generator. The rate at which
the pen moves on the T-axis is controlled by a knob calibrated in in. per
sec. The desired rate is selected by positioning the knob. This time-base
generator must be placed in operation automatically by the computer
MODE control so that the plotter will start when the problem starts.
This synchronization is accomplished by connecting a special cable be
tween the plotter and the computer.
On the patch panel of some computers is a special set of terminals that
connect the plotting equipment. The voltages to be recorded are patched
into these terminals. A special cable between the plotter and the analog
computer completes the connection. On other computers the connections
are made directly from the appropriate amplifier outputs on the patch
panel to the recorder input terminals. It is appropriate also with theX-F
plotters to check the calibration of the plotter by connecting the reference
voltages to the plotter input terminals and observing that the proper de
flection is obtained.
the spot on the screen is proportional to the voltage applied to the input
terminals. The voltage applied to theZ-input moves the spot horizontally,
and the voltage applied to the F-input moves the beam vertically. Assume
that the attenuators are set for 2 volts per cm. If a voltage of 5 volts is
applied to theX-input and a voltage of 10 volts is applied to the F-input,
the spot will move 2.5 cm to the right and 5 cm up from the initial posi
tion. The same comments made above for the X-Y plotter apply to es
tablishing the proper scales on the display in terms of problem variables.
The oscilloscope may have a built in time-base generator to provide the
voltage to deflect the spot linearly with time on the horizontal axis. This
sweep must be started, or triggered, by a proper voltage from the analog
computer to the trigger input on the oscilloscope. Frequently the oscillo
scope will be used to check out the setup of the problem with the com
puter operating in the REP-OP mode, and then the computer will be run
in the regular mode while the solution is being recorded by the X-Y
plotter. In this case it is desirable to generate the time base for the oscillo
scope presentation on the analog computer because the same time-base
generator can then be used to provide the time voltage for theX-Y plotter.
The oscilloscope also has controls for centering the spot at the desired
location when zero voltage is applied to the input terminals. There also
will be controls for brightness (intensity) of the spot and for focus of the
spot. Some oscilloscopes have two or more input channels on the vertical
axis. The spot may make one trace for the first signal, and a second trace
for the next signal, and then repeat the sequence. This switching is per
formed automatically in an ALTERNATE sweep mode of operation.
There may also be a CHOPPED mode in which the two inputs are
switched alternately onto the spot. This switching is done at a high
enough rate so that the two traces appear to be continuous.
4-4 Exercises
Kx = 20 ft/volt
Ky = 5 ft/volt
cS
X5
u
a
•c
EXERCISES 67
Kp = 25 gal/volt
Kq = 2 gal/sec-volt
X- Y plotter
•10 vo lts^>
f i g . 4-3
oscilloscope
f i g . 4-6
70
CREATION OF ANA LOG MODELS OF DYNAMIC SYSTEMS 71
lies problem may have the same form as the analog computer model for
cooling of a hot body. This of course results from the similarity of the
mathematical models. Examples will be chosen from thermodynamics,
dynamics, hydraulics, transient electrical circuits, and chemical rate
dynamics.
The analog computer cannot make up for any lack of understanding
of the problem on the part of the user. If the user creates a good mathe
matical model and implements it correctly on the analog computer, the
resulting analog model will be a good model. A poor mathematical
model, even if co rrectly implemented on the analog computer, will still
result in a poor analog model. Needless to say, a correct mathematical
model incorrectly implemented will result in an erroneous analog model.
Careful checking at all stages of the process of analog simulation is
necessary to insure the validity of the results that will b e obtained.
has a range from —2 volts to +5 volts, then the scaling on that variable
could be adjusted to give a range from —4 volts to +10 volts, and thus
give greater accuracy, assuming a range of computer voltage of —10
volts to +10 volts. If the range of a variable was —0.5 volt to +1.0
volts, then a change in scaling would certainly be needed to improve the
accuracy of the results, although the analog model would function. On
the other hand, if the scaling is in error such that the voltage representing
a variable exceeds the limit of the voltage possible for the particular
computer being used, then the computer may be stopped because of the
overload. Even if th e computer is not stopped automatically, the results
will be in error. The presence of an overload is indicated by a light, an
audible alarm, or perhaps both. An overload indicates that the problem
must be rescaled to reduce the offending variable. The initial values of
all variables should be checked to see that they are in agreement with
the problem specifications. The final values of some or all of the variables
may be known and should be checked. The only easy check on inter
mediate values of th e variables is in cases where the sum of several vari
ables is a constant. The repetitive mode of operation is very useful in
running trial solutions.
The fifth step is to operate the analog computer model for the various
values of the parameters which are of interest and record the solutions.
The attenuator settings and scale factors used should be carefully re
corded so that the results can be interpreted quantitatively. The graphs
should be completely labeled with variable names, problem units, and
titles.
The application of these five steps to the creation and testing of analog
models for several physical systems will be demonstrated by means of
some completely worked out examples. The student should look for the
thread of similarity in these examples because the same thread will be
found in all models of first-order systems regardless of the context of the
problem.
Tank A Tank B
f i g . 5-1
Hydraulic System.
The time rate of flow of water into Tank B, dq/dt, is related to the time
rate of ch ange of t he quantity of water in the tank by Eq. (5-2b).
$ = 2.0 * % (5-2b)
dt dt
The time rate of flow of water into Tank B is also related to the difference
in the level of the water in the two tanks by Eq. (5-2c).
^ = K * (20.0 - y) (5-2c)
dt
The general relation between depth, y, on the real system and the voltage,
Y, representing depth on the computer model is:
For the range of values of K from 4.0 to 1.0, there is no need for us to
consider time scaling of the problem, since the time required for the
real system to function, that is, to fill Tank B, ranges from 2.5 to 10.0
sec. This fact is demonstrated by the trial solution of the next section.
Values of K such that time scaling is required will be considered at the
end of t his example.
STEP 3. Implementing the Scaled Model
The next step in creating the analog computer model of the actual
system is to solve for the highest-ordered derivative, which in this case
is (dY/dt), since a first-order differential equation represents the system.
^ ^ * (10.0 - Y) (5-2k)
at l
If the output of an analog integrator is defined as —Y, then the input is
(dY/dt). The connection of an integrator, a summer, an inverter, and a
potentiometer as shown in the block diagram of Fig. 5-2 produces the
+10 volts
V
f i g . 5-2
(Y 0 /10)
shown in Fig. 5-4. The model of Fig. 5-2 has more amplifiers but is
easier to use since the ratio (AT/2) o ccurs only once, rather than twice
as with the alternative models shown in Fig. 5-3 and Fig. 5-4. The block
diagram for the complete analog computer setup including the time
base generator and the X-Y plotter is shown in Fig. 5-5. Potentiometer
04 provides an input of -1.0 volt to integrator 02. The output of ampli
fier 02 is a ramp voltage with a slope of +1.0 volt per sec. P otentiometer
03 has been added to provide an initial condition on the depth of the
water in the tank. Since the output voltage of amplifier 01 is —Y, a
positive voltage is used for the initial condition. This block diagram is
now complete, and the analog model can be implemented on the analog
computer by making the indicated connections. The connections on a
TR-20 computer for an analog model based on Fig. 5-5 is shown in Fie
5-6. 5*
o.
O
ctf
o
SJJOA-^ 3 §BJ[OA ,£
CM GO
a
OJ
y-X qjcbp D
HYDRAULIC SYSTEM 81
T-volts
f i g . 5-8
then the time required for y to attain its final value is approximately
5 r . The constant, r, is called the time constant. The general solution to
Eq. (5-21) is shown in courses in differential equations to be as follows:
y = yo + 0/ - yo)(l - e~"T) (5-2m)
The constants yo and y/ are the initial and final depth of the water in
the tank. The correctness of th is solution can be easily demonstrated by
differentiating Eq. (5-2m) and substituting y and dy/dt into Eq. (5-21).
When t is zero, the exponential term e° equals one, and y is equal to the
initial value of y or >>o. When the exponent t/r is greater than five, the
exponential term e~"T is less than 0.00674. Under these conditions the
value of y is very nearly equal to the final value y/, and the solution is
said to have attained a steady-state or static condition. Comparison of
Eq. (5-2d) and Eq. (5-21) shows that
82 FIRST-ORDER SYSTEMS
When K equals one, r equals 2.0 sec, and the solution is expected to
attain steady-state in 5 * 2.0 or 10.0 sec. When K equals 2.0, r equals 1.0
sec, and the solution is expected to attain steady-state in 5 * 1.0 or 5.0
sec. The solutions plotted in Fig. 5-7 demonstrate these ideas. The value
of t he time constant provides an indication of whether time scaling will
be required. For systems with values of r from 0.5 to 10 sec, no time
scaling is needed for recording with electromechanical X-Y plotters.
Let us consider some other values for the parameter K in the water
tank example in order to see the process of t ime scaling. If the value of
K were 0.05 sq ft/sec, then the time constant for this system would be
(2/0.05), or 40 sec, and the tank would require 200 sec to fill. See Fig.
5-9 for the block diagram. This period of time poses no problems from a
computational point of view, since the time-base generator could be
0.5
+10 volts)>-
0.025
+10 volts)*-
0.005
• 10 volts)>- T
zero to ten volts
in 200 seconds
f i g . 5-9
Block Diagram for Analog Model of Tank Problem with K = 0.05 and no Time
Scaling.
TIME SCALING 83
slowed down, but since the model on the computer can "fill the tank"
in 10 sec, the additional 190 seconds of computer time are wasted.
Furthermore, the accuracy of the potentiometer settings is low for low
ratios. Let T represent time on the analog computer model of the system
and let t represent time on the actual system. In a manner consistent with
the definition of amplitude scale factors, Kt is defined as the ratio of the
maximum time for the physical system, tm, to the maximum time desired
on the model, Tm, that is,
= (5-3a)
m
If the desired model t ime runs to 10 sec when the system time runs to
200 sec, then K, = 20.0 and has units of sec per sec. Problem time, t,
and computer time, T, are related by the scale factor K, in the following
ways:
t = Kt * T
or
T = ~ *t (5-3b)
The time rate of ch ange of a variable Y with respect to these two time
bases are related in the following way:
dY _ dY ^ dT
dt dT dt
(5-3c)
dY = dY^l_
dt dT * Kt
Substitution of E q. (5-3c) into Eq. (5-2k) and solving for (dY/dT) gives
the time-scaled equation:
dY K* K
M = - ^ *(10.0-7) (5-3d)
Since in the present example the value of K is 0.05, and the tank on the
model is to be filled in 10.0 sec, the value of Kt would be chosen to be
20 (the student should check this), and the time axis of the plot produced
on the X-Y plotter would be labeled to show 10.0 in. as representing 200
sec of time on the real system. Since the settings on potentiometers 01
and 02 are [(K * K,)/2] for the mathematical model after the time scaling
84 FIRST-ORDER SYSTEMS
—10 volts
0 to 10 volts
in 10 seconds
f i g . 5-10
Block Diagram for Analog Model of Tank Problem with K = 0.05 and Time
Scaling Kt = 20.
f i g . 5-11
momentum = Mv (5-4a)
force = (5-4c)
For the present case the force is due to gravity, and therefore,
M^ = Mg (5-4d)
do N
at - « (5"4e)
Assume that the problem is to run for 25 sec. The velocity will be 25
sec times 32 ft per sec2 or 800 ft per sec. Therefore, assume max|u| =
800 ft/sec.
„ 800 ft/sec ... .
" = i q volts = ft/sec-volt (5-4g)
= *f = (5-4j)
Division by Kv yields
ft 1G
-
(5"4k1
STEP 3. Implementing the Scaled Model
The computer voltage G which represents g is computed by using
Eq. (5-4h).
~ g 32.0 ft/sec2 . .n
G = ~ = . n c. , -t- ^ = 8 volts (5-41)
Ka 4.0 ft/volt-sec2
FREELY F ALLING BODY 87
_ d V = __ K a
dt Kv (5-4m)
(K/K r ) dV_
dt
~G> 02 »
f i g . 5-12
+ 10 volts^-
0.04
-10 volts
f i g . 5-13
The trial solution verifies t hat the variable V goes from 0 to 10 volts
in 25 sec and that T goes from 0 to 10 volts in 25 sec. C an you see from
the block diagram that V — T as would be expected from the nature of
the scaling?
88 FIRST-ORDER SYSTEMS
T-volts (2 volts/in/
f i g . 5-14
the velocity of the object and the opposing force may be very complex.
In some cases the frictional force may be considered proportional to the
velocity and is computed as
f = Dv (5-5a)
dv
M -jt = Mg - Dv (5-5b)
2 0 ^ = 2 0g — 1 0 o (5-5c)
20 * g = 10 v
For convenience assume max \v\ = 20 m per sec. The amplitude scale
factor Kv is for a 10 volt analog computer
K _ max |d | _ 20 m/sec
Cm 10 volts
= 2 m/volt-sec (5-5d)
90 FFRST-ORDER SYSTEMS
K*dit = K-G-T,K
~ G v (5"5f)
dt =Y
Kv ~Tr
M
G / 10 (Ka/Kv)
f i g . 5-15
(K a G/\0K,) = 0.49
0.05
f i g . 5-16
T-volts (2 v/in.)
f i g . 5-17
Plot of Velocity vs. Tim e for Falling Body with Viscous Drag.
92 FIRST-ORDER SYSTEMS
q= c,e (5-6a)
(5-6b)
Ct = 20 watt-sec/°C
Rt = 4°C/watt
Also assume that the maximum permissible temperature for this de
vice is 85°C and that the ambient temperature is 25°C. The difference
between the thermal power supplied and the thermal power conducted
serves to raise the temperature of the device. Thus:
d(CtO)
P'-P' = sr
= 6°C/volt (5-6e)
94 FIRST-ORDER SYSTEMS
Assume that the maximum thermal power of interest will be 100 watts.
Thus the amplitude scale factor Kp is as follows:
p — Kp* P (5-6g)
Substitution of these scale factor equations into Eq. (5-6c) yields the
amplitude scaled equation:
n d(K$Q) ^ n KgQ
c' ~dT ~ KpPs ~ ~r;
C,K,f t = K p P,~fe
do = KpPs 1
(5-6h)
dt CtKg R,Ct
— 10 volts )>•
f i g . 5-18
( P s / 120)
— 10 volts )>-
0.0125 01
f i g . 5-19
Fig. 5-19 if the variable dd/dt is not needed. The potentiometer settings
are computed as:
1 1
POT 02
RtC, (4°C/watt)(20 watt-sec/°C)
= 0.0125/sec
( P s / 12)
f i g . 5 -2 0
6 — 60 °C (above ambient)
Ps = 40
t-sec.
16 24
4 6
T-volts (2 volts/in.)
f i g . 5-21
100 90 80 70 60 50 40
6 = 60°C
(above ambient)
/-sec.
1.0 1.5
f i g . 5-22
100 10 .833
90 9 .750
80 8 .667
70 7 .583
60 6 .500
50 5 .417
40 4 .333
30 3 .250
20 2 .167
ya
>'b
r i L h L
K,
f i g . 5-23
Similarly the rate of tra nsfer out of Tank B into Tank C is proportional
to the difference in depths yb and yc.
The rate of change of hei ght is related to the net rate of flow out of the
tanks in general terms as
dya Ki Ki
~dt = ~~Aa <5"7h>
Assume that computer voltages Ya, Yb, and Yc represent the problem
variables ya, yb, and yc.
ya — K yaYa
yb — FybYb
yc = KycYc (5-71)
Then the equations of the mathematical model become
_ K \ K \
~dT~ ~Tj' + Tjb (5"7m)
f <n 5 -r 7 » (5 >7o)
= - - (f + z ) <
dYc
dt
= K2 „
A
(K2 , K3
"
Note that because Kya — K yb = Kyc that the equations are unchanged.
HYDRAULIC SYSTEM OF THREE TANK S
Note: See Table 5-2 for potentiometer settings and amplifier gains
f i g . 5-24
01 .05 1 01
02 (Ki/Ab) 0.533 1 05
03 CKl/Aa) 0.400 1 03
04 CKl/Aa) 0.400 1 03
05 (K2/Ab)+(Ki/Ab) 0.933 1 05
06 (Ki/Ab) 0.400 1 05
07 (K2/Ac)+(K3/Ac) 1.00 1 07
08 (K2/Ac) 0.600 1 07
09 (Yb/10) 0.200 IC 05
10 (Yc/10) 0.100 IC 07
5-8 Exercises
1. A water tank is in the shape of a right circular cylinder with the circular
cross section in the horizontal plane. The tank is 100 ft high and has a
diameter of 20 ft. Water is initially 80 ft deep. The discharge of water
through a pipe in the bottom is found to be proportional to the depth of
the water in the tank. The proportionality factor is 20 cu ft per sec-ft.
Create a suitable mathematical model (differential equation) which
describes this system.
Tank A Tank B
valve
f i g . 5-26
Tank A Tank B
area = A a area = A b
f i g . 5-27
Tank A Tank B
f i g . 5-28
describing this system. Assume that the pump is the same one used in
Exercise 3. Is this model valid for yb > yP
Will the system of Exercise 4 transfer the fluid faster than the system of
Exercise 3? Explain why or why not on a qualitative basis.
Assume the parameters listed below for the system of Exercise 2. The
mathematical model for this system then becomes:
— = — 0.60(ya - yb)
— = -f0.50(yfl - yb)
106 FIRST-ORDER SYSTEMS
K — 30 sq ft/sec ya(0) = 70 ft
Aa = 50 sq ft yA(0) = 5 ft
Ab = 20 sq ft
7. Assume that Exercise 3 has the parameters listed below. The mathematical
model for the system becomes
dy a
= -2.0 - 0.1(ya - yb)
K2 = 5 sq ft/sec y6(0) = 5 ft
ha = 80 ft
hb = 100 ft
8. Assume that the height yc for Exercise 4 is 60 ft. The mathematical model
for the system is then
dya
= - 2 - 0.1(ya - 60)
= 5 + 0.25(ya - 60)
EXERCISES 107
f i g . 5-29
^ dvi , Of - 02
". +, /.. - c, —+ =h
. . . _ dvi , V2 Vl —V2
109
110 SECOND-ORDER SYSTEMS
,d2x
kinetic M f t = Ma = M
energy dt2
potential^
energy*^ f3=Kx
>-v
M
-I
2/l-/l+/,+w(£WfUft-0
f i g . 6-1
the sum to zero by v irtue of the structure of the system. The inertial
force is proportional to the product of the mass and the acceleration
experienced by the mass. In equation form this force is as follows:
fi = Dv = (6-lb)
fi = K* x (6-lc)
Consider first the case where the external applied force is zero and the
mass is given an initial displacement from the zero position but no initial
velocity. For this case the sum of the forces is zero:
fi + fi + fi = M ^ -f D ~ + Kx = 0 (6-ld)
For convenience take the following numerical values for the constants
and the initial conditions:
M = 2.5 kg
D = 4.0 newtons/(m/sec)
K = 5.0 newtons/m
x:(0) = 0.5 m, u(0) = 0 (6-le)
The following integral relations result from the definition of the process
of integration and are useful in setting up the analog computer model.
dx ,
dt + Cl (6"lg)
/
dx f (fix ,
dl + C(Wh>
v
dx
= m/sec = 0.05(m/sec-volt) * V volts (6-lk)
=~Lm - 2-0(0-5)
= —1.0 m/sec 2 (5-11)
s p r i n g - m a s s - d a s hp o t s y s t e m h3
IP ~0AW (6-1 n)
"aTh
Eqs Tlgl^dlS^ Thferel.at,0"s are obtained from the integral
(6q^) and:i,ltIs,follows Utl°n * Srali"8 ^
n 0*5 V — ^ [(fix , f
W ~ di = J dfi + c2 =J 0l>vdt + 0.05V(0) (6-lp)
V = f v d t + 1/(0) (6.iq)
<- f/(0)
IC
u
— v> > U = - [ f - V d t - U ( 0)]
(6.1 -q)
IC < V(0)
0.2
- V
wy V = —[2 f wd t + V ( 0 ) ]
10
(6.1 - r )
0.8
F>
w= -(0.8F+ U)
U> (6.1-0)
fi g . 6-2
are rewritten as shown in Fig. 6-2. From this form of the equations, the
three block diagram segments can be easily drawn. The output W from
amplifier 01 provides the input needed for potentiometer 02. The output,
— V, from amplifier 02 provides the input needed for amplifier 03. An
inverter is needed to provide the +V input for potentiometer 01. These
connections are shown in Fig. 6-3. If the value of acceleration is not re
quired, the summer amplifier 4 may be omitted as shown in Fig. 6-4. In
this block diagram provision has been made for the initial condition on U
by connecting potentiometer 3 to the IC terminal on integrator 3.
f i g . 6-3
L©
10
u
0.2
10
^iL-0
f i g . 6-4
Note the changes in the ratios set on potentiometers 01 and 02. The
ratio on 02 is set to the value which preserves the gain around the upper
loop, that is, —10(0.8)(0.2) = —1.6. The ratio on 01 is set to the value
which preserves the gain around the lower loop, that is, —10(0.2) = —2.0.
— 10 volts
U
OA ' 02
-u
/ = 0.2T
<^4-10 vo lts
IC
0.1
10 v olts
f i g . 6-5
on the X-Y plotter. Therefore, the time scale must be changed to slow
down the generation of the solution. To cause the solution to be generated
only 20 per cent as fast, the gains of all inputs to integrators are multiplied
by 0 .20. Now 5 sec of computer time correspond to 1 sec of problem
time. The new block diagram is shown in Fig. 6-5. The results as plotted
on an X-Y plotter are shown in Fig. 6-6. Note that vertical axes are
marked in terms of b oth the computer variable in volts and the problem
variables in m a nd m per sec. The time axes is marked in terms of the
computer variable, T volts, the computer time variable in computer sec,
and the problem variable t in problem sec.
(Fx dx
MZfi + Dit + Kx=f (6-2a)
x = 0
i—a
f i g . 6-7
d2x _ f D dx K
(6-2b)
dt2 ~ M~ M~dt ~ MX
Suppose that the constants are the same as used in the previous example,
that the force applied is 2.0 newtons, and that the initial displacement is
zero. As time increases, the derivatives approach zero and the displace
118 SECOND-ORDER SYSTEMS
a _ / d
m K
M M MX
_ / _ 2.0 newtons
AT 5.0newtons/m
* = 0.4 m
Since this final displacement is less than the initial displacement of the
previous example, the maximum acceleration will be less than for the
previous example, and therefore the same ka will be valid. The constant
term f/M has a value of
/ 2.0 newtons __
j[f ~ 2 5 kg ~~ m/sec (6-2c)
Since this term has units of acceleration, the acceleration scale factor
should be used here. Assume that a voltage F on the computer represents
the term f/M. Then the voltage F a nd the term f/M are related in the
following way:
f
(m/sec2) = &a(m/sec2-volt) F(volt) (6-2d)
Solving for F and substitution of n umerical values for f/M and ka yields
«•*>
Substitution of the amplitude scaling equations into Eq. (6-2b) and solv
ing for IT yields
W = F - 0.8T - U (6-2f)
The integral equations which relate the computer variables are not
changed from the previous example because they depend on the relation
ships between displacement, velocity, and acceleration. The block dia
gram representation of the analog models for these three equations is
NONZERO FORCING FUNCTION 119
U = - [ f - V d t - U ( 0)]
- V =- f[ W
2 d t + K(0)]
f i g . 6-8
shown in Fig. 6-8. Compare with Fig. 6-2 and note that the only change is
the additional input Finto amplifier 01.
These models can be combined as in the previous exercise. Since the
solution will be g enerated too rapidly for plotting using an X-Y plotter,
time scaling is again required. The Block diagram for the analog model is
shown in Fig. 6-9 after all integrator gains have been multiplied by 0.2 to
slow down the computer model. Again 5 sec of computer time is equal to
1 sec of system time.
Compare the block diagram of F ig. 6-5 for the previous example with
Fig. 6-9 for this example. The solution curve for this problem is shown in
Fig. 6-10. Compare the solution curves for these two examples. Notice
that the velocity curve plotted in Fig. 6-6 is negative velocity. The velocity
is negative initially in the actual system because the mass is moving from a
positive displacement toward the origin or neutral position. The velocity
120 SECOND-ORDER SYSTEMS
curve plotted for the second system is a plot of p ositive velocity obtained
by inverting the voltage, — V, from the analog model. The time of occur
rence of certain events should be the same for these two systems. Some of
these pairs of events are tabulated in Table 6-1. Check the two curves to
see that the times are identical. Complete the table.
? JC = + 0.4
Consider a swinging door that is 1.0 m wid e and 2 m high and which
weighs 8.0 kg. This swinging door is returned to the closed position by a
torsional spring which has a torque constant of 0.3 newton-m per radian.
THE SWIN GING DOOR SY STEM 121
122 SECOND-ORDER SYSTEMS
Spring torque = KQ
dQ
Damping torque = Z) — (6-3a)
Inertial torque = J
at2
The angular position of the door with respect to its equilibrium position is
measured by the angle 0. The sum of t hese three torques is equal to the
applied torque which is zero for this problem. This condition yields the
mathematical model for the structure of the system given as Eq. 6-3b.
The definitions of angular velocity and angular acceleration yield the two
additional equations needed which are as follows:
df)
(6-3c)
-I ~dt + Q(0)
dQ
dt
THE SWIN GING DOOR SYSTEM 123
The ma ximum velocity may be three to four times the average velocity
since the initial and final velocity are zero. This gives an estimate of 1.2 to
1.6 m per sec for the maximum velocity. For convenience assume initially
that the maximum velocity is 2.0 radians per sec. The amplitude scale
factor fo r velocity is t herefore as follows:
dQ
Kv = max dt 2 radians/sec
(6-3g)
Cm 10 volts
= 0.2 radian/volt-sec
^ = K,V(6-3h)
at
124 SECOND-ORDER SYSTEMS
If the door is thin compared to the width, then the distance r from the axis
of rotation to the element of volume is approximately the x coordinate of
the volume. If the density, cr, is uniform and the thickness Z constant,
then the moment of inertia can be computed as
See Fig. 6-11 for a sketch of the door and the element of area. Integration
of Eq. (6-3j) yields
The product of the dimensions X, Y, Zof the door and the density <r gi ves
the mass M of the door. The original statement of the problem gave a
value of 8. 0 kg for the mass and 1.0 m for the width X of this door and,
therefore, the inertia / is:
(6-3 m)
THE SWIN GING DOOR SYSTEM 125
y-meters
7 = 2
x *-j
dx
door
x-meters
X = 1
f i g . 6-11
U( 0) = 6(0)
Kd
— 10 volts
such a way th at the friction of rotation of the rod and bob about the
support is quite small. A diagram of such a pendulum is shown in Fig.
6-14.
f i g . 6-14
The distance from the point of support to the center of g ravity of the
bob is represented by the symbol L. The mass of the bob is represented by
the symbol M, and the angle between the supporting rod and vertical is
represented by the angle 0 measured in radians.
fa = Mg sin 0 (6-4a)
130 SECOND-ORDER SYSTEMS
This force tends to cause the pendulum to move to the equilibrium posi
tion where 0 = 0. The pendulum also experiences an inertial force, /„
which can be calculated as
f > ~ u t («-4b>
v = Lw (6-4c)
fl = M*M = LM§(6-4d)
The third force acting on the bob is the damping force, which is assumed
to be proportional to velocity,
fd = DLu (6-4e)
The sum of these three forces is equal to zero, since there is no externally
applied force in this system. Thus the mathematical model that results
from the structure of the system is obtained by summing the forces as
follows:
f i + f d + f a= LM ~ +D c oL + Mg(sin 0) = 0 (6-4f)
sin 0 = 0 (6-4g)
dw Doo gQ
dQ
(6-4j)
dt
SIMPLE PENDU LUM 131
a l
+- +ze=° <6*4k>
- »+ ^ =0 (6-41)
These two equations can be solved together to eliminate one or the other
of the variables. If a> is eliminated, the following second-order differential
equation results:
d29 . D dQ q n tc a \
dfi + MY, + Le = 0 (6"4m)
dt + a<0) (6-4o)
For purposes of thi s example take the following as parameters for the
pendulum to be studied:
L = 1.0 m
M = 2 kg
D = 0.06 newton-sec/m
—0.1 < 0 < +0.1 radian
0(0) = 0.1 radian
g = 9.81 m/sec2
132 SECOND-ORDER SYSTEMS
For a reference voltage of ±100 volts, the amplitude scale factor for dis
placement is as follows:
ePQ
max = 0.981 radian/sec2 (6-4s)
dP
d2Q\
Ka = max dP |
Cm
1 radian/sec2
100 volts
Substitution of the amplitude scaling of Eq. 6-4u into the equations for
the mathematical model, Eqs. (6-4n), (6-4o), and (6-4p), yields the ampli
tude scaled equations:
f i g . 6-15
6-5 Exercises
1. a. Connect the analog model for the pendulum of the grandfather clock
and determine the period of oscillation, that is, the time required for
one complete cycle. This can best be obtained by recording the dis
placement for at least ten cycles. Check the computer variables V and
W to verify that the scaling is satisfactory,
b. Reduce the damping to zero and observe the period of oscillation. As
long as the damping is small enough, the damping should not much
influence the period of oscillation.
2. a. Adjust the length of the pendulum to obtain a period as near to 2.0
seconds as possible,
b. In physics books it is shown that the frequency of oscillation in radians
per sec of a simple pendulum is -\Jg/L. The frequency in cycles per sec is
obtained by dividing the frequency in radians per sec by 2ir. The period
of an oscillation is the reciprocal of the frequency in cycles per sec.
Using this series of calculations, check to see that the length which you
determined does indeed have a period of 2 sec.
EXERCISES 135
2t
f i g . 6-16
Blackburn Double Pendulum.
pendulum swings only in the y-z plane, the length of the pendulum is
effectively 40 cm plus the distance a. If the pendulum swings in the x-z
plane, the length is only 40 cm. If it swings in both planes, the total motion
is simply the sum of the individual motions.
136 SECOND-ORDER SYSTEMS
a.
Produce an amplitude scaled block diagram representation for an
analog computer model for this pendulum. The initial displacement in
the x-z plane should be 0.08 radian, and the initial displacement in
the y-z plane should be 0.04 radian.
b. Set the analog model up on an analog computer and study its behavior.
Hint: You will need to use small angle approximation to convert from
analog model variables for the angles with respect to the z-axis into dis
placements along the ^ and y axis for plotting.
5. Consider the problem of stopping a rolling freight car such as occurs at the
end of a spur track on the railroad. A schematic representation of this sys
tem is shown in Fig. 6-17. The mass of the car is 20,000 kg. The rolling
D
f i g . 6-17
Schematic Representation for Stopping a Rolling Freight Car.
friction of the car at low velocities is 1000 newton-sec per m. The spring co
efficient is 5000 newtons per m. The velocity of the car as it strikes the
bumper is 0.5 m per sec.
a. Create a block diagram of the amplitude scaled analog computer
model for this system. Chose scaling appropriate to the analog com
puter which you have available.
b. Run the analog simulation and determine
(1) the position of the car vs. time after impact.
(2) the velocity vs. time after impact.
(3) the acceleration of the car vs. time after impact.
c. What is the maximum deflection of the spring, and what is the maxi
mum deceleration of the car?
d. Based on the results of your analog simulation, should more damping
be added to reduce the rebound?
e. For the system as modeled, determine by trial and error the maximum
initial velocity with which the car can strike the bumper for a maximum
deceleration of 0.2 g.
6. Modify the model of Exercise 5 and determine how far the car would roll
on level track in the absence of the bumper for initial velocities of
a. 2 m/sec.
b. 1 m/sec.
c. 0.5 m/sec.
7. In what way can the analog model of Fig. 6-12 for the swing door be simpli
fied to use less equipment? Draw the simplified block diagram.
chapter NONLINEAR OPERATIONS
The electrical diode has the property that the resistance is very low
for current flow in one direction, called the forward direction. The re
sistance to current flow in the opposite direction, called the reverse
direction, is very high. Symbols for diodes are shown in Fig. 7-1. The
137
138 NONLINEAR OPERATI ONS
f i g . 7-1
symbol on the left is that commonly used for semiconductor diodes and
the symbol on the right is that used for vacuum diodes. Semiconductor
diodes are widely used in analog computers today because they have
adequate ratios of backward to forward resistance and they do not have
the heaters of the vacuum diodes. The forward direction is that indicated
by the arrow. It is customary to mark the cathode end with a K, or per
haps just with a band. The operation of diodes in a simple circuit is
illustrated in Fig. 7-2. In the left circuit the current is flowing in the re-
100 i f -
\
current small current large
diode reverse biased diode forward biased
f i g . 7-2
verse direction through the diode, and hence the diode exhibits a very
high resistance. Since the back resistance of the diode is very large com
pared to the resistance of the lamp, the lamp does not light. The diode
is said to be reverse biased. The connection of the diode has been re
versed in the circuit on the right; and the current now is flowing in the
forward direction of the diode, which is the low resistance direction.
Since the forward resistance of the diode is small compared to the re
sistance of the lamp, the lamp lights. The diode is now said to be forward
biased. The diode thus functions as a switch in an electrical circuit. If
the current tries to flow in the preferred direction, the switch is closed.
When the current tries to flow in the reverse direction, the diode acts
as an open switch.
Consider now the analog computer circuit shown in Fig. 7-3. A diode
has been connected in series with the feedback resistor. When the input
voltage is positive, the output voltage is negative, and the diode is con
ducting current in the forward direction. The forward resistance of the
DIODE L I M ITERS 139
R m =0
'.>—wv
0
\
SJ e
f i g . 7-3
f i g . 7-4
limiting is reversed. When the output voltage is positive, the diode is re
verse biased, and the circuit functions as a normal inverter with unity
gain. When the input voltage goes positive, the output tries to go negative,
but the diode is then forward biased and hence has a low resistance. Since
the gain is the ratio of the feedback resistance to the input resistance, the
140 NONLINEAR OPERATIO NS
V
+1
H-wv1!
e>>—WV
R
o
SJ o
- V
m = 0
f i g . 7-5
gain becomes very small, and the output voltage, ei, is constrained from
going negative.
Consider now the circuit shown in Fig. 7-5, which has added a battery
in series with the diode and the feedback resistor. This battery is assumed
to have a voltage, V, and to have an internal resistance that is negligibly
small compared to R. As long as the output voltage, C2, i s positive, the
diode will be forward biased and so will have a very low resistance. When
the output voltage is equal to — V, the voltage across the diode will be
zero because the summing junction is at a potential very near to zero.
When the input becomes more positive, the diode is reverse biased, and
the output voltage is prevented from going more negative than — V. Al
though this circuit is simple to understand, it is not convenient to supply
the voltage, V. Therefore, the circuit that is usually used is that shown
in Fig. 7-6. This circuit is a variation of that of Fig. 7-4 where the diode
— 10 volts
m = —1
f i g . 7.6
was in parallel with the feedback resistor. Assume that the potentiometer
is set for a ratio of a = 0.40. The voltage at the ARM of the potenti
ometer would be -4.0 volts when e2 = 0, and therefore the diode is
reverse biased.
The diode will be reverse biased as long as the potential at the arm
of th e potentiometer is negative. When the voltage, e2 has become suffi
ciently positive, there will be a potential difference of ten volts across the
upper portion of the potentiometer, and the voltage at the arm will be
zero. Under these conditions the voltage across the diode is zero, and
any further increase in the voltage, e2, will cause the diode to be forward
biased. The voltage across the entire potentiometer is e2 + 10. The
voltage across the upper part is:
The switching point, or zero voltage condition on the diode, occurs when
this voltage is equal to 10 volts. This condition gives Eq. (7-lb).
For any input voltage more negative than —6.67, the diode will be
forward biased, the feedback resistance will be very low, and the
output voltage is constrained to be not more than +6.67 volts. Rather
+ 10 volts
-V
f i g . 7-7
f i g . 7-8
than computing the ratio to be set on the potentiometer, the usual pro
cedure is to connect the circuit, supply a —10 volts for e\, and adjust
the potentiometer to give the desired output voltage. The circuit would
be set up as shown in Fig. 7-7 to limit in the other quadrant. The block
diagram representation of such a circuit is shown in Fig. 7-8. These
circuits demonstrate an application for the potentiometers that have
the lower end ungrounded. Note that the anode end of the diode is
connected to the summing junction, SJ, rather than to an input resistor.
Consider now the functional relationship between y and x that is
described by the graph of Fig. 7-9. This function is to be modeled on a
10-volt analog computer. This function can be broken into two parts
called y\ and as shown in Fig. 7-10. If y\ is added to yi, the result
f i g . 7-9
y =/(*)< i
m — 0
7.5
2.5
10 X
f i g . 7-10
will be the desired function. When x equals 2.0, y\ equals 0.5, and }>2
equals 7.5, these two values add to give the desired value of 8.0 as re
quired by Fig. 7-9. When x equals 10.0, y\ equals 2.5, y2 equals 7.5, and
the sum of y\ and y2 equ als 10.0 as required. These functions can be
created as shown by the block diagram of F ig. 7-11. Inverter 01 produces
— x, which is converted to —yi by potentiometer 03. Amplifier 03 inverts
this —yi to produce the +yi component of y. The inverter 02 with a
gain of 10.0 produces — y2 with a slope of —3.75. The diode and poten
tiometer 02 constrains y2 to be not more negative than -7.5 volts.
Amplifier 03 inverts this -y2 to produce the component of y.
+10 volts
H
0.375 L
+x
>
f i g . 7-11
f i g . 7-12
The manuals for your computer should be consulted for specific details
on patching and adjusting the diode function generators on your com
puter.
7-3 Multipliers
XY = [ j x + Y y - ( x - Y y ] (7-3a)
4
*>
f i g . 7-13
mult 7.045
FIG. 7-14
Block Diagram of Actual Multipliers.
side of t his figure. Inverters are required to produce the inverted signals
if they are not otherwise available. The simplified block diagram rep
resentation is often used to show multipliers, but all of the detail is
required for actually connecting the multiplier. The connections for the
BURR-BROWN Model 600 multiplier is shown in Appendix I-B.
Notice that the multipliers when implemented as a unit for the TR-20
or the BB-600 have a factor of 10 i ncluded in the design. This is done to
permit two voltages of 10 volts to be multiplied together without going
beyond the range of the computing equipment. This factor of ten must
be taken into account in creating the analog model. If the computer
was designed for 100 v olt reference voltages, the dividing factor would
be 100 so that two voltages of 100 volts would produce a product which
was 100 volts. The quarter square multiplier units can obviously be used
to produce the square of a variable by making Y = X. Diode function
generators are available for producing the square of a variable. These
special units may be more economical for some applications. The quarter
square multipliers can also be used to implement the process of division
as shown in Fig. 7-15.
MULTIPLIERS 147
FIG. 7-15
Block Diagram of Analog Division Circuit Using a Multiplier.
The operation of the circuit is evident from the constraint that the
current, h, is equal to the current, i\.
. _ Y _ . QX
11 R 12 10 R
101 Q = - (7-3b)
This process of division has the property that the quotient of two voltages
which are 10 volts will be a voltage which is also 10 volts. This amplitude
scaling must also be taken into account when the analog model is created.
The division process is implemented on the TR-20 computer as shown
in the diagram of Fig. 7-16. The nature of the process requires that the
FIG. 7-16
Circuit for Division on the TR-20 Analog Computer.
148 NONLINEAR OPERA TIONS
The problem of the pendulum involved the need for a sine function
in order to model the pendulum for other than small deflections. Sine
and cosine functions arise in many places where forces or motions must
be broken into components. Special diode function generators are made
for this purpose. These functions can also be generated by electro
mechanical servo type devices with special potentiometers which have
an output voltage proportional to the sine or the cosine of the angle of
rotation of the shaft of the potentiometer. The diode type generators
are generally preferred today because they can operate at much higher
speeds than the servo type generators. This process also must be scaled
to produce the reference voltage when the angle is 90°. The generation
of sine and cosine functions can be represented as shown in Fig. 7-17
FIG. 7-17
Generation of Sine and Cosine Functions.
EXAMPLE 7-1
The knot as a unit of speed is one nautical mile per hour. For conve
nience take the same scale factor on distance in both the E-W and N-S
direction.
The amplitude scale factor for the angle /3 is determined by the con
struction of the sine-cosine generator. Let us assume that a 10-volt
input corresponds to 180°.
x = 10T
j; = 107
^ = 180S
0 = 18B (7-4d)
150 NONLINEAR O PERATIONS
W-
FIG. 7-18
Geometry of Relations Between Speed, Bearing, and Velocity Components.
dx . „
•Jt = s sin ,3
dy
di = scos (7-4e)
x= dx
dt + x(0) = f 0 sin B)dt + x(0)
/
Substitution of the amplitude scaling Eqs. (7-4d) into Eqs. (7-4e) and
dividing by ten yields the equations for the analog model.
FIG. 7-19
Block Diagram of Analog Computer Model Demonstrating the Use of Multi
pliers and Sine-Cosine Generator.
The block diagram of Fig. 7-19 shows how the analog computer model
is c onnected. The polarity, plus or minus, of the voltage E conne cted
to the input side of potentiometer 01 determines whether the bearing
(8 is east of north or west of n orth. The sine-cosine generator G1 produces
the functions of 185 degrees multiplied by the reference voltage of 10
volts. Notice that this factor of ten and the divisor of t en on the multi
pliers, Ml and M2, cancel to give the inputs shown for the integrators
01 and 02. Gains of 18 are used on the integrators to meet the conditions
specified b y Eqs. (7-4g).
As a check on the analog model assume that the vehicle is moving at a
speed of 900 knots at a bearing of 90° East of North. Further assume,
for simplicity, that x(0) = j>(0) = 0- T he ratio set on potentiometer 01
is 0.50 and the voltage B is 5 volts. This 5 volts input to the sine-cosine
generator G1 produces functions of 90°, and hence Ei eq uals zero and
E3 = 10 volts. The voltage S is minus 5 volts. The voltage E4 is zero
because the voltage E2 is zero. The voltage Es is as follows:
This value will make 1 sec of problem time equal 1 sec of compu ter time.
A more appropriate scaling might be to make 1 minute of problem time
equal to 1 sec of computer time. Such scaling gives integrator gains of
0.30, which are more feasible than either of the previous values of 0.005
or 18.
7-5 Comparators
FIG. 7-20
Representation of Analog Comparator.
FIG. 7-21
Analog Model for Sump Pump Problem.
154 NONLINEAR OPE RATIONS
EXAMPLE 7-2
Consider the problem of the sump pump proposed earlier. A block
diagram of the analog model is shown in Fig. 7-21. Potentiometer 04
regulates the rate at which water flows into the tank and potentiometer
03 regulates the rate at which water is pumped out of the tank. When the
contacts K3a are in the position shown, the pump is turned off because
the ARM of potentiometer 03 is not connected to the integrator input.
When the contacts K3a shift to the other position, a positive voltage
is applied to the integrator input that will reduce the voltage, H, rep
resenting the depth of water in the sump. Three comparators are re
quired to model this system. Comparator K\ compares the height of
water, H, with the lower reference level, L, set by potentiometer 01.
When the water is deeper than L, the comparator energizes its relay
causing the contacts to take the position opposite to that shown on the
sketch. The comparator K2 compares the depth of the water, H, with
the upper reference level, U, which is set by potentiometer 02. When the
water is above the level, U, both A3 and K2 are energized. This completes
the path from the +10 reference voltage through K2a and Kla which
energizes comparator A3. When A3 is energized, the "pump" is turn ed
on and the water level be gins to fall. The contacts K3b prevent the pump
from being turned off when the water level falls below U. When the
water level falls below the lower limit, L, comparator ATI is de-energized
which opens the circuit through Kla to comparator A3. When this
circuit is opened, K3 is de-energized and the "pump" is turned off by
opening the circuit through K3a.
7-6 Exercises
1. Sketch the transfer characteristic for the analog circuit shown in Fig. 7-22.
2. Sketch the block diagram for an analog circuit that will provide the transfer
characteristic shown in Fig. 7-23.
EXERCISES 155
R
FIG. 7-22
y = /(*)
10
~ 7 ]
/}
71
\ v
-10 -3
2 10 X
-6
-8
FIG. 7-23
3. Check the manuals for your computer and sketch the panel connections for
a. forming the product of two variables,
b. forming the square of a variable which is always positive,
c. forming the square of a variable which is always negative,
d. forming the sine and cosine function of a variable,
e. forming the quotient of two variables for which the divisor is always
positive,
f. forming the absolute value of a variable.
4. Connect up the analog model of the sump pump and observe how the
cycling of the pump is influenced by the rate at which water runs into the
sump. Also investigate the effect of reducing the difference between the
turn-on level, L, and the turn-off level, U.
BIBLIOGRAPHY
Textbooks
156
BIBLIOGRAPHY 157
Periodicals
158
ELECTRONIC ASSOCIATES TR -20 ANALOG COMPUTER 159
modules plug are wired at the factory when the computer is manu
factured. The integrator networks may be obtained with provisions for
REP-OP (repetitive operation) for an additional charge. A REP-OP
control unit must also be added to provide for this type of operation. All
of th e components for the computing networks are contained inside the
computing modules. The connections are made by plu gging patch cords
in an appropriate manner between terminals on the front panel, or by
plugging in special jumper plugs. A prepatch panel can be added to per
mit programs to be patched together away from the computer, and then
the panel is inserted to connect the units on the computer as desired. This
prepatch capability permits wired programs to be sa ved, and the com
puter can be used for other problems by using a different prepatch panel.
The sections which follow describe how the patching (connecting) of the
modules is done on the TR-20 analog computer and how the computer
is operated.
FIG. 1-1
Potentiometer Panel on TR-20.
FIG. 1-2
"10" have a resistance of 10,000 ohms. The terminals in the red area of
the panel are all connected together and are the output terminals of the
operational amplifier. The upper amplifier, 1, has the summing junction
connected to the input and the output connected to a feedback resistor by
means of a double bottle plug. The numbers by the input terminals (green
region on the panel) are the factors by which the input is multiplied in the
process of summation. If only one input is used, then the operation is that
of inversion. The lower amplifier, 2, has been connected by using two
single bottle plugs. The feedback resistor is now one tenth the previous
value, and so the gains are reduced by a factor of ten. The student should
verify these gains from the principles of Chapter 2.
162 APPENDIX I-A
I-A-4 Integration
SJ
l O^W h , 0o-
1 B O o
1 o
SJ o
lo-W"
,0s IC o
10o^/VJ -10
volts
SJ o- Bo-
r-o0
1 o-
1 o-
lO o-
10 o-
1 2
dual D .C. amp. dual int. attn .
<( - 1 0 volts
V = -[/(A + 10 B)di-10 K]
FIG. 1-3
for the operation of t he relays which switch the computer from RESET
to HOLD to OPERATE. Three connections must be made between the
operational amplifier and the integrator unit. The pairs of terminals
marked B, SJ, and O must be c onnected together as shown in Fig. 1-3.
The integrator gains are the numbers marked by the input terminals. The
initial condition voltage is connected to the terminal marked IC. The
sign change that is inherent in all analog operations occurs here also, and
therefore, —5 volts connected to the IC terminal causes the initial condi
tion to be +5 volts. The pair of terminals just below the output terminals
must be connected by a single bottle plug for the repetitive mode of opera
tion (REP-OP). The integrating capacitor has a value of 10 micro-farads
when the computer operates in the normal mode. This value of capacitor
and an input resistor of 100,000 oh ms gives a gain of o ne as described in
Chapter 3. When the computer is operated in the REP-OP mode, the
value of all integrating capacitors is 0.02 micro-farad, and the gains of
all integrators are multiplied by 500.
1. Be certain that feedback is provided on all amplifiers, that is, each am
plifier should be connected for operation either as a summer with bottle
plugs, or as an integrator by removing the bottle plug and patching to
an integrator unit.
2. Make other connections as required for the problem.
3. Set the MODE control to RESET.
4. Set the COMPUTE TIME control to OFF.
5. Set the VOLTMETER range switch to 10.
6. Turn the POWER switch ON. The overload indicators will light
temporarily, but should go out after a few sec.
7. Set the MASTER POT switch to +10.
8. Set the VOLTMETER function switch to POT BUS.
9. Adjust each potentiometer for a zero reading on the voltmeter with the
POT BALANCE procedure described above.
10. Set the VOLTMETER function switch to AMPL.
11. Select the amplifier whose output is to be observed by setting the
AMPL switch to the number of that amplifier.
12. Set the MODE control to OPER, and the computer solves the problem
for which it is programmed. The solution is displayed by the voltmeter,
or plotted by an attached plotter. After the desired solution has been
generated, the MODE control should be placed in either HOLD or
RESET. The HOLD mode stops the solution and the value of all
voltages remains constant. The RESET mode re-initializes all initial
conditions in preparation for another solution.
164 APPENDIX I-A
10. Select the amplifier output to be observed and connect it to the display
unit. With some display units several different voltages can be observed
simultaneously.
11. Set the COMPUTE TIME control to 20 msec.
12. Set the MODE CONTROL to REP-OP and observe the solutions.
13. If a longer solution time is desired, select the appropriate time on the
COMPUTE TIME control.
14. Potentiometers can be adjusted to give the desired form of solution
while the computer is operating in the REP-OP mode. The numerical
value of this ratio can be determined by setting up the POT BAL opera
tion, but adjust the MASTER POT for a zero deflection while pressing
the appropriate potentiometer button.
I-A-7 Reference
165
166 APPENDIX L -B
Five of the potentiometers may be operated with the lower end un
grounded if desired. The computer may be operated in the following
modes: PATCH, RESET (this is also POT SET), COMPUTE, and
HOLD. These modes are selected by pressing a pushbutton along the
lower edge of the console. A red indicator marked DO NOT PATCH is
lighted when the computer is in any mode but the PATCH mode. In the
PATCH mode the reference voltages are removed from the front panel. A
voltmeter is located in the center of the upper panel and has three ranges;
NULL, X 1, and X 10. The desired range is selected by pressing the ap
propriate pushbutton. The pushbuttons that have been pressed remain
lighted until another button in the group is pressed. A row of OVER
LOAD INDICATOR lights are found on the left side of the upper panel.
If any of the amplifiers one through six has an output voltage in excess of
+10 volts, or less than —10 volts, the corresponding indicator light lights.
This is an indication that the amplifiers are operating outside their ratings
and that the problem solution may be in error. These lights will come on
momentarily when the computer is first turned on, but should go out in a
few seconds. If an overload indication persists, the associated amplifier
probably does not have a proper feedback connection with either a re
sistor or a capacitor. Just below the OVERLOAD INDICATORS is a
row of pushbuttons and jacks. The lower row of jacks connect to the
ground terminal of th e patch panel. The two upper terminals associated
with the buttons marked AUX are connected to the voltmeter when the
AUX button is pressed. The remaining jacks are connected to the output
terminals of the amplifier having the same number. These jacks may be
used to connect these output voltages to external equipment such as
recorders. When the numbered pushbutton is pressed, the output of that
amplifier is connected to the voltmeter circuit. The output terminal of
each amplifier is also connected to the jacks on each side of the patch
panel. The BUS 1 j acks on each side are connected together internally.
The BUS 2 jacks are also connected together internally. These BUS jacks
and output jacks are useful when two or more Model 600 computers are
used jointly for solving larger problems. A control cable plugs in on the
back to connect the mode control circuits of two or more Model 600
computers together. The patch panel is well laid out and diagramed in
such a way that the proper patching of the elements is virtually obvious.
o o
PI P2
-o-
p
o o
o o
•o >~Q
Q
FIG. 1-5
and the other is just to the left. These two jacks are connected together
internally. The lower inverter of the pair is connected in precisely the same
manner. The corresponding block diagram is shown in the lower portion
of Fig. 1-5.
A sketch of the portion of t he patch panel associated with a summer-
integrator is shown in Fig. 1-6. A shorting plug is connected between the
jack marked R a nd the jack marked SJ. Note that these terminals are not
marked on the panel of the actual computer. When this connection is
made, the simil arity between the appearance of t he patch panel and the
schematic diagram of a summer should be evident. Three variables, P, Q,
and R, are shown connected to inputs of this summer. The output is
labeled as T. The block diagram representation of t his summer is shown
at the bottom of Fig. 1-6.
FIG. 1-6
I-B-4 Integration
O
PI
O ;
•
FIG. I - 7
Panel Connections and Block Diagram Representation for an Integrator-Summer'
terminal C of the feedback capacitor and the summing junction SJ. Again
the similarity between the appearance of the patch panel and the sche
matic diagram of the integrator should be very evident. If an IC voltage is
needed on this integrator, potentiometer P\ should be us ed as shown in
the upper portion of Fig. 1-7. T he block diagram representation of this
INTEGRATOR-SUMMER is shown in the lower portion of the Fig. 1-7.
I-B-5 Multiplier
which involve the products, quotients, and square roots of variables. The
two inverters associated with a multiplier plus another amplifier operated
as an inverter are required to implement multiplication. The connections
for a multiplier are shown in Fig. 1-8. The construction of the multiplier
is such that the output voltage is the product of the input voltages
divided by ten. Thus the product of a voltage of 5 v olts and another of 7
volts is not 35 volts, but rather is 3.5 volts. If the same voltage is supplied
to both input terminals on the multiplier the output voltage is 0.1 times
the square of the input voltage. For example, if 6 volts is fed into both
inputs the output is 3.6 volts. Division and square root can also be per
formed. See the Burr-Brown manuals for details.
I-B-7 References
173
174 A P P E N D I X l- C
REP-OP display unit. The operating modes for this computer are: POT
SET, RESET, HOLD, OPERATE, and REPETITIVE OPERATION.
The desired mode is selected by pressing one of the MODE buttons along
the lower edge of the control panel. The integrator units may be obtained
either with relay mode control, or with electronic mode control for greater
precision at higher speeds. An array of t hree columns of buttons permits
the selection of any amplifier output, any coefficient potentiometer, or
input trunk for monitoring on the digital voltmeter, or on the panel
meter. The digital voltmeter has automatic range and polarity selection.
The zero center panel meter can also be connected to the selector circuit,
used to manually balance the amplifiers if needed, or to monitor the
power supply voltages. The voltmeter has five ranges selected by a rotary
switch. The time duration of the solution when in the REP-OP mode is
selected by a rotary switch located in the center of the panel. A vernier for
the solution time is located in the center of the range switch knob. Below
this is located the control for the motor which engages and disengages the
patch panel. On the lower left side of the control panel is the array of
OVERLOAD indicators. Below this is the power switch which turns the
computer on and off. A ll computing components are located behind the
panel and connections are made by means of bottle plugs and patch
cords. The input terminals for the REP-OP display unit are terminated at
convenient locations on the patch panel. Other recording and display
equipment may also be terminated on the patch panel. Mode pushbuttons
are illuminated when depressed to show clearly the condition of the
computer. When a button is depressed to make an alternate selection, the
prior connection is broken, the new one made and the new indicator light
turned on.
1-5
atten 42.2 83
FIG. 1-9
Panel Connections for Coefficient Setting Potentiometer Group 42.283.
If the computer does not have a digital voltmeter, the potentiometers can
be set with reference to a master potentiometer in the same manner as on
the TR-20 computer.
The terminal arrangement for the dual amplifier 6.614 is the same as i ;;
that for the amplifiers used on the EAI TR-20 analog computer. The quad
176 APPENDIX I-C
I-C-4 Integration
Fig. 1-11 shows a sketch of the patch panel connections for a DUAL
INTEGRATOR unit (12.1322) such as is used for electronic mode con
trol. A bottle plug with six plugs and three circuits is used to connect the
B, SJ, and O terminals of the integrator unit with the corresponding
terminals of an adjacent operational amplifier. Single circuit bottle plugs
are used to patch the signals to the mode switches. Four are required: one
each connecting the pairs of t erminals marked IC, OP, and 0.1/3. If the
gain of an individual integrator is to be increased by a factor of ten, a
single bottle plug is removed from the pair of terminals marked 0.1/3 on
that integrator. The terminal marked SJ' makes the summing junction
available for special circuits when the other SJ terminal is in use. The
negative of the desired IC voltage is supplied to the single terminal marked
IC. This connection can be made by a single circuit bottle plug if the
proper potentiometer is assigned this function.
> ~T
SJ<£—
'V IC^VW V
SJo- So-
c loA/V-
1 °A/V-
l o-A/V-" ioA/V- o-
<7
l o-VV-" io-W-
io-A/\/-• 57 o So-
lOoAAr-' 10A/V-
<7
iooAA^ 10A/V-
dual DC quad DC
amp. 6.614 amp. 6.704-1
FIG. 1-10
1. Make certain that appropriate bottle plugs are in place to connect all
operational amplifiers as either a summer, an inverter, or as an in
tegrator. All amplifiers must have a feedback element connected to
prevent overloads. It is also necessary to see that all single bottle plugs
required for control of the integrators are in place.
2. Turn on the computer by pressing the POWER switch.
3. Place the computer in the POT SET mode.
178 APPENDIX I-C
Hi'
6 6 6 6 0 - - 0 6 6 6 6 6
/ +
y> />o 6 6 6 6 6 6 c
o f f
/ /
/ /
[2 ! si
lo 1^
Io I
\
\
\
\
05 o ^ g \> \> \>
/>o Cr*\ O \>
rO rC>
V) 6-<' 6
'ELECTRONIC ASSOCIATES TR -48 ANALOG COM PUTER" 179
11-A Inversion
The sum of the currents flowing into a junction is equal to the sum of the
currents flowing out of that junction.
180
DERIVATION OF ANALOG CO MPUTER GAINS 181
FIG. 11- 1
Schematic Diagram of Analog Computer Inverter Circuit.
The sum of the vo ltage rises in a given direction around a loop is equal to
the sum of the voltage drops around that loop in the same directio n.
The application of this law to the left hand loop in the clockwise direction,
A-SJ-G-A, yields
Co (Il-ld)
€i ~ G
C;
li
(II-le)
Ri
182 APPENDIX I I
U = (H-lg)
Kf
eA ~ ei = + g' ~ g° (II-lh)
Ra Ri ^ Rf v
Collect the terms in e,- on the right and substitute Eq. (II-Id).
s - -tf i ! i -«;] - Z
en = -m (Il-lj)
Since the value of G is very large, the second term in the denominator
becomes very small when the values of Ra, Rf, Ri a nd G a re substituted.
For example, typical values of these parameters are as follows:
Rf = R a = 106 ohms
Ri = 50 X 106 ohms
G - 100,000
Thus the inverter configuration of Fig. II-1 has the following gain
relation:
e„ = (n-'O
II-B Summation
ground -=-
FIG. 11-2
Schematic Diagram of Analog Computer Summer Circuit.
<?, = — eo (II-2f)
G
li ei
= % (H-2g)
184 APPENDIX I I
Solution of Eqs. (II-2b), (II-2c), (II-2d), and (II-2e) for ia, ib, ic, and i0
yields
eA — ei
la Ra
eB e'
• = ~
lb ~ Rb (II-2h)
ec — ei
h Rc
lo ~ Rf
Substitution of Eqs. (II-2g) and (II-2h) into Eq. (II-2a) eliminates the
current variables.
•i , — c, ec — ei c,- — e0 /TT ^
J . - + X + X = «" + T ( I 1 "2 , )
eA . es . ec f 1 , 1 . 1 , 1 , 1 "1 e0 ,rr
+ +R„ = e{_R,
R„ + ^ + «;
Rc +ft+S}J-«7 (II"2J>
Co = (11-21)
l + ^E + l + E' + f+ l )
The right term in the denominator is again very, very small because the
amplifier gain G is very large. Hence the output voltage is the weighted
sum of t he input voltages. Each voltage is multiplied by the ratio of the
feedback resistor to the corresponding input resistor.
e =
° + (uh + (sf)ec] (II"2m)
DERIVATION OF AN ALOG C OMPUTER GAI NS 185
II-C Integration
ia — li to (II-3a)
<? +
ground
FIG. 11-3
Schematic Diagram of Analog Computer Integration Circuit.
<?; = vc + e0 (II-3c)
(II-3d)
= h
But the value of q i s the J idt and, therefore
Vc = 5 /<» (II-3e)
c ' iodt
186 A P P E N D I X II
e0
ei = ~G (II-3f)
e>
li =
(II-3g)
R,
Solve for ia in Eq. (II-3b):
eA —
la — (II-3h)
Ra
Substitute Eqs. (II-3g) and (II-3h) into Eq. (II-3a) and solve for i0:
eA — e t ei
10
(H-3i)
Ra Ri
1 eA — e ( £/
dt T e0 (II-3k)
C Ra Ri.
e_o e
_ J_ [ _A_ e0 , e0
G C J Ra dt + e + ^ 0
R a G + RiG
dt (11-31)
eQ =
RaC j 6Adt G e° + cf (r o + R^ dt ] ( n " 3m )
For a sufficiently large value of amplifier gain, G, the second term on the
right is negligible compared to the first term and the integrator has the
relationship:
e° = -jf?;
toI-
I eAdt (II-3n)
DERIVATION OF ANA LOG COMPUTER GAI NS 187
(II-3o)
188
ELECTRICAL CIRCUITS 189
+ ref O—
CP -AAA/—1 SJ MP
Rn
coefficient master
potentiometer
potentiometer
ground
FIG. 11 1-1
Schematic of Pot Set Principle.
in the POT SET mode. This circuit functions very much like the Wheat-
stone Bridge. When the potentiometer, CP, is adjusted so that the reading
on the millivoltmeter is zero, the potentiometer CP is set for the same
ratio as the master potentiometer. Since the resistor Ra is effectively con
nected the sam e as when the computer is operating, the loading is com
pensated properly. If the lower end of the potentiometer CP is not
grounded, the bridge circuit is not complete and hence will not function
properly.
The actual circuit is more complicated. A typical POT SET circuit is
shown in Fig. III-2. The Pot Set Relay, KPS, switches the terminal B
from the amplifier input to ground when the POT SET MODE is selected.
When SW1 is d epressed the contact arms shift from top to bottom. The
sw\
T HI
patch panel
O
° +ref Aa a ^ ^
O Wv °—
°1_
CP1
KPS <
-^Mvy MP
FIG. 111-2
Typical D etailed Circuit for Pot Set.
190 APPENDIX IN
Consider the circuit shown in Fig. III-3 below: The resistors R have the
same value and ignoring for the moment the capacitor C, the circuit looks
like a unity gain inverter. When the capacitor is considered, the output
R
ico WV •oo
c
ft
FIG. 111-3
Principle of Initial Condition Circuit.
ELECTRICAL CIRCUITS 191
FIG. 111-4
Typical Circuit for Establishing Initial Conditions.
voltage will ris e after a period of time to the same value as though the
capacitor were not there. By choosing a suitable value, R, for the resistor
this time can be made as short as desired. Relays or electronic circuits are
used to select the mode of operation of an integrator circuit. There are
usually three modes: 1. RESET or IC, 2. HOLD, and 3. O PERATE or
COMPUTE. One possible circuit is shown in Fig. III-4. When the com
puter is placed in the Initial Condition, IC, mode, the relay KIC in each
integrator unit switches the arm from the compute position, C, to the
reset position, RS.
When the computer is placed in the HOLD mode, the Pot Set Relay,
KPS, opens the circuit from the terminal B to the input of the operational
amplifier. In this condition the input to the integrator is zero and the out
put voltage HOLDS at the value which it had at the time the HOLD
condition was initiated.
APPENDIX IV
STABILITY O F SOLUTIONS
FOR A LGEBRAIC EQUATIONS
4x + y = 6 (IV-la)
x + 5 v = 11 (IV-lb)
x = 1
(IV-lc)
y= 2
192
S T A B I L I T Y O F S OL U T I O N S F O R A L G E B R A I C E Q U A T I O N S
0.25
This fact can be verified by substitution into the original set of equations.
If th e analog model is amplitude scaled on a o ne unit per volt basis, the
block diagram is as shown in Fig. IV-1. If the circuit is completed, between
x and xi, the system will come to equilibrium with x = 1 and y — 2. Con
sider now that the connection between x and x\ is opened and that a
variable voltage xi is supplied to potentiometer 03. The table below indi
cates the value of x for various values of xi. These values can be observed
experimentally on the analog computer, or can be computed in t e
following way:
11 — Xi
y = —3—
A ~ 4
*= 4
194 APPENDIX IV
XI *
0.8 0.99
0.9 0.995
1.0 1.000
1.1 1.005
1.2 1.10
Note that if x\ is too small then x is larger than x\, but still less th an the
equilibrium value. If x\ is too large, then x is smaller than xi, but still
larger than the equilibrium value. Thus when x\ is connected to jc, the
system tends to move toward a position of e quilibrium if jc has a value
different from the equilibrium value. The same tendency would be ob
served if th e circuit were opened between the output of amplifier 03 and
potentiometer 01. The input to potentiometer 01 would be considered
as yi.
Consider now what happens when the equations are reversed before
forming the analog model.
x+ 5y=ll (IV-le)
4x + y = 6 (IV-lf)
0.5
FIG. IV-2
Unstable Analog Computer Model for Simultaneous Algebraic Equations.
STABILITY OF S OLUTIONS FOR AL GEBRAIC EQUATIONS
The analog model is as shown in Fig. IV-2. The assumption is again made
that the dotted connection between x and xi is opened and a variable
voltage x\ supplied. The results for several values of xi are tabulated
below based o n the relation:
jc = _ 19 + 20 xi
XI X
0.9 -1
0.95 0
1.00 +1
1.05 +2
1.10 +3
In this case note that when xi is too small, the value of x is even more
negative with re spect to the equilibrium value than is xi. When xi is too
large, the value of x is more positive with respect to the equilibrium value
than is x\. Thus when the connection is made that forces xi to be equal to
x, any departure from the solution point, x = 1, y = 2, causes the values
to depart even further from the solution point.
This demonstration of the nature of the instability of the analog model
was used because it probably is more meaningful and provides more in
sight than the argument based on the roots of the characteristic equation
formed from the matrix of t he coefficients.
INDEX
197
198 INDEX