Professional Documents
Culture Documents
Sleep Apnea Home Monitor and Analysis System
Sleep Apnea Home Monitor and Analysis System
Sleep Apnea Home Monitor and Analysis System
System
Jagdeesh Patil S
Information Science and Engineering Kshitija Chavi Singh
Department Information Science and Engineering Information Science and Engineering
Nitte Meenakshi Institute of Technology Department Department
Bangalore, India Nitte Meenakshi Institute of Technology Nitte Meenakshi Institute of Technology
jagadish.patil@nmit.ac.in Bangalore, India Bangalore, India
kshithijar098@gmail.com chavisingh@gmail.com
Faizah Ali
Information Science and Engineering Department Bhyravi C
Nitte Meenakshi Institute of Technology Information Science and Engineering Department
Bangalore, India Nitte Meenakshi Institute of Technology
faizah2000@gmail.com Bangalore, India
bhyravi.cs@gmail.com
B. Methodology
The medical grade HRV monitor supporting long
duration observation has been designed from an economical
and practical point of view. This is achieved using
Max30003 initialization, Arduino programming and
Android application.
1. MAX30003 Initialization
2. Arduino Programming
A. AFE
This project needs clinical grade measurement of Heart
Rate Variability (HRV). Most aspects of HRv for sleep
apnea are still under research. We have narrowed two
clinical grade Analog Front End (AFE) from MAXIM
MAX86150 and MAX30003 based on cost, clinical grade
accuracy and longer duration measurements. We started
with MAX86150 initially and we faced many challenges to
filter noise in the ECG signals which is the basis for HRV
measurements. Hence, we migrated to MAX30003 in the
final design.
B. MCU
Found that ATmega328P MCU is capable of receiving
data from AFE MAX30003 through serial peripheral
interface (SPI) protocol or MAX86150 through I2C. We
finalized Arduino UNO during development.
C. Blutooth
We finalized on HC05 serial to Bluetooth module which
Fig 4. Arduino Programming Algorithm converts serial communication to Bluetooth communication.
3. Android Modules
D. Android App
The application receives ECG and RR data via Bluetooth
receiver and it is further processed by HRV activity module.
This HRV is plotted against time in either portrait or
landscape view. Provision to display RR, Heart rate and Login
HRV values in text format based on radio button clicked by
user. Provision provided to set the alert level of HRV as
prescribed by doctor. The Android application module is
shown below in the figure 5 depicting top level modules and Receive data on Bluetooth
their interactions.
Display
1. Key Specification
SW(Software) Reset
Configuration General
Configuration ECG
Configuration RTOR1
Configuration RTOR2
Fig 10. Test Subject 2: 49-year-old male
A. Display
Enable Interrupts
1. ECG Display
When the user opens the app where he can see four radio
Manage Interrupts buttons namely ECG, Saved HRV, RR and HRV after the
Bluetooth device is connected. We have provided the option
to click on the ECG radio button and we can see the ECG
display as shown below.
Read ECG
Read RR interval
RR display as shown in the figure 14.
2. HRV Display
Fig 14. RR Display
On clicking HRV radio button, we can see the HRV
display as shown in figure 12. We have given the provision B. Analysis using python in jupyter notebook from the
to set the HRV alert level by the sleep physician as shown in ECG csv file and HRV and RR csv file
figure 13.HRV alert level means there will different After extracting the dataset that we have got from the
measurement of heart rate based on certain criteria such as ECG csv, HRV csv and RR csv file we are going to import
age, weight, physical activity, fitness thus we keep a this dataset in the jupyter notebook and make some analysis
measurement as prescribed by the doctor and check the heart like ECG signals with found peaks which is shown in figure
rate of the patient 15