A system for delivering a flow of breathing gas to a patient's airway that includes a gas flow generator and a patient circuit for communicating the flow of gas to the patient's airway. A sensor measures a characteristic associated with the flow of gas, such as flow rate, maximum average inspiratory flow, tidal volume or minute ventilation. A controller determines a first characteristic based on the measured characteristic and provides positive pressure support to the patient if the first characteristic is below a first target and provides a negative support if the first characteristic is above a second target. When the positive pressure support is provided, the pressure provided during inspiration is higher than the pressure provided during expiration. When the negative pressure support is provided, the pressure provided during inspiration is lower than the pressure provided during expiration.患者の気道へガスのフローを輸送するシステムであり、これはガスフロー生成装置と前記患者の気道と前記ガスフローと流通させる患者回路を含む。センサが前記ガスのフローに関連する特徴、例えばフロー速度を測定する。制御装置は、前記測定される特徴に基づき第1の特徴を決定し、かつ前記第1の特徴が前記第1のターゲット値を下回る場合には患者に陽圧サポートを与え、前記第1の特徴が第2のターゲット値を超える場合には陰圧サポートを与える。前記陽圧サポートが与えられる場合には、吸気の間に与えられる圧は、呼気の間に与えられる圧よりも高い。前記陰圧サポートが与えられる場合には、吸気の間に与えられる圧は、呼気の間に与えられる圧よりも高い。