Skip to main content

ORIGINAL RESEARCH article

Front. Endocrinol., 10 January 2022
Sec. Clinical Diabetes
This article is part of the Research Topic Recent Advances in Computer Simulation for Diabetes Treatment and Care View all 7 articles

Titration of Long-Acting Insulin Using Continuous Glucose Monitoring and Smart Insulin Pens in Type 1 Diabetes: A Model-Based Carbohydrate-Free Approach

  • Center for Diabetes Technology, University of Virginia, Charlottesville, VA, United States

Objective: Multiple daily injections (MDI) therapy is the most common treatment for type 1 diabetes (T1D), consisting of long-acting insulin to cover fasting conditions and rapid-acting insulin to cover meals. Titration of long-acting insulin is needed to achieve satisfactory glycemia but is challenging due to inter-and intra-individual metabolic variability. In this work, a novel titration algorithm for long-acting insulin leveraging continuous glucose monitoring (CGM) and smart insulin pens (SIP) data is proposed.

Methods: The algorithm is based on a glucoregulatory model that describes insulin and meal effects on blood glucose fluctuations. The model is individualized on patient’s data and used to extract the theoretical glucose curve in fasting conditions; the individualization step does not require any carbohydrate records. A cost function is employed to search for the optimal long-acting insulin dose to achieve the desired glycemic target in the fasting state. The algorithm was tested in two virtual studies performed within a validated T1D simulation platform, deploying different levels of metabolic variability (nominal and variance). The performance of the method was compared to that achieved with two published titration algorithms based on self-measured blood glucose (SMBG) records. The sensitivity of the algorithm to carbohydrate records was also analyzed.

Results: The proposed method outperformed SMBG-based methods in terms of reduction of exposure to hypoglycemia, especially during the night period (0 am–6 am). In the variance scenario, during the night, an improvement in the time in the target glycemic range (70–180 mg/dL) from 69.0% to 86.4% and a decrease in the time in hypoglycemia (<70 mg/dL) from 10.7% to 2.6% was observed. Robustness analysis showed that the method performance is non-sensitive to carbohydrate records.

Conclusion: The use of CGM and SIP in people with T1D using MDI therapy has the potential to inform smart insulin titration algorithms that improve glycemic control. Clinical studies in real-world settings are warranted to further test the proposed titration algorithm.

Significance: This algorithm is a step towards a decision support system that improves glycemic control and potentially the quality of life, in a population of individuals with T1D who cannot benefit from the artificial pancreas system.

1 Introduction

In type 1 diabetes (T1D), life-long insulin replacement is required to compensate for the practically nonexistent insulin secretion due to the autoimmune destruction of the pancreatic beta-cells (1). Without endogenous insulin, glucose regulation is a challenging task, as it is heavily dependent on multiple daily treatment decisions by the patient to account for a wide variety of factors influencing insulin demand, e.g., circadian rhythms, physical activity, food, and stress. Consequently, most patients run the risk of developing long-term micro-/macro-vascular complications due to sustained hyperglycemia (2, 3). Tight glucose control is key to avoiding long-term complications, but fear of hypoglycemia due to overdosing on insulin remains a limiting factor (4). In recent years, technological advances in glucose monitoring devices (5), modern insulin analogs (6), and insulin delivery systems have facilitated T1D management (7, 8). Nevertheless, T1D patients are still not achieving their glycemic targets (9), with complication rates and excess mortality significantly higher in T1D compared to the general population (10).

Worldwide, most T1D patients implement insulin therapy through multiple daily injections (MDI) of insulin (11). Insulin injections comprise two types of insulin formulations: (i) a long-acting analog (e.g., insulin detemir, glargine, or degludec) to maintain glucose levels constant during fasting conditions and overnight, accounting for about 50% of daily insulin requirements; (ii) a rapid-acting analog (e.g., insulin lispro, aspart or glulisine) at mealtimes to compensate for the glycemic excursions due to the macronutrient content of the ingested food or as a correction for hyperglycemia (12). Long-acting insulins, also called basal insulins, are characterized by a slow, often peak-less, absorption with an action duration of up to 24 hours (13). For maximum glucose-lowering effect, basal insulins are typically injected at a consistent time, once or twice a day (e.g., every morning before breakfast and/or every night before bedtime), by means of a vial and a syringe or more convenient insulin pens. The next generation of insulin pens, called smart insulin pens (SIP), can record the history of previous doses, estimate the insulin on board, and connect with a smartphone (14).

The amount of basal insulin needed by a person is specific to each individual as it represents their insulin need in fasting conditions and overnight. Because of changes in people’s lifestyle and metabolism, this dose is periodically titrated to achieve the desired glycemic goals (1). The standard-of-care clinical approach to basal insulin titration involves adjusting the insulin dosage by few units based on self-monitored blood glucose (SMBG) data measured daily in fasting conditions (i.e., pre-breakfast) (1518). Continuous glucose monitoring (CGM) devices offer the possibility to record glucose levels almost continuously (e.g., 5-minute sampling time), for the whole day. Algorithms using CGM data have been proposed to adapt therapy parameters as part of decision support systems (1922). If the CGM system is combined with a SIP and a smartphone application, this integrated technology allows to collect a complete data record which enables algorithmic adjustments of the basal insulin dose to accommodate the daily insulin needs of an individual following MDI therapy.

This manuscript proposes a model-based algorithm that utilizes CGM and SIP records to adapt and individualize the long-acting insulin dose for people with T1D under MDI therapy. The algorithm uses an insulin-glucose model to interpret the data, but does not require users to record their meals, which was a limitation of a previously proposed model-based approach (23). Not requiring carbohydrate records renders the method suitable to serve people using MDI therapy, since most do not perform precise carbohydrate counting (24). The proposed method is shown to outperform traditional SMBG-based approaches for the titration of basal insulin (16), in two in-silico experiments performed within the University of Virginia/Padova T1D Simulator (2527). Further, the robustness of the approach to missing carbohydrate records is assessed by comparing the changes to insulin dose suggested by the algorithm with and without carbohydrate information.

