Real World Maths Busters
The Maths Behind Everyday Life
The story, the formula and a worked example — see exactly where this maths shows up in the world around you.
Technology 4 min read
Smart Thermostat PID Loop
How your thermostat learns to stop overshooting.
If the room is 18°C and the target is 22°C, the error is 4°C. The proportional term reacts to this gap, the integral corrects persistent drift, and the derivative dampens overshoot.
PID formula
The control output combines three terms.
Simple proportional only
- 1
Step
Error = 4°C, Kp = 25
- 2
Step
Output = 25 × 4 = 100% heating power
Answer
Full blast until the gap closes
The takeaway
PID control is the invisible maths keeping your home comfortable.