Patent attributes
A respiratory treatment apparatus and method in which a leak is determined by using an averaging window. The window starts at the present time and extends back in time to a point determined according to a current one of progressively detected phase measures of a first respiratory cycle and a corresponding phase measure attributable to a preceding second respiratory cycle. In another aspect, a jamming index indicates whether the leak is rapidly changing. To the extent that jamming is high, the leak estimate used progressively changes from that using sliding breath-window averaging to a more robust and faster responding low-pass filter method, and adjustment of ventilatory support based on measures employing estimated respiratory flow is slowed down or stopped.