MODELING AND SIMULATION OF FUZZY BASED AUTOMATIC INSULIN DELIVERY SYSTEM

Similar documents
Design and Study of Online Fuzzy Risk Score Analyzer for Diabetes Mellitus

Implementation of Inference Engine in Adaptive Neuro Fuzzy Inference System to Predict and Control the Sugar Level in Diabetic Patient

Various Methods To Detect Respiration Rate From ECG Using LabVIEW

Glucose Concentration Simulation for Closed-Loop Treatment in Type 1 Diabetes

A FUZZY LOGIC BASED CLASSIFICATION TECHNIQUE FOR CLINICAL DATASETS

Causal Modeling of the Glucose-Insulin System in Type-I Diabetic Patients J. Fernandez, N. Aguilar, R. Fernandez de Canete, J. C.

Active Insulin Infusion Using Fuzzy-Based Closed-loop Control

Phone Number:

Achieving Open-loop Insulin Delivery using ITM Designed for T1DM Patients

Comparison of Mamdani and Sugeno Fuzzy Interference Systems for the Breast Cancer Risk

Predicting Heart Attack using Fuzzy C Means Clustering Algorithm

Outline. Model Development GLUCOSIM. Conventional Feedback and Model-Based Control of Blood Glucose Level in Type-I Diabetes Mellitus

Now you know. InPen MOBILE APP. Healthcare Provider INSTRUCTIONS FOR USE. CompanionMedical.com Companion Medical, Inc.

OLA Diabetes Care. Our mission statement is To enabling diabetics to live a normal life without having to worry about their conditions and medication.

CareLink. software REPORT REFERENCE GUIDE. Management Software for Diabetes

A Virtual Glucose Homeostasis Model for Verification, Simulation and Clinical Trials

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

C o n n e c t e d I n s u l i n D e l i v e r y S y s t e m

A micropower support vector machine based seizure detection architecture for embedded medical devices

Awareness of Diabetic Retinopathy in Rural Population in South Tamil Nadu

Human Machine Interface Using EOG Signal Analysis

GLOOKO DREAMED FOR ANDROID USER GUIDE

International Journal of Scientific & Engineering Research Volume 8, Issue 5, May ISSN

DETECTION OF HEART ABNORMALITIES USING LABVIEW

Fuzzy Decision Analysis in Negotiation between the System of Systems Agent and the System Agent in an Agent-Based Model

A Telematic System for Diabetes Management, Reporting and Patient Advice

Assistant Professor, PG and Research Department of Computer Applications, Sacred Heart College (Autonomous), Tirupattur, Vellore, Tamil Nadu, India

An Improved Fuzzy PI Controller for Type 1 Diabetes

CHAPTER 6 DESIGN AND ARCHITECTURE OF REAL TIME WEB-CENTRIC TELEHEALTH DIABETES DIAGNOSIS EXPERT SYSTEM

Optical sensor for Indian Siddha Diagnosis System

Insulin Control System for Diabetic Patients by Using Adaptive Controller

Design of a Fuzzy Rule Base Expert System to Predict and Classify the Cardiac Risk to Reduce the Rate of Mortality

RDCONT A system for diabetes blood glucose data management

DiasNet an Internet Tool for Communication and Education in Diabetes

Insulin Administration for People with Type 1 diabetes

Fuzzy Logic Based Expert System for Detecting Colorectal Cancer

FUZZY DATA MINING FOR HEART DISEASE DIAGNOSIS

ADVANCES in NATURAL and APPLIED SCIENCES

Design and Analysis of Automatic Insulin Delivery System Using Pic Microcontroller

Comparison of ANN and Fuzzy logic based Bradycardia and Tachycardia Arrhythmia detection using ECG signal

Application of Tree Structures of Fuzzy Classifier to Diabetes Disease Diagnosis

Computational Intelligence Lecture 21: Integrating Fuzzy Systems and Neural Networks

Live life, less complicated. InPen MOBILE APP. Healthcare Provider INSTRUCTIONS FOR USE. CompanionMedical.com

Optimal Model Based Control for Blood Glucose Insulin System Using Continuous Glucose Monitoring

Minimum Feature Selection for Epileptic Seizure Classification using Wavelet-based Feature Extraction and a Fuzzy Neural Network

IDENTIFYING MOST INFLUENTIAL RISK FACTORS OF GESTATIONAL DIABETES MELLITUS USING DISCRIMINANT ANALYSIS

Artificially Intelligent Primary Medical Aid for Patients Residing in Remote areas using Fuzzy Logic

