How to work it 01 Open the panel from the lab tab bar or the route /engineering/englab/control. 02 Enter the plant. Descending coefficients, space- or comma-separated; presets fill the classic shapes. 03 Set the gain. The K slider is logarithmic; the box beside it takes an exact value. 04 Toggle + PID and set Kp, Ki and Kd — the block sits ahead of the plant and is included everywhere. 05 Read the cards, then switch views. Stability, margins, poles and zeros sit above the plot; Step and Impulse add metrics and an Open/Closed toggle, and the loop can be sent onward as coefficients.
Worked readouts All three rows use the 2nd-order preset, G(s) = 1/(s² + s + 1); the values are the exact card readouts.
Settings
Readout
K = 1
Stable ✓ ; phase margin 90° @ 1 rad/s ; gain margin ∞ (provably no −180° crossing) ; poles -0.5 + 1.323j and -0.5 − 1.323j ; Step OS 30.5% , Rise 0.987s , Settle 7.76s , Final 0.5
K = 2
phase margin 49.35° @ 1.52 rad/s ; poles -0.5 + 1.658j and -0.5 − 1.658j ; OS 38.8% , Rise 0.747s , Settle 7.89s , Final 0.6667
K = 1 with PID (2, 1, 0.5)
phase margin 52.08° @ 1.52 rad/s ; poles -0.3896 , -0.5589 + 1.506j , -99.49 , -0.5589 − 1.506j ; zeros -0.5865 and -3.279 ; OS 6.52% , Rise 1.06s , Settle 8.28s , Final 1
The zeros card reads — until PID is enabled; that row adds zeros at -0.5865 and -3.279 and a fast pole at -99.49 .
Margins and the closed loop K multiplies the open-loop numerator; the PID block is a series Kp + Ki/s + Kd·s with a derivative filter, so it changes zeros as well as gain. The margin cards read the open loop at its 0 dB and −180° crossings and take the worst of multiple crossings; the stability card and pole list read the feedback loop itself. Tune with both in view.
Assumptions and limits
Margins are swept and cross-checked. Crossings come from a 600-point Bode sweep plus, where possible, a direct solution; the gain margin here reads ∞ (provably no −180° crossing) , a stronger statement than "not found in range". Step metrics warn when the tail has not settled.
Poles and zeros are numerical roots , accurate at panel-sized orders; a marginal loop can trip the time-simulation divergence guard. What it does not do: no dead-time element, no MIMO entry, no schematic capture. For RLC circuits use the circuit simulator ; for discretisation and LQR open Control Design from the Engineering Lab route tree.
A margin is not a damping ratio The K = 2 and PID rows differ by under three degrees of margin — 49.35° against 52.08° — yet their steps overshoot 38.8% and 6.52% . Phase margin samples the open loop at one frequency; overshoot is set by the whole closed-loop pole set. The K = 1 row shows the same gap: a healthy 90° margin still overshoots 30.5% , because the closed-loop pair at -0.5 + 1.323j is less damped than the preset's ζ = 0.5.
Where it fits Checking a tutorial loop Presets cover an integrator, the ζ = 0.5 second-order pair and a third-order plant with a zero, so textbook margin exercises reproduce in seconds. The filter panel and phase portrait panel cover the lab's other analysis styles.
Tuning gain and a PID before hand-off Slide K and watch the margin and the pole pair move together; the default PID row settles at 8.28s , ends at 1 and overshoots 6.52% . The open- and closed-loop transfer functions leave the panel as coefficient lists.
Privacy Coefficients, expressions and gains are evaluated inside your browser; nothing you enter is uploaded.
References
Wikipedia, Bode plot , en.wikipedia.org (访问日期:2026-10-01)— margins at the crossover frequencies.
Wikipedia, PID controller , en.wikipedia.org (访问日期:2026-10-01)— proportional, integral and derivative action.
Wikipedia, Nyquist stability criterion , en.wikipedia.org (访问日期:2026-10-01)— stability from the open-loop response.
Wikipedia, Root locus , en.wikipedia.org (访问日期:2026-10-01)— pole paths as gain rises.
Calculators in this hub
Hand-picked tools, one click away. The mini versions compute live and carry your values into the full calculator.
Sources & review
Reviewed by CalcX Editorial Team
Updated 2026-10-01