Control Systems

Control Systems — formula sheet

Mechatronics Engineering · GATE ME · SI units. Drafted with Aria, checked by the AiCanCode.org team.

Open-loop and Closed-loop Control Systems

  • C(s) = G(s)·R(s) — Open loop; C(s): output, R(s): input, G(s): plant (and controller) transfer function. No correction of disturbances or parameter changes.
  • C(s)/R(s) = G(s) / (1 + G(s)·H(s)) — Negative-feedback closed loop; G: forward path, H: feedback path. Use G/(1 − GH) for positive feedback.
  • S = 1 / (1 + G(s)·H(s)) — Sensitivity of the closed-loop gain to changes in G; large loop gain GH makes the loop insensitive to G.

Transfer Functions and Block Diagram Reduction

  • G(s) = Y(s)/U(s) — Transfer function of an LTI system with all initial conditions zero; units: output per unit input.
  • G_series = G₁·G₂, G_parallel = G₁ ± G₂ — Cascade (non-loading) and parallel blocks.
  • 1 + G(s)·H(s) = 0 — Closed-loop characteristic equation; its roots are the closed-loop poles.
  • Moving a summing point ahead of block G: insert 1/G; moving a take-off point past block G: insert 1/G.

Signal Flow Graphs and Mason's Gain Formula

  • T = (1/Δ)·Σ Pₖ·Δₖ — Mason's gain formula; Pₖ: gain of the k-th forward path.
  • Δ = 1 − ΣLᵢ + ΣLᵢLⱼ − ΣLᵢLⱼLₖ + … — Lᵢ: individual loop gains; products only over mutually non-touching loops.
  • Δₖ = Δ with all loops touching the k-th forward path removed.

Time Response of First- and Second-Order Systems

  • c(t) = K·(1 − e^(−t/τ)) — Unit-step response of K/(τs + 1); τ: time constant (s); 63.2 % at t = τ, about 98 % at 4τ.
  • G(s) = ωn² / (s² + 2ζωn·s + ωn²) — Standard second order; ωn: natural frequency (rad/s), ζ: damping ratio.
  • c(t) = 1 − (e^(−ζωn·t)/√(1 − ζ²))·sin(ωd·t + θ), θ = cos⁻¹ζ — Underdamped unit-step response (0 < ζ < 1).
  • ωd = ωn·√(1 − ζ²) — Damped natural frequency (rad/s).
  • tr = (π − θ)/ωd, tp = π/ωd — Rise time (0–100 %) and peak time (s); θ in radians.
  • Mp = exp(−πζ/√(1 − ζ²)) — Peak overshoot (fraction; ×100 for %); depends on ζ only.
  • ts ≈ 4/(ζωn) (2 %), ts ≈ 3/(ζωn) (5 %) — Settling time (s).

Steady-state Error and Error Constants

  • ess = lim(s→0) s·R(s)/(1 + G(s)) — Unity feedback, stable closed loop only.
  • Kp = lim(s→0) G(s), Kv = lim(s→0) s·G(s) (s⁻¹), Ka = lim(s→0) s²·G(s) (s⁻²).
  • ess = 1/(1 + Kp) (unit step), 1/Kv (unit ramp), 1/Ka (unit parabola t²/2) — Finite for type 0, 1, 2 respectively; zero for higher type, infinite for lower type.

Routh-Hurwitz Stability Criterion

  • a₀sⁿ + a₁sⁿ⁻¹ + … + aₙ = 0 — Characteristic equation with a₀ > 0; all coefficients present and positive is necessary, not sufficient.
  • b₁ = (a₁a₂ − a₀a₃)/a₁ — Third-row entry; later rows built the same way from the two rows above.
  • Number of sign changes in the first column = number of right-half-plane roots.
  • a₁a₂ > a₀a₃ (all aᵢ > 0) — Stability condition for a third-order polynomial.
  • Row of zeros: use auxiliary polynomial A(s) from the row above and replace the zero row with dA/ds.

Root Locus Technique

  • 1 + K·G(s)H(s) = 0, K ≥ 0 — Locus of closed-loop poles as K varies.
  • ∠G(s)H(s) = ±180°(2q + 1) — Angle condition; K = Π|s − pᵢ| / Π|s − zⱼ| — magnitude condition.
  • θ_A = (2q + 1)·180°/(n − m), σ_A = (Σpᵢ − Σzⱼ)/(n − m) — Asymptote angles and centroid; n poles, m zeros.
  • dK/ds = 0 with K = −1/(G(s)H(s)) — Breakaway and break-in points (keep roots on the real-axis locus).
  • φ_dep = 180° − Σ∠(other poles) + Σ∠(zeros) — Angle of departure from a complex pole.

Frequency Response and Bode Plots

  • |G(jω)|_dB = 20·log₁₀|G(jω)|, φ = ∠G(jω) — Magnitude (dB) and phase (degrees); ω in rad/s.
  • ω_c = 1/T — Corner of 1/(1 + sT): −3 dB and −45° at ω_c; slope −20 dB/decade above it.
  • Mr = 1/(2ζ√(1 − ζ²)), ωr = ωn·√(1 − 2ζ²) — Resonant peak and frequency; ζ < 0.707.
  • Slope change per simple pole −20 dB/decade, per simple zero +20 dB/decade; type N starts at −20N dB/decade.

Nyquist Criterion, Gain and Phase Margins

  • Z = P + N — Z: closed-loop RHP poles, P: open-loop RHP poles, N: clockwise encirclements of (−1, 0); stable if Z = 0.
  • GM = 1/|G(jω_pc)H(jω_pc)|, GM_dB = −20·log₁₀|G(jω_pc)H(jω_pc)| — ω_pc: phase crossover, where ∠GH = −180°.
  • PM = 180° + ∠G(jω_gc)H(jω_gc) — ω_gc: gain crossover, where |GH| = 1 (0 dB).
  • PM ≈ 100·ζ — Rough link to damping for a dominant second-order loop (PM up to about 60°).

PID Controllers and Tuning

  • Gc(s) = Kp + Ki/s + Kd·s = Kp·(1 + 1/(Ti·s) + Td·s) — PID; Ki = Kp/Ti, Kd = Kp·Td; Ti, Td in s.
  • P: Kp = 0.5Ku; PI: Kp = 0.45Ku, Ti = Pu/1.2; PID: Kp = 0.6Ku, Ti = 0.5Pu, Td = 0.125Pu — Ziegler–Nichols ultimate-cycle settings; Ku: ultimate gain, Pu: ultimate period (s).

Lead and Lag Compensators

  • Gc(s) = Kc·(1 + T·s)/(1 + α·T·s), 0 < α < 1 — Lead; zero nearer the origin than the pole.
  • sin φm = (1 − α)/(1 + α), ωm = 1/(T·√α) — Maximum phase lead and its frequency (geometric mean of the corners).
  • Gc(s) = Kc·(1 + T·s)/(1 + β·T·s), β > 1 — Lag; pole nearer the origin; high-frequency attenuation 1/β.

State-space Modelling and Solution

  • ẋ = A·x + B·u, y = C·x + D·u — A: system (n × n), B: input, C: output, D: feed-through matrix.
  • G(s) = C·(sI − A)⁻¹·B + D — Transfer function; poles are the roots of det(sI − A) = 0.
  • Φ(t) = e^(At) = L⁻¹[(sI − A)⁻¹] — State transition matrix; Φ(0) = I.
  • x(t) = Φ(t)·x(0) + ∫₀ᵗ Φ(t − τ)·B·u(τ) dτ — Complete solution.

Controllability, Observability and Pole Placement

  • Qc = [B AB A²B … Aⁿ⁻¹B] — Controllable if rank Qc = n.
  • Qo = [C; CA; CA²; …; CAⁿ⁻¹] (rows stacked) — Observable if rank Qo = n.
  • u = −K·x, det(sI − A + B·K) = desired polynomial — Pole placement; possible for any poles if and only if (A, B) is controllable.
  • K = [0 … 0 1]·Qc⁻¹·φ(A) — Ackermann's formula (single input); φ: desired characteristic polynomial.

Digital Control: Sampling and Z-transform

  • X(z) = Σₖ₌₀^∞ x[k]·z^(−k) — z-transform; unit step → z/(z − 1), aᵏ → z/(z − a).
  • z = e^(sT) — s-to-z mapping; T: sampling period (s). Stable if all poles satisfy |z| < 1.
  • f_s > 2·f_max — Sampling theorem (Hz); in practice sample 10–30 times the closed-loop bandwidth.
  • G(z) = (1 − z⁻¹)·Z{G_p(s)/s} — Zero-order hold plus plant.
  • lim(k→∞) x[k] = lim(z→1) (z − 1)·X(z) — Final value theorem.
  • s ≈ (2/T)·(z − 1)/(z + 1) — Tustin (bilinear) discretisation.

Simulation of Control Systems in MATLAB/Simulink

  • x_(k+1) = x_k + h·f(x_k, u_k) — Explicit Euler step of size h (s); for dx/dt = −a·x it is stable only if h < 2/a.
  • T = feedback(G, H) computes G/(1 + G·H); margin(G) is applied to the open-loop G, not to T.