2 Methods

2.1 Novel Algorithm for Titration of Long-Acting Insulin Using CGM and SIP Data

In MDI therapy, people inject long-acting insulin every day approximatively at the same time, to provide a background insulin concentration that keeps their glucose levels in target during fasting conditions and overnight. Here, the objective is to adapt daily long-acting insulin doses in a cyclic manner (e.g., weekly) using individual glucose and insulin data history. It is assumed that a CGM device records glucose levels and a SIP records the time and size of insulin doses (bolus and basal). It is also assumed that data records are preprocessed for non-valid or empty values and sampled with a fixed sampling time dt into arrays with size n. Glucose data is denoted by G, basal insulin data by Ubasal, and bolus insulin data by Ubolus. At each cycle c, the optimal basal dose BCopt is determined from the available data 𝒟 = {G, Ubasal, Ubolus} and a new long-acting basal dose Bc+1 is generated from the previously used dose Bc by following a run-to-run update rule (28):

Bc+1=BC+Φ(BCoptBC),(1)

where Φ is a saturation and dead-zone nonlinearity function that ensures a safe change in the basal dose while being robust to small changes in BCopt (23). Φ is defined as:

Φ(x)={0|x|<xminx|x|xmax|x|>xmaxxotherwise(2)

where Xmin and Xmax are function parameters chosen to limit and saturate Φ. A table of symbols is provided in Appendix A.3.

To determine the optimal basal dose BCopt, a model of glucose metabolism capable of describing the glycemic response to meals, bolus insulin, and basal insulin is individualized by model identification on the available glucose traces. A residual metabolic signal that allows to explain the experimental data and describes unmodeled phenomena is computed as additional model input by regularized deconvolution (29). The individualized model is then used to predict the effect of basal insulin changes on glucose fluctuations, in the absence of meal and bolus inputs but in the presence of the residual metabolic signal. Thus, an optimization problem can be formulated and solved to find the optimal basal dose that results on the desired glucose profile in fasting conditions.

2.1.1 Individualization of the Metabolic Model

The metabolic model used within the algorithm can be written as the following discrete-time, linear, time-invariant model:

X(k+1)=AdX(k)+BbasaldUbasal(k)+BbolusdUbolus(k)+BmealdUmeal(k)+Bωdω(k)Y(k)=CdX(k),(3)

where k is the discrete timestamp; X is the metabolic state vector including plasma glucose concentration, insulin concentration in the subcutaneous space and in plasma, insulin action, and carbohydrate absorption from stomach and gut; Y is the model output coinciding with plasma glucose concentration; and Ad, Bbasald,Bbolusd,Bmeald,Bwd, and Cd are state-space matrices describing the interaction between glucose and the system inputs.

For our purposes, a linearized subcutaneous oral glucose minimal model (SOGMM) is employed (29), augmented with a basal dose channel (see Appendix A.1):

Ac=[SgSiGb00000kq1Vg BWkq2Vg BW0p20000p2Vi BW0000ksp00000000kspka000000000(kc1+kc12)00000000kc12kc2000000kakc1kc2kcl000000000(kq1+kq12)00000000kq12kq2]                                 Bbasalc=[00kF(1k)F00000]T(4)

where Ac and Bbasalc represent the continuous counterpart of the state-space matrices Ad and Bbasald; F, k, ksp, ka are basal insulin pharmacokinetics parameters described as follows: F (dimensionless) is the basal insulin bioavailability, k (dimensionless) is the precipitate fraction of the administered dose, ksp (min−1) is the rate constant of dissolution from precipitate to soluble state, ka (min−1) is the rate constant of insulin absorption to plasma; and the remaining parameters are the same as described in Hughes et al. (29).

In equation (3), the initial state X(0) at time of day t0 can be determined by assuming that basal insulin doses were given each day at the same time tB, considering the other model inputs to be zero. In other words, X(0) is the steady state resulting from a train of Dirac basal inputs given at tB in the absence of any meals and boluses. A closed form for X(0) is derived in Appendix A.2. as:

X(0)=exp(Ac(TtB)) (Iexp(AcT))1BCUbasal(5)

The SOGMM model takes the meal input stored in Umeal in the form of the amount of carbohydrates in the consumed meals. Since the amount of carbohydrates is unknown, this input is artificially reconstructed following insulin dosing rules (30):

Umeal(k)=max(500TDI(Ubolus(k)G(k)Gb1800TDI),0)k[1,n],(6)

where TDI is the total daily dose of insulin and Gb is basal glucose. According to (6), the input Umeal can be nonzero only if the input Ubolus is nonzero, thus including only instances of bolused carbohydrate intakes. To include in the input vector unbolused meal events, Umeal is further augmented by including meal inputs identified through an unbolused-meal detection algorithm (31, 32).

Model (3) is individualized on patient data 𝒟 = {G, Ubasal, Ubolus} by estimating one insulin sensitivity parameter (Si) per day. Additionally, carbohydrate absorption rate parameters (f,kq1,kq2,kq12) are estimated for each meal to account for inter-meal absorption differences (e.g., from the type and ratio of macronutrients in the consumed meal) and errors in the reconstructed meal input. Population parameters are used for the remaining parameters.

The list of parameters is denoted by θ=(fm,kq1m,kq2m,kq12m,Sid)mmeals&ddays. Parameters are estimated following a maximum-a-posteriori approach where the posterior probability of observing θ conditioned on the data 𝒟 is maximized. Note that in this step the residual metabolic signal (ω) is not considered. The parameter vector is thus obtained as:

θ^=argmaxθP(θ|G,Ubasal,Ubolus,ω=0)=argmaxθP(G|θ,Ubasal,Ubolus,ω=0)P(θ),(7)

where 𝒟(θ) is derived from a personalized normal prior distribution and 𝒟(G|θ, Ubasal, Ubolus, ω = 0) is the likelihood of the measurements G calculated by assuming they are independently and identically distributed under a normal distribution with a constant coefficient of variation and mean Y(θ, Ubasal, Ubolus, ω = 0).

2.1.2 Estimation of the Residual Metabolic Signal

The residual metabolic signal ω is estimated by regularized deconvolution via inversion of the individualized model outlined above. The deconvolution procedure is described by Patek et al. (33).

2.1.3 Optimization of Long-Acting Insulin

The individualization procedure and the residual metabolic signal estimation are performed daily using an extended daily data (a day padded by a 6-hour head and a 2- hour tail before and after the day). Using the identified model, the glucose trace in response to the basal dose, in the absence of meals and insulin boluses, can be predicted as:

Xbasal(k+1)=AdXbasal(k)+BbasaldUbasal(k)+Bωdω(k)Ybasal(k)=CdXbasal(k),(8)

The basal dose can then be optimized to achieve a desired theoretical fasting glucose profile Ybasal. For this purpose, the glycemic risk during the day (midnight to midnight) is minimized using a risk function assuming higher values when glucose is <70 mg/dL and >180 mg/dL (34). Protection against hypoglycemia is reinforced by further penalizing glucose levels under the desired target Gt (set to 110 mg/dL) during the night period ℐnight, personalized to the patient data 𝒟 by searching for periods of time without insulin boluses. The optimization problem can be written as follows:

BCopt=argminUbasal{krisk(Ybasal(k))+αkJnightmax(1Ybasal(k)Gt,0)},(9)

and is solved via grid search performed around the currently used basal dose Bc, testing changes up to ±40%, with a fixed 1% step size. If multiple days are analyzed simultaneously, BCopt is found for each day and then averaged over days. The final optimal dose is rounded to the nearest half unit, to accommodate SIP resolution. This algorithm can be run routinely at night whenever the daily data is collected.

2.2 State-of-the-Art Algorithms for Basal Insulin Titration Using SMBG Data

Currently, most patients using MDI therapy do not own a SIP nor consistently use a CGM, even though these technologies are getting cheaper and more accessible (5) (35). Long-acting insulin can still be titrated and adapted using SMBG values from a glucose meter. SMBG is taken in fasting conditions, usually before the breakfast meal, and used to adjust the basal insulin dose. In the following, two existing strategies to adapt the basal insulin dose using SMBG records will be presented and compared against the proposed algorithm.

For each cycle c, collected SMBG values, denoted (Gbasali)i[1,C], will be used to compute the new optimal basal dose BCopt. In order to keep a fair comparison between the algorithms, the same update rule, with the same saturation and dead-zone, reported in equation (1) is used but with the newly calculated BCopt.

2.2.1 Control to Range

Long-acting insulin dose can be titrated following a control-to-range heuristic rule. Rules are composed of a chosen range (e.g., 80-130 mg/dL) and an insulin adjustment step (e.g., 1U). Most titration algorithms used in clinical practice can be considered of this sort (36). Here, an algorithm similar to the one proposed by Visentin et al. to titrate insulin glargine was used (37), which defines the optimal insulin dose as:

Bcopt={BcΔbdmini[1,C](Gbasali)<GminBcΔbi1CΣi[1,C](Gbasali)<GmaxBcOtherwise(10)

where Gmin = 80; Gmax = 130; Δbd is 10% of Bc and is at least 1U; and Δbi is ranging from 0.5U to 5U, with 0.5U step every 20 mg/dL.

2.2.2 Control to Reference

This baseline algorithm is taken from recent work from Cescon et al. where an iterative learning control (ILC) is proposed to optimize the basal insulin dose (16). This ILC algorithm finds the new optimal dose BCopt to be administered such that the SMBG values are driven as close as possible to the desired reference trajectory Gtarget:

BCopt=BC+γF(q) (Gtarget1Ci[1,C]Gbasali),(11)

where γ is a gain set to 1, Gtarget is set to 110 mg/dL, and F(q) is a discrete filter described in (16). Similarly to (16), the DC gain of the filter F(q) is individualized to each subject as 3BW.

2.3 In-Silico Studies and Outcome Metrics

The basal insulin dosing adaptation algorithm was tested in a 120-day simulation study including 100 virtual adult subjects with T1D using MDI therapy. The simulation experiment was carried on in the FDA-accepted University of Virginia/Padova T1D Simulator. Daily basal insulin doses of glargine-100 were administered either in the morning or before bedtime and were usually taken around mealtime, when possible (i.e., if a meal is programmed at the same time as the programmed time interval when the basal dose is taken, the basal dose is given at the same time as the meal). Bolus doses accompanied announced meals and were calculated using the counted carbohydrates, glucose at mealtime, glucose target (set to 110 mg/dL), and the subject carbohydrate ratio and insulin sensitivity factor. The virtual subjects could treat hypoglycemia events, but a hypoglycemia unawareness algorithm was implemented where there is a chance that the hypoglycemia event is not treated for a period (e.g., for each minute while glucose is under 70 mg/dL there is a 10% chance that the hypoglycemia is treated, equivalent to 4% chance hypoglycemia lasts for >30min). Additionally, hypoglycemia events between 0 am at 6 am were not treated to reinforce night hypoglycemia.

Each virtual subject was characterized by a basal glucose and the basal dose needed to achieve this basal glucose, Ubasalss. The starting basal dose was altered from Ubasalss by +50% for half of the subjects and -50% for the other half. The carbohydrate ratio was not optimized but slightly altered to keep a reasonable total daily insulin dose: the bolus dose was decreased by 25% for subjects w here the basal dose was increased by 50% and vice-versa. As reported in (27), a model for glucose meter was used to generate SMBG values from blood glucose levels, and a model for a CGM sensor was used to generate glucose readings (38). Consumed carbohydrate amount was predetermined in the simulator but unknown to the adaptation algorithms.

Five treatment arms were simulated: a) a control arm where altered insulin dosing parameters were kept the same throughout the experiment (CTR); b) a baseline arm where the control to range SMBG algorithm is employed (SMBG-Rule); c) a baseline arm where the control to reference SMBG algorithm is employed (SMBG-ILC); d) an experimental arm where the proposed algorithm is employed (CGM-Opt); e) another experimental arm similar to d) but where counted carbohydrate amount was given to the optimization algorithm instead of being reconstructed (CGM-Opt-Carb). Treatment arms for each virtual subject were identical, with the same meals and metabolic/behavioral variability.

