Skip to content

Workshop · 2026–27

Intro to Control Systems

Learn how machines sense, decide, and correct themselves: filter noisy sensor data, tune a cruise-control simulation, and try it on a real robot.

Room
Room 309
Experience
Programming experience needed

Planned for students at about the AP Computer Science A level or beyond. The math is explained as you go, with no advanced matrix math.

Leads
Shubh K., Samuel A., Raghuram D.
Meetings
5 meetingsRound 1: Oct 27, 2026 to Jan 26, 2027. All dates

What it's about

Control systems are the loop behind cruise control, anti-lock brakes, and robot arms: read a sensor, compare it with the goal, adjust, repeat.

You'll write Python simulations first. Later meetings use a Pololu 3pi+ 32U4, a small robot with motion, line, and bump sensors, so you can watch the same ideas run on hardware.

Day 1

  • What control systems engineering is, and why it's used
  • Real examples: adaptive cruise control, anti-lock brakes, ventilators, greenhouse temperature control, a rocket booster caught by its launch tower, and lane centering in cars
  • Set up VS Code, Python, numpy, and matplotlib
  • Mini project: clean up a noisy sensor with a moving average

Planned lessons

From the Day 1 slides and the leads' five-meeting outline. Plans can change during the year.

  1. Meeting 1 · Sensors and noise

    • Sense, compute, act, repeat
    • Simulate sensor readings, add noise, and smooth them with a moving average
  2. Meeting 2 · Better filters

    • Where moving averages fall short
    • Savitzky–Golay filtering, which fits small curves to keep the signal's shape
    • Project: tune a filter on real heart-signal (ECG) data from an MIT dataset
  3. Meeting 3 · PID control

    • Open-loop vs. closed-loop control
    • Proportional, integral, and derivative terms; tuning, overshoot, and stability
    • Project: build your own cruise control in a car simulation
    • Demo: the Pololu 3pi+ 32U4 robot
  4. Meeting 4 · Sensor fusion and the Kalman filter

    • Combining several noisy measurements
    • Predict, then correct
    • Project: track a simulated robot, and start programming the real one
  5. Meeting 5 · Autonomous robot challenge

    • A quick review of earlier meetings, so everyone can take part
    • Program a simulated robot to follow a path or hold a speed
    • Test your program on the physical robot

Try it: smooth a noisy sensor

The Day 1 mini project in miniature. Drag the slider to average more readings and watch what happens to the noise, and to the delay.

5 readings

Averaging the last 5 readings smooths out the noise, but the gold line now trails the true signal by about 2 readings. That trade-off is why the workshop moves on to better filters.