Apnea Aware: Sleep Monitoring System is a cost-effective solution using machine learning to detect and assess Obstructive Sleep Apnea through SpO2, heart rate, and accelerometer data, providing critical information to both patients and doctors via a web interface.
Sleep apnea remains a prevalent and serious disorder that significantly impacts patients' health and quality of life. This report presents the design and implementation of the "Apnea Aware: Sleep Monitoring System," which aims to provide a cost-effective solution for monitoring and detecting obstructive sleep apnea (OSA). By integrating a machine learning (ML) algorithm and developing a web interface for both patients and doctors, this project seeks to facilitate early detection and timely intervention. The system primarily focuses on analyzing data from key physiological parameters such as SpO2 levels, heart rate, and accelerometer readings. This innovative solution is designed to improve health outcomes for individuals suffering from sleep apnea.
Sleep apnea is characterized by repeated interruptions in breathing during sleep, lasting at least 10 seconds. With its three main forms—Obstructive Sleep Apnea (OSA), Central Sleep Apnea (CSA), and Complex Sleep Apnea—OSA is the most common and troubling, primarily due to airway obstruction caused by relaxation of throat muscles. The disorder poses substantial health risks, including cardiovascular issues, stroke, anxiety, and depression, thereby emphasizing the necessity for early diagnosis and intervention.
Risk factors contributing to the development of sleep apnea include obesity, heavy alcohol consumption, and smoking habits. Considering these substantial health implications, the purpose of this project is to establish a user-friendly, cost-effective sleep monitoring system that leverages the latest advancements in technology, including machine learning.
The goal of the "Apnea Aware: Sleep Monitoring System" project is to create an efficient solution to monitor sleep apnea, particularly OSA. Our specific objectives include:
The project culminates in several deliverables, including a hardware prototype, mobile and web applications, comprehensive source code, and a detailed circuit diagram. These deliverables ensure that users receive a well-rounded product with sufficient support for implementation and usability.
The following components were utilized in the development of the Apnea Aware system:
Image | Component Name | Quantity | Price (₹) |
---|---|---|---|
LILYGO T-Display ESP32 WiFi Bluetooth Development Board | 1 | 1590 | |
MPU6050 Accelerometer & Gyro Sensor | 1 | 113 | |
MAX30100 Pulse Oximeter Heart Rate Sensor Module | 1 | 115 | |
INMP441 MEMS High Precision Omnidirectional Microphone Module I2S | 1 | 215 | |
950 mAh 3.7V single cell Rechargeable LiPo Battery | 1 | 350 | |
0.96 Inch I2C/IIC 4pin OLED Display Module BLUE | 1 | 170 | |
4mm SPDT 1P2T Slide Switch | 1 | 5 | |
FDM 3D Printing Service | 250 gm | 5 |
The Apnea Aware system is designed with social relevance in mind, addressing a widespread health issue impacting millions globally. Traditional diagnostics for sleep apnea often require extensive setups and may be inaccessible to many patients due to costs and logistics. By creating an integrated sleep monitoring system that is both cost-effective and easy to use, we empower patients and healthcare providers alike.
The usage of the Random Forest algorithm enhances the accuracy of sleep apnea detection, which can ultimately lead to timely diagnostics and improved sleep health outcomes. The inclusion of web interfaces for both patients and doctors facilitates improved communication, allowing for remote consultations and making healthcare more accessible.
In the broader context, such innovations may also pave the way for a more extensive array of wearable health technologies, bridging gaps in real-time health monitoring and patient care.
The "Apnea Aware: Sleep Monitoring System" exemplifies how technology can be harnessed to tackle critical health issues like sleep apnea through innovative, user-friendly solutions. Our project’s multidisciplinary approach integrates advanced machine learning techniques with robust hardware and software development to address the challenges posed by sleep disorders. By focusing on accessibility and affordability, we aim to make a meaningful impact on the lives of individuals suffering from sleep apnea, ultimately contributing to enhanced healthcare outcomes and improved awareness of sleep-related health issues. Through ongoing enhancements and potential integration with other health monitoring technologies, the project aspires to remain at the forefront of innovation in sleep health.
Sleep apnea is a serious disorder that leads to interrupted breathing during sleep, affecting individuals significantly. The Apnea Aware: Sleep Monitoring System aims to develop a cost-effective solution focusing primarily on Obstructive Sleep Apnea (OSA) detection using a combination of Machine Learning algorithms and advanced sensory hardware. This document provides a comprehensive overview of the development phases of the project, detailing each step taken to create a reliable and efficient sleep monitoring solution.
The initial phase focused on identifying the necessary components and designing the fundamental architecture of the system. The components include:
A crucial step in the project was to create a 3D design of the hardware system using Fusion 360, which included integrating sensors for effective monitoring of different parameters.
As part of the design process, the team successfully developed a circuit diagram that connects all the components for accurate data collection.
The circuit integrates the sensors, which are pivotal in gathering critical physiological data, including SpO2 levels, heart rate, and movement during sleep.
During the hardware updates, the team made significant enhancements, particularly in the power management aspect, optimizing energy usage.
These improvements are crucial for maintaining the functionality of the sleep monitoring system while ensuring efficient performance over long periods.
Following the successful development of the ML model, the project transitioned into the integration phase, where hardware and software components were combined to create a unified system.
The integration process involved:
To facilitate both patients and doctors in monitoring progress, a web interface was developed using Flutter, providing an intuitive platform for accessing sleep data and healthcare checks.
The patient interface allows for seamless navigation and easy interpretation of monitoring data, ensuring users can track their health comprehensively.
In this phase, a real-time prediction API was developed, enabling the system to display predictions based on incoming sensor data, enhancing user engagement with immediate feedback.
Key characteristics of the API include:
Recognizing the importance of communication in healthcare, the team implemented a video calling feature, enabling real-time consultations between patients and doctors.
This enhancement provides a platform for:
In the final phase, comprehensive testing was conducted to ensure system reliability and accuracy in detecting and categorizing sleep apnea events.
This included:
Upon successful testing, the project transitioned to deployment.
Platform for patient access is hosted at Apnea Aware.
The Apnea Aware: Sleep Monitoring System represents a significant advancement in sleep apnea diagnosis and management. Through a structured development methodology, from initial design to final deployment, the integration of cutting-edge technology ensures accurate monitoring, predictive analytics, and improved communication between patients and healthcare providers. This project not only aims to enhance the understanding of sleep disorders but also strives for feasible solutions by utilizing affordable technology combined with innovative software solutions.
Ongoing enhancements and user feedback will continue shaping the platform, ensuring a valuable tool accessible to individuals managing sleep apnea effectively. Stay tuned for more updates as we progress further in enhancing functionalities to support efficient sleep monitoring and management.