Patent ID: 7845350

Claim:
An apparatus for delivering pressurized gas to an airway of a subject, the apparatus comprising: a gas flow generator adapted to provide a substantially continuous positive-pressure flow of gas to an airway of a subject; a conduit operatively coupled to the gas flow; a subject interface operatively coupled to said conduit, the subject interface being adapted to communicate said conduit with the airway of the subject; one or more sensors adapted to detect a respiratory related characteristic of the subject having a signal, wherein the sensor or sensors are selected from the group comprising an airflow sensor, a pressure transducer that monitors the subject's breathing, a respiratory effort sensor, or an expired end carbon dioxide sensor; and a processor operatively coupled to the gas flow generator and the one or more sensors, wherein the processor determines and controls the level of flow generated by the gas flow generator through the use of wavelet-based analysis of at least the signal received from the one or more sensors and the signal from the one or more sensors creates an observed signal, and the wavelet analysis applies a wavelet transform to both the observed signal and a reference data set, the reference data set representing or characterizing distinct respiratory states, to create statistical observed and reference data sets.