Marginal

Control Theory

How to make systems behave: feedback and block diagrams, transfer functions, poles and stability, first- and second-order responses, steady-state error, PID control, state-space models, controllability and observability, pole placement, the linear–quadratic regulator, state estimation and the separation principle, frequency response and stability margins.

29 lessons in 3 units

Start your free trial14 days free. No card needed.
What you'll learn

29 lessons, one small step at a time

Each lesson states its goal, then works up to it in short steps with practice after each. A placement test at the start skips what you already know.

Classical Control

13 lessons
  1. Closed-loop gainCompute the gain of a negative-feedback loop, and choose a sensor gain that sets it precisely.
  2. Sensitivity & disturbancesCompute how feedback shrinks the effects of plant drift and of disturbances, and weigh the costs of feedback.
  3. Transfer functions from ODEsWrite the transfer functions of first- and second-order differential equations, and find their zeros and DC gains.
  4. Block diagramsCompute the transfer functions and DC gains of blocks in feedback, in series and in parallel, and the effect of a disturbance.
  5. Finding polesFind the real and complex poles of a transfer function, read the modes they give, and find closed-loop poles from the characteristic equation.
  6. Poles & stabilityDecide stability from pole locations and from the Routh–Hurwitz conditions, and find the largest gain a loop can take.
  7. First-order responseCompute a first-order system's step response and rise times, and read its time constant from data.
  8. Stabilizing with feedbackMove an unstable pole with proportional feedback, choose the gain for a target pole, and explain the limits.
  9. Damping ratio & overshootRead the damping ratio of a second-order system, find its overshoot, and choose the damping for a target overshoot.
  10. Peak & settling timesCompute the peak and settling times of a second-order system, and the largest gain that meets a damping specification.
  11. Steady-state errorCompute the steady-state error of proportional control and the gain a target accuracy needs, and the errors of loops of each type.
  12. The PID lawCompute a PID controller's output, write its transfer function in a loop, and explain what each term does.
  13. PID in practiceCompute a digital PID update from sampled errors, and recognize integral windup and tuning practice.

State-Space Control

10 lessons
  1. From state space to G(s)Compute the transfer function and the DC gain of a state-space system.
  2. State-space stabilityCompute a state-space system's free response, and decide stability from the eigenvalues of A.
  3. The controllability matrixTest controllability with the rank of the controllability matrix, and explain what controllability means.
  4. Controllability & observabilityTest observability with the observability matrix, and find the hidden modes that vanish from the transfer function.
  5. Pole placementWrite the characteristic polynomial for desired closed-loop poles, and compute the state-feedback gains that place them.
  6. The Riccati equationTake a Riccati step of the linear–quadratic regulator, and read the cost-to-go from its solution.
  7. The linear–quadratic regulatorCompute the optimal LQR gain and the cost with several states and inputs, find the Riccati fixed point, and the closed loop it produces.
  8. Model predictive controlCompute a one-step predictive control input, with and without input limits, and weigh model predictive control's strengths and costs.
  9. ObserversCompute an observer's update and its error dynamics, and choose its gain between speed and noise.
  10. Kalman gain & separationCompute the steady-state Kalman gain, and combine it with LQR by the separation principle.

Frequency Domain & Robustness

6 lessons
  1. Frequency responseCompute a system's gain for a sinusoidal input, and find its corner frequency.
  2. DecibelsConvert gains to and from decibels, and read a first-order lag's frequency response in decibels, including its slope.
  3. Phase lag & Bode plotsCompute the phase shift of a first-order lag, and read slopes on a Bode plot.
  4. Gain marginsCompute a loop's gain margin, and explain why it measures the distance from instability.
  5. Phase marginsRead and compute a loop's phase margin, and relate it to the step response.
  6. Time delaysCompute the phase lag a time delay adds and the delay a loop can tolerate, and explain how designers live with delays.
Sample lesson

Closed-loop gain

Goal: Compute the gain of a negative-feedback loop, and choose a sensor gain that sets it precisely.

In 1927, riding the ferry to work, Harold Black at Bell Labs sketched the negative-feedback amplifier on a newspaper. Long-distance telephone calls needed amplifiers built from unreliable vacuum tubes; feeding part of the output back made their gain precise, dependent on the sensor rather than on the unreliable part.

We will close the feedback loop and finish with precision from the sensor.

Step 1: Feedback loops

A feedback controller measures the output, compares the measurement with the reference r it is meant to follow, and acts on the difference. Call the plant's gain G and the sensor's gain H. The controller sees the error e = r − Hy, the reference minus the measurement, and the plant turns it into y = Ge. Substituting, y = G(r − Hy), so y(1 + GH) = Gr and

+e−rGyH

The product GH, the gain a signal picks up going once around the loop, is the loop gain. With G = 40 and H = 0.2 the loop gain is 8, and the closed-loop gain is 40 ÷ 9 ≈ 4.44.

Step 2: Precision from the sensor

When the loop gain is large, the 1 in the denominator hardly matters, and G ÷ (1 + GH) ≈ G ÷ GH = 1/H: the closed-loop gain is set by the sensor, not by the plant. Take G = 2,000 and H = 0.05, so GH = 100: the gain is 2,000 ÷ 101 ≈ 19.8, close to 1/H = 20. If the plant gain halves to 1,000, the gain becomes 1,000 ÷ 51 ≈ 19.6, a change of about 1%. That is why op-amp circuits built from wildly variable transistors have precise gains set by two resistors.

To hit an exact closed-loop gain T, solve G ÷ (1 + GH) = T for the sensor gain: H = (G/T − 1) ÷ G. With G = 100 and T = 5, H = (20 − 1) ÷ 100 = 0.19; check: 100 ÷ (1 + 19) = 5.

In the app, each step ends with practice questions, new ones every time, and the lesson comes back later in spaced reviews.

Start Control Theory

Lessons that need something you haven't learned yet bring it in first, from any course.

Start your free trial14 days free. No card needed.