wcdiskmarginplot
Syntax
Description
wcdiskmarginplot(
plots the nominal and worst-case disk-based gain and phase margins for the SISO or MIMO negative feedback loopLunc
)feedback(Lunc,eye(N))
, whereN
is the number of inputs and outputs in the uncertain open-loop responseLunc
.
For MIMO responses,diskmarginplot
使用多环的磁盘的利润率。(di的详细信息sk-based gain and phase margins, seediskmargin
.) The plot includes:
Nominal — Nominal gain and phase margins of
Lunc
. The disk-based gain margin at each frequency is ±GM, whereGMis the value shown in the plot in dB. Similarly, the disk-based phase margin is ±PMdegrees, wherePMis the value shown on the plot.Worst perturbation — The disk-based gain and phase margins for the worst perturbation within the uncertainty range
Lunc.Uncertainty
. The worst perturbation corresponds to thewcu
output argument ofwcdiskmargin
. It is the perturbation that yields the smallest disk margin.Worst-case margin (lower bound) — Lower bound on the worst-case margins at each frequency. This curve represents the envelope produced by finding the smallest disk margin possible at each frequency, within the uncertainty of
Lunc
.Worst-case margin (upper bound) — Upper bound on the worst-case margins at each frequency.
Sampled Uncertainty — Margins of responses randomly sampled from
Lunc
.
wcdiskmarginplot(
plots the disk-based gain and phase margins computed using the skewLunc
,sigma
)sigma
to bias the gain variation toward gain increase (sigma
> 0) or gain decrease (sigma
< 0). If you have usedwc
to obtain worst-case disk-based margins with some particularsigma
, you can use this syntax to see the frequency dependence of the margins at thatsigma
value. Forsigma
≠ 0, the plotted value isGM = min(gmax,1/max(0,gmin))
. In other words, the plot shows the largest amount of gain change[1/GM,GM]
that fits within the disk-based gain margin[gmin,gmax]
of the system at the specifiedsigma
.
wcdiskmarginplot(___,
plots the worst-case margins at the frequencies specified byw
)w
.
If
w
is a cell array of the form{wmin,wmax}
, then the plot shows the margins at frequencies ranging betweenwmin
andwmax
.If
w
is a vector of frequencies, then the plot shows the margins at each specified frequency.
wcdiskmarginplot(___,
uses specified options to customize plot elements, aspects of the worst-case margin computation, or both. Useopts
)diskmarginoptions
to specify customizations for the plot. UsewcOptions
to specify customizations for the computation. You can use this argument with any of the previous syntaxes.
Examples
Input Arguments
Version History
Introduced in R2020a