Documente Academic
Documente Profesional
Documente Cultură
6, JUNE 2006
Abstract—Run-to-run control has been applied to several tradi- injections per day or the use of an external insulin infusion pump
tional batch processes in the chemical industry. The 24-h cycle of in order to minimize the risk for complications.
eating meals, measuring blood glucose concentrations, and deliv- The development of external insulin infusion pumps, along
ering the correct insulin bolus, with the goal of achieving the optimal
blood glucose profile, can be viewed in the same spirit as traditional with the introduction of rapid acting insulin analogs has greatly
batch processes such as emulsion polymerization. In this paper, we aided in making intensive insulin therapy feasible. The efficacy
aim to exploit the “repetitive” nature of the insulin therapy of people of the insulin therapy is quantified by measurement of the per-
with Type 1 diabetes. A run-to-run algorithm is used on a virtual di- centage of glycosylated hemoglobin in the bloodstream [Akaike
abetic patient model to control blood glucose concentrations. The
insulin input is parameterized into the timing and amount of the information criterion(AIC)]. Values less than 6% are represen-
dose while the glucose output is parameterized into the maximum tative of a nondiabetic patient; whereas, higher percentages are
and minimum glucose concentrations. Robustness of the algorithm indicative of hyperglycemia [4].
to variations in the meal amount, meal timing, and insulin sensi- Several algorithms have been developed to optimize the in-
tivity parameter is addressed. In general, the algorithm is able to
converge when the meal timing is varied within 40 min. If the meal
sulin therapy of people with diabetes, and those related to this
size is underestimated by approximately 10 grams (g), the algorithm study are highlighted in Table I. Jovanovic et al. proposed sev-
is able to converge within a reasonable time frame for breakfast, eral insulin delivery logic rules for an Neutral Protamine Hage-
lunch, and dinner. If the meal size is overestimated by 20–25 g, the dorn/Regular insulin system, a Lente insulin system and a con-
algorithm is able to converge. When random variations in the meal stant subcutaneous insulin infusion system [5]. Heuristics were
timing and the meal amount are introduced, the variation on the
output variables, and , scales according to the amount determined to account for food intake, weight loss, exercise,
of variation allowed. Along with this, the insulin sensitivity of the childhood, adolescence, and pregnancy. Chanoch et al.. eval-
virtual patient model is varied. The algorithm is robust for differ- uated the use of a pocket computer to aid in determining the
ences in insulin sensitivity less than 50% of the nominal value. proper insulin dose for people with diabetes [6]. Patient specific
Index Terms—Artificial pancreas, control, diabetes, glucose, parameters such as weight, gender, and physical activity along
run-to-run. with carbohydrate content of meals and blood glucose measure-
ments were used by the algorithm to optimize the insulin dose.
With use of the pocket computer, values decreased from
I. INTRODUCTION
7.2% to 5.8%, with a resulting mean blood glucose of 130 mg/dl
A. Bergman Model
The Bergman model is a three compartment minimal model
of glucose and insulin dynamics [13]. This third-order model is
comprised of a glucose compartment, , a remote insulin com-
partment, , and an insulin compartment, [14]. The remote in-
sulin compartment mediates glucose uptake within the glucose
space to the peripheral and hepatic tissues. The insulin distribu-
tion space combines the sinks and sources of insulin production
and consumption into a single pool. While the Bergman model is
simplistic in nature, it is able to capture certain dynamics of the
diabetic patient system. The insulin dynamics of the Bergman
model are driven by an intravenous infusion of insulin to the
system. The meal model is the same as that proposed in [15].
B. Sorensen Model
The Sorensen model is a 6 compartment model [16], [17]. The
compartments are physiological representations of the brain,
heart and lungs, liver, gut, and kidney peripheral tissue. Within
the brain and peripheral tissue, both the dynamics within the in-
terstitial fluid and capillary fluid are detailed. The glucose meal
disturbance is ingested directly into the gut accompanied by in-
travenous delivery of insulin and arterial blood glucose mea-
surements. This twenty-first-order model describes glucose, in-
sulin, and glucagon dynamics of the diabetic patient. Similar
to the Bergman model, the Sorensen model relies on an intra-
venous infusion of insulin to drive the insulin dynamics of the
system. Due to the incorporation of glucagon’s action to pro-
mote hepatic output of glucose into the model, blood glucose
levels do not remain in the hypoglycemic range for extended
In run-to-run (or batch) control, information about product periods of time.
quality from the previous run is used to determine the input for
the next run [12]. In this study, the daily cycle of the patient C. AIDA Model
with diabetes is treated as a batch process. For a person with The AIDA is a fourth-order three-compartment model of in-
diabetes, each day represents a single run and, from the blood sulin and glucose dynamics. In contrast to the Bergman model,
glucose measurements obtained at the end of the day, the insulin the insulin dynamics of the model are driven by subcutaneous
therapy can be adjusted for the next day. injection of insulin [15]. The AIDA model was first proposed
The similarities between the protocol for a person with type as an educational tool. Hence, the model does attempt to model
1 diabetes and a batch chemical reactor recipe which motivate the effects of different meal sizes on the rate of gastric emptying
the application of the run-to-run technique include: in the system. The AIDA model was also originally designed to
• the recipe (24-h cycle) for a patient consists of a repeated reflect the use of several different insulin analogs on the insulin
meal protocol (typically three meals) with some variance therapy of an individual. In doing so, subcutaneous transport
on meal type, timing, and duration; dynamics were accounted for to simulate the effect of a subcu-
• there are key quality variables or time points of the blood taneous injection of insulin to the body. The AIDA model was
glucose profile that can be measured, reflecting the impact developed in the spirit of the minimal model approach, resulting
of the input insulin therapy regimen; in few patient specific parameters.
• since each patient is different, the insulin therapy needs to
be adjusted individually. D. Model and Parameters Used in this Study
Hence, the run-to-run algorithm aims to employ readily avail- In this discussion and simulation results, the Bergman model
able data to improve the insulin therapy of the patient. is employed (the results with the Sorensen and AIDA model re-
998 IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. 53, NO. 6, JUNE 2006
sults are highlighted in a subsequent table). With the Bergman 2) Choose an initial guess for , .
virtual patient it is feasible to simulate a 24-h day of meal in- 3) Complete the run using the input corresponding to
takes (breakfast, lunch, and dinner) and the corresponding meal . Determine from the measurements .
related bolus doses for the diabetic patient. For each meal, the 4) Update the input parameters using
desired measurements are the maximum glucose concentration,
, and the minimum glucose concentration, . Each (2)
meal requires the appropriate insulin bolus to mediate rising
blood glucose concentrations. Therefore, the timing, , and the where is an appropriate gain matrix and represents
amount, , of the insulin dose must be adjusted to yield the de- the reference values to be attained. Set and
sired and value for each meal. repeat steps 3)–4) until convergence.
For clinical application of the run-to-run algorithm, and The convergence of the run-to-run algorithm can be determined
may be translated into appropriate markers for quality of by analyzing the dynamics of the error for the closed-loop
glucose regulation that occur at fixed time points (to limit mea- system, where the error is . For this analysis, a
surement requirements). For example, with insulin aspart, the linearized version of the system equations (1) is used
maximum insulin concentration occurs 60 min after the start
of the meal, , and the 90-min blood glucose concentration,
, is lower than . These time points will depend upon both (3)
the peak effectiveness and the elimination dynamics of the in-
sulin used. In general, the run-to-run algorithm only requires a
“quality index” for the feedback calculation, so one can realize where is the sensitivity matrix. Using (2) and
this in a number of ways, including measurements taken at fixed (3), the linearized error dynamics are easily derived through the
time points (which has a minimum burden for data). following manipulations:
A. Definition of Variables
Three different meals are considered over a 24-h period as the
basic cycle which is repeated.
• Manipulated variables: Timing of three insulin injections
for breakfast, , lunch, , and dinner, , and quan-
tity of insulin injection for breakfast, , lunch, , and
dinner, , i.e., .
• Controlled variables: Maximum value of glucose attained
after breakfast, , lunch, , and dinner, ,
and minimum value of glucose attained after the peaking
for breakfast, , lunch, , and dinner, , i.e.,
. The max-
imum and minimum glucose concentrations are selected as
convenient scalar measures of performance for a particular
insulin regime. As before, pragmatic considerations may Fig. 1. Plot of maximum glucose concentration for the breakfast meal
dictate that time points are used to approximate maximum as a function of the insulin amount and the insulin timing.
and minimum values. , , and . The
dark solid curve represents as calculated from the nonlinear model. The
The insulin sensitivity matrix of the person with diabetes, , is light grey plane represents the dynamics of from a local estimation of
characterized to aid in the selection of the controller gain matrix. the insulin sensitivity of the patient. The clear plane represents the dynamics of
Here, the patient sensitivity reflects the breadth of output vari- from a global estimation of the insulin sensitivity of the patient.
able responses, , as a function of changes in the input variable,
. This does not characterize the insulin sensitivity of the virtual
by varying the timing of the insulin bolus and the amount
patient in the traditional sense, as the transient glucose profile is
over a wider range ( 40%). Three sets of sample points were
not analyzed completely, only the desired output variables.
generated corresponding to the three meals. Each set had points
is composed of the sensitivity values for breakfast, lunch,
from a two-dimensional grid (18 18) where the axes were the
and dinner. The elements of the matrix represents the sensi-
insulin bolus quantity and timing of injection corresponding
tivity of the output in response to variations in the input.
to the meal considered. Thus, the number of points generated
For example, denotes the change in the maximum glucose
was . After obtaining the surface, a
concentration for breakfast to a unit change in the timing
least-squares fit was performed using the MATLAB fmincon
of the breakfast bolus . Accordingly, corresponds to a
routine with the cost function given below to determine the
noncausal relationship between the timing of the lunch bolus
corresponding best-fit sensitivity
and and, thus, is zero. The patient sensitivity was de-
termined, separately, using a local estimation, and global esti-
mation technique.
Local Estimation of Patient Sensitivity: The local insulin sen- (5)
sitivity of the virtual patient, which corresponds to approxi-
mating the derivative around the current operating The fit from the global determination of the insulin sensitivity
point, was computed numerically using a finite difference ap- is given by the clear plane in Fig. 1. Similar to the response of
proximation. The timing of the bolus was varied 5 min from the nonlinear model, increases as the bolus timing moves
nominal and the amount of the bolus was varied approximately away from the meal peak.
5–10% of the nominal for all three meals. The operating point It is important to note that in a clinical setting (as opposed
used was , , and to the present simulation study), there are many addition fac-
. The profile of the local estimation of the insulin tors that will complicate the identification of patient sensitivity
sensitivity can be observed by the light grey plane in Fig. 1. for the proposed algorithm. In such circumstances, it is possible
Global Estimation of Patient Sensitivity: Fig. 1 also shows to incorporate the intuition and knowledge of trained medical
the maximum blood glucose concentration for the breakfast professionals in determining a suitable sensitivity measure for
meal as a function of the insulin dose amount and insulin dose a given patient. Such an approach is described in a companion
timing covering a wider range ( 40%). The dark curved surface paper that details the findings of a clinical evaluation of the pro-
represents the actual response of the virtual patient model. As posed algorithm [26].
the amount of the bolus increases, decreases slightly, and
as the timing of the bolus moves forward well beyond its impact B. Controller Design
on the breakfast meal, begins to increase asymptotically In principle, a multivariable controller should be designed to
up to the open-loop concentration. This is done for all maintain the components of at their reference values . How-
three meals and all six output variables. As the timing of the ever, the sensitivity matrix shows that the effects of the inputs
insulin bolus moves past the peak, the concentration for are relatively decoupled for the case studies considered [as de-
breakfast increases. These nonlinearities necessitate a global termined by the relative gain array (RGA)]. The RGA for the
estimation of the patient sensitivity, which was determined Bergman model subject to breakfast (20 g, 8 am), lunch (40 g,
1000 IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. 53, NO. 6, JUNE 2006
TABLE II
TABLE OF INSULIN SENSITIVITY VALUES FOR VIRTUAL PATIENT MODEL
model were 80 to 140 mg/dl while those for the Sorensen model
were 70 to 140 mg/dl. All three models were tuned, without
severe oscillations, to converge within a two-week period.
Different operating conditions were chosen for each model as
the meal and insulin dynamics manifest themselves differently
in the glucose profile of each virtual patient model (e.g., sub-
cutaneous versus intravenous administration). Therefore, the
settings were chosen so that each model had similar glucose
excursions.
still remains outside of the desired boundaries for and where represents the uncertainty in the patient. For the fol-
. On day 2, the algorithm continues to compute the op- lowing results, employing the Bergman model, the settling time
timal insulin bolus amount and timing for each meal, as shown is defined as the minimum number of days required for
by the dashed line in the top and bottom plots. Since was and for all three meals to reach and
largely out of the zone, the timing of the meal bolus changes .
the most on day 2. Eventually on day 10, represented by the
thick solid line, and for each meal come within the A. Variation in Meal Timing
desired bounds. In this case study, the nominal meal timing was fixed at 8
Table IV compares the performance of the Bergman model am, 12 noon, and 5 pm for breakfast, lunch, and dinner, re-
with the AIDA and Sorensen virtual patient models. The AIDA spectively. Keeping all other variables constant (initial condi-
model was subject to a 20-g breakfast, 50-g lunch, and 65-g tions, controller tunings, meal amounts, and patient insulin sen-
dinner. The Sorensen model was subject to a 20-g breakfast, sitivity), the timing of the meals was simultaneously varied more
40-g lunch, and 70-g dinner. The target values for the AIDA than 1 h from nominal, as shown in Fig. 4.
1002 IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, VOL. 53, NO. 6, JUNE 2006
Fig. 4. Plot of settling time versus variation in meal timing for breakfast, lunch, Fig. 6. Plot of settling time versus variation in meal amount for breakfast,
and dinner. The thick dashed line represents the desired window for convergence lunch, and dinner. The thick dashed line represents the desired window for con-
within 10 days. The (x) represents the maximum blood glucose concentration vergence speed of within 10 days. The (x) represents the maximum blood glu-
and the (o) represents the minimum blood glucose concentration. Values for cose concentration and the (o) represents the minimum blood glucose concen-
breakfast are denoted by the solid lines, values for lunch are denoted by the tration. Values for breakfast are denoted by the solid lines, values for lunch are
dotted lines, and values for dinner are denoted by the dashed lines. denoted by the dotted lines, and values for dinner are denoted by the dashed
lines.
Fig. 7. Plot of standard deviation of the output variables, and , Fig. 8. Plot of settling time versus variation in insulin sensitivity parameter .
for breakfast, lunch, and dinner versus standard deviation in the amount of the The thick dashed line represents the desired window for convergence speed of
meal. The (x) represents the maximum blood glucose concentration and the (o) within 10 days. The (x) represents the maximum blood glucose concentration
represents the minimum blood glucose concentration. Values for breakfast are and the (o) represents the minimum blood glucose concentration. Values for
denoted by the solid lines, values for lunch are denoted by the dotted lines, and breakfast are denoted by the solid lines, values for lunch are denoted by the
values for dinner are denoted by the dashed lines. dotted lines, and values for dinner are denoted by the dashed lines.
trying to make the same decisions as the physician. With knowl- [22] B. Srinivasan, C. Primus, D. Bonvin, and N. Ricker, “Run-to-run op-
edge of the insulin sensitivity of the patient and the appropriate timization via control of generalized constraints,” Contr. Eng. Prac.,
vol. 9, pp. 911–919, 2001.
glucose references, the run-to-run control algorithm can help [23] B. Srinivasan, S. Palanki, and D. Bonvin, “Dynamic optimization of
manage diabetes. A clinical trial evaluating the efficacy of the al- batch process. I. Characterization of the nominal solution,” Comp.
gorithm to control glucose concentrations for people with Type Chem. Eng., vol. 27, pp. 1–26, 2002.
[24] B. Srinivasan, D. Bonvin, E. Visser, and S. Palanki, “Dynamic opti-
1 diabetes has recently been completed, and these results sug- mization of batch processes. II. Role of measurements in handling un-
gest the algorithm described here can prescribe appropriate meal certainty,” Comp. Chem. Eng., vol. 27, pp. 27–44, 2002.
insulin doses [26]. [25] R. Good, J. Hahn, T. Edison, and S. Qin, “Drug dosage adjustment
via run-to-run control,” in Proc. American Control Conference, An-
chorage, AK, May 2002.
[26] H. Zisser, L. Jovanovic, F. Doyle, P. Ospina, and C. Owens,
REFERENCES “Run-to-run control of meal-related insulin dosing,” Diab. Technol.
[1] T. Mandrup-Poulsen, “Recent advances: diabetes,” Br. Med. J., vol. Ther., vol. 7, pp. 48–57, 2005.
316, pp. 1221–1225, Apr. 1998.
[2] American Diabetes Association, “Standards of medical care for pa-
tients with diabetes mellitus,” Diabetes Care, vol. 26, pp. S33–S50, Camelia Owens received the B.S. degree from the
2003. University of Maryland Baltimore County, Balti-
[3] Diabetes Control and Complications Trial Research Group, “The effect more, MD and the Ph.D. degree from the University
of intensive treatment of diabetes on the development and progression of Delaware, Newark, all in chemical engineering.
of longterm complications in insulin-dependent diabetes mellitus,” N. She is an ExxonMobil Scholar-in-Residence at the
Engl. J. Med., vol. 329, pp. 977–986, Sep. 1993. National Academy of Engineering, Washington, DC.
[4] American Diabetes Association, “Standards of medical care for pa-
tients with diabetes mellitus,” Diabetes Care, vol. 26, pp. S33–S50,
Jan. 2003.
[5] L. Jovanovic and C. Peterson, “Home blood glucose monitoring,”
Comp. Ther., vol. 8, pp. 10–20, Jan. 1982.
[6] L. Chanoch, L. Jovanovic, and C. Peterson, “The evaluation of a pocket
computer as an aid to insulin dose determination by patients,” Diabetes
Care, vol. 8, pp. 172–176, Mar./Apr. 1982.
[7] A. Schiffrin, M. Mihic, B. Leibel, and A. Albisser, “Computer-assisted Howard Zisser received the B.S. degree from the
insulin dosage adjustment,” Diabetes Care, vol. 8, pp. 545–552, Nov./ University of Florida, Gainesville, and the M.D. de-
Dec. 1985. gree from the Johns Hopkins University, Baltimore,
[8] F. Chiarelli, S. Tumini, G. Morgese, and A. Albisser, “Controlled study MD.
in diabetic children comparing insulin-dosage adjustment by manual He is the Director of Clinical Research at the
and computer algorithms,” Diab. Care, vol. 13, pp. 1080–1084, 1990. Sansum Diabetes Research Institute, Santa Barbara,
[9] C. Mao, M. Riegelhuth, D. Gundy, C. Cortez, S. Melendez, and E. CA.
Ipp, “An overnight insulin infusion algorithm provides morning nor-
moglycemia and can be used to predict insulin requirements in nonin-
sulin-dependent diabetes mellitus,” J. Clin. Endo. Metab., vol. 82, pp.
2466–2470, Apr. 1997.
[10] A. Albisser, “Toward algorithms in diabetes self-management,” Diab.
Tech. Ther., vol. 5, pp. 371–373, 2003.
[11] J. Moyne, E. del Castillo, and A. Hurwitz, Run-to-Run Control in Semi-
conductor Manufacturing. New York: CRC Press, 2001. Lois Jovanovic received the M.D. degree from
[12] K. Lee, I. Chin, and H. Lee, “Model predictive control technique com- Albert Einstein College of Medicine, Bronx, NY.
bined with iterative learning for batch processes,” AIChE J., vol. 45, Her postgraduate training included a residency in
pp. 2175–2187, 1999. internal medicine at The New York Hospital, Cornell
[13] R. Bergman, L. Phillips, and C. Cobelli, “Physiologic evaluation of University Medical College and a fellowship in
factors controlling glucose tolerance in man,” J. Clin. Invest., vol. 68, endocrinology and metabolism at Cornell University
pp. 1456–1467, 1981. Medical College.
[14] R. Bergman, Y. Ider, C. Bowden, and C. Cobelli, “Quantitative estima- She is Chief Executive Officer and Chief Scientific
tion of insulin sensitivity,” Am. J. Physiol., vol. 236, pp. E667–E677, Officer at Sansum Diabetes Research Institute, Santa
1979. Barbara, CA. She is a Clinical Professor of Medicine
[15] M. Berger and D. Rodbard, “Computer simulation of plasma insulin at the University of Southern California-Keck School
and glucose dynamics after subcutaneous insulin injection,” Diab. of Medicine, Los Angeles, and on Faculty in Internal Medicine, Santa Barbara
Care, vol. 12, pp. 725–736, Nov./Dec. 1989. Cottage Hospital. In addition she is an Attending Physician at the Santa Barbara
[16] J. Sorensen, “A Physiologic Model of Glucose Metabolism in Man and County Diabetes/Endocrine Clinic, and an Adjunct Professor in the Biomolec-
its Use to Design and Assess Improved Insulin Therapies for Diabetes,” ular Science and Engineering Program at the University of California, Santa
Ph.D. dissertation, Massachusetts Inst. Technol., Boston, MA, 1985. Barbara.
[17] R. Parker and F. Doyle, III, “Control-relevant modeling in drug de-
livery,” Adv. Drug Deliv. Rev., vol. 48, pp. 211–228, 2001.
[18] S. Arimoto, S. Kawamura, and F. Miyazaki, “Bettering operation of dy-
namic systems by learning: a new control theory for servomechanism Dominique Bonvin received the Diploma in chem-
or mechatronics systems,” in Proc. IEEE 23rd Conf. Decision and Con- ical engineering from the ETH, Zurich, Switzerland,
trol, Las Vegas, NV, Dec. 1984, pp. 1064–1069. and the Ph.D. degree from the University of Cali-
[19] N. Amann, D. Owens, and E. Rogers, “Iterative learning control for dis- fornia, Santa Barbara.
crete-time systems with exponential rate of convergence,” in Proc. Inst. He is Professor of Automatic Control at the Swiss
Elect. Eng. Control Theory Applications., Dearborn, MI, Mar. 1996, Federal Institute of Technology (EPFL), Lausanne,
pp. 217–224. Switzerland. He worked in the field of process con-
[20] K. Lee, S. Bang, and K. Chang, “Feedback-assisted iterative learning trol for the Sandoz Corporation, Basel, Switzerland,
control based on an inverse process model,” J. Proc. Cont., vol. 4, pp. and with the Systems Engineering Group of the ETH
77–89, May 1994. Zurich. He joined the EPFL in 1989 where his cur-
[21] J. Lee, K. Lee, and W. Kim, “Model-based iterative learning control rent research interests include modeling, identifica-
with a quadratic criterion for time-varying linear systems,” Automatica, tion, and optimization of dynamical systems. He is presently Dean of Bachelor
vol. 36, pp. 641–657, May 2000. and Master studies at EPFL.
OWENS et al.: RUN-TO-RUN CONTROL OF BLOOD GLUCOSE CONCENTRATIONS FOR PEOPLE WITH TYPE 1 DIABETES MELLITUS 1005
Francis J. Doyle, III, received the B.S.E. degree Biotechnology. Prior to coming to UCSB, he has had positions at DuPont,
from Princeton University, Princeton, NJ, in 1985, Purdue University, the University of Delaware, and the University of Stuttgart.
the C.P.G.S. degree from Cambridge University, His research interests are in particulate process control, systems biology, and
Cambridge, U.K., in 1986, and the Ph.D. degree from control of biomedical systems.
the California Institute of Technology (Caltech), Dr. Doyle is the recipient of several research awards [Humboldt Research Fel-
Pasadena, in 1991, all in chemical engineering. lowship (2001–2002), NSF NYI (1992), and ONR Young Investigator (1996)] as
He holds the Duncan and Suzanne Mellichamp well as teaching awards [ASEE Indiana Section (1996) and Tau Beta Pi Teaching
Chair in Process Control in the Department of (1996)].
Chemical Engineering at the University of Cali-
fornia, Santa Barbara (UCSB), where he is also the
Associate Director of the Institute for Collaborative
All in-text references underlined in blue are linked to publications on ResearchGate, letting you access and read them immediately.