Académique Documents
Professionnel Documents
Culture Documents
LABORATORIO No. 5
CUESTIONARIO:
𝑌(𝑠) 𝜔𝑛 2
= 2
𝑅(𝑠) 𝑠 + 2𝜉𝜔𝑛 𝑠 + 𝜔𝑛 2
transferencia.
1 + 6 + 0 + 6 + 1 + 9 + 9 + 7 = 39
3 + 9 = 12
1+2=3
𝜔𝑛 = 3
𝑌(𝑠) 32
=
𝑅(𝑠) 𝑠 2 + 2𝜉3𝑠 + 32
𝑌(𝑠) 9
= 2
𝑅(𝑠) 𝑠 + 𝜉6𝑠 + 9
RESOLUCIÓN EN MATLAB:
num=[9]
den=[1 6 9]
G=tf(num,den)
step(G)
[x,y,t]=step(num,den)
[ymax,xmax]=max(y)
syms g y r s
g=9/(s^2+6*s+9)
r=1/s
y=r*g
pretty(ilaplace(y))
roots(den)
hold on
for E=0:0.5:5
denv=[1 6*E 9]
step(num,denv)
end
hold off
G=9/(s^2+6*s+9)
single(G)
%TRANSFORMADA DE LAPLACE
U=1/s
Y=G*U
%RESPUESTA ANALITICA EN EL TIEMPO
ilt(Y)
%RESPUESTA GRAFICA
time(G)
pzf(G)
%VARIACION DE COEFICIENTES Ee
G0=twopoles(0,1)
G1=twopoles(0.5,1)
G2=twopoles(1,1)
G3=twopoles(1.5,1)
G4=twopoles(2,1)
G5=twopoles(2.5,1)
G6=twopoles(3,1)
G7=twopoles(3.5,1)
G8=twopoles(4,1)
G9=twopoles(4.5,1)
G10=twopoles(5,1)
time(G0,’-‘,G1,’-’,G2,’-’,G3,’-’,G4,’-’,G5,’-’,G6,’-’,G7,’-’,G8,’-’,G9,’-’,G10)
RESOLUCIÓN EN SCILAB:
cv=[1 2 3 4 5 6 7 8 9 10 11]
for n=1:11
num=poly([9],'s','coeff');
g=syslin('c',num/den);
t=0:0.05:30;
gs=csim('step',t,g);
plot2d(t,gs,style=cv(n))
end;
xgrid;
xtitle('ESCALON UNITARIO CON wn=1,zeta=0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5')
RESOLUCIÓN EN VISSIM:
2. Introduzca el valor de la frecuencia natural no amortiguada sumando entre si el número de
transferencia.
5 + 7 + 7 + 0 + 5 + 1 + 4 = 29
2 + 9 = 11
1+1=2
𝜔𝑛 = 2
𝑌(𝑠) 22
= 2
𝑅(𝑠) 𝑠 + 2𝜉2𝑠 + 22
𝑌(𝑠) 4
= 2
𝑅(𝑠) 𝑠 + 𝜉4𝑠 + 4
RESOLUCIÓN EN MATLAB:
num=[4]
den=[1 4 4]
G=tf(num,den)
step(G)
[x,y,t]=step(num,den)
[ymax,xmax]=max(y)
syms g y r s
g=4/(s^2+4*s+4)
r=1/s
y=r*g
pretty(ilaplace(y))
roots(den)
hold on
for E=0:0.5:5
denv=[1 4*E 4]
step(num,denv)
end
hold off
G=4/(s^2+4*s+4)
single(G)
%TRANSFORMADA DE LAPLACE
U=1/s
Y=G*U
%RESPUESTA ANALITICA EN EL TIEMPO
ilt(Y)
%RESPUESTA GRAFICA
time(G)
pzf(G)
%VARIACION DE COEFICIENTES Ee
G0=twopoles(0,1)
G1=twopoles(0.5,1)
G2=twopoles(1,1)
G3=twopoles(1.5,1)
G4=twopoles(2,1)
G5=twopoles(2.5,1)
G6=twopoles(3,1)
G7=twopoles(3.5,1)
G8=twopoles(4,1)
G9=twopoles(4.5,1)
G10=twopoles(5,1)
time(G0,'-',G1,'-',G2,'-',G3,'-',G4,'-',G5,'-',G6,'-',G7,'-',G8,'-',G9,'-',G10)
RESOLUCIÓN EN SCILAB:
cv=[1 2 3 4 5 6 7 8 9 10 11]
for n=1:11
num=poly([4],'s','coeff');
g=syslin('c',num/den);
t=0:0.05:30;
gs=csim('step',t,g);
plot2d(t,gs,style=cv(n))
end;
xgrid;
xtitle('ESCALON UNITARIO CON wn=1,zeta=0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5')
RESOLUCIÓN EN VISSIM: