Control System Fundamentals
A control system manages, commands, and regulates the behaviour of other systems. Every industrial process relies on feedback loops to maintain desired output despite disturbances.
???? Closed-Loop Gain
The fundamental relationship governing every feedback control system. The denominator (1 + GH) is the characteristic equation.
⚡ Signal Types
Standard test signals used to characterise system response: steady-state error, transient, settling.
???? System Types
Number of pure integrators (1/s poles) in the open-loop transfer function determines the system type and steady-state error.
Laplace Transform converts differential equations into algebraic equations: ℒ{f(t)} = F(s) = ∫₀^∞ f(t)e⁻ˢᵗ dt — enabling transfer function analysis in the s-domain.
Transient Response Specifications
PID Controller — Deep Dive
The Proportional-Integral-Derivative controller is the most widely deployed controller in process industries — over 95% of industrial control loops use some form of PID.
⚙️ Proportional (P)
∫ Integral (I)
∂ Derivative (D)
Ziegler-Nichols Tuning Rules
| Controller | Kp | Ti (=Kp/Ki) | Td (=Kd/Kp) | Use Case |
|---|---|---|---|---|
| P | 0.5 × Ku | ∞ | 0 | Simple, offset accepted |
| PI | 0.45 × Ku | Pu / 1.2 | 0 | No noise, eliminate offset |
| PID | 0.6 × Ku | Pu / 2 | Pu / 8 | Fastest response with stability |
| PD | 0.8 × Ku | ∞ | Pu / 8 | Noisy environments, no integrator |
Ku = Ultimate gain (oscillation onset), Pu = Ultimate period of sustained oscillation
MATLAB / Simulink Implementation
Integral Windup — When the actuator saturates, the integrator continues accumulating error, causing large overshoot when the setpoint is reached. Always implement anti-windup clamping in real systems.
Industrial Best Practice — Use derivative-on-measurement (not error) to avoid derivative kick during setpoint changes. Apply a first-order low-pass filter: Gd(s) = Kd·s/(τf·s+1)
Frequency Domain Methods
Bode plots, Nyquist diagrams, Nichols charts, and Root Locus are the primary tools for analysing stability margins, bandwidth, and frequency-domain performance of control systems.
???? Bode Plot — Gain & Phase Margins
- GM
Gain Margin
Amount gain can increase before instability. Measured at ωpc (phase = −180°). GM > 6 dB recommended.
- PM
Phase Margin
Phase above −180° at ωgc (gain = 0 dB). PM > 45° → well-damped, PM ≈ 60° → optimal.
- BW
Bandwidth ωBW
Frequency where |T(jω)| drops to −3 dB. Higher BW = faster closed-loop response.
- SM
Sensitivity Peak Ms
Max of |S(jω)| = 1/|1+L|. Ms < 2 (6 dB) for robust stability.
???? Gain Margin (GM)
Rule of thumb: GM > 6 dB minimum; > 10 dB for robust industrial loops.
???? Phase Margin (PM)
Design target: PM between 45°–70° for good transient response.
???? Nyquist Plot & Stability Criterion
M-CIRCLES — CONSTANT |T(jω)|
M-circles are loci of constant closed-loop gain magnitude drawn on the Nyquist plane. They are circles centred on the real axis at −M²/(M²−1) with radius M/(M²−1).
| M value | dB | Centre (Re) | Meaning |
|---|---|---|---|
| 0.707 | −3 dB | −1.0 | −3 dB bandwidth |
| 1.0 | 0 dB | −0.5 | Equal gain locus |
| 1.3 | +2.3 dB | −2.0 | Typical peaking limit |
| 2.0 | +6 dB | −1.33 | Excessive resonance |
???? Nichols Chart — with M-circles & N-circles
NICHOLS vs BODE vs NYQUIST
| Method | Axes | GM/PM | Best For |
|---|---|---|---|
| Bode | |G| dB, ∠G vs ω | Direct read | Design, loop shaping |
| Nyquist | Im vs Re of G(jω) | Geometric | RHP poles, MIMO |
| Nichols | |G|dB vs ∠G | Direct read | M-circles, closed-loop |
Nichols chart advantage: The M-circle tangent to the open-loop locus directly gives the closed-loop resonant peak M_p — no separate calculation needed. The tangent M-circle radius = M_p.
???? Root Locus — Rules & Asymptote Construction
ROOT LOCUS CONSTRUCTION RULES
- 1Branches = Poles
Number of branches = number of open-loop poles n. Each starts at a pole (K=0) and ends at a zero or infinity (K→∞).
- 2Real Axis Rule
Locus on real axis to the left of an odd total count of real poles + real zeros.
- 3Asymptote Angles
For n−m branches going to infinity:
φ_k = (2k+1)·180° ───────────────── n − m k = 0, 1, 2, …, (n−m−1) Example (n=3, m=1 → 2 asymptotes): φ₀ = 1×180°/2 = 90° φ₁ = 3×180°/2 = 270° - 4Asymptote Centroid σaσa = Σ(real poles) − Σ(real zeros) ───────────────────────── n − m
- 5Breakaway / Break-in
Points where locus leaves/enters real axis. Solve dK/ds = 0 on real-axis segment.
- 6Imaginary Axis Crossing
Use Routh-Hurwitz on characteristic polynomial to find gain K where poles hit jω-axis → stability boundary.
Nyquist Stability Criterion (full statement) — Z = P − N, where Z = number of closed-loop RHP poles, P = number of open-loop RHP poles, N = net clockwise encirclements of −1+j0. A stable closed-loop system requires Z = 0. For a stable open-loop plant (P = 0), the Nyquist plot must have zero net encirclements of the −1 point.
State-Space Representation
State-space is the foundation of modern control theory — enabling multi-input multi-output (MIMO) systems, controllability, observability, and optimal control design.
???? State-Space Equations
???? Transfer Function ↔ State-Space
✅ Controllability
Test using rank(ctrb(A,B)) in MATLAB. Essential for pole placement and LQR design.
???? Observability
Required for state estimator (Luenberger observer or Kalman filter) design. Check with rank(obsv(A,C)).
???? Pole Placement
Choose poles for desired transient response. System must be controllable.
LQR — Linear Quadratic Regulator (Optimal Control)
Q matrix — weights state deviations (larger Q → aggressive correction of states)
R matrix — weights control effort (larger R → more conservative actuator use, less energy)
Kalman Filter — Optimal State Estimator
Stability Analysis Methods
A system is BIBO stable if every bounded input produces a bounded output. Equivalently, all closed-loop poles must lie in the left-half s-plane (LHP).
Algebraic test — count sign changes in first column of Routh array
Encirclement of -1+j0 point determines stability via encirclement rule
GM > 6 dB and PM > 45° ensures robust stability with adequate margins
V(x) > 0 and V̇(x) < 0 proves asymptotic stability for nonlinear systems
Routh-Hurwitz — Worked Example
Routh Special Cases: (1) Zero in first column — replace with ε>0 and evaluate. (2) Entire row zeros — use auxiliary polynomial (pole on jω-axis).
Stability vs Response — s-Plane Pole Location Map
Digital Control Systems
Modern control is implemented digitally on PLCs, DSPs, and embedded systems. Continuous-time designs must be discretised and sampling effects carefully managed.
z-Transform Pairs
| f(t) / f[k] | F(s) | F(z) |
|---|---|---|
| Impulse δ[k] | 1 | 1 |
| Step u[k] | 1/s | z/(z−1) |
| Ramp kT·u[k] | 1/s² | Tz/(z−1)² |
| e^(-akT) | 1/(s+a) | z/(z−e^{-aT}) |
| sin(ωkT) | ω/(s²+ω²) | z·sin(ωT)/(z²-2zcos(ωT)+1) |
Discretisation Methods
- ZOHZero-Order Hold
Most common. Exact mapping for piecewise constant inputs. Use
c2d(G,'zoh') - TusTustin (Bilinear)
s ≈ (2/T)(z−1)/(z+1). Preserves frequency response shape up to Nyquist.
- FWDForward Euler
s ≈ (z−1)/T. Simple but less accurate. Can cause instability at large T.
Shannon Sampling Theorem & Nyquist Rate
Industrial Control Architecture
Real process industries use layered automation architectures — from field sensors up through PLCs, SCADA systems, and enterprise MES/ERP integration.
Industrial Protocols & Standards
???? Field Protocols
HART allows digital comms overlaid on 4-20mA loops — most widely used for smart transmitter configuration.
???? Industrial Ethernet
OPC-UA is the modern standard for secure, platform-independent data exchange — foundation of IIoT integration.
???? Safety Standards
Safety Integrity Level (SIL) quantifies the required risk reduction of a safety function in process industries.
Common Industrial Control Loops
| Loop Type | Controlled Variable | Typical Sensor | Actuator | Controller |
|---|---|---|---|---|
| Flow | Flow Rate | Coriolis, DP, Vortex | Control Valve | PI (fast, noisy) |
| Level | Tank Level | DP, Radar, Ultrasonic | Pump, Valve | PID (P or PI common) |
| Pressure | Process Pressure | DP/gauge transmitter | Pressure regulator | PID (tight tuning) |
| Temperature | Temp / Heat Transfer | PT100, Thermocouple | Heater, Steam valve | PID (slow process) |
| Cascade | Primary + Secondary | Multiple sensors | Multiple actuators | Master-Slave PID |
| Ratio | A/B flow ratio | Two flow meters | Two control valves | Ratio controller |
Advanced Control Strategies
Beyond PID — modern control strategies that handle constraints, nonlinearities, uncertainty, and multi-variable interactions critical in today’s complex industrial processes.
???? Model Predictive Control (MPC) — Industry Standard for MIMO
- ✓Handles Constraints Explicitly
Input/output/rate constraints built into optimisation — crucial for actuator limits.
- ✓MIMO Coordination
Handles interactions between multiple inputs and outputs simultaneously.
- ✓Feedforward of Known Disturbances
Future setpoint changes and measurable disturbances included in prediction horizon.
???? Fuzzy Logic Control
Encodes expert knowledge as linguistic rules. Excels where mathematical model is unavailable. Used in washing machines to power plants.
• Centroid (centre of gravity) — most common
• Mean of Maximum (MOM)
• Bisector — median of area
• Smallest/Largest of Maximum
???? Adaptive Control
Controller parameters adjust online to handle time-varying processes, gain scheduling for aircraft flight envelope, pH control.
• MRAC (Model Reference Adaptive Control)
• STR (Self-Tuning Regulator)
• Gain Scheduling
• L1 Adaptive Control
????️ Robust Control (H∞)
Synthesises controllers that guarantee stability and performance despite structured/unstructured uncertainty. Used in aerospace, robotics.
μ (structured singular value) extends H∞ to handle structured uncertainty. D-K iteration alternates between H∞ synthesis and μ analysis to minimise peak μ value.
???? AI-Driven Control — Latest Industrial Trends
???? Reinforcement Learning Control
Deep RL (PPO, SAC, TD3) now deployed in real industrial processes. Sim-to-real transfer using digital twins is key industrial enabler.
???? Physics-Informed Neural Control
Neural networks trained with physical constraints — mass balance, energy conservation. Dramatically reduces data requirements for process control.
Controller Selection Guide
| Controller | MIMO | Constraints | Nonlinear | Tuning Effort | Best Application |
|---|---|---|---|---|---|
| PID | ❌ | ❌ | ❌ | Low | SISO loops, flow, pressure |
| Cascade PID | Partial | ❌ | ❌ | Medium | Fast inner / slow outer loops |
| MPC | ✅ | ✅ | Partial | High | Refinery, polymer, pharma |
| Fuzzy Logic | Partial | Soft | ✅ | Medium | No model, expert knowledge |
| LQR/LQG | ✅ | ❌ | ❌ | Medium | Aerospace, robotics (linear) |
| H∞ Robust | ✅ | ❌ | ❌ | Very High | Uncertainty, aerospace, precision |
| RL / AI | ✅ | ✅ | ✅ | Very High | Complex, data-rich, dynamic envs |