Control systems
Tuning a PID controller
A PID controller adds together proportional, integral and derivative terms, each with its own gain. Tuning means choosing those gains for a particular system. A common manual procedure starts with only proportional control, raising Kp until the response is fast but begins to overshoot; then adds derivative action to reduce overshoot; and finally adds a little integral action to remove the remaining steady-state error. Each change is judged from a measured step response. Keeping a tuning log of every setting and result means someone else can repeat the process.
Why it mattersA 3D printer's heater uses a tuned PID loop to hold the nozzle at a steady temperature without large swings.