An Approach To Develop Knowledge Modeling Framework Case Study Using Ayurvedic Medicine

Keywords: Adaptive Neuro-Fuzzy Interface System (ANFIS), Electrocardiogram (ECG), Fuzzy logic, MIT-BHI database.

The 29th Fuzzy System Symposium (Osaka, September 9-, 3) Color Feature Maps (BY, RG) Color Saliency Map Input Image (I) Linear Filtering and Gaussian

The Growing Future of Diabetes: Insulin Pump Therapy in Type 1 and 2 Diabetes

REQUIREMENTS SPECIFICATION

Automatic Classification of Breast Masses for Diagnosis of Breast Cancer in Digital Mammograms using Neural Network

Automated Assessment of Diabetic Retinal Image Quality Based on Blood Vessel Detection

Wavelet Neural Network for Classification of Bundle Branch Blocks

Artificial Pancreas Device Systems. Populations Interventions Comparators Outcomes. pump. pump

DBA Design Effectiveness Awards SoloSTAR. A disposable pen injector for insulin

Insulin Pump Therapy in children. Prof. Abdulmoein Al-Agha, FRCPCH(UK)

Android based Monitoring Human Knee Joint Movement Using Wearable Computing

Diagnosing and curing diseases using Chemical Intents and Machine Learning

POPULATION TRACKER - DREAMED USER GUIDE

DMD4DMD (Dystrophy Monitoring Device for Duchenne Muscular Dystrophy)

Study on the control of variable resistance for isokinetic muscle training system

INSPIRED BY GIVE HIM MORE. The MiniMed 670G system is the world s first insulin delivery system that automatically adapts to your child s needs.

Ideal of Fuzzy Inference System and Manifold Deterioration Using Genetic Algorithm and Particle Swarm Optimization

Diagnosis Of the Diabetes Mellitus disease with Fuzzy Inference System Mamdani

Linear Quadratic Control Problem in Biomedical Engineering

AUTOMATIC RETINAL VESSEL TORTUOSITY MEASUREMENT

LABVIEW based expert system for Detection of heart abnormalities

Situation Reaction Detection Using Eye Gaze And Pulse Analysis

EXTRACTION OF RETINAL BLOOD VESSELS USING IMAGE PROCESSING TECHNIQUES

Fuzzy Expert System to Calculate the Strength/ Immunity of a Human Body

Temporal Analysis and Remote Monitoring of ECG Signal

Brain Tumor Detection using Watershed Algorithm

Non Linear Control of Glycaemia in Type 1 Diabetic Patients

Design and Implementation of Fuzzy Expert System for Back pain Diagnosis

Designed with your patients lives in mind

Study Participants HbA1c (%, mean and SD) Duration of diabetes (years, mean and SD) Age (years, mean and SD) Type 1 diabetes

Automated Prediction of Thyroid Disease using ANN

EVER Pharma D-mine Pen Pen injector for Apomorphine 10 mg/ml

People with type 1 diabetes and Do It Yourself (DIY) technology solutions ABOUT THIS POSITION STATEMENT

International Journal of Computer Engineering and Applications, Volume XI, Issue VIII, August 17, ISSN

Evaluation of Computer-aided Drug Delivery System with a Human Operator

Fine-tuning of The Dose of Insulin Pump

Gesture Recognition using Marathi/Hindi Alphabet

Semiotics and Intelligent Control

Disease predictive, best drug: big data implementation of drug query with disease prediction, side effects & feedback analysis

Intelligent Medicine Case for Dosing Monitoring and Support

CHAPTER 4 ANFIS BASED TOTAL DEMAND DISTORTION FACTOR

An ECG Beat Classification Using Adaptive Neuro- Fuzzy Inference System

Report Reference Guide

Some Connectivity Concepts in Bipolar Fuzzy Graphs

EXPERIMENTAL INVESTIGATION OF STROUHAL S NUMBER LINEARITY FOR DUAL TRAPEZOIDAL BLUFF BODY VORTEX FLOWMETER

Potential Vision for Diabetes Care

Invisalign G4 FAQs. General:

Fayrouz Allam Tabbin Institute for Metallurgical Studies, Helwan, Egypt

IMMUNOGLOBULIN REPLACEMENT THERAPY: ONE SIZE DOESN T FIT ALL

An SVM-Fuzzy Expert System Design For Diabetes Risk Classification

Wrist Energy Fuzzy Assist Cancer Engine WE-FACE

SIMULATIONS OF A MODEL-BASED FUZZY CONTROL SYSTEM FOR GLYCEMIC CONTROL IN DIABETES

