Learning Rooms/□ Level 4 · Systems Engineer/Research methods
Manual and Automatic PID Tuning Methods | Understanding PID Control, Part 6
MATLAB · Length: see YouTube · captions on YouTube · nothing loads until you press play
By the end you can…
- Give a baseline the same tuning effort, information and conditions as the proposed method.
- Choose a strong, relevant baseline for a task.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
Your new method was tuned with a 50-point grid search; the baseline used default gains. What does a win show?
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute (borrowed from the lesson “A fair fight between controllers”, on the same idea). It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
The scoreboard table lists overshoot, settling time, final error, peak effort and pass or fail for P, PI and PID on the same plant. Under matched conditions P fails on final error, PI fails on settling time and PID passes. Under the unfair setting, PID is tested with no load or noise and its row looks better for reasons unrelated to the controller.
3.Watch, actively
Compares hand tuning with automatic methods, a useful reminder that a baseline deserves the same tuning effort as the method you favour.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Notice that automatic tuning methods can be applied to any controller: a fair way to give the baseline equal effort.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
PID gains can be tuned by hand, by following a rule from a simple test, or automatically by software that fits a model and picks gains. When you compare a new controller against PID, the PID baseline deserves the same tuning effort, or the comparison is unfair.
What the video covers (our own note, written when we verified it): Compares hand tuning with automatic methods, a useful reminder that a baseline deserves the same tuning effort as the method you favour.
Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.
Read it instead
- Lesson: Give the baseline a fair fight · The full lesson explains the idea in text, worked examples and diagrams, with no video needed.
- Engineering Atlas: Baselines and ablation studies · Claiming a new controller makes a robot better only means something when it is compared against a well-tuned standard controller on the same tasks.
- Field Guide: Baselines and control conditions · A short reference entry on the same idea.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1
The new planner uses a perfect map; the baseline uses the noisy lidar map. Fair?
Practice 2
Why tune on seeds 101–110 and compare on seeds 1–10?
Practice 3 · a fresh version every time
A baseline path follower has a mean tracking error of 25 mm. The new method has 18.75 mm under the same conditions. What is the percentage improvement (lower error is better)?
Practice 4 · a fresh version every time
Over 10 seeded trials each, the baseline controller's settling time averaged 40 s and the new controller's 36 s. Both conditions have a standard deviation of 2 s, so the pooled SD is 2 s. What is the effect size d = (difference in means) / pooled SD?
6.Where engineers use it
Benchmark studies increasingly publish tuning budgets and search spaces for every method, because unequal tuning has repeatedly been found to explain claimed improvements.
From the applied view in the lesson Give the baseline a fair fight. Checked by automated tests only.
7.Build something with it
Follow-up project
Repeat your P vs PI comparison with equal tuning budgets and separate tuning and test seeds. Report how much the improvement changed compared with your first, unequal attempt.
Where this video lives
- Give the baseline a fair fight · Level 3, week 33
In the course catalogue: RES-310 Experimental design and baselines
The video is by MATLAB, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.