Skip to content
GATEiit

GATE EE · Control Systems

P, PI and PID controllers

Proportional, Proportional-Integral (PI), Proportional-Derivative (PD), and PID control laws, Ziegler-Nichols tuning, integral windup, and derivative kick mitigation.

Before you start

Concept notes

1. Time-Domain and Laplace Laws of P, PI, PD, and PID

Standard parallel (non-interacting) PID controller mixes present error e(t), accumulated past error, and anticipated future slope:

u(t)=Kpe(t)+Ki∫0te(τ) dτ+Kdde(t)dt  ⟹  Gc(s)=Kp(1+1Tis+Tds)

Controller Mode Pole-Zero Modification Transient & Stability Impact Steady-State Impact
P (Kp) Adjusts loop gain only Speeds rise time, lowers margin, can leave sustained ringing Shrinks Type-0 offset without reaching zero
PI (Kp+Ki/s) Adds 1 pole at origin s=0 + 1 zero −Ki/Kp Degrades phase margin (slower/more oscillatory) unless zero sits low Increases system Type by +1 (zero step offset)
PD (Kp+Kds) Adds 1 finite LHP zero −Kp/Kd Raises damping ζ, slashes overshoot %Mp, widens BW Leaves Type & steady-state step offset unchanged
PID Adds pole s=0 + 2 LHP zeros Fast rise + low overshoot + high relative stability Raises Type by +1 for zero offset
R+e(t)KpKi / sKd spresent errorpast (integral)future (slope)u(t)Gp(s)plantY−Gc(s) = Kp + Ki/s + Kds = Kp(1 + 1/(Tis) + Tds)
Parallel PID: the error feeds proportional, integral and derivative paths whose sum u(t) drives the plant.

2. Ziegler-Nichols Closed-Loop Tuning Method

For empirical plant tuning without deriving exact ODEs: turn off I and D (Ki=0,Kd=0), raise proportional gain Kp until output hits sustained oscillation at ultimate gain Ku and ultimate period Pu (ωu=2π/Pu):

  • P: Kp=0.5 Ku
  • PI: Kp=0.45 Ku, Ti=Pu/1.2
  • PID: Kp=0.6 Ku, Ti=Pu/2, Td=Pu/8 (targets roughly 1/4 amplitude decay ratio).

3. Practical Realization: Derivative Filter, Setpoint Kick, and Anti-Windup

  1. Filtered derivative (Kds1+sTd/N with N≈10): Prevents improper differentiators from exploding on high-frequency sensor noise.
  2. Derivative on measurement (−Kdy˙ vs Kde˙): Avoids huge derivative kick impulse spikes when setpoint r(t) steps abruptly.
  3. Integrator anti-windup: Stops integrator accumulation whenever the actuator saturates at limits, eliminating large delayed overshoot.

Formulas to remember

Ideal Parallel PID TransferIntegral time Ti = Kp / Ki; Derivative time Td = Kd / Kp
Gc(s)=Kp+Kis+Kds=Kp(1+1Tis+Tds)
PI Pole-Zero FormAdds zero at -Ki/Kp to compensate destabilizing -90 deg phase of 1/s above corner
GPI(s)=Kp(s+Ki/Kp)s
Filtered Realizable PIDStrictly proper high-frequency pole clamps sensor noise gain
Gc(s)=Kp+Kis+Kds1+τfs
Ziegler-Nichols Ultimate PIDExperimental critical-oscillation tuning yielding quarter-decay transient
Kp=0.6 Ku,Ti=0.5 Pu,Td=0.125 Pu
Second-Order Damping With PD ControlModifies effective damping coefficient without lowering steady-state Type-1 velocity constant
1+(Kp+Kds)ωn2s(s+2ζωn)=0

Common mistakes

  • Forgetting to check closed-loop stability before claiming PI integral action guarantees zero steady-state step error (raising Ki too far destabilizes the loop).
  • Confusing Ki=Kp/Ti with KpTi when converting textbook standard form Kp(1+1/(Tis)+Tds) into parallel Ki and Kd gains.
  • Expecting PD control to eliminate steady-state step offset on a Type-0 plant (s-term multiplies e, vanishing once e˙=0, so PD leaves Type unchanged).
  • Applying derivative gain directly to raw reference steps in digital controllers without filtering or separating measurement derivative (−Kdy˙).
  • Tuning Z-N gains with Pu measured in rad/s instead of seconds (period Pu=2π/ωu).

Worked examples

Try each step yourself, then reveal the working.

Example 1: PD Controller Tuning for Target Damping Ratio

numerical

Unity-feedback plant G(s)=10s(s+2) uses PD controller Gc(s)=Kp+Kds. Choose Kp and Kd so closed-loop poles have ωn=5 rad/s and ζ=0.7.

  1. Step 1: Derive characteristic polynomial with PD

    Try it on paper first.

Example 2: Ziegler-Nichols Gain Calculation from Marginally Stable Plant

numerical

Plant G(s)=1s(s+1)(s+3) operates under proportional gain K until sustained oscillations occur. Compute Ku,Pu, and Z-N PID gains (Kp,Ki,Kd).

  1. Step 1: Apply Routh to s^3 + 4s^2 + 3s + K = 0

    Try it on paper first.

Example 3: Step-Input Integral Windup and Derivative Kick Remedies

conceptual

Explain two real-world artifacts when switching a raw parallel PID controller onto a sudden setpoint step r(t)=10 u(t) feeding an actuator bounded to ±5 V.

  1. Step 1: Diagnose derivative kick and fix

    Try it on paper first.

Example 4: PI Controller Choice for Stable Type-0 Thermal Processes

conceptual

Why do industrial furnace temperature loops overwhelmingly use PI (with tiny or zero D) rather than PD or pure P controllers?

  1. Step 1: Address thermal inertia and noise

    Try it on paper first.

Previous year questions

No official GATE EE question is tagged with this topic yet. The topic test below uses practice questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EE syllabus; being checked by a reviewer. Updated 2026-12-04. Spotted a mistake? Use Report an issue on any question, or contact us.