Similar to clinical practice (39), the insulin dose was titrated every three days to provide enough time for insulin dose change effects on fasting glucose to stabilize. In the SMBG-Rule and SMBG-ILC arms, three pre-breakfast SMBG values were used. In the CGM-opt and CGM-Opt-Carb arm, the CGM data up to the time of the next basal dose recommendations (around three days) was used. The simulation experiment was not interrupted during the 120 days. The same simulation was repeated for two different scenarios: nominal and variance, described below.

2.3.1 Nominal Scenario

In this scenario, the virtual subjects consumed three similar meals each day at the same time. Meals were taken at 7AM, 1PM, 7PM and the amount of carbohydrates per meal was 50g, 75g and 75g. There was no additional metabolic/behavioral variability.

2.3.2 Variance Scenario

In this scenario, metabolic/behavioral variability was implemented. Behavioral variability consisted of consuming three main meals and up to three unannounced and unbolused snacks. Meal sizes were variable, but the total carbohydrates consumed over the day were between 200g and 300g, main meals were bigger than 30g, and snacks were smaller than 40g (e.g., three main meals 50g, 70g, 60g and two snacks 20g, 20g). The carbohydrate amount used in the insulin bolus calculation was subject to a random carbohydrate counting error uniformly distributed between -40% and +40%. The insulin bolus could be delayed by up to 1 hour after consuming a meal. Metabolic variability was implemented by varying the insulin sensitivity during the day and between days.

