• No results found

Design of APAP device control for effective support of overlap syndrome by machine learning

N/A
N/A
Protected

Academic year: 2020

Share "Design of APAP device control for effective support of overlap syndrome by machine learning"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

DESIGN OF APAP DEVICE CONTROL FOR EFFECTIVE SUPPORT

OF OVERLAP SYNDROME BY MACHINE LEARNING

Subramanya Aditya Upadhyayula

1

, Deepa Madathil

1

and Ayyappadas Mavila

2

1

Department of Sensor and Biomedical Technology, SENSE, Vellore Institute of Technology, Tamil Nadu, India 2OHMS Lab, Harvey Biomedical, Karnataka, India

E-Mail: subramanyaaditya.u@gmail.com

ABSTRACT

The purpose of this control algorithm is to determine the Adaptability of controlling the pressure levels delivered to patient. By the help of Machine Learning Algorithm, the control is made easy and precise as it uses previous data and also from sensor feeds in order to set the levels. This algorithm mainly relates the supply and demand cycle by help of Decision Tree method which involves the control to determine the outcome purely based on logical analysis. Overlap Syndrome mainly characterized by repetitive episodes of Sleep Apnea and Chronic Pulmonary Obstructive Disorder in which airway passage is blocked along with inflammation of bronchi that leads to poor oxygen concentration along with hypercarbia, Generally BiPAP helps in providing relief for this cause, but it can’t be fully effective until the pressure levels are set based on patient’s real-time condition. This algorithm-based control procedure helps patient by giving desired flow of pressure by intelligent monitoring and analysis from the sensor feeds. The purpose of this control algorithm is to determine the Adaptability of controlling the pressure levels delivered to patient. By the help of Machine Learning Algorithm, the control is made easy and precise as it uses previous data and also from sensor feeds in order to set the levels. This algorithm mainly relates the supply and demand cycle by help of Decision Tree method which involves the control to determine the outcome purely based on logical analysis. Overlap Syndrome mainly characterized by repetitive episodes of Sleep Apnea and Chronic Pulmonary Obstructive Disorder in which airway passage is blocked along with inflammation of bronchi that leads to poor oxygen concentration along with hypercarbia, Generally BiPAP helps in providing relief for this cause, but it can’t be fully effective until the pressure levels are set based on patient’s real-time condition. This algorithm-based control procedure helps patient by giving desired flow of pressure by intelligent monitoring and analysis from the sensor feeds.

Keywords: overlap syndrome, Apnea, decision tree method, machine learning algorithm, PAP.

1. INTRODUCTION

Sleep Disorders are getting more prominent and have huge health impact these days. Overlap Syndrome is one of the critical illness characterized by Sleep Apnea along with Chronic Pulmonary Obstructive Disease (COPD) and people who are suffering with this type of illness face many difficulties during sleep and proper oxygenation and ventilation of gases will not happen during breathing cycles and most of the time airway passage will get blocked and may result in Cardio-Vascular issues and also Mental related issues for that reason medical practitioners and pulmonological therapists will suggest Bi-PAP for providing proper PEEP to the patient and to keep the airway passage open and provide good support while breathing during sleep. But Bi-PAP alone cannot provide appropriate and comfortable IPAP and EPAP levels for providing patient with best levels of pressure during sleep, many doesn’t use active monitoring of the patient parameters like O2 percentage and Air Flow with pressure in terms of cmH2O as these are the key parameters that are to be considered to control and set appropriate levels of pressure to comfort the patient while breathing.

This work deals with design of control algorithm for controlling pressure levels during inspiration and expiration time by monitoring the parameters using two different sensor and connecting those sensor feeds to processing system where the Machine learning algorithm will be applied and proper values of pressure sets will be

determined and control signals are sent to relay modules to operate respective pressure valves in providing the corresponding IPAP and EPAP to patient which will enhance and provide comfort and will be helpful in effective support for patients suffering from Overlap Syndrome.

2. METHODOLOGY

This Control algorithm requires active and history feeds to analyse and process the data. Mainly Machine Learning is applied by the help of Decision tree algorithm which is almost similar to general if-else but slightly variation like a flow-based tree of if-else-then logical deductions.

(2)

Figure-1. Airway Passage cases.

Figure-2. Patient connected to PAP device with Nasal Mask.

Hence the PAP Devices comes into picture as its nothing but Positive Airway Pressure (PAP), where it keeps and holds minimum Positive End-Expiratory Pressure (PEEP) to make the airway passage open resulting in proper oxygenation and ventilation of CO2 helps the patient in provide better support during breathing.

Figure-3. ADS1115 16 Bit ADC used for RPI.

But Raspberry Pi doesn’t have built-in ADC to process analog signals from sensor thus we need high gain and high-speed ADC with significant baud rate and having multiple channel input like at least two as we have two sensor which gives analog signals, hence there is a role for ADS1115 which is a 16-bit four channel and helps to convert the signals and sends them to RPI using I2C protocol.

This model requires oxygen sensor and differential pressure flow sensor that are attached on the mask side which will be connected to patients face and outlet of PAP device and to operate and control the Sets of pressure level Raspberry Pi helps to accommodate the logical brain and processing power to run the ML algorithm and control signal will be sent to relay to operate and activate respective pressure valves for effective and optimum control of PAP levels that are to be provided to patient side.

Oxygen Sensor used here is general ventilator purpose one which uses metallic oxide and when exposed to atmospheric it gives output in terms of millivolts

corresponding to content of oxygen in terms of percentage present in air.

Figure-4. Cirus O2 Sensor.

To measure the air flow corresponding to pressure we need high precision sensor capable of sensing small changes and also capable of triggering signals proportional to change in pressure flow to ADC. This uses MPX5010DP sensor which is a differential pressure-based flow sensor from NXP Semiconductors and has two channels where one is left normally representing access to atmospheric pressure and another is connected to patient mask which compares both pressure and sends signal to algorithm via ADC.

Figure-5. MPX5010DP Flow Sensor.

3. ALGORITHM

(3)

S. No. Algorithm Accuracy Speed (ms)

1. Random Forest 87-89% 1600 2. Bayesian Network 86% 1800 3. Bootstrap Agg. 84% 1420 4. Temporal Diff. 81% 2200 5. Decision Tree 83% 1200 Table-1. Speed and Accuracies of algorithms

As we can see different algorithms have different speeds and accuracy levels but when it comes to more number of data sets other algorithms might be handy and useful to adapt the increment in data sets, but whereas this system uses only two values one is oxygen percentage and another is flow in terms of cmH2O from ADC and uses the same data to process and train with its history making the algorithm adaptive and creates no further delay, thus even though accuracy is moderate but considering speed in real-time usage and control we are preferring decision tree algorithm as part of Python based code with numerous libraries and DAQ methods.

Figure-6. Decision Tree Flow.

Flow in this algorithm is more adaptive and optimistic resulting in easy ways of collecting and processing data with less delay compared to other algorithms.

4. DESIGN AND PROTOTYPING

To validate this method and proposal we need to make our design more vivid and a suitable hardware to run tests with the help of prototype, thus all these sensors and ADC, RPI comes into picture with various accessories to make this methodology under action. Raspberry Pi 3 Model B is used as the brain power to accommodate Machine Learning algorithm and also various other tubes and a silicon mask to refer as patient’s side and also ADC to convert all the analog signals acquisitioned from sensors to digital I2C format which is then given to SDC & SDA pins of RPI making it understandable by serial bus control

Figure-7. Hardware Data Flow in Prototype.

SD card inside raspberry pi acts as Hard-disk and holds Raspbian OS along with code and database consisting history of that patient with sensor values obtained previously that is similar to training data in ANN and current values obtained from sensor feeds is similar to test data either way the loop only gets active when there is any reading from sensor and adaptive training is done from history otherwise the programming is done in such a way that subroutine from that loop holds the training and turns the entire control to Bi-PAP giving two optimum sets of pressure values for uninterrupted running of machine without causing any problem or discomfort to patient who is using APAP.

(4)

Calibration is needed for both sensors to ensure proper readings and avoid any errors disrupting the normal function of the system that might impact on speed of control triggers that are to be send by RPI for activating relays.

5. RESULTS

Most of the cases Raspberry Pi takes 2-3 seconds initially to run the algorithm and process the sensor feeds and then final sets of pressure are determined by Adaptive decision tree with which we can get optimum values of IFLOW and EFLOW as

Figure-9. Python Shell snap while algorithm implementation.

After that values are determined now it’s very simple for the RPI to control switching action of relays basing on the determined pressure sets, as given in the tree flow various levels are named corresponding to four relays and each level is linked with different pressure levels that are to be provided to patient. All these can be made possible only if sensor feeds are continuous and history data is loaded in algorithm to run the adaptive loop and we can see logs as follows:

Figure-10. Sensor Live Feed & History feed loaded from CSV file.

These feeds are always needed for optimum functioning of control if the feeds stop responding for more

(5)

Figure-11. Relay Switching Cycle for Inspiration and Expiration.

When we block the flow and oxygen sensor is also occluded from the opening side then the algorithm automatically switches levels to maximum pressure sets viz. L1 and L4 (3 cmH2O and 20 cm H2O) and can be

observed from the pictures below. Figure-12. Relay Switching (flow is occluded for both sensors manually).

Thus, we can validate that algorithm is adapting the feeds and controlling the switching action based on determined pressure sets for both Inspiration and Expiration.

6. CONCLUSIONS

From the above performed analysis and methodological trials with the aid of prototype it is clear that Machine Learning is new era in Health Care and especially when it comes to predictive and adaptive making and control of equipment’s and moreover this Home Health care is one of the fast transit Industry where every critical care equipment’s are now having their own version of portable and compact sizes to benefit the patients by providing Home Healthcare, and also if intelligent systems are embedded with that technology in more optimal and economical ways then definitely it will be best ever system designed when it comes to health care sector. All together this intelligent system without air compressor/blower is much more economical than modern day systems and can help most of the people who are suffering from Overlap Syndrome.

