Artificial Pancreas - RAEE 2017 PDF
Artificial Pancreas - RAEE 2017 PDF
Artificial Pancreas - RAEE 2017 PDF
Meal Disturbances
Suleman Ata Zeashan Hameed Khan
Department of Electrical Engineering, Department of Electrical Engineering,
Riphah International University, I-14, Islamabad, Pakistan Bahria University, E-8, Islamabad, Pakistan
[email protected] [email protected]
Abstract—In this paper, a model based feedback control system modified if necessary (for example, in the case of
equivalent to the functioning of a natural pancreas in human implementation) [4]. Basal insulin requirements differ from
body is designed to monitor and control its blood glucose level patient to patient and also at different instant of time on the
(BGL). For a diabetic patient, an insulin dose is required to same day.
maintain the glycemic control. The idea of an artificial pancreas
consists of a glucagon pump and an insulin infusion, through
which glucagon/insulin is entered into the patient’s body, based
on the most recent blood glucose level (BGL) as sensed by the
continuous blood glucose monitoring. Initially, the system
response is tested by applying a step input and then a PID
controller is tuned for keeping glucose level within the safe
ranges. Multiple classical and advanced controllers have been
tested to figure out the best result. Optimal performance
requirements are achieved with an MPC controller and glucose
level tracking is performed under unknown but realistic
exogenous meal disturbance. The simulation results show that the
patient safety can be enhanced through implementing a real-time
MPC strategy. Figure 1: BGL monitoring system with implanted continous blood sensor
It is important to note that for both Type 1 and Type 2 The method commonly used to check BGL is that the
patients, medicines (or insulin) are required to control glucose patients prick themselves to check their blood sugar levels.
level in the body. However, as there is no permanent healing The closest thing to the artificial pancreas is an insulin pump.
from diabetes, the medication must be continued life time
Table 1 Blood sugar reference ranges in fasting and random [6]
which is troublesome as injecting the insulin twice daily is
mg/dl Fasting After Eating 2-3 hours after
painful to most of the diabetic patients. Scientists and Eating
researchers have recommended an autonomous pancreas for Normal 80-100 170-200 120-140
the convenience of diabetic patients. However, since the Impaired 101-230 190-230 140-160
healthcare products need a much stringent requirements to Glucose
Diabetic 126+ 220-300 200+
pass various tests on patients before they are available in the
market, the need to obtain a safe and deterministic control
performance is a mandatory. This opens the research area to Where, the artificial pancreas takes the insulin pump to a
test and verify various algorithms for the control of artificial new level by adding real-time monitoring systems [15] , [16].
pancreas. Table 1 shows the reference values for blood sugar level in
healthy persons. Fig. 4 provides a graphical representation of
this variation for diabetic patients as compared to normal
persons.
Figure 2: Working of natural pancreas to maintain normal blood glucose level The closed loop system shown in Fig. 3 uses a computer
attached to the insulin pump to continuously measure glucose
Although, the sensors and pump technologies are in the blood and insulin in the body. The artificial pancreas is
progressing well, the gross challenge is to combine the two in going to make the lives of diabetes much more manageable. It
an automated manner. Delivery of closed-loop systems (often then uses algorithms to increase the insulin levels as the body
called "artificial pancreas") regulate glucose levels through a needs it. The artificial pancreas has four major parts including
combination of the two devices through sports dosing glucose sensors and transmitter that measures the level of
algorithm. It is altered insulin delivery every 1-15 minutes by glucose concentration in the body. The information is then
controlling glucose sensor based on the levels of glucose in a transmitted to a receiver that displays the glycemic levels for
the patients. An embedded controller calculates in real time, The simulation model is developed by taking values shown in
the required dose of insulin which is needed to compensate the Table 2. Using these values and adjusting the delays, an effort
increase in glycemic level. Furthermore, the embedded is made to make the plant more realistic/equivalent to the real
controller actuates the insulin pump via Bluetooth to release human body.
the appropriate dose of insulin into the patient [17], [18].
p2 0.0209 min-1
X U
0.0054P
ml
G 0.81 mg/ml
Gb 0.811 mg/ml
N 0.214 min 1
T 5 min
III. SYSTEM MODEL Figure 6: Block Diagram of Equivalent System with Disturbance
There are many researchers who have proposed the insulin-
glucose model of a human body. Bergman minimal model
equations are used to define relationship b/w concentration of
insulin, glucose and BGL [19].
dG(t )
p1 >G(t ) Gb @ X (t )G(t ) >D(t ) C (t )@......(1)
dt
dX (t )
p2 X (t ) p3 >I (t ) I b @......(2)
dt
dI (t )
n>I (t ) I b @ 8>G(t ) h@ t r (t )......(3)
t
dt
Where:
G(t): Instantaneous glucose concentration
X(t): Effective amount of insulin used
Figure 7: Step Response of the System with disturbance
I(t): Instantaneous insulin concentration
Gb and Ib: Concentration of glucose
P1, P2, and P3: Model parameters IV. CONTROLLER DESIGN
n: Rate at which insulin is being injected In literature, various control algorithms exist which were
h: Lowest value of blood sugar aimed to control the BGL level in closed loop. These
Y: Rate of endogenous release of insulin algorithms have been tested in simulations and a few on
animals and on diabetic patients [20]. To control the response
of plant/patient’s glucose level, closed loop control is needed.
This controller will help to normalize the BGL in certain
limits and continuously monitor the output. The closed loop
diagram of an artificial pancreas with insulin and plant is
shown in Fig. 10.
given as in Eq. 4.
0
§ 1 · ……. (5) Whereas, the zero mean random disturbances (including
PID K p ¨¨1 Td ¸¸
© Ti ¹ the deterministic and stochastic disturbances) have zero
expected effect in the future prediction. Using the predicted
Table 3: Summary of PID Controller Parameters values of the state variable, the output prediction at time W is:
Parameter Value
P 51.16 yti W ti Ce AW x(ti ) CI (W )T K …... (8)
I 0.7589
D 860.22
N 12.2 It is desired to minimize the cost function J, which results
Rise time (sec) 12.5 in an optimal controller within the moving window which is
Settling time (sec) 38.9 expected to take the form:
Overshoot (%) 6.52
Peak value 1.07
Tp
§ ·
³ ¨© xt W ti Qxti W ti u (W )T R u (W ) ¸dW …… (9)
Gain Margin (dB) 40.3 x x
T
Phase Margin (deg) 63 J i
Closed loop stability Stable 0 ¹