Documentos de Académico
Documentos de Profesional
Documentos de Cultura
The uncertainty weight is then wII and the performance weight wpI. The objective is to minimize the
peak value of
% Start iteration
% STEP 1: Find H-infinity controller with the given scalings
[K,Nsc,gamma,info]=hinfsyn(D*P*inv(D),nmeas,nu,'method','lmi','Tolgam',1e-3);
Nf=frd(lft(P,K),omega);
% STEP 2: Compute mu using upper bound;
[mubnds,Info]=mussv(Nf,blk,'c');
bodemag(mubnds(1,1),omega);
hold on
murp=norm(mubnds(1,1),inf,1e-6);
%STEP 3: Fit resulting D-scales
[dsys1,dsysr]=mussvunwrap(Info);
dsys1=dsys1/dsys1(3,3);
d1=fitfrd(genphase(dsys1(1,1)),4);
% GO TO STEP 1
% Alternatively use automatic software
Delta=[ultidyn('D_1',[1 1]) 0;0 ultidyn('D_2',[1 1])] % Diagonal uncertainty
Punc=lft(Delta,P);
opt=dkitopt('FrequencyVector',omega);
[K,clp,bnd,dkinfo]=dksyn(Punc,nmeas,nu,opt);
for in=1:4
bodemag(dkinfo{1,in}.MussvBnds(1,1),omega)
end
hold off