2.3.3 Outcome Metrics

Algorithm performance was assessed using established metrics of glycemic variability and quality of glycemic control (40), including, time in the target range of 70-180 mg/dL (TIR); time in hypoglycemia <70 mg/dL (TBR); and time in hyperglycemia >180 mg/dL (TAR) (A complete list of outcome metrics are listed in Table 1). Metrics were calculated for each arm every 15 days. Before starting the 120 days experiment, an initial 15 days was simulated and used as a baseline. All results are reported as mean ± standard deviation across subjects for a 15-day duration. Changes of a certain 15-day period as compared to the baseline period are reported as average and confidence interval (CI).

TABLE 1
www.frontiersin.org

Table 1 Summary of glycemic outcomes for the in-silico experiment.

3 Results

Comparing the last 15 days of the 120-day simulation to the baseline period, the CGM-Opt did not change TIR in the nominal scenario (+1.0% CI(-1.5% to 3.6%)), but increased TIR from 57.4% (±14.6%) to 63.6% (±15.4%) by +6.2% CI(3.6% to 8.8%) in the variance scenario. At the same time, TBR was decreased using the CGM-Opt in both scenarios (-5.1% CI(-6.9% to -3.4%) in the nominal scenario, and -1.7% CI(-3.0% to -0.4%) in the variance scenario). The CGM-Opt performed exceptionally well during the night period, where TIR increased by +16.1% CI(11.0% to 21.1%) in the nominal scenario and by +17.4% CI(13.8% to 21.0%) in the variance scenario, while TBR was decreased by -14.0% CI(-19.0% to -8.9%) in the nominal scenario and by -8.1% CI(-11.6% to -4.6%) in the variance scenario. These results are summarized in Figure 1 for the nominal scenario and Figure 2 for the variance scenario. An exhaustive comparison between the four arms (CTR, SMBG-Rule, SMBG-ILC, and CGM-Opt) is provided in Table 1.

FIGURE 1
www.frontiersin.org

Figure 1 Summary of glycemic outcomes in every 15 days period for the nominal scenario of the in-silico experiment. Values are shown as mean and standard deviation.

FIGURE 2
www.frontiersin.org

Figure 2 Summary of glycemic outcomes in every 15 days period for the variance scenario of the in-silico experiment. Values are shown as mean and standard deviation.

The average basal dose in the last 15-days was compared to the original Ubasalss. In Table 2, results of this comparison are shown separately for virtual subjects that started with a higher basal dose and with a lower basal dose. In Figure 3, the percentage basal dose changes in both scenarios are shown.

TABLE 2
www.frontiersin.org

Table 2 Summary of changes in basal dose from theoretical steady-state optimal value.

FIGURE 3
www.frontiersin.org

Figure 3 Summary of long-acting dose changes in titration days (every 3 days). Values are shown as median and interquartile range.

There was no clinically significant change in the glycemic metrics between the CGM-Opt arm and the CGM-Opt-Carb arm. Between the two arms the difference in glycemic outcomes in the last 15 days were: TIR differed by +0.1% CI(-0.1% to 0.3%) and TBR by 0.0% CI(-0.0% to 0.01%) in the nominal scenario; and TIR differed by +0.2% CI(0.0% to 0.4%) and TBR by 0.0% CI(-0.1% to 0.1%) in the variance scenario. Similarly, as it can be seen in Table 3, there was no differences between calculated optimal basal dose BCopt for each day in the two arms (CGM-Opt vs CGM-Opt-Carb).

TABLE 3
www.frontiersin.org

Table 3 Summary of changes between the optimization procedure when the carbohydrate input is reconstructed or counted by virtual subjects.

4 Discussion

People with T1D live with the life-long burden of making important decisions about their daily insulin doses. Technological advances in diabetes treatment can help in easing this burden. Specifically, the new generation of SIP and the affordability of CGM are facilitating the development of a decision support system designed for people using MDI therapy. The proposed algorithm will enable such decision support systems by automatically suggesting adaptation of the basal insulin dose after analyzing SIP and CGM records.

