You are on page 1of 5

Universidad Mariano Glvez

Ingeniera Electrnica
INTRODUCCION AL CONTROL DIGITAL
Ing. Jos Luis Ola

LABORATORIO

Sergio Anibal Pixtun Soyos 091-08-12262


10-04-2012

TAREA PROBLEMA 1
`>> den=conv([0.2 1 0],[1/201])
den =
0.0010 0.0050
0
>> num=[0 0 10]
num =
0

0 10

>> bode(num,den)

s=tf('s')
Transfer function:s
>> num=10
num =
10
>> den=(s*(0.2*s+1)*(s/201))
Transfer function:
0.2 s^3 + s^2
------------201
>> open=tf(num/den)
Transfer function:
2010
------------0.2 s^3 + s^2

>> close=feedback(open,1)
Transfer function:
2010
-------------------0.2 s^3 + s^2 + 2010
>> [Gm,Pm,Wcg,Wcp]=margin(close)
Gm =
Inf
Pm =
-148.1385
Wcg =
NaN
Wcp =
17.4367

EJERCICIO 2
>> clear
>>
>> num=[0 50 100]
num =
0 50 100
>> den=[1 11 10]
den =
1 11 10
>> bode(num,den)
>> h=tf(num/den)
Transfer function:
6.982
>> w=logspace(2,sqrt(10))
w=
1.0e+003 *
Columns 1 through 7
0.1000 0.1056 0.1115
Columns 8 through 14
0.1466 0.1548 0.1635
Columns 15 through 21
0.2148 0.2269 0.2396
Columns 22 through 28
0.3149 0.3325 0.3512
Columns 29 through 35
0.4615 0.4874 0.5148
Columns 36 through 42
0.6764 0.7144 0.7545
Columns 43 through 49
0.9914 1.0470 1.1058
Column 50
1.4530
>> bode(h,w)
>> w=(2,2.1623)
w=(2,2.1623)
|
>> w=logspace(2,2.1623)

0.1178 0.1244 0.1314 0.1388


0.1727 0.1824 0.1926 0.2034
0.2531 0.2673 0.2823 0.2981
0.3709 0.3917 0.4137 0.4370
0.5436 0.5742 0.6064 0.6404
0.7968 0.8415 0.8888 0.9387
1.1679 1.2334 1.3027 1.3758

w=
Columns 1 through 7
100.0000 100.7656 101.5370 102.3144 103.0977 103.8870 104.6824
Columns 8 through 14
105.4838 106.2914 107.1051 107.9251 108.7514 109.5839 110.4229
Columns 15 through 21
111.2683 112.1202 112.9785 113.8435 114.7151 115.5933 116.4783
Columns 22 through 28
117.3700 118.2686 119.1740 120.0864 121.0058 121.9322 122.8657
Columns 29 through 35
123.8063 124.7542 125.7093 126.6717 127.6415 128.6187 129.6034
Columns 36 through 42

130.5956 131.5954 132.6029 133.6181 134.6411 135.6719 136.7106


Columns 43 through 49
137.7572 138.8118 139.8746 140.9454 142.0245 143.1118 144.2075
Column 50
145.3115
>> bode(h,w)
>> margin(h)

You might also like