Professional Documents
Culture Documents
ABSTRACT
With an improvement in technology and miniaturization of sensors, there have been attempts
to utilize the new technology in various areas to improve the quality of human life. One main
area of research that has seen an adoption of the technology is the healthcare sector. The people
in need of healthcare services find it very expensive this is particularly true in developing
countries. As a result, this project is an attempt to solve a healthcare problem currently society
is facing. The main objective of the project was to design a remote healthcare system. It’s
comprised of three main parts. The first part being, detection of patient’s vitals using sensors,
second for sending data to cloud storage and the last part was providing the detected data for
remote viewing. Remote viewing of the data enables a doctor or guardian to monitor a patient’s
health progress away from hospital premises.
The Internet of Things (IoT) concepts have been widely used to interconnect the available
medical resources and offer smart, reliable, and effective healthcare service to the patients.
Health monitoring for active and assisted living is one of the paradigms that can use the IoT
advantages to improve the patient’s lifestyle. In this project, I have presented an IoT
architecture customized for healthcare applications. The aim of the project was to come up with
a Remote Health Monitoring System that can be made with locally available sensors with a
view to making it affordable if it were to be mass produced. Hence the proposed architecture
collects the sensor data through Arduino microcontroller and relays it to the cloud where it is
processed and analysed for remote viewing. Feedback actions based on the analysed data can
be sent back to the doctor or guardian through Email and/or SMS
CONTENTS
TITLE PAGE. No
Chapter 1. INTRODUCTION 3
Chapter 2. EXISTING SYSTEM 7
Chapter 3. PROPOSED SYSTEM 10
Chapter 4. SENSORS AND MODULES 11
Chapter 5. REQUIREMENT ANALYSIS 20
Chapter 6. SYSTEM DESIGN 22
Chapter 7. DATABASE DESIGN 24
Chapter 8. GRAPHICAL USER INTERFACE 26
Chapter 9. TESTING 31
Chapter10. CONCLUSION 32
REFERENCES 33
Chapter 1 - INTRODUCTION
A Remote health monitoring system is an extension of a hospital medical system where a
patient’s vital body state can be monitored remotely. Traditionally the detection systems were
only found in hospitals and were characterized by huge and complex circuitry which required
high power consumption. Continuous advances in the semiconductor technology industry have
led to sensors and microcontrollers that are smaller in size, faster in operation, low in power
consumption and affordable in cost. This has further seen development in the remote
monitoring of vital life signs of patients especially the elderly. The remote health monitoring
system can be applied in the following scenarios:
1. A patient is known to have a medical condition with unstable regulatory body system. This
is in cases where a new drug is being introduced to a patient.
2. A patient is prone to heart attacks or may have suffered one before. The vitals may be
monitored to predict and alert in advance any indication of the body status.
4. The situation leading to the development of a risky life-threatening condition. This is for
people at an advanced age and maybe having failing health conditions.
5. Athletes during training. To know which training regimes will produce better results. In
recent times, several systems have come up to address the issue of remote health monitoring.
The systems have a wireless detection system that sends the sensor information wirelessly to a
remote server. Some even adopted a service model that requires one to pay a subscription fee.
In developing countries, this is a hindrance as some people cannot use them due to cost issue
involved. There is also the issue of internet connectivity where some systems to operate, good
quality internet for a real-time remote connection is required. Internet penetration is still a
problem in developing countries. Many of the systems were introduced in the developed
countries where the infrastructure is working perfectly. In most cases, the systems are adapted
to work in developing countries. To reduce some of these problems there is need to approach
the remote detection from a ground-up approach to suit the basic minimal conditions presently
available in developing countries. A simple patient monitoring system design can be
approached by the number of parameters it can detect. In some instances, by detecting one
parameter several readings can be calculated. For simplicity considerations parameter detection
are:
In this instance, a single parameter is monitored e.g. Electrocardiogram (ECG) reading. From
the ECG or heartbeat detection, several readings can be got depending on the algorithm used.
An ECG reading can give the heart rate and oxygen saturation.
This has multiple parameters being monitored at the same time. An example of such a
system can be found in High Dependency Units (HDU), Intensive Care Units (ICU), during
the surgery at a hospital theatre or Post surgery recovery units in Hospitals. Several parameters
that are monitored include the ECG, blood pressure, respiration rate. The Multiparameter
monitoring system basically proof that a patient is alive or recovering. In developing countries,
just after retiring from their daily career routine majority of the elderly age group, move to the
rural areas. In developed countries, they may move to assisted living group homes. This is
where a remote health monitoring system can come in handy.
1.1 Purpose
Design a Remote Patient Health Monitoring System (RPHMS) which has heartbeat detection
system, a fall detection system, temperature detection system, a humidity detection system, a
toxic gas and air quality detection system and SPO2 detection system. A doctor or health
specialist can use the system to monitor remotely of all vital health parameters of the patient
or person of interest. An attempt at designing a remote healthcare system made with locally
available components.
i) The fall detector, temperature, humidity, pressure, toxic gas, air quality control, SPO2
modules comprise of an accelerometer, wireless transmitter and microcontroller. The data
collected was transmitted wirelessly to a receiver module.
ii) ECG consists of a non-invasive infrared finger detector, Liquid Crystal Display (LCD), a
designed circuit for cardiac signal detection and microcontroller. The detected analog signal
was then digitized to give a digital value that was read on the LCD.
iii) A simple cloud server where hosted with a database for all the vital data to be accessed
remotely whenever required.
1.2 Objective
Here the main objective is to design a Remote Patient Health Monitoring System to diagnose
the health condition of the patients. Giving care and health assistance to the bedridden patients
at critical stages with advanced medical facilities have become one of the major problems in
the modern hectic world. In hospitals where many patients whose physical conditions must be
monitored frequently as a part of a diagnostic procedure, the need for a cost-effective and fast
responding alert mechanism is inevitable. Proper implementation of such systems can provide
timely warnings to the medical staffs and doctors and their service can be activated in case of
medical emergencies. Present-day systems use sensors that are hardwired to a PC next to the
bed. The use of sensors detects the conditions of the patient and the data is collected and
transferred using a microcontroller. Doctors and nurses need to visit the patient frequently to
examine his/her current condition. In addition to this, use of multiple microcontroller based
intelligent system provides high-level applicability in hospitals where many patients must be
frequently monitored.
For this, here we use the idea of network technology with wireless applicability, providing each
patient a unique ID by which the doctor can easily identify the patient and his/her status of
health parameters. Using the proposed system, data can be sent wirelessly to the Patient
Monitoring System, allowing continuous monitoring of the patient. Contributing accuracy in
measurements and providing security in proper alert mechanism give this system a higher level
of customer satisfaction and low-cost implementation in hospitals. Thus, the patient can engage
in his daily activities in a comfortable atmosphere where distractions of hardwired sensors are
not present.
Physiological monitoring hardware can be easily implemented using simple interfaces of the
sensors with a Microcontroller and can effectively be used for healthcare monitoring. This will
allow development of such low-cost devices based on natural human-computer interfaces. The
system we proposed here is efficient in monitoring the different physical parameters of many
number bedridden patients and then in alerting the concerned medical authorities if these
parameters bounce above its predefined critical values. Thus, remote monitoring and control
refer to a field of industrial automation that is entering a new era with the development of
wireless sensing devices.
The Internet of Things (IoT) platform offers a promising technology to achieve the healthcare
services, and can further improve the medical service systems. IoT wearable platforms can be
used to collect the needed information of the user and its ambient environment and
communicate such information wirelessly, where it is processed or stored for tracking the
history of the user. Such a connectivity with external devices and services will allow for taking
preventive measure (e.g., upon foreseeing an upcoming heart stroke) or provide immediate care
(e.g., when a user falls and needs help).
1.5 Limitation
The scope of the project was limited to ECG, fall, temperature, humidity, pressure, toxic gas,
air quality and SPO2 detection and remote viewing of the collected data for a single patient.
Here, the most important specification considered was that they should be safe to use and
accurate. This is because the physiological information being detected determines the severity
of a critical life-threatening situation.
In the existing system, we use active network technology to network various sensors to a single
PMS. Patients’ various critical parameters are continuously monitored via single PMS and
reported to the Doctors or Nurses in attendance for timely response in case of critical situations.
The sensors are attached to the body of the patients without causing any discomfort to them. In
this PMS we monitor the important physical parameters like body temperature, ECG, heart
beat rate and blood pressure using the sensors which are readily available. Thus, the analog
values that are sensed by the different sensors are then given to a microcontroller attached to
it. The microcontroller processes these analog signal values of health parameters separately
and converts it to digital values using ADC converter.
Now, the digitalized values from more than one microcontroller are sent to the Central PMS.
Each of the sensors attached microcontroller with a transceiver will act as a module which as
its own unique ID. Each module transmits the data wirelessly to the gateway attached to the
PC of the Central PMS. The gateway is attached to the PC i.e. Central PMS which is situated
in the medical centre, is capable for selecting different patient IDs and allowing the gateway to
receive different physical parameter values the patient specified by the ID.
Network Gateway
Parameter
Values exceeds
critical values
NO
YES
System Identifies the Network ID of
the Patient
Information is Sent
to the Doctor and
Authorities
The software designed using Graphical User Interface (GUI) can operate on different physical
parameters of each patient, consecutively with a specified time interval for each patient. At any
time, any of the doctors or nurses can log on the Central PMS and check the history of the
observed critical parameters of any of the patient attached to the network.
In case of a critical situation which requires the immediate attention of the doctors or nurses
for any of the patients, the custom software will instruct the Central PMS to enable the GSM
modem to send an SMS with the patient ID. A voice call is also made to the doctors and the
staffs of the hospital. The SMS also consists of a status of the patient’s physical condition. With
the help of the patient ID, the doctor can easily identify and attend to the patient situation.
The main objective is to design a Patient Monitoring System with two-way communication i.e.
not only the patient’s data will be sent to the doctor through SMS and email on emergencies,
but also the doctor can send required suggestions to the patient or guardians through SMS or
Call or Emails. And Patient or guardian can able to track patient’s location at any point in time
through Google Maps which would enable to send medical services in case of an emergency
for non-bed ridden patients.
2. ECG
3. GSM/GPRS Module
4. Temperature sensor
5. Pressure sensor
7. Humidity Sensor
2. Digital Ground
4. Digital Pins 0-1/Serial In/Out - TX/RX (dark green) - These pins cannot be used for digital
i/o (digitalRead and digitalWrite) if you are also using serial communication (e.g. Serial.begin).
5. Reset Button - S1
10. Toggles External Power and USB Power (place jumper on two pins closest to desired
supply) - SV1
11. USB (used for uploading sketches to the board and for serial communication between the
board and the computer; can be used to power the board)
4.2 ECG
ECG records the electrical activity generated by heart muscle depolarizations, which propagate
in pulsating electrical waves towards the skin. Although the electricity amount is in fact very
small, it can be picked up reliably with ECG electrodes attached to the skin. The full ECG setup
comprises at least four electrodes which are placed on the chest or at the four extremities
according to standard nomenclature (RA = right arm; LA = left arm; RL = right leg; LL = left
leg). Of course, variations of this setup exist to allow more flexible and less intrusive
recordings, for example, by attaching the electrodes to the forearms and legs. ECG electrodes
are typically wet sensors, requiring the use of a conductive gel to increase conductivity between
skin and electrodes.
4.3 GSM/GPRS
GSM/GPRS module is used to establish communication between a computer and a GSM
GPRS system. Global System for Mobile communication (GSM) is an architecture used for
mobile communication in most of the countries. Global Packet Radio Service (GPRS) is an
extension of GSM that enables higher data transmission rate. GSM/GPRS module consists of
a GSM/GPRS modem assembled together with power supply circuit and communication
interfaces (like RS-232, USB etc.) for a computer. GSM/GPRS MODEM is a class of wireless
MODEM devices that are designed for communication of a computer with the GSM and GPRS
network. It requires a SIM (Subscriber Identity Module) card just like mobile phones to activate
communication with the network. Also, they have IMEI (International Mobile Equipment
Identity) number similar to mobile phones for their identification. A GSM/GPRS MODEM can
perform the following operations:
The MODEM needs AT commands, for interacting with processor or controller, which are
communicated through serial communication. These commands are sent by the
controller/processor. Different AT commands supported by the MODEM can be sent by the
processor/controller/computer to interact with the GSM and GPRS cellular network.
A pressure sensor is also known as a pressure transducer, pressure transmitter, pressure sender,
pressure indicator, piezometer and manometer.
Figure12:AirQuality Sensor
Requirement Analysis is the first and important phase of the software developing activity in
developing any kind of project effectively. I started to list out all the functionalities that my
application should provide. There have been some minor changes with respect to the
functionalities over the course of development. After a meeting with my Professor Dr. Daniel
Andresen, following are the requirements that have been implemented in this project.
• Application must have a module for login using unique credentials of a patient for
• Location Tracking: Application must have track location option with which doctor or
• Location sender: Hardware must have a GPRS module to fetch location coordinates
which can be used to track location of patient.
• Messaging Service: Hardware must have GSM module which send’s SMS alert
messages to doctor and guardians upon any emergencies. And application must send email
alerts upon any emergencies.
• The user interface is designed in such way that novice users with little knowledge of web,
• Database: MySQL
• RAM: 512 MB
Systems design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements. Overall product architecture, the
subsystems that compose the product, and the way subsystems are allocated to processors are
depicted using the System Design. UML is used to model system designs. Unified Modelling
Language is a standard object-oriented analysis and design language. Use Case diagram and
Sequence diagram, which are types of UML diagrams, of the application are shown below.
Actors:
The Actors of the system are Patient, Guardian and Doctor
Use cases:
I have identified a set of use cases based on the functionalities and goals of the application.
• Login- This use case denotes a set of actions required for Subject to login into the application.
• Call Service- This use case denotes a set of actions required by doctor to call a guardian or
patient in case medical emergencies.
• View Location- This use case denotes a set of actions required by Guardian or Doctor to
locate subject on map after receiving his location details.
• Messaging Service- This use case denotes a set of actions required by Doctor to send a
message to subject’s guardian in case of emergencies.
Table Schema:
a. Patient’s table
ON UPDATE CURRENT_TIMESTAMP
b. Location Table
UPDATE CURRENT_TIMESTAMP
This Project is designed to make sure that user interface pages are easily understandable and
the navigation between pages is obvious. Below are list of web pages that user can navigate
between and are shown in details.
In case device is not connected or any of the sensor is not attached to patient, then all the
readings or respective reading would be shown as zero in case of digital values. In case device
is switched off then this page would display only last known readings that were stored in
database.
8.6 Results
Email alert: Here email alert has been sent to registered email with the information
about patient vitals and link to patient monitoring page.
SMS alert: Here SMS alert has been sent to registered email with the information about
patient vitals and link to patient monitoring page.
Chapter 9 - Testing
Software Testing is a process of executing the application with an intent to find any software
bugs. It is used to check whether the application met its expectations and all the functionalities
of the application is working. The final goal of testing is to check whether the application is
behaving in the way it is supposed to under specified conditions. All aspects of the code are
examined to check the quality of application. The primary purpose of testing is to detect
software failures so that defects may be uncovered and corrected. The test cases are designed
in such way that scope of finding the bugs is maximum.
• Unit testing: Unit testing refers to tests conducted on a section of code in order to verify the
functionality of that piece of code. This is done at the function level.
• Integration Testing: Integration testing is any type of software testing that seeks to verify the
interfaces between components against a software design. Its primary purpose is to expose the
defects associated with the interfacing of modules.
• System Testing: System testing tests a completely integrated system to verify that the system
meets its requirements.
• Acceptance testing: Acceptance testing tests the readiness of application, satisfying all
requirements.
Chapter 10-Conclusion
The main objective of the experiment was successfully achieved. All the individual modules
like Heartbeat detection module, fall detection module etc. and remote viewing module gave
out the intended results.
The designed system modules can further be optimized and produced to a final single circuit.
More important fact that came up during project design is that all the circuit components used
in the remote health detection system are available easily. With the development in the
integrated circuit industry, Micro Electro Mechanical Systems (MEMs) and microcontrollers
have become affordable, have increased processing speeds, miniaturized and power efficient.
This has led to increased development of embedded systems that the healthcare specialists are
adopting. These embedded systems have also been adopted in the Smartphone technology. And
with increased internet penetration in most developing countries through mobile phones, and
with use of Internet of things (IoT) will become adopted at a faster rate. The Remote Health
Care system utilizes these concepts to come up with a system for better quality of life for people
in society.
From an engineering perspective, the project has seen concepts acquired through the computer
science and embedded study period being practically applied. The Electric circuit analysis
knowledge was used during design and fabrication of the individual modules. Electromagnetic
fields analysis used in the wireless transmission between microcontrollers and Software
programming used during programming of the microcontrollers to come up with a final
finished circuit system.
References
[1] “Arduino Architecture” https://www.engineersgarage.com/what-is-gsm-gprs-module
[Oct. 1, 2017]
[5] “Envisioning inclusive futures: technology-based assistive sensory and action substitution”
https://www.infona.pl/resource/bwmeta1.element.elsevier-3d45bfdd-fe55-359f-
84e4674a21cae024 [Sept 4, 2017]
[6] “A multiple communication standards compatible IoT system for medical usage”
http://ieeexplore.ieee.org/document/6577775/?reload=true [Sept 5, 2017]
[7] “Ubiquitous data accessing method in IoT-based information system for emergency
medical services” https://www.deepdyve.com/lp/institute-of-electrical-and-electronics-
engineers/ubiquitousdata-accessing-method-in-iot-based-information-system-for-
YCZzyY5W9g [Sept 6, 2017]
[8] “Implementation of a medical support system considering P2P and IoT technologies”
https://www.computer.org/csdl/proceedings/cisis/2014/4325/00/4325a101-abs.html [Sept 7,
2017]
[9] “Acquisition and management of biomedical data using Internet of Things concepts”
http://ieeexplore.ieee.org/document/7050625/ [Sept 10, 2017]
[10] “Real time internet application with distributed flow environment for medical IoT”
https://csdl.computer.org/csdl/proceedings/icgciot/2015/7910/00/07380578-abs.html [Sept 11,
2017]