You are on page 1of 6

DE LA SALLE UNIVERSITY – DASMARIÑAS

College Of Engineering, Architecture, and Technology

Performance of 1st and 2nd Order Systems


Experiment No.8

By
Leuterio, Romarie Thea P.
ECE43

Feedback and Control Systems Laboratory


EET423L

Date Performed: April 30, 2019


Date Submitted: May 07, 2019

ENGR. CONRADO MONZON


INSTRUCTOR
EXERCISES

EXERCISE 1
a. Given the value of R and C, obtain the unit step response of the first order system.
a. R = 2k and C = 0.01F
b. R = 2.5k and C = 0.003F
b. Verify in each case that the calculated time constant and the one measure as 63% of the
final value are the same.
c. Obtain the steady state value of the system.

CODES:
clc;
fprintf('\n\n\nEEET423L Feedback Control Systems Lab \n');
fprintf('\nProgrammed By: Leuterio, Romarie Thea P. \nCYS: ECE43 \n\n');

disp('Experiment #8');
disp('Performance of 1st and 2nd Order Systems');
disp('Exercise 1');
fprintf('\n\n')

%codes start
R=[2000 2500];
C=[0.01 0.003];
for i=1:2
n=[1];
d=[R(i)*C(i) 1];
system_1=tf(n,d)
subplot (2,1,i)
step(system_1)
title(['R=',num2str(R(i)),' ','C=',num2str(C(i))]);
end

OUTPUT:
EEET423L Feedback Control Systems Lab
Programmed By: Leuterio, Romarie Thea P.
CYS: ECE43

Experiment #8
Performance of 1st and 2nd Order Systems
Exercise 1

system_1 =
1
--------
20 s + 1
Continuous-time transfer function.

system_1 =
1
---------
7.5 s + 1
Continuous-time transfer function.
>>
EXERCISE 2

Effect of damping ration on performance measured. For a single-loop second order feedback
system given below. Find the step response, let ωn =1.

CODES:
clc;
fprintf('\n\n\nEEET423L Feedback Control Systems Lab \n');
fprintf('\nProgrammed By: Leuterio, Romarie Thea P. \nCYS: ECE43
\n\n');

disp('Experiment #8');
disp('Performance of 1st and 2nd Order Systems');
disp('Exercise 2');
fprintf('\n\n')

%codes start
w=1;
z=0.1;
n1=[w^2];
d1=[1 2.*w.*z 0];
system_2a=tf(n1,d1);
system_2b=feedback(system_2a,[1]);
step(system_2b)
disp(['z=0.1']);
stepinfo(system_2b)
z=[0.4 0.7 1 2];
h=length(z);
for i=1:h
hold on
n2=[w^2];
d2=[1 2*w*z(i) 0];
system_2c=tf(n2,d2);
system_2d=feedback(system_2c,[1]);
step(system_2d)
disp(['z=',num2str(z(i))]);
stepinfo(system_2d)
end
OUTPUT:
EEET423L Feedback Control Systems Lab
ans =
Programmed By: Leuterio, Romarie Thea
P. RiseTime: 2.1268
CYS: ECE43 SettlingTime: 5.9789
SettlingMin: 0.9001
Experiment #8 SettlingMax: 1.0460
Performance of 1st and 2nd Order Overshoot: 4.5986
Systems Undershoot: 0
Exercise 2 Peak: 1.0460
PeakTime: 4.4078

z=0.1 z=1

ans = ans =

RiseTime: 1.1272 RiseTime: 3.3579


SettlingTime: 38.3730 SettlingTime: 5.8339
SettlingMin: 0.4685 SettlingMin: 0.9000
SettlingMax: 1.7292 SettlingMax: 0.9994
Overshoot: 72.9156 Overshoot: 0
Undershoot: 0 Undershoot: 0
Peak: 1.7292 Peak: 0.9994
PeakTime: 3.1416 PeakTime: 9.7900

z=0.4 z=2

ans = ans =

RiseTime: 1.4652 RiseTime: 8.2308


SettlingTime: 8.4094 SettlingTime: 14.8789
SettlingMin: 0.9065 SettlingMin: 0.9017
SettlingMax: 1.2537 SettlingMax: 0.9993
Overshoot: 25.3741 Overshoot: 0
Undershoot: 0 Undershoot: 0
Peak: 1.2537 Peak: 0.9993
PeakTime: 3.4539 PeakTime: 27.3269

z=0.7 >>
TABLE:
Settling Steady State
ζ Rise Time Peak Time % Overshoot
Time Value
0.1 1.1272 3.1416 72.92 38.3730 1

0.4 1.4652 3.4539 25.38 8.4094 1

0.7 2.1268 4.4078 4.60 5.9789 1

1.0 3.3579 9.7900 -0.09 5.8339 1

2.0 8.2308 27.3269 -0.07 14.8789 1

You might also like