Knowledge / Electrical and Electronics Engineering / Digital control systems

Digital control systems

Electrical and Electronics Engineering (B.E./B.Tech) · Control and measurement · free study notes for exams, placements and interviews

In short

A digital control system closes a feedback loop through a computer: the plant's analogue output is sampled and converted by an ADC, a difference equation is solved in a microcontroller, DSP or PLC, and the result is sent out through a DAC and a hold circuit. Because the controller sees the plant only at sampling instants kT, the maths moves from the Laplace s-domain to the z-domain, and stability moves from "left half-plane" to "inside the unit circle". This is the form almost every real controller takes today - motor drives, solar and EV inverters, numerical protection relays, process DCS loops, autopilots - so it is standard in final-year EEE electives, is examined as discrete-time systems, z-transform, sampling and stability in GATE (explicitly in Instrumentation, and through signals/control in EE and EC - syllabi vary, check your university's), and is asked directly in embedded-control and drives interviews at BHEL, ABB, Siemens, Honeywell, L&T, Bosch, TI and ISRO/DRDO labs.

Explained

Why digital, and the structure of the loop

Sampling, reconstruction and aliasing

The z-transform and the pulse transfer function

Stability and transient behaviour in the z-plane

Steady-state accuracy and discrete response

Designing the digital controller

Implementation, hardware and Indian practice

Key points

Formulas and examples

z-transform: F(z) = Σ_{k=0}^{∞} f(kT) z^{−k}; z = e^{sT}; T = sampling period (s), f_s = 1/T (Hz)
Sampling theorem: f_s > 2 f_max; Nyquist frequency = f_s/2; alias frequency f_a = |f_signal − m·f_s|, m integer
Standard pairs: unit step → z/(z−1); kT → Tz/(z−1)²; e^{−akT} → z/(z − e^{−aT}); δ(k−n) → z^{−n}
ZOH equivalent of a plant: G(z) = (1 − z^{−1}) · Z{ L^{−1}[ G(s)/s ] }
Final value: f(∞) = lim_{z→1} (1 − z^{−1}) F(z); Initial value: f(0) = lim_{z→∞} F(z)
Error constants: K_p = lim_{z→1} G_L(z); K_v = (1/T) lim_{z→1}(z−1)G_L(z); K_a = (1/T²) lim_{z→1}(z−1)²G_L(z)
Pole ↔ specs: for z = r∠θ, σ = (ln r)/T, ω_d = θ/T, ω_n = √(σ²+ω_d²), ζ = −σ/ω_n
Jury (2nd order, z² + a₁z + a₀): |a₀| < 1, 1 + a₁ + a₀ > 0, 1 − a₁ + a₀ > 0
Bilinear maps: Tustin s = (2/T)(z−1)/(z+1); w-plane z = (1+w)/(1−w) for Routh use
Discrete state space: x(k+1) = A_d x(k) + B_d u(k), A_d = e^{AT}, B_d = (∫₀T e^{Aτ}dτ) B
ADC: LSB = FSR/2N (V/count); max quantization error = ±LSB/2; SNR ≈ 6.02N + 1.76 dB
Deadbeat: D(z) = [1/G(z)] · z^{−n}/(1 − z^{−n}), settling in n samples

Example 1 - ZOH discretization and step response. Plant G(s) = 1/(s+2), T = 0.1 s.

Example 2 - gain range for stability. G(s) = K/[s(s+1)] with ZOH, T = 1 s.

Example 3 - steady-state error. For Example 2 with K = 1: K_v = (1/1)·lim_{z→1}(z−1)G(z) = (0.36788 + 0.26424)/(1 − 0.36788) = 0.63212/0.63212 = 1.0 s⁻¹. Step error = 0 (one pole at z = 1); unit-ramp error = 1/K_v = 1.0 unit; parabolic input → error ∞.

Example 4 - Tustin vs exact discretization. Analogue filter H(s) = 1/(1 + 0.05s), T = 0.01 s.

Example 5 - resolution and aliasing in a drive/relay. 12-bit ADC, 0-3.3 V, phase-current sensor 40 mV/A, control loop at 10 kHz.

MethodSubstitutionStable → stable?Typical use
Forward Eulers = (z−1)/TNot guaranteedQuick, small T only
Backward Eulers = (z−1)/(Tz)YesSafe simple option
Tustin (bilinear)s = (2/T)(z−1)/(z+1)Yes, no aliasingControllers, filters
Tustin + prewarpmatched at ω₁YesNotch/band filters
ZOH (step-invariant)exact at kTYesPlant models
Matched pole-zeroz = e^{sT}YesSimple controllers
Features-plane (continuous)z-plane (discrete)
Stability regionLeft half-planeInside unit circle
Boundaryjω axisUnit circle
IntegratorPole at s = 0Pole at z = 1
Pure delay τe^{−sτ} (transcendental)z^{−n} (rational, n = τ/T)
TestsRouth-Hurwitz, NyquistJury, bilinear + Routh, z-root locus
Mappingone-to-oneperiodic; primary strip only

Where it is used

Interview questions

Common mistakes

Related topics

Control systems basics · Stability: Routh, root locus and Bode · State space analysis · PID controllers and tuning · PLC and SCADA basics · Signals and systems: sampling and z-transform

Open in the Knowledge reader →Find jobs →