Mathematical description of differential equation solving electrical circuits

Similar documents
Columbus State Community College Mathematics Department. CREDITS: 5 CLASS HOURS PER WEEK: 5 PREREQUISITES: MATH 2173 with a C or higher

Using Abel's Theorem to Explain Repeated Roots of the Characteristic Equation

Elementary Differential Equations Sixth Edition Solutions

4.4 Solving Initial Value Problems

Intermediate Differential Equations By E D Rainville

Elementary Differential Equations Rainville Bedient Solutions Manual

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

These notes are based mostly on [3]. They also rely on [2] and [1], though to a lesser extent.

Homework 9 - Solutions. Math 2177, Lecturer: Alena Erchenko

ORDINARY DIFFERENTIAL EQUATIONS

Differential Equations and Linear Algebra Supplementary Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University

Mathematics with Maple

Chabot College Fall Course Outline for Mathematics 25 COMPUTATIONAL METHODS FOR ENGINEERS AND SCIENTISTS

Guide for Ph.D. Area Examination in Applied Mathematics

We shall finally briefly discuss the generalization of the solution methods to a system of n first order differential equations.

ORDINARY DIFFERENTIAL EQUATIONS

Boyce/DiPrima/Meade 11 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields

ROCHESTER INSTITUTE OF TECHNOLOGY COURSE OUTLINE FORM COLLEGE OF SCIENCE. School of Mathematical Sciences

Elementary Differential Equations Rainville 8th Edition Solution

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Differential Equations and Lumped Element Circuits

The Phasor Solution Method

References for M647. General Modeling MATLAB

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Computer Problems for Methods of Solving Ordinary Differential Equations

REFERENCES PROBLEMS. 62 Chapter 2 Models of Physical Systems

Picard s Existence and Uniqueness Theorem

Scattering Parameters

Lahore University of Management Sciences. MATH 210 Introduction to Differential Equations

First and Second Order Differential Equations Lecture 4

A.1 THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM. 0 δ(t)dt = 1, (A.1) δ(t)dt =

Lecture 7: Laplace Transform and Its Applications Dr.-Ing. Sudchai Boonto

25. Chain Rule. Now, f is a function of t only. Expand by multiplication:

MATH 353 LECTURE NOTES: WEEK 1 FIRST ORDER ODES

Module 10: Finite Difference Methods for Boundary Value Problems Lecture 42: Special Boundary Value Problems. The Lecture Contains:

Basic. Theory. ircuit. Charles A. Desoer. Ernest S. Kuh. and. McGraw-Hill Book Company

Module 1: Signals & System

Math Ordinary Differential Equations

1.4 Unit Step & Unit Impulse Functions

CHAPTER 7. An Introduction to Numerical Methods for. Linear and Nonlinear ODE s

Elementary Differential Equations Boyce Solutions Manual Download

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

SOME PROPERTIES OF SOLUTIONS TO POLYNOMIAL SYSTEMS OF DIFFERENTIAL EQUATIONS

LINEAR DIFFERENTIAL EQUATIONS. Theorem 1 (Existence and Uniqueness). [1, NSS, Section 6.1, Theorem 1] 1 Suppose. y(x)

EC Control Systems- Question bank

Particle Filters. Outline

DOWNLOAD OR READ : NONLINEAR PARTIAL DIFFERENTIAL EQUATIONS IN APPLIED SCIENCE PROCEEDINGS OF THE U S JAPAN SEMINAR TOKYO 1982 PDF EBOOK EPUB MOBI

Autonomous systems. Ordinary differential equations which do not contain the independent variable explicitly are said to be autonomous.

The College Mathematics Journal, Vol. 21, No. 4. (Sep., 1990), pp

UNIVERSITY OF PUNE, PUNE BOARD OF STUDIES IN MATHEMATICS SYLLABUS. F.Y.BSc (Computer Science) Paper-I Discrete Mathematics First Term

Automatic Stabilization of an Unmodeled Dynamical System Final Report

EIT Quick-Review Electrical Prof. Frank Merat

Introduction to Operations Research

THEORETICAL ANALYSIS OF Ä È MEAN COMPARATORS. Constantine Kotropoulos and Ioannis Pitas

Fundamentals Of Differential Equations Nagle Saff Snider Solutions