Our algorithm is based on a metabolic model that describes the complex glucose traces by separating the effects of the basal insulin dose from other system inputs, i.e., insulin boluses and consumed meals. This approach is inspired by the clinical practice where patients are usually asked to skip meals in order to optimize their basal insulin (41). Once the model is able to describe the data, we can mathematically eliminate the effect of meals and boluses on the glucose trace, thus isolating the effect of basal dose on the theoretical fasting glucose and allowing for its optimal tuning. This method follows a similar insulin basal rate optimization approach described by Fabris et al. (42). Estimating the residual metabolic signal is key to our approach since it detects changes in the glucose curve that are independent of delivered insulin boluses and consumed meals but needs to be controlled through the basal dose. The original idea of a model-based residual metabolic signal estimated for insulin titration was introduced by Patek et al. and refined in other works (29, 33, 43). Another similar model-based method was proposed previously by El Fathi et al., but it employed a simpler model to describe the basal dose absorption and action on glucose (23). In this work, a recent subcutaneous absorption model of basal dose was employed (44). Another difference is that the basal dose is optimized independently from other model parameters, giving the possibility to mold the cost function to enforce a desired outcome (e.g., increased hypoglycemia protection at night.).

To put the performance of this algorithm into perspective, we compared it with a control-to-range algorithm inspired by the current clinical practice and a control-to-reference algorithm that was recently proposed. Both algorithms use the current standard of titrating the long-acting insulin dose from the pre-breakfast SMBG measurement. In general, results have shown that the proposed algorithm outperforms the other methods at night and can achieve comparable results overall. This can be explained by multiple factors (i) with CGM, we can observe the full glucose profile, thus clearly detecting degradations in night control; (ii) we explicitly biased the optimization equation in (9) to reduce hypoglycemia events during the night; (iii) once the night period is optimized, we did not aim to optimize glycemic metrics in the day period by optimizing insulin boluses. Our algorithm also reduced glycemic variability as measured by the glucose standard deviation in both scenarios (Table 1). This is aligned with our observation in Table 2 that this algorithm can recover the theoretical steady-state basal dose, which in theory is the one that will cause the least variations in the glucose curve. Furthermore, one can argue that reducing overall glycemic variability will facilitate optimizing parameters used to compute insulin boluses in the day period.

Our simulations have shown that the control-to-range algorithm used in the clinical practice (SMBG-Rule) is effective in titrating the long-acting insulin dose by reducing both hypoglycemia and hyperglycemia. Unexpectedly, the control-to-reference algorithm (SMBG-ILC) did not perform similarly in the two scenarios. In spite of showing good performance in the nominal scenario, the ILC-based algorithm was not able to reduce hypoglycemia in the variance scenario. In Table 1, we can see that the mean fasting SMBG values were driven close to 110 as expected by the algorithm, but this was achieved at the cost of a higher hypoglycemia exposure. This suggests that individualizing the target of the ILC algorithm (or stopping titration early) for each subject may be necessary in clinical practice. This simulation also hints that the ILC algorithm may benefit from the use of CGM data instead of SMBG.

We have also shown that our algorithm is robust to carbohydrate information, as seen in Table 3. This is a result of keeping meal parameters free to describe the glucose curve with the least a-priori knowledge during the model individualization. Therefore, the proposed meal reconstruction approach using the simple equation in (6) is shown to be sufficient for titration purposes. Not relying on carbohydrate counting will facilitate the use of this algorithm by T1D patients.

In Figure 3, we can see that the algorithm converges in about 30 days (after ~10 cycles). However, in the variance scenario, the algorithm continued to make small changes. This can be attributed to the metabolic and behavioral variability in this scenario. In this scenario, the algorithm might be undesirably chasing noise, which suggests that the dead zone in Eq. 2 can be tuned to reduce this effect. Interestingly, as seen in Figure 2, glycemic outcomes are kept stable even after these changes.

We should recognize that our results are limited by the type of scenarios we chose and the capabilities of the simulation platform, mainly the amount and frequency of the metabolic and behavioral variabilities. These results are also limited by the chosen cost function in Eq. 9 which is biased towards decreasing the hypoglycemia exposure risk during the night period, and neglecting the daytime period. This algorithm may be combined with an insulin bolus optimization algorithm that optimize glycemic outcomes during the daytime period.

5 Conclusions

This paper introduces a novel algorithm to titrate long-acting insulin doses in individuals with T1D following MDI therapy and using CGM and SIP. With the quick rise of CGM use and the arrival of SIP, the need for such algorithms is warranted. Our proposed method did not require carbohydrate information, and a proof-of-concept in-silico study demonstrated that the method performs well in simulation, increasing time spent in the target range, while reducing exposure to hypoglycemia, hyperglycemia, and glycemic variability. This algorithm will be evaluated as part of a decision support system in an upcoming clinical trial with people with T1D using MDI therapy (NCT04443153).

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the corresponding author upon reasonable request, without undue reservation.

Author Contributions

AE developed the algorithm, performed the in-silico experiments and drafted the manuscript. CF and MBD contributed to the theoretical development of the algorithm and reviewed the manuscript. All authors contributed to the article and approved the submitted version.

Funding

This work is supported by NIH-NIDDK project R01DK011562.

Conflict of Interest

MBD receives research support from Tandem Diabetes, Dexcom, Novo Nordisk, and Arecor paid to his institution. MDB serves as a consultant for Tandem, Dexcom, Adocia, Air Liquide, and Roche. MBD received speaker fees from Tandem and Arecor.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. American Diabetes Association. Diagnosis and Classification of Diabetes Mellitus. Diabetes Care (2014) 37, no. Supplement 1:S81–90. doi: 10.2337/dc14-S081

CrossRef Full Text | Google Scholar

2. The Diabetes Control and Complications Trial Research Group. The Effect of Intensive Treatment of Diabetes on the Development and Progression of Long-Term Complications in Insulin-Dependent Diabetes Mellitus. N Engl J Med (1993) 329, no. 14:977–86. doi: 10.1056/NEJM199309303291401

CrossRef Full Text | Google Scholar

3. Writing Team for the Diabetes Control and Complications Trial/Epidemiology of Diabetes Interventions and Complications Research Group. Sustained Effect of Intensive Treatment of Type 1 Diabetes Mellitus on Development and Progression of Diabetic Nephropathy: The Epidemiology of Diabetes Interventions and Complications (EDIC) Study. JAMA (2003) 290, no. 16:2159–67. doi: 10.1001/jama.290.16.2159

