Mathematical Modeling 1
Mathematical Modeling 1
MATHEMATICAL MODELING 1
By Tewedage Sileshi
Goal for today’s lecture
Representation
Simplicity versus Accuracy
Linear systems
Transfer Function
Transfer function
+…+ +…+
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
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
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
2
F (s ) Ms 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
a nt
method): st
con
=
dia Vf
u Ra ia La eb , where e b 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 nt
sta
ideal motor on
=c
K t K b Vf
Ω(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
The block becomes a small circle, called a summing point, with the
appropriate plus or minus sign associated with the arrows entering
the circle.
x3 a1 x1 a 2 x2 5
Consider the following equations in which , , , are
variables, and , are general coefficients or
mathematical operators.
Cont’d
x3 a1 x1 a 2 x2 5
Example 5, continued from Example 3
Ra La
c
ia
eb T J
Va
a nt
t
ons
=c
Vf
h1 h2 dh1
q1 C1 q q1
R1 dt
h2
q2 dh2
R2 C2 q1 q2
dt
Cont’d
h1 h2 dh1
L q1 C1 q q1
R1 dt L
H 1 (s ) H 2 (s )
Q1 (s ) C1sH 1 (s ) Q(s ) Q1 (s )
R1
h2
q2 dh2
R2 C2 q1 q2
L dt L
H 2 (s ) C 2 sH 2 (s ) Q1 (s ) Q2 (s )
Q2 (s )
R2
Cont’d
H 1 (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 )
E (s ) 1
5. Error ratio R(s ) 1 G(s )H (s )
C (s ) G(s ) H (s )
6. Closed loop transfer function
R(s ) 1 G(s )H (s )
Reduction techniques
1. Combining blocks in cascade
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
2. Eliminate loop I & simplify B
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
R (s ) G1 (G4 G2G3 ) Y (s )
1 G1G 2 H1 H 2 (G4 G2G3 )
Y (s ) G1 (G4 G2G3 )
R(s ) 1 G1G 2 H 1 H 2 (G4 G2 G3 ) G1 (G4 G2 G3 )
Superposition of Multiple Inputs
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