An almost anti-windup scheme for plants with magnitude, rate and curvature saturation