ChemIPREG · MSDS

한국어

CALCULATOR Process control

Transfer-function tools (step response · Routh · Bode)

For chemical engineering exam practice: step-response characteristics of first- and second-order processes (overshoot, decay ratio, period), Routh–Hurwitz stability of a characteristic equation with the ultimate gain Ku for P control, and the Bode plot, gain margin and phase margin of a first-order-plus-dead-time process with a PI or PID controller.

ChemIP calculators compute in your browser. The button above opens the calculator filled with the example defaults on this page.

Inputs

InputUnitExample default
Tool—
  • Step response default
  • Routh–Hurwitz
  • Bode plot · margins
Process order—
  • First order K/(τs+1)
  • Second order K/(τ²s²+2ζτs+1) default
Chart shown for some choices—
  • Amplitude ratio default
  • Phase
Time unit—
  • s
  • min default
  • h
Process gain K—1
Time constant τtime unit1
Damping ratio ζ—0.5
Dead time θtime unit0
Process gain K shown for some choices—1
Time constant τ shown for some choicestime unit10
Dead time θ shown for some choicestime unit2
Controller gain Kc shown for some choices—2.5
Integral time τI (blank = P only) shown for some choices may be left blanktime unit10
Derivative time τD (optional) shown for some choices may be left blanktime unit—
Coefficients of the characteristic equation a(s) + Kc·b(s) = 0 shown for some choicesOne row per power, from the highest sⁿ down to s⁰. The default is 10s³ + 17s² + 8s + 1 + Kc = 0 (third-order loop with P control, Ku = 12.6).—Row table (default 4 rows)a (constant part), b (multiplies Kc, optional)
Kc to test (when b is given) shown for some choices may be left blank—5

Results

ResultUnit
Response typeverdict / text
63.2 % reached (θ + τ)time unit
95 % reached (θ + 3τ)time unit
98.2 % reached (θ + 4τ)time unit
Overshoot%
Decay ratio (overshoot²)—
Period of oscillation Ptime unit
Time to first peak t_ptime unit
Rise time t_r (first reaches final value)time unit
Settling time t_s (±5 %)time unit
Routh arrayresult table
Assessmentverdict / text
Right-half-plane roots (first-column sign changes)roots
Kc used—
Roots (numerical)verdict / text
Ultimate gain Ku (P control)—
Lower stable limit of Kc—
Ultimate frequency ω_urad/time unit
Ultimate period Pu = 2π/ω_utime unit
Assessmentverdict / text
Gain margin GM—
Gain margin (dB)dB
Phase margin PM°
Gain crossover frequency ω_crad/time unit
Phase crossover frequency ω₁₈₀rad/time unit

Formula

  1. First order: y(t) = K(1 − e^(−(t−θ)/τ)), 63.2 % at t = θ + τ
  2. Second order (ζ < 1): overshoot = exp(−πζ/√(1−ζ²)), decay ratio = overshoot², P = 2πτ/√(1−ζ²), t_p = πτ/√(1−ζ²), t_r = τ(π − cos⁻¹ζ)/√(1−ζ²)
  3. Routh: b₁ = (a₁a₂ − a₀a₃)/a₁ … number of first-column sign changes = number of right-half-plane roots
  4. L(jω) = Kc(1 + 1/(jωτI) + jωτD) · K e^(−jωθ)/(jωτ + 1)
  5. GM = 1/|L(jω₁₈₀)| (∠L = −180°), PM = 180° + ∠L(jω_c) (|L| = 1)

Notes

  • The Routh test works on polynomial coefficients only. A loop with dead time e^(−θs) cannot be tested exactly by Routh; use the Bode (frequency response) tool.
  • For ζ ≥ 1 there is no overshoot or period. The settling time is found numerically from the response.
  • The PID in the Bode tool is the ideal form (no derivative filter). Roots are numerical values from Durand–Kerner iteration.

References

  1. Seborg, Edgar, Mellichamp & Doyle, Process Dynamics and Control, 3rd ed. (2011), Ch. 5 second-order responses (Eqs. 5-48 … 5-57), Ch. 11 Routh stability (loop example with Gv = 1/(2s+1), Gp = 1/(5s+1), Gm = 1/(s+1)), Ch. 14 frequency response, gain and phase margins
  2. Nise, N.S., Control Systems Engineering, 7th ed. (2015), Ch. 6 — Routh special cases (Example 6.2 zero in the first column, Example 6.4 row of zeros)
  3. Skogestad, S., TKP4140 Process Control lecture "Stability" (NTNU, 2024), Example 3 — Routh array for 10s³ + 17s² + 8s + 1 + Kc: Kc < 12.6. https://skoge.folk.ntnu.no/prosessregulering/lectures/2024/SiS10Stability.pdf
  4. Skogestad, S. (2003). Simple analytic rules for model reduction and PID controller tuning. J. Process Control, 13, 291–309 — SIMC margins (τc = θ: GM 3.14, PM 61.4°).

More calculators in this group

Terms used by this calculator