Skip to content
Tactiverge

Build Nights / Night 13

Night 13 of 18Week 26 · Term 3: Signals, sensors and controlProposed · no date yet

Design a Simulated Control System

Cruise control holds 50 km/h up a hill; a drone holds still in the wind. Can you design a controller that meets a written specification, and prove it does?

This night is part of a proposed programme. It has not been scheduled and has not taken place. When it is scheduled it will appear on /live/. You can do everything below on your own, today.

The big question

What does each of the P, I and D terms do? How do we measure a step response (rise time, overshoot, settling time, steady-state error), and why can too much gain make a system worse?

In the real world

PID controllers run in factories, ovens, 3D-printer nozzles, cruise control and drones. Engineers usually write the specification first (how fast, how much overshoot, how accurate) and then tune and test against it, because “it looks fine” is not something you can check.

Try it: the guided experiment

Everything runs in your browser. No real hardware, ever.

  1. Guided experiment “Proportional control never quite arrives”: record the steady-state error for three values of Kp.
  2. Guided experiment “How long until it settles?”: add integral action and record the settling time.
  3. Add derivative action and record what happens to the overshoot.
  4. Switch to the second-order plant and repeat one setting. What changes?

Start the experiment

The design challenge

Write a specification before tuning: overshoot under 10%, zero steady-state error, settling time as short as you can. Tune a controller, record all four metrics, and state which line of the specification was hardest to meet and what you traded for it.

At your level

  • Level 1 · ExplorerSpot closed loops in everyday life (a person steering a bike, a thermostat). Describe overshoot in words from the chart.
  • Level 2 · BuilderRecord rise time and overshoot for three Kp values and describe the pattern.
  • Level 3 · InnovatorMeet the specification with a PI or PID controller and record all four metrics.
  • Level 4 · Systems EngineerUse P-only steady-state error = r/(1 + Kp·K) to predict the error for two Kp values, check in the lab, and explain why integral action removes it.
  • Level 5 · Research EngineerInvestigate how Kd changes overshoot and settling time across at least four values with Kp and Ki fixed, on both plants.

What the model leaves out

The lab simulates linear first- and second-order plants with small fixed time steps. Real motors and heaters add friction, delay, limits and nonlinearity.

Watch first (optional)

Afterwards

Watch “What Is PID Control?”, then use your controller in BUILD 002 Level 4 or BUILD 007 Level 4.

Everyone can take part

  • Slides use large, high-contrast text and never rely on colour alone. The host describes every chart and animation aloud.
  • Live captions switched on and tested before the session; the host reads each on-screen instruction aloud.
  • Every lab and Build works by keyboard, gives text readouts of its results and respects reduced-motion settings.
  • Worksheet available to print, in large print and as plain text; answers can be typed, drawn, or spoken to a helper.
  • The feedback lab reports each metric as text; read them aloud after every run.

How the live session is kept safe

  • A host and a separate adult supervisor are there for the whole hour.
  • Your camera, microphone and chat stay off. Ask questions in the moderated box; they are read out without your name.
  • Nobody will ask for your personal details, photos, school or location.
  • Everything happens in a simulation or on paper. Never open or change a real device.

How we keep learners safe

Running this with a group? Open the printable facilitator kit.