0% found this document useful (0 votes)
32 views

%%para Corriente

This document defines several transfer functions with different time constants and calculates their step responses. It defines transfer functions for four different cases by varying the damping ratio and calculates the step response for each case.

Uploaded by

Alfonso Sanchez
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)
32 views

%%para Corriente

This document defines several transfer functions with different time constants and calculates their step responses. It defines transfer functions for four different cases by varying the damping ratio and calculates the step response for each case.

Uploaded by

Alfonso Sanchez
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/ 14

clear; clc; R=Ta/C

%%Para corriente F=tf(([1]*V), [Ta 1])

V=7; figure(5)
Ta=0.1;
C=0.5; step(F)
R=Ta/C
%%%%
G=tf(([C 0]*V), [Ta 1])
Ta2=0.9;
figure(1)
R2=Ta2/C
step(G)
F2=tf(([1]*V), [Ta2 1])
%%%%
figure(6)
Ta2=0.9; step(F2)

R2=Ta2/C
%%%%
G2=tf(([C 0]*V), [Ta2 1])
Ta3=10;
figure(2) C=0.5;
step(G2) R3=Ta3/C

F3=tf(([1]*V), [Ta3 1])


%%%%
figure(7)
Ta3=10; step(F3)
C=0.5;
R3=Ta3/C %%%%

G3=tf(([C 0]*V), [Ta3 1]) Ta4=100;


C=0.5;
figure(3) R4=Ta4/C
step(G3)
F4=tf(([1]*V), [Ta4 1])
%%%% figure(8)
step(F4)
Ta4=100;
C=0.5;
R4=Ta4/C

G4=tf(([C 0]*V), [Ta4 1])


figure(4)
step(G4)

%%Para Voltaje

V=7;
Ta=0.1;
C=0.5;
R=

20

0.2000

G3 =

G=

3.5 s

3.5 s --------

--------- 10 s + 1

0.1 s + 1

Continuous-time transfer function.

Continuous-time transfer function.

R4 =

R2 =

200

1.8000

G4 =

G2 =

3.5 s

3.5 s ---------

--------- 100 s + 1

0.9 s + 1

Continuous-time transfer function.

Continuous-time transfer function.

R=

R3 =
0.2000

F3 =

F=

7 --------

--------- 10 s + 1

0.1 s + 1

Continuous-time transfer function.

Continuous-time transfer function.

R4 =

R2 =

200

1.8000

F4 =

F2 =

7 ---------

--------- 100 s + 1

0.9 s + 1

Continuous-time transfer function.

Continuous-time transfer function.

>>

R3 =

20
clear; clc;

C=0.5; %%Caso 4

L=0.5; shi4=1;

wn=sqrt(1/(C*L))
%%Caso 1
R4=(2*shi4*wn*L)
shi=0;
G4=tf(([(1/L) 0]), ([1 (R4/L)
wn=sqrt(1/(C*L)) (1/(C*L))]))

R1=(2*shi*wn*L) figure(4)

G1=tf(([(1/L) 0]), ([1 (R1/L) step(G4)


(1/(C*L))]))
%%Caso 5
figure(1)
shi5=10;
step(G1)
wn=sqrt(1/(C*L))
%%Caso 2
R5=(2*shi5*wn*L)
shi2=0.2;
G5=tf(([(1/L) 0]), ([1 (R5/L)
wn=sqrt(1/(C*L)) (1/(C*L))]))

R2=(2*shi2*wn*L) figure(5)

G2=tf(([(1/L) 0]), ([1 (R2/L) step(G5)


(1/(C*L))]))

figure(2)

step(G2)

%%Caso 3

shi3=0.9;

wn=sqrt(1/(C*L))

R3=(2*shi3*wn*L)

G3=tf(([(1/L) 0]), ([1 (R3/L)


(1/(C*L))]))

figure(3)

step(G3)
wn = G2 =

2 2s

---------------

s^2 + 0.8 s + 4

R1 =

Continuous-time transfer function.

wn =

G1 =

2s

-------

s^2 + 4 R3 =

Continuous-time transfer function. 1.8000

wn = G3 =

2 2s

---------------

s^2 + 3.6 s + 4

R2 =

Continuous-time transfer function.

0.4000

wn =
2 2s

--------------

s^2 + 40 s + 4

R4 =

Continuous-time transfer function.

>>

G4 =

2s

-------------

s^2 + 4 s + 4

Continuous-time transfer function.

wn =

R5 =

20

G5 =
clear; clc;

C=0.5; %%Caso 4

L=0.5; shi4=1;

wn=sqrt(1/(C*L))
%%Caso 1
R4=(2*shi4*wn*L)
shi=0;
G4=tf([1/(C*L)], [1 (R4/L)
wn=sqrt(1/(C*L)) (1/(C*L))])

R1=(2*shi*wn*L) figure(4)

G1=tf([1/(C*L)], [1 (R1/L) step(G4)


(1/(C*L))])
%%Caso 5
figure(1)
shi5=10;
step(G1)
wn=sqrt(1/(C*L))
%%Caso 2
R5=(2*shi5*wn*L)
shi2=0.2;
G5=tf([1/(C*L)], [1 (R5/L)
wn=sqrt(1/(C*L)) (1/(C*L))])

R2=(2*shi2*wn*L) figure(5)

G2=tf([1/(C*L)], [1 (R2/L) step(G5)


(1/(C*L))])

figure(2)

step(G2)

%%Caso 3

shi3=0.9;

wn=sqrt(1/(C*L))

R3=(2*shi3*wn*L)

G3=tf([1/(C*L)], [1 (R3/L)
(1/(C*L))])

figure(3)

step(G3)
wn = G2 =

2 4

---------------

s^2 + 0.8 s + 4

R1 =

Continuous-time transfer function.

wn =

G1 =

-------

s^2 + 4 R3 =

Continuous-time transfer function. 1.8000

wn = G3 =

2 4

---------------

s^2 + 3.6 s + 4

R2 =

Continuous-time transfer function.

0.4000

wn =
2 4

--------------

s^2 + 40 s + 4

R4 =

Continuous-time transfer function.

>>

G4 =

-------------

s^2 + 4 s + 4

Continuous-time transfer function.

wn =

R5 =

20

G5 =

You might also like