Abstract
Obstructive Sleep Apnea OSA is a potentially common pathology characterized by partial or complete collapses of upper. If diagnosed late and untreated, it can lead to serious complications especially which are related to cardiovascular system. However, most of cases are undiagnosed because of expenses and discomfort of hospital diagnostic. Therefore, new techniques are being developed by investigators to detect OSA. In this paper, we present a new approach to control the occurrence of OSA based on esophageal pressure parameter. Then, we have developed an efficient algorithm to process the signal in real-time to detect apnea episodes.