Three point, hysteresis controller with variable hysteresis as function of error