Professional Documents
Culture Documents
Guide:
CERTIFICATE
This is to certify that the project entitled “Android Based Heartrate
Monitoring System and Automatic Notification System” is a bonafide work
of “Ms. Aishwarya Palvi(IEN-11712032), Mr. Raj Patil (IEN-11712034), Ms.
Priyanka Chaudhari (IEN-11612003) submitted to the University of Mumbai
in partial fulfilment of the requirement for the award of the degree of Bachelor
of Engineering in Computer Engineering
______________
Prof. Rishikesh Nikam
Guide
_____________ _______________
Dr. Sanjay Sharma Dr. Prashant Deshmukh
Head of Department Principal
NEW HORIZON INSTITUTE OF TECHNOLOGY AND
MANAGEMENT, THANE
Date:
Place:
Declaration
We declare that this written submission represents my ideas in my own words
and where others' ideas or words have been included, I have adequately cited and
referenced the original sources. I also declare that I have adhered to all principles
of academic honesty and integrity and have not misrepresented or fabricated or
falsified any idea/data/fact/source in my submission. I understand that any
violation of the above will be cause for disciplinary action by the Institute and
can also evoke penal action from the sources which have thus not been properly
cited or from whom proper permission has not been taken when needed.
-----------------------------------------
Signature
-----------------------------------------
-----------------------------------------
Signature
-----------------------------------------
-----------------------------------------
Signature
-----------------------------------------
Date:
Abstract
In this paper, the design of an integrated portable device that can monitor heart rate (HR)
continuously and send notifications through short message service (SMS) over the cellular
network using Android application is presented. The primary goal of our device is to ensure
medical attention within the first few critical hours of an ailment of the patient with poor heart
condition, hence boost chances of his or her survival. In situations where there is an absence of
doctor or clinic nearby (e.g., rural area) and where the patient cannot realize their actual poor
heart condition, is where our implemented system is of paramount importance. This paper
proposes a methodology to measure a heart rate using photoplethysmogram (PPG) — a
technique that uses infrared light to detect changes in the blood flow volume in tissues. We
present a new application of the Android smartphone’s camera equipped with LED flash
which used for recording the intensity of light from the fingertip blood volume. The red
channel of RGB signals in each picture frame recorded by smartphone returned the
plethysmographic information. This contextual information will be converted into time domain
signal by using Fast Fourier Transform (FFT) for further used in heart rate estimation process.
The final results is the heart rate of each person recorded within 40 seconds. The designed
system shows the real time HR on the mobile screen through Android application continuously
and if any abnormal HR of the patient is detected, the system will immediately send a message
to the concerned doctors and relatives whose numbers were previously saved in the Android
application. This device ensures nonstop monitoring for cardiac events along with notifying
immediately when an emergency strikes.
CONTENTS
1 Introduction ........................……………………………………………………….…. 0
5 Implementation plan………………...……………………………………………….…0
References ......................................................................................................................0
LIST OF FIGURES
LIST OF TABLES
Introduction
Monitoring vital parameters such as heart rate, blood pressure plays a very important role in
detection, recognition the dangerous situation and prevent of any health diseases. Heart rate is
important because the heart's function is so important. The heart circulates oxygen and
nutrient-rich blood throughout the body. An abnormal rate or rhythm may be discovered
during a physical exam, ECG, or other testing, even in healthy people who have no symptoms.
By far, the only viable diagnostic tool that could ascertain cardiac events is HR readings.
Henceforth, HR monitoring and alert system which is able to monitor the HR condition of a
patient is very effective in the detection of heart diseases and Photoplethysmogram (PPG) has
been employed to compute HR. Currently, there are some Android applications that can
monitor HR but do nothing when hearts condition is poor. It would be a breakthrough if an app
is developed that incessantly monitors HR and if detected unusual, sends messages to all saved
mobile numbers with precise GPS location of the patient and current HR. In this regard, this
literature describes a system that determines the HR per minute in real time and then sends
SMS alert to the mobile phone in face of emergency or user requirement.
1.2
Chapter 2
Literature Survey
The application utilizes an imaging acquisition concept similar to that found in commercially
available pulse oximeters in which infrared light is used to determine oxygenated and
deoxygenated blood based on the blood opacity (i.e., oxygenated is brighter red than
deoxygenated which is blue/purple). Variable levels of opacity are illuminated by the camera
light and measured by the camera’s five-megapixel photodetecting lens, as it passes through
the pulsating capillary tissue beneath the surface of the finger. Measurements are tracked
overtime and analyzed until a pulsatile signal is properly detected. The first step was to
determine if the image captured from the light provided by original equipment manufacturer’s
(OEM) LED flash and five-megapixel camera could be passed through software image
analysis filters to detect the appropriate wavelengths for efficient pulse detection based on
variations in opacity. The next step was to determine whether the smartphone could process
frame-by-frame image analysis in a timely and consistent manner, in order to detect the small
pulsatile color changes. An nv21 YUV planar frame format was used to allow for efficient
processing of both light and color intensity changes. Real-time trials were used to determine
an optimum settings bundle of frame capture rate (20 fps), image pixel density , focus mode
(infinity), and software image analysis filters. The next step was to detect changes of blood
flow by comparing values over a series of frames. During this step, points were gathered and
graphed to help programmers visually discern changes of blood flow. Throughout this
process, the development team compared signal detection by the developed application with a
Nonin Onyx II model 9560BT oximeter (Nonin Medical, Plymouth, MN). Initial comparisons
allowed assurance of capturing opacity changes representative of accurate pulsatile readings
during the recording and graphing of data. A history system aids the detection of HR pulses as
well as accumulates the pulses to generate beats per minute HR feedback. Once the
appropriate signal-to-noise ratio was established, minor adjustments were made to ensure
noise or small changes in the user’s finger position did not disrupt the continuous monitoring
of HR. Finger movements that resulted in unobtainable HR measurement or finger removal
results in vibration-based feedback to the user to reposition the finger on the camera lens. The
smartphone HR monitor application directs each step of the process from video capture, video
processing and analysis, and feedback to the user in a graphical user interface.
The ECG-derived average HRs per minute from the BioZ bioimpedance cardiograph system
using the 4 beats rolling average served as the criterion measure. HR values recorded from the
cell phone and the Nonin pulse oximeter were averaged and compared to the ECG at their
respective time periods. Pearson correlation coefficients and standard errors of estimate (SEE)
were calculated. As devices are expected to be highly correlated measuring the same signal
agreement of the 3 devices was assessed for each activity using Bland Altman plots for
repeated measures with 95% limits of agreement
Chapter 3
3.2 Objectives
To be able to calculate the Heart Rate by calculating the blood change volume in the
fingertip.
To suggest the user a diet according to his Heart Rate and to maintain to good health
for his heart
3.3 Scope
This application will provide the user function to monitor his Heart Rate instantly.
The application would help to calculate the BMI of the user, using the input of weight
and height.
According to the BMI, the user will also be suggested with the diet he should follow to
maintain the BMI .
The Application also provide the user any specific diet if he needs one. For E.g. For
Weight loss or weight gain.
It would also help the user to create a SOS alarm and send SMS to his selected
contacts.
This Application would also suggest the user any nearby hospitals if he needs one.
Chapter 4
Proposed System
4.1.1 Java
Java is a popular programming language. Java is used to develop mobile apps, web apps,
desktop apps, games and much more.
4.1.2 MATLAB
An Android application framework is a software toolkit that enables app developers to piece
together a finished product that meets the requirements of its proprietor. A framework
provides the bones of an application, to be fleshed out with graphics, animation, special
features and functionality.
Android Studio provides the fastest tools for building apps on every type of Android device.
Download Not Available.
Android Studio provides the fastest tools for building apps on every type of Android device.
4.2 Hardware Requirements
A camera phone is a mobile phone which is able to capture photographs and often record
video using one or more built-in digital cameras. It can also send the resulting image
wirelessly and conveniently.
4.2.2 Processor
The processor of your smartphone is the component that converts all your actions into visual
changes on the screen. For this project we require dual core of above processor.
4.2.3 Memory
Internal memory is the manufacturer-installed storage space, usually 16, 32 or 64GB, where
the operating system, pre-installed apps, and other system software is installed. Here we need
2gb or more RAM.
The working algorithm begins with sensing raw IR sensor output voltage that is collected and
processed (amplify, noise cancellation) by amplifier, filter and Arduino. The calculated BPM
value is then received in smart phone by Bluetooth module transmission. Once our app is
installed, run and paired with HC06 Bluetooth module, it will continuously perform the
following steps:
Read the incoming real time BPM. Using android application of our GUI interface
anybody can check his/her BPM value anytime when he/she wants.
If BPM is out of the normal range (60-140) it will start a countdown of 10 seconds.
If all BPMs are out of normal range within this countdown the app will assume
emergency condition.
An SMS will be sent to all saved numbers in app. The SMS will contain: precise
location co-ordinates (using GPS built in smart phone), approximate location
Implementation Plan
[2] Android Based Heart Rate Monitoring and Automatic Notification System(2017 IEEE
Region 10 Humanitarian Technology Conference (R10-HTC)).
[3] Heart Rate Measurement System Using Mobile Devices to Alert Arrhythmias(2015 12th
International Conference on Electrical Engineering, Computing Science and Automatic
Control (CCE)).
[7] A. M. Islam and A. Majumder, “Coronary artery disease in bangladesh: a review,” Indian
heart journal, vol. 65, no. 4, pp. 424–435, 2013.
[9] M. T. Islam, S. T. Ahmed, I. Zabir, C. Shahnaz, and S. A. Fattah, “Cascade and parallel
combination (cpc) of adaptive filters for estimating heart rate during intensive physical
exercise from photoplethysmographic signal,” Healthcare Technology Letters, 2017.
We would like to thank Dr. Prashant Deshmukh (Principal), for his kind co-operation,
guidance and for providing necessary facilities during the working on this report. We express
our sincere thanks to Dr. Sanjay Sharma, (Head of Computer Department) for his support
and co-ordination.
It is our immense pleasure to express our gratitude to Mr. Rushikesh Nikam as our Guide for
providing us with constructive and positive feedbacks during the preparation of this project.
We express our gratitude to Ms. Aarthi Kamle for her valuable insights and co-operation.
Last but not least , we are thankful to all other staff members of Computer Department and
our friends whose encouragement and suggestions helped us to enhance our ongoing B.E
Project. We are also thankful to our parents for their constant support and best wishes.
Thank You!
-------------------------------------
-----------------------------------
----------------------------------
Date: