#$%^&*AU2013206648A120130718.pdf#####Abstract of the Disclosure A method and apparatus for providing ventilatory assistance to a spontaneously breathing patient. An error signal is computed that is the difference between a function 5 of respiratory airflow over a period of time and a target value. Using a servo loop, air is delivered to the patient at a pressure that is a function of the error signal, the phase of the current breathing cycle, and a loop gain that varies depending on the magnitude of the error signal. The loop gain increases with the magnitude of the error signal, and the gain is greater for error signals below a ventilation target value than for error signals 10 above the ventilation target value. The target value is an alveolar ventilation that takes into account the patients physiologic dead space. 15 20 25