Assignment 1 Continued
Assignment 1 Continued
4. The objective of this exercise is to deduce the effect of location of pole and zero on the time-
domain response of a system.
a. First-order systems: Consider 𝐺1 (𝑠) = 1/𝑠+ . Compare in terms of rise time and steady-state value
the step responses of this system for different values of p. Choose p = 0.5, 1, 2, and 10. (For purposes
of this experiment, assume the following definition of rise time: the time taken for the output to
reach 90% of the final steady-state value.) Based on this, where should one locate the pole if the
requirement is a fast response? Where should one locate the pole if the steady-state value of the
output is expected to be equal to the input value? Can one independently satisfy both
requirements?
OUTPUT-
b. Second-order systems: Consider 𝐺2 (𝑠) = 10 𝑠/2+𝑎𝑠+10 . Compare in terms of rise time, the
settling time, the peak overshoot, and steady-state value the step responses of this system for
different values of a: Choose a = 0.1, 2.5, 5, 7.5, 10. (Use the definitions in the prescribed text-book.)
Ask questions similar to that in 4.a, and discuss the results.
OUTPUT-
TF1 =
10
----------------
s^2 + 0.1 s + 10
TF2 =
10
----------------
s^2 + 2.5 s + 10
TF3 =
10
--------------
s^2 + 5 s + 10
TF4 =
10
----------------
s^2 + 7.5 s + 10
TF5 =
10
---------------
s^2 + 10 s + 10
Continuous-time transfer function.
ans =
0.5058
Peak time:
ans =
1.0015
Peak overshoot:
ans =
0.9512
Settiling time:
ans =
80.0000
S1 =
ans =
0.1000
is
S1 =
S2 =
0.1000
ans =
2.5000
is
S1 =
0
S2 =
2.5000
ans =
is
S1 =
S2 =
ans =
7.5000
is
S1 =
S2 =
7.5000
ans =
10
is
S1 =
S2 =
10
c. The effect of an additional pole: Consider 𝐺3 (𝑠) = 10/𝑠^2+2𝑠+10 in cascade with a first order
system 𝐺4 (𝑠) = 𝑝/𝑠+ . Repeat the experiment 4.b for different values of p. Choose p = 5, 10, 20. In
your discussions, include as well a comparison of these results with those obtained in 4.b.
h1 =
50
-----------------------
s^3 + 7 s^2 + 20 s + 50
ans =
struct with fields:
RiseTime: 0.5131
TransientTime: 3.6966
SettlingTime: 3.6966
SettlingMin: 0.9006
SettlingMax: 1.2824
Overshoot: 28.2355
Undershoot: 0
Peak: 1.2824
PeakTime: 1.2710
Poles at steady state value are
s1 =
0 -2 -5
h2 =
50
-----------------------
s^3 + 7 s^2 + 20 s + 50
ans =
struct with fields:
RiseTime: 0.5131
TransientTime: 3.6966
SettlingTime: 3.6966
SettlingMin: 0.9006
SettlingMax: 1.2824
Overshoot: 28.2355
Undershoot: 0
Peak: 1.2824
PeakTime: 1.2710
s2 =
0 -2 -10
h3 =
50
-----------------------
s^3 + 7 s^2 + 20 s + 50
struct with fields:
RiseTime: 0.5131
TransientTime: 3.6966
SettlingTime: 3.6966
SettlingMin: 0.9006
SettlingMax: 1.2824
Overshoot: 28.2355
Undershoot: 0
Peak: 1.2824
PeakTime: 1.2710
s3 =
0 -2 -20
Inference-
Here if the pole is very far away from origin then the system responds faster whereas if the pole is
closer to origin then the system response to input is slower.
d. The effect of an additional zero: Consider 𝐺4 (𝑠) = 10( /𝑎 +1)/𝑠^2+2𝑠+10 . Repeat the experiment
4.b for different values of a. Choose a = 0.1, 1, 10, 100. In your discussion, include as well a
comparison of these results with those obtained in 4.b.
Output
g1 =
100 s + 10
--------------
s^2 + 2 s + 10
struct with fields:
RiseTime: 0.0084
TransientTime: 3.9626
SettlingTime: 7.0744
SettlingMin: -6.1753
SettlingMax: 21.4323
Overshoot: 2.0432e+03
Undershoot: 617.5283
Peak: 21.4323
PeakTime: 0.4145
s1 =
0 98
g2 =
10 s + 10
--------------
s^2 + 2 s + 10
ans =
struct with fields:
RiseTime: 0.0855
TransientTime: 4.0599
SettlingTime: 4.9646
SettlingMin: 0.3764
SettlingMax: 2.7745
Overshoot: 177.4549
Undershoot: 0
Peak: 2.7745
PeakTime: 0.5066
s2 =
0 8
g3 =
s + 10
--------------
s^2 + 2 s + 10
ans =
struct with fields:
RiseTime: 0.3934
TransientTime: 3.4405
SettlingTime: 3.4405
SettlingMin: 0.8700
SettlingMax: 1.3699
Overshoot: 36.9931
Undershoot: 0
Peak: 1.3699
PeakTime: 0.9210
s3 =
0 -1
g4 =
0.1 s + 10
--------------
s^2 + 2 s + 10
ans =
struct with fields:
RiseTime: 0.4247
TransientTime: 3.5259
SettlingTime: 3.5259
SettlingMin: 0.8769
SettlingMax: 1.3503
Overshoot: 35.0254
Undershoot: 0
Peak: 1.3503
PeakTime: 1.0592
s3 =
0 -1.9000
Inference
Due to the addition of a pole we observe that shape of the graph changes that is the peak overshoot
increases, peak time and rise time both decreases.