CrossRef Full Text | Google Scholar

4. Cryer PE. Hypoglycaemia: The Limiting Factor in the Glycaemic Management of Type I and Type II Diabetes,”. Diabetologia (2002) 45, no. 7:937–48. doi: 10.1007/s00125-002-0822-9

CrossRef Full Text | Google Scholar

5. Klonoff DC, Ahn D, Drincic A. Continuous Glucose Monitoring: A Review of the Technology and Clinical Use. Diabetes Res Clin Pract (2017) 133:178–92. doi: 10.1016/j.diabres.2017.08.005

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Hirsch IB. Insulin Analogues. N Engl J Med (2005) 352, no. 2:174–83. doi: 10.1056/NEJMra040832

CrossRef Full Text | Google Scholar

7. Tauschmann M, Hovorka R. “Technology in the Management of Type 1 Diabetes Mellitus—Current Status and Future Prospects,”. Nat Rev Endocrinol (2018) 14:464–75. doi: 10.1038/s41574-018-0044-y

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Kovatchev B. A Century of Diabetes Technology: Signals, Models, and Artificial Pancreas Control. Trends Endocrinol Metab (2019) 30(7):432–44. doi: 10.1016/j.tem.2019.04.008

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Foster NC, Beck RW, Miller KM, Clements MA, Rickels MR, DiMeglio LA, et al. State of Type 1 Diabetes Management and Outcomes From the T1D Exchange in 2016–2018. Diabetes Technol Ther (2019) 21(2):66–72. doi: 10.1089/dia.2018.0384

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Lind M, Svensson A-M, Kosiborod M, Gudbjörnsdottiruy S, Pivodic A, Wedel H, et al. Glycemic Control and Excess Mortality in Type 1 Diabetes. N Engl J Med (2014) 371(21):1972–82. doi: 10.1056/NEJMoa1408214

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Renard E, Ikegami H, Daher Vianna AG, Pozzilli P, Brette S, Bosnyak Z, et al. “The SAGE Study: Global Observational Analysis of Glycaemic Control, Hypoglycaemia and Diabetes Management in T1DM,”. Diabetes Metab Res Rev (2020) 37(7):e3430. doi: 10.1002/dmrr.3430

CrossRef Full Text | Google Scholar

12. Association AD. “9. Pharmacologic Approaches to Glycemic Treatment: Standards of Medical Care in Diabetes—2020,”. Diabetes Care (2020) 43, no. Supplement 1:S98–S110. doi: 10.2337/dc20-S009

CrossRef Full Text | Google Scholar

13. Heinemann L, Linkeschova R, Rave K, Hompesch B, Sedlak M, Heise T. Time-Action Profile of the Long-Acting Insulin Analog Insulin Glargine (HOE901) in Comparison With Those of NPH Insulin and Placebo. Diabetes Care (2000) 23(5):644–9. doi: 10.2337/diacare.23.5.644

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Heinemann L, Schnell O, Gehr B, Schloot NC, Görgens SW, Görgen C. “Digital Diabetes Management: A Literature Review of Smart Insulin Pens,”. J Diabetes Sci Technol (2021) 1932296820983863. doi: 10.1177/1932296820983863

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Campos-Delgado DU, Hernández-Ordoñez M, Femat R, Gordillo-Moscoso A. Fuzzy-Based Controller for Glucose Regulation in Type-1 Diabetic Patients by Subcutaneous Route. IEEE Trans Biomed Eng (2006) 53(11):2201–10. doi: 10.1109/TBME.2006.879461

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Cescon M, Deshpande S, Nimri R, Doyle FJ III, Dassau E. Using Iterative Learning for Insulin Dosage Optimization in Multiple-Daily-Injections Therapy for People With Type 1 Diabetes. IEEE Trans Biomed Eng (2020) 68(2):482–91. doi: 10.1109/TBME.2020.3005622

CrossRef Full Text | Google Scholar

17. Krishnamoorthy D, Boiroux D, Aradóttir TB, Engell SE, Jørgensen JB. A Model-Free Approach to Automatic Dose Guidance in Long Acting Insulin Treatment of Type 2 Diabetes. IEEE Control Syst Lett (2020) 5(6):2030–5. doi: 10.1109/LCSYS.2020.3047493

CrossRef Full Text | Google Scholar

18. Owens C, Zisser H, Jovanovic L, Srinivasan B, Bonvin D. And F. J. Doyle 3rd, “Run-to-Run Control of Blood Glucose Concentrations for People With Type 1 Diabetes Mellitus,”. IEEE Trans BioMed Eng (2006) 53(6):996–1005. doi: 10.1109/TBME.2006.872818

PubMed Abstract | CrossRef Full Text | Google Scholar

19. Nimri R, Battelino T, Laffel LM, Slover RH, Schatz D, Weinzimer SA, et al. Insulin Dose Optimization Using an Automated Artificial Intelligence-Based Decision Support System in Youths With Type 1 Diabetes. Nat Med (2020) 26(9):1380–4. doi: 10.1038/s41591-020-1045-7

PubMed Abstract | CrossRef Full Text | Google Scholar

20. Tyler NS, Mosquera-Lopez CM, Wilson LM, Dodier RH, Branigan DL, Gabo VB, et al. An Artificial Intelligence Decision Support System for the Management of Type 1 Diabetes. Nat Metab (2020) 2(7):612–9. doi: 10.1038/s42255-020-0212-y

PubMed Abstract | CrossRef Full Text | Google Scholar

21. Avari P, Leal Y, Herrero P, Wos M, Jugnee N, Arnoriaga-Rodríguez M, et al. Safety and Feasibility of the PEPPER Adaptive Bolus Advisor and Safety System: A Randomized Control Study. Diabetes Technol Ther (2021) 23(3):175–86. doi: 10.1089/dia.2020.0301

