Mathematical Modeling 1
Mathematical Modeling 1
Mathematical Modeling 1
MATHEMATICAL MODELING 1
By Tewedage Sileshi
Goal for today’s lecture
Keep in mind that deriving reasonable mathematical models is the most important
Representation
Simplicity versus Accuracy
Linear systems
Transfer Function
Transfer function
defined as the ration 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.
Cont’d
Consider the linear time invariant system defined by the following differential
equation:
+…+ +…+
expressing the differential equation that relates the output variable to input variable.
The transfer function is a property of a system itself, independent of the magnitude and nature of the
The transfer function includes the units necessary 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.)
Cont’d
If the transfer function of a system is known, the output or response can be studied for
various of inputs with a view toward understanding the nature of the system.
F Mx Cx kx
• Taking the Laplace Transform of both sides and ignoring Initial conditions we get
F ( s ) Ms 2 X ( s ) CsX ( s ) kX ( s )
X (s) 1
F(s) Ms 2 Cs k
Example -2
The two-port network shown in the following figure has vi(t) as the input voltage and vo(t) as the
output voltage. Find the transfer function Vo(s)/Vi(s) of the network.
1
vi ( t ) i( t ) R i(t )dt
C
1
vo ( t ) i( t )dt
C
Cont’d
1 1
vi ( t ) i( t ) R i(t )dt vo ( t ) i( t )dt
C C
1
Vi ( s ) I ( s )( R ) CsVo ( s ) I ( s )
Cs
Cont’d
1 CsVo ( s ) I ( s )
Vi ( s ) I ( s )( R )
Cs
Substitute I(s) in equation on left
1
Vi ( s ) CsVo ( s )( R )
Cs
Vo ( s ) 1
Vi ( s ) 1
Cs( R )
Cs
Vo ( s ) 1
Vi ( s ) 1 RCs
Example-3: Armature Controlled D.C Motor
Ra La
Input: voltage u
B
Output: Angular velocity ia
u eb T J
Electrical Subsystem (loop method): nt
t a
ns
= co
dia Vf
u Ra ia La eb , where eb back-emf voltage
dt
Mechanical Subsystem
Tmotor Jω Bω
Cont’d
Ra La
Power Transformation: B
ia
Torque-Current: Tmotor K t ia u eb T J
Voltage-Speed: eb K b ω
where Kt: torque constant, Kb: velocity constant For an ideal motor t an
t
s
c on
Kt Kb Vf
=
Taking Laplace transform of the system’s differential equations with zero initial conditions gives:
Ω(s) Kt
U(s) La Js 2 JRa BLa s BRa K t K b
Cont’d
Ω(s)
K t Ra
U(s) Js B K t K b Ra
Mathematical model Representations method
d
x y
dt
Cont’d
The operations of addition and subtraction have a special representation.
The block becomes a small circle, called a summing point, with the appropriate plus
or minus sign associated with the arrows entering the circle.
In order to have the same signal or variable be an input to more than one
block or summing point, a takeoff (or pickoff) point is used.
x3 a1 x1 a 2 x 2 5
Consider the following equations in which , , , are variables, and ,
are general coefficients or mathematical operators.
Cont’d
x3 a1 x1 a 2 x 2 5
Example 5, continued from Example 3
Ra La
c
ia
eb T J
Va
t
st an
n
=co
Vf
Js c (s) K m I a(s)
Cont’d
Js c (s) K ma I a(s)
Cont’d
Example 6: Block Diagram of liquid level system
h1 h2 dh1
q1 C1 q q1
R1 dt
h2
q2 dh2
R2 C2 q1 q2
dt
Cont’d
h1 h2 dh1
q1 C1 q q1
L R1 dt L
H1( s ) H 2 ( s )
Q1 ( s ) C1sH 1 ( s ) Q( s ) Q1 ( s )
R1
h2
q2 dh2
R2 C2 q1 q 2
L dt L
H 2 (s) C 2 sH 2 ( s ) Q1 ( s ) Q2 ( s )
Q2 ( s )
R2
Cont’d
H1( s ) H 2 ( s ) C1sH 1 ( s ) Q( s ) Q1 ( s )
Q1 ( s )
R1
H 2 (s) C 2 sH 2 ( s ) Q1 ( s ) Q2 ( s )
Q2 ( s )
R2
Cont’d
Canonical form of A feedback control system
Characteristic equation
• The control ratio is the closed loop transfer function of the system.
C( s ) G( s )
R( s ) 1 G( s )H ( s )
1 G( s ) H ( s ) 0
Example 7
B( s )
1. Open loop transfer function G( s ) H ( s )
E( s )
C (s) 1 G( s ) H ( s ) 0
2. Feed Forward Transfer function G( s)
E (s)
C( s ) G( s )
3. Control ratio
R( s ) 1 G ( s ) H ( s )
G(s )
4. Feedback ratio B( s ) G( s )H ( s ) 1. Characteristic equation
R( s ) 1 G ( s ) H ( s )
G1 G2 G1G2
G1
G1 G2
G2
Cont’d
G
G
1 GH
H
G
G
1 G
H 1
Cont’d
4. Moving a summing point behind a block
G G
G
G G
1
G
Cont’d
6. Moving a pickoff point behind a block
G G
1
G
G G
G
Cont’d
A B B A
Example 8: reduce the block diagram to canonical form.
Cont’d
Example 9
• Reduce the following block diagram to canonical form.
H2
R _ C
+_ + G1 + G2 G3
+
H1
Cont’d
H2
G1
R _ C
+_ + + G1 G2 G3
+
H1
Cont’d
H2
G1
R _ C
+_ + + G1G2 G3
+
H1
Cont’d
H2
G1
R _ C
+_ + + G1G2 G3
+
H1
Cont’d
H2
G1
R _ G1G2 C
+_ + G3
1 G1G2 H1
Cont’d
H2
G1
R _ G1G2G3 C
+_ +
1 G1G2 H1
Cont’d
R G1G2G3 C
+_ 1 G1G2 H1 G2G3 H 2
Exercise 1
• Find the transfer function of the following block diagram
G4
R (s ) Y (s)
G1 G2 G3
H2
H1
Cont’d
I
G4
R(s ) B A
Y (s )
G1 G2 G3
H2
H1 G2
Solution:
1. Moving pickoff point A ahead of block G2
B
2. Eliminate loop I & simplify
G4 G2G3
Cont’d
G4
R(s ) Y (s )
GG4
A G2 G3
B
G1 2 G 3
H2
H1G2
Cont’d
R(s ) Y (s )
G1 GG4 4GG2G2G3 3
C C
1 H 2 (GH4 2 G2G3 )
G2 H1
G4 G2G3
Cont’d
Cont’d
Example 11: Multi-Input Multi-Output System. Determine C1 and C2 due to R1 and R2.
Cont’d
Cont’d
When R1 = 0,
When R2 = 0,
Next lecture