Professional Documents
Culture Documents
Ingeniera Electrnica
INTRODUCCION AL CONTROL DIGITAL
Ing. Jos Luis Ola
LABORATORIO
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)
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