This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


H mixed-sensitivity synthesis method for robust control loopshaping design




[K,CL,GAM,INFO]=mixsyn(G,W1,W2,W3) computes a controller K that minimizes the H norm of the closed-loop transfer function the weighted mixed sensitivity


where S and T are called the sensitivity and complementary sensitivity, respectively and S, R, and T are given by


Closed-loop transfer function Ty1u1 for mixed sensitivity mixsyn.

The returned values of S, R, and T satisfy the following loop shaping inequalities:

σ¯(S(jω))γ  σ¯(W11(jω))σ¯(R(jω))γ  σ¯(W21(jω))σ¯(T(jω))γ  σ¯(W31(jω))

where γ = GAM. Thus, W1, W3 determine the shapes of sensitivity S and complementary sensitivity T. Typically, you would choose W1 to be small inside the desired control bandwidth to achieve good disturbance attenuation (i.e., performance), and choose W3 to be small outside the control bandwidth, which helps to ensure good stability margin (i.e., robustness).

For dimensional compatibility, each of the three weights W1, W2 and W3 must be either empty, scalar (SISO) or have respective input dimensions NY, NU, and NY where G is NY-by-NU. If one of the weights is not needed, you may simply assign an empty matrix []; e.g., P = AUGW(G,W1,[],W3) is SYS but without the second row (without the row containing W2).


collapse all

This example shows the use of mixsyn for sensitivity and complementary sensitivity loop shaping.

s = zpk('s');
G = (s-1)/(s+1)^2;
W1 = 0.1*(s+100)/(100*s+1);
W2 = 0.1;
[K,CL,GAM] = mixsyn(G,W1,W2,[]);
L = G*K;
S = inv(1+L);
T = 1-S;

The mixsyn command shapes the singular values of S and T to conform to GAM/W1 and GAM*G/W2, respectively.


The transfer functions G, W1, W2 and W3 must be proper, i.e., bounded as s → ∞ or, in the discrete-time case, as z → ∞. Additionally, W1, W2 and W3 should be stable. The plant G should be stabilizable and detectable; else, P will not be stabilizable by any K.

More About

collapse all



is equivalent to


mixsyn accepts all the same key value pairs as hinfsyn.

See Also


Introduced before R2006a

Was this topic helpful?