Calculate the normal recent ventilation measurement so that the rate of adjustment of the normal recent ventilation measurement is reduced as the recent uncompensated leak measurement increases An apparatus for treating a respiratory disorder configured as described above is disclosed. There is also a device for treating a respiratory disorder configured to calculate a target ventilation from the product of a normal measured amount of recent ventilation and a target decimal depending on recent pressure assistance. Disclosed. [Selection] Figure 4d通常の近時の換気量の測定量の調整の割合が、近時の補償されていない漏れの測定量が増加するにつれて低減されるように、通常の近時の換気量の測定量を計算するように構成されている、呼吸障害を治療するための装置が開示される。また、通常の近時の換気量の測定量と、近時の圧補助に依存する目標小数との積から目標換気量を計算するように構成されている、呼吸障害を治療するための装置が開示される。【選択図】図4d