# Tuning PID on real hardware

Robotics foundations · Lecture 5 of 12 · 24 min

Source: https://shakaut.com/learn/tuning-pid-on-hardware

## What this covers

- Sample time and why it matters
- Integral windup and clamping
- Filtering the derivative term

---

24 minutes · notes and slides

**Speaker notes.** This is the outline for "Tuning PID on real hardware". The full deck is still being written, so these slides cover what it will include.

## In this lecture

- Sample time and why it matters
- Integral windup and clamping
- Filtering the derivative term

**Speaker notes.** Three things we cover: Sample time and why it matters; Integral windup and clamping; Filtering the derivative term.

## Exercise

- Write down, in one sentence, what each idea means
- Sketch it as a diagram
- Explain it to someone else

**Speaker notes.** Before the next lecture, try to explain these ideas in your own words. If you can draw it, you understand it.

## Coming next

- Kinematics of a two-wheel robot
- Wheel speeds to robot motion
- Turning on the spot vs arcs

> Lecture 06 · 25 min

**Speaker notes.** Next time: Kinematics of a two-wheel robot.

---

Free to teach from. A credit back to shakaut.com/learn is appreciated.
