adaptive quality automatic control loops