🦾PID Controller
Also known as Proportional-Integral-Derivative Controller, PID Control, PID Loop
A loop that keeps a machine at a target. It fixes the gap again and again.
Think of it like
It is like steering a bike to stay on a line. You turn more when you drift far, and less as you get back.
Example
A drone must hold a height of 10 metres. A gust pushes it down, and its PID controller spins the rotors faster, then eases off as it climbs back.
Why it matters
PID controllers run inside drones, cars, ovens and robot joints. They turn a plan into steady, smooth motion.
Formula
output = Kp × error + Ki × (sum of past error) + Kd × (change in error)Definition
Common mistake
Key takeaways
- 1P: the gap now. Push harder when the gap is big.
- 2I: the gap so far. Fix a small gap that will not close.
- 3D: the change. Ease off as the gap shrinks.