1Demonstration 1 of 5
Connect a real step response with bandwidth
Why can two systems with similar bandwidth have different overshoot?
Plot the exact normalized first-order closed-loop response and compare rise-time formulas.
First-order bandwidth (Hz). Single real pole and unit gain; the .35/f rule is not universal for higher-order loops.
Predict first. Why can two systems with similar bandwidth have different overshoot?
Choose an example
Constructed teaching inputs; calculations executed locally. Supported menu choices are precomputed.
Calculated values
- Bandwidth (Hz)
- 2
- Exact 10–90% rise time (s)
- 0.17485
- Rule .35 / bandwidth (s)
- 0.175
For this normalized first-order closed-loop model, 10–90% rise time is ln(9)/(2πf)=0.17485 s. The .35/f rule agrees closely here, but different pole patterns need separate verification.
Use the idea
Use rule 25.1.1 when its stated conditions fit. Compare the calculation with your own decision threshold; retain the relevant error or uncertainty.
Where the conclusion applies
Single real pole and unit gain; the .35/f rule is not universal for higher-order loops.
Check your understanding: Why can two systems with similar bandwidth have different overshoot?
Book source: Rule 25.1.1: Estimate rise time from closed-loop bandwidth. Demonstration C25-D01. Worked illustration.
2Demonstration 2 of 5
Budget latency at an assumed crossover
Does a positive remaining nominal margin prove the implemented loop is robust?
Plot delay phase lag across frequency and compute its cost at a stipulated crossover.
Pure delay τ (s). fc=5Hz, nominal margin 60°; fixed-crossover screen, not full Nyquist analysis or implemented-loop validation.
Predict first. Does a positive remaining nominal margin prove the implemented loop is robust?
Choose an example
Constructed teaching inputs; calculations executed locally. Supported menu choices are precomputed.
Calculated values
- Delay (s)
- 0.01
- Lag at 5 Hz (degrees)
- 18
- Nominal margin (degrees)
- 60
- Fixed-crossover remaining margin
- 42
Delay 0.01 s contributes 18° lag at 5 Hz. Subtracting it from a nominal 60° margin leaves 42°. That is below the usual 45° floor, so expect overshoot and ringing. This fixed-crossover screen is not a full stability proof.
Use the idea
Use rule 25.3.1 when its stated conditions fit. Compare the calculation with your own decision threshold; retain the relevant error or uncertainty.
Where the conclusion applies
fc=5Hz, nominal margin 60°; fixed-crossover screen, not full Nyquist analysis or implemented-loop validation.
Check your understanding: Does a positive remaining nominal margin prove the implemented loop is robust?
Book source: Rule 25.3.1: Convert every delay into phase lag at crossover. Demonstration C25-D02. Worked illustration.
3Demonstration 3 of 5
Simulate integral windup and a remedy
Why does the old integral keep pushing after the target drops?
Drive a normalized first-order plant with an unreachable setpoint, then lower the target. Compare the stored integral and delayed recovery.
Conditional integration. PI gains Kp=2, Ki=1, step .005, actuator ±1. Conditional integration is one illustrative anti-windup design.
Predict first. Why does the old integral keep pushing after the target drops?
Choose an example
Constructed teaching inputs; calculations executed locally. Supported menu choices are precomputed.
Calculated values
- Anti-windup
- on
- Actuator limits
- [−1,1]
- Final output
- 0.485664
- Integral state just before t=4
- 0
A normalized first-order plant uses PI gains Kp=2, Ki=1 and actuator limits ±1. The setpoint is unreachable for four seconds, then drops to .5. With conditional integration on, the integral stops growing while the actuator is pinned, so the output reaches 0.486, close to the .5 target. Any controller with integral action and a limited actuator needs this guard.
Use the idea
Use rule 25.3.3 when its stated conditions fit. Compare the calculation with your own decision threshold; retain the relevant error or uncertainty.
Where the conclusion applies
PI gains Kp=2, Ki=1, step .005, actuator ±1. Conditional integration is one illustrative anti-windup design.
Check your understanding: Why does the old integral keep pushing after the target drops?
Book source: Rule 25.3.3: Add anti-windup whenever integral control can saturate. Demonstration C25-D03. Worked illustration.
4Demonstration 4 of 5
Remove steady error with integral action
Why does Ki=0 never reach the setpoint?
Hold a setpoint of 1, then add a constant disturbance at t=5 s. Compare how the output recovers.
Integral gain Ki. Plant y′=−y+u+d, Kp=2, disturbance d=−0.5 from t=5 s, step .005 s, no actuator limits.
Predict first. Why does Ki=0 never reach the setpoint?
Choose an example
Constructed teaching inputs; calculations executed locally. Supported menu choices are precomputed.
Calculated values
- Integral gain Ki
- 1
- Output before disturbance (t=5 s)
- 0.959138
- Final output (t=10 s)
- 0.961052
- Final error
- 0.038948
Integral action keeps adding up the error until it is gone. Final error is 0.039, but the slow integral takes seconds to clean up the disturbance.
Use the idea
Use rule 25.1.2 when its stated conditions fit. Compare the calculation with your own decision threshold; retain the relevant error or uncertainty.
Where the conclusion applies
Plant y′=−y+u+d, Kp=2, disturbance d=−0.5 from t=5 s, step .005 s, no actuator limits.
Check your understanding: Why does Ki=0 never reach the setpoint?
Book source: Rule 25.1.2: Add integral action for zero steady-state error to constant disturbances. Demonstration C25-D04. Worked illustration.
5Demonstration 5 of 5
See what phase margin looks like in a step response
Why do designers start near 45 to 60 degrees?
Loop L(s)=k/(s(s+a)) is tuned so it crosses unit gain at 1 rad/s with the chosen phase margin. Watch the closed-loop step response.
Phase margin (degrees). Second-order loop, unity negative feedback, no delay or saturation. Other loops map margin to overshoot differently.
Predict first. Why do designers start near 45 to 60 degrees?
Choose an example
Constructed teaching inputs; calculations executed locally. Supported menu choices are precomputed.
Calculated values
- Phase margin (degrees)
- 45
- Open-loop pole (rad/s)
- 1
- Loop gain
- 1.41421
- Overshoot (%)
- 23.3006
- Peak output
- 1.23301
The loop L(s)=k/(s(s+a)) crosses unity gain at 1 rad/s with 45° of phase margin. Its step response overshoots by 23.3%. 45° gives a modest overshoot and quick settling, a common working compromise. Margin is a starting screen; check the actual response.
Use the idea
Use rule 25.2.1 when its stated conditions fit. Compare the calculation with your own decision threshold; retain the relevant error or uncertainty.
Where the conclusion applies
Second-order loop, unity negative feedback, no delay or saturation. Other loops map margin to overshoot differently.
Check your understanding: Why do designers start near 45 to 60 degrees?
Book source: Rule 25.2.1: Start loop shaping near 45 to 60 degrees phase margin. Demonstration C25-D05. Worked illustration.
Bring the idea to a question of your own
Choose the relationship that answers your question, check its conditions, and compare the result with the accuracy or decision threshold you need.
The chapter skill can adapt these calculations to your inputs. It should name the assumptions, explain what the result supports, and say what still needs evidence. The chapter workbook adds a lab and three exercises with answers.