Report Nagajothi
Report Nagajothi
CHAPTER 1
INTRODUCTION
RFID technology, which uses radio waves to identify items. This is seen as
one of the pivotal enablers of the Internet of Things. Although it has been
labeled as the next-generation of bar codes. RFID systems offer much more in
that, they can track items in real-time to yield important information about their
4
location and status. Early applications of RFID include automatic highway toll
collection, supply-chain management for large retailers, pharmaceuticals for the
prevention of counterfeiting and e-health for patient monitoring.
More recent applications range from sports and leisure ski passes to personal
security for tagging children at schools. RFID tags are even being implanted
under human skin for medical purposes, but also for VIP access to bars like the
Baja Beach Club in Barcelona. E-government applications such as RFID in
drivers’ licenses, passports or cash are under consideration. RFID readers are
now being embedded in mobile phones.
5
During the heart attack, heart muscle is depraved of oxygen and it will
literally die if the artery is blocked. The first few hours are critical in saving
much of the dying heart muscle and preventing permanent heart damage.
Unfortunately, the symptoms vary and most common reason for critical delays
6
in medical treatment is lack of early warning and patient unawareness. This can
be prevented by using proposed technique. The patient heart rate and
temperature can be monitored regularly.
1.4 OBJECTIVES
Daily mobile health care service is more and more important for solitary
people, disabled and elderly people. From the system, sensing the variety of
physical parameters of the human body is possible.
7
CHAPTER 2
LITERATURE REVIEW
preliminary critical polemic against some of the more rhetorical aspects of smart
cities. The primary focus is on the labelling process adopted by some designated
smart cities, with a view to problematizing a range of elements that supposedly
characterize this new urban form, as well as question some of the underlying
assumptions/contradictions hidden within the concept. To aid this critique, the
article explores to what extent labelled smart cities can be understood as a high-
tech variation of the ‘entrepreneurial city’, as well as speculates on some
general principles which would make them more progressive and inclusive.
the overall health status of the wearer. The wearable monitoring systems allow
an individual to monitor patient vital signs remotely and receive feedback to
maintain a good health status. These systems alert medical personnel, when
abnormalities are detected. The conventional physiological monitoring system
used in hospitals cannot be used for wearable physiological monitoring
applications.
Readers are also cautioned that a lack of good quality evidence does not
necessarily mean a lack of effectiveness particularly in the case of new and
emerging health technologies, for which little information can be found, but
which may in future prove to be effective. While CADTH has taken care in the
preparation of the report to ensure that its contents are accurate, complete and up
to date, CADTH does not make any guarantee to that effect. CADTH is not
liable for any loss or damages resulting from use of the information in the
report.
Ross, P. E., [15] (2004), “Managing care through the air or remote health
monitoring” suggested that, the remote patient monitoring field is a rapidly
12
growing one given the advantages it offers for home healthcare, remote regions
and elderly care. However, with it comes a long list of considerations and
critical issues for designers and engineers to keep in mind. This article offers a
bird’s eye view of this sector and many of the factors on which to maintain
focus.
The last decade has seen a rapid growth and adoption of mobile
computing devices, such as smartphones and tablets. It cannot be missed from
the view of the healthcare industry. Healthcare providers, clinicians and medical
device manufacturers are seeking new and innovative ways to use these
powerful platforms to improve the quality of patient care and lower healthcare
costs. A major area where this is directly impacting the patient consumer is in
remote patient monitoring (RPM) solutions.
13
CHAPTER 3
EXISTING METHOD
Home based health care system is increasing trend in smart cities. The timely
availability of information about health status of chronic heart disease, patients
can play a significant role in decision making about diagnosis and needed
treatment in real time. Fuzzy logic has proved to be the remarkable tool for
building intelligent decision making systems based on the healthcare
practioner’s knowledge and observations. Fuzzy logic based home healthcare
system for the chronic heart disease patients in stable conditions is used for out
of hospital follow up and monitoring.
Internet of Things (IoT) will be the most sought soon after enabling
technology from the domain of Intelligent City. Therefore, distant health-care
monitoring services aided with IoT tend to be valuable. A remote health
monitoring system mainly is made up of portable, wearable and battery pack
powered sensing unit that's assigned with the task of sensing a variety of
physical parameters of the human body. This unit boasts the responsibility
regarding transmit the sensed data for the remote environment with regard to
storage and diagnosis in the patient.
14
The above mentioned issues have been addressed on an IoT based health
care monitoring system for determining abnormal conditions of a patient. The
existing scheme based on fuzzy inference rules will be boon for providing round
the clock health services in smart cities. The scheme is expected to help doctors
and other care givers to take decisions prudently. Doctors will now be freed
from the burden of checking each and every patient’s physical attributes. Instead
they will be able to focus on the patients who really need the care and advice.
Thus, the IoT based system can be used more efficiently without compromising
with the quality of service of the system is shown below the Fig.3.1.
Health care applications need to acquire different types of sensor data. The
sensors data need to be collected in precise and timely manner. When health
sensor data are forwarded to the data aggregator node, more sensing data may be
accumulated along the route. Thus, a huge traffic may be generated during data
collection. Handling such a large amount of data, while minimum data loss is
challenging. Improper handling may result in unbalanced and inefficient Energy
16
Huge amount of data may lead to burdened payload which results in packet
fragmentations. Due to packet fragmentation, the latency for data collection
becomes longer. To tackle the above issues, an event driven knowledge
collection technique is proposed.
17
CHAPTER 4
PROPOSED METHOD
4.1 INTRODUCTION
The National Heart, Lung and Blood Institute states that more than a million
persons have heart attack and about half of them die in each year. About one
half of those who die within a hour of the start of symptoms before reaching the
hospital. The heart attack happens to a person when the blood flow and oxygen
supply to heart muscle is blocked and it is mostly caused by Coronary Artery
Disease (CAD). CAD occurs when the arteries that supply blood to the heart
muscle become hardened and narrowed. It often causes irregular heart beat or
rhythm blockage of blood stream. The National Heart, Lung and Blood Institute
suggest that everyone should know the warning signs of heart attack and how to
get emergency help.
In this method the data collection is done by using event driven approach so
that the events are defined by means of given threshold conditions. It provides
step by step diagnosis and easy detection of physiological stages of patient body
without loss of packets. It can make sense of the health data, if we mention the
state of the particular parameters. Thus in this system, fuzzy rules are used
rather than the threshold parameters.
Continuous data collection from the sensors is not required in event driven
approach. Usually, the data is gathered on occurred fusion center which makes
the decision. In this scheme, instead of implementing fusion centers, case
detection and choice mechanisms are executed by the sensor nodes. Events are
defined by means of some threshold values of the parameters. Assume three
sensor parameters I1, I2 and I3 which are defined for any health-care system M.
M = {I1, I2, I3}
In this event the values of the parameters rely on each other along with 1 st,
2nd and 3rd include the threshold values of I1, I2 along with I3 respectively.
This system comprises two parts are local part and remote part. First the
local part deals with collection of information from the sensors connected to a
patient and the remote part enables storing and distributing the data to remote
service seekers like emergency service providers, doctors, and insurance
providers. Arduino based data aggregator is used to collect the sensor data
before sending to the data processing unit.
19
Temperature sensor
Ethernet shield
Ky039 Heart rate sensor is used to find the contracting and expanding
activity of heart. LM35 is a precision IC temperature sensor with its output
proportional to the temperature. ADXL335 is a small, thin, low power, complete
3-axis accelerometer to detect the body position. Esp8266 Wi-Fi shield is to
communicate with the server to remote part
Among other things, an ECG can be used to measure the rate and
rhythm of heartbeats, the size and position of the heart chambers, the presence
of any damage to the heart's muscle cells or conduction system, the effects of
cardiac drugs, and the function of implanted pacemakers. Continuous ECG
monitoring is used to monitor critically ill patients, patients undergoing general
anesthesia, and patients who have an infrequently occurring cardiac dysrhythmia
that would be unlikely to be seen on a conventional ten second ECG.
4.4.1.4 Electrocardiography
Fainting or collapse
Seizures
ECG is used to gate the scanning so that the anatomical position of the
heart is steady
25
Safety features that include voltage protection for the patient and operator.
Since the machines are powered by mains power, it is conceivable that
either person could be subjected to voltage capable of causing death.
Additionally, the heart is sensitive to the AC frequencies typically used
for mains power i.e.50 or 60 Hz.
26
Additionally circuitry called the right leg driver can be used to reduce
common mode interference i.e. typically the 50/60 Hz mains power.
Fig.4.6 LM interfacing
The +5v for LM35 can be taken from the +5v out pin of arduino uno.
Also the ground pin of LM35 can be connected to GND pin of arduino uno.
Connect Vout ,the analog out of LM35 to any of the analog input pin of arduino
uno. In the above circuit diagram, Vout of LM35 is connected to A1 of arduino.
Fig.4.7 ADXL335
The user selects the bandwidth of the accelerometer using the C X, CY,
and CZ capacitors at the XOUT, YOUT, and ZOUT pins. Bandwidths can be selected
to suit the application with a range of 0.5 Hz to 1600 Hz for X and Y axes, and a
range of 0.5 Hz to 550 Hz for the Z axis.
29
1KBytes EEPROM
CHAPTER 5
FUZZY LOGIC
Fuzzy logic is a form of many valued logic in which the truth values of
variables may be any real number between 0 and 1. By the contrast of Boolean
logic, the truth values of variables may only be the integer values 0 or 1. Fuzzy
logic has been employed to handle the concept of partial truth, where the truth
value may range between completely true and completely false. Furthermore,
when linguistic variables are used and the degrees can be managed by specific
membership functions.
Since the fuzzy system output is a consensus of all of the inputs of the
rules, fuzzy logic systems can be well behaved when input values are not
available or are not trustworthy. Weightings can be optionally added to each rule
in the rule base and weightings can be used to regulate the degree to which the
rule affects the output values.
36
5.1.3 Process
2. Execute all applicable rules in the rule base to compute the fuzzy
output functions.
The basic fuzzy inference system can take either fuzzy inputs or crisp
inputs but the outputs produce fuzzy sets. The defuzzification task extracts the
crisp output that best represents the fuzzy set. With crisp inputs and outputs a
fuzzy inference system implements a nonlinear mapping from its input space to
output space through a number of fuzzy rules.
37
Initially, the data from all the sensors are retrieved and the data
aggregator decides which particular data should be sent depending upon the
condition of the patient. All data are fed into the fuzzifier and the fuzzifier is
used to detect whether the parameters are normal, low or high fuzzy sets on the
basis of some predefined membership functions.
5.2.1 Implementation
The average heart rate ranges from 60 to 100 beats per minute. Here,
the heart rate parameter range is divided into three fuzzy sets namely, ‘Low’,
‘Medium’ and ‘High’.
The membership criterion for body temperature is 37˚C but it may vary
during the daytime, so a range between 36.5˚C and 37.5˚C is considered as
normal body temperature.
41
In this system, more than one fuzzy rules pertaining to the heart disease are
formed. The output shows the presence or absence of risk for the heart disease
subjected to given the values of input parameters. The rules consist of
antecedent and consequent parts. All the rules continuous to some extent in the
antecedent part of the fuzzy system. In the inference process, the values for the
premise of each rule is computed and applied to the conclusion part of each rule.
This results in one fuzzy subset to be assigned to each output variable for each
rule. The fuzzy expert system computes the probabilities and determines output
value in terms of percentage of the risk of heart disease from zero percent to
hundred percent. Decisions are described through the output membership
functions. These functions determine whether the alert will be generated or
normal monitoring is sufficient.
42
CHAPTER 6
The simulation output of patient health monitoring using IoT is shown in the
Fig. 6.1 It shows the fuzzy assisted health data visualization in real-time. From
this the cardiac patient health parameters such as body position, temperature and
heart rate are measured. The fuzzy system is programmed in the arduino board,
which is used as a data aggregator unit in the healthcare monitoring system. The
data aggregator transmits the sensor’s data according to the fuzzy rules.
CHAPTER 7
APPENDIX I
1.Source coding
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
ESP8266WiFiMulti WiFiMulti;
// variables
int x = 0;
int y = 0;
int z = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
46
void loop() {
// put your main code here, to run repeatedly:
int motor1, motor2;
if(digitalRead(pins[0])==0){ //Turn left
Serial.println("left");
motor1 = 50;
47
motor2 = 50;
}
else if(digitalRead(pins[1])==0){ //Go forward
Serial.println("forward");
motor1 = 50;
motor2 = -50;
}
else if(digitalRead(pins[2])==0){ //Turn right
Serial.println("right");
motor1 = -50;
motor2 = -50;
}
else{
motor1 = 0;
motor2 = 0;
}
if(WiFiMulti.run() == WL_CONNECTED){
HTTPClient http;
http.begin("http://192.168.0.46:5000/control/");
http.addHeader("Content-Type", "application/json");
int httpCode =
http.POST("{\"motor1\":"+String(motor1)+", \"motor2\":"+String(motor2)+"}")
;
String payload = http.getString();
Serial.print('\t');
Serial.println(httpCode);
Serial.println(payload);
}
48
delay(40);
x = analogRead(xPin);
y = analogRead(yPin);
z = analogRead(zPin);
// show x, y and z-values
Serial.print("x = ");
Serial.print(x);
Serial.print(" y = ");
Serial.print(y);
Serial.print(" z = ");
Serial.print(z);
// show angle
Serial.print(" angle = ");
Serial.println(constrain(map(x,349,281,0,90),0,90));
delay(2000);
Serial.print("X = ");
Serial.println(accel.readx());
Serial.print(" Y = ");
Serial.println(accel.ready());
Serial.print(" Z = ");
Serial.println(accel.readz());
Serial.print(" Ac. Total");
Serial.println(accel.acceltol());
#include <LiquidCrystal.h>
49
// Variables
int pulsePin = 0; // Pulse Sensor purple wire connected to analog pin 0
int blinkPin = 13; // pin to blink led at each beat
int fadePin = 8; // pin to do fancy classy fading blink at each beat
int fadeRate = 0; // used to fade LED on with PWM on fadePin
volatile int thresh = 525; // used to find instant moment of heart beat,
seeded
volatile int amp = 100; // used to hold amplitude of pulse waveform,
seeded
volatile boolean firstBeat = true; // used to seed rate array so we startup with
reasonable BPM
volatile boolean secondBeat = false; // used to seed rate array so we startup
with reasonable BPM
serialOutput();
void ledFadeToBeat()
{
fadeRate -= 15; // set LED fade value
51
void serialOutput()
{ // Decide How To Output Serial.
if (serialVisual == true)
{
arduinoSerialMonitorVisual('-', Signal); // goes to function that makes Serial
Monitor Visualizer
}
else
{
sendDataToSerial('S', Signal); // goes to sendDataToSerial function
}
}
52
void serialOutputWhenBeatHappens()
{
if (serialVisual == true) // Code to Make the Serial Monitor Visualizer Work
{
Serial.print("*** Heart-Beat Happened *** "); //ASCII Art Madness
Serial.print("BPM: ");
Serial.println(BPM);
lcd.clear();
lcd.print("BPM: ");
lcd.print(BPM);
}
else
{
sendDataToSerial('B',BPM); // send heart rate with a 'B' prefix
sendDataToSerial('Q',IBI); // send time between beats with a 'Q' prefix
}
}
{
case 0:
Serial.println(""); /////ASCII Art Madness
break;
case 1:
Serial.println("---");
break;
case 2:
Serial.println("------");
break;
case 3:
Serial.println("---------");
break;
case 4:
Serial.println("------------");
break;
case 5:
Serial.println("--------------|-");
break;
case 6:
Serial.println("--------------|---");
break;
case 7:
Serial.println("--------------|-------");
break;
case 8:
Serial.println("--------------|----------");
break;
case 9:
54
Serial.println("--------------|----------------");
break;
case 10:
Serial.println("--------------|-------------------");
break;
case 11:
Serial.println("--------------|-----------------------");
break;
}
}
{
if (Signal < T) // T is the trough
{
T = Signal; // keep track of lowest point in pulse wave
}
}
if(secondBeat)
{ // if this is the second beat, if secondBeat == TRUE
secondBeat = false; // clear secondBeat flag
for(int i=0; i<=9; i++) // seed the running total to get a realisitic BPM at
startup
56
{
rate[i] = IBI;
}
}
APPENDIX II
PUBLICATIONS
REFERENCES
1. Avitall, B., Peterson, B., Kletch, J., Grisworld, B., and Moran, P. (2001)
‘Remote Health Monitoring System’, Proceeding of the 17th International
Conference on,vol.29, No.1, pp.977-987.
2. Boegl, K., Adlassni, K. P., Hayashi, K., Rothenfluh, T. E., Leitich. (2004)
‘Knowledge acquisition in the fuzzy knowledge representation framework
of a medical consultation system’, International Conference on Artificial
Intelligence in Medicine, vol.30, pp.1-26.
5. Haigh, K. Z., Kiff, L. M., and Ho, G. (2006) ‘The independent lifestyle
assistant Lessons learned’, Conference on Assistive Technology, vol.18,
No.3, pp.87-106.
11. Pandian, P. S., Safeer, K.P., Pragati Gupta, D. T., and Shakunthala.
(2008) ‘Wireless Sensor Network for Wearable Physiological
Monitoring’, Journal of Networks, vol.3, No.5, pp.121-18.
14. Robert, G., Lupu, Andrei Stan, Florina Ungureanu. (2008) ‘Wireless
Device for Patient Monitoring’, Proceeding International Conference on
vol.1, No.2, pp.521-366.
15. Ross, P. E. (2004) ‘Managing care through the air [remote health
monitoring]’, IEEE Transactions on, vol.12, No.6, pp.26-31.
61
16. Sukumar, P., and Dr. Ravi, S. (2016) ‘IoT Based Efficient Vehicle
Location Help Line System Using NFC’, International Journal of
Emerging Technologies in Engineering Research (IJETER), vol.4, No.5,
pp.10-13.
17. Tamilselvi, S. and Sukumar, P. (2014) ‘Clock Power Reduction using
Multi-BitFlip-Flop Technique’, IRACST – Engineering Science and
Technology as an International Journal, vol.4, No.2, pp. 46-51.