Control Systems Analysis: Transfer Functions and Feedback Effects

Verified

Added on Ā 2022/08/21

|24
|2638
|12
Report
AI Summary
This report analyzes first and second-order control systems, focusing on determining their transfer functions from experimental data and assessing the impact of feedback. The analysis includes the derivation of transfer functions for both open-loop and closed-loop systems, considering unity and negative feedback configurations. MATLAB simulations are used to generate time-response graphs and data, which are then used to evaluate system performance characteristics such as rise time, settling time, overshoot, and steady-state values. The report compares the performance of open-loop and closed-loop systems, highlighting the effects of feedback on system stability, transient response, and steady-state accuracy. The findings demonstrate how feedback affects the gain and time constants of first-order systems and influences the transient response of both first and second-order systems, including changes in rise time, settling time, and overshoot. The report also explores the design considerations for second-order systems, and the necessity for software simulations and potentially PID controllers to enhance precision. The MATLAB code used to generate the results is also included in the appendices.
Document Page
ENG540 CONTROL SYSTEMS ANALYSIS
Registration Number:
Coursework: First and second order systems, identification and analysis
Aim: To determine the transfer function of a first and a second order system
obtained from experimental data and carry out analysis on the effect of feedback
on the systems.
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
Contents
First Order System.....................................................................................................................................1
a) Determine the first order Transfer Function..................................................................................1
b) Closed loop transfer function (unity negative feedback, H(s) = 1)...............................................2
c) Closed loop transfer function (negative feed back, H(s) = 0.5).....................................................4
d) A comparison of open loop and closed system.............................................................................6
Second Order System.................................................................................................................................7
a) Determine the second order Transfer Function.............................................................................7
b) Closed loop transfer function (unity negative feedback, H(s) = 1)...............................................8
c) Closed loop transfer function (negative feedback, H(s) = 0.5)...................................................10
d) Performance of the open loop system compared with the closed loop systems..........................12
References................................................................................................................................................13
Appendices..............................................................................................................................................14
MATLAB Code.......................................................................................................................................14
List of Figures
Figure 1 : Open loop transfer function response................................................................................1
Figure 2 : Closed loop transfer function response (Unity feedback).................................................3
Figure 3 : Closed loop transfer function response (H(s) = 0.5).........................................................4
Figure 4 : Open loop transfer function response................................................................................7
Figure 5 : Closed loop transfer function response (Unity feedback).................................................8
Figure 6 : Closed loop transfer function response (H(s) = 0.5).........................................................9
List of Tables
Table 1 : First order system response summary(from MATLAB response).....................................5
Table 2 : Second order system response summary (from MATLAB response)..............................10
Document Page
1
First Order System
a) Determine the first order Transfer Function.
A first order system is modelled by the general transfer function shown below:
G( s)= k
1+Ļ„s ...... (i)
Where:
k = dc gain, and
Ļ„ = time constant.
By inspection, the response of the first order can be fixed to fit the model thereby
evaluating, k that represents the steady state value of the response while Ļ„ represents
the value of time (in seconds) when the response gets to 63.2% (1 - e-1) of its final
(steady state) value (Nise, 2019; Dorf & Bishop, 2017) .
From the response, the system reaches a steady state value of 1 and the time it takes
the response to get to 63.2% (0.632) is about 0.5 seconds. The system seems to step at
0 seconds. The time constant Ļ„=0.5-0=0.5 seconds. Also, the dc gain from the
graph=1.
Substituting in equation 1 yields
G( s)= 1
0.5 s +1 ...... (ii)
Document Page
2
Figure 1: Open loop transfer function response
System information for step input from MATLAB:
RiseTime: 1.0985
SettlingTime: 1.9560
SettlingMin: 0.9045
SettlingMax: 1.0000
Overshoot: 0
Undershoot: 0
Peak: 1.0000
PeakTime: 5.2729
b) Closed loop transfer function (unity negative feedback, H(s) = 1)
For a negative feedback system, according to (Nise, 2015) :
T (s )= G(s )
1+G(s) H (s) ...... (iii)
With G(s) as the open loop transfer function. From the previous section
G( s)= 1
0.5 s +1
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
3
For a unity feedback system
H(s) = 1
Substituting in the general equation, we have
1+ ( G( s) Ɨ1 ) = ( 1+ 0.5 s+1
0.5 s+1 )= 0.5 s+ 2
0.5 s +1 ...... (iv_a)
Therefore
G(s)
1+ G(s)= ( 1
0.5 s+ 1 )Ɨ ( 0.5 s+1
0.5 s +2 )= 1
0.5 s+2 ...... (iv_b)
Hence
T (s )= 1
0.5 s+ 2 ...... (v_a) OR
T (s )= 0.5
0.25 s+1 ...... (v_b)
The transfer function in its canonical form becomes
From which
k = 0.5
Ļ„ = 0.25
Document Page
4
Figure 2: Closed loop transfer function response (Unity feedback)
System information for step input from MATLAB:
RiseTime: 0.5493
SettlingTime: 0.9780
SettlingMin: 0.4523
SettlingMax: 0.5000
Overshoot: 0
Undershoot: 0
Peak: 0.5000
PeakTime: 2.6365
c) Closed loop transfer function (negative feed back, H(s) = 0.5)
From equation (iii), T (s )= G(s )
1+G( s) H (s) ...... (vi)
G(s) as obtained from part a 1
0.5 s+ 1
Using a similar analogy as part (b),
Document Page
5
G( s) H (s)=( 1
0.5 s +1 )Ɨ0.5= 0.5
0.5 s+1 ...... (vii_a)
1+G(s)H (s)=1+ 0.5
0.5 s+1 = 0.5+0.5 s+1
0.5 s+1 = 0.5 s+1.5
0.5 s +1 ...... (vii_b)
G(s)
1+ G(s) H (s) =( 1
0.5 s+1 )Ɨ ( 0.5 s+ 1
0.5 s+1.5 )= 1
0.5 s +1.5 ...... (vii_c)
Therefore, closed loop transfer function is:
T (s )= 1
0.5 s+1.5 ...... (viii_a)
Changing to its canonical form
T (s )= 0.67
0.33 s+1 ...... (8b)
From which
k = 0.667
Ļ„ = 0.33
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
6
Figure 3: Closed loop transfer function response (H(s) = 0.5)
System information for step input from MATLAB:
RiseTime: 0.7323
SettlingTime: 1.3040
SettlingMin: 0.6030
SettlingMax: 0.6666
Overshoot: 0
Undershoot: 0
Peak: 0.6666
PeakTime: 3.5153
Document Page
7
d) A comparison of open loop and closed system
Table 1: First order system response summary from MATLAB response
Rise time % overshoot Settling time Final value
Open Loop 1.15 sec 0% 1.96 sec 1.0
Unity feedback 0.549 sec 0% 0.978 sec 0.50
H(s) = 0.5 0.732 sec 0% 1.30 sec 0.667
From the system response characteristics, percentage overshoot all the systems is
at 0%. This support the fact that a first order system has no overshoot. A feedback
path however influence the value of dc gain k and time constant, Ļ„. The results shows
that applying a unity feedback reduces the values of the two parameters; dc gain k and
time constant, Ļ„ by Ā½. In order to restore the desired steady state response involves
doubling of the gain so as to get the desired steady state value. For a H(s) = 0.5
feedback path, both the gain and time constant are reduced by a 1/3. This suggest that
application path in a first order system affect time constant and dc gain in equal
proportions.
The findings also reveal interesting information on the effects of a feedback path
on the transient response of a first order system. The rise time and settling time seems
shows a significant improvement when a feedback path is added. A feedback system
therefore improve system transient characteristics by ensuring that the control system
takes the least possible time to settle and to rise. Depending on application, this might
not be desirable in some cases. The rise time and settling improves from 1.15 seconds
and 1.96 seconds for open loop system to 0.732 seconds and 1.3 seconds for H(s) =
0.5 and 0.549 seconds and 0.978 seconds for unity feedback systems, respectively.
The variations in transient response characteristics are consistent with the fact that a
feedback system changes the Ļ„, affection the location of poles and zeroes (not
applicable in 1st order system) thus influencing the desired response.
Document Page
8
Second Order System
a) Determine the second order Transfer Function.
A second order system can be generally be modelled by the equation shown below.
G( s)= kss Ļ‰n
2
s2 +2 Ī¶ Ļ‰n s +Ļ‰n
2 ...... (ix)
Settling time is given by:
T s= 4
Ī¶ Ļ‰n
...... (x_a)
Peak time is given by:
T p= Ļ€
Ļ‰n āˆš 1āˆ’Ī¶2 ...... (x_b)
From (Xu & Ding, 2017),
From (x_a) Ļ‰n= 4
T s
= 4
4 =1=Āæ Ī¶ Ļ‰n =1 ...... (xi_a)
Tp = 0.5, therefore 3 9.478=Ļ‰n
2 (1āˆ’Ī¶2 ) ...... (xi_b)
From (11a), it can be expressed as Ī¶ as: Ī¶ = 1
Ļ‰n
...... (xi_c)
Substituting (xi_c) in (xi_b):
3 9.478=Ļ‰n
2 (1āˆ’ 1
Ļ‰n
2 )=Ļ‰n
2 āˆ’1
Hence, Ļ‰n
2=40.478=Āæ Ļ‰n= āˆš 40.478=6.36 ...... (xi_d)
Also, Ī¶ = 1
Ļ‰n
= 1
6.36 =0.157 ...... (xi_e)
By inspection, from the response, final value = 2.5 = kss
Hence, Ļ‰ = 6.36 , Ī¶ = 0.157 and kss = 2.5
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
9
Substituting the values in (xi):
G(s)= 101.20
s2 +2 s+40.48 ...... (xii)
Figure 4: Open loop transfer function response
System information for step input from MATLAB:
RiseTime: 0.1857
SettlingTime: 3.6395
SettlingMin: 1.5835
SettlingMax: 4.0150
Overshoot: 60.6008
Undershoot: 0
Peak: 4.0150
PeakTime: 0.5066
Document Page
10
b) Closed loop transfer function (unity negative feedback, H(s) = 1)
From equation (iii), T (s )= G(s )
1+G( s) H (s) ...... (iii)
H(s) = 1. Substituting and solving for T(s) using similar steps in section 1(b):
G( s) H (s)= 101.20
s2 +2 s+40.48
1+G( s)H (s)=1+ 101.20
s2 +2 s +40.48 = s2 +2 s +141.68
s2 +2 s+ 40.48
G( s)
1+ G(s) H (s)=
( 101.20
s2 +2 s +40.48 ) Ɨ ( s2+ 2 s+ 40.48
s2 +2 s+141.68 )= 101.20
s2 +2 s+141.68
Therefore, (s)= 101.20
s2 +2 s+141.68 ...... (xiii)
Document Page
11
Figure 5: Closed loop transfer function response (Unity feedback)
System information for step input from MATLAB:
RiseTime: 0.0935
SettlingTime: 3.7596
SettlingMin: 0.2938
SettlingMax: 1.2623
Overshoot: 76.7258
Undershoot: 0
Peak: 1.2623
PeakTime: 0.2639
c) Closed loop transfer function (negative feedback, H(s) = 0.5)
From equation (iii),
T (s )= G(s )
1+G(s) H (s) ...... (iii)
H(s) = 0.5. Substituting and solving for T(s) following the steps in section 1(b), we
have:
G(s) H (s)= 101.20
s2 +2 s+40.48 Ɨ0.5= 50.60
s2+2 s+ 40.48
1+G( s) H (s)=1+ 50.60
s2 +2 s +40.48 = s2 +2 s +91.08
s2 +2 s +40.48
G(s)
1+ G(s) H (s)=
( 101.20
s2 +2 s +40.48 ) Ɨ ( s2 +2 s+ 40.48
s2 +2 s+ 91.08 ) = 101.20
s2 +2 s +91.08
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
12
Therefore, ( s)= 101.20
s2 +2 s+ 91.08 ...... (xiv)
Figure 6: Closed loop transfer function response (H(s) = 0.5)
System information for step input from MATLAB:
RiseTime: 0.1186
SettlingTime: 3.7161
SettlingMin: 0.5383
SettlingMax: 1.9090
Overshoot: 71.8092
Undershoot: 0
Peak: 1.9090
Document Page
13
PeakTime: 0.3292
d) Performance of the open loop system compared with the closed loop systems
Table 2: Second order system response summary (from MATLAB response)
Rise time % overshoot Peak time Settling
time
Final value
Open Loop 0.186 sec 60.6% 0.507 sec 3.64 sec 2.5
Unity feedback 0.0935 sec 76.7% 0.264 sec 3.76 sec 0.714
H(s) = 0.5 0.119 sec 71.8% 0.329 sec 3.72 sec 1.11
The second order system has significant level of overshoot unlike 1st order system
with the least value of 60.6% witnessed in the Open loop system and the highest
overshoot of 76.7% observed in a unity feedback system. The results indicate that
peak time is minimum when the overshoot is maximum. The rise time as unity
feedback is seen to have the least peak time of 0.264 seconds. The settling time is
highest when the unity feedback is applied and least in the open loop system. The
settling time is therefore the reverse, as the open loop system settles faster than the
closed loop systems. This implies that decreasing the rise time is at tradeoff of
overshoots and settling time. A feedback is seen significantly decrease the final value.
Theoretically, this is expected since the feedback path also modifies the gain, which
determines the steady state value. The variations in the system performance are
attributed to changes in zeros and poles of the system.
Generally, a second order system is seen to be relatively complex in design
relative to first order system. The systemā€™s performance cannot be easily judged and
classical modelling and software simulations are necessary. In order to increase
precision, the controllers (PID) may be necessary. A feedback is seen to affect the
transient response of 1st and 2nd order system though the effect is seen to be more
pronounced in 2nd order systems.
Document Page
14
References
Dorf, R. C., & Bishop, R. H. (2017). Modern control systems. Hoboken: Pearson.
Nise, N. S. (2015). Control systems engineering. Hoboken, NJ: Wiley.
Nise, N. S. (2019). Control systems engineering. Weinheim Wiley.
Xu, L., & Ding, F. (2017). Parameter estimation for control systems based on impulse
responses. International Journal of Control, Automation and Systems, 15(6),
2471ā€“2479. https://doi.org/10.1007/s12555-016-0224-2
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
15
Appendices
MATLAB Code
% clear the console, workspace and close all open figures
clc; clear; close all;
%definition of the variables
% Open loop trasfer function (OLTF)
G_1 = tf([1],[0.5 1])
% Step response of OLTF
figure(1);
step(G_1), grid;
title('First order Open Loop step response');
disp('G_1: ');
disp(stepinfo(G_1));
% Closed loop transfer function (CLTF) for (H(s) = 1)
T_11 = feedback(G_1, 1);
% Step response for unity feedback CLTF
figure(2);
step(T_11), grid;
title('First order closed loop response for unity feedback system)');
disp('T_11: ');
disp(stepinfo(T_11));
% Closed loop transfer function (CLTF) with H(s) = 0.5
T_12 = feedback(G_1, 0.5);
% Step response for feedback CLTF, H(s) = 0.5
figure(3);
step(T_12), grid;
title('First order closed loop response for (H(s) = 0.5)');
disp('T_12: ');
disp(stepinfo(T_12));
% Second order system
G_2 = tf([101.20],[1 2 40.48]);
% Step response of OLTF
figure(4);
step(G_2), grid;
title('second Order Open Loop step response');
disp('G_2: ');
disp(stepinfo(G_2));
Document Page
16
% Closed loop transfer function (CLTF) of a unity feedback (H(s) = 1)
T_21 = feedback(G_2, 1);
% Step response for unity feedback CLTF
figure(5);
step(T_21), grid;
title('Step response for a second Order system with a Unity Feedback');
disp('T_21: ');
disp(stepinfo(T_21));
% Step response for unity feedback CLTF with H(s) = 0.5
T_22 = feedback(G_2, 0.5);
% Step response for feedback CLTF, H(s) = 0.5
figure(6);
step(T_22), grid;
title('Step response for feedback CLTF of (H(s) = 0.5)');
disp('T_22: ');
disp(stepinfo(T_21));
G_1 =
1
---------
0.5 s + 1
Continuous-time transfer function.
G_1:
RiseTime: 1.0985
SettlingTime: 1.9560
SettlingMin: 0.9045
SettlingMax: 1.0000
Overshoot: 0
Undershoot: 0
Document Page
17
Peak: 1.0000
PeakTime: 5.2729
T_11:
RiseTime: 0.5493
SettlingTime: 0.9780
SettlingMin: 0.4523
SettlingMax: 0.5000
Overshoot: 0
Undershoot: 0
Peak: 0.5000
PeakTime: 2.6365
T_12:
RiseTime: 0.7323
SettlingTime: 1.3040
SettlingMin: 0.6030
SettlingMax: 0.6666
Overshoot: 0
Undershoot: 0
Peak: 0.6666
PeakTime: 3.5153
G_2:
RiseTime: 0.1857
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
18
SettlingTime: 3.6395
SettlingMin: 1.5835
SettlingMax: 4.0150
Overshoot: 60.6008
Undershoot: 0
Peak: 4.0150
PeakTime: 0.5066
T_21:
RiseTime: 0.0935
SettlingTime: 3.7596
SettlingMin: 0.2938
SettlingMax: 1.2623
Overshoot: 76.7258
Undershoot: 0
Peak: 1.2623
PeakTime: 0.2639
T_22:
RiseTime: 0.0935
SettlingTime: 3.7596
SettlingMin: 0.2938
SettlingMax: 1.2623
Overshoot: 76.7258
Undershoot: 0
Document Page
19
Peak: 1.2623
PeakTime: 0.2639
Document Page
20
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
21
Document Page
22
Published with MATLABĀ® R2018a
chevron_up_icon
1 out of 24
circle_padding
hide_on_mobile
zoom_out_icon
logo.png

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]