Improvements to the PID Controller
Discussion of methods to improve the PID controller such as anti-integral windup, low-pass filter derivative, and gain scheduling.
Issues with the Traditional PID Controller
Basic problems and solutions
Integral Windup and Mitigation Methods
// sum our integral
integralSum = integralSum + (error * timer.seconds());
// set a limit on our integral sum
if (integralSum > integralSumLimit) {
integralSum = integralSumLimit;
}
if (integralSum < -integralSumLimit) {
integralSum = -integralSumLimit;
}
Derivative Noise Mitigation Methods

Low Pass Filter Implementation
Last updated
Was this helpful?
