Professional Documents
Culture Documents
LAB 3 Report: Course Title: Control Systems
LAB 3 Report: Course Title: Control Systems
LAB 3 REPORT
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.