( ) about L in the ( ) so ( ).

MTH210 DIFFERENTIAL EQUATIONS. Dr. Gizem SEYHAN ÖZTEPE

Solutions to Math 53 Math 53 Practice Final

MATH 251 Final Examination December 16, 2015 FORM A. Name: Student Number: Section:

Let (Ω, F) be a measureable space. A filtration in discrete time is a sequence of. F s F t

Two years of high school algebra and ACT math score of at least 19; or DSPM0850 or equivalent math placement score.

Laplace Transforms Chapter 3

The Exponential of a Matrix

California Subject Examinations for Teachers

UNIVERSITY OF PUNE, PUNE. Syllabus for F.Y.B.Sc Subject: MATHEMATICS (With effect from June 2013)

Elementary Differential Equations 10th Edition Solutions Chegg

Section 2.1 (First Order) Linear DEs; Method of Integrating Factors. General first order linear DEs Standard Form; y'(t) + p(t) y = g(t)

Topic 6: Projected Dynamical Systems


MATH 24 EXAM 3 SOLUTIONS

: TEACHING DIFFERENTIAL EQUATIONS WITH AN ENGINEERING FOCUS

e st f (t) dt = e st tf(t) dt = L {t f(t)} s

Ordinary Differential Equation Introduction and Preliminaries

MMA402DMS Differential Manifolds

HIGHER-ORDER LINEAR ORDINARY DIFFERENTIAL EQUATIONS IV: Variable Coefficient Nonhomogeneous Case

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS CALCULUS III MATH 2110

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

DESIGN AND IMPLEMENTATION OF OBJECT-ORIENTED COMPUTER SOFTWARE TO SOLVE SECOND ORDER ORDINARY DIFFERENTIAL EQUATIONS WITH CONSTANT COEFFICIENTS

Syllabus (Session )

Algebraic Properties of Solutions of Linear Systems

Troubles at the Origin: Consistent Usage and Properties of the Unilateral Laplace Transform

Optimal Control Strategies in a Two Dimensional Differential Game Using Linear Equation under a Perturbed System

Time fractional Schrödinger equation

4. Course Level [ ]Undergraduate Only [ ]Graduate Only [ ]Graduate/Undergraduate

Lecture 2. Introduction to Systems (Lathi )

THE SEPARATRIX FOR A SECOND ORDER ORDINARY DIFFERENTIAL EQUATION OR A 2 2 SYSTEM OF FIRST ORDER ODE WHICH ALLOWS A PHASE PLANE QUANTITATIVE ANALYSIS

Math 333 Qualitative Results: Forced Harmonic Oscillators

HOMEWORK 4: MATH 265: SOLUTIONS. y p = cos(ω 0t) 9 ω 2 0

Section 6.4 DEs with Discontinuous Forcing Functions

Taylor series based nite dierence approximations of higher-degree derivatives

Response of Second-Order Systems

Physics for Scientists & Engineers 2

Continuous system simulation. Prof. S. Shakya

1. (10 points) Find the general solution to the following second-order differential equation:

Differential and Difference LTI systems

Section 5.6. LU and LDU Factorizations

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

Numerical Integration Schemes for Unequal Data Spacing

Half of Final Exam Name: Practice Problems October 28, 2014

SEC POWER METHOD Power Method

Transcription:

Journal of Circuits, Systems, and Computers c World Scientific Publishing Company Mathematical description of differential equation solving electrical circuits K. NAKKEERAN School of Engineering, Fraser Noble Building, King s College, University of Aberdeen, Aberdeen AB24 3UE, United Kingdom K.Nakkeeran@abdn.ac.uk Received (Day Month Year) Revised (Day Month Year) Accepted (Day Month Year) We show that the working principle of the differential equation solving analog electrical circuits is exactly the same as the Picard s method available for numerically solving the ordinary differential equations. The integrator circuit (low-pass filter) uses an initial condition and electrical input signal to generate the Maclaurin s series of a time varying function in recursion. This direct connection between the differential equation solving electrical circuits and Picard s method can be exploited to simplify the procedure of Picard s method to solve any order linear and nonlinear differential equations. Keywords: Electric circuits; Ordinary differential equations (ODEs); Picard s method. 1. Introduction The dynamics of any system is usually modeled using differential equations. Depending on the complexity of the system, the modeled differential equation will also be complex in nature. The types of the differential equations include linear and nonlinear ordinary and partial differential equations. Different procedures were developed to study and solve the differential equations. The studies on the differential equations help to control the systems and to explore the stability of the systems. On the other hand, the exact solution of the differential equations helps in understanding the complete dynamics of the systems. When the system equation becomes quite difficult to derive the exact analytical solution, the other powerful handy procedure namely the numerical methods are used to solve the initial value problems and boundary value problems. Analog electric circuits can also solve the ordinary differential equations (ODEs). Basically a low-pass-filter with resistor, capacitor and operational amplifier is utilized to design a simple integrator circuit. 1 For any given ODE, a proper combination of the integrators, adders and multipliers can be used to visualize the solution for the dependent variable on an oscilloscope, while time (t) being the independent variable. In this work, we show that an analog electric circuit which can solve an 1

