Analog Computers

Reference / Paper · 1971

Handbook of Analog Computation

Read the PDF (401 pp) ↗

A comprehensive second-edition handbook covering all major aspects of electronic analog computation, prepared by EAI's Education and Training Department. The 401-page volume addresses mathematical modeling, general-purpose analog computer architecture, programming and problem-checking procedures, linear and non-linear systems analysis, function generation, transfer function and transport-delay simulation, repetitive operation, analog memory, partial differential equations, solution accuracy, efficient programming practices, and laboratory planning. Appendices provide Laplace transform tables, transfer function circuits, diode and relay circuits, and a selected applications bibliography.

Manufacturer
EAI
Author
Education and Training Department, EAI; edited by Alan Carlson, George Hannauer, Thomas Carey, and Peter J. Holsberg
Year
1971
Type
Reference / Paper
Language
English
Learning track
general theory
Pages
401
Credit
Electronic Associates, Inc. — Publ. No. 00 800.0001-4 RA1, May 1971. Copyright Electronic Associates, Inc. 1967.
  • EAI
  • analog computation theory
  • programming and simulation
  • function generation
  • applications

← Back to the Reference Library

Handbook of Analog Computation

HANDBOOK OF ANALOG COMPUTATION Ll Electronic Associates, Inc., West Long Branch, New Jersey 07764 HANDBOO K OF ANALOG COMPUTATION ©Electronic Associates, Inc. — Printed in U.S.A. — Publ. No. 00 800.0001-4 RA1 — May 1971 Geurre Lelors JS J LEY Mens Dep HANDBOOK OF ANALOG COMPUTATION Prepared by The Education and Training Department Edited by Alan Carlson, George Hannauer, Thomas Carey and Peter J. Holsberg SECOND EDITION Electronic Associates, Inc. Princeton, New Jersey ©) Electronic Associates, Inc., 1967 -- All Rights Reserved These notes, or any part thereof, may not be copied or reproduced in any form without written permission of Electronic Associates, Inc. EAT The Hybrid Computer People LOCATION HEADQUARTERS 185 Monmouth Parkway West Long Branch, New Jersey 07764 TELE: 201-229-1100 TWX: 710-722-6597 or 710-722-6535 TELEX: 132-443 CABLE: PACE W. Long Branch DAYTON 3490 South Dixie Avenue Dayton, Ohio 45439 TELE: 513-294-4710 HUNTSVILLE DISTRICT OFFICE 110 Lily Fiag Road Huntsville, Alabama 35802 TELE: 205-881-7031 TWX: 810-726-2210 MISSISSAUGA HEAD OFFICE 6427 Northam Drive Mississauga, Ontario L4U 1J5 TELE: 416-678-1500 TWX: 610-492-2119 HALIFAX BRANCH Suite 201 Townsend Place 800 Windmil! Road Burnside Industrial Park Dartmouth, N.S. B3B 1L1 TELE: 902-469-7865 TWX: 610-271-1978 MONTREAL BRANCH 1330 Marie Victorin Boulevard E. Longueuil, Quebec J4G 1A2 TELE: 514-670-1212 TWX: 610-422-3875 ELECTRONIC ASSOCIATES, INC. UNITED STATES OPERATIONS FACILITIES LOCATION FACILITIES Corporate Headquarters WESTERN REGIONAL AND Computer Service Division LOS ANGELES DISTRICT OFFICE Principal Engineering and 1320 East Imperial Highway Sales and Service Manufacturing Ei Segundo, California 90245 Sales and Service TELE: 213-322-3124 International Operations TWX: 910-348-6284 SAN FRANCISCO DISTRICT OFFICE Sales 4151 Middlefield Road Sales and Service Palo Alto, California 94303 TELE: 415-494-1606 Saies and Service CANADIAN OPERATIONS ALLAN CRAWFORD ASSOCIATES, LTD. OTTAWA BRANCH Sales and Service 1299 Richmond Road Sales and Service Corporate Headquarters Ottawa, Ontario K2B 7Y4 TELE: 613-829-9651 TWX: 610-562-1670 CALGARY BRANCH Sales 3829 12th Street N.E. Sales and Service Calgary, Alberta T2E 6M5 TELE: 403-276-9658 TWX: 610-821-2233 VANCOUVER BRANCH 234 Brooksbank Avenue Saies North Vancouver, British Columbia V7J 2C1 TELE: 604-980-4831 Sales TWX: 610-923-6059 INTERNATIONAL OPERATIONS Regional Offices LOCATION FACILITIES EUROPEAN CONTINENT BELGIUM Electronic Associates, Inc. Sales and Service 116-120 rue des Palais B-1030 Brussels, Belgium TELE: (02) 216.81.15 TELEX: 846-21106 (21106 EAI B) CABLE: PACEBELG BRUSSELS GERMANY EAI-Electronic Associates, GmbH Sales and Service FRANZSTRASSE 107 Bergdriesch 37 (DEMO Cntr) D-5100 Aachen, W. Germany TELE: 2.60.41, 2.60.42, 2.69.96 TELEX: 841-832676 (832676 EAI D) FRANCE EAl-Electronic Associates, SARL Sales and Service 25/27, rue Ginoux F-75737 Paris Cedex 15, France TELE: 577.08.13 (4 Lines) TELEX: 842-270610 (PACEPARI 270610F) SWEDEN EAI-Electronic Associates — A B Sales and Service Hagalundsgatan 40 S-17150 Solna, Sweden TELE: 08.83.09.80 TELEX: 854-10064 (10064 PACEAB S$) UNITED KINGDOM ENGLAND Electronic Associates, Ltd. Sales and Service Unit 31 Victoria Road Burgess Hill, RH 15-OJR West Sussex, England TELE: Burgess Hill (Sussex) 5101 (4 Lines) TELEX: 87183 (PACEBURGESSHL) CABLE: PACE Burgess Hil! © Electronic Associates, Inc, 1976 Printed in U.S.A, — Computation Center LOCATION FACILITIES AUSTRALIA AND NEW ZEALAND EAI-Electronic Associates, Pty. Ltd. Sales and Service P.O. Box 170 Manufacturing Crows Nest 2065 N.S.W. Australia TELE: 439-7522 (4 Lines) TELEX: 790-21130 (PACEAUSAA 21130) CABLE: PACEAUS, Sydney ASIA JAPAN EAtI-Electronic Associates, (Japan) Inc. Sales and Service 9th Mori Building 1-3 Shiba-Atago-cho Minato-ku Tokyo, Japan 105 TELE: 433-4671 TELEX: 24285 (JAPACE J4285) CABLE: EAIJAPACE SINGAPORE EAI-Singapore Sales and Service c/o Associated Technical Services (PTE) Ltd. Room 701, 7th Floor Maxwell House Maxwell Road, Singapore 2 TELE: 2200477 TELEX: RS 21297 CABLE: ATEAS Singapore LATIN AMERICA BRAZIL EAI-LTDA Branch Sales and Service Rua Brejo Alegre 48 Cep 04557 Sao Paulo, Brazil TELE: 61-47-41 TELEX: 1121321 CABLE: Hycomp Bulletin 156018-10 PREFACE These notes on Analog Simulation have been developed from the experience gained by the Education and Training Department of EAI in presenting intensive short courses in analog computer operation, programming, and applications for nearly a decade. The objective of these courses has been to provide scientists and engineers with a working knowledge of the analog computer and its uses. They have pro- ven to be most effective when lectures and demonstrations are supplemented with laboratory sessions allowing students to put theory into practice. The solu- tion of problems on an analog computer, using effective and efficient program- ming techniques and check-out procedures, has proven to be invaluable in gaining familiarity both with the machine and its potential as an engineering tool. Many of the procedures and techniques described in the notes have been used and found to be effective in EAI Computation Centers throughout the world. A course in analog computation utilizing these notes could readily meet the requirements of an accredited, one semester, 3-credit-hour university course. A course in differential equations as a prerequisite is desirable. The wide range of application for the analog computer permits the introduc- tion of actual applications appropriate to courses in all scientific disci- plines. The EAI Applications Reference Library is a source of a large number ee of such studies describing applications in such areas as electronics, chemical processing, aerospace engineering, amd life sciences. These notes represent the combined efforts of a large number of people within the EAI organization. Contribution to the notes and the editing were made by A. I. Katz, 0. Serlin, H. Davidson, and J. J. Kennedy, as well as many others. Many sections in the notes were derived from material generated by the various Departments in the Research and Computation Division of EAI. The editors, in particular, would like to acknowledge the efforts of the sec- retarial staff, Helen Lynch, Bette Davis, and Ginny Gafgen in helping organize the typing and production of these notes on a time schedule that was agreed upon by all as being impossible. TABLE OF CONTENTS CHAPTER I.....THE ANALOG COMPUTER AND ITS ROLE IN ENGINEERING ANALYSIS. CHAPTER II....THE GENERAL PURPOSE ANALOG COMPUTER... . +--+ +++ es CHAPTER III...ANALOG COMPUTER PROGRAMMING AND CHECKING PROCEDURES . CHAPTER IV...eANALYSIS OF LINEAR AND NON-LINEAR SYSTEMS ..... .- CHAPTER V...+eTECHNIQUES IN FUNCTION GENERATION . . 2.» «+ + 2 + © © @ CHAPTER VI..«eTRANSFER FUNCTION SIMULATION. . 2. 2. 2 ee © © 2 se eo ow CHAPTER VIL...TRANSPORT DELAY SIMULATION. . . . +--+ 0 «© eo «© © © « CHAPTER VIII..REPETITIVE OPERATION. . . . «© 2 © © © © © © © © © © © CHAPTER IX...-ANALOG MEMORY . 2. 2 6 6 5 # © © © 6 © eo ee ee ee CHAPTER X..eeePROBLEM PREPARATION PROCEDURE . . 2 «© 2 © + © ee ew we ew CHAPTER XI....ANALOG COMPUTER SOLUTION OF PARTIAL DIFFERENTIAL EQUATIONS CHAPTER XII...ACCURACY OF ANALOG COMPUTER SOLUTIONS ...... CHAPTER XIII..EXAMPLES OF EFFICIENT PROGRAMMING .... . CHAPTER XIV...FACTORS IN PLANNING AND OPERATING AN ANALOG LABORATORY Appendix A,...LaPlace Transforms. . . 2. . - « © 0 «© © © « Appendix B....Transfer Function Circuits. . . 2. 2. 1. «+s... Appendix C....Diode and Relay Circuits. ........-. Appendix D....Selected Applications Bibliography. .... . 135 163 . 191 220 . 241 . 248 - 260 279 . 289 . 296 . 354 366 369 . 375 - 384 CHAPTER I THE ANALOG COMPUTER AND ITS ROLE IN ENGINEERING ANALYSIS A. Introduction The role of the electronic, general purpose analog computer in modern-day industry best can be explained by considering the concept of engineering de- sign. When a design is required, one or more engineers or scientists propose a system which they feel will satisfy the design criteria. Design proposals, however, involve approximations and estimates and there may not be concrete agreement as to which design is best. Therefore, some form of evaluation of the proposed system is desirable. In evaluating proposed systems or designs, one can, in general, select either of two paths: an experimental program, or an analytical evaluation of the system. The experimental approach is usually characterized by a minimum of of analysis, the construction of a prototype of the system, and considerable "trial-and-error" experimental work. The objectives are to evaluate the experi- mental data and suggest appropriate modifications which will result eventually in an optimum or nearly optimum désign. The cost and time required for this experimental approach are normally much greater than those incurred in an analytical evaluation. In the analytical approach, the task is to derive a set of equations (a mathematical model) whose solution will describe the behavior of the system in terms of its geometry, time, and parameters, These solutions then can be used to obtain operating conditions and parameters which will re- sult in optimum system performance, Since the derivation of mathematical models frequently requires approximations, and the results obtained are often based on limited input data, prototype experimentation usually is required. However, pilot plants designed on the basis of extensive analytical investigations frequently are near optimum and require little or no modification. The only experimental results required are those which validate the mathematical model. Once the mode! is validated, additional experimentation can be performed analytically, which results in a considerable cost reduction compared to the experimental approach, Not all proposed designs, unfortunately, lend themselves to a choice of evalua- tion programs. If one cannot obtain a mathematical model, there is no recourse except an experimental program. On the other hand, if the cost of a prototype is prohibitive (e.g. a nuclear reactor),its design is restricted to analysis. The major considerations in selecting the proper evaluation path are a compro- mise between cost, time, and objectives. B. Mathematical Models A system is best described analytically in terms of the causal relationship between its component parts, such as one would find on a detailed block diagram of the system. -1- The analyst then can derive equations for each subsystem, and the set of equa- tions is the mathematical model for the entire system, The individual equa- tions are derived from basic mathematics and physical laws such as the conser- vation of energy, matter, etc, and, at times, from empirical and semi-empirical equations such as fluid film resistance in heat transfer, The mathematical model can be a collection of integral or algebraic equations, although differ- ential equations are most frequently obtained. Typical examples of equations encountered in practical applications are: 1) 2) Algebraic and Transcendental Equations, e.g. the effect of tempercture on physical properties of materials. Thus k = thermal conductivity of a metal = k, + aT C. = specific heat of a gas = a + bT + ct? Pp -AT y= viscosity of a fluid = pie Ordinary Differential Equations, e.g. the kinetics of a chemical reaction k, k, whose mathematical model is dA _ _ ae A and dB _ 2 a 2k, A - kB 3) Partial Differential Equations,e.g. a mncentric pipe,heat exchanger (Figure I-1) COOLANT Tw (t,x) our <#— QL T(t) HOT HOT Nn mo Tp (t,x) 3 — or —¢ «a OL aNT Figure I-1. Simple Heat Exchanger -2- whose mathematical model is or or 1 1 _ s+ ty a tayG, - T) = 0 Ol = b(t, - T)- b(t - 7) ya 2°°2 7 “Ww ls’wo OL or, Kara 0 se TY a ta, @ - T= where Ti (t,x) = wall temperature T, (t,x) = coolant temperature T, (t,x) = primary (hot) fluid temperature Two types of models, linear or nonlinear, are possible and are a measure of the complexity of the system. Simple linear models are "nicer" since they lend themselves to rapid analytical solutions. Unfortunately, be- cause of the interaction of physical laws, the need for semi-empirical or em- pirical equations to describe this interaction, and the nature of most physical systems themselves, the majority of the mathematical models encountered in practice are nonlinear. This is unfortunate because little is known about the analytical solutions to nonlinear equations, and those solutions that are obtained are usually difficult to interpret and evaluate. If a system is nonlinear, its behavior is a function of its initial conditions, which makes its analysis even more essential if optimum performance is desired. C. Solving Mathematical Models Solutions of mathematical models can be obtained analytically by classical methods, numerical methods, or by electronic computation. Classical solutions of simple models are possible if the model is composed of ordinary linear and/or partial differential equations and certain classes of non-linear differential equations, Frequently, this technique can be applied to limiting cases of complex models if approximations are acceptable. Analyti- cal solutions for nonlinear models are rare, and, hence, variable substitutions are made to linearize the model as required. Depending upon the model and the results required of a study, phase-plane techniques may be applicable. Un- fortunately, as was previously mentioned, linear systems seldom arise in prac- tice and classical solutions are usually reserved for limiting cases and linear- ized approximations. Numerical solutions involve the transformation of a mathematical model into a set of algebraic equations by replacing all derivatives in the medel with appropriate algebraic, finite difference approximations, The resultant set of algebraic equations is then solved simultaneously to affect a solution, This technique not only is time consuming but may suffer from accuracy, sta- bility and convergence problems, To illustrate the classical and numerical solutions for a differential equa- tion, consider the problem of a solvent tank (Figure I-2) which can be filled by two feed streams (Q and Q) in 4 and 5 hours respectively. Two drain pipes, Dd, and Dos Figure I-2, Solvent Tank System can empty the tank in 3md 6 hours respectively. If the tank is half full and all feed and effluent streams are used will the tank fill, empty, or reach steady-state? How long will it take? The mathematical model for the tank is the nonlinear differential equation dy _ _ de (0645 - y (1) where y= h/h, (2) The analytical solution of this equation, which can easily be obtained by consulting a table of integrals, is, dy { —— . Qudy gy G3) ~A5- Yous Ave or, | 0.45 0.45 -V3 | 0.9 In| oye = VF + avy - iy) = (4) The obvious difficulty in applying this equation is that y, the level in the tank, does not appear as an explicit function of time, t. Even though we have an analytical solution, considerable effort is still required to produce a useful relation between y and t, say, in the form of a graph. The eventual height of the solvent in the tank will be the steady-state solution, Ye? of @quation (1) ( obtainedby letting dy/dt equal zero) = (0.45)7 = 0.203 (5) The time required to reach this height in theory is infinite; therefore, a practical value of the steady state time must be obtained graphically from a plot of y versus t. Since the time required to attain the equilibrium height also can be obtained from a numerical solution of equation (1), let us now consider this method of solution. Integrating equation (1) one obtains 3 t % = 0.45 t -f y' dt ty. (6) (e) where the initial value of y, y. is 0,500, Recalling that integration is the area under a curve, Figure [-3, equation (6) can be rewritten in terms of finite or discrete intervals of time: n= L Yn 7% 0.45 nA t - Yael At (7) n=1 where t=naAt (8) The accuracy of the solution obtained from this equation depends on the magni- tude of the time interval (accuracy increases as A t decreases). FUNCTION OF TIME 4 ERROR DUE TO FINITE APPROXIMATION OF INTEGRAL % Y 0.450 fe) >t S >} t te INTEGRAL OF THE FUNCTION 4 4 t t 0.45] at v2 o Oo [ay ] => +t ath o | | ty) t Figure I-3 Illustrations of Numerical Integration Equation (7) is solved in the following manner, after At has been selected, at say 0.5 hours, 1) Compute y 2) Compute y 3) Compute > (x3 1) At n=1 ~ 4) Compute 0.45 nAt 5) Compute y 6) Let n = n +1 and return to step l. Results obtained from both the numerical and analytical solutions are shown in Figure I-4, 0.5 ® NUMERICAL RESULTS O ANALYTICAL RESULTS 0.4 = y= ho 0.3 0.2 l 2 3 4 45 TIME IN HOURS Figure I-4 Numerical Solution of Solvent Tank Problem From the curve shown in Figure I-4, it is apparent that the tank (Figure I-2) will fill and reach equilibrium in approximately 4.5 hours. It should be noted that an increase in the accuracy of the numerical solution would have required additional computations and, hence, increased computation time. The same procedure would have been followed for a smaller increment of time, At. The error of the numerical solution is indicated by comparison to analytical re- sults obtained from equation (4). Computer solutions are best understood after an explanation of the type and methods of computer operation is pre- sented, However, it is convenient to point out at this time that the numeri- cal solution illustrated above is typical of digital computer solutions and the itemized instructions are typical of a digital computer flow chart. I£ one considers a flow diagram for the solution of equation (6), which is shown in Figure I-5, insight to the analog computer solution can be obtained. It will be shown later that the analog computer is composed of components which perform the mathematical operations described in Figure I-5. t t o4s[at is) 0.45 ———_—— dt 0 —_——_—_> y(t) Yo > i —— t t y!/2( +) fee | To dt @) 1/72 y (th) \— Figure 1-5: Flow Diagram of Solvent Tank Solution At this point, the justification for using computers can be considered, In our modern society, machinery of various sorts has relieved human muscle from a great deal of routine and repetitive operation. In doing so, it has multiplied the effectiveness of that human muscle both in industry and in the home. The computer has performed a similar service for the mind essentially by mechanizing routine mental processes, leaving the mind free to examine new problem areas. Studies of the behavior of entire complex systems can be performed with great speed and, consequently, our actual knowledge of complex systems has increased greatly. Equally important, our capacity for control and prediction, and for insight into these complex systems also has been extended, The influence of the computer on our common life, therefore, lies in its con- tribution, in the broadest sense, to science and technology. Investigations in science and engineering can be carried out on a scale un- heard of only one or two decades ago. Scientific principles and models can be verified against experimental facts at small cost, without hazard and with -8- considerable flexibility. Thus, new areas of scientific knowledge have been established and will continue to grow as a result of research and development performed on computers, D. Computer History and Characteristics A computer is a device that is able to receive information (equations, instruc- tions, data, etc.) and process it in a predetermined manner to obtain useable results, For example, a human being may be a computer, He can take information in through his senses, use principles stored in his memory to process or perform operations on this information in many ways, and produce an answer, perhaps in the form of an action, Similarly, a machine may be able to accept information of a suitable form, receive instructions on how to operate on this information, perform the re- quired operations, and give the answers, Machines may take many forms vary- ing from simple beads on a frame to the incredibly complex, expensive and highly sophisticated modern machines, 1. Early Computers---The history of computing devices may well extend to the very beginning of civilization, For our purposes, they can be divided into two categories (see Figure I-6): @ Mathematical instruments, the more complex of which are known as analog computers, These are exemplified in simple form by the slide rule, @ Calculating machines, more often known as digital computers. These can be represented simply by the desk calculator, Early forms of digital computations could be considered to exist when man first started to use his fingers or pebbles for counting. The earliest known record of analog computation is its use in surveying and map making for the purpose of taxation (Babylonia, 3800 BC). The earliest digital machine is probably the Abacus. In its early form, it consisted of a clay board with grooves in which pebbles were placed, It later appeared in the form of a wire frame with beads, It is still used extensively in Asia and the East for remarkably rapid calculations, The development of computational aids can be traced from these early instru- ments through the invention of logarithms, slide rules, linkages, analytical engines, and desk calculators to the large-scale general-purpose machines of the present day. The first large-scale general-purpose digital computer was completed at Harvard in 1944, This machine, the Harvard Mark I Calculator, was built jointly by IBM and Harvard, and used electromechanical relays. The Moore School of Engineering also completed its all-electronic digital computer for the Aberdeen COMPUTERS I -OT- i 1 DIGITAL ANALOG COUNTING DEVICES DIS- ANALOGOUS SYSTEM OPERATES IN CRETE, STEP BY STEP PARALLEL ON CONTINUOUS VARIABLES SERIAL OPERATION : I I l t . INDIRECT DIRECT GENERAL PURPOSE SPECIAL PURPOSE (GENERAL PURPOSE) SPECIAL PURPOSE I I . . I | ELECTRICAL | | MECHANICAL ELECTRICAL MECHANICAL ELECTRICAL MECHANICAL ELECTRICAL HYDRAULIC MECHANICAL, PNEUMATIC ACCOUSTICAL ENIAC ABACUS ACCOUNTING GASOLINE ELECTRONIC SLIDE RULE RESISTANCE CAPACITANCE TOWING SCALE MODELS AND OTHER UNIVAC DESK MACHINES PUMP LINKAGES ARRANGEMENT REPRESENT- TANKS WIND TUNNELS STRETCH CALCULATOR STOCK MARKET ODOMETER BUSH ANALYSER ING ELECTRICAL NETWORKS PILOT PLANTS MANIAC HARVARD BANKING PN ORDEN RC NETWORKS REPRESENT — SYSTEMS adeOeN ING HEAT TRANSFER PROB- AIRLINE TICKET RESERVATION ANTI-AIRCRAFT FIRE CON- SYSTEMS TROL PREDICTORS GENERAL PURPOSE ELECTRONIC ANALOG COMPUTERS Figure I-6 Computer Devices Proving Grounds in 1944, This machine, the ENIAC, which contained 18000 vacuum tubes, now has many direct descendents, Mechanical integrating devices of the late 19th century were improved on during World War I, when Hannibal Ford increased the torque output of the ball-and-disc integrator and used it to make a naval gun fire computer, This was followed by more experimentation in the 1920's. At M,I.T., Dr. Vannevar Bush completed the first large-scale mechanical differential analyzer in 1931. This machine is now installed at Wayne University in Detroit where it is still being used effectively, At the present time, there are several large scale mechanical machines in opera- tion. Simultaneous equation solvers and harmonic analyzers of many types also appeared in the 1930's, Special computers, in the form of network analyzers for the simulation of power networks, appeared around 1925, The network analyzer is a passive element analog, A scale model of the particular network to be studied is made with resistors, capacitors, etc. The early network analyzers could be used to investigate only steady state problems; that is, voltage drops along lines, possible current flow in lines, etc. The most recent network analyzers can be used to investigate transient conditions during faults on networks or switching on networks. These may be considered to be true general-purpose computers, 2. Analog and Digital Computers---In digital computers, numbers are oper- ated upon directly. The basic operation in these machines is counting. This enables the machine to perform the four fundamental operations of arithmetic, addition, subtraction, multiplication and division. The basic operation of any digital computer is similar to that of the abacus where numbers are repre- sented by beads and the counting of these beads is the basis of addition and subtraction. In digital computers, all mathematical calculations depend ul- timately on counting, whether it be beads, gear teeth, or electrical pulses. In analog machines, numbers are represented by physical quantities whose magnitude is determined by the magnitude of the number, Mathematical operations are represented by physical events; that is, the machines do not count, but perform continuous manipulations equivalent to the mathematical operation required, The result of these manipulations is another physical quantity, whose magnitude and behavior represents the solution to the pro- blem. Probably the most useful example of the analog computer is the slide rule. Here, to multiply one number by another, the discrete numbers are converted to logarithms, the logarithms are converted to linear distances on sticks which, when placed end to end (i.e. added together--the continuous operation in this case), give another length representing the product of the numbers. -l1- There exists on the analog a complete analogy between the physical quantities, events, and the mathematical numbers and manipulations, If many events are taking place at the same time in the physical world, they will also take place at the same time, or in parallel, on the machine. An analog device will, con- sequently, arrive at a result in a shorter time than a digital machine which must perform all its operations serially. The precision of a digital machine is theoretically boundless. To increase by ten the precision of a decimal counting device, it is a matter simply of accomo- dating one more place (decimal) throughout the equipment. However, to achieve the same end on the analog, e.g. the slide rule, the length of the slide rule would have to increase by a factor of ten. This is not always practicable. Analog devices, are characterized by continuous operations performed in parallel, as opposed to digital machines which are discrete, serial devices. The analog solutions are obtained in a continuous manner since all parts of these devices operate simultaneously, 3. General Purpose Analog Computers---We have said that in analog devices numbers are represented by physical quantities, Theoretically, any physical quantity may be used as long as it can be made to obey those laws necessary to represent the mathematical relationships involved in the original problem. Purely electrical relationships, which have the mechanical advantage of no moving parts and, a high speed of operation, have been found most suitable for analog devices, The introduction of the operational amplifier made possible the newest class of general purpose analog computers using voltages as the 'physical quantity’. Lovell of Bell Telephone Laboratories is generally credited with the introduc- tion of the operational amplifier during the Second World War, These ampli- fiers can be divided into two groups, those which operate on a-c voltages and those which operate on d-c voltages, The a-c amplifiers exhibit certain dif- fieulties and do not lend themselves to any direct form of integration, Therefore, only d-c amplifiers are considered in these notes since they are most common in commercially available general purpose analog computers. E. Industrial Uses of the Analog Computer As a result of the tremendous competition in industry following World War II, more economical designs and more thorough evaluations were needed, The con- cept of a fully automated plant, or system, operating at an economic optimum, demanded from the engineer a more extensive knowledge of each element, and its behavior, The engineers, in turn, demanded a more complete analysis of mechanisms and transport properties from the basic research scientists, It is important, at this point, to state the range of the computer's useful- ness, and to delineate those areas where it is not suited, -12- 1, Initial Research and Development---The initial work in development usually takes place in the laboratory where bench-scale studies, thermodynamic calculations of feasibility and other preliminary calculations are made, Be- cause this stage of the work is so intimately concerned with mechanisms, most of which are dynamic in nature, the use of the computer is particularly advan- tageous. Consider, for example, the determination of chemical reaction velo- city constants. A series of isothermal batch reactions may be run and data collected on the compositions of the various components as functions of time. A kinetic model then is assumed, i.e., the orders of the various reactions are estimated, and programmed on the computer, The problem is one of matching the results of the computer with the data from the test runs. Different reaction velocity constants can be tried or differ- ent models assumed until a good match is obtained. In this way, a reliable model of the isothermal chemical kinetics is quickly obtained, The laboratory work then may be extended to include temperature changes and, possibly, other types of reactors. The computer is used in each step to simulate the mechanisms, check the model and the assumptions, and obtain system paraméters for design purposes, 2. Intermediate Development---The use of the analog computer in the prototype stage of development represents a powerful tool for improving the overall efficiency of the development procedure, By combining the philosophy of model building with the philosophy of simulation, a complete study of a component or system can be obtained, The conditions of optimum operation can be deter- mined and quickly evaluated over a wider range of variables than is often possible with the hardware or plant itself. Consider, for example, a development program in which a pilot plant is simu- lated with an analog computer, In order to achieve a meaningful simulation, certain basic facts must be known, and these are found from preliminary pilot plant or bench-scale data, Certain heat-transfer coefficients or diffusion constants might, for example, be determined from specific tests in the pilot unit. The simulation then is checked against normal operating data obtained from the plant on the computer where "runs" can be made in a more economical fashion. Three areas of study thus are defined, In the initial phase of investigation it can be seen that the knowledge gained is, perhaps, not immediately useful as design data. The second phase is equivalent to normal operation, except that the computer is added and the model obtained, Finally, the paraliel operation of computer and pilot plant, or prototype, results in a greater amount of information at a substantial decrease in cost and time, since the simulated plant runs faster than the actual plant and does not require any raw materials. -13- 3. Final Development---After pilot plant work is completed, final design calculations are undertaken, Most design calculations are based upon a Steady- state type of operation and, hence, are primarily algebraic equations. In many such cases--for example, multicomponent distillation calculations, heat exchanger sizes and capacities, vessel specifications, structural rigidity, etc.-- complete digital computer programs have been worked out. In such cases, even though the analog is capable of solution, it is obvious that the digital com- puter should be used if available. One of the areas in which the analog computer is particularly applicable is the choice of process instrumentation and control, The large amount of work that has taken place in control engineering recently, in fact, is an excellent illustration of the fact that, while design may be steady-state, the operation of a process is always dynamic. With the analog computer model of a process, the interrelation of its various unit operations can be examined easily, suitable control systems can be tested, and the proper settings on controllers determined. In most cases, the control system itself is simulated; in others, the con- trollers to be used in the plant are connected directly to the computer, The use of the analog computer in such applications is expanding rapidly, and is one of the primary means the process engineer has available to improve process efficiency. The last step in the development of a process is start-up--often a difficult and expensive task. If a computer model has been determined, the proper values of the flow rates and other variables can be tested under different start-up conditions, and the optimum ones selected, In many cases, an appro- priate start-up procedure for a plant can be determined long before the unit is ready for operation, 4, Post Development Work---After a plant is running satisfactorily, the computer model can be adjusted to match the particular idiosyncrasies of the unit, Further experimentation is then possible with the computer. As with the pilot plant, the real plant can be tested for different optimum conditions. The economics of the operation can be investigated under changing values of the products. The range of operation can be extended to determine some of the safety precautions to be observed in the plant. Finally, the computer model can be tested for use of the equipment with different materials, reactions, etc.,in the event that a changeover ever became necessary. It is interesting to note that these suggested areas of application are not aimed at replacing with the analog computer important procedures in the stan- dard process development program, Rather, they supplement the ways and means by which decisions can be made, Thus, in the pilot plant simulation, it was necessary to retain the pilot plant as a check on the simulation, but the simu- lation could be extrapolated outside the range of the actual plant capabilities, The general program involving the analog computer in the process development scheme is characterized by the high rate of information exchange between experiment and simulation, Such a program shows a great improvement over the usual procedures because at no time does it become necessary for the develop- ment program to become "boxed in" by previous studies, The computer provides -14- an economical means for the complete evaluation of the investigation, since these studies are brought into focus, gaps in data are filled and predictions of major importance are obtainable, 5. Inappropriate Areas for the Analog Computer---As mentioned previously, steady-state algebraic equations, can be and have been solved on the analog computer, As a general rule, however, large scale algebraic problems are better solved with a digital computer, In general, problems involving high accuracy are not suitable for the analog computer. Some perturbation schemes have been developed for handling problems up to five and six places but only certain problems can be solved in this way. Under ordinary circumstances, the computer is aécurate to about 0.1% for small simulations, and, depending on the type of problem, may range from 0.5% to 1.0% or more for very large simulations, Most engineering data, however. are not that accurate, For example, heat transfer coefficients, and reaction velocity constants and modules of elasticity, are usually in the 5% to 20% range of accuracy. Consequently, the computation accuracy is usually not a problem, Specific Illustrations of Analog Computer Applications The above discussion has been of e general nature. However, a selected bibliography of computer applications , categorized by specific industrial areas, is presented in Appendix D. References Jackson, A.S.: Analog Computation, McGraw-Hill Book Company, New York, 1960. Johnson, C.L.: Analog Computer Techniques, McGraw-Hill Book Company, New York, 1956, Korn, G.A. and Korn, T.M.: Electronic Analog Computers, 2nd Edition, McGraw- Hill Book Company, New York, Roedel, J.: “An Introduction to Analog Computers", ISA Journal, Volume 1, No. 8, August, 1954, Rogers, A,E, and Connolly, T.W.: Analog Computation in Engineering Design, McGraw-Hill Book Company, New York, 1960, Soroka, W.W.: Analog Methods in Computation and Simulation, McGraw-Hill Book Company, New York, 1956, Wass, C.A.: Introduction to Electronic Analogue Computers, McGraw-Hill Book Company, New York, 1956, -15- CHAPTER IT THE GENERAL PURPOSE ANALOG COMPUTER A. Introduction Analog computers have been constructed in a number of forms which, by defini- tion, appeal to the similarity between the laws of nature. For example, con- sider the analogy between mechanical, electrical and thermal systems: dv dt Fe z Force Acting on a Mass de dt i] Current Flow Through a Capacitor WC a = Heat Flow into a Solid O tt The similarity in mathematical form among these expressions, with the addi- tion of suitable scale factors, allows the heat flow into a solid to be in- vestigated using an electrical circuit or mechanical system, This similarity permits the translation of a problem in a given physical system...a problem for which computations would be difficult, a system for which test models would be expensive and inflexible..into another physical system where relatively cheap models with easily varied parameters can be constructed, The physical forms that have been used for models include mechanical, hydraulic, electrostatic, etc. By far the most useful and versa- tile, however, is the electrical system, When one uses an electrical system, it is usual for voltages to represent the physical variables. Variation of these voltages with time, under the in- fluence of forcing functions, corresponds directly, through scaling factors, to the variation with time of the original problem variables under the action of the original problem forces. Models using electrical elements can take a number of forms. However, for our present purposes, we shall restrict our attention to just one of these forms, namely, the "Electronic Differential Analyzer", It is this kind of physical model that normally is implied when talking of the general-purpose analog computer (GPAC). The general-purpose analog computer is an assembly of electronic and electro- mechanical components which, individually using d-c voltages as variables, can perform specific mathematical operations, The equations most suitable for solution on such a computer are ordinary differential equations containing one independent variable which is represented by time in the computer. Partial -16- differential equations also can be solved by the analog computer using some- what more advanced techniques than those required for the solution of ordinary differential equations, Before discussing programming of the analog computer for the solution of physical problems, it is essential, for effective use of the computer, that a familiarity be gained with: 1) the principle of operation, and the capability of individual computer components 2) the theory of operation and control of the computer itself and 3) the available computational accessories and readout devices, The presentation of this material is the purpose of this chapter. B. Differences between Analog Computers From Figures II-1, II-2, and II-3, it is obvious that analog computers differ in physical appearance, The basic differences, however, lie much deeper. Computers differ