Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- Pole 3 real part (required)
-
Unit 1/s Default -5 Range -10 to 2
About this input
The third real pole, from -10 to 2 per second, when the third pole is on. Drag it along the real axis; it must stay at least 0.05 from the other real poles.
- Pole layout (required)
-
Default Complex pair Allowed One real pole, Two real poles, Complex pair
About this input
The poles in pole mode: One real pole, Two real poles or a Complex pair. Chosen with the chip on the stage.
- Pole 2 real part (required)
-
Unit 1/s Default -4 Range -10 to 2
About this input
The second real pole, from -10 to 2 per second, with Two real poles. Drag it along the real axis.
- Pole pair imaginary part (required)
-
Unit rad/s Default 3 Range 0.05 to 10
About this input
The imaginary part of the upper pole of the pair, from 0.05 to 10 rad/s; the lower pole is its mirror image. Drag the upper pole up or down.
- Pole 1 real part (required)
-
Unit 1/s Default -1 Range -10 to 2
About this input
The real part of the pole pair, or of the first real pole, from -10 to 2 per second. Drag the pole on the s-plane; it snaps to 0.05, and the popover takes two decimals. A real pole may not sit within 0.05 of the origin.
- Zero 2 real part (required)
-
Unit 1/s Default -3 Range -10 to 2
About this input
The second real zero, from -10 to 2 per second, with Two real zeros.
- Zero layout (required)
-
Default No zeros Allowed No zeros, One real zero, Two real zeros, Complex pair
About this input
The zeros in pole mode: No zeros, One real zero, Two real zeros or a Complex pair. There may not be more zeros than poles.
- Zero 1 real part (required)
-
Unit 1/s Default -2 Range -10 to 2
About this input
The real part of the zero pair, or the first real zero, from -10 to 2 per second. Drag the zero circle; a real zero may not sit within 0.05 of the origin.
- Steady gain (required)
-
Default 1 Range -5 to 5
About this input
The steady gain g, the value the step response settles to when the system is stable: -5 to 5, and at least 0.1 in size. Drag the final-value line on the step chart; a negative gain turns the response upside down.
- Zero pair imaginary part (required)
-
Unit rad/s Default 1 Range 0.05 to 10
About this input
The imaginary part of the upper zero of the pair, from 0.05 to 10 rad/s, with a Complex pair of zeros.
- Denominator coefficient a1 (required)
-
Default 2 Range -50 to 50
About this input
Polynomial mode: a1 in the denominator s^2 + a1 s + a0, from -50 to 50.
- Your prediction: the first move (required)
-
Default Not yet chosen Allowed Not yet chosen, Up first, Down first
About this input
Challenge 4 only: which way the output moves first after the step, Up first or Down first. It starts at Not yet chosen.
- Denominator coefficient a0 (required)
-
Default 5 Range -50 to 50
About this input
Polynomial mode: a0 in the denominator, from -50 to 50, not 0. The steady gain is b0 over a0 and must be 0.1 to 5 in size.
- Third pole (required)
-
Default No Allowed No, Yes
About this input
No or Yes: a third real pole beside two poles. Switched with the Third pole chip; not offered with one real pole.
- Challenge number (required)
-
Default 0 Range 0 to 5
About this input
Pick a challenge from 1 to 5, or 0 for none. A challenge fixes its own system and leaves you the poles or the prediction it asks for.
- Numerator coefficient b2 (required)
-
Default 0 Range -50 to 50
About this input
Polynomial mode: b2 in the numerator b2 s^2 + b1 s + b0, from -50 to 50.
- Your prediction: the overshoot
-
When omitted Blank
Unit % Default Not set Range 0 to 100
About this input
Challenge 1 only: your prediction of the overshoot, in percent, from 0 to 100. Drag the dashed line on the step chart. Blank until you predict; 0 is a real prediction.
- Numerator coefficient b1 (required)
-
Default 0 Range -50 to 50
About this input
Polynomial mode: b1 in the numerator, from -50 to 50.
- How to enter the system (required)
-
Default Poles and zeros Allowed Poles and zeros, Polynomial
About this input
How the system is entered: Poles and zeros (drag them on the s-plane) or Polynomial (type the coefficients of a second-order ratio). Chosen with the chip on the stage.
- Numerator coefficient b0 (required)
-
Default 5 Range -50 to 50
About this input
Polynomial mode: b0 in the numerator, from -50 to 50, not 0. The roots of both polynomials must lie inside the plane shown.
Outputs
- Rise time (10% to 90%)
-
Unit s
About this output
The time the step response takes to go from 10% to 90% of its final value, in seconds, refined between samples. Blank unless the system is stable and both levels are reached.
- Laplace coefficient of the separate pole
-
No unit declared
About this output
The coefficient B of the term B/(s - p) for the separate real pole p in the step response's Laplace transform G(s)/s. Blank without a separate real pole.
- Resonant frequency
-
Unit rad/s
About this output
The frequency of the magnitude peak, in rad/s. Blank when there is no peak.
- Resonant peak
-
Unit dB
About this output
How far the magnitude peaks above its low-frequency level, in dB, refined between frequencies. Blank when there is no peak inside the range or the system is not stable.
- Settling time (2%)
-
Unit s
About this output
The time from which the step response stays within 2% of its final value, in seconds, refined between samples. Blank when it does not settle within the time shown.
- Steady gain used
-
No unit declared
About this output
The steady gain used. Blank in Polynomial mode, where the gain is b0 over a0.
- Settling band upper edge (2%)
-
No unit declared
About this output
The upper edge of the 2% settling band around the final value: the larger of 0.98 and 1.02 times the final value. Blank unless the system is stable. Used by the step chart only, not a result card.
- Settling band lower edge (2%)
-
No unit declared
About this output
The lower edge of the 2% settling band around the final value: the smaller of 0.98 and 1.02 times the final value, so a negative gain still gives the lower edge. Blank unless the system is stable. Used by the step chart only, not a result card.
- Pole type
-
No unit declared
About this output
The kind of poles: One real pole, Two real poles, Repeated real pole or Complex pair, with a third real pole when it is on.
- Damped frequency of the poles
-
Unit rad/s
About this output
The frequency at which a complex pair rings, its imaginary part, in rad/s. Blank unless the core is a complex pair.
- Pole 2 real part used
-
Unit 1/s
About this output
The second real pole used, per second. Blank unless the layout is two real poles.
- Pole 3 real part used
-
Unit 1/s
About this output
The third real pole used, per second. Blank when the third pole is off.
- Natural frequency of the poles
-
Unit rad/s
About this output
The natural frequency of the two-pole core, the distance of the pair from the origin, in rad/s. Blank with one real pole.
- The poles and zeros on the plane (pole mode keeps input order; a missing point is blank)
-
No unit declared
About this output
The poles and zeros as points on the s-plane: Pole 1 to 3 and Zero 1 and 2, each with its real part (per second) and imaginary part (rad/s); an unused point is blank. Drawn as crosses and circles on the plane.
- Damping ratio of the poles
-
No unit declared
About this output
The damping ratio of the two-pole core, a1 over twice the square root of a0: below 1 for a pair (which rings), 1 for a repeated pole, above 1 for two real poles; negative when the pair is unstable. Blank with one real pole.
- Pole layout used
-
No unit declared
About this output
The pole layout used. Blank in Polynomial mode.
- Undershoot (wrong-way start)
-
Unit %
About this output
How far the step response first moves the wrong way, as a percent of the final value; 0 when it starts in the right direction. Blank unless the system is stable.
- Time of the deepest undershoot
-
Unit s
About this output
The time of the deepest wrong-way point, in seconds. Blank when there is no undershoot.
- Stability
-
No unit declared
About this output
Stable when every pole lies left of the imaginary axis, Marginally stable when a pair sits on it, Unstable when a pole lies to its right.
- Time window
-
Unit s
About this output
The time shown, in seconds: 8 over the slowest decay rate when stable, 10 periods when undamped, 5 over the growth rate when unstable, kept between 2 and 60 s. Used by the charts only, not a result card.
- Zero 2 real part used
-
Unit 1/s
About this output
The second real zero used, per second. Blank unless there are two real zeros.
- Zero layout used
-
No unit declared
About this output
The zero layout used. Blank in Polynomial mode.
- Zero pair imaginary part used
-
Unit rad/s
About this output
The imaginary part of the zero pair used, rad/s. Blank unless the zeros are a complex pair.
- Zero 1 real part used
-
Unit 1/s
About this output
The real part of the zero pair or first real zero used, per second. Blank without zeros.
- The step and impulse responses at 201 times: the envelope and the response without the third pole where they exist
-
No unit declared
About this output
The responses at 201 equal times over the time shown: the time, the step response, the impulse response (per second), the upper and lower envelope of a ringing pair, and the step response without the third pole. Row 0 holds the start values of the value theorems.
- Peak time
-
Unit s
About this output
The time of the highest point of the step response, in seconds, refined between samples. Blank when there is no overshoot.
- Final value
-
No unit declared
About this output
The value the step response settles to, the steady gain (final value theorem). Blank unless the system is stable.
- Step response at the end of the window
-
No unit declared
About this output
The step response at the end of the time shown, to compare with the final value.
- Slope of the step response at the start
-
Unit 1/s
About this output
The slope of the step response just after time 0, per second (initial value theorem); its sign is the first move when the system has one more pole than zeros.
- Step response at the start
-
No unit declared
About this output
The step response at time 0, the high-frequency gain (initial value theorem): 0 unless there are as many zeros as poles, when the output jumps at once. At such a jump the impulse response also holds a spike at time 0, which is not drawn.
- Step chart upper bound
-
No unit declared
About this output
The upper bound of the step chart, above the curves and the final value with 5% padding; 2 while a prediction is awaited. Used by the chart only, not a result card.
- Step chart lower bound
-
No unit declared
About this output
The lower bound of the step chart, below the curves and the final value with 5% padding; -1 while a prediction is awaited. Used by the chart only, not a result card.
- Challenge result
-
No unit declared
About this output
No challenge selected, MET or NOT MET.
- Laplace constant coefficient in the core term
-
No unit declared
About this output
The constant c0 in the term (c1 s + c0)/(s^2 + a1 s + a0) of the step response's Laplace transform. Blank without a two-pole core.
- Challenge: the value scored
-
No unit declared
About this output
The value the selected challenge scores: in challenge 1 your prediction minus the overshoot, in points; the settling time (2), the resonant peak (3) or the largest gap (5). Blank in challenge 4 and while a prediction is awaited.
- Challenge score
-
No unit declared
About this output
100 when the selected challenge is met, else 0.
- Denominator coefficient a1 used
-
No unit declared
About this output
The coefficient a1 used. Blank in pole mode.
- Largest gap from the two-pole response
-
Unit %
About this output
With a third pole: the largest gap between the step response and the response without the third pole, as a percent of the steady gain, over the time shown. Blank without a third pole or unless the system is stable.
- Laplace coefficient of s in the core term
-
No unit declared
About this output
The coefficient c1 of s in the term (c1 s + c0)/(s^2 + a1 s + a0) of the step response's Laplace transform. Blank without a two-pole core.
- Denominator coefficient a0 used
-
No unit declared
About this output
The coefficient a0 used. Blank in pole mode.
- Magnitude chart lower bound
-
Unit dB
About this output
The lower bound of the magnitude chart, in dB, spanning at least 10 dB. Blank while the magnitude is hidden. Used by the chart only, not a result card.
- The frequency response at 81 frequencies from 0.01 to 100 rad/s
-
No unit declared
About this output
The frequency response at 81 frequencies from 0.01 to 100 rad/s, evenly spaced on a log scale: the magnitude in dB, the phase in degrees, the straight-line magnitude and the magnitude without the third pole. The magnitude is kept within 200 dB.
- Third pole used
-
No unit declared
About this output
Whether the third pole was on. Blank with one real pole or in Polynomial mode.
- Magnitude chart upper bound
-
Unit dB
About this output
The upper bound of the magnitude chart, in dB. Blank while the magnitude is hidden. Used by the chart only, not a result card.
- Challenge feedback
-
No unit declared
About this output
The prompt while a challenge waits for your prediction or choice, then a hint, or the explanation once met.
- Challenge goal
-
No unit declared
About this output
What the selected challenge asks.
- Phase chart upper bound
-
Unit degrees
About this output
The upper bound of the phase chart, in degrees. Blank while the phase is hidden. Used by the chart only, not a result card.
- Phase chart lower bound
-
Unit degrees
About this output
The lower bound of the phase chart, in degrees, spanning at least 30 degrees. Blank while the phase is hidden. Used by the chart only, not a result card.
- Numerator coefficient b1 used
-
No unit declared
About this output
The coefficient b1 used. Blank in pole mode.
- Numerator coefficient b2 used
-
No unit declared
About this output
The coefficient b2 used. Blank in pole mode.
- Formula module versions
-
No unit declared
About this output
The formula modules this model embeds and their versions.
- Numerator coefficient b0 used
-
No unit declared
About this output
The coefficient b0 used. Blank in pole mode.
- Pole pair imaginary part used
-
Unit rad/s
About this output
The imaginary part of the pole pair used, rad/s. Blank unless the layout is a complex pair.
- Pole 1 real part used
-
Unit 1/s
About this output
The real part of the pair or first real pole used, per second. Blank in Polynomial mode.
- Overshoot
-
Unit %
About this output
How far the step response goes past its final value, as a percent of the final value, at its highest point; 0 when it never passes it. Blank unless the system is stable.
- Guides on the plane: damping rays and natural-frequency circles
-
No unit declared
About this output
The guides drawn on the s-plane: four damping rays (damping ratios 0.2, 0.5, 0.7 and 1, with their angle from the negative real axis in degrees) and four natural-frequency circles (radius 1, 2, 5 and 10 rad/s).
- Impulse chart lower bound
-
Unit 1/s
About this output
The lower bound of the impulse chart, per second, with 5% padding. Blank while the impulse curve is hidden. Used by the chart only, not a result card.
- First move after the step
-
No unit declared
About this output
Which way the step response moves first: Up first or Down first, found exactly from the signs of the gain, the poles and the zeros. A zero on the right of the axis flips it.
- Half-power bandwidth
-
Unit rad/s
About this output
The lowest frequency at which the magnitude falls to half power (about 3 dB below its low-frequency level), in rad/s, refined between the 81 frequencies. Blank when the magnitude never reaches half power by 100 rad/s, or is below it already at 0.01 rad/s.
- Impulse chart upper bound
-
Unit 1/s
About this output
The upper bound of the impulse chart, per second, with 5% padding. Blank while the impulse curve is hidden. Used by the chart only, not a result card.
- Model Status
-
No unit declared
About this output
OK, CHECK: (the results are shown but need care) or NOT VALID: (a setting cannot be used; the results are empty), with the reason.
- Model version
-
No unit declared
About this output
The version of this model.
- How to enter the system used
-
No unit declared
About this output
How the system was entered in this run (a challenge may fix it).
- Low-frequency gain
-
Unit dB
About this output
The steady gain in decibels, 20 log10 of its size: the level the magnitude curve starts from.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.
Methodology
Purpose and model boundary
This lab places a linear system with real coefficients on the s-plane and shows what its poles and zeros do to its response. You set up to three poles and two zeros and a steady gain, or enter the system as a ratio of two second-order polynomials. The model returns the step and impulse responses at 201 times over an automatic window, the magnitude and phase at 81 frequencies from 0.01 to 100 rad/s, the time and frequency measures refined between samples, the damping figures of the poles, and the Laplace pieces of the step response with the initial and final value theorems. Five scored challenges go with it.
It is a lab for learning how the places of the poles and zeros shape a system's response in time and in frequency: why a pole pair closer to the imaginary axis rings harder and one further left dies out sooner, why a pole across the axis makes the response grow, why a zero on the right makes the output start the wrong way, and why a far third pole barely matters. It is not a tool for designing real control systems: it handles at most three poles and two zeros with no dead time, and its results hold only within its stated ranges.
The model is the calculation authority. The page sends the values you set to the model and draws only what it returns: the poles and zeros on the plane with the damping rays and frequency circles, the step and impulse curves with their envelopes and the comparison curve, the 2% band, and the magnitude and phase charts all come from the model's own tables. The page computes no root, response, event time or frequency value itself.
Inputs and units
Real parts of poles and zeros are in 1/s and imaginary parts in rad/s; time is in seconds, frequency in rad/s, magnitude in dB and phase in degrees. The step response is dimensionless (the response to a unit step) and the impulse response is in 1/s.
| Input | Meaning and unit |
|---|---|
| How to enter the system | Poles and zeros (default) or Polynomial. |
| Pole layout | One real pole, Two real poles or Complex pair (default). Poles and zeros mode only. |
| Pole 1 real part | The pair's real part, or the first real pole, from -10 to 2 1/s (default -1). |
| Pole pair imaginary part | The upper pole of the pair, from 0.05 to 10 rad/s (default 3); the lower pole is its mirror image. |
| Pole 2 real part | The second real pole, from -10 to 2 1/s (default -4), with Two real poles. |
| Third pole | No (default) or Yes: a third real pole beside two poles; not offered with one real pole. |
| Pole 3 real part | From -10 to 2 1/s (default -5), at least 0.05 from the other real poles. |
| Zero layout | No zeros (default), One real zero, Two real zeros or Complex pair. There may not be more zeros than poles. |
| Zero 1 real part, zero pair imaginary part, zero 2 real part | As for the poles: real parts from -10 to 2 1/s (defaults -2 and -3), the imaginary part from 0.05 to 10 rad/s (default 1). |
| Steady gain | g, from -5 to 5 and at least 0.1 in size (default 1): the value the step response settles to when the system is stable. A negative gain turns the response upside down. |
| Coefficients a₁, a₀, b₂, b₁, b₀ | Polynomial mode: G(s) = (b₂·s² + b₁·s + b₀)/(s² + a₁·s + a₀), each from -50 to 50 (defaults 2, 5, 0, 0 and 5); a₀ and b₀ not 0. The steady gain is b₀/a₀. |
| Challenge number | 0 for free exploration, or 1 to 5 to load a challenge. |
| Your prediction: the overshoot | Challenge 1 only: blank (not yet predicted) or 0 to 100 %. 0 is a real prediction. |
| Your prediction: the first move | Challenge 4 only: Not yet chosen (the start), Up first or Down first. |
No real pole or zero may sit within 0.05 of the origin; a pair's real part may be 0, since its imaginary part keeps it off the origin.
Where each input is set:
- On the canvas only: how to enter the system, the pole layout, the third pole and the zero layout (chips on the stage); every pole and zero (dragged on the s-plane, snapping to 0.05, with a popover for two-decimal entry; a pair moves across and up or down, a real pole or zero along the real axis); the steady gain (the final-value line dragged on the step chart, in steps of 0.1, skipping the gap between -0.1 and 0.1); the overshoot prediction (a dashed line on the step chart, challenge 1 only); and the first-move prediction (two chips, challenge 4 only).
- In the input panel: the five coefficients, shown only in Polynomial mode, and the challenge number.
Governing relationships
The transfer function. In pole mode G(s) = g·Π(1 - s/z)/Π(1 - s/p) over the zeros z and poles p, so g is the steady (zero-frequency) gain. The poles split into a two-pole core, s² + a₁·s + a₀ (two real poles or a complex pair), and a separate real pole p_e (the single pole of the one-pole layout, or the third pole). With α = a₁/2 the core's discriminant is D = α² - a₀; in pole mode D comes straight from the poles, ((p₁ - p₂)/2)² for two real poles and -ω² for a pair σ ± jω, so nearly equal poles lose no digits.
Polynomial mode. The roots of s² + a₁·s + a₀ come from the stable form of the quadratic formula: with the discriminant a₁² - 4·a₀ positive, q = -(a₁ + sign(a₁)·√(a₁² - 4·a₀))/2 and the roots are q and a₀/q. The roots are real, repeated or complex by the discriminant, with a band of 1×10⁻⁹·max(a₁², 4·|a₀|) for repeated; the numerator is treated the same way. The class affects only the labels, the listed roots, the envelopes and the straight-line magnitude; the response itself is continuous through it.
Stability, exactly. In pole mode the system is Stable when every real part is below 0, Marginally stable when a pair sits on the imaginary axis, and Unstable when any pole lies to its right. In Polynomial mode the Routh test on the coefficients decides: Stable when a₁ > 0 and a₀ > 0, Marginally stable when a₁ = 0 and a₀ > 0, Unstable otherwise. No tolerance enters either test.
The step response in one closed form. The Laplace transform of the step response splits into partial fractions, Y(s) = G(s)/s = g/s + B/(s - p_e) + (c₁·s + c₀)/(s² + a₁·s + a₀), where B is minus the gain times the zero factors over the core factor, evaluated at p_e. In time this is
y(t) = g + B·e^(p_e·t) + g·e^(-α·t)·(k₁·Ψ(t) + k₀·Φ(t)),
where Φ(t) = sinh(√D·t)/√D and Ψ(t) = cosh(√D·t) for D > 0, sin(√-D·t)/√-D and cos(√-D·t) for D < 0, and t and 1 for D = 0. When |D|·t² is below 1×10⁻⁴ both are taken from their power series in u = D·t², Φ = t·(1 + u/6 + u²/120 + u³/5040) and Ψ = 1 + u/2 + u²/24 + u³/720, so one form serves real, repeated and complex poles and the response stays continuous through critical damping. The constants k₁ and k₀ follow from the initial value theorem: y(0+) = G(∞), which is 0 unless there are as many zeros as poles, and y'(0+) = lim s·(G(s) - G(∞)). The impulse response is the derivative of the step response. Row 0 holds the values of the theorems exactly.
The time window. For a stable system the window is 8 divided by the size of the slowest real part; for a pair on the axis, 10 periods of its oscillation; for an unstable system, 5 divided by the largest real part (growth by e⁵). It is kept between 2 and 60 s, and the 201 times are t = i·T/200 for i = 0 to 200.
The first move, exactly. The step response starts as g·(leading numerator over leading denominator)·t^r/r!, with r the number of poles minus zeros. In pole mode each real pole or zero to the right of the axis flips its sign, so the first move is the sign of g, flipped once for each real zero and each real pole above 0. In Polynomial mode it is the sign of the leading numerator coefficient. A system whose first move is opposite to its gain starts the wrong way.
Damping figures. For the core, the natural frequency is ω_n = √a₀, the damping ratio is ζ = a₁/(2·√a₀) (below 1 for a pair, 1 for a repeated pole, above 1 for two real poles, negative for an unstable pair) and the damped frequency is the pair's imaginary part. For a ringing pair the envelopes are g·(1 + (B/g)·e^(p_e·t)) ± |g|·A·e^(-α·t), with A the amplitude of k₁·cos + k₀·sin/ω.
The frequency response. At s = jω each factor 1 + a·s + b·s² of G is (1 - b·ω²) + j·a·ω. The magnitude in dB is 20·log₁₀|g| plus 10·log₁₀ of each zero factor's squared size minus the same for each pole factor, and the phase is the sum of the factors' angles, with -180 degrees added for a negative gain. Each factor starts at angle 0 and its imaginary part keeps one sign, so the phase is continuous with no unwrapping. A squared magnitude is floored at 1×10⁻²⁰ and the dB value clipped at ±200 dB. The 81 frequencies are ω = 10^(-2 + k/20), k = 0 to 80. The straight-line magnitude adds 20·log₁₀(ω/corner) above each zero corner (40 for a pair) and subtracts the same above each pole corner, with the corners at the size of each real root and at the natural frequency of each pair.
Events, refined by bisection. The model scans the 201 times (or the 81 frequencies) for each event, then halves the bracket the scan proves 30 times; this is the only iteration in the lab. The bracket is then at most 2.8×10⁻¹⁰ s wide for a time event and about 1.1×10⁻⁸ rad/s for a frequency event.
- Peak and overshoot: the highest point of the step response, where the impulse response crosses 0 next to the largest sample. With z = y/g, the overshoot is (z_peak - 1)·100 % when z_peak > 1 + 1×10⁻⁹, otherwise 0.
- Rise time: the time from the first crossing of 10% to the first crossing of 90% of the final value.
- Undershoot: for a wrong-way system, the deepest point of the first dip, where the slope first turns, as a percentage of the final value.
- Settling time: the time after which |z - 1| stays at most 0.02; 0 when the response starts inside the band.
- Half-power bandwidth: the lowest frequency at which |G|² falls to g²/2, about 3.0103 dB below the low-frequency level, tested on exact powers; for one real pole it is the corner frequency.
- Resonance: the peak of |G|²/g², where its slope changes sign, when the largest of the 81 values is not at either end and the refined peak is above 1 + 1×10⁻⁹; its height is reported in dB above the low-frequency level.
The third pole's effect. With the third pole on, the model also computes the step response of the same core and zeros without it. The largest gap between the two curves over the window, as a percentage of g, is the gap from the response without the third pole.
Guides on the plane. Damping rays for ζ = 0.2, 0.5, 0.7 and 1, at the angle arccos ζ from the negative real axis, and circles of natural frequency 1, 2, 5 and 10 rad/s. The 2% band on the step chart runs from 0.98·g to 1.02·g.
Calculation sequence
- The model checks the inputs that apply to the chosen mode, layouts and challenge, in the order of the status list under Errors and warnings.
- In a challenge, it replaces the inputs the challenge fixes with the challenge's values; the predictions are never replaced.
- It forms the core, the separate pole, the zeros and the gain, the polynomial roots in Polynomial mode, the stability, the time window, the first move and the damping figures.
- It computes the partial-fraction constants and evaluates the step and impulse responses, the envelopes and the response without the third pole at the 201 times.
- It evaluates the magnitude, phase and straight-line magnitude at the 81 frequencies.
- It scans the grids and refines the peak, undershoot, rise, settling, bandwidth and resonance by bisection.
- It sets the status and, in a challenge, scores the challenge and withholds what the challenge keeps back.
Outputs and interpretation
- Stability (Stable, Marginally stable or Unstable) and pole class (One real pole, Two real poles, Repeated real pole or Complex pair, with a third real pole when it is on).
- Overshoot (%), peak time, rise time and settling time (s): stable systems only.
- First move (Up first or Down first), undershoot (%) and undershoot time (s).
- Damping ratio, natural frequency and damped frequency (rad/s) of the core.
- Steady value: g, by the final value theorem, when stable.
- Half-power bandwidth (rad/s), resonant peak (dB above the low-frequency level) and resonant frequency (rad/s); low-frequency gain (dB).
- Gap from the response without the third pole (% of g).
- Laplace pieces: the coefficient B of the separate pole and the coefficients c₁ and c₀ of the core term; the step start value and start slope (initial value theorem) and the step end value at the end of the window, to set beside the steady value.
- Settings used: every input in effect (a challenge may fix them); those that do not apply are blank.
- Tables: the poles and zeros on the plane, the curves at 201 times, the frequency response at 81 frequencies and the plane guides.
Reading the canvas: the s-plane draws poles as crosses and zeros as circles, shades the stable half and adds the damping rays and frequency circles. The step chart carries the final-value line and the 2% band; a marker moves along the step curve as the player steps through the 201 frames, and a mass on a spring moves with it. At Explore the lab offers the pole layouts, the poles, the gain line and the time results. Experiment adds Polynomial mode, the third pole, the zeros, the impulse chart, the dashed response without the third pole and the magnitude and phase charts on a log-frequency axis. Advanced adds the envelopes of a ringing pair, the straight-line magnitude, the Laplace pieces and the value theorems.
What to take from the lab: raising a pole pair away from the real axis makes the response ring harder, moving it left makes it die out sooner, and across the axis it grows. The overshoot depends only on the angle of the pair. A zero adds overshoot; a zero on the right makes the output start the wrong way, while the magnitude chart does not change at all. A far third pole barely matters, so the pair dominates; dragged in, it takes over.
Challenges
Selecting a challenge sets its own system, always with gain 1, and leaves only the inputs it names to you. The model scores each one MET (100) or NOT MET (0) and gives a one-line hint while it is not met. Challenges 1 and 2 are offered from Explore, challenges 3 to 5 from Experiment.
- Predict the overshoot (intermediate). The pole pair -1 ± 2j: drag the dashed line to the overshoot you expect from where the poles sit. Met when your prediction is within 2 points of the overshoot. The value scored is your prediction minus the overshoot.
- Fast and gentle (introductory). Drag the pole pair, starting at -1 ± 2j, so the step response overshoots by at most 5% and stays within 2% of its final value from 2.0 s on. Met when the system is stable, the overshoot is at most 5% and the settling time is at most 2.0 s. The value scored is the settling time.
- Tune the resonance (intermediate). Drag the same pair so the magnitude peaks between 5.5 and 6.5 dB above its low-frequency level, at 2.85 to 3.15 rad/s. Met when both resonance results exist and lie in those bands. The value scored is the resonant peak.
- Which way first? (introductory). Two real poles at -1 and -3 and a zero to the right of the imaginary axis: predict which way the output moves first after the step. Met when your choice matches the model's first move. Nothing is measured.
- How far is far enough? (advanced). The pair -0.25 ± 0.5j with a third pole you drag along the real axis: bring it as close to the imaginary axis as you can while the response stays within 5% of the response without it. Met when the largest gap is from 4% to 5%. The value scored is the gap.
Challenges 1 and 4 hold back the answer until you predict. In challenge 1, while the prediction is blank, the time results, the damping ratio, the bandwidth and resonance, the end value, the Laplace coefficients, the scored value, the curves after t = 0, the magnitude and phase charts and the plane guides are blank, and the step chart keeps a fixed axis from -1 to 2 for your line. The poles on the plane, the stability, the natural and damped frequencies and the steady value stay. In challenge 4, while the choice reads Not yet chosen, the first move, the start slope, the time results, the undershoot, the end value, the Laplace coefficients, the curves after t = 0 and the phase chart are blank. The poles and the zero on the plane and the magnitude chart stay; the magnitude is the same for a zero at +2 or -2, which is part of the lesson. Any prediction or choice reveals everything, met or not. Challenges 2, 3 and 5 hold nothing back: the time results, the magnitude peak and the gap are feedback on your own poles.
Validation and status logic
The status reads the first match in the list under Errors and warnings. The NOT VALID checks read the values you entered, and only for the inputs that apply: the pole and zero inputs to Poles and zeros mode with the chosen layouts, the coefficients to Polynomial mode, and each prediction to its own challenge. The CHECK items read the values in effect after a challenge has fixed its own. A challenge number that is not a whole number from 0 to 5 counts as no challenge selected. A blank list choice is refused by the page before the model runs.
Assumptions and limitations
- At most three poles and two zeros, real coefficients and no dead time; poles and zeros no more than 10 to the left or 2 to the right of the imaginary axis and no more than 10 from the real axis, none within 0.05 of the origin. The polynomial mode is second order.
- The curves are sampled at 201 times over the automatic window, kept between 2 and 60 s, and at 81 frequencies from 0.01 to 100 rad/s. Event times and frequencies are refined between samples, but an excursion or a peak that lies wholly between two samples is not seen; a resonance sharper than the frequency spacing (a ratio of about 1.122) can be missed, and two peaks inside one interval are not separated.
- Overshoot, rise, settling, undershoot, bandwidth and resonance describe stable systems only.
- The magnitude is clipped at ±200 dB; only a pole or zero on the imaginary axis exactly at a sampled frequency reaches the clip.
- When there are as many zeros as poles the output jumps at t = 0, and the impulse response then holds a spike at t = 0 that is not drawn.
- Stability, the first move and the pole layouts are decided exactly from the inputs. A value within about 1×10⁻⁹ (relative) of another threshold, such as the repeated-root band, the 0.05 gaps, a crossing level, the 2% band or a challenge band, may fall either side of it.
Restrictions and non-computing states
Under NOT VALID every result and every table is blank, except the challenge result (No challenge selected, or NOT MET when a challenge is selected), a score of 0, and the goal and not-met hint of a selected challenge.
For an unstable or marginally stable system (CHECK) the curves are computed over the window, but the overshoot, peak, rise, settling and undershoot results, the steady value, the gap from the response without the third pole, the bandwidth and the resonance are blank. When the response has not settled by the end of the window, the settling time is blank.
In challenges 1 and 4, until you predict, the results listed under Challenges stay blank.
Errors and warnings
The status messages, first match wins:
- NOT VALID: choose how to enter the system from the list
- NOT VALID: choose the pole layout from the list
- NOT VALID: choose whether to add a third pole from the list
- NOT VALID: choose the zero layout from the list
- NOT VALID: every pole and zero must lie no more than 10 to the left or 2 to the right of the imaginary axis
- NOT VALID: the imaginary part of a pole pair or a zero pair must be from 0.05 to 10
- NOT VALID: no pole or zero may sit within 0.05 of the origin — a real pole or zero.
- NOT VALID: the third pole must be at least 0.05 away from each of the other real poles
- NOT VALID: there are more zeros than poles; remove a zero or add a pole
- NOT VALID: the steady gain must be a number from 0.1 to 5 in size, positive or negative
- NOT VALID: each polynomial coefficient must be a number no larger than 50 in size
- NOT VALID: the constant terms of both polynomials must not be zero, so that no pole or zero sits at the origin
- NOT VALID: the steady gain, the ratio of the two constant terms, must be from 0.1 to 5 in size
- NOT VALID: the polynomial's poles and zeros must lie inside the plane shown (no more than 10 to the left or 2 to the right of the imaginary axis, no more than 10 from the real axis, and not within 0.05 of the origin)
- NOT VALID: the challenge number must be a whole number from 0 to 5
- NOT VALID: the overshoot prediction must be blank or a number from 0 to 100 percent — challenge 1.
- NOT VALID: choose your first-move prediction from the list — challenge 4.
- CHECK: a pole lies in the right half of the plane, so the response grows without limit; the overshoot, settling and frequency results are blank
- CHECK: a pole pair sits on the imaginary axis, so the response keeps oscillating and never settles; the overshoot, settling and frequency results are blank
- CHECK: the response has not settled within the time shown, so the settling time is blank; a pole close to the imaginary axis makes the response slow
- CHECK: the response oscillates too fast for the time shown, so the curve and the measured times may miss a peak; move the slowest pole further left or the fastest pair closer to the real axis — a stable pair gives fewer than 6 samples per period.
- OK
References
This laboratory is an educational model of a linear system with real coefficients described by its transfer function G(s), set by up to three poles and two zeros with a steady gain, or entered as a ratio of second-order polynomials whose roots come from a stable form of the quadratic formula. The step response comes from splitting G(s)/s into partial fractions and inverting them in one real closed form that covers real, repeated and complex poles; the impulse response is its derivative. The frequency response is G at s = j omega, shown as magnitude and phase at 81 frequencies beside the straight-line magnitude asymptotes. The overshoot, peak, rise and settling times, any wrong-way undershoot, the bandwidth and the resonant peak are found on the time or frequency grid and refined between samples, and the damping ratio and natural frequency describe the poles. The initial and final value theorems check the two ends of the step response. Unstable and undamped systems are flagged rather than measured.
Sources and further reading
- The Laplace transform, partial fractions and the transfer function, and how poles and zeros shape the step response of first-order, second-order and higher-order systems: N. S. Nise, Control Systems Engineering, 8th edition, Wiley, 2019, chapter 2, Modeling in the Frequency Domain, sections 2.2, Laplace Transform Review, and 2.3, The Transfer Function; and chapter 4, Time Response, sections 4.2, Poles, Zeros, and System Response, 4.6, Underdamped Second-Order Systems, 4.7, System Response with Additional Poles, and 4.8, System Response with Zeros. Wiley
- The frequency response and its straight-line Bode asymptotes: N. S. Nise, Control Systems Engineering, 8th edition, Wiley, 2019, chapter 10, Frequency Response Techniques, section 10.2, Asymptotic Approximations: Bode Plots. Wiley
No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.
This laboratory is for learning. Its results hold only within its stated ranges; it handles at most three poles and two zeros with no dead time, and it is not a tool for designing real control systems.
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.