Modulate command according to hystereris so that ideal curve is followed