How to use this calculator
Check classical margins of a delay-free loop containing three stable real lags.
- Enter Positive open-loop DC gain, Lag time 1 (s), Lag time 2 (s), Lag time 3 (s). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Three lag loop gain phase and delay margins explained
Three first-order lag factors set the loop magnitude and phase. The calculator solves the gain crossover and phase crossover separately, then reports phase margin, linear gain margin, and the extra delay to the phase boundary.
Inputs, symbols, and units
K— Positive open-loop DC gain- Gain of K divided by the three lag factors.
t1— Lag time 1 (s)- First stable real-pole time constant.
t2— Lag time 2 (s)- Second stable real-pole time constant.
t3— Lag time 3 (s)- Third stable real-pole time constant.
Formula and method
L(s)=K/∏ᵢ(1+τᵢs); |L(jωc)|=1, PM=π−Σatan(ωcτᵢ), GM=1/|L(jωπ)|, delay margin=PM/ωc.
Positive gain above one gives one positive gain crossover. The phase crossover is found independently; a negative reported margin indicates the loop is already beyond that boundary.
A worked scenario
Positive open-loop DC gain = 8; Lag time 1 (s) = 1; Lag time 2 (s) = 0.5; Lag time 3 (s) = 0.2.
- Phase margin: 14.527122 deg
- Gain margin: 1.575 ratio
- Gain crossover: 3.306099 rad/s
- Additional delay to phase boundary: 0.07669 s
A gain-eight loop with time constants one, half and one fifth of a second is checked before adding any transport delay.
Assumptions and edge cases
Exactly three stable lags, negative unity feedback, no zeros or existing delay.
Reading the outputs
Phase margin is degrees; gain margin is a linear multiplier; additional delay is signed seconds, not a guarantee of robust operation.
Frequently asked questions
Why require gain above one?
This supported case has a positive gain crossover; lower gain has no such crossing.
Can delay margin be negative?
Yes; then the phase boundary is already exceeded.
Is gain margin in decibels?
No. Convert the returned multiplier with 20 log10 if desired.
How do I use the Three lag loop gain phase and delay margins calculator?
Enter Positive open-loop DC gain, Lag time 1 (s), Lag time 2 (s), Lag time 3 (s). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Three lag loop gain phase and delay margins?
Positive open-loop DC gain = 8; Lag time 1 (s) = 1; Lag time 2 (s) = 0.5; Lag time 3 (s) = 0.2. Phase margin: 14.527122 deg Gain margin: 1.575 ratio Gain crossover: 3.306099 rad/s Additional delay to phase boundary: 0.07669 s A gain-eight loop with time constants one, half and one fifth of a second is checked before adding any transport delay.
Read our calculation methodology.