Abstract
Background:
Maintaining glycemic equilibrium can be challenging for people living with type 1 diabetes (T1D) as many factors (eg, length, type, duration, insulin on board, stress, and training) will impact the metabolic changes triggered by physical activity potentially leading to both hypoglycemia and hyperglycemia. Therefore, and despite the noted health benefits, many individuals with T1D do not exercise as much as their healthy peers. While technology advances have improved glucose control during and immediately after exercise, it remains one of the key limitations of artificial pancreas (AP) systems, largely because stopping insulin at the onset of exercise may not be enough to prevent impending, exercise-induced hypoglycemia.
Methods:
A hybrid AP algorithm with subject-specific exercise behavior recognition and anticipatory action is designed to prevent hypoglycemic events during and after moderate-intensity exercise. Our approach relies on a number of key innovations, namely, an activity informed premeal bolus calculator, personalized exercise pattern recognition, and a multistage model predictive control (MS-MPC) strategy that can transition between reactive and anticipatory modes. This AP design was evaluated on 100 in silico subjects from the most up-to-date FDA-accepted UVA/Padova metabolic simulator, emulating an outpatient clinical trial setting. Results with a baseline controller, a regular MPC (rMPC), are also included for comparison purposes.
Results:
In silico experiments reveal that the proposed MS-MPC strategy markedly reduces the number of exercise-related hypoglycemic events (8 vs 68).
Conclusion:
An anticipatory mode for insulin administration of a monohormonal AP controller reduces the occurrence of hypoglycemia during moderate-intensity exercise.
Keywords: artificial pancreas, model predictive control, moderate-intensity exercise, type 1 diabetes
Introduction
Type 1 diabetes (T1D) is an autoimmune condition resulting in absolute insulin deficiency and a life-long need for exogenous insulin.1 Glycemic control in T1D remains a challenge, despite the availability of modern insulin analogs,2 and advanced technology such as insulin pumps, continuous glucose monitoring (CGM)3 and artificial pancreas (AP) systems that automatically titrate insulin doses.4
Artificial pancreas systems have become a focus of significant research and industrial development.4,5 During the past decade, studies have advanced from short-term, inpatient investigations using algorithm-driven manual control6 to long-term clinical trials in free-living conditions.7 Most AP studies show a significant reduction in glucose variability, particularly overnight, and lower risk of hypoglycemia. In September 2016, the US Food and Drug Administration (FDA) approved the first hybrid, closed-loop control system, the Medtronic 670G. This AP is capable of automatically adjusting the insulin basal rate, but still faces many issues, such as time spent in closed loop (72%-75%),8,9 low time-in-range (~65%) in comparison to other proposed systems, and its hybrid design: user input for major disturbances like meals and exercise.8,10
In spite of significant effort from the scientific community, meals and exercise remain the most challenging hurdles to overcome before a fully automated AP can be developed. Physical activity is particularly challenging to account for, as its effects on glucose are based on intensity, duration, and patient-specific physiology.11,12 For example, moderate-intensity exercise is known to cause a decrease in glucose levels as opposed to high-intensity and anaerobic exercise which may cause an increase in glucose levels, and hence, an increased insulin requirement.12 The current treatment guides suggest basal insulin reduction for pump users and/or carbohydrate supplementation prior to moderate exercise.13 A recent study showed that in order to prevent exercise-related hypoglycemia, basal insulin needs to be reduced ~90 to 120 minutes before activity began.12,14 However, these approaches should be taken cautiously, since carbohydrate overconsumption and aggressive reduction of basal insulin levels may also lead to hyperglycemia during and after exercise.15
Studies addressing different AP designs to improve glycemic control during and after exercise bouts are increasingly prevalent in the literature.16-23 In these studies, the incorporation of additional sensors (eg, HR and accelerometry) for exercise detection and the use of different control strategies were assessed during moderate-intensity exercise (eg, one-hour brisk walk, bicycling, and soccer).
The proposed multistage model predictive controller (MS-MPC) differs from the previous exercise-oriented AP designs through three major improvements: (i) the incorporation of subject-specific exercise behavior into the controller design which can be updated periodically, (ii) anticipatory and reactive modes that compensate for expected and ongoing exercise, and (iii) an adaptive detuning strategy that modulates the controller’s aggressiveness before and after a meal. Additionally, the controller leverages the Unified Safety System (USS Virginia), a safety supervision module to limit basal injections based on the perceived risk for hypoglycemia.24 The safety and performance of the MS-MPC and a regular MPC (baseline controller—rMPC) are evaluated on 100 in silico subjects from the most up-to-date FDA-accepted UVA/Padova simulator in a specific outpatient clinical trial design, including intra- and interpatient variations. Here, the primary outcome is the comparison between the number of hypoglycemic treatments.
Methods
Prediction Model
In this work, both the baseline rMPC and the proposed MS-MPC make predictions using a personalized version of the Subcutaneous Oral Glucose Minimal Model (SOGMM).25 Model equations are as follows:
(1) |
(2) |
(3) |
(4) |
(5) |
(6) |
(7) |
where is the plasma glucose concentration output (mg/dL), X is the proportion of insulin in the remote compartment (L/min), and are the glucose masses in the stomach and the gut (mg), respectively, and are the amounts of nonmonomeric and monomeric insulin in the subcutaneous space (mU), respectively, is the amount of plasma insulin (mU), represents the effect of exercise on blood glucose levels (mg/dL/min), is the input rate of mixed-meal carbohydrate absorption (mg/min), and is the exogenous insulin input (mU/min). Parameters of model equations (1-7) are described in Table 1. As observed, some can be fixed using a priori information, eg, is easily measured, is set to 0.9,26 can be estimated from the patient’s most recent glycated hemoglobin25
Table 1.
Symbol | Meaning | Units |
---|---|---|
S g | Fractional glucose effectiveness | L/min |
V g | Distribution volume of glucose | kg/dL |
k abs | Rate constant—oral glucose consumption | L/min |
kτ | Time constant related with oral glucose absorption | L/min |
p 2 | Rate constant of the remote insulin compartment | L/min |
f | Fraction of intestinal absorption | - |
V I | Distribution volume of insulin | L/kg |
k cl | Rate constant of subcutaneous insulin transport | L/min |
kd | Rate constant of subcutaneous insulin transport | L/min |
S I | Insulin sensitivity | L/min/mU/L |
BW | Body weight | kg |
G b | Basal glucose concentration | mg/dL |
I b | Basal insulin concentration | mU/L |
(8) |
and can be computed from the basal infusion rate as
(9) |
In this work, synthetic glucose measurements for model identification were generated from the FDA-accepted UVA/Padova simulator.27,28 To this end, for each of the 100 in silico adults, 10 days of data collection considering intrapatient and interday variability were simulated with three meals per day. Since in the simulator each subject is equipped with a particular Gb, Equation (8) was not used in this in silico study.
A subset of parameters was selected, , based on the previous work by the authors.29 An example of the identification results is depicted in Figure 1. The performance of each model after identification was assessed by means of the root mean square error (RMSE) criterion:
(10) |
where ‖.‖ indicates the two-norm, and , , and are the number of data points, the CGM measurements, and model output, respectively. In this case, N was set to 288 as daily profiles with a sampling time of five minutes were identified. Average RMSE results considering all 1000 model identifications (10 identifications per each of the 100 virtual subjects) is mg/dL. Identified parameters for the population, ie, value (std), are given in Table 2. In order to define the prediction model used by the MPC controllers, mean values of the 10 sets of daily parameters related to each virtual subject were finally considered.
Table 2.
Parameter | Mean (SD) | Units |
---|---|---|
S g | L/min | |
V I | L/kg | |
kd | L/min | |
S I | L/min/mU/L |
Hybrid Multistage AP With Exercise Behavior Recognition
Multistage model predictive control was introduced by Lucia et al30,31 as a way to make the MPC strategy robust for cases where the prediction model is uncertain but less conservative than classic approaches. This approach assumes a tree of semi-independent disturbance realizations which are only related in the initial condition by means of the so-called non-anticipativity constraint. Such a formulation makes it possible to include further insight of what may happen in the future. In this sense, future control actions can be adapted according to hypothetical future realizations of the uncertainty.
In our case, we assume the effect of moderate-intensity exercise bouts on glucose dynamics as the main source of uncertainty in the prediction model. Since the user is not expected to exercise at the exact same time or for the same duration, different exercise realizations arise. Instead of optimizing the insulin infusion for a given exercise condition, a specific number of of disturbance realizations are considered. Although a higher may lead to better disturbance characterization, a high number of considered disturbances may pose a large computational burden. Because this control scheme will be embedded on a smartphone in future clinical trials, an appropriate tradeoff between performance and low must be a design consideration.31 In the following sections, we explain the main components of our control system.
Subject-Specific Exercise Behavior
Exercise input
The UVA/Padova simulator is equipped with an exercise model that describes widely acknowledged short- and long-term exercise-related alterations in insulin-independent glucose uptake (Uii), endogenous glucose production (EGP), and insulin sensitivity (SI).12,32-35 While the increase in Uii was modeled as a pulse-wise signal that is only active during exercise,12 changes in SI and EGP were defined to increase during exercise and slowly decay to their baselines in hours following. Data from four randomized cross-over clinical studies (NCT01418703, NCT01390259, 2009-A00421-56, and 2010-A00538-31) were considered for model tuning to statistically describe the immediate increase observed in all Uii, EGP, and SI. On the other hand, the glucose clamp procedure described in McMahon et al36 was simulated to represent the long-term effect of exercise on glycemia and adjust the time constants associated with the posterior decays in SI and EGP. For each in silico adult of the simulator, the glucose infusion rates (GIRs) needed to maintain the glucose level at its basal value during a 45-minute bout of moderate exercise and in the hours following was commanded by a discrete proportional-derivative controller. The biphasic behavior of GIR detected in McMahon et al36 was successfully recreated by adjusting the decay of both SI and EGP after exercise, and accommodating the increase in SI that occurs several hours later and then decays slowly to its baseline.
To consider this effect in the MPC predictions, SOGMM was augmented by including the additional input . To this end, the mean GIR for a 45-minute bout of moderate exercise across all subjects ( was computed, and the following discrete-time linear time-invariant (LTI) system with a sampling time minutes was identified using the adaptive subspace Gauss-Newton search (91.9% fitting):
(11) |
The identified parameters are , , , , , , , and a23= −0.8410. Note that is defined as the combination of two transfer functions, and , that describe the immediate glucose requirement associated with exercise as well as the delayed glucose uptake associated with the physical activity, respectively. In this way, given a -minute exercise signal, is defined as follows:
(12) |
with the exercise start time. Assuming linearity, the disturbance signal (mg/dL/min) can be found through the discrete convolution of and the impulse response, (mg/kg/min), of :
(13) |
where is the distribution volume of glucose (dL/kg). Results of this procedure are depicted in Figure 2. Since no individualization of is performed in this work, was fixed to 1.6 dL/kg as reported in Patek et al.25
Extracting subject-specific exercise behavior
To represent data that would be collected leading up to a clinical admission, we simulated 30 days for each of the in silico subjects involved in our protocol. On one-half the 30 simulated days, the subjects exercised for about 45 minutes in between 4 and 7 pm, under moderate-intensity exercise training. The exercise bout was represented with a rectangular signal, , equal to 1 during exercise and corresponding to the length of the activity. This was then convolved with the response of the previously described LTI system, , representing the dynamics of glucose uptake related to moderate-intensity exercise. Exercise disturbance signals were calculated for each day of data collection through the aforementioned process.
A total of 24-hour exercise-related disturbance signals were then clustered into five distinct groups (to meet the tradeoff of number of parallel controllers and performance) using the k-medoids algorithm with a squared Euclidean distance measure. Although not described here in full due to space constraints, the decision to choose five clusters was based on an experiment where approximately 30 days of exercise data from different patients were clustered using different cluster sizes. The average silhouette score was calculated from each of these configurations and five clusters provided the highest silhouette score on average for the subjects in the training data. The clustered signals were then averaged across each sampling period to create a 24-hour profile trace for each grouping. The proportion of days of the month that fell into each cluster was considered its relative probability for each subject
(14) |
where is the probability of cluster , is the number of days in cluster , and is the number of total clusters (in this case 5).
Figure 3 shows an example clustering for an in silico subject. For simplicity in this particular implementation, five profiles for each subject were generated. Two profiles had average traces equal to 0 () and the other three represented the glucose uptake from exercise bouts performed randomly between 4 and 7 pm.
Multistage Model Predictive Control
The core of the AP system is represented by the MS-MPC whose mathematical problem is defined as follows:
(15) |
(16) |
(17) |
(18) |
(19) |
(20) |
(21) |
(22) |
where and are, respectively, the control policy and the policy of slack variables related to the soft constraint (20) optimized at the th MPC with control and prediction horizons and , respectively, and . Bearing the above in mind, our AP should solve the mathematical problem (15)-(22) at every sampling time. As a result, we obtain control policies , but only , which is common in all the problems as per constraint (22), is sent to the insulin pump for actual infusion, following the receding horizon principle from MPC.
In the above formulation, Equation (16) corresponds to the linear state-space representation of the th prediction model with being the system state, the control policy, and a specific realization of the effect of exercise on glucose dynamics, with and in our case. The quadruplet are found after discretizing the matrices of the continuous-time linear approximation of Equations (1) to (7) defined by
(23) |
where denotes the steady state found by solving the system (1) to (7), considering , and , with being the subject-specific basal infusion. Note that model (16) does not account for the meal for prediction purposes since this disturbance is assumed to be mostly covered by the premeal bolus. Moreover, the model prediction for every scenario is the same except for the disturbance realization; Equation (17) is the output equation at the th scenario; Equations (18) and (19) ensure both insulin infusion and the difference between two consecutive insulin infusions along the control horizon to be in the intervals and , respectively; Equations (20) and (21) are together a soft constraint over the output’s lower bound; Equation (22) is the nonanticipativity constraint and prevents the controller to take actions on hypothetical noncausal scenarios. The cost function for this optimization problem is defined as
(24) |
where denotes the weighted norm of vector, denotes the probability of occurrence of scenario and are scalar weights, and is a matrix weighting the confidence on model predictions. The term is a cost to prevent the controller to take actions leading to low glucose levels. In this design, we use a modified version of the asymmetric, time-varying, exponential reference signal.37 The equation describing the time-varying reference is given by
(25) |
with , the time constant modulating the reference decay toward the set point, and the discrete time.
Each model prediction uses , the estimate of , as the initial condition computed by means of a hybrid implementation of the Kalman filter.38,39 Our implementation includes an observable and nonobservable (open-loop) submodels.
In order to improve the AP’s safety, we propose a detuning strategy for described as follows. As seen in the cost function (24), weights the difference of the model prediction with respect to the evolution of the controller’s reference. Since our controller is not fully automated and requires meal announcements, a detuning strategy of is implemented to avoid a possible overreaction to meal-induced glycemic excursions, which may cause postprandial hypoglycemia. Such a detuning strategy depends on the insulin on board () estimate relative to its basal value as follows:
(26) |
with , where denotes the subject-specific total daily insulin requirement, is the default value of at the basal , and and are tuning parameters. The higher and , the less responsive the controller is at mealtimes. In this work, , , and were set to 10, 20, and 1000, respectively.
By default, the AP operates in anticipative mode and progressively reduces the insulin infusion during times where there is a high probability of exercise. If exercise is detected, the system transitions to reactive mode, meaning that instead of having parallel controllers with corresponding disturbance realizations, the controller relies on a single controller acting under the assumption that exercise is being performed. This allows the controller to adjust to a specific exercise bout and mitigates hypoglycemia in cases where exercise is not expected. In the clinical trial, exercise detection is based on HR and step count signals retrieved in real-time from an activity tracker (Sony SmartBand2, Tokyo). This detection system is not discussed here due to space limitations.
Exercise-Informed Premeal Bolus
An exercise-informed premeal bolus calculator was developed to adjust the patient’s insulin bolus based on the anticipated increase in glucose uptake during the hours following exercise. In section C, we explain the generation of the signal , which is the anticipated change in the glucose uptake over time following a performed exercise lasting -min. From this signal, we obtain ∆ the additional glucose uptake that is anticipated to occur during the time that the meal bolus will be active (ie, duration of insulin action—DIA). ∆ is calculated as the corresponding area under the ∆ curve and translated into grams as follows:
(27) |
Mealtime insulin is computed based on the carbohydrate intake, value at the time of the meal, , and ∆ The exercise informed bolus is obtained by correcting the standard bolus to account for the anticipated change in the glucose uptake resulting from the exercise performed prior to the bolus as follows:
(28) |
where is the amount of ingested carbohydrates at time , , and are the subject’s current carbohydrate ratio and correction factors, respectively, is the sensor reading at the time of the meal, and is the current insulin on board from basal and correction insulin injections. We obtain the correction component of the bolus by dividing ∆ by and subtract it from the total bolus calculated.
Unlike the basal insulin controller actions, no anticipatory action is taken in meal bolus calculations. Bolus adjustments are made only based on the disturbance signal from the previously observed exercise. In the specific clinical trial design that this manuscript features, a mealtime bolus is administered at the end of the first increased glucose uptake phase, and therefore, no significant meal bolus reduction is applied.
Numerical Simulations
The presented results were obtained using the most up-to-date version of the FDA accepted UVA/Padova simulator.27 All 100 virtual adults were used for this evaluation. Dawn phenomena and intra- and interday insulin sensitivity variations were included in the experimental setup. Simulation protocol was designed to mimic the 36-hour in vivo clinical trial where the feasibility of the proposed control strategy will be tested (see Figure 4).
Closed-loop simulations started at 11.00 am. At each five-minute interval, the proposed control strategy computed a new basal insulin dose and transmitted it to the insulin pump. Following the principles of hybrid closed-loop control, a manual meal bolus was administered at mealtimes using a patient-specific premeal bolus calculator. Here, it is worth mentioning that although each in silico subject has a basal insulin profile that changes throughout the day, a single nominal basal rate was used for each subject. Since the proposed control strategy works as a basal modulator and it will be operating over a basal insulin rate that does not minimize glucose oscillations caused by insulin sensitivity and dawn phenomena, this should increase the amount of basal rate changes that the controller must make.
On day 1, the subjects received a lunch and dinner at 1:00 and 7:30 pm containing 50 and 50±10 g of CHO, respectively. At around 5:30 pm, they underwent a 45-minute long moderate exercise challenge. On day 2, the subjects received two meals while they were under observation at 7:00 am (50 g) and 1:00 pm (50±10 g). The simulation was concluded at 7:00 pm before dinner.
Results
The above protocol was used as a testbed to assess the safety and efficacy of the MS-MPC strategy in preventing hypoglycemic events and regulating glucose levels. The performance and safety of the proposed controller is compared to a baseline controller, the rMPC, published elsewhere.40 The tuning parameters for both controllers are presented in Table 3.
Table 3.
Parameter | rMPC | MS-MPC | Parameter | rMPC | MS-MPC |
---|---|---|---|---|---|
N.A. | 5 | 25 min | 25 min | ||
24 | 24 | ||||
18 | 18 | ∆ | 50 | 50 | |
70 | 70 | ||||
100 | 100 |
Abbreviations: r-MPC, regular model predictive control; MS-MPC, multistage model predictive control.
Figure 5 shows an individual closed-loop response under both MS-MPC and rMPC. As illustrated, the anticipatory response of the MS-MPC avoids the hypoglycemic event during exercise by progressively reducing the insulin infusion rate when exercise is likely to happen. Note that although the rMPC reacts to the effect of exercise on the glucose level by almost switching off the insulin pump, that action is still futile,41 and the subject required a hypo treatment.
The average closed-loop responses obtained with both the proposed MS-MPC and rMPC are compared in Figure 6 and the average results are summarized in Table 4. Safety and effectiveness endpoints based on consensus outcome metrics for glucose controllers’ performances42 are computed for the duration of the in silico protocol. Time within the target range of 70 to 180 mg/dL exceeds 80%, and the primary safety parameter, the low blood glucose index (LBGI), indicates minimal risk of hypoglycemia (LBGI < 1.1).43 As expected, the MS-MPC demonstrates better performance for hypoglycemia protection during and after exercise than the rMPC with less time spent in hypoglycemia. In this regard, 58 subjects received at least one hypo treatment during the exercise period and 10 subjects received two under rMPC, while only eight received the treatment when using the MS-MPC. In addition, exercise was suspended 44 times with the rMPC and four with the MS-MPC. Differences between the number of exercise suspensions and hypo treatments are because, in some cases, rescue carbs were administered at the end of the exercise period. It is worth remarking that although higher average glucose concentration is obtained with the MS-MPC controller, the high blood glucose index (HBGI) still indicates low risk of hyperglycemia (HBGI < 4.5).43 In the future, however, mechanisms to transition the underinsulinization state to a state of normal infusion rate will be explored to avoid postprandial glycemic excursions.
Table 4.
MS-MPC |
rMPC |
|||||
---|---|---|---|---|---|---|
Mean | Median | IQR | Mean | Median | IQR | |
Overall | ||||||
Average blood glucose (mg/dL) | 144.7 | 142.5 | 16.6 | 136.6 | 135.3 | 19.0 |
Max blood glucose (mg/dL) | 239.9 | 235.5 | 42.3 | 206.4 | 205.5 | 50.1 |
Min blood glucose (mg/dL) | 80.7 | 82.4 | 22.0 | 68.2 | 65.8 | 13.6 |
% time > 250 mg/dL | 1.66 | 0.00 | 2.34 | 0.52 | 0.00 | 0.00 |
% time > 180 mg/dL | 18.56 | 16.10 | 15.71 | 13.66 | 11.69 | 20.26 |
% time in [70-180] mg/dL | 81.16 | 83.90 | 16.49 | 85.56 | 87.92 | 20.26 |
% time in [70-140] mg/dL | 54.62 | 54.55 | 21.56 | 60.38 | 58.70 | 22.99 |
% time < 70 mg/dL | 0.28 | 0.00 | 0.52 | 0.77 | 0.78 | 1.04 |
% time < 54 mg/dL | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
LBGI | 0.19 | 0.18 | 0.20 | 0.36 | 0.35 | 0.21 |
HBGI | 3.90 | 3.44 | 2.84 | 2.94 | 2.68 | 2.63 |
Total daily insulin (U/d) | 36.0 | 34.0 | 10.8 | 37.4 | 35.0 | 11.6 |
# hypo treats during exercise | 8 | 68 | ||||
Exercise | ||||||
Average blood glucose (mg/dL) | 119.7 | 117.8 | 27.7 | 96.3 | 92.5 | 18.6 |
Max blood glucose (mg/dL) | 137.0 | 131.8 | 29.8 | 122.3 | 115.0 | 27.5 |
Min blood glucose (mg/dL) | 104.5 | 105.0 | 29.8 | 72.9 | 67.7 | 21.6 |
% time > 250 mg/dL | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
% time > 180 mg/dL | 2.6 | 0.0 | 0.0 | 0.5 | 0.0 | 0.0 |
% time in [70-180] mg/dL | 96.2 | 100 | 0.0 | 86.7 | 84.6 | 23.1 |
% time in [70-140] mg/dL | 80.5 | 100 | 30.8 | 81.5 | 76.9 | 30.8 |
% time < 70 mg/dL | 1.2 | 0.0 | 0.0 | 12.8 | 15.4 | 23.1 |
% time < 54 mg/dL | 0.0 | 0.0 | 0.0 | 0.8 | 0.0 | 0.0 |
Abbreviations: r-MPC, regular model predictive control; MS-MPC, multistage model predictive control.
# hypo treats during exercise indicates the number of hypo treatments (15 g CHO, fast absorption) given to the entire in silico cohort during the exercise period.
Discussion
Meaningful studies and position papers have shown the importance of manipulating insulin infusion proactively to prevent hypoglycemic events during and after moderate-intensity exercise.11-13 In this contribution, we have demonstrated promising mechanisms to (i) gather user-specific exercise behavior, (ii) provide this useful insight to a predictive controller able to reduce insulin infusion in a prospective way, and (iii) transition between anticipative and reactive modes according to the certainty on the occurrence of exercise. The main objective of this AP strategy is to reduce the risk of hypoglycemia during and after exercise. In this regard, in silico results suggest that the proposed closed-loop system decreases both the time in hypoglycemia and the number of hypo treatments, without increasing the risk of hyperglycemia beyond safe levels. Hypo treatments were included in these simulations to recreate the future in vivo evaluation of this AP strategy, where the safety of the participant is our main priority. The performance of the MS-MPC in preventing exercise-related hypoglycemia against the rMPC is highlighted when hypo treatments are removed from the simulations (% time < 70 mg/dL during exercise [median (interquartile range, IQR)]: MS-MPC, 0.0 (0.0)%; rMPC, 15.4 (38.5)%).
Despite benefits, as illustrated in Figure 6, higher glucose peaks are detected after the meal that follows when exercise is likely to occur. This is mainly due to the underinsulinization state reached to avoid the hypoglycemia during exercise. We acknowledge that this is a limitation of the proposed system. A possible solution is to allow the controller to respond more aggressively and/or progressively transition to a normal insulin state before meal consumption. In that case, postprandial glucose excursions will be further mitigated, but this comes at the expense of increasing the risk of late hypoglycemia due to the delayed glucose uptake associated with exercise and the sustained duration of action of the current insulin analogs. Insulins with faster-on and -off pharmacodynamics would be beneficial in this scenario where anticipatory reduction of insulin levels is necessary and later increase in the risk of hypoglycemia is expected. Finally, it is worth considering that in these simulations we are assigning to each subject three exercise-related signatures randomly distributed between 4 and 7 pm and equally probable. Therefore, the controller has to perform a pump-suspension for almost the complete time window. If more specific probabilities are assigned to each signature, then the glucose rebound after exercise will be attenuated.
Conclusion
This contribution proposes a novel (hybrid) AP system based on MS-MPC for hypoglycemia prevention during and after moderate-intensity exercise bouts. To test the safety and reliability of our AP system, we created an in silico replica of an upcoming outpatient clinical trial in our FDA-accepted UVA/Padova metabolic simulator including both inter- and intrapatient variability. Results demonstrated that our controller is safe and effective in preventing exercise-related hypoglycemia in the proposed scenario.
Footnotes
Declaration of Conflict of Interests: The author(s) declared the following potential conflicts of interest with respect to the research, authorship, and/or publication of this article: JGT, PC, JC, and BO have nothing to declare. MDB consults for Roche Diagnostics, Sanofi-Aventis, and Ascensia Diabetes Care; receives research support from Dexcom, Senseonics, Tandem, Roche Diagnostics, Sanofi-Aventis, and Ascensia Diabetes Care; and holds equity in TypeZero Technologies.
Funding: The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work has been supported by the National Institutes of Health (NIH) under Grant 1DP3DK106826-01.
ORCID iD: Jose Garcia-Tirado https://orcid.org/0000-0002-9970-2162
References
- 1. ADA. Standard of medical care in diabetes. Diabetes Care. 2015;38(suppl 1):S1-S93. doi: 10.2337/dc15-S001 [DOI] [PubMed] [Google Scholar]
- 2. Grunberger G. Insulin analogs - are they worth it? Yes! Diabetes Care. 2014;37(6):1767-1770. doi: 10.2337/dc14-0031 [DOI] [PubMed] [Google Scholar]
- 3. Castle JR, Jacobs PG. Nonadjunctive use of continuous glucose monitoring for diabetes treatment decisions. J Diabetes Sci Technol. 2016;10(5):1169-1173. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Kovatchev B, Tamborlane WV, Cefalu WT, Cobelli C. The artificial pancreas in 2016: a digital treatment ecosystem for diabetes. Diabetes Care. 2016;39(7):1123-1126. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Thabit H, Hovorka R. Coming of age: the artificial pancreas for type 1 diabetes. Diabetologia. 2016;59(9):1795-1805. doi: 10.1007/s00125-016-4022-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Hovorka R, Allen JM, Elleri D, et al. Manual closed-loop insulin delivery in children and adolescents with type 1 diabetes: a phase 2 randomised crossover trial. Lancet. 2010;375(9716):743-751. doi: 10.1016/s0140-6736(09)61998-x [DOI] [PubMed] [Google Scholar]
- 7. Kovatchev B, Cheng P, Anderson SM, et al. Feasibility of long-term closed-loop control: a multicenter 6-month trial of 24/7 automated insulin delivery. Diabetes Technol Ther. 2017;19(1):18-24. [DOI] [PubMed] [Google Scholar]
- 8. Garg SK, Weinzimer SA, Tamborlane WV, et al. Glucose outcomes with the in-home use of a hybrid closed-loop insulin delivery system in adolescents and adults with type 1 diabetes. Diabetes Technol Ther. 2017;19(3):155-163. doi: 10.1089/dia.2016.0421 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Messer LH, Forlenza GP, Sherr JL, et al. Optimizing hybrid closed-loop therapy in adolescents and emerging adults using the mini med 670G system. Diabetes Care. 2018;41(4):789-796. doi: 10.2337/dc17-1682 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Bergenstal RM, Garg S, Weinzimer S, et al. Safety of a hybrid closed-loop insulin delivery system in patients with type 1 diabetes. JAMA. 2016;316(13):1407-1408. doi: 10.1001/jama.2016.11708 [DOI] [PubMed] [Google Scholar]
- 11. Riddell MC, Zaharieva DP, Yavelberg L, Cinar A, Jamnik VK. Exercise and the development of the artificial pancreas: one of the more difficult series of hurdles. J Diabetes Sci Technol. 2015;9(6):1217-1226. doi: 10.1177/1932296815609370 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Riddell MC, Gallen IW, Smart CE, et al. Exercise management in type 1 diabetes: a consensus statement. Lancet Diabetes Endocrinol. 2017;5(5):377-390. [DOI] [PubMed] [Google Scholar]
- 13. Riddell MC, Castorino K, Tate DF, et al. Physical activity/exercise and diabetes: a position statement of the American Diabetes Association. Diabetes Care. 2016;39(11):2065-2079. doi: 10.2337/dc16-1728 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Roy-Fleming A, Taleb N, Messier V, et al. Timing of insulin basal rate reduction to reduce hypoglycemia during late post-prandial exercise in adults with type 1 diabetes using insulin pump therapy: a randomized crossover trial. Diabetes Metab. 2019;45(3):294-300.doi: 10.1016/j.diabet.2018.08.002 [DOI] [PubMed] [Google Scholar]
- 15. Campbell MD, Walker M, Bracken RM, et al. Insulin therapy and dietary adjustments to normalize glycemia and prevent nocturnal hypoglycemia after evening exercise in type 1 diabetes: a randomized controlled trial. BMJ Open Diabetes Res Care. 2015;3(1):1-8. doi: 10.1136/bmjdrc-2015-000085 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Breton M, Cherñavvsky DR, Forlenza GP, et al. Closed-loop control during intense prolonged outdoor exercise in adolescents with type 1 diabetes: the artificial pancreas Ski Study. Diabetes Care. 2017;40(December):1644-1650. doi: 10.2337/dc17-0883 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Dovc K, Macedoni M, Bratina N, et al. Closed-loop glucose control in young people with type 1 diabetes during and after unannounced physical activity: a randomised controlled crossover trial. Diabetologia. 2017;60(11):2157-2167. doi: 10.1007/s00125-017-4395-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Huyett LM, Ly TT, Forlenza GP, et al. Outpatient closed-loop control with unannounced moderate exercise in adolescents using zone model predictive control. Diabetes Technol Ther. 2017;19(6):331-339. doi: 10.1089/dia.2016.0399 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Pinsker JE, Laguna Sanz AJ, Lee JB, et al. Evaluation of an artificial pancreas with enhanced model predictive control and a glucose prediction trust index with unannounced exercise. Diabetes Technol Ther. 2018;20(7):455-464. doi: 10.1089/dia.2018.0031 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Littlejohn E, Cinar A, Feng J, et al. Incorporating unannounced meals and exercise in adaptive learning of personalized models for multivariable artificial pancreas systems. J Diabetes Sci Technol. 2018;12(5):953-966. doi: 10.1177/1932296818789951 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Littlejohn E, Ritthaler J, Cinar A, et al. Multivariable artificial pancreas for various exercise types and intensities. Diabetes Technol Ther. 2018;20(10):662-671. doi: 10.1089/dia.2018.0072 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. DeBoer MD, Cherñavvsky DR, Topchyan K, Kovatchev BP, Francis GL, Breton MD. Heart rate informed artificial pancreas system enhances glycemic control during exercise in adolescents with T1D. Pediatr Diabetes. 2016;18(7):540-546. doi: 10.1111/pedi.12454 [DOI] [PubMed] [Google Scholar]
- 23. Ramkissoon CM, Bertachi A, Beneyto A, Bondia J, Vehi J. Detection and control of unannounced exercise in the artificial pancreas without Additional Physiological Signals. IEEE J Biomed Heal Informatics. 2019;2194(c):1-1. doi: 10.1109/JBHI.2019.2898558 [DOI] [PubMed] [Google Scholar]
- 24. Hughes CS, Patek SD, Breton MD, Kovatchev BP. Hypoglycemia prevention via pump attenuation and red-yellow-green “traffic” lights using continuous glucose monitoring and insulin pump data. J Diabetes Sci Technol. 2010;4(5):1146-1155. doi: 10.1177/193229681000400513 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Patek SD, Lv D, Ortiz EA, et al. Empirical representation of blood glucose variability in a compartmental model. In: Kirchsteiger H, Bagterp Jørgensen J, Renard E, del Re L. (eds) Prediction Methods for Blood Glucose Concentration. New York: Springer; 2016:133-157. [Google Scholar]
- 26. Dalla Man C, Pizza R, Cobelli C. Meal simulation model of the glucose-insulin system. IEEE Trans Biomed Eng. 2007;54(10):1740-1749. [DOI] [PubMed] [Google Scholar]
- 27. Visentin R, Campos-Náñez E, Schiavon M, et al. The UVA/Padova type 1 diabetes simulator goes from single meal to single day. J Diabetes Sci Technol. 2018;12(2):273-281. doi: 10.1177/1932296818757747 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Kovatchev B, Breton M, Dalla Man C, Cobelli C. In Silico Model and Computer Simulation Environment Approximating the Human Glucose/Insulin Utilization. Food Drug Adm Master File MAF 1521. 2018. [Google Scholar]
- 29. Garcia-Tirado J, Zuluaga-Bedoya C, Breton M. Identifiability analysis of three control-oriented models for use in artificial pancreas systems. J Diabetes Sci Technol. 2018;12(5):937-952. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Lucia S, Finkler T, Engell S. Multi-stage nonlinear model predictive control applied to a semi-batch polymerization reactor under uncertainty. J Process Control. 2013;23(9):1306-1319. doi: 10.1016/j.jprocont.2013.08.008 [DOI] [Google Scholar]
- 31. Martí R, Lucia S, Sarabia D, Paulen R, Engell S, de Prada C. Improving scenario decomposition algorithms for robust nonlinear model predictive control. Comput Chem Eng. 2015;79:30-45. [Google Scholar]
- 32. Mallad A, Hinshaw L, Dalla Man C, et al. Nocturnal glucose metabolism in type 1 diabetes: a study comparing single versus dual tracer approaches. Diabetes Technol Ther. 2015;17(8):587-595. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Cartee G, Young D, Sleeper M, Zierath J, Wallbert-Henriksson H, Holloszy J. Prolonged increase in insulin-stimulated glucose transport in muscle after exercise. Am J Physiol. 2189;256(4 Pt 1):E494-E499. [DOI] [PubMed] [Google Scholar]
- 34. Borghouts L, Keizer H. Exercise and insulin sensitivity. Int J Sport Med. 2000;21(1):1-12. [DOI] [PubMed] [Google Scholar]
- 35. Basu R, Johnson ML, Kudva YC, Basu A. Exercise, hypoglycemia, and type 1 diabetes. Diabetes Technol Ther. 2014;16(6):331-337. doi: 10.1089/dia.2014.0097 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. McMahon SK, Ferreira LD, Ratnam N, et al. Glucose requirements to maintain euglycemia after moderate-intensity afternoon exercise in adolescents with type 1 diabetes are increased in a Biphasic manner. J Clin Endocrinol Metab. 2007;92(3):963-968. doi: 10.1210/jc.2006-2263 [DOI] [PubMed] [Google Scholar]
- 37. Boiroux D, Duun-Henriksen AK, Schmidt S, et al. Overnight glucose control in people with type 1 diabetes. Biomed Signal Process Control. 2018;39:503-512. [Google Scholar]
- 38. Kalman RE. A new approach to linear filtering and prediction problems. Trans ASME–J Basic Eng. 1960;82(Series D):35-45. [Google Scholar]
- 39. Kalman RE, Bucy RS. New results in linear filtering and prediction theory. Trans ASME Ser D, J Basic Eng. 1961;83(1):95-107. [Google Scholar]
- 40. Garcia-Tirado J, Colmegna P, Corbett J, Ozaslan B, Breton MD. Ensemble model predictive control strategies can reduce exercise hypoglycemia in type 1 diabetes: in silico studies. In: Proceedings of the American Control Conference; 2019; Philadelphia, PA 1-7. [Google Scholar]
- 41. Colmegna PH, Sánchez-Peña RS, Gondhalekar R, Dassau E, Doyle FJ. Reducing glucose variability due to meals and postprandial exercise in T1DM using switched LPV control: in silico studies. J Diabetes Sci Technol. 2016;10(3):744-753. doi: 10.1177/1932296816638857 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. Maahs D, Buckingham B, Castle J, et al. Outcome measures for artificial pancreas clinical trials: a consensus report. Diabetes Care. 2016;39(7):1175-1179. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Clarke W, Kovatchev B. Statistical tools to analyze continuous glucose monitor data. Diabetes Technol Ther. 2009;11(Suppl 1):S45-S54. [DOI] [PMC free article] [PubMed] [Google Scholar]