ncfsyn
Function File: [K, N, gamma, info] = ncfsyn (G, W1, W2, factor)
Loop shaping H-infinity synthesis. Compute positive feedback controller using
the McFarlane/Glover loop shaping design procedure [1].
Using a precompensator W1 and/or a postcompensator W2, the singular values
of the nominal plant G are shaped to give a desired open-loop shape.
The nominal plant G and shaping functions W1, W2 are combined to
form the shaped plant, Gs where Gs = W2 G W1.
We assume that W1 and W2 are such that Gs contains no hidden modes.
It is relatively easy to approximate the closed-loop requirements by the following
open-loop objectives [2]:
Then a stabilizing controller Ks is synthesized for shaped plant Gs.
The final positive feedback controller K is then constructed by combining
the
\(H_{\infty}\)
controller Ks with the shaping functions W1 and W2
such that K = W1 Ks W2.
In [1] is stated further that the given robust stabilization objective can be
interpreted as a
\(H_{\infty}\)
problem formulation of minimizing the
\(H_{\infty}\)
norm of the frequency weighted gain from disturbances on the plant input and output
to the controller input and output as follows:
$$ \min_K \, || N(K) ||_{\infty}, $$$$ N = | W_{1}^{-1}; W_2 G | \ (I - K G)^{-1} \ | W_1, \ G W_{2}^{-1} | $$
[K, N] = ncfsyn (G, W1, W2, f)
The function ncfsyn - the somewhat cryptic name stands
for normalized coprime factorization synthesis - allows the specification of
an additional argument, factor f. Default value f = 1 implies that an
optimal controller is required, whereas f > 1 implies that a suboptimal
controller is required, achieving a performance that is f times less than optimal.
Inputs
[] is passed.[] is passed.factor = 1 implies that an optimal controller is required.
factor > 1 implies that a suboptimal controller is required,
achieving a performance that is factor times less than optimal.
Default value is 1.Outputs
gamma = norm (N, inf).emax = inv (gamma).Gs = W2 * G * W1.Ks = ncfsyn (Gs).Block Diagram of N
^ z1 ^ z2
| |
w1 + | +--------+ | +--------+
----->(+)---+-->| Ks |----+--->(+)---->| Gs |----+
^ + +--------+ ^ +--------+ |
| w2 | |
| |
+-------------------------------------------------+
verbatim
|
Algorithm
Uses SLICOT SB10ID,
Copyright (c) 1996-2025, SLICOT, available under the BSD 3-Clause
(License and Disclaimer).
References
Source Code: ncfsyn