Lecture 1 - Introduction
Lecture 1 - Introduction
Introduction
2
By Vasfi Emre Ömürlü, Ph.D., 2020
Figure 1-1 (p. 2)
Basic components of a control system.
18
b f(t) k b y k ( y x) f (t )
m
m x k ( x y ) 0
y x
m x b x k x f (t )
Q1 q1
dh1
A1 Q1 a1 h1 a3 h1 h2
dt
Discharge Discharge
h1 valve dh
Q2
valve h2 A2 2 a2 h2 a3 h1 h2
Q3 Q4 dt
21
22
By Vasfi Emre Ömürlü, Ph.D., 2005
Mechanical Accelerometer
23
By Vasfi Emre Ömürlü, Ph.D., 2005
Mechanical System Elements
Inductive storage
Capacitive storage
Energy dissipator
24
By Vasfi Emre Ömürlü, Ph.D., 2005
Force-spring system.
25
26
27
28
29
30
31
32
33
34
35
36
37
By Vasfi Emre Ömürlü, Ph.D., 2005
(a) Mass-spring-friction system. (b)
Free-body diagram (c) State diagram.
38
39
40
41
By Vasfi Emre Ömürlü, Ph.D., 2005
Rotational system
42
43
44
45
Inductive storage
Capacitive storage
Energy dissipator
57
By Vasfi Emre Ömürlü, Ph.D., 2005
Electrical System Modeling
58
By Vasfi Emre Ömürlü, Ph.D., 2005
Electrical System Examples
60
By Vasfi Emre Ömürlü, Ph.D., 2005
(a) RLC network.
(b) State diagram.
61
62
Vin ( s ) R1 I 1 ( s ) R2 I 1 ( s ) I 2 ( s ) Ls I 1 ( s )
Vin ( s ) ( R1 R2 ) Ls I 1 ( s ) R2 I 2 ( s )
1 R2
Vin ( s ) ( R1 R2 ) Ls I 2 ( s ) R2 I 2 ( s )
2R Cs
1 R2 Cs
Vin ( s ) ( R1 R2 ) Ls R2 I 2 ( s )
R2 Cs
LR2 Cs 2 R1 R2 R2 Cs Ls R1 R2 CR2 s
2
Vin ( s ) I 2 (s)
CR2 s
LR2 Cs 2 R1 R2 C L s R1 R2
Vin ( s ) I 2 ( s)
CR2 s
I 2 (s) CR2 s
Vin ( s ) LR2 Cs 2 R1 R2 C L s R1 R2
System transfer function
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
di a
v ex Ra i a La v bemf Differential equation of the electrical part dynamics
dt
K v ( t )
J
K t i a B TL Differential equation of the mechanical part dynamics
Vex ( s ) Ra I a ( s ) La s I a ( s ) K v ( s ) Taking the Laplace transform of above equations
J s ( s ) K t I a ( s ) B ( s ) T L ( s ) assuming zero initial conditions
Vex ( s ) ( Ra La s ) I a ( s ) K v ( s )
(J s B) 1
I a ( s) ( s ) TL ( s )
Kt Kt
(J s B) 1
Vex ( s ) ( Ra La s ) ( s ) T L ( s ) K v ( s )
Kt Kt
(J s B) ( Ra La s )
Vex ( s ) ( Ra La s ) K v ( s ) TL ( s )
K t K t
91
92
93
94
95
96
By Vasfi Emre Ömürlü, Ph.D., 2005
Various Systems
97
By Vasfi Emre Ömürlü, Ph.D., 2005
Electric Motor Traction Control
98
By Vasfi Emre Ömürlü, Ph.D., 2005
Nonlinear control system.
99
100
101
102
103
104
105
119
120
By Vasfi Emre Ömürlü, Ph.D., 2005
Advantage of the Laplace Transform
121
By Vasfi Emre Ömürlü, Ph.D., 2005
Some dynamic systems and their
mathematical representations
b f(t) k b y k ( y x) f (t )
m
m x k ( x y ) 0
y x
m x b x k x f (t )
Q1 q1
dh1
A1 Q1 a1 h1 a3 h1 h2
dt
Discharge Discharge
h1 valve dh
Q2
valve h2 A2 2 a2 h2 a3 h1 h2
Q3 Q4 dt
122
123
By Vasfi Emre Ömürlü, Ph.D., 2005
Euler`s Theorem
2 4 6
cos 1 ...
2! 4! 6!
3 5 7
sin ...
3! 5! 7!
( j ) 2 ( j ) 3 ( j ) 4
cos j sin 1 ( j ) ...
2! 3! 4!
( x) 2 ( x)3 ( x) 4
Since e 1 ( x)
x
...
2! 3! 4!
124
By Vasfi Emre Ömürlü, Ph.D., 2005
(Inverse) Laplace Transform
definitions and its existence
The Laplace Transform of a function f(t) exists if the Laplace integral converges which will converge
if f(t) is sectionally continuous in every finite interval in the range t>0 and if it is of exponential
order as t approaches infinity.
125
6
L f (t ) A e dt
5
4
A st
3
2
1 0
s
0
0 2 4 6 8 10 12
time(sec)
The step function whose height is unity is called unit-step function. The unit-step function that
occurs at t=to is frequently written as 1(t-to).
126
By Vasfi Emre Ömürlü, Ph.D., 2005
Some Common Laplace Transforms
as examples…
Exponential function
0 for t 0
f(t) at
for t 0
exp decay
A e 6
1
0 0
0
L f (t )
A 0 2 4 6
time(sec)
8 10 12
sa
127
By Vasfi Emre Ömürlü, Ph.D., 2005
Some Common Laplace Transforms
as examples…
Ramp function
0 for t 0
f(t)
At for t 0
L f (t ) A t e st dt A te st dt
ramp
5
st st
e e 4
At
s
A
s
dt 3
2
0 0 1
0
A
st 0 2 4 6 8 10 12
A
s
e dt 2
time(sec)
0
s
128
By Vasfi Emre Ömürlü, Ph.D., 2005
Some Common Laplace Transforms
as examples…
Sinusoidal function
0 for t 0
f(t) recall A sin t
A j t
e e j t
A sin t for t 0 2j
A ( j s ) t
L f (t )
A
2 j 0
e
j t
e j t
e st
dt
2 j 0
e dt 0
e ( j s ) t
dt
A 1 1 A
2 j s j s j s 2 2
sine
-2
-4
-6
0 2 4 6 8 10 12
time(sec)
129
By Vasfi Emre Ömürlü, Ph.D., 2005
Most Used Laplace Transformations
f(t) F(s)
A A/ s
At A / s2
At n A n! / s n 1
A e at A /( s a )
A sin( a t ) A [a /( s 2 a 2 )]
A cos( a t ) A [ s /( s 2 a 2 )]
A e bt sin( a t ) A a /[s b a 2 ]
2
130
8 At n
A
signal strength (signal unit)
6 At
A e at
4
-2
bt A e bt sin( a t )
Ae cos( a t )
-4
A cos( a t ) A sin( a t )
-6
0 2 4 6 8 10 12
time(sec)
131
f(t) f1 (t ) f 2 (t )
L f1 (t ) f 2 (t ) f1 (t ) f 2 (t ) e st dt
0
f1 (t ) e st dt f 2 (t ) e st dt
0
0
L f1 ( t ) L f 2 ( t )
F1 ( s ) F2 ( s )
132
133
L f (t ) e s F ( s)
0 t0 λ λ+t0
134
d
L f (t ) sF ( s ) f (0)
dt
d2
L 2 f (t ) s 2 F ( s ) sf (0) f (0)
dt
dn n
L n f (t ) s F ( s ) s n 1 f (0) s n 2 f (0) ........ sf ( n 2 ) (0) f ( n 1) (0)
dt
f(0) is the initial condition of the function and df(0)/dt is the initial condition of the derivative of
the function. For instance, if f(t) is representing the position of a mechanical system, position
initial condition will be f(0) and velocity initial condition will be df(0)/dt.
135
Pulse function
f(t)
A
for 0 t t0 A A
f(t) t0 f (t ) 1(t ) 1(t t0 )
t t0
A/t0 0 t0 t0
for t 0,
A
A st
L f (t ) 1(t ) 1(t t0 ) e dt 1(t ) e st dt 1(t t0 ) e st dt
A
0 0
t t0 t0 0 0
A A st0 A
e (1 e st0 )
t0 s t0 s t0 s
t
0 t0
Here, A and t0 are all constants. The pulse function may be considered as a step function of
height A/t0 that begins at t=0 and that is superimposed by a negative step function of height
A/t0 beginning at t=t0.
136
Impulse function A
lim for 0 t t0
f(t)
f(t) t0 0 t0
0 for t 0, t t0
L f (t ) lim
A
A/t0 (1 e st0 )
t0 0 t s
0
d
dt
A(1 e st0 )
lim 0 As / s A
d
t0 s
t 0 0
t dt0
0,t0
Since the height of the impulse function is A/t0 and duration is t0 , the area under the impulse is
A. when t0 approaches 0, area remains A. Note that the magnitude of the impulse is measured
by its area.
The impulse function whose area is equal to unity is called unit-impulse function or the Dirac
delta function.
137
lim f (t ) lim sF ( s )
t s 0
3( s 2)
lim y (t ) lim sY ( s ) lim s 3/ 5
t s 0 s 0 s( s 2s 10)
2
138
f (0) lim sF ( s)
s
should exist
DC gain is the ratio of the output of a system to its input after all transient have decayed. G(s) is
the transfer function of a system which defines the input-output dynamics of that system in s-
domain.
DC Gain lim G ( s )
s0
139
Why do we need?
Inverse Laplace Transform can be applied by using inversion integral theorem, yet
this method would be cumbersome. Thus, it will be easier, generally, to split a function in s-
domain to simpler forms whose transformations can be reached from Laplace tables.
called
th m
zeros
mdeg ree . polynomial. with .m. zi .roots
B( s ) b1 s m b2 s m 1 ...... bm 1 ( s zi )
F ( s) n 1
K i n1
s a1 s ...... an
n
A( s )
(s p j )
n th deg ree. polynomial. with .n. p j .roots j 1
called
poles
C1 ( s p1 ) F ( s ) s p
1
141
solve.as
usual
1 C2 s C3 (C2 1) s 2 (C3 1) s 1
1
1
s ( s 2 s 1) s s 2 s 1 s s2 s 1
0,8
arrange
s 1
3 3 3 3
( s 1 / 2) 2
( s 1 / 2) 2 ( s 1 / 2)
2
2 2 2
0,2
1 s 1/ 2 1 3/2
F (s) 2
2
s 3 3 3 0
( s 1 / 2)
2
( s 1 / 2)
2
2 2
-0,2
t 3 1 t 2 3 0 2 4 6 8 10
f (t ) 1 e 2 cos t e sin t time(sec)
2 3 2
142
s 2 2s 3 C1 C2 C3
F (s)
1
( s 1) 3
s 1 s 1 s 13
2
s 2 2s 3 3 C C3
s 1 3
s 1 1
C2
3
s 1 C1 s 1C2 C3
2 0,8
d
s 1 F ( s ) C2 2s 2 s1 0
ds
3
s1
0,4
differentiating again
1 d2
2 ds
3
2 s 1 F ( s ) C1
1
2 1 0,2
s1
2
1 0 2
F (s) f (t ) e t t 2 e t
s 1 s 1 s 1
0
2 3
0 2 4 6 8 10
time(sec)
143
144
1
H (s) Q( s ) We need to find Q(s) in order to solve for H(s) then for h(t)
s 10
For the first ramp in I
I
In order to turn the
first ramp in I into a
step. Will be effective
after T seconds II
In order to turn the
step in II into a
negative ramp in III.
Will be effective after
2T seconds
III
In order to turn the
negative ramp in III IV
into 0 in IV. Will be
effective after 3T
seconds
145
Q( s)
Q0 / T
s2
Q0 / T
e sT
s2
Q /T
e 2 sT 02
s
Q /T
e 3 sT 02
s
1/s2 is the common term for every
sub-input. Other terms are
constants and time delay factors.
So, solve only for 1/s2 and then
146
apply for all system.
By Vasfi Emre Ömürlü, Ph.D., 2005
Example: Tank Dynamics
1 C1 C 2 C3
H ( s)
s 10 s 2 s s 2 s 10
1 1
C 3 ( s 10) H ( s )
s 10 s2 s 10 100
1 1
C 2 s 2 H ( s)
s 0 s 10 s 0 10
d d 1 1 1
C1 s 2 H ( s)
ds s 0 ds s 10 s 0 s 10
2
s 0 100
1 / 100 1 / 10 1 / 100
H (s) 2
s s s 10
147
1 t 1 10t 1 1
h(t ) e h(t ) t e 10t
100 10 100 10 10
h(t) for only 1/s^2
0,9
0,8
0,7
0,6
0,5
Transform
148
Q / T Q / T
0
(Q0 / T )(t 2T ) 0 e 10( t 2T ) 0,3
10 10 0,25
Q / T Q / T 10t
height (m)
0
(Q0 / T )t 0 e
0,2
10 10
0,15
Q0 / T
Q0 / T 10(t T )
(Q0 / T )(t T )
0,1
e
10 10
" 3T t
0,05
Q0 / T Q0 / T 10(t 2T ) 0
(Q0 / T )(t 2T ) e 0 0,5 1 1,5
10 10
time (sec)
Q0 / T Q0 / T 10(t 3T )
(Q / T )(t 3T ) e
10 0
10 149
?
System mathematical model
t
G(s)=1/(s+2) ?
Dynamic response of the
1 0 t 1 system above is required
u (t)= against a second longing Y (s) G ( s) U ( s)
0 1 t
pulse function.
1 1 1 s
e
1 1 s s 2 s s
u ( s) e
s s
151
1 1 c1 c 2
Y (s)
s 2 s s 2 s 1
c1 ( s 2) Y ( s) s 2 0,5
t
0,5 0,5
Y (s)
0,5
system output
0,4
s 2 s 0,3
1 1 5
0,2
Y (s) e One-second 0,1
s 2 s delayed of YI(s). 0
0 1 2 3
1 , 0 t 1
u(t) 0 , 1 t 3
1 , 3 t
L u(t) ?
153
1
s 0
1
U(s) e s 1
s
1 s
s e 3
1 1 1
U(s) e s e 3s
s s s 154
y 10 y 9y 5t
y(0) 1
y(0) 2
155
d
L f (t ) sF ( s ) f (0)
dt
d2
L 2 f (t ) s 2 F ( s ) sf (0) f (0)
dt
dn
L n f (t ) s n F ( s ) s n 1 f (0) s n 2 f (0) ........ sf ( n 2 ) (0) f ( n 1) (0)
dt
156
10
Ex-2
6
magnitude
L y s Y(s) s y(0) y(0)
2 4
L y Y(s)
-2
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
time (sec)
5
L 5t
s2 5
Y(s) s 10s 9 s 12 2
2
s
5 s 12
Y(s) 2 2
s (s 9)(s 1) s (s 9)(s 1)
157
s2
F(s)
(s 9)(s 1)
158
s2 A B
F(s)
(s 9)(s 1) s 9 s 1
C n (s p n ) F (s) s p
n
11
A (s 9)F(s) s 9
8
3
B (s 1)F(s) s 1 159
8
By Vasfi Emre Ömürlü, Ph.D., 2005
Impulse Response
20
18
16
14
Ex-3 12
Amplitude
10
3
6
11 4
F(s) 8 8 2
s 9 s 1
0 0.05 0.1 0.15 0.2 0.25 0.3
Time (sec)
f (t) L F(s)
1
11 9 t 3 t
f (t) e e
8 8
160
s 25
F(s) 2 )
s (s 5)
s 25 A B C
F(s) 2 ) 2
s (s 5) s s s5
161
162
10
Ex-4
Amplitude
6
6 6
5 5 2
F(s) 2 5
s5
0
f (t) L F(s)
1
6 6 5t
f (t) 5t e
5 5
163
L1/L2 =1/2
M=1 kg
R=60Nsec/m
K=800N/m
F(t)=1 N
- Find y(t)
Y(s) L1 1
2
F(s) L2 ms rs k
164
F0 F0 F0 F0
T T T T
F(s) e st e 2st e 3st
s2 s2 s2 s2
165
1 1 1 C1 C2 C3 C4
Y(s) 2 2 2
2 s 60s 800 s s s (s 40) (s 60)
166
(s 60s 800) s 0
2
1
C3 (s 40)Y(s) s 40 2 1,56 105
2s (s 60) s 40
1
C4 (s 60)Y(s) s 60 2 6, 9 10 6
2s (s 40) s 40
167
168
1,56105 t 6,9106 t
I 9 10 6, 25 10 t e
5 4
e
II 9 10 6, 25 10 t T e 1,5610 6,910
5 t T 6 t T
5 4
e
III 9 10 6, 25 10 t 2T e 1,5610
5 t 2 T
6,910
6 t 2 T
5 4
e
IV 9 10 6, 25 10 t 3T e 1,5610
5 t 3T
6,910
6 t 3T
5 4
e
169
170
lim f (t ) lim sF ( s )
t s 0
1,56105 t 6,9106 t
y(t) 9 10 6, 25 10 t e
5 4
e
lim y(t) 9 10 5 1 1
t
1 1 1
Y(s) 2 2
2 s 60s 800 s
1 1 1 1
lim sY(s) 2
s0
2 s 60s 800 s 0
lim y(t) lim sY(s) 171
t s0
1 1 1
Y(s) 2 2
2 s 60s 800 s
1 1 1 1
y(0 ) lim sY(s) 2 0
s
2 s 60s 800 s
172