PID autotune equation correction