Professional Documents
Culture Documents
Time Delay Work Shop - 6
Time Delay Work Shop - 6
2
() = 2
+ 1.2 + 1
1- SIMULINK:
Cl ock
1
s2 +1.2s+1
Step T ransfer Fcn T ransport
Del ay
Y
T o Workspace
1.4
1.2
0.8
0.6
0.4
0.2
0
0 5 10 15
syms s
Gs=1/(s^2+1.2*s+1)
Y=Gs*exp(-2*s)/s
Yt=ilaplace(Y)
ezplot(Yt,[0 15])
grid on
0.8
0.6
0.4
0.2
0 5 10 15
t
Solution:
At steady state
0 = 10 = 5
0.5 ()
() = () = =
+ 1 + 1 ()
() =
1 + 2
=1 =2
=0
1
1- Mat lab:
ho=5;
syms s
Gs=0.5/(s+1);
Qis=1+2*exp(-s);
hs=Gs*Qis;
ht=ilaplace(hs)
H=ht+ho
ezplot(H,[0 7])
grid on
5.9
5.8
5.7
5.6
5.5
5.4
5.3
5.2
5.1
0 1 2 3 4 5 6 7
t
2- SIMULINK:
0.5
Pulse s+1
Generator1 Transfer Fcn3 Scope
5
Constant