Professional Documents
Culture Documents
Laboratory Report
Course Name: - Control Engineering
Course Code: - ECEG-4150
Experiment No:- 3
Group Members
Name ID.No.
1. Tilahun Aligaz ATR/3575/08
2. Sofani H/Selassie ATR/1975/08
3. Robel Tekeba ATR/5236/08
4. Semere Yitfessah ATR/6332/08
5. Melake Shiferaw ATR/2871/08
6. Yohannes Kebbebe ATR/8396/08
%After the take off point is shifted beyond G4 block we get G4 G3 in series
sys1=series(G3,G4); %Series combination of G3 and G4
sys2=series(H2,1/G4); %Series Combination Of H2 And 1/G4
% 1/G4 is due to the shifting of take off point.
%We can get the poles and zeros of the transfer function as follows:-
Poles = pole(System_TF)
Zeros = zero(System_TF)
System_TF =
Poles =
-10.1174 + 0.0000i
-2.4403 + 0.0000i
-2.3493 + 0.0000i
-0.5882 + 0.8228i
-0.5882 - 0.8228i
Zeros =
-2.0000 + 0.0000i
-1.0000 + 0.0000i
0.0000 + 1.0000i
0.0000 - 1.0000i
% c)Step Response Performance of the Spacecraft When the Moment of Inertia Decreases
% i) When J decreases by 20%, The new value of J becomes 80% of the Nominal Value
J = 0.8*10.8e+08;
NumCont = [k k*a]; % Numerator of the transfer function of the Controller Block
DenCont = [1 b]; % Denominator of the transfer function of the Controller Block.
Cont_TF = tf(NumCont, DenCont); % Transfer Function of the Controller Block
NumSpc = [1]; % Numerator of the transfer function of the Spacecraft Block
DenSpc = [J 0 0]; % Denominator of the transfer function of the Spacecraft Block.
Spc_TF = tf(NumSpc, DenSpc); % Transfer Function of the Controller Block
SeriesCombination = series(Cont_TF, Spc_TF); %Series combination of the two Blocks
FeedBack = feedback(SeriesCombination,[1],-1); %Negative Feedback Combination of
% SeriesCombination with Unity Gain
System_TF = minreal(FeedBack); %Cancelling common factors to get closed loop TF
y = Phase * System_TF;
step(y,'r-.')
hold on
% ii) When J decreases by 50%, the new value of J becomes 50% of the Nominal Value
J = 0.5*10.8e+08;
NumCont = [k k*a]; % Numerator of the transfer function of the Controller Block
DenCont = [1 b]; % Denominator of the transfer function of the Controller Block.
Cont_TF = tf(NumCont, DenCont); % Transfer Function of the Controller Block
NumSpc = [1]; % Numerator of the transfer function of the Spacecraft Block
DenSpc = [J 0 0]; % Denominator of the transfer function of the Spacecraft Block.
Spc_TF = tf(NumSpc, DenSpc); % Transfer Function of the Controller Block
SeriesCombination = series(Cont_TF, Spc_TF); %Series combination of the two Blocks
FeedBack = feedback(SeriesCombination,[1],-1); %Negative Feedback Combination of
% SeriesCombination with Unity Gain
% DISCUSION:
% As it can be seen from the graph, as J decreases, the time duration until the output
settles down decreases.
% From this we can conclude that the performance gets better as the moment of Inertia,
J, Decreases.
Published with MATLAB® R2014b
Exercise 3
% As it can be seen from the Plot, the final value of the Output is 2/5 = 0.4.
System_TF =
s + 2
-------------
s^2 + 5 s + 5