PubMed Abstract | CrossRef Full Text | Google Scholar

22. El Fathi A, Palisaitis E, von Oettingen JE, Krishnamoorthy P, Kearney RE, Legault L, et al. “A Pilot non-Inferiority Randomized Controlled Trial to Assess Automatic Adjustments of Insulin Doses in Adolescents With Type 1 Diabetes on Multiple Daily Injections Therapy,”. Pediatr Diabetes (2020) 21(6):950–9. doi: 10.1111/pedi.13052

PubMed Abstract | CrossRef Full Text | Google Scholar

23. El Fathi A, Kearney RE, Palisaitis E, Boulet B, Haidar A. A Model-Based Insulin Dose Optimization Algorithm for People With Type 1 Diabetes on Multiple Daily Injections Therapy. IEEE Trans Biomed Eng (2020) 68(4):1208–19. doi: 10.1109/TBME.2020.3023555

CrossRef Full Text | Google Scholar

24. Brazeau AS, Mircescu H, Desjardins K, Leroux C, Strychar I, Ekoe JM, et al. “Carbohydrate Counting Accuracy and Blood Glucose Variability in Adults With Type 1 Diabetes,”. Diabetes Res Clin Pr (2013) 99(1):19–23. doi: 10.1016/j.diabres.2012.10.024

CrossRef Full Text | Google Scholar

25. Man CD, Micheletto F, Lv D, Breton M, Kovatchev B, Cobelli C. “The Uva/Padova Type 1 Diabetes Simulator: New Features,”. J Diabetes Sci Technol (2014) 8(1):26–34. doi: 10.1177/1932296813514502

PubMed Abstract | CrossRef Full Text | Google Scholar

26. Kovatchev BP, Breton M, Man CD, Cobelli C. “In Silico Preclinical Trials: A Proof of Concept in Closed-Loop Control of Type 1 Diabetes,”. J Diabetes Sci Technol (2009) 3(1):44–55. doi: 10.1177/193229680900300106

PubMed Abstract | CrossRef Full Text | Google Scholar

27. Visentin R, Campos-Náñez E, Schiavon M, Lv D, Vettoretti M, Breton 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–81. doi: 10.1177/1932296818757747

PubMed Abstract | CrossRef Full Text | Google Scholar

28. Palerm CC, Zisser H, Jovanovic L. And F. J. Doyle 3rd, “A Run-to-Run Control Strategy to Adjust Basal Insulin Infusion Rates in Type 1 Diabetes,”. J Process Control (2008) 18(3-4):258–65. doi: 10.1016/j.jprocont.2007.07.010

PubMed Abstract | CrossRef Full Text | Google Scholar

29. Hughes J, Gautier T, Colmegna P, Fabris C, Breton MD. “Replay Simulations With Personalized Metabolic Model for Treatment Design and Evaluation in Type 1 Diabetes,”. J Diabetes Sci Technol (2020) 15(6):1326–36. doi: 10.1177/1932296820973193

PubMed Abstract | CrossRef Full Text | Google Scholar

30. Walsh J, Roberts R, Bailey T. “Guidelines for Optimal Bolus Calculator Settings in Adults,”. J Diabetes Sci Technol (2011) 5(1):129–35. doi: 10.1177/193229681100500118

PubMed Abstract | CrossRef Full Text | Google Scholar

31. Corbett JP, Breton MD, Patek SD. A Multiple Hypothesis Approach to Estimating Meal Times in Individuals With Type 1 Diabetes. J Diabetes Sci Technol (2021) 15(1):141–6. doi: 10.1177/1932296819883267

PubMed Abstract | CrossRef Full Text | Google Scholar

32. El Fathi A, Palisaitis E, Boulet B, Legault L, Haidar A. An Unannounced Meal Detection Module for Artificial Pancreas Control Systems. In: 2019 American Control Conference (Acc) Philadelphia: IEEE (2019). p. 4130–5. doi: 10.23919/ACC.2019.8814932

CrossRef Full Text | Google Scholar

33. Patek SD, Lv D, Ortiz EA, Hughes-Karvetski C, Kulkarni S, Zhang Q, et al. “Empirical Representation of Blood Glucose Variability in a Compartmental Model,” in Prediction Methods for Blood Glucose Concentration. Springer (2016) pp:133–57. doi: 10.1007/978-3-319-25913-0_8

CrossRef Full Text | Google Scholar

34. Kovatchev BP, Straume M, Cox DJ, Farhy LS. Risk Analysis of Blood Glucose Data: A Quantitative Approach to Optimizing the Control of Insulin Dependent Diabetes. Comput Math Methods Med (2000) 3(1):1–10. doi: 10.1080/10273660008833060

CrossRef Full Text | Google Scholar

35. Sangave NA, Aungst TD, Patel DK. Smart Connected Insulin Pens, Caps, and Attachments: A Review of the Future of Diabetes Technology. Diabetes Spectr (2019) 32(4):378–84. doi: 10.2337/ds18-0069

PubMed Abstract | CrossRef Full Text | Google Scholar

36. Strange P. Treat-to-Target Insulin Titration Algorithms When Initiating Long or Intermediate Acting Insulin in Type 2 Diabetes. J Diabetes Sci Technol (2007) 1(4):540–8. doi: 10.1177/193229680700100412

PubMed Abstract | CrossRef Full Text | Google Scholar

37. Visentin R, Schiavon M, Giegerich C, Klabunde T, Dalla Man C, Cobelli C. Incorporating Long-Acting Insulin Glargine Into the UVA/Padova Type 1 Diabetes Simulator for in Silico Testing of MDI Therapies. IEEE Trans Biomed Eng (2019) 66(10):2889–96. doi: 10.1109/TBME.2019.2897851

PubMed Abstract | CrossRef Full Text | Google Scholar

38. Facchinetti A, Del Favero S, Sparacino G, Cobelli C. “Model of Glucose Sensor Error Components: Identification and Assessment for New Dexcom G4 Generation Devices,”. Med Biol Eng Comput (2015) 53(12):1259–69. doi: 10.1007/s11517-014-1226-y