REFERENCES

(6)

Tsai SC. 2016. Chronic obstructive pulmonary disease and sleep related disorders. Curr Opin Pulm Med.

McNicholas W. T. 2016. Chronic obstructive pulmonary disease and obstructive sleep apnoea-the overlap syndrome. J Thorac Dis. 8: 236-242.

Lacedonia D., Carpagnano G. E., Aliani M., Sabato R., Foschino Barbaro M. P. et al. 2013. Daytime PaO2 in OSAS, COPD and the combination of the two (overlap syndrome). Respir Med. 107: 310-316.

Shiina K., Tomiyama H., Takata Y., Yoshida M., Kato K., Nishihata Y. et al. 2012. Overlap syndrome: additive effects of COPD on the cardiovascular damages in patients with OSA. Respir Med. 106: 1335-1341.

A. T. Azar, S. M. El-Metwally. 2013. Decision tree classifiers for automated medical diagnosis. Springer. Neural Computing and Applications. 23: 2387-2403.

V. Podgorelec, P. Kokol, B. Stiglic, I. Rozman. 2002. Decision trees: an overview and their use in medicine. in Journal of Medical Systems, Kluwer Academic/Plenum Press. 26(5): 445-463.

Dickstein K., Cohen-Solal A., Filippatos G., McMurray J. J., Ponikowski P., Poole-Wilson P. A. et al. 2008. ESC guidelines for the diagnosis and treatment ofacute and chronic heart failure 2008. Eur Heart J. 29: 2388-442.

Randerath W. J., Nothofer G., Priegnitz C., Anduleit N., Treml M., Kehl V., et al. 2012. Long- term auto servo-ventilation orconstant positive pressure inheart failure and co-existing central with obstructive sleep apnea. Chest. 142: 440-7.

Philippe C., Stoica-Herman M., Drouot X., Raffestin B., Escourrou P., Hittinger L., et al. 2006. Compliance with and efficacyofadaptive servo-ventilation (ASV)versus continuous positive airway pressure (CPAP) in the treatment of Cheyne-Stokes respiration in heart failure over asix month period. Heart. 92: 337-42.

Kasai T., Narui K., Dohi T., Takaya H., Yanagisawa N., Dunqan G., et al. 2006. First experience of using new adaptive servo-ventilation device for Cheyne-Stokes respiration with central sleep apnea among Japanese patients with congestive heart failure. Circ J. 70: 1148-54.

Oldenburg O., Bitter T., Vogt J., Fischbach T., Dimitriadis Z., Bullert K., et al. 2011. Central and obstructive sleep apnea are associated with increased mortality in patients with long-term cardiac resynchronization therapy. J. Am. Coll. Cardiol. 54(Suppl. A): E100.

Arzt M., Floras J., Logan A., Kimoff R., Series F., Morrison D, et al. 2007. Suppression of central sleep apnea by continuous positive airway pressure and

transplant- free survival in heart failure. Circulation. 115: 3173-80.

Kasai T., Usui Y., Y.oshioka T., Yanaqisawa N., Takata Y., Narui K., et al. 2010. Effect of flow-triggered adaptive servo-ventilation compared with continuous positive airway pressure in patients with chronic heart failure with coexisting obstructive sleep apnea and Cheyne -Stokesrespiration. Circ Heart Fail. 3: 140-8.

Teschler H., Döhring J., Wang Y-M, Berthon-Jones M. 2001. Adaptive pressure support servo-ventilation. Anovel treatment for Cheyne–Stokesrespiration inheart failure. Am JRespir Crit Care Med. 164: 614-9.

Bradley T., Logan A., Kimoff R., Sériès F., Morrison D., Ferguson K., et al. 2005. Continuous positive airway pressure for central sleep apnea and heart failure. NEngl Jmed. 353: 2025-33.

Oldenburg O. 2012. Cheyne-Stokes respiration in chronic heart failure. Treatment by adaptive servo ventilation. Circ J. 76: 2305-17.

References

Related documents

When Table 1 is examined, no significant difference was observed between the participant test and control group children in initial and final measurements of

Indeed, frames help rendering events and occurrences meaningful, organize experience (and communication) and thus also guide participation in particular situations

Comparatively, un- stabilized and composite stabilized soils result shown in tables 3.2 –3.3 into 3.2A and 3.3 and figures 3.2 – 3.3, maximum dry density (MDD) and optimum

This protocol seems to be reasonable because hs-TnI levels may be related to the dynamic and labile nature of LVOTG with fluctuating peaks during the day time (provoked LVOTG as

This study will primarily investigate whether patient-reported experiences at discharge, particularly quality of life (QoL), are associated with future readmission and

NIF effects of light are varied, ranging from regulation of basal physiology, such as heart rate and pupil diameter, to modulation of more complex behavioral phenomena, such as

Certain new classes containing the linear operator obtained as a linear combination of Ruscheweyh derivative and a new generalized multiplier differential

professional judgment and consider the results of cardholder documentation review; the overall objectives of pursuing fraudulent, improper, and abusive purchases; and the