CalcWorldHub
Free online calculator · no signup

Three lag loop gain phase and delay margins calculator

Check classical margins of a delay-free loop containing three stable real lags.

4,000 tools
Three lag loop gain phase and delay margins calculator — Positive open-loop DC gain, Lag time 1 (s), Lag time 2 (s) and calculation method
Three lag loop gain phase and delay margins calculator: inputs and calculation method.

How to use this calculator

Check classical margins of a delay-free loop containing three stable real lags.

  1. 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.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Calculation guide

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.

Phase margin14.5271deg
Phase margin: 14.527122 deg in the worked scenario.

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.