Process Control at Working Depth: Sensors and ISA Tags, Linearised Models and Dynamic Responses, Inverse Response, Reaction-Curve Tuning, Valves, Routh Stability, Margins, Cascade and Feedforward
Linearisation, State Space, Dynamic Responses and Inverse Response
Linearisation replaces a nonlinear model by its first-order Taylor expansion about a steady state and works in deviation variables. A tank of area A = 2 m² drains by F_out = k√h with k = 0.25 m^(2.5)/min: A dh/dt = F_in − k√h. At h_s = 4 m, F_s = k√h_s = 0.50 m³/min; the slope dF_out/dh = k/(2√h_s) = 0.0625, so the linear model is A dh′/dt = F′_in − h′/R with R = 16 min/m² and G(s) = R/(τs + 1), τ = AR = 32 min. A first-order process G = K/(τs + 1) gives y(t) = KM(1 − e^(−t/τ)) for a step M: with K = 2, τ = 5 min and M = 3, y(5) = 3.793 (63.2% of the final 6) and y(10) = 5.188; it reaches 98% in 4τ. A second-order under-damped process (ζ < 1) has overshoot exp(−πζ/√(1 − ζ²)) = 25.4% for ζ = 0.4, decay ratio (overshoot)² = 0.0644, and period T = 2πτ/√(1 − ζ²) = 13.71 for τ = 2; the settling time is about 4τ/ζ = 20. A dead time θ gives e^(−θs) (phase lag, no attenuation), which can be approximated by the Padé form (1 − θs/2)/(1 + θs/2).
Inverse response (non-minimum phase) comes from competing effects, such as drum-boiler level (the "shrink and swell"), and shows as a right-half-plane zero. Example: two parallel paths 3/(5s + 1) − 1/(s + 1) combine to G = 2(1 − s)/((5s + 1)(s + 1)) with steady gain 2 and a zero at s = +1. A unit step first drives the output negative, reaching a minimum of -0.112 at t = 0.64, and then rises to the final value 2.000; a high-gain controller on such a process goes unstable because of the extra phase lag. State-space models write ẋ = Ax + Bu, y = Cx and the transfer function is G(s) = C(sI − A)⁻¹B; the poles are the eigenvalues of A. For two tanks in series with A = [[−0.5, 0], [0.5, −0.25]], B = [1, 0]ᵀ, C = [0, 1]: eigenvalues -0.50 and -0.25 (time constants 2 and 4), G(s) = 0.5/((s + 0.5)(s + 0.25)) and steady gain 4; the system is stable because both eigenvalues are negative.
| Process | Result |
|---|---|
| Tank linearised at 4 m: R and τ | 16 min/m²; 32 min |
| First order K = 2, τ = 5, step 3: y(5), y(10) | 3.793; 5.188 |
| ζ = 0.4: overshoot, decay ratio | 25.4%; 0.0644 |
| Inverse response minimum | -0.112 at t = 0.64 |
| Two-tank eigenvalues / gain | -0.50, -0.25; 4 |
Linearisation replaces a nonlinear model by its first-order Taylor expansion about a steady state and works in deviation variables. A tank of area A = 2 m² drains by F_out = k√h with k =…
Controller Modes, Control Valves and Reaction-Curve Tuning
The ideal PID law is u = ū + K_c[e + (1/τ_I)∫e dt + τ_D de/dt]. Proportional action alone leaves an offset: for a process of gain K = 2 under K_c = 4 the closed-loop offset to a set-point step is 1/(1 + KK_c) = 11.1% of the step. Integral action removes the offset (the output rises by K_c per τ_I for a constant error: at t = τ_I a PI controller output has doubled) but adds phase lag and can wind up when the valve saturates (use anti-reset-windup). Derivative action anticipates, adds phase lead, and amplifies noise, so it is applied to the measurement and filtered. The process reaction curve (open-loop step test) is fitted by FOPDT: G = Ke^(−θs)/(τs + 1); the two-point method gives τ = 1.5(t₆₃ − t₂₈) and θ = t₆₃ − τ: for t₂₈ = 6 and t₆₃ = 12 min, τ = 9 and θ = 3 min.
Tuning rules. For FOPDT with K = 2, τ = 10 and θ = 2 min: Ziegler–Nichols open-loop PI has K_c = 0.9τ/(Kθ) = 2.25 and τ_I = 3.33θ = 6.66; PID has K_c = 1.2τ/(Kθ) = 3.0, τ_I = 2θ = 4, τ_D = 0.5θ = 1. Cohen–Coon PI: K_c = (1/K)(τ/θ)(0.9 + θ/12τ) = 2.292, τ_I = θ(30 + 3θ/τ)/(9 + 20θ/τ) = 4.71. Closed-loop (ultimate-gain) Ziegler–Nichols uses K_u and P_u: PI K_c = 0.45K_u, τ_I = P_u/1.2; PID K_c = 0.6K_u, τ_I = P_u/2, τ_D = P_u/8. Control valves: the inherent characteristic relates flow to lift: linear f = x; equal-percentage f = R^(x − 1), which for rangeability R = 50 at half-lift passes 50^(−0.5) = 0.141 of full flow; quick-opening for on/off. The liquid sizing equation q = C_v√(ΔP/SG) (gpm, psi): 100 gpm at 25 psi of water needs C_v = 20. Installed characteristics drift towards quick-opening as the valve takes less of the system drop, so equal-percentage valves are chosen when the valve drop is small.
| Rule | Setting (K = 2, τ = 10, θ = 2) |
|---|---|
| Ziegler–Nichols PI | K_c = 2.25; τ_I = 6.66 |
| Ziegler–Nichols PID | K_c = 3.0; τ_I = 4; τ_D = 1 |
| Cohen–Coon PI | K_c = 2.292; τ_I = 4.71 |
| P-only offset (K = 2, K_c = 4) | 11.1% |
| Equal-percentage valve at 50% lift, R = 50 | 0.141 of full flow |
The ideal PID law is u = ū + K_c[e + (1/τ_I)∫e dt + τ_D de/dt]. Proportional action alone leaves an offset: for a process of gain K = 2 under K_c = 4 the closed-loop offset to a set-point…
Closed-Loop Stability, Frequency Response, Cascade and Feedforward
The closed loop is stable when all roots of 1 + G_OL(s) = 0 lie in the left half-plane. Routh test: for G_OL = K_c/((s + 1)(2s + 1)(3s + 1)) the characteristic equation is 6s³ + 11s² + 6s + (1 + K_c) = 0; the s¹ entry of the array is [11 × 6 − 6(1 + K_c)]/11, which is positive only for K_c < K_u = 10. At K_u the auxiliary equation 11s² + 11 = 0 gives ω_u = 1 rad/min, so the ultimate period is P_u = 6.28 min; the closed-loop Ziegler–Nichols PID is then K_c = 6, τ_I = 3.14, τ_D = 0.785. The frequency response of K/(τs + 1) has amplitude ratio K/√(1 + ω²τ²) and phase −tan⁻¹(ωτ): for K = 2, τ = 5 and ω = 0.4, AR = 0.894 and φ = -63.4°. For K_c = 2 the same loop has a gain-crossover frequency of 0.373 rad/min and phase margin 74.5°, with gain margin K_u/K_c = 5 (14.0 dB). Good loops have GM > 1.7 (about 4.6 dB) and PM of 30–60°; a time delay adds phase lag −ωθ and lowers the allowable gain.
Cascade control adds an inner (secondary) loop on a fast intermediate variable (jacket temperature or flow) so that disturbances entering the inner loop are corrected before they reach the primary variable; the secondary loop must be several times faster than the primary and its set-point comes from the primary controller. Feed-forward control measures the disturbance and corrects before it acts: for process G_p = K_p/(τ_ps + 1) and disturbance path G_d = K_d/(τ_ds + 1) the ideal compensator is G_ff = −G_d/G_p; for G_p = 2/(3s + 1) and G_d = 1.5/(4s + 1) it is −0.75(3s + 1)/(4s + 1), a static gain of −0.75 with a lead–lag. It depends on model accuracy, so it is combined with feedback trim; it cannot correct unmeasured disturbances. Ratio control is the simplest feed-forward form (blending, fuel-to-air).
| Quantity | Value |
|---|---|
| Ultimate gain and period, 1/((s+1)(2s+1)(3s+1)) | 10; 6.28 min |
| Closed-loop ZN PID | K_c = 6; τ_I = 3.14; τ_D = 0.785 |
| First-order AR and phase, ω = 0.4 | 0.894; -63.4° |
| K_c = 2: phase margin / gain margin | 74.5°; 5 (14.0 dB) |
| Ideal feed-forward static gain | −0.75 |
- Raise proportional gainUntil the loop oscillates steadily
- Read K_u and P_uUltimate gain and ultimate period
- PID settingsK_c = 0.6 K_u, τ_I = P_u/2, τ_D = P_u/8
- DetuneQuarter-decay, about 50% overshoot
The closed loop is stable when all roots of 1 + G_OL(s) = 0 lie in the left half-plane. Routh test: for G_OL = K_c/((s + 1)(2s + 1)(3s + 1)) the characteristic equation is 6s³ + 11s² + 6s +…
Key takeaways
- Pt100: R = 100(1 + AT + BT²) = 138.51 Ω at 100 °C; DP level span ρgh; flow ∝ √ΔP; ISA tags: first letter variable, later letters function (FT, LIC, TCV).
- Linearise about a steady state: τ = A/(dF_out/dh); first order y = KM(1 − e^(−t/τ)); under-damped overshoot exp(−πζ/√(1 − ζ²)); a RHP zero gives inverse response.
- State space ẋ = Ax + Bu: poles are eigenvalues of A and G(s) = C(sI − A)⁻¹B.
- P alone leaves offset 1/(1 + KK_c); I removes it; FOPDT τ = 1.5(t₆₃ − t₂₈), θ = t₆₃ − τ; ZN PID K_c = 1.2τ/(Kθ), τ_I = 2θ, τ_D = 0.5θ.
- Routh gives K_u and the auxiliary equation gives P_u; GM = K_u/K_c; feed-forward G_ff = −G_d/G_p; cascade needs a faster inner loop.
Practice questions (24)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
A Pt100 RTD follows R = 100(1 + 3.9083×10⁻³T − 5.775×10⁻⁷T²) Ω with T in °C. Its resistance at 100 °C in Ω (two decimals) is:
Numerical answer — type the value.
Show answer
Answer: 138.51
R = 100(1 + 0.39083 − 0.005775) = 138.51 Ω; the small quadratic term makes the response slightly non-linear.A tank of area 2 m² drains through F_out = 0.25√h (m³/min, h in m). Linearised at h = 4 m, the time constant τ = A/(dF_out/dh) in min is:
Numerical answer — type the value.
Show answer
Answer: 32
dF_out/dh = k/(2√h) = 0.25/4 = 0.0625; τ = 2/0.0625 = 32 min.A first-order process with K = 2 and τ = 5 min receives a step of 3 units. The output at t = 10 min (three decimals) is:
Numerical answer — type the value.
Show answer
Answer: 5.188
y = KM(1 − e^(−t/τ)) = 6(1 − e^(−2)) = 5.188.
Show the other 21 questions
An under-damped second-order process has damping ratio ζ = 0.4. The percent overshoot for a step input (one decimal) is:
Numerical answer — type the value.
Show answer
Answer: 25.4
Overshoot = exp(−πζ/√(1 − ζ²)) = exp(−1.2566/0.9165) = 0.2538 = 25.4%; the decay ratio is its square, 0.0644.A process transfer function with a right-half-plane zero, such as 2(1 − s)/((5s + 1)(s + 1)), shows for a positive step input:
Show answer
Answer: C — an initial movement in the wrong direction before the output settles at a positive value
The positive and negative first-order paths have different speeds; the fast negative path dominates at first, so the output dips below zero (here to about −0.11) before the slow positive path takes over; the system is stable but harder to control.For a process with FOPDT parameters K = 2, τ = 10 min and θ = 2 min, the Ziegler–Nichols open-loop PID gain K_c = 1.2τ/(Kθ) is:
Numerical answer — type the value.
Show answer
Answer: 3
The open-loop Ziegler–Nichols PID rule gives K_c = 1.2 × 10/(2 × 2) = 3.0, with τ_I = 2θ = 4 min and τ_D = 0.5θ = 1 min.A proportional-only controller with K_c = 4 acts on a first-order process of steady-state gain 2. After a unit set-point step, the offset (fraction of the step, three decimals) is:
Numerical answer — type the value.
Show answer
Answer: 0.111
Offset = 1/(1 + KK_c) = 1/(1 + 8) = 0.111; integral action would remove it.A liquid control valve must pass 100 gpm of water (SG = 1) with a pressure drop of 25 psi. The required valve coefficient C_v is:
Numerical answer — type the value.
Show answer
Answer: 20
The liquid sizing equation is C_v = q/√(ΔP/SG) = 100/√25 = 20, in gpm and psi units.The loop G_OL = K_c/((s + 1)(2s + 1)(3s + 1)) has characteristic equation 6s³ + 11s² + 6s + (1 + K_c) = 0. The ultimate gain K_u from the Routh array is:
Numerical answer — type the value.
Show answer
Answer: 10
The s¹ entry [11 × 6 − 6(1 + K_c)]/11 vanishes at 66 = 6(1 + K_c), so K_u = 10; the loop is stable for K_c < 10.For the same loop at K_c = 2 the gain margin in dB (one decimal) is:
Numerical answer — type the value.
Show answer
Answer: 14.0
GM = K_u/K_c = 10/2 = 5; in decibels 20 log₁₀ 5 = 14.0 dB.Which statements are correct?
Show answer
Answer: B — The ideal feed-forward controller is −G_d/G_p; D — A cascade secondary loop should respond faster than the primary loop
Feed-forward cancels the disturbance with −G_d/G_p, and cascade needs a fast inner loop. Integral action adds phase lag, which lowers the margin, and a pure dead time changes only the phase (|e^(−jωθ)| = 1).A gauge reads 200 kPa (gauge) where the atmospheric pressure is 101.3 kPa. The absolute pressure, in kPa (one decimal), is ____.
Numerical answer — type the value.
Show answer
Answer: 301.3
p_abs = p_gauge + p_atm = 200 + 101.3 = 301.3 kPa. Subtracting the atmosphere (98.7 kPa) treats the gauge reading as absolute and the answer as gauge, the reverse of the definition.A level instrument that infers liquid level from the buoyancy force on a long partly submerged body is a
Show answer
Answer: A — displacer
A displacer barely moves; the apparent weight it loses (by Archimedes) is proportional to the submerged length. A float rides on the surface instead, the tempting look-alike; the bubbler measures hydrostatic back-pressure.A process G(s) = 3/(4s + 1) receives a step of 2 units. The final change in its output is ____.
Numerical answer — type the value.
Show answer
Answer: 6
Final value = K × step = 3 × 2 = 6 (s → 0 in sG(s)·2/s). Answering 8 multiplies by τ = 4, which only sets how fast the output gets there.A liquid flows in plug flow through a 50 m transfer line at 2 m/s. The transport dead time, in s, is ____.
Numerical answer — type the value.
Show answer
Answer: 25
θ = L/v = 50/2 = 25 s. Multiplying (100) mixes up the units; dead time adds phase lag without changing gain, which is why it limits controller gain.Derivative action is usually omitted from flow-control loops because
Show answer
Answer: B — flow signals are noisy and the loop is already fast
Turbulent flow measurements carry high-frequency noise that derivative action would amplify into valve chatter, and the loop has little lag to anticipate. Flow loops do need integral action to remove offset, so the "never show offset" option is false.A linear feedback loop is stable if and only if all roots of 1 + G_c G_p = 0 lie
Show answer
Answer: B — in the open left half of the s-plane
Each closed-loop pole contributes e^(pt), which decays only if Re(p) < 0. The unit-circle test applies to z-plane (sampled-data) poles; roots on the imaginary axis give sustained oscillation, i.e. marginal stability.A second-order process has denominator 4s² + 2s + 1, i.e. τ²s² + 2ζτs + 1. Its damping ratio ζ (one decimal) is ____.
Numerical answer — type the value.
Show answer
Answer: 0.5
τ² = 4 gives τ = 2, and 2ζτ = 2 gives ζ = 0.5, an under-damped process. Using τ = 4 (forgetting the square root) gives ζ = 0.25.A unit impulse is applied to G(s) = 2/(5s + 1) (time in min). The output at t = 5 min (three decimals) is ____.
Numerical answer — type the value.
Show answer
Answer: 0.147
y(t) = (K/τ)e^(−t/τ) = 0.4e^(−1) = 0.147. The step response at the same time, 2(1 − e^(−1)) = 1.264, is the tempting mix-up; an impulse response decays back to zero.For an FOPDT process with K = 2, τ = 10 min and θ = 2 min, the Ziegler–Nichols open-loop (reaction-curve) PI gain K_c = 0.9τ/(Kθ) is ____ (two decimals).
Numerical answer — type the value.
Show answer
Answer: 2.25
K_c = 0.9 × 10/(2 × 2) = 2.25; the PI setting is 0.9/1.2 = 0.75 of the PID gain, giving up some gain because integral action adds lag. Using 1.2τ/(Kθ) = 3.00 is the PID value.A loop has ultimate gain K_u = 8 and is operated at K_c = 2. Its gain margin (as a ratio) is ____.
Numerical answer — type the value.
Show answer
Answer: 4
GM = K_u/K_c = 8/2 = 4 (about 12 dB): the gain could be quadrupled before sustained oscillation. Subtracting (6) mixes up a ratio with a difference.A Pt100 RTD carries a 1 mA measuring current; its self-heating dissipation constant is 2 mW/°C. At 100 Ω the self-heating error, in °C (two decimals), is ____.
Numerical answer — type the value.
Show answer
Answer: 0.05
P = I²R = 10⁻⁶ × 100 = 0.1 mW, and ΔT = P/δ = 0.1/2 = 0.05 °C. Using P = IR (0.1 W) treats a voltage as a power and gives a 50 °C error, a thousand times too large.Two non-interacting first-order lags 1/(s + 1) and 1/(2s + 1) in series receive a unit step. The output at t = 2 (four decimals) is ____.
Numerical answer — type the value.
Show answer
Answer: 0.3996
y = 1 − (τ₁e^(−t/τ₁) − τ₂e^(−t/τ₂))/(τ₁ − τ₂) = 1 − 2e^(−1) + e^(−2) = 0.3996. Multiplying the two first-order step responses, (1 − e^(−2))(1 − e^(−1)) = 0.5466, is wrong: series lags convolve, they do not multiply in time.A loop has G_OL = K_c e^(−s)/(s + 1) (exact dead time, no approximation). Its ultimate gain K_u (three decimals) is ____.
Numerical answer — type the value.
Show answer
Answer: 2.262
Phase crossover: −ω − tan⁻¹ω = −π gives ω_u = 2.0288 rad/s, and K_u = √(1 + ω_u²) = 2.262. Routh on the bare lag would say "stable for all K"; the dead time is what creates a finite limit, so ignoring it is the trap.