ChemProCal Academy ChemProCal Academy Academy
🔥 1d Streak
⚡ 0 XP
⚙ + Open Calculator Login Sign Up
Learn / Process Dynamics & Control (PDC) / Feedback Control & Controller Tuning
Feedback Control & Controller Tuning 54 Practice Questions ⚡ Live Calculator Connected

PID Control Modes (Proportional, Integral, Derivative Action)

Covers Proportional-Integral-Derivative (PID) control modes, analyzing mathematical controller algorithms, proportional band, steady-state offset elimination, derivative lead action, and direct versus reverse action.

⚡ Open Live Tool Practice Questions ↓

1. Theoretical Foundations & Engineering Mechanics

Industrial Feedback Control Architecture

In a feedback loop, the controller compares the measured process variable $y(t)$ against the desired setpoint $y_{sp}(t)$ to compute the error signal:

$$e(t) = y_{sp}(t) - y(t)$$

The standard ideal continuous PID controller algorithm calculates the manipulated variable output $u(t)$ as:

$$u(t) = \bar{u} + K_c \left[ e(t) + \frac{1}{\tau_I} \int_0^t e(t') dt' + \tau_D \frac{de(t)}{dt} \right]$$

Where $\bar{u}$ is the nominal bias (manual reset) output, $K_c$ is controller gain, $\tau_I$ is integral (reset) time, and $\tau_D$ is derivative (rate) time.

The Laplace transform of the controller output (in deviation variables) is:

$$G_c(s) = \frac{U(s)}{E(s)} = K_c \left( 1 + \frac{1}{\tau_I s} + \tau_D s \right) = K_c + \frac{K_I}{s} + K_D s$$

Individual Control Mode Roles

  1. Proportional Mode ($P$): Produces a control action directly proportional to current error. Characterized either by gain $K_c$ or Proportional Band ($PB$):
    $$PB = \frac{100\%}{K_c}$$
    P-only control always leaves a persistent steady-state offset following load disturbances because a non-zero error is required to sustain valve displacement away from bias $\bar{u}$.
  2. Integral Mode ($I$): Accumulates past error over time. Continues driving the control valve until error is driven strictly to zero:
    $$\lim_{t \to \infty} e(t) = 0$$
    However, integral action introduces a pole at the origin ($1/s$), adding $-90^\circ$ of phase lag and reducing closed-loop stability margins.
  3. Derivative Mode ($D$): Anticipates future error trajectory based on current rate of change $de/dt$. Provides phase lead ($+90^\circ$), boosting stability and enabling higher controller gains, but drastically amplifies high-frequency measurement noise.

Direct vs Reverse Controller Action

  • Direct Acting ($K_c < 0$ or +Action): Controller output increases when measurement increases ($PV \uparrow \implies OUT \uparrow$). Example: Level control where valve drains bottom liquid.
  • Reverse Acting ($K_c > 0$ or -Action): Controller output decreases when measurement increases ($PV \uparrow \implies OUT \downarrow$). Example: Heat exchanger steam valve (temperature rises $\implies$ throttle steam valve shut).

2. Governing Equations & Mathematical Formulation

$$e(t) = y_{sp}(t) - y(t)$$
$$u(t) = \bar{u} + K_c \left[ e(t) + \frac{1}{\tau_I} \int_0^t e(t') dt' + \tau_D \frac{de}{dt} \right]$$
$$G_c(s) = K_c \left( 1 + \frac{1}{\tau_I s} + \tau_D s \right)$$
$$PB = \frac{100\%}{|K_c|}$$
$$\text{Offset} = e(\infty) = \frac{\Delta y_{sp}}{1 + K_{ol}} + \frac{K_d \Delta d}{1 + K_{ol}}$$

💡 Formulated according to international process engineering standards and dimensionless groups.
📌 Key Engineering Assumptions

• The feedback error signal is computed instantaneously without transmission lag.
• Actuator response is linear and unsaturated between 0% and 100% stroke.
• Derivative mode incorporates a first-order noise filter: $G_D(s) = \frac{\tau_D s}{\alpha \tau_D s + 1}$ with $\alpha \approx 0.05 - 0.1$.
• The process can be adequately represented by linear transfer functions around the operating point.

⚠️ Common Industrial Pitfalls

• Confusing reset time $\tau_I$ (minutes/repeat) with reset rate $1/\tau_I$ (repeats/minute) on industrial DCS configuration screens.
• Specifying incorrect controller action (direct instead of reverse), causing positive feedback and driving valves immediately to full-open or full-closed saturation.
• Using derivative action on noisy signals (such as liquid level or orifice flow meters) without adequate pre-filtering.
• Attempting to eliminate steady-state offset with P-only control by cranking up $K_c$ to infinity, inducing sustained closed-loop oscillations.

3. Applied Engineering Worked Example

Design Problem Specification

Standard industrial operating and sizing conditions.

Step-by-Step Mathematical Derivation & Verification

Problem Statement:
A chemical reactor temperature process has transfer function $G_p(s) = \frac{2.5}{4.0 s + 1}\text{ }[^\circ\text{C}/\%]$ and disturbance transfer function $G_d(s) = \frac{1.0}{4.0 s + 1}\text{ }[^\circ\text{C}/(\text{kg/min})]$. The sensor and control valve have unity steady-state gains ($K_m = 1, K_v = 1$).

  1. For a proportional-only controller with $K_c = 3.0\text{ \%/}^\circ\text{C}$, calculate the closed-loop steady-state offset resulting from a disturbance load step $\Delta d = +5.0\text{ kg/min}$.
  2. Calculate the corresponding Proportional Band ($PB$).
  3. Show that adding integral action ($G_c(s) = K_c (1 + 1/(\tau_I s))$) reduces the steady-state offset to exactly zero.

Step-by-Step Analytical Solution:

  1. P-only closed-loop offset:
    Closed-loop load transfer function:
    $$\frac{Y(s)}{D(s)} = \frac{G_d(s)}{1 + G_c(s) G_p(s)} = \frac{\frac{1.0}{4.0 s + 1}}{1 + 3.0 \frac{2.5}{4.0 s + 1}} = \frac{1.0}{(4.0 s + 1) + 7.5} = \frac{1.0}{4.0 s + 8.5}$$
    For a step disturbance $D(s) = \frac{5.0}{s}$:
    Applying the Final Value Theorem:
    $$y'(\infty) = \lim_{s \to 0} [s Y(s)] = \lim_{s \to 0} \left[ s \cdot \frac{1.0}{4.0 s + 8.5} \cdot \frac{5.0}{s} \right] = \frac{5.0}{8.5} = \mathbf{0.588^\circ\text{C}}$$
    Since $y_{sp} = 0$, the steady-state offset is:
    $$\text{Offset} = y_{sp} - y'(\infty) = 0 - 0.588 = \mathbf{-0.588^\circ\text{C}}$$

  2. Proportional Band ($PB$):
    $$PB = \frac{100\%}{K_c} = \frac{100\%}{3.0} = \mathbf{33.33\%}$$

  3. Elimination of offset via PI control:
    With $G_c(s) = K_c \left( \frac{\tau_I s + 1}{\tau_I s} \right)$:
    $$\frac{Y(s)}{D(s)} = \frac{G_d(s)}{1 + G_c(s) G_p(s)} = \frac{\frac{1.0}{4.0 s + 1}}{1 + K_c \frac{\tau_I s + 1}{\tau_I s} \frac{2.5}{4.0 s + 1}} = \frac{\tau_I s (4.0 s + 1)}{(4.0 s + 1)\tau_I s + 2.5 K_c (\tau_I s + 1)}$$
    Applying Final Value Theorem for load step $D(s) = 5.0/s$:
    $$y'(\infty) = \lim_{s \to 0} \left[ s \cdot \frac{\tau_I s}{\tau_I s (4.0 s + 1) + 2.5 K_c (\tau_I s + 1)} \cdot \frac{5.0}{s} \right] = \frac{0}{2.5 K_c} = \mathbf{0.000^\circ\text{C}}$$
    Integral action completely drives the error and offset to zero.

Interactive Practice Drill: PID Control Modes (Proportional, Integral, Derivative Action)

Instant answer checking, step rationales, and tolerance scoring.
Question 1 of 15
Loading interactive questions...

Completed this lesson?

Record your study progress, build your daily streak, and unlock +25 XP toward your next engineering tier.

⚡

Connected ChemProCal Tool

Run numerical simulations with real physical property packages.
Control Valve Sizing - Liquid

Size control valves for incompressible fluids.

Verified Equations Engineering Tolerances
Launch Live Tool ⚡