2 K. Nakkeeran ODE, works on the same basic concept of how Picard s method solves the ODE, numerically. In recursion, an integrator circuit uses the initial condition and the electrical signal input to generate the Maclaurin s series for the output integrated function. This direct connection between the differential equation solving electric circuits and Picard s method can be exploited to simplify the procedure of Picard s method to solve any order linear and nonlinear differential equations. 2. Analog electric circuit ODE solver A real time analog integrator circuit can be designed with a resistor, capacitor and an operational amplifier as shown in Fig. 1. Figure 1 also shows the the conventional schematic representation of the integrator on the right-hand side. The time constant RC can be scaled to 1 using a resistor value R = 1 MΩ and a capacitor value C =1 µf. Hence if the electric signal input to the integrator is y (t) ( denotes d/dt), then the output would be y(t). In the integrator one can give the initial condition also as shown in the right-hand side of Fig. 1. C y'(t) R y(t) y'(t) y(t) y()= Fig. 1. Electrical integrator circuit (left-hand side) and its pictorial representation (right-hand side). Nowletusseehowtheintegratorcanbe used to solve an ODE. Consider a simple ODE in the form: y + y =. (1) Let the initial conditions for the ODE (1) are y () = 1 and y() =. ODE (1) can be rewritten as y = y. This way of rewriting the ODE with the highest derivative in terms of the lower derivative terms will help to realize the analog circuit solver as shown in Fig. 2. From the expression y = y, it is obvious that the second derivative (y ) potential is equal to the negative value of the solution (y). That is why in the circuit shown in Fig. 2, the output of the inverter is fed back as the input of the first integrator. That is how the circuit becomes the solver for the ODE (1). In fact the solution of the ODE (1) and its first derivative y (t) take the analytic forms: y(t) =sin(t), y (t) =cos(t). (2) Thus the sin(t) and cos(t) waveform can be visualized in the oscilloscope, respectively, at the output of the integrators two and one in Fig. 2. As such, the circuit

Mathematical description of differential equation solving electrical circuits 3 y'' y' y -y y'()=1 y()= Fig. 2. Analog circuit solver for the ODE (1). in Fig. 2 behaves like an oscillator. Let us see how these oscillatory waveforms are generated. The obvious source in the circuit is the initial condition y () = 1. Hence when t = at the output of the first integrator, 1 is available for y (t). Thus y () = 1 will be the input to the second integrator which integrates y (t) toget y(t) ast. Then the inverter generates y which equals y as given by the ODE (1). This whole process can be treated as the first iteration: First iteration: y =1; y = t; y = t. (3) Now, at the input of the first integrator, t is available as the electrical signal which will be integrated and added with the initial condition 1 to generate y = 1 t 2 /2. Thus the electrical signal 1 t 2 /2 will be integrated by the second integrator to generate y = t y 3 /6. Hence the second iteration is given by: Second iteration: y =1 t2 2! ; y = t t3 3! ; y = t + t3 3!. (4) This process can go on indefinitely within no time to generate the following n th iteration: n th iteration: y =1 t2 2! + t4 4! t6 6! + ; y = t t3 3! + t5 5! t7 + ; (5) 7! y = t + t3 3! t5 5! + t7 7!. From the above expressions for y, y and y it is obvious that the iteration process, in fact, generates the next term in the Maclaurin s series corresponding to the analytical expression for y =sin(t), y =cos(t) andy = sin(t), respectively.