PubMed Abstract | CrossRef Full Text | Google Scholar

39. Home PD, Bergenstal RM, Bolli GB, Ziemen M, Rojeski M, Espinasse M, et al. New Insulin Glargine 300 Units/Ml Versus Glargine 100 Units/Ml in People With Type 1 Diabetes: A Randomized, Phase 3a, Open-Label Clinical Trial (EDITION 4). Diabetes Care (2015) 38(12):2217–25. doi: 10.2337/dc15-0249

PubMed Abstract | CrossRef Full Text | Google Scholar

40. Battelino T, Danne T, Bergenstal RM, Amiel SA, Beck R, Biester T, et al. Clinical Targets for Continuous Glucose Monitoring Data Interpretation: Recommendations From the International Consensus on Time in Range. Diabetes Care (2019) 42(8):1593–603. doi: 10.2337/dci19-0028

PubMed Abstract | CrossRef Full Text | Google Scholar

41. Zisser HC, Bevier WC, Jovanovič L. Restoring Euglycemia in the Basal State Using Continuous Glucose Monitoring in Subjects With Type 1 Diabetes Mellitus. Diabetes Technol Ther (2007) 9(6):509–16. doi: 10.1089/dia.2007.0220

PubMed Abstract | CrossRef Full Text | Google Scholar

42. Fabris C, Gautier T, Breton M. Automated Adaptation of Insulintreatmentin Type 1 Diabetes. EMBC (2021) 5039–42. doi: 10.1109/EMBC46164.2021.9630191

PubMed Abstract | CrossRef Full Text | Google Scholar

43. Colmegna P, Wang K, Garcia-Tirado J, Breton MD. Mapping Data to Virtual Patients in Type 1 Diabetes. Control Eng Pract (2020) 103:104605. doi: 10.1016/j.conengprac.2020.104605

CrossRef Full Text | Google Scholar

44. Schiavon M, Visentin R, Giegerich C, Klabunde T, Cobelli C, Dalla Man C. Modeling Subcutaneous Absorption of Long-Acting Insulin Glargine in Type 1 Diabetes. IEEE Trans Biomed Eng (2019) 67(2):624–31. doi: 10.1109/TBME.2019.2919250

PubMed Abstract | CrossRef Full Text | Google Scholar

Appendix

A.1 Long-acting Insulin Model Integration in the UVA/Padova T1D Simulator

A long-acting insulin model describing subcutaneous absorption was implemented following work by Schiavon et al. (44). This is a two compartment model described by the following differential equations:

ddtIq1(t)=kspIq1(t)+kF UbasalIq1(0)=0ddtIq2(t)=kaIq2(t)+kspIq1(t)+(1k)FUbasalIq2(0)=0RaI(t)=kaIq2(t)

where Ubasal (mU/kg/min) is the glargine insulin dose administered into the subcutis, F (dimensionless) the glargine bioavailability, k (dimensionless) the precipitate fraction of the administered dose, ksp (min−1) the rate constant of dissolution from precipitate to soluble state, ka (min−1) the rate constant of insulin absorption to plasma, and RaI is the insulin rate of appearance into plasma.

Model parameters of the long-acting insulin Glargine-100 were used in the simulator. Parameters values were randomly drawn from the reported empirical distribution by Visentin et al. (37). Correlation between parameters were not considered.

A.2 Steady-State Solution for MDI Virtual Subject

In here, we assume that the basal dose is given at the same time tB each day (day duration is T). We assume a line time invariant state space model where the basal dose is considered as a Dirac input, and we ignore all other inputs to the system. At day 1, the state at time t can be written as:

X(t)=exp(Act)X(0)+0texp(Ac(tτ))BCUbasal(t)dτ

Since Ubasal (t) = Ubasal δ(t = tB), we have for t ≥tB

X(t)=exp(Act)X(0)+exp(Ac(ttB))BCUbasal

At day n, for tB+(n1)Tt<nT, we assume that basal injections have happened at {tB + kT}k∈[0,n – 1], and the current time is t0 + nT.

X(t)=exp(Act)X(0)+k=0n1exp(Ac(t0+nT(tBkT)))BcUbasal

Which can be written as,

X(t)=exp(Act)X(0)+exp(Ac(t0tB))(k=0n1exp((nk)AcT))BcUbasal

By performing the variable change k' = n – k.

X(t)=exp(Act)X(0)+exp(Ac(t0tB))exp(AcT)(k'=0n1exp(k'AcT)BcUbasal

Or, since Ac is marginally stable,

X(t)=exp(Act)X(0)+exp(Ac(t0tB+T)) (Iexp(nAcT)) (Iexp(AcT))1BcUbasal

When t = t0 +nT is big enough, we have exp(Ac t) ~0 and exp(nAc T) ~0. Thus, the above expression simplifies to:

X(t0)=exp (Ac(T(tBt0))) (Iexp (AcT))1BcUbasal

Notice that this formula can be generalized for patients with two basal dose injections a day by defining the basal doses time as tB1 and tB2, and the basal doses as Ubasal1 and Ubasal2.

A.3 Table of Symbols

www.frontiersin.org

Keywords: type 1 diabetes, multiple daily injections, long-acting insulin, insulin titration, continuous glucose monitoring, smart insulin pens

Citation: El Fathi A, Fabris C and Breton MD (2022) Titration of Long-Acting Insulin Using Continuous Glucose Monitoring and Smart Insulin Pens in Type 1 Diabetes: A Model-Based Carbohydrate-Free Approach. Front. Endocrinol. 12:795895. doi: 10.3389/fendo.2021.795895

Received: 15 October 2021; Accepted: 06 December 2021;
Published: 10 January 2022.

Edited by:

Chiara Toffanin, University of Pavia, Italy

Reviewed by:

Ricardo S. Sánchez-Peña, Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET), Argentina
Ali Cinar, Illinois Institute of Technology, United States

Copyright © 2022 El Fathi, Fabris and Breton. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Anas El Fathi, fwt9vd@virginia.edu

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.