Professional Documents
Culture Documents
2-Mathematical Models of Systems
2-Mathematical Models of Systems
2-Mathematical Models of Systems
Introduction
Differential Equations of Physical
Systems
The Laplace Transform
Transfer Function of Linear Systems
A mathematical model is a set of equations (usually
differential equations) that represents the dynamics
of systems.
In practice, the complexity of the system requires
some assumptions in the determination model.
The equations of the mathematical model may be
solved using mathematical tools such as the Laplace
Transform.
Before solving the equations, we usually need to
linearize them.
How do we obtain the
equations?
Physical law of the process Differential
Equation
Examples:
i. Mechanical system (Newtons laws)
ii. Electrical system (Kirchhoffs laws)
Example: Springer-mass-damper system
Linearly
f (t ) bv(t ) proportional to
the velocity
Example: Springer-mass-damper system
bv(t ) ky (t ) r (t ) Ma(t )
d 2 y (t ) dy (t )
M 2
b ky (t ) r (t )
dt dt
Example: RLC Circuit
v(t ) VR VL Vc 0
t
di (t ) 1
L Ri (t ) i ( )d v(t )
dt C0
Thermal System: Thermal Capacitance
Linearization of a Nonlinear function (contd)
Primary variables: pressure, mass and mass flow rate
Conservation of mass:
Conservation of volume:
Fluid density
Fluid capacitance
Liquid Level Systems (2)
The differential equations are transformed into
algebraic equations, which are easier to solve.
The Laplace transformation for a function of time, f(t)
is:
F ( s ) f (t )e st dt L{ f (t )}
0
dy dy
f (t ) L{ f (t )} L sL{ y (t )} y (0)
If, dt , then, dt
d 2 y (t ) dy (t ) dy (0)
L sL
Similarly, dt 2 dt dt
d 2 y (t ) dy (0)
L
Thus, dt 2 s 2
L{ y (t )} sy ( 0 )
dt
Example: Spring-mass-damper dynamic equation
d 2 y (t ) dy (t )
M 2
b ky (t ) r (t )
dt dt
Laplace Transform for the equation
above: 2
M [ s Y ( s ) sy (0) y (0)] b[ sY ( s ) y (0)] kY ( s ) R( s )
( Ms b) y0 p( s)
Y (s)
Ms bs k q ( s)
2
Example: Spring-mass-damper dynamic equation
( Ms b) y0 p( s)
Y (s)
Ms bs k q ( s )
2
Some Definitions
i.q(s) = 0 is called characteristic
equation (C.E.) because the roots of
this equation determine the character
of the time response.
ii.The roots of C.E are also called the
poles of the system.
iii.The roots of numerator polynomial
p(s) are called the zeros of the system.
Transform table:
f(t) F(s)
i. Unit function: f (t ) 1
F ( s) F1 ( s) F2 ( s ) Fn ( s )
f (t ) L1 F1 ( s ) L1 F2 ( s ) L1 Fn ( s )
f1 (t ) f 2 (t ) f n (t )
We will consider three cases and show that F(s) can
be expanded into partial fraction:
i. Case 1:
Roots of denominator A(s) are real and distinct.
ii. Case 2:
Roots of denominator A(s) are real and repeated.
iii. Case 3:
2 2
s 1 s 2
f (t ) 2e t 2e 2t
Case 1: Roots of denominator A(s) are real and
distinct.
f (t ) 2e t 2e 2t 2te 2t
Case 3: Roots of denominator A(s) are complex
conjugate.
Example: 3
F (s)
s ( s 2 2s 5)
Solution:
3 3 t 1
f (t ) e (cos 2t sin 2t )
5 5 2
Problem: Find the solution x(t) for the following
differential equations.
i. x 3 x 2 x 0, x(0) a, x (0) b
Ms 2Y ( s ) bsY ( s ) kY ( s) R( s )
1
R(s) Y(s)
Ms 2 bs k
The transfer function is given by the following.
Y (s) 1
G ( s)
R( s ) Ms 2 bs k
Electrical Network Transfer Function
Component
Component V-I
V-I I-V
I-V V-Q
V-Q Impedanc
Impedanc Admittan
Admittan
e
e ce
ce
Problem: Obtain the transfer function for the following RC
network.
Problem: Obtain the transfer function for the following
RLC network.
Answer:
Op-Amp Circuit Transfer Function
Frequently used to amplify signal
in sensor circuits.
e1 and e2 are relative to ground.
e1 to the -ve terminal of the
amplifier is inverted, and e2 to the
+ve terminal.
The total input to the amplifier is e2-e1. So, we have:
e0 K (e2 e1 )
e' 0
e0 R2
e1 R1
Cascaded sub-systems:
DC Servomotor (2)
DC Servomotor (4)
DC Servomotor (3)
The whole of science is nothing more than a
refinement of everyday thinking