Integral gain (Ki) is the PID parameter that scales the controller’s response to error accumulated over time. Increasing Ki decreases steady-state error significantly, but can also increase overshoot and settling time. section 8.7
Use integral gain as one component of PID tuning:
- Represent Ki alongside proportional gain (Kp) and derivative gain (Kd) in the PID transfer function. section 8.7
Optimizing Ki with a genetic algorithm
A PID tuning problem treats Kp, Ki, and Kd as three variables, searches values from 0 to 100, and scores each candidate using a response-based objective. A genetic algorithm then searches 50 candidates across 60 generations before plotting and inspecting the resulting step response.
