PID control for plastic annealing