Skip to content
Tutorials Center
My learning

Topics

Control Systems Tutorial

Learn Control Systems step by step: 37 lessons in 9 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

Getting Started

  1. 1 What Is a Control System? Learn what a control system is, its parts (plant, sensor, controller, actuator), everyday examples, and how to simulate one in Python with NumPy.
  2. 2 Open-Loop and Closed-Loop Control Compare open-loop and closed-loop control, see why feedback handles model errors and disturbances, and simulate both in Python with real numbers.
  3. 3 Block Diagrams and Feedback Basics Read control block diagrams, derive the closed-loop formula G/(1+GH), and compute the sensitivity function and loop gain with NumPy polynomials.
  4. 4 The Control Design Workflow and Python Toolkit Follow the standard control design workflow from specifications to testing, and build a small Python toolkit for simulating systems with SciPy and RK4.

Modelling and Transfer Functions

  1. 5 Modelling Physical Systems Derive differential equations for mass-spring-damper, RC circuit, DC motor and tank systems, see their analogies, and linearize nonlinear models in Python.
  2. 6 The Laplace Transform for Control Learn the Laplace transform pairs and properties used in control, solve differential equations in the s-domain, and do partial fractions with SciPy residue.
  3. 7 Transfer Functions, Poles and Zeros Define transfer functions, find poles, zeros and DC gain, and see how zeros in the right half-plane cause undershoot, all computed with NumPy and SciPy.
  4. 8 Block Diagram Reduction Reduce complex control block diagrams with series, parallel and feedback rules and by moving junctions, then check the result with polynomial code in Python.
  5. 9 Signal Flow Graphs and Mason's Rule Draw signal flow graphs, identify forward paths and loops, and use Mason's gain formula to get transfer functions, with a Python implementation to check it.

Time-domain Analysis

  1. 10 Test Signals and First-Order Response Learn standard test inputs (impulse, step, ramp), derive the first-order step response and its time constant, and estimate T from noisy data with Python.
  2. 11 Second-Order System Response Understand the standard second-order system, damping ratio and natural frequency, the four damping cases, and compute step responses with NumPy and SciPy.
  3. 12 Time-Domain Specifications Define rise time, peak time, overshoot and settling time, translate them into pole regions, and design a gain to meet specifications, verified in Python.
  4. 13 Steady-State Error and System Type Compute steady-state error with the final value theorem, learn system type and the Kp, Kv and Ka error constants, and verify ramp tracking in Python.
  5. 14 Dominant Poles and the Effect of Added Poles and Zeros Learn when a high-order system acts like a second-order one, how an extra pole slows a response, how a zero adds overshoot, with simulations in Python.

Stability

  1. 15 Stability and Pole Locations Learn what stability means for control systems, BIBO and marginal stability, how pole locations decide it, and test stability with NumPy roots and simulation.
  2. 16 The Routh-Hurwitz Criterion Build the Routh array step by step, count right-half-plane roots from sign changes, and implement the Routh-Hurwitz test in Python to check against np.roots.
  3. 17 Routh Special Cases Handle the two special cases of the Routh array, a zero in the first column and an entire row of zeros, with the epsilon trick and auxiliary polynomial in Python.
  4. 18 Gain Ranges and Relative Stability Use Routh-Hurwitz to design stable parameter ranges, measure relative stability by shifting the axis, and see how time delay limits gain, with Python checks.

Root Locus and Frequency Response

  1. 19 Root Locus Basics Learn what the root locus is, how closed-loop poles move as the gain K grows, and how to trace and read a locus numerically with NumPy.
  2. 20 Root Locus Rules and Examples Sketch a root locus by hand with the standard rules: real-axis segments, asymptotes, breakaway points and imaginary-axis crossings, each checked in Python.
  3. 21 Bode Plots and Frequency Response Understand frequency response and Bode plots: compute magnitude and phase of a transfer function, read corner frequencies and slopes, and find bandwidth in Python.
  4. 22 Nyquist Plots and Stability Margins Use the Nyquist criterion to judge closed-loop stability from the open-loop frequency response, and compute gain margin, phase margin and delay margin from scratch.

PID and Compensators

  1. 23 PID Controller Basics Understand the PID controller: what the proportional, integral and derivative terms do, how each changes a step response, and how to code a PID loop in Python.
  2. 24 PID Tuning and Ziegler-Nichols Methods Tune a PID controller with the Ziegler-Nichols step-response and ultimate-gain methods, a relay autotuner, and a gentler rule, with every result simulated in Python.
  3. 25 Lead and Lag Compensators Design lead and lag compensators from frequency-response specs: add phase margin with a lead, boost steady-state accuracy with a lag, and verify both in Python.
  4. 26 Practical PID: Windup, Filters and Limits Make a PID controller work on real hardware: integrator anti-windup, derivative filtering, setpoint weighting, output limits and bumpless transfer, all simulated.

State Space

  1. 27 State-Space Models Learn state-space models of dynamic systems: build A, B, C, D matrices, convert to and from transfer functions, simulate with the matrix exponential, and use eigenvalues as poles.
  2. 28 Controllability and Observability Learn controllability and observability: rank tests, hidden modes and pole-zero cancellation, Gramians as a measure of how hard a state is to reach, with NumPy code.
  3. 29 State Feedback and Pole Placement Design full-state feedback u = -Kx to place closed-loop poles where you want them, derive Ackermann's formula in code, scale the reference, and see the cost of speed.
  4. 30 State Observers and Output Feedback Estimate unmeasured states with a Luenberger observer, design its gain by duality, combine it with state feedback via the separation principle, and weigh speed against noise.
  5. 31 LQR Optimal Control Design the linear-quadratic regulator: pick Q and R, solve the algebraic Riccati equation with SciPy and from scratch, and see how weights trade accuracy for control effort.

Digital Control

  1. 32 Sampling and the Z-Transform Understand how computers sample and hold signals, what aliasing does, how the z-transform maps s-plane poles to the unit circle, and why slow sampling destabilizes a loop.
  2. 33 Discretization Methods Convert continuous controllers and plants to discrete time with forward Euler, backward Euler, Tustin (bilinear) and zero-order hold, and compare accuracy and stability.
  3. 34 Digital PID Implementation Implement a PID controller as a difference equation: rectangular and Tustin integrals, positional versus velocity form, filtered derivative, and the effect of sample time.

Projects and Practice

  1. 35 Project: Cruise Control Build a car cruise controller step by step: model the vehicle, tune a PI controller from pole placement, reject a hill disturbance, and add anti-windup for saturated engine force.
  2. 36 Project: Inverted Pendulum with LQR Balance an inverted pendulum on a cart: derive the model, linearize it, design an LQR controller, and test it on the full nonlinear dynamics to find its region of attraction.
  3. 37 Control Systems Practice Problems Ten worked control-systems problems covering second-order response, steady-state error, Routh stability, root locus, gain margin, PID tuning, state space, LQR and discretization.