Académique Documents
Professionnel Documents
Culture Documents
Professor K. M. Ebrahimi
My UoB no is 09016468
Exercise 1.1:
for α = 4
>> num=[1];
>> G1=tf(num,den)
Transfer function:
-----
s+4
for α = 6
>> G2=tf(num,den)
Transfer function:
-----
s+6
for α = 8
>> G3=tf(num,den)
Transfer function:
-----
s+8
Step Response
step(G1,G2,G3)
Step Response
0.25
0.2
0.15
Amplitude
0.1
G1
0.05 G2
G3
0
0 0.5 1 1.5
Time (sec)
Impulse Response
impulse(G1,G2,G3)
Impulse Response
1
G1
0.9 G2
G3
0.8
0.7
0.6
Amplitude
0.5
0.4
0.3
0.2
0.1
0
0 0.5 1 1.5
Time (sec)
Ramp Response
To get the ramp response of the system denominator is multiplied by s and then step
response is taken to get ramp.
for α = 4
>> num=[1];
>> G1=tf(num,den)
Transfer function:
---------
s^2 + 4 s
for α = 6
>> G2=tf(num,den)
Transfer function:
---------
s^2 + 6 s
for α = 8
>> G2=tf(num,den)
Transfer function:
---------
s^2 + 8 s
Ramp Response
Step Response
400
G1
350 G2
G3
300
250
Amplitude
200
150
100
50
0
0 500 1000 1500
Time (sec)
Exercise 1.3:
for α = 4
1
𝐺1(𝑠) =
𝑠+4
Yss = 1/4 = 0.25;
for α = 6
1
𝐺2(𝑠) =
𝑠+6
Yss = 1/6 = 0.166;
for α = 8
1
𝐺3(𝑠) =
𝑠+8
Yss = 1/8 = 0.125;
Exercise 1.4:
Step Response
0.25
System: G1
Final Value: 0.25
0.2
System: G2
Final Value: 0.167
0.15 System: G3
Amplitude
0.1
0.05
0
0 0.5 1 1.5
Time (sec)
Yes the values of graph agrees with the value of Yss in exercise 1.3
Exercise 1.5:
As we can see in the above figure of step response that each value of α, the system
has got its steady state. If the system got its steady state it means the system is
stable for that value of alpha (α).
So the system is stable for all three values of alpha (α).
Exercise 1.6:
for α = -0.5
>> num=[1];
>> G1=tf(num,den)
Transfer function:
-------
s - 0.5
for α = -1.0
>> G2=tf(num,den)
Transfer function:
-----
s-1