Professional Documents
Culture Documents
F44128640 Homework LCS DING Joel
F44128640 Homework LCS DING Joel
F44128640 Homework LCS DING Joel
Joel
F44128640
2023/11/28
1
Question 1 :
And the closed-loop transfer function with unity feedback system is given below:
C (s ) G( s)
=
R ( s ) 1+G (s )
2 s+1
C (s ) s
2
=
R ( s ) 1+ 2 s +1
s2
C (s ) 2 s +1
= 2
R ( s ) s + 2 s+1
C ( s ) 2 s +1
=
R ( s ) ( s +1 )2
C (s )
We then, do the partial fraction of in order to do the Inverse Laplace transform.
R (s )
2
In order to find the unit step response integrate the unit impulse response from 0 to 1.
c (t)
We integrate between 0 and t the f ( t )= :
r (t )
Question 2 :
1+G ( s )=0
1
1+ =0
s ( s+1 )
2
s + s+1=0
3
2
W n =1
rad
Wn=1
s
2 ZetaWn=1
2∗Zeta∗1=1
Zeta=0.5
The rise time tr is given by:
4
Question 3 :
We know that,
5
And we also know that the peak overshoot Mp=c ( tp )−c (inf ) :
6
For a 2% tolerance of settling time ts , we got:
7
Question 4 :
8
We have as parameters:
1
Hence, for R ( s )= , the rise time tr is given by:
s
9
The settling time ts is given by:
Question 5 :
a)
10
b)
c)
11
We then, do the partial fraction:
Question 6 :
a)
b)
c)
12
Question 7 :
a)
1
Let R ( s )= , we got:
s
13
We then, do the partial fraction:
14
b)
The steady state error for step input is:
15
c)
For a < 0, the 1st pole of the system will be: P 1=−a
But P1=2 is a positive pole located on the right side of the s-plane.
- Thus, we cannot find the steady state error e ss as for an unstable system,
the steady state error e ss is “undefined”.
16
Matlab code used :
Question 6 :
a)
clear all;clc;close all;
% Define the open-loop transfer function G(s) - replace this with your system
numerator = [500 3500 5000]; % coefficients of the numerator
denominator = [1 30 296 960]; % coefficients of the denominator
G = tf(numerator, denominator);
T = feedback(G,1);
% Display results
fprintf('Steady-State Error for Step Input: %.4f\n', ess_step);
fprintf('Steady-State Error for Ramp Input: %.4f\n', ess_ramp);
fprintf('Steady-State Error for Parabolic Input: %.4f\n', ess_parabola);
b)
clear all;clc;close all;
% Define the open-loop transfer function G(s) - replace this with your system
numerator = [500 6500 26000 30000];% coefficients of the numerator
denominator = [1 30 296 960 0]; % coefficients of the denominator
G = tf(numerator, denominator);
T = feedback(G,1);
% Display results
fprintf('Steady-State Error for Step Input: %.4f\n', ess_step);
17
fprintf('Steady-State Error for Ramp Input: %.4f\n', ess_ramp);
fprintf('Steady-State Error for Parabolic Input: %.4f\n', ess_parabola);
c)
clear all;clc;close all;
% Define the open-loop transfer function G(s) - replace this with your system
numerator = [500 12000 111500 498000 1058000 840000]; % coefficients of the
numerator
denominator = [1 30 296 960 0 0]; % coefficients of the denominator
G = tf(numerator, denominator);
T = feedback(G,1);
% Display results
fprintf('Steady-State Error for Step Input: %.4f\n', ess_step);
fprintf('Steady-State Error for Ramp Input: %.4f\n', ess_ramp);
fprintf('Steady-State Error for Parabolic Input: %.4f\n', ess_parabola);
18
19