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

Section 8 of the CH paper lists measurement of process variables, sensors, P&ID symbols, process modelling and linearisation, state-space models, transfer functions and dynamic responses, inverse response, the process reaction curve, P, PI and PID modes, control valves, closed-loop stability, frequency response, tuning, and cascade and feed-forward control — and the existing chapter explains each with no calculation. A draining tank (A = 2 m², outflow 0.25√h) linearised at 4 m has a time constant of 32 min; an under-damped process with ζ = 0.4 overshoots by 25.4%; the process 2(1 − s)/((5s + 1)(s + 1)) first moves -0.112 the wrong way; a reaction curve with K = 2, τ = 10 and θ = 2 gives a Ziegler–Nichols PID of K_c = 3.0; a loop 1/((s + 1)(2s + 1)(3s + 1)) goes unstable above K_c = 10 with a period of 6.28; and K_c = 2 leaves a phase margin of 74.5°.
Overview

Measurement of Process Variables, Sensors and P&ID Symbols

2 min read · 2 parts

Temperature. A platinum RTD follows R = R₀(1 + AT + BT²) with R₀ = 100 Ω (Pt100), A = 3.9083×10⁻³, B = −5.775×10⁻⁷: R(100 °C) = 138.51 Ω; it is accurate and linear but slower and self-heated. A thermocouple (type K about 41 µV/°C) needs cold-junction compensation, is fast and cheap, and its output is a voltage; a thermowell adds a first-order lag of seconds to minutes. Pressure is by Bourdon gauge or a diaphragm transducer; level by a differential-pressure cell, where the span is ΔP = ρgh = 1000 × 9.81 × 2.5 = 24.52 kPa for a 2.5 m water column (a suppressed or elevated zero handles the wet leg); flow by orifice or Venturi (Q ∝ √ΔP, so the square root must be extracted), Coriolis (mass flow), magnetic (conducting liquids) and vortex meters. Composition by pH electrode, conductivity, chromatograph and infrared analysers, which carry large dead times.

P&ID and ISA tags. The first letter of a tag names the measured variable (F flow, L level, P pressure, T temperature, A analysis), the following letters the function (I indicator, C controller, T transmitter, R recorder, A alarm, V valve, E element, S switch, Y relay). So FT is a flow transmitter, LIC a level indicating controller, TCV a temperature control valve, PAH a pressure alarm high. A circle is a field-mounted instrument, a circle with a horizontal line a panel-mounted one, a circle in a square a computer function; dashed lines are electrical signals, a line with cross-hashes is pneumatic (3–15 psi), and solid lines are process pipes. Pneumatic signals use 20–100 kPa and electronic transmitters 4–20 mA, whose live zero detects a broken wire. Fail-safe is chosen by the valve action: air-to-open valves fail closed (a steam supply valve), air-to-close valves fail open (cooling water).

TagMeaning
FTflow transmitter
LIClevel indicating controller
TCVtemperature control valve
PAHpressure alarm, high
Pt100 at 100 °C138.51 Ω
DP cell span, 2.5 m water24.52 kPa

Temperature. A platinum RTD follows R = R₀(1 + AT + BT²) with R₀ = 100 Ω (Pt100), A = 3.9083×10⁻³, B = −5.775×10⁻⁷: R(100 °C) = 138.51 Ω; it is accurate and linear but slower and…

Linearisation, State Space, Dynamic Responses and Inverse Response

2 min read · 2 parts

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.

ProcessResult
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 ratio25.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

2 min read · 1 part

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.

RuleSetting (K = 2, τ = 10, θ = 2)
Ziegler–Nichols PIK_c = 2.25; τ_I = 6.66
Ziegler–Nichols PIDK_c = 3.0; τ_I = 4; τ_D = 1
Cohen–Coon PIK_c = 2.292; τ_I = 4.71
P-only offset (K = 2, K_c = 4)11.1%
Equal-percentage valve at 50% lift, R = 500.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

3 min read · 3 parts

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).

QuantityValue
Ultimate gain and period, 1/((s+1)(2s+1)(3s+1))10; 6.28 min
Closed-loop ZN PIDK_c = 6; τ_I = 3.14; τ_D = 0.785
First-order AR and phase, ω = 0.40.894; -63.4°
K_c = 2: phase margin / gain margin74.5°; 5 (14.0 dB)
Ideal feed-forward static gain−0.75
🎯 Ziegler–Nichols tuning, worked
In the closed-loop method, raise the proportional gain until the loop oscillates steadily: the ultimate gain K_u and the ultimate period P_u then give PID settings K_c = 0.6 K_u, τ_I = P_u/2 and τ_D = P_u/8. For K_u = 4 and P_u = 10 min the controller is K_c = 2.4, τ_I = 5 min and τ_D = 1.25 min. The settings are aggressive and give a quarter-decay response, about 50% overshoot, so they are usually detuned. The Routh array supplies K_u from the row that vanishes, and the frequency of oscillation from the auxiliary equation.
Closed-loop (ultimate-gain) tuning
  1. Raise proportional gainUntil the loop oscillates steadily
  2. Read K_u and P_uUltimate gain and ultimate period
  3. PID settingsK_c = 0.6 K_u, τ_I = P_u/2, τ_D = P_u/8
  4. 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.

  1. 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.
  2. 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.
  3. 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
  1. 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.
  2. 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:

    1. an immediate jump to the final value
    2. a pure dead time with no distortion
    3. an initial movement in the wrong direction before the output settles at a positive value
    4. an unbounded output
    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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. Which statements are correct?

    1. Integral action increases the phase margin
    2. The ideal feed-forward controller is −G_d/G_p
    3. A dead time changes the amplitude ratio of the process
    4. A cascade secondary loop should respond faster than the primary loop
    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).
  9. 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.
  10. A level instrument that infers liquid level from the buoyancy force on a long partly submerged body is a

    1. displacer
    2. bubbler tube
    3. float switch on a hinged arm
    4. radar gauge
    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.
  11. 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.
  12. 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.
  13. Derivative action is usually omitted from flow-control loops because

    1. valves cannot respond to derivative signals
    2. flow signals are noisy and the loop is already fast
    3. flow loops never show offset
    4. derivative action adds integral windup
    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.
  14. A linear feedback loop is stable if and only if all roots of 1 + G_c G_p = 0 lie

    1. in the right half-plane
    2. in the open left half of the s-plane
    3. on the imaginary axis
    4. inside the unit circle of the s-plane
    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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.