4 K. Nakkeeran 3. Picard s method for differential equations We now consider Picard s method for solving differential equations. Starting with the initial value problem, we have, y = f(t, y), with y() = y. (6) Here we have chosen the initial point t = in equation (6) in order to simplify the calculations. If both f(t, y) andf y (t, y) are continuous then a solution to equation (6) exists. 2 The following method was developed by Emile Picard in 1891. 3 If y(t) isthe solution of equation (6), then by reformulating equation (6) as an equivalent integral equation, t y (z)dz = t f(z,y(z))dz. (7) The Fundamental Theorem of Calculus is used to integrate the left-hand side of equation (7), and the result, after rearranging the terms, is: t y(t) =y + f(z,y(z))dz. (8) If we use equation (8) and input a formula for y(z) in the integrand f(z,y(z)), then the function y(t) on the left-hand side is considered as the output. Start by substituting Y (z) =y for y(z) inf(z,y(z)) and get the integrand f(z,y ), this defines Y 1 (z). Next substitute Y 1 (z) fory(z) and get the integrand f(z,y 1 (z)), this will define Y 2 (z), etc.,. The process is repeated, and eventually leads to a sequence of functions {Y n (z)} which are defined successively by: t Y n+1 (t) =y + f(z,y n (z))dz for n. (9) The sequence of approximations converges to the solution, i.e., lim Y n(t) =y(t). (1) n Consider the following initial value problem: y = y t with y() = 2. (11) When we use the Picard s iterative method to find the solution of the equation (11) up to six iterations (starting with Y =2),weget Y 6 =2+2t + t2 2 + t3 6 + t4 24 + t5 12 (12)

Mathematical description of differential equation solving electrical circuits 5 Techniques from calculus can be used to find the solution y(t) =1+t +exp(t). We can express this as a Maclaurin series and observe that the sequence {Y n (t)} converges to the solution y(t) =1+t +exp(t) =2+2t + t2 2! + t2 tn + + +. (13) 2! n! Extension to higher order differential equations Let us see how to solve the initial value problem for a second order differential equation using Picard s iterative method. Any second order ODE can be transformed to a coupled system of two first order ODEs. Thus we have to consider the following system of ODEs to find the solution of a second order ODE using Picard s method: x = f(t, x, y) withx() = x, and y = g(t, x, y) withy() = y, (14) Picard s iteration can be used to generate sequences {X n (t)} and {Y n (t)} which converge to the solution functions x(t) andy(t), respectively. 4 They are defined by X (t) =x, Y (t) =y, (15) X n+1 (t) =x + t f(z,x n (z),y n (z))dz for n, Y n+1 (t) =y + t g(z,x n (z),y n (z))dz for n. The sequences of approximations converge to the solution, i.e., (16) lim X n(t) =x(t) and n lim Y n(t) =y(t). n Consider the following second order ODE with the initial conditions: (17) y =3y 2y, with y () = 5 and y() = 2. (18) Above second order ODE (18) can be transformed to a coupled system of two first orderodesasfollows: x = x 2y with x() = 1, and y =3x +4y with y() = 2. (19) Using the Picard s iterative method the solutions of the equations (19) up to five iterations (starting with X = 1 andy = 2) are found to be

6 K. Nakkeeran X 5 = 1 3t 7 2 t2 5 2 t3 31 24 t4 21 4 t5, Y 5 =2+5t + 11 2 t2 + 23 6 t3 + 47 24 t4 + 19 24 t5. The analytic solutions are x(t) = exp(t) 2exp(2t) andy(t) = exp(t) + 3exp(2t) and can be expanded in their respective Maclaurin series. Hence, we can observe that the sequences converge to the solution (2) x(t) =exp(t) 2exp(2t) = 1 3t 7 2 t2 5 2 t3 31 24 t4 21 4 t5 127 72 t6, y(t) = exp(t)+3exp(2t) =2+5t + 11 2 t2 + 23 6 t3 + 47 24 t4 + 19 24 t5 + 191 72 t6 +. Thus any n th order ODE can be transformed to n system of first order ODEs and then the Picard s method can be used to find the solutions. (21) 4. Discussion When we compare the mathematical description of how an analog electric ODE solver works (discussed in Section 2) and the Picard s method to solve the ODEs (discussed in Section 3), it is quite obvious that both of them are one and the same. One can clearly see how both of them generate the Maclaurin series as the solution for the ODE. In Section 3, we have described how the higher order ODEs are solved using the Picard s iterative method. In fact there is no need to transform the higher order ODEs to the system of first order ODEs to use the Picard s method. When we use the schematic block diagram for the electric circuit ODE solver, any order ODE can be directly solved to generate the Maclaurin series. The electric circuit solver for the second order ODE (18) can be drawn schematically as shown in Fig. 3. y'' y' y 3y' 3-2 -2y 3y'-2y y'()=5 y()=2 Fig. 3. Analog circuit solver for the second order ODE (18). Now let us see how the solution for the second order ODE (18) is directly obtained from the electric circuit schematic diagram as shown in Fig. 3. When t =,the

Mathematical description of differential equation solving electrical circuits 7 initial conditions y () = 2 and y() = 5 are available, respectively, in the first and second integrators. These initial conditions are respectively, multiplied by 3 and 2 in the scalar multipliers and thus 3y =15and 2y = 4 are available as inputs to the summing amplifier. The output of the added 3y 2y =11isfedbackas the input to the first integrator. Hence the output of the first integrator in addition to the initial condition would be y =5+11t. Similarly, the output of the second integrator will be y =2+5t +11t 2 /2. This iteration process can be continued to generate the other terms in the Maclaurin series for y(t) as in the equation (21). The schematic block diagram can be used not only for first and second order linear ODEs, it can also be used for system of equations like higher order ODEs. Using multipliers and dividers in the block diagram, one can find the solutions for nonlinear ODEs as well. The examples illustrated in this work are all based on homogeneous ODEs. But the electric circuit can be constructed to solve nonhomogeneous ODEs and as well for time-varying ODEs. More details about how to draw the schematic diagrams for different kinds of ODEs can be found in the literature. 1 5. Conclusion In this work, we have shown the mathematical description of how an analog electric circuit ODE solver works. Both the Picard s iterative method for solving an ODE and the electric circuit solver generate the Maclaurin series of the solution of the ODE. The schematic block diagram representation of the ODE as an electric circuit can simplify the process of using the Picard s method for various kinds of ODEs. Picard s method is being utilized for solving various kinds of system equations. 4,5,6,7,8,9,1 So we believe that the block diagram representation of the differential equations can simplify the procedure of applying the Picard s method to solve the equations. Acknowledgment Author wishes to thank Dr.K.Senthilnathan. References 1. V. Rajaraman, Analog Computation and Simulation, (Printice Hall, New Delhi, 1971). 2. G. Birkhoff and G. C. Rota, Ordinary Differential Equations, (John Wiley and Sons, New York,1978). 3. (Charles) Emile Picard, Jour. de Math, 6 (189) 145 21. 4. Einar Hille, Lectures on Ordinary Differential Equations, (Addison-Wesley Pub. Co., Reading, MA, 1969, pp. 32-41). 5. Stephen W. Goode, Differential Equations and Linear Algebra, (3rd edition, Prentice Hall, Upper Saddle River, NJ, 25, Appendix 4). 6. R. Kent Nagle; Edward B. Saff; and Arthur David Snider, Fundamentals of Differential Equations and Boundary Value Problems, (4th edition, Addison-Wesley, Boston, MA, 24, Chapter 13, Sections 1 and 2.)

8 K. Nakkeeran 7. C. Henry Edwards; and David E. Penney, Differential Equations and Boundary Value Problems: Computing and Modeling, (3rd edition, Prentice Hall, Upper Saddle River, NJ, 25, Appendix A.1.) 8. William E. Boyce; and Richard C. DiPrima, Elementary Differential Equations and Boundary Value Problems, (7th Edition, John Wiley and Sons, New York, NY, 22, Chapter 2, Section 8.) 9. Garrett Birkhoff; and Gian-Carlo Rota, Ordinary Differential Equations, (4rd Ed., John Wiley and Sons, New York, NY, 1989, Chapter 1, p. 23.) 1. Arthur Wouk, On the Cauchy-Picard Method, The American Mathematical Monthly, 7, (1963), 158-162, Jstor.