0% found this document useful (0 votes)
44 views4 pages

LAB 3 Report: Course Title: Control Systems

1) The document describes a lab report for a control systems course that involves analyzing the step response of a given electrical circuit by changing component values. 2) MATLAB code is provided to derive transfer functions for the output voltage across a resistor and capacitor in the circuit. 3) Step responses are plotted for the resistor and capacitor outputs to analyze how changing component values affects system performance.

Uploaded by

Tajdar Haider
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views4 pages

LAB 3 Report: Course Title: Control Systems

1) The document describes a lab report for a control systems course that involves analyzing the step response of a given electrical circuit by changing component values. 2) MATLAB code is provided to derive transfer functions for the output voltage across a resistor and capacitor in the circuit. 3) Step responses are plotted for the resistor and capacitor outputs to analyze how changing component values affects system performance.

Uploaded by

Tajdar Haider
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Page |1

LAB 3 REPORT

COURSE TITLE: CONTROL SYSTEMS

SUBMITTED BY: TAJDAR HAIDER

REG. NO: FA16-EPE-057

SUBMITTED TO: SIR DR. SHAHID MUSTAFA

SUBMISSION DATE: MAR 25, 2019

COMSATS UNIVERSITY ISLAMABAD,


ABBOTTABAD CAMPUS
TASK:
Take the step response of the given systems. The choice of output is with the student. Student should be
Page |2

able to analyze the system performance by the change of component values in both networks.

MATLAB CODE:
clc
clear all
close all
R1=1;
R2=1;
R3=2;
R4=4;
L1=2;
L2=3;
C=1/5;
syms S V1 I1 I2 I3
Z=[R1+R2+L1*S -R2-L1*S -R1;-R2-L1*S R2+L1*S+R4+L2*S+R3 -R3-L2*S;-R1 -R3-L2*S
R1+R3+L2*S+C/S]
I=[I1;I2;I3];
V=[V1;0;0];
Z_INV=inv(Z);
IOUT=Z_INV*V;
I2=IOUT(2);
I3=IOUT(3);
VO=4*I2;
trans=VO/V1
[n,d]=numden(trans)
num1=sym2poly(n)
denom1=sym2poly(d)
sys=tf(num1,denom1)
subplot(2,1,1)
step(sys,'r')
legend('resistor step responce')
Page |3

VC=(I3*C)/S
trans_ftn=VC/V1
[n1,d1]=numden(trans_ftn)
num2=sym2poly(n1)
denom2=sym2poly(d1)
sys1=tf(num2,denom2)
subplot(2,1,2)
step(sys1,'b')
legend('capacitor step responce')
Page |4

CONCLUSION: After finding the equations from the given circuitry, we changed the respective
voltage outputs of the inductor and capacitor to frequency domain using Laplace transformation. After
that we found the step response of resistor and capacitor by using transfer function commands and step
commands.

You might also like