Anti-windup and bumpless-transfer schemes