Transcription:

Journal of Computer Science 9 (9): 1133-1139, 2013 ISSN: 1549-3636 2013 doi:10.3844/jcssp.2013.1133.1139 Published Online 9 (9) 2013 (http://www.thescipub.com/jcs.toc) MODELING AND SIMULATION OF FUZZY BASED AUTOMATIC INSULIN DELIVERY SYSTEM 1 SunithaKarnam Anantha, 2 Senthil Kumar Natarajan and 1 Subransu Sekar Dash 1 School of Electrical and Electronics Engineering, Faculty of Engineering and Technology, SRM University, Chennai, India 2 Department of Electrical and Electronics Engineering, Mepco Schlenk Engineering College, Sivakasi, India Received 2013-04-08, Revised 2013-07-04; Accepted 2013-07-13 ABSTRACT The aim is to design a complete online, automatic, intelligent and independent insulin delivery system. The proposed system calculates the amount of insulin by formulation based upon two linguistic factors i.e. weight and blood glucose levels. These factors have been used to develop a rule based fuzzy system in LabVIEW. The fuzziness brings a better regulation into the regime than a non fuzzy system as small changes in quantities of insulin can bring about effective command on the glucose levels. A user friendly interactive webpage has been designed that inculcates the fuzzy system for providing online doctor consultation. The insulin delivery has been simulated in LabVIEW where the quantity of insulin delivered to the patient can be controlled automatically or by the doctor. The system has been verified by taking a random sample of hundred insulin dependent individuals to test the effectiveness of the system. The developed fuzzy system was found to be more accurate than a non fuzzy system. This study is modeled for soluble human insulin type. The implementation of this system in real time with insulin pump will enable those in inaccessible areas and intensive care units to control the glucose levels automatically in an efficient manner. Keywords: Insulin, Fuzzy, Insulin Delivery, Simulation 1. INTRODUCTION India has become the diabetic capital of the world with 4 crores Indians suffering from diabetes as of 2006 and the number is expected to rise to 7 crores by the year 2025 (Wild et al., 2004). Diabetes may result in significant morbidity, leading to conditions such as blindness, cardiovascular disease, kidney disease and premature death. Most of the diabetic patients are insulin dependent and effective monitoring is necessary for keeping the glucose levels under control (Dudde and Vering, 2003). Insulin is a High Alert Medication, due to complex individualized dosing and administration regimens; insulin is not a onesize-fits-all medication. Medication errors associated with insulin use have the potential to cause patient harm and are responsible for 80% of inpatient errors caused by glucoselowering agents and 10% of all harmful drug errors. These human based insulin delivery systems can be replaced by an automatic insulin delivery systems, which are time efficient, convenient with no human errors and thus results in easier and better control of insulin for patients. Bed ridden patients require human assistance and these systems would eliminate the need for it if implemented in real time (Albisser et al., 1986). Diabetes is a lifelong disease and it is best to maintain proper control to suppress its negative impact on the quality of life. 1.1. Problems with Insulin Therapy The type and amount of insulin to be given is decided by wide range of factors including type of diabetes, age, gender, body mass index and other diseases the patient may suffer from. The insulin therapy needs to be supplemented by lifestyle and diet changes so as to lead an active and healthy life. Insulin Corresponding Author: SunithaKarnam Anantha, School of Electrical and Electronics Engineering, Faculty of Engineering and Technology, SRM University, Chennai, India 1133

dosing is individualized and complex (Mirouze, 1983; Jayaraj et al., 2009). Administration of too much or not enough insulin causes dire consequences. The Institute for Safe Medication Practices (ISMP) placed insulin, subcutaneous and Intravenous (IV), on a list of Highalert Medications due to its potential to cause serious patient harm if given in error. Too much insulin intake may lead to hypoglycemia and then loss of consciousness and seizures. International diabetes care centre has recognised the numerous reports of serious errors associated with the misadministration of insulin. These errors involve human error and errors occurring in the prescribing of insulin amount. It should not be assumed that all healthcare practitioners are knowledgeable and skilled with measuring doses and recognizing doses that exceed safe limits. So these medication errors involving insulin are responsible for disproportionate number of serious adverse events. 1.2. Importance of Fuzzy System The above complexities have contributed to a plethora of insulin errors at every step of the prescribing, dispensing and administration. A single solution for all the above insulin therapy problems can be given by a fuzzy based automatic insulin delivery system (Fabietti and Canonico, 2006; Yang et al., 2007; Goh et al., 2008; Xu et al., 2006; Zelin et al., 1975) Accurate amounts of insulin dosage can be calculated or prescribed from the fuzzy system. The fuzzy system is more accurate than the normal controller because instead of being either true or false, a partial true case can also be declared. Thus exact number of units of insulin can be delivered to the patient thus aiding efficient control of glucose level. 2. MATERIALS AND METHODS 2.1. Patients The patients have been randomly selected from populations of southern states of Tamil Nadu and Andhra Pradesh. The analysis was performed by collecting data from hundred patients of varying ages and gender suffering from diabetes. The patients were informed about the specific use of the data collected from them. All patients provided their consent for usage and publication of the data obtained from them. 2.2. Instrumentation The software used for the development and analysis is LabVIEW. The insulin quantity is calculated by a fuzzy system designed in fuzzy system designer in LabVIEW (Wild et al., 2004; Zelin et al., 1975). The linguistic variables are weight and blood glucose levels. The insulin quantity is the output of the system. The input and output variables are divided into membership functions according to their ranges. 2.3. Membership Functions The variables are divided based on the range of values they can take. The blood glucose level is divided into six triangular membership functions ranging from 100 to 400. The weight is divided into twelve membership functions ranging from 0 to 120. The insulin level is divided into 53 membership functions ranging from 0 to 400. The membership functions of insulin are shown in Fig. 1. 2.4. Rules The rules are formed using if then statements where a certain combination of each of the inputs membership functions give a particular insulin quantity. The number of rules depends upon the number of input variables and the total of membership functions for each input variable. All different possible combinations need to be added to the rules so as to obtain the exact insulin quantity for the mid values. The total number of rules built for insulin calculator is 66. Few examples of rules are: IF weight is i and blood glucose is F THEN Insulin is i42 IF weight is a and blood glucose is A THEN Insulin is i1, IF weight is b and blood glucose is A THEN Insulin is i3. TTTT. 2.5. 3D Graph The relationship between the input and output variables can be studied with help of 3D graphs between two input variables and the risk as shown in the Fig. 2. The defuzzification method used is centre of area. The input variables can be progressively varied to study the effect of each of the input variables on the risk. 2.6. User Interactive System The interactive system physically consists of two computers connected to each other by internet protocol. The program developed is running on both ends of the system. One end is the patient or individual and the other end is the doctor. The program includes a display where the individual can enter the details using which the fuzzified insulin quantity to be delivered is calculated. The implementation of such a system is time efficient and thus makes control of diabetes hassle free to a large extent. 1134

Fig. 1. Membership function of insulin therapy system Fig. 2. 3D graph between input and output variables 1135

Fig. 3. Block diagram of developed system Fig. 4. Front panel of the developed system 1136

Fig. 5. Front panel of the pump Fig. 6. On line web page for insulin therapy 2.7. Program The program has been coded in LabVIEW and hence the user interface and logic behind the program are developed simultaneously. The program is coded to inherit the already designed fuzzy system. The doctor can suggest on the amount of insulin calculated by the system. The doctor can control the amount of insulin injected to the patient by automatic insulin pump. The patient at the user end will have to enter details like name, age, weight and blood glucose which upon execution displays the insulin quantity to be taken. After analyzing the results, the 1137

patient can choose to automatically inject oneself with insulin or ask for further clarifications from the doctor. The doctor can access the program from his end and step in when ever required to give is suggestions. The block diagram and front panel are shown in Fig. 3 and 4. 2.8. Simulation of Insulin Pump The quantity of insulin from fuzzy analyzer is given as an input to the insulin pump (Albisser et al., 1986; Mirouze, 1983; Jayaraj et al., 2009; Fabietti and Canonico, 2006; Goh et al., 2008; Xu et al., 2006). The required quantity flows from the pump into the injector. The number of units can also be set by the doctor in case it is required. The system is simulated in front panel of LabVIEW in form of two interconnected tanks where the top one is the insulin pump and the bottom is the insulin injector. The front panel of pump is shown in Fig. 5. 2.9. Online Webpage The real time implementation of the system would require computers with internet access at specific locations and insulin pump with required circuitry. The LabVIEW program can be converted to exe and run on any computer without the software installation procedure. The use of a webpage for data transmission inherently brings its own characteristics of less time consumption, faster access and lesser incidence of errors. The webpage display is shown in Fig. 6. 3. RESULTS The data was obtained from a random population of individuals. The individuals mainly belonged to southern regions of India. The distribution of the individual records according to the factors is shown in Table 1. The insulin obtained from normal system was compared with the fuzzy system and it was found to be giving more exact results. The number of units of insulin the patient was taking was found to be comparable to the results obtained from the fuzzy system. A random database illustrating the comparison is shown in Table 2. The small change in number of units to be injected to the patient will cause long term effects in controlling the amount of glucose levels effectively. The various patient record samples collected were used to obtain insulin levels. One sample of 3D graph is shown in Fig. 6. The insulin obtained directly from the equation and fuzzified insulin levels are compared with each other. The fuzzified insulin levels were found to be more accurate. The results were also compared with the real time insulin data obtained from the patient. It was found to be compatible. Table 1. Distribution of records Factor Category Percentage Total Insulin units 30-Oct 24 100 31-60 32 61-90 17 91-120 18 121-150 2 151-180 3 181-210 4 Blood glucose 100-130 8 100 131-160 9 161-190 5 191-210 10 211-240 14 241-270 22 271-300 16 301-330 3 331-360 4 361-390 9 Weight 0-20 4 100 21-40 38 41-60 33 61-80 23 81-100 2 1138

Table 2. Comparison between prescribed and calculated insulin dosage Patient Daily insulin dosage prescribed Fuzzy system daily dosage 1 20 16.7 2 40 35.5 3 40 42.9 4 50 47.4 5 60 63.4 Thus by employing this system an online based insulin injector control is possible. It also enables the physician to be present at multiple locations virtually. This eases the problems caused by patients in rural and inaccessible areas. 4. DISCUSSION The validity of the equation is verified by comparison with the actual amount of insulin that is being taken by the patient. The results of the system are transmitted online through a webpage and also insulin injection is controlled by the physician. 5. CONCLUSION The fuzzy system was found to provide more accurate results as compared to normal system. 6. REFERENCES Albisser, A.M., A. Schiffrin, M. Schulz, J. Tiran and B.S. Leibel, 1986. Insulin dosage adjustment using manual methods and computer algorithms: A comparative study. Med. Biol. Eng. Comput., 24: 577-584. DOI: 10.1007/BF02446259 Dudde, R. and T. Vering, 2003. Advanced Insulin Infusion using a Control Loop (ADICOL) concept and realization of a control-loop application for the automated delivery of insulin. Proceedings of the 4th International IEEE EMBS Special Topic Conference on Information Technology Applications in Biomedicine, Apri. 24-26, IEEE Xplore Press, pp: 280-282. DOI: 10.1109/ITAB.2003.1222532 Fabietti, P.G. and V. Canonico, 2006. Control oriented model of insulin and glucose dynamics in type 1 diabetics. Med. Biol. Eng. Comput., 44: 66-78. DOI: 10.1007/S11517-005-0012-2 Goh, W., M. Pasquier and C. Quek, 2008. Adaptive control of infusion pump for type-i diabetes control using a self-tuning regulator. Proceeding of the 10th International Conference on Control, Automation, Robotics and Vision, Dec. 17-20, Hanoi, pp: 1379-1384. DOI: 10.1109/ICARCV.2008.4795724 Jayaraj, N., C.M. Cherian and S.G. Vaidyanathan, 2009. Intelligent Insulin Infuser. Proceedings of the Third UKSim European Symposium on Computer Modeling and Simulation, (CMS 09), pp: 74-78. DOI: 10.1109/EMS.2009.64 Mirouze, J., 1983. Insulin treatment: A non-stop revolution. Diabetologia, 25: 209-221. DOI: 10.1007/BF00279931 Wild, S., G. Roglic, A. Green, R. Sicree and H. King, 2004. Global prevalence of diabetes. Estimates for 2000 and projections for 2030. Diabetes Care, 27: 1047-1053. DOI: 10.2337/diacare.27.5.1047 Xu, Z., S. Liu, Z. Gan, B. Ma and G. Liu et al., 2006. An integrated intelligent insulin pump. Proceeding of the 7th International Conference on Electronic Packaging Technology, Aug. 26-29, Shanghai, pp: 1-5. DOI: 10.1109/ICEPT.2006.359761 Yang, R., M. Zhang and T.J. Tarn, 2007. Adaptive backstepping control of a micro-needle micro-pump integrated insulin delivery system for diabetes care. Proceedings of the 7th IEEE Conference on Nanotechnology, Aug. 2-5, IEEE Xplore Press, Hong Kong, pp: 448-453. DOI: 10.1109/NANO.2007.4601229 Zelin, S., G.H. Jun and K.H. Norwich, 1975. The glucose control mechanism viewed as a regulator. Med. Biol. Eng. Comput., 13: 503-508. DOI: 10.1007/BF02477126 1139