Escolar Documentos
Profissional Documentos
Cultura Documentos
+
r1 y1
_
+ K P
r2 y2
_
r1 + y1
_
K P y2
r2
𝜔1 327.33 1399.3 𝑞1
[𝜔 ] = [ ][ ]
2 1542.9 −314.49 𝑞2
W1 z1
W2 z2
W3 z2
+
e u
r K P y
_
W1 z1
W2 z2
W3 z2
Wp D
+
e u +
r K Po y
_ +
H-infinity dengan Mixed Sensitivity
Wp = 0.5;
WeM = We*eye(2);
WuM = Wu*eye(2);
W3M = W3*eye(2);
[K,CL,GAM] = mixsyn(P_unc,We,Wu,W3)
T = feedback(Po*K, eye(2));
figure(3)
S = feedback(eye(2), Po*K);
R = K*S;
T = 1-S;
sigma(T,'b',R,'r',S, 'g',1/W3,'b-.',1/Wu,'r-.',1/We,'g-.',{1e-3,1e5})
legend('T','R','S','1/W3','1/W2','1/W1','Location','SouthWest')
Output MATLAB
GAM =
0.245659722144612
K =
a =
x1 x2 x3 x4 x5 x6
x1 -0.004567 -2.165e-19 1.01e-12 -1.641e-17 0 0
x2 -1.159e-20 -0.004567 -8.765e-16 1.01e-12 0 0
x3 -5.5e-14 -2.031e-20 -90.91 -2.996e-16 0 0
x4 -4.081e-21 -5.5e-14 -6.021e-17 -90.91 0 0
x5 0.0649 -0.01463 -6.039e-06 2.284e-05 -148 -0.3796
x6 -0.01442 -0.06979 -7.021e-05 -0.0002074 -0.8004 -142.7
x7 -6.25e-13 -2.308e-19 -9.22e-09 -3.404e-15 6.943e+05 -1.415e+05
x8 -4.638e-20 -6.25e-13 -6.842e-16 -9.22e-09 -1.473e+05 -6.297e+05
x7 x8
x1 -5.001e-07 1.922e-18
x2 9.889e-17 -5.001e-07
x3 8 2.258e-17
x4 4.538e-18 8
x5 -0.009283 0.002092
x6 0.002068 0.009998
x7 7.531e-10 2.566e-16
x8 5.157e-17 7.531e-10
b =
u1 u2
x1 2.117 9.552e-20
x2 -4.245e-21 2.117
x3 -1.287e-10 -4.751e-17
x4 -9.547e-18 -1.287e-10
x5 1.075e-33 -6.505e-34
x6 -7.43e-33 2.057e-33
x7 -1.462e-09 -5.398e-16
x8 -1.085e-16 -1.462e-09
c =
x1 x2 x3 x4 x5 x6
x7
y1 0.03304 -4.214 -0.004123 -0.01164 -1934 -7890 -
0.004386
y2 4.494 -0.1673 0.0004106 0.003925 -9495 1553 -
0.6428
x8
y1 0.6036
y2 0.02364
d =
u1 u2
y1 0 0
y2 0 0
1. Pemodelan
2. Identifikasi Sistem
3. Desain Kendali Robust
4. Order reduksi
5. Diskrititsasi
H-infinity dengan Mixed Sensitivity
M=3
K_mimo_dis =
a=
x1 x2 x3 x4
x1 -0.007093 -0.0001077 -0.01619 0.0002263
x2 0.0001101 -0.008682 0.0004321 0.0166
x3 0.01619 0.0001252 0.03696 -0.0002859
x4 -6.338e-05 -0.0166 0.0002008 0.03174
b=
u1 u2
x1 0.002889 -0.0009558
x2 -0.001078 -0.003144
x3 -0.00802 0.002581
x4 -0.00252 -0.007869
c=
x1 x2 x3 x4
y1 -1.84 -5.204 0.001841 0.07155
y2 -5.941 1.611 -0.07418 -0.01903
d=
u1 u2
y1 -6.248e-05 -0.02209
y2 0.02278 -0.0005973
M=4
K_mimo_dis =
a=
x1 x2 x3 x4
x1 -0.05076 0.0005206 0.0721 0.00145
x2 -0.0005437 -0.05856 0.002014 -0.07607
x3 -0.07212 -0.0001859 0.09808 0.0009316
x4 -0.0005701 0.07608 -0.000783 0.09134
b=
u1 u2
x1 0.006073 -0.002025
x2 0.002116 0.006193
x3 0.01388 -0.004401
x4 -0.004326 -0.01369
c=
x1 x2 x3 x4
y1 -1.18 3.557 0.01285 0.09214
y2 -3.796 -1.105 0.09042 -0.02274
d=
u1 u2
y1 -9.783e-05 -0.03209
y2 0.0331 -0.0008652
M=5
K_mimo_dis =
a=
x1 x2 x3 x4
x1 -0.1356 0.001619 -0.1944 0.005163
x2 -0.001668 -0.1422 -0.006373 -0.2007
x3 0.1944 0.001798 0.2166 -0.002265
x4 -0.002559 0.2008 0.00225 0.2131
b=
u1 u2
x1 0.00781 -0.002638
x2 0.002662 0.007657
x3 -0.02029 0.006322
x4 -0.006186 -0.0199
c=
x1 x2 x3 x4
y1 -0.9365 2.883 -0.01944 0.1154
y2 -3 -0.8994 -0.112 -0.02701
d=
u1 u2
y1 -7.747e-05 -0.041
y2 0.04242 -0.001144
W1 z1
W2 z2
W3 z2
Wp D
+
e u +
r K Po y
_ +
Weighting Function
MATLAB
Wp = 0.5;
Delta = ultidyn('Delta',[1 1]);
WeM = We*eye(2);
WuM = Wu*eye(2);
W3M = W3*eye(2);
%% Mu Synthesis
nmeas = 2;
ncont = 2;
fv = logspace(-2,4,100);
[K_mu,CL_mu,bnd_mu,dkinfo] = dksyn(P,nmeas,ncont,opt);
K = K_mu;
Output MATLAB
Iteration Summary
-----------------------------------------------------------
Iteration # 1 2 3 4
Controller Order 8 8 12 12
Total D-Scale Order 0 0 4 4
Gamma Acheived 1.204 1.472 0.794 0.675
Peak mu-Value 0.799 1.091 0.726 0.674
K =
a =
x1 x2 x3 x4 x5 x6
x1 -2.002e+04 -0.01109 4.509e-12 1.43e-11 -0.002237 4163
x2 -0.01463 -1.873e+04 1.706e-11 -5.62e-12 -3770 0.003045
x3 -0.008982 -0.04557 -219.2 0.9557 -0.02748 0.005854
x4 -0.05102 0.01236 0.9991 -220.2 0.006879 0.03078
x5 0.07253 223.5 6.943e+05 -1.415e+05 44.99 -0.0151
x6 -224.8 -0.05321 -1.473e+05 -6.297e+05 -0.01073 46.73
x7 2.503e-15 1.371e-12 -8.686e-25 2.424e-25 2.761e-13 -5.205e-16
x8 2.927e-13 -1.437e-15 -6.837e-26 1.377e-26 -2.894e-16 -6.084e-14
x9 0.009537 11.14 -1.359e-12 7.281e-13 9.988 -0.002106
x10 -11.12 -0.00884 7.55e-14 -3.818e-12 -0.001905 10.05
x11 38.07 -0.02032 -9.32e-12 -1.334e-11 -0.004703 -8.987
x12 -0.01519 36.28 -2.348e-11 7.105e-12 8.316 0.003735
b =
u1 u2
x1 -7.384e-06 -0.4332
x2 0.4191 -5.427e-06
x3 -2.039e-23 -3.481e-23
x4 2.968e-23 1.397e-23
x5 -2.082 2.696e-05
x6 -3.552e-05 -2.084
x7 25.73 1.76e-17
x8 1.111e-17 25.73
x9 -23.29 -0.01203
x10 -0.0119 -24
x11 -0.06009 -128.3
x12 120.2 0.05821
c =
x1 x2 x3 x4 x5 x6
y1 -0.2515 0.008671 -228.5 -1015 0.002525 0.1522
y2 -0.0006523 -0.2617 -1173 208.9 -0.1572 0.00278
d =
u1 u2
y1 0 0
y2 0 0
Kred =
a =
x1 x2 x3 x4
x1 -224.5 120.1 7.47 -2.312
x2 -120.3 -0.9415 15.39 6.68
x3 -6.041 13.49 -225.3 -120.6
x4 -1.483 -6.683 120.7 -0.03659
b =
u1 u2
x1 -5.706 2.26
x2 -0.1924 -0.3406
x3 2.232 5.592
x4 -0.06696 -0.03459
c =
x1 x2 x3 x4
y1 -2.163 0.3804 -5.626 -0.07023
y2 -5.743 -0.09105 2.144 -0.02735
d =
u1 u2
y1 0 0
y2 0 0
K_mimo_dis =
a =
x1 x2 x3 x4
x1 -0.04969 0.0542 0.002575 -0.001537
x2 -0.05419 0.0511 0.006352 0.002876
x3 -0.003343 0.006419 -0.0486 -0.054
x4 -0.0002443 -0.003169 0.05399 0.05225
b =
u1 u2
x1 -0.003103 0.0008104
x2 0.0441 -0.01755
x3 0.003951 0.001829
x4 0.01693 0.04326
c =
x1 x2 x3 x4
y1 -2.163 0.3804 -5.626 -0.07023
y2 -5.743 -0.09105 2.144 -0.02735
d =
u1 u2
y1 0 0
y2 0 0
1. Time delay antara sinyal kendali ke sistem (T berkisar 0 - 0.1 detik) : Additive Perturbation
2. Noise pada bagian Input (Low Pass) : Input Multiplicative Perturbation
3. Noise pada bagian output (High Pass) : Output Multiplicative Perturbation
Pertubration at Pertubration at
low frequency high frequency
e-sq P
Time delay
uncertainty
WI D Wo D
+ + +
+ +
+
WI D
+
Po +
Wo D
+
+ +
+
Wa D
Wa D
Model dengan Uncertainty Time Delay
Wp_add =
wI = wO =
.
Input Multiplicative
Output Multiplicative
WI D Wo D
+ + +
+ +
+
WI D
+
Po +
Wo D
+
+ +
+
Wa D
Wa D
% Additive Uncertainty
P_unc1 = P_unc0 + Wp_add*Delta;
BLA::Matrix<2, 1> u, y;
while(1) {
Struck_Tracker.get_estimated_state(tracked_x, tracked_y,
tracked_width, tracked_height);
x = A*x_1 + B*u;
y = C*x + D*u; //y : Control signal
x_1 = x;
}
Kendali dengan H Infintiy
350
300
250
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3
400
350
300
250
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3
Hasil Synthesis
400
350
300
250
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3
Series1 Series2 Series3