The document discusses mathematical modeling of dynamic systems, including obtaining differential equations to represent system dynamics, different representations like transfer functions and impulse response functions, using block diagrams to visualize system components and signal flows, modeling various physical systems like mechanical, electrical, and thermal systems, and representing systems using signal flow graphs. It provides examples of obtaining transfer functions for different system types and using block diagram reduction techniques to find overall transfer functions.
1. Chapter 3
Mathematical Modeling of Dynamic System
3.1 Introduction
ļ¶A mathematical model of a dynamic system is defined as a set of equations that represents
the dynamics of the system accurately, or at least fairly well.
ļ¶Note that a mathematical model is not unique to a given system. A system may be
represented in many different ways and, therefore, may have many mathematical models,
depending on oneās perspective.
ļ¶The dynamics of many systems, whether they are mechanical, electrical, thermal, economic,
biological, and so on, may be described in terms of differential equations.
ļ¶Such differential equations may be obtained by using physical laws governing a particular
systemāfor example,
ļ¶Newtonās laws for mechanical systems and
ļ¶Kirchhoffās laws for electrical systems.
8/6/2019 1
2. Cont..
ļ¶Mathematical models may assume many different forms. Depending on the
particular system and the particular circumstances, one mathematical model
may be better suited than other models.
ļ¶For example,
ļ¶in optimal control problems, it is advantageous to use state-space representations.
ļ¶for the transient-response or frequency-response analysis of single-input, single-output,
linear, time-invariant systems, the transfer-function representation may be more
convenient than any other.
ļ¶Once a mathematical model of a system is obtained, various analytical and
computer tools can be used for analysis and synthesis purposes
Simplicity Versus Accuracy
ļ¶In obtaining a mathematical model, we must make a compromise between
the simplicity of the model and the accuracy of the results of the analysis
8/6/2019 2
3. Cont..
Linear Systems
ļ¶A system is called linear if the principle of superposition applies.
ļ¶The principle of superposition states that the response produced by the
simultaneous application of two different forcing functions is the sum of the
two individual responses.
ļ¶Hence, for the linear system, the response to several inputs can be calculated
by treating one input at a time and adding the results.
ļ¶In an experimental investigation of a dynamic system, if cause and effect are
proportional, thus implying that the principle of superposition holds, then the
system can be considered linear
8/6/2019 3
4. Cont..
Linear Time-Invariant Systems and Linear Time-Varying Systems
ļ¶A differential equation is linear if the coefficients are constants or functions
only of the independent variable.
ļ¶Dynamic systems that are composed of linear time-invariant lumped-
parameter components may be described by linear time-invariant differential
equationsāthat is, constant-coefficient differential equations.
ļ¶Systems that are represented by differential equations whose coefficients are
functions of time are called linear time-varying systems.
ļ¶An example of a time-varying control system is a spacecraft control system.
(The mass of a spacecraft changes due to fuel consumption.)
8/6/2019 4
5. 3.2 TRANSFER FUNCTION AND IMPULSE RESPONSE FUNCTION
Transfer Function
ļ¶The transfer function of a linear, time-invariant, differential equation system is defined as the
ratio of the Laplace transform of the output (response function) to the Laplace transform of
the input (driving function) under the assumption that all initial conditions are zero.
ļ¶Consider the linear time-invariant system defined by the following differential equation:
where y is the output of the system and x is the input.
8/6/2019 5
6. Properties of transfer function
1. it is an operational method of expressing the differential equation that relates the output
variable to the input variable.
2. The transfer function is a property of a system itself, independent of the magnitude and
nature of the input or driving function.
3. It includes the units necessary information to relate the input to the output; however, it
does not provide any information concerning the physical structure of the system.
(The transfer functions of many physically different systems can be identical.)
4. If the transfer function of a system is known, the output or response can be studied for
various forms of inputs with a view toward understanding the nature of the system.
5. If the transfer function of a system is unknown, it may be established experimentally by
introducing known inputs and studying the output of the system.
Once established, a transfer function gives a full description of the dynamic characteristics
of the system, as distinct from its physical description.
8/6/2019 6
7. Cont..
ļ¶For a linear, time-invariant system the transfer function G(s) is
ļ¶Where X(s) is the Laplace transform of the input to the system and
ļ¶Y(s) is the Laplace transform of the output of the system, where we assume that all initial
conditions involved are zero.
ļ¶ It follows that the output Y(s) can be written as the product of G(s) and
X(s), or
8/6/2019 7
8. Impulse-Response Function
ļ¶Consider the output (response) of a linear time-invariant system to a unit-impulse input when the
initial conditions are zero
ļ¶Since the Laplace transform of the unit-impulse function is unity, the Laplace transform of the
output of the system is
ļ¶The inverse Laplace transform of the output given by Equation above gives the impulse response of
the system
ļ¶The inverse Laplace transform of G(s), or is called the impulse-response function. This function g(t)
is also called the weighting function of the system
ļ¶Therefore, the transfer function and impulse-response function of a linear, time-invariant system contain
the same information about the system dynamics
8/6/2019 8
9. 3.3 Block Diagrams
ļ¶A block diagram of a system is a pictorial representation of the functions performed by each
component and of the flow of signals
ā¢ Such a diagram depicts the interrelationships that exist among the various components.
ā¢ Differing from a purely abstract mathematical representation, a block diagram has the
advantage of indicating more realistically the signal flows of the actual system.
ā¢ In a block diagram all system variables are linked to each other through functional blocks.
ā¢ The functional block or simply block is a symbol for the mathematical operation on the input
signal to the block that produces the output.
ā¢ The transfer functions of the components are usually entered in the corresponding blocks,
which are connected by arrows to indicate the direction of the flow of signals.
ā¢ Note that the signal can pass only in the direction of the arrows. Thus a block diagram of a
control system explicitly shows a unilateral property.
8/6/2019 9
10. ļ¶Note that the dimension of the output signal from the block is the dimension of the input
signal multiplied by the dimension of the transfer function in the block.
Summing Point
ā¢ a circle with a cross is the symbol that indicates a summing operation.
ā¢ The plus or minus sign at each arrowhead indicates whether that signal is to be added or
subtracted.
ā¢ It is important that the quantities being added or subtracted have the same dimensions and
the same units.
Branch Point
ā¢ A branch point is a point from which the signal from a block goes concurrently to other blocks
or summing points
8/6/2019 10
11. Cont...
The advantages
ļ¶Block diagram representation of a system are that it is easy to form the overall block
diagram for the entire system
ļ¶The functional operation of the system can be visualized more readily by examining the
block diagram than by examining the physical system itself.
The disadvantage
ļ¶A block diagram contains information concerning dynamic behavior, but it does not
include any information on the physical construction of the system.
ļ¶Consequently, many dissimilar and unrelated systems can be represented by the same
block diagram.
8/6/2019 11
12. Block diagram of closed loop system
ļ¶Consider the simple feedback control system
the ratio of the feedback signal B(s) to the
actuating error signal E(s) is called the open-
loop transfer function. That is,
The ratio of the output C(s) to the actuating
error signal E(s) is called the feed-forward
transfer function, so that
If the feedback transfer function H(s) is unity,
then the open-loop transfer function and the
feed-forward transfer function are the same.
8/6/2019 12
13. Note : If the feedback signal is added to the reference input the feedback is said to be positive feedback. On the
other hand if the feedback signal is subtracted from the reference input, the feedback is said to be negative
feedback).
ā¢ The block diagram of a complex system can be constructed by finding the transfer functions of simple
subsystems. The overall transfer function can be found by reducing the block diagram, using block
diagram reduction techniques
8/6/2019 13
14. Block Diagram Reduction Techniques
ā¢ A block diagram with several summers and pick off points can be reduced to a
single block, by using block diagram algebra, consisting of the following rules
ļ±Step 1:Two blocks G1 and G2 in cascade can be replaced by a single block as shown,
ļ± Step 2 : A summing point can be moved from right side of the block to left side of the block as shown,
8/6/2019 14
15. ļ±Step 3: A summing point can be moved from left side of the block to right side of the block as shown,
ļ± Step 4: A Pick off point can be moved from the right side of the block to left side of the block as shown
8/6/2019 15
16. ļ±Step 5: A Pick off point can be moved from left side of the block to the right side of the block as shown
ļ± Step 6: A feedback loop can be replaced by a single block as shown
ļ¼ Using these six rules any complex block diagram can be simplified to a single block with an input and output.
The summing points and pick off points are moved to the left or right of the blocks so that we have either two blocks
in cascade, which can be combined, or a simple feedback loop results, which can be replaced by a single block
8/6/2019 16
18. Example
ā¢ Find the overall transfer function of the system shown in Figure below using block diagram
reduction technique.
Solution:
ļ±Step 1 : Using rule 6, the feedback loop with G2 and H2 is replaced by a single block as shown
8/6/2019 18
19. ļ±Step 2: The two blocks in the forward path are in cascade and can be replaced using rule 1 as shown
ļ± Step 3: Finally, the loop in Figure above is replaced by a single block using rule 6
Exercise: Obtain the overall transfer function of
the system shown
8/6/2019 19
20. 3.4 Mechanical, Electrical, Liquid ālevel and thermal Systems
Electrical system
ā¢ Most of the electrical systems can be modelled by three basic elements :
ā¢ Resistor,
ā¢ inductor, and
ā¢ capacitor.
ā¢ Circuits consisting of these three elements are analyzed by using Kirchhoff's
Voltage law and Current law.
ā¢ The transfer function can be obtained by taking Laplace transform the
differential equation and rearranging them as a ratio of output to input.
8/6/2019 20
22. Example
ā¢ Consider the parallel RLC network excited by a current source. Find the (a) differential
equation representation and (b) transfer function representation of the system.
8/6/2019 22
23. Mechanical Systems
ā¢ Mechanical systems can be divided into two basic systems.
1. Translational systems and
2. Rotational systems
ā¢ We will consider these two systems separately and describe these systems in terms of three
fundamental linear elements.
ā¢ Translational systems:
1. Mass: represents an element which resists the motion due to inertia. According to Newton's
second law of motion, the inertia force is equal to mass times acceleration.
8/6/2019 23
24. ā¢ 2. Dash pot: This is an element which opposes motion due to friction.
ā¢ If the friction is viscous friction, the frictional force is proportional to velocity. This force is also
known as dampling force.
ā¢ Thus we can write as,
ā¢ Where B is the damping coefficient.
ā¢ 3. Spring: The third element which opposes motion is the spring.
ā¢ The restoring force of a spring is proportional to the displacement.
Thus,
ā¢ Where K is known as the stiffness of the spring or simply spring constant
8/6/2019 24
25. Rotational systems:
ā¢ Corresponding to the three basic elements of translation systems, there are three basic elements
representing rotational systems.
ā¢ 1. Moment of Inertia: This element opposes the rotational motion due to Moment of inertia. The
opposing inertia torque is given by,
ā¢ Where Ī±, Ļ, and Īø are the angular acceleration, angular velocity and angular displacement
respectively. J is known as the moment of inertia of the body.
ā¢ 2. Friction: The damping or frictional torque which opposes the rotational motion is given by,
ā¢ Where B is the rotational frictional coefficient.
ā¢ 3. Spring: The restoring torque of a spring is proportional to the angular displacement Īø and is
given by,
8/6/2019 25
26. ā¢ If three elements of rotational systems are similar in nature to those of translational systems
no separate symbols are necessary to represent these elements.
ā¢ For basic elements of mechanical systems, we able to write differential equations for the
system, when these mechanical systems are subjected to external forces.
ā¢ This is done by using the D' Alembert's principle which is similar to the Kirchhoff's laws in
Electrical Networks. Also, this principle is a modified version of Newton's second law of
motion.
ā¢ The D' Alembert's principle states that,
ā¢ "For any body, the algebraic sum of externally applied forces and the forces opposing the motion
in any given direction is zero".
ā¢ To apply this principle to any body, a reference direction of motion is first chosen.
ā¢ All forces acting in this direction are taken positive and those against this direction are taken as
negative.
8/6/2019 26
27. For example, consider a translational mechanical system
ā¢ Let us take a reference direction of motion of the body from left
to right.
ā¢ Let the displacement of the mass be x.
ā¢ We assume that the mass is a rigid body, i.e., every particle in the
body has the same displacement, x.
ā¢ Let us enumerate the forces acting on the body as,
1. external force = f
2. resisting forces :
ā¢ This is the differential equation
governing the motion of the mechanical
translation system.
ā¢ The transfer function can be easily
obtained by taking Laplace transform.
Thus,
8/6/2019 27
28. ā¢ consider a rotational mechanical system
ā¢ Similarly, the differential equation governing the
motion of rotational system can also be obtained.
Torque:
8/6/2019 28
29. Analogous system
ā¢ The system have the same type of equations even though they have different
physical appearance.
ā¢ Mechanical systems, fluid systems, temperature systems etc. may be governed
by the same types of equations as that of electrical circuits.
ā¢ Designing and constructing a model is easier in electrical systems.
ā¢ The system can be built up with cheap elements,
ā¢ the values of the elements can be changed with ease and
ā¢ experimentation is easy with electrical circuits.
ā¢ Once a circuit is designed with the required characteristics, it can be readily
translated into a mechanical system.
ā¢ It is not only true for mechanical systems but also several other systems like
acoustical, thermal, fluid and even economic systems.
8/6/2019 29
30. Analogous quantities based on force voltage analogy
Analogous quantities based on Force - Current analogy
8/6/2019 30
31. Example
ā¢ Write the equations describing the motion of the mechanical system shown in Figure below.
ā¢ Also find the transfer function X1(s)/F(s)
Solution:
ā¢ The first step is to identify the displacements of masses M1 and M2 as X1
and X2 in the direction of the applied external force!
ā¢ Next we write the equilibrium equation for each of the masses by
identifying the forces acting on them.
Let us first find out the forces acting on mass M 1
8/6/2019 31
33. ā¢ From eqns. (1) & (2), force voltage analogous electrical circuits can be drawn as shown in fig.
8/6/2019 33
34. Assignment 1
1. Briefly explain about Block Diagrams of Liquid ālevel and thermal
Systems
8/6/2019 34
35. 3.4. Signal Flow graph
ā¢ Another useful way of representing a system is by a signal flow graph.
ā¢ A signal flow graph describes how a signal gets modified as it travels from
input to output and the overall transfer function can be obtained very easily
by using Mason's gain formula.
ā¢ Signal flow graph: It is a graphical representation of the relationships
between the variables of a system.
ā¢ Node: Every variable in a system is represented by a node.
ā¢ The value of the variable is equal to the sum of the signals coming towards
the node.
ā¢ Its value is unaffected by the signals which are going away from the node.
8/6/2019 35
36. ā¢ Branch : A signal travels along a branch from one node to another node in the direction
indicated on the branch. Every branch is associated with a gain constant or transmittance
ā¢ The signal gets multiplied by this gain as it travels from one node to another.
8/6/2019 36
Branches are: š12, š23, š42
Nodes are:š„1, š„2, š„3, š„4
Input node: It is a node at which only outgoing branches are present. In Figure below node X1 is an input
node. It is also called as source node.
37. ā¢ Output node: It is a node at which only incoming signals are present. Node X4 is an output
node.
ā¢ Path: It is the traversal from one node to another node through the branches in the direction
of the branches such that no node is traversed twice
ā¢ Forward path: It is a path from input node to output node.
ā¢ In figure above, X1-X2-X3-X4-X5 and
ā¢ X1-X2-X5 is also a forward path
ā¢ Loop: It is a path starting and ending on the same node.
ā¢ x3 - x 4 - x3 is a loop.
ā¢ Similarly x 2 - x3 - x 4 - x 2 is also a loop.
ā¢ Non touching loops: Loops which have no common node, are said to be non touching loops.
ā¢ Forward path gain: The gain product of the branches in the forward path is called forward
path gain.
ā¢ Loop gain : The product of gains of branches in the loop is called as loop gain.
8/6/2019 37
38. Construction of a Signal Flow Graph for a System
ā¢ A signal flow graph for a given system can be constructed by writing down the equations governing
the variables.
ā¢ Consider the following circuits:
8/6/2019 38
ā¢ The variables I1(s), I2(s), V1(s), V2(s) and Vo(s) are represented by nodes and these nodes are
interconnected with branches to satisfy the relationships between them.
ā¢ The resulting signal flow graph is shown
39. Mason's Gain Formula
ā¢ The transfer function (gain) of the given signal flow graph can be easily obtained by using Mason's
gain formula.
8/6/2019 39
where Pmr is the product of the gains of mth possible combination of r non touching loops.
Or
Ī= 1 - (sum of gains of individual loops) + sum of gain products of possible combinations
of 2 non touching loops) - (sum of gain products of all possible combinations of 3 non touching
loops) + .....
and Īk is the value of Ī for that part of the graph which is non touching with kth forward path.
40. Example
To explain the use of this formula, let us consider the signal flow graph shown in
Figure below, and find the transfer function C(s)/R(s)
8/6/2019 40