Professional Documents
Culture Documents
Joel
F44128640
2023/11/28
1
Question 1 :
And the closed-loop transfer function with unity feedback system is given below:
𝐶(𝑠) 𝐺(𝑠)
=
𝑅(𝑠) 1 + 𝐺(𝑠)
2𝑠 + 1
𝐶(𝑠) 𝑠2
=
𝑅(𝑠) 1 + 2𝑠 + 1
𝑠2
𝐶(𝑠) 2𝑠 + 1
= 2
𝑅(𝑠) 𝑠 + 2𝑠 + 1
𝐶(𝑠) 2𝑠 + 1
=
𝑅(𝑠) (𝑠 + 1)2
𝐶(𝑠)
We then, do the partial fraction of in order to do the Inverse Laplace transform.
𝑅(𝑠)
2
In order to find the unit step response integrate the unit impulse response from 0 to 1.
𝑐(𝑡)
We integrate between 0 and t the 𝑓(𝑡) = :
𝑟(𝑡)
Question 2 :
1 + 𝐺(𝑠) = 0
1
1+ =0
𝑠(𝑠 + 1)
𝑠2 + 𝑠 + 1 = 0
𝑠2 + 𝑍𝑒𝑡𝑎𝑊𝑛𝑠 + 𝑊𝑛2 = 0
𝑊𝑛2 = 1
𝑟𝑎𝑑
𝑊𝑛 = 1
𝑠
2𝑍𝑒𝑡𝑎𝑊𝑛 = 1
2 ∗ 𝑍𝑒𝑡𝑎 ∗ 1 = 1
𝑍𝑒𝑡𝑎 = 0.5
3
The rise time 𝑡𝑟 is given by:
4
Question 3 :
We know that,
5
And we also know that the peak overshoot 𝑀𝑝 = 𝑐(𝑡𝑝) − 𝑐(inf) :
6
For a 2% tolerance of settling time 𝑡𝑠, we got:
Question 4 :
7
So, from the characteristic 2nd order system equation:
We have as parameters:
1
Hence, for 𝑅(𝑠) = , the rise time 𝑡𝑟 is given by:
𝑠
8
The settling time 𝑡𝑠 is given by:
Question 5 :
a)
9
b)
c)
10
We then, do the partial fraction:
Question 6 :
a)
b)
c)
11
Question 7 :
a)
1
Let 𝑅(𝑠) = , we got:
𝑠
12
We then, do the partial fraction:
13
b)
The steady state error for step input is:
14
c)
For a < 0, the 1st pole of the system will be: 𝑃1 = −𝑎
Let a = -2, so 𝑃1 = 2.
But P1=2 is a positive pole located on the right side of the s-plane.
- Thus, we cannot find the steady state error 𝑒𝑠𝑠 as for an unstable system,
the steady state error 𝑒𝑠𝑠 is “undefined”.
15
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);
16
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);
17
18