Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
S UBHASH PATEL
EC
2012
Mathematical Modeling
2012
1 / 40
Transfer Function
Definition : The ratio of the Laplace transform of the output to the Laplace transform of
input under the assumption of zero initial condition is defined as the transfer
function of the given system
r(t)
System g(t)
c(t) Output
r(t) Input
g(t) System Function
L {c(t)} = C(s)
Laplace of input
Laplace of output
C(s)
=
R(s)
L {r(t)} = R(s)
L {g(t)} = G(s)
Mathematical Modeling
2012
2 / 40
Laplace Transform
1
t
2
t0
=0
t<0
L {r(t)} = R(s)
1
=
S
t
3
r(t) = 1
r(t) = kt
t0
=0
t<0
L {r(t)} = R(s)
1
= 2
S
Mathematical Modeling
2012
3 / 40
Transfer Function
Definition The transfer function of a linear, time-invariant, differential equation system is
defined as the ratio of the Laplace of the output to the Laplace transform of the
input under the assumption that all initial conditions are zero.
Consider a system with input x(t) and output y(t) with differential equation as given bellow,
a0
dn1 y
dy
dn x
dn1 x
dx
dn y
+ a1 n1 + + an1 + an y = b0 n + b1 n1 + + bm1 + bn x
n
dt
dt
dt
dt
dt
dt
L {Output}
L {Input}
Y(s)
=
X(s)
b0 sm + b1 sm1 + +bm1 s + bm
a0 sn + a1 sn1 + +an1 s + an
The highest order of denominator of transfer function is n, thus system is called nth-order
System
S UBHASH PATEL (EC)
Mathematical Modeling
2012
4 / 40
Transfer Function
The transfer function of the system is a mathematical model of the system and it is an
alternate method of expressing the differential equation.
The transfer function is a property of a system itself, independent of the magnitude and
nature of the input or driving function
The transfer function includes the units necessary to relate the input to the outpu, however
it does not provides any information about the physical structure of the system.
If the transfer function of the system is known, the output or response of the system can be
studied for various inputs in a view towards understanding the response of the system.
If the transfer function of the system is unknown, it can be obtained by establishing
relation between the known input and measured output.
Mathematical Modeling
2012
5 / 40
G(s) =
Y(s)
X(s)
Y(s) = X(s)G(s)
Mathematical Modeling
2012
6 / 40
Summing
Point
R(s)
Branch
Point
E(s)
+_
G(s)
B(s)
H(s)
C(s)
C(s)
G(s)E(s)
=
R(s)
E(s) + B(s)
G(s)E(s)
=
E(s) + E(s)G(S)H(s)
G(s)
=
1 + G(s)H(s)
Mathematical Modeling
2012
7 / 40
Automatic Controller
Error Detector
Set Point
Output
+_
Amplifer
Actuator
Plant
Actuating
error signal
Sensor
Mathematical Modeling
2012
8 / 40
Proportional Controller
Integral Controller
Proportional-plus-integral controller
Proportional-plus-derivative controller
Proportional-plus-integral-plus-derivative controller
Mathematical Modeling
2012
9 / 40
e
+_
e
u
+_
Output of actuator u(t) remains at either a maximum or minimum value depending upon
the error signal.
u(t) = U1
for e(t) 0
= U2
Mathematical Modeling
2012
10 / 40
+_
Mathematical Modeling
Kp
2012
11 / 40
u(t) = Ki
e(t) dt
0
in Laplace-transformed quantities,
U(s) Ki
=
E(s)
s
Ki is an adjustable constant.
e
-+
@
@
6
Mathematical Modeling
Ki
s
2012
12 / 40
u(t) = Kp e(t) +
Kp
Ti
Z t
e(t) dt
0
in Laplace-transformed quantities,
1
U(s)
= Kp 1 +
E(s)
Ti s
Ti is called integral time.
e
-+
@
@
6
1
Kp 1 +
Ti s
Mathematical Modeling
2012
13 / 40
u(t) = Kp e(t) + Kp Td
de(t)
dt
e
-+
@
@
6
KP (1 + Td s)
Mathematical Modeling
2012
14 / 40
u(t) = Kp e(t) +
Kp
Ti
Z t
0
e(t)dt + Kp Td
de(t)
dt
e
-+
@
@
6
- K (1 + 1 + T s)
P
d
Ti s
Mathematical Modeling
2012
15 / 40
Vi
Vo
Mathematical Modeling
2012
16 / 40
Vo
Vi Vo
R
di
Vo = L
dt
i=
I(s) =
Vi (s) Vo (s)
R
1
R
Vo (s) = SL(s)
Mathematical Modeling
2012
16 / 40
Vo
I(s) =
Vi Vo
R
di
Vo = L
dt
i=
Vi (s)
1
R
Vo (s) = SL(s)
Vi (s) Vo (s)
- +@
@
@
6
Vi (s) Vo (s)
R
I(s)
R
Mathematical Modeling
Ls
-V (s)
o
2012
16 / 40
Vi
Mathematical Modeling
Vo
2012
17 / 40
Vi
Vi
Vo
1
Vi (s) Vo (s)
-+
- 1
@
Cs
R + Ls
@
6
Mathematical Modeling
- Vo
2012
17 / 40
R1
Vi
R2
C1
Mathematical Modeling
C2
Vo
2012
18 / 40
R1
Vi
Vi (s)
-+
6
R2
C1
1
R1
?
-+
1
sC1
Mathematical Modeling
C2
-+
6
Vo
1
R2
1
sC2
-Vo (s)
2012
18 / 40
R1
Vi
R2
C1
Mathematical Modeling
C2
Vo
2012
19 / 40
=M
Reference
x(t)
v(t)
b
Mathematical Modeling
F(t)
2012
20 / 40
Spring :
The spring is considered to be an element which stores the potential energy
It is used to provide restoring force
x(t)
F(t) = Kx(t)
Reference
v(t)
Z t
=K
F(t)
K
x1(t)
x2(t)
v1(t)
v2(t)
v(t)dt
=K
F(t)
a
Mathematical Modeling
2012
21 / 40
Viscous Friction
It is the force of friction between moving surfaces separated by viscous fluid or the force
between a solid body and a fluid medium.
It represent the linear relation between the applied force and velocity.
x(t)
F(t) = Bv(t)
Reference
v(t)
=B
F(t)
dx(t)
dt
B
x1(t)
x2(t)
v1(t)
v2(t)
F(t)
Mathematical Modeling
2012
22 / 40
Moment of Inertia :
T(t) = J(t)
d(t)
dt
d2 (t)
=J
dt2
=J
Reference
(t)
J
T(t)
Mathematical Modeling
2012
23 / 40
Torsional Spring :
Reference
F(t) = K (t)
T(t)
Z t
=K
K (t)
T(t)
2 (t)
(t)dt
=K
K (t)
1
Mathematical Modeling
[1 (t) 2 (t)] dt
2012
24 / 40
Viscous Friction
F(t) = B(t)
Reference
(t)
d (t)
dt
1 (t)
2 (t)
=B
T(t)
=B
T(t)
Mathematical Modeling
2012
25 / 40
F(t) = M
d2 x(t)
dx(t)
+B
+ kx(t)
dt
dt2
x(t)
M
F(t)
Mathematical Modeling
2012
26 / 40
B
(t)
J
T(t)
k
J
d2 (t)
d (t)
+B
+ k (t) = T(t)
2
dt
dt
Mathematical Modeling
2012
27 / 40
Force-Voltage Analogy
Consider the series RLC circuit exited by voltage V(t)
di 1 t
+
i dt
dt C 0
dq
d2 q 1
= R +L 2 + q
dt
C
dt
Z
V(t) = Ri + L
1
Q(s)
C
Consider the simple translation system with Mass, spring and damper component excited
with force F(t)
F(s) = s2 MX(s) + sBX(s) + KX(s)
Mathematical Modeling
2012
28 / 40
Force-Voltage Analogy
Electrical
Voltage - V
Inductance - L
Resistance - R
Spring - K
Elasticity - D =
Displacement - x
Charge - q
Displacement -
Velocity - V
dq
Current - i =
dt
Velocity -
Mathematical Modeling
Rotational
Torque - T
Inertia - J
Damper - B
1
C
Spring - K
2012
29 / 40
Force-Current Analogy
Consider parallel RLC circuit exited with the help of the current source
V 1
dv
+
v dv + C
R L
dt
1 d 1
d2
=
+ +C 2
R dt
L
dt
1
1
2
I(s) = s C(s) + s (s) + (s)
R
L
Z
i(t) =
Consider the simple translation system with Mass, spring and damper component excited
with force F(t)
F(s) = s2 MX(s) + sBX(s) + KX(s)
Mathematical Modeling
2012
30 / 40
Force-Current Analogy
Electrical
Current - i
Capacitance - C
1
Conductance R
1
Inverse of Inductance =
L
Flux -
d
voltage - v =
dt
Mathematical Modeling
Rotational
Torque - T
Inertia - J
Damper - B
Spring - K
Displacement -
Velocity -
2012
31 / 40
f1
x(output)
f
M2
F(t)
f2
Mathematical Modeling
2012
32 / 40
Node Diagram
x1
k1
M1
x(output)
f
M2
x1
F(t)
k1
f1
f1
x
k
M1
M2
F(t)
f2
1/k1
1/k
M1
M2
1/k
1/f
1/f1
f2
M1
1/k1
M2
1/f 2
f(t)
f1
Force-Current Analogy
f2
+
_ f(t)
Force-Voltage Analogy
Mathematical Modeling
2012
33 / 40
L1
B1
M2
M1
K1
B2
F(t)
Mathematical Modeling
2012
34 / 40
L1
B1
M2
M1
K1
B2
F 0 (s) L1
=
F(s)
L2
x2 (s)
L1 s(M1 s + B1 )
=
x1 (s) L2 (s2 M2 + sB2 + K2 )
F(t)
Mathematical Modeling
2012
34 / 40
L1
B1
M1
K1
B2
F(t)
Mathematical Modeling
2012
35 / 40
K0
T(t)
0
K1
B1
K2
J
B2
Mathematical Modeling
B3
2012
36 / 40
K0
T(t)
0
K1
B1
K2
J
B2
B3
Force-voltage Analogy
J1
T(t)
1/K0
B1
J2
1/K1
B2
J3
1/K2
B3
Mathematical Modeling
2012
36 / 40
K0
T(t)
0
K1
B1
K2
J
B2
B3
Force-voltage Analogy
J1
T(t)
1/K0
B1
J2
1/K1
B2
J3
1/K2
Force-current Analogy
B3
Mathematical Modeling
2012
36 / 40
K1
K2
F(t)
M1
B2
Mathematical Modeling
2012
37 / 40
Mathematical Modeling
2012
38 / 40
Mathematical Modeling
2012
39 / 40
Mathematical Modeling
2012
40 / 40