stability margins: num = [10], den = [1, 3, 2, 0]
How it was worked out
- Gain and phase marginsGM = \frac{1}{|L(j\omega_{pc})|},\quad PM = 180^\circ + \angle L(j\omega_{gc})with
num = [10], den = [1, 3, 2, 0]→gm = 0.6, gm_db = -4.436974992, w_pc = 1.414213562 rad/s, pm_deg = -12.99720802, w_gc = 1.802203305 rad/s
$ control-systems solve ctrl_stability_margins "num=[10]" "den=[1, 3, 2, 0]"
gm = 0.6
gm_db = -4.436974992
w_pc = 1.414213562 rad/s
pm_deg = -12.99720802
w_gc = 1.802203305 rad/s
by: Gain and phase margins (crossovers as positive real roots of |N|^2 - |D|^2 and Im(N(jw) conj D(jw)), Newton-polished)
assumes: exactly one gain crossover and one phase crossoverimport control_systems_ai999x as m
a = m.ask("stability margins: num = [10], den = [1, 3, 2, 0]")
print(a.values or (a.value, a.unit))Opens this capability’s form with the example filled in; change any input and press Compute.