Group - 2 - Auto Lab 3 - Exp 2 - Analysis of An Closed-Loop System
Group - 2 - Auto Lab 3 - Exp 2 - Analysis of An Closed-Loop System
Group - 2 - Auto Lab 3 - Exp 2 - Analysis of An Closed-Loop System
ENGINEERING
CONTROL SYSTEM
EXPERIMENT 2:
1
TABLE OF CONTENT
INTRODUCTION 3
METHODOLOGY 4
RESULT AND DISCUSSION 7
CONCLUSION 11
REFERENCES 12
APPENDIXES 12
2
INTRODUCTION
In order to measure the performance of a closed loop system, there are three
typical criteria that can be used. Transient response can be evaluated by measuring the
rise time and the overshoot percentage. Steady state response on the other hand can be
evaluated by looking at the steady state error generated.
3
Objectives :
1. To evaluate the closed loop system performance by measuring the rise time,
the overshoot percentage and the steady state error.
2. To understand and investigate the effect of changing the closed loop gain to
the system’s stability and transient response.
3. To determine a range of closed loop gain that gives out a stable system by
using Routh-Hurwitz criterion.
METHODOLOGY
1
𝐺(𝑠) = 2
𝑠 +3𝑠+2
was analyzed.
2. The closed loop step response for a gain, K of 1 was obtained by using
Simulink. The rise time, the overshoot percentage and the steady state error
were obtained by referring to the graph in Simulink. The result was recorded
in Table 1.
4
Figure 1 Systems’ setup in Simulink for Step 3.
3. The same criteria were obtained by using proper commands in MATLAB. The
result was recorded in Table 2.
4. Step 2 and 3 were repeated by using different gains, K of 0.1, 10, and 100,
respectively in order to see the effects of varying gains to the transient and
steady state responses.
5
5. For each of the gains above, the closed loop transfer function and poles were
obtained by using proper commands in MATLAB. The poles maps on the
s-plane were obtained as well and the stability of each case was determined.
6. The closed loop transfer function for each case was obtained analytically. The
range of gain, K that makes the system stable was determined by using
Routh-Hurwitz criterion.
7. One value of gain, K in the stable region and one value of gain, K in the
unstable region were chosen and the responses were simulated separately.
6
RESULT AND DISCUSSION
7
Table 1 Closed loop system’s criteria obtained by referring to the graph in Simulink.
The performance of each of the system with different value of gain, K can be seen
through Table 1 and 2. These two tables actually represented the same set of data. The
thing that differentiates them is the way the data from each table were collected. The
first table’s data were collected directly from the graph produced from the MATLAB
Simulink. While the second table’s data were recorded by using the MATLAB
commands. From the data, it can be seen that the performance of the system varies
depending on the value of K. The higher the value of K, the better the performance as
the rise time and the steady state error become smaller. But one thing to the note is
that the higher the value of K, the percentage of overshoots would also increase.
8
Table 3 Poles and Closed loop transfer function of different gains.
With regard to Table 3, it was observed that the poles of closed-loop transfer function
with stated value of gain, K, are on the left side of the imaginary axis, thus prove that
the system is stable. This data can also be seen through Figure 5, where all the plotted
coordinates of the poles are on the negative side of the real axis. But, this still does
not show what value of gain, K can the system take before it become unstable. To find
this, a method called the Routh-Hurwitz criterion was used. From the calculation, it
was discovered that the system would remain stable (poles on the left side) as long as
the value of K is bigger than -2. This statement was backed by Figure 6, which shows
the step response when K= 0 and 50 are stable but when K is stated to -5 or -2, the
step response would shows that the system are not stable.
9
Table 4 Routh-Hurwitz criterion
s2 1 2+K 0
s1 3 0 0
s0 0 0
Figure 6 Step response for different values of stable and unstable gains.
10
CONCLUSION
Throughout this experiment, the measurement of the rise time, percentage overshoot
and the steady state error are successfully obtained and from them, it was discovered
that by changing the value of gain, K, the stability of the system would be affected.
Other than that, the range of the value of K, in which the system would remain stable
was also obtainable by using the Routh-Hurwitz criterion method.
From the recorded data, the given value of kk which are 0.1, 1, 10 and 100 are not
suitable for the elevator system due to its varying reasons. One of them being that the
value of K is either too big that it cause bumping on the elevator trip up and down or
the value being small but the elevator
11
REFERENCES
[1] Nise, N., 2017. Control systems engineering. 6th ed. Pomona: John Wiley &
Sons.
[2] Routh-Hurwitz Criterion Online Calculator https://www.muchen.ca/RHCalc/
APPENDIXES
MATLAB commands
Step 3:
G = tf([1],[1 3 2]);
T1= feedback(0.1*G,1);
T2= feedback(1*G,1);
T3= feedback(10*G,1);
T4= feedback(100*G,1);
stepinfo(T1)
stepinfo(T2)
stepinfo(T3)
stepinfo(T4)
step(T1,T2,T3,T4)
Step 5:
pole(T1)
pole(T2)
pole(T3)
pole(T4)
pzmap(T1,T2,T3,T4)
12