Next Article in Journal
In-Field Validation of an Inertial Sensor-Based System for Movement Analysis and Classification in Ski Mountaineering
Previous Article in Journal
A Model of Gravity Vector Measurement Noise for Estimating Accelerometer Bias in Gravity Disturbance Compensation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Unannounced Meals in the Artificial Pancreas: Detection Using Continuous Glucose Monitoring

1
Institut d’Informàtica i Aplicacions, Universitat de Girona, Campus de Montilivi, s/n, Edifici P4, 17071 Girona, Spain
2
Centre for Bio-Inspired Technology, Institute of Biomedical Engineering, Imperial College London, London SW7 2AZ, UK
3
Instituto Universitario de Automática e Informática Industrial, Universitat Politènica de València, Camino de Vera, s/n, 46022 València, Spain
4
Centro de Investigación Biomédica en Red de Diabetes y Enfermadades Metabólicas Asociadas (CIBERDEM), Instituto de Salud Carlos III, 28028 Madrid, Spain
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(3), 884; https://doi.org/10.3390/s18030884
Submission received: 25 January 2018 / Revised: 8 March 2018 / Accepted: 14 March 2018 / Published: 16 March 2018
(This article belongs to the Section Biosensors)

Abstract

:
The artificial pancreas (AP) system is designed to regulate blood glucose in subjects with type 1 diabetes using a continuous glucose monitor informed controller that adjusts insulin infusion via an insulin pump. However, current AP developments are mainly hybrid closed-loop systems that include feed-forward actions triggered by the announcement of meals or exercise. The first step to fully closing the loop in the AP requires removing meal announcement, which is currently the most effective way to alleviate postprandial hyperglycemia due to the delay in insulin action. Here, a novel approach to meal detection in the AP is presented using a sliding window and computing the normalized cross-covariance between measured glucose and the forward difference of a disturbance term, estimated from an augmented minimal model using an Unscented Kalman Filter. Three different tunings were applied to the same meal detection algorithm: (1) a high sensitivity tuning, (2) a trade-off tuning that has a high amount of meals detected and a low amount of false positives (FP), and (3) a low FP tuning. For the three tunings sensitivities 99 ± 2%, 93 ± 5%, and 47 ± 12% were achieved, respectively. A sensitivity analysis was also performed and found that higher carbohydrate quantities and faster rates of glucose appearance result in favorable meal detection outcomes.

Graphical Abstract

1. Introduction

Closed-loop systems intended for blood glucose (BG) control in people with type 1 diabetes (T1D), i.e. artificial pancreas (AP) systems, are still dependent on feed-forward actions such as meal announcements to achieve effective control. However, many studies have reported that a high number of missed meal boluses occur, especially in adolescents during insulin pump therapy. Several studies have reported a link between glycated hemoglobin (HbA1c ) levels and missed meal boluses [1,2,3] showing an average increase in HbA1c of 4 mmol/mol (0.3%) during a 2-week period due to missed meal boluses [1]. These findings have been further compounded by Patton et al. [4] who found a higher correlation between poor HbA1c levels and missed meal boluses compared to frequency of daily BG measures. Increases in HbA1c lead to an increased risk of long-term complications such as retinopathy, nephropathy, neuropathy, heart disease, and stroke. It is predicted that this missed-meal-bolus behavior will carry over to AP therapy and, therefore, a means to reduce poor outcomes due to unannounced meals must be implemented.
An AP system regulates BG levels using a continuous glucose monitor (CGM) informed controller that adjusts insulin infusion via an insulin pump. In healthy subjects, hypo- and hyperglycemia are counteracted by a physiological control system that includes pancreatic hormones such as insulin, glucagon, and amylin [5]. In T1D, this control system is lacking, which is especially evident after a meal when a large postprandial increase in BG is experienced. Meals are difficult for the AP to mitigate due to the delayed onset of current rapid-acting insulin formulations and the 5–15 min time lag in the interstitial space experienced by CGM readings [6,7,8].
A few studies have used unannounced meals simply as a challenge to see how well their controller works when a premeal bolus is not given [9,10] and have found that their controller is able to overcome small unannounced meals but have difficulty with larger meals [10]. Larger unannounced meals therefore require meal detection systems and strategies to combat postprandial hyperglycemia.
Dassau et al. [11] designed a meal detection system that uses binary detection that is triggered by a voting scheme. This system was trained with a MiniMed CGMS Gold dataset and tested in clinic using Freestyle Navigator CGM readings. Lee and Bequette [12] detected a meal based on certain logical conditions of first and second derivatives of glucose levels, and then a finite impulse response filter was applied to estimate the meal size. Then, Lee et al. [13] refined the logical conditions and generated a series of meal impulses, a moderately sized bolus was then given according to the meal impulses. Cameron et al. [14] developed a probabilistic detection algorithm based on a set of meal shapes with the meal start time and postprandial glucose appearance estimated at the same time. Later on, Cameron and Niemeyer [15] came up with a multi-model method to detect and estimate unannounced meals. The method is also probabilistic based but assumes a constant meal absorption shape. Chen et al. [16] and Weimer et al. [17] are able to detect meals utilizing a bin-counting heuristic that counts the number of decisions generated using a dual parameter-invariant statistics leveraged from a linearized physiological model. Xie and Wang [18] use a multi-model approach to detect meals, meal start time, and meals size using a Variable State Dimension method, which uses a switching criteria to switch between models with different state dimensions. Turksoy et al. [19] propose a method for meal detection and bolus estimation based on an estimated rate of glucose appearance (Ra). Finally, Mahmoudi et al. [20] use an adaptive Unscented Kalman Filter (UKF) and two redundant CGM sensors to detect meals based on glucose predicted by a model and CGM values. A meal is detected when CGM values of both sensors fall outside the 95% confidence interval of the predicted model.
Lee et al. [13] and Cameron et al. [14] have achieved remarkable in silico results in an adult cohort in terms of postprandial hyperglycemia mitigation with a time in range (70–180 mg/dL) of 90% and 89%, respectively. However, these results have not been translated into a clinical setting where detection modules are still unable to prevent a large majority of postprandial hyperglycemia and in turn result in many hypoglycemic events as seen in Turksoy et al. [21] and Cameron et al. [22]. The idea behind this work was to build a meal detection algorithm in the context of an AP system in a way that it can be used to trigger automatic feed-forward actions that safely and effectively mitigate postprandial hyperglycemia. Therefore, we hypothesize that the proposed approach to meal detection provides sufficient sensitivity and reliability to be effectively used within an AP system.
The main advantages of this work are: (1) the use of both meal size and composition as points of interest during the evaluation of the proposed algorithm and (2) the use of multiple tunings to assess algorithm usefulness when introducing meal mitigation actions.

2. Materials and Methods

The meal detection algorithm presented in this paper was tuned and validated using a 14-day in silico simulation. A sensitivity analysis is also presented for meals over a 500-day period in ten adult subjects. The algorithm collects glucose and insulin infusion rate values and computes a disturbance parameter from an augmented minimal model (Figure 1) using an UKF. The cross-covariance between the glucose data and the forward difference of computed disturbance parameter is then calculated over three different sliding windows. A threshold is then applied, different for each sliding window. One threshold is applied to obtain a detection that has a high true positive (TP) value, the second is a trade-off tuning, which has both a high TP value and a low false positive (FP) value, and the third tuning has a very low FP value.

2.1. Minimal Model

A minimal model was employed for the use in state estimations for meal detection. The equations are provided in the following subsections.

2.1.1. Glucose Subsystem

The model is comprised of the Bergman equations (see [23]):
d G p ( t ) d t = p 1 + X ( t ) G p ( t ) + p 1 G b + D ( t ) V G ,
d X ( t ) d t = p 2 X ( t ) + p 2 S I I ( t ) ,
where G p is plasma glucose concentration, X is proportional to insulin in the remote compartment, and G b is basal glucose. p 1 represents the rate at which glucose is removed from the plasma space independent of the influence of insulin. V G is the distribution volume, p 2 is the rate of disappearance of remote insulin from the remote insulin compartment, and S I = p 3 / p 2 is the insulin sensitivity. D, identified using an UKF (Equation (9)), is a lumped signal used to describe plasma glucose variations due to meals, exercise, and other various disturbances that are not described by the other parameters of the model.
The blood to interstitial glucose dynamics is described as a first-order linear system [24]:
d G s c ( t ) d t = 1 τ G s c ( t ) + g τ G p ( t ) ,
where G s c represents subcutaneous glucose, τ represents the time constant of the system and g is the static gain of the system.

2.1.2. Insulin Subsystem

Insulin absorption [25] is described as:
d S 1 ( t ) d t = u ( t ) S 1 ( t ) t m a x , I ,
d S 2 ( t ) d t = S 1 ( t ) S 2 ( t ) t m a x , I .
S 1 and S 2 are a two compartment chain representing the subcutaneous absorption of rapid-acting (e.g., Lispro) insulin and u ( t ) ( μ U/kg/min) represents administration (bolus and infusion) of insulin.
The plasma insulin concentration [25] is given by:
d I ( t ) d t = k e I ( t ) + 1 V I · S 2 ( t ) t m a x , I ,
where k e is the fractional elimination rate, V I is the distribution volume, and t m a x , I is the time-to-maximum insulin absorption.
The T1D subject model was discretised using a first forward difference derivative approximation (1 min step size) [26]. The mean population values found in Table 1 are utilized in this model.

2.2. Unscented Kalman Filter

The UKF proposed by [28] is a powerful technique used in nonlinear estimation and machine learning applications. Its foundation lies in the intuition that it is easier to approximate a probability distribution than it is to approximate an arbitrary nonlinear function or transformation [29]. Using the discretized model of Equations (1)–(6) and the inputs of glucose and insulin infusion rate obtained from a CGM and an insulin pump, respectively, a nonlinear state space model is derived:
x ( k + 1 ) = f ( x ( k ) , u ( k ) ) + w ( k ) ,
y ( k ) = g ( x ( k ) ) + v ( k ) ,
where x ( k ) is the state vector, which has been augmented by D ( t ) , with state equation:
d D ( k ) d t = 0 .
u ( k ) is the input and w ( k ) and v ( k ) are defined to be process and measurement noises, respectively. The nonlinear functions f ( · ) and g ( · ) are defined from Equations (1)–(6). The state estimations are used for meal detection as described in Section 2.3.
The nonlinear function, y = f ( x ) of variable x (dimension L) is applied to each point, in turn, to yield a cloud of transformed sigma points, X i in the form of matrix X (dimension 2 L + 1 ) according to the following:
X 0 ( k 1 ) = x ^ ( k 1 ) ,
X i ( k 1 ) = x ^ ( k 1 ) + ( L + λ ) P ( k 1 ) i       i = 1 , , L ,
X i ( k 1 ) = x ^ ( k 1 ) ( L + λ ) P ( k 1 ) i L     i = L + 1 , , 2 L ,
with scalar weights W i defined as:
W 0 m = λ L + λ ,
W 0 c = λ L + λ + ( 1 α 2 + β ) ,
W i m = W i c = 1 2 ( L + λ )       i = 1 , , 2 L ,
where λ = α 2 ( L + κ ) L is a scaling parameter, α determines the spread of the sigma points around x ^ , κ is a secondary scaling parameter, and β is used to incorporate prior knowledge of the distribution of x. P ( k 1 ) is the covariance matrix and ( L + λ ) P ( k 1 ) i is the ith column of the matrix square root, i.e., lower triangle Cholesky factorization.
The sigma vectors, X i ( k 1 ) are then propagated through the nonlinear function, f ( · ) as follows:
X i ( k ) = f [ X i ( k 1 ) , u ( k ) ]       i = 0 , , 2 L .
The statistics of the transformed points can then be calculated to form an estimate of the nonlinearly transformed mean ( x ^ ) and covariance ( P ( k ) ):
x ^ ( k ) = i = 0 2 L W i m X ^ i ( k 1 ) ,
P ( k ) = i = 0 2 L W i c ( X i ( k 1 ) x ^ ( k ) ) ( X i ( k 1 ) x ^ ( k ) ) T + Q p ,
where Q p is the covariance matrix of the process noise. The sigma points X i are propagated through the nonlinear function g ( · ) for the calculation of Y i :
Y i ( k ) = g [ X i ( k ) , u ( k ) ]       i = 0 , , 2 L .
The measurement estimations are obtained from X i as:
y ^ ( k ) = i = 0 2 L W i m Y i ( k ) .
The innovation and cross-covariance matrices are then calculated as:
P y y ( k ) = i = 0 2 L W i c [ Y i ( k ) y ^ ( k ) ] [ Y i ( k ) y ^ ( k ) ] T + Q m ,
P x y ( k ) = i = 0 2 L W i c [ X i ( k ) x ^ ( k ) ] [ Y i ( k ) y ^ ( k ) ] T ,
where Q m represents the covariance of measurement noise. Lastly, the Kalman filter gain and the updated state vector estimation and covariance matrix are calculated:
K ( k ) = P x y ( k ) ( P y y ( k ) ) 1 ,
x ^ ( k ) = x ^ ( k ) + K ( k ) ( y ( k ) y ^ ( k ) ) ,
P ( k ) = P ( k ) K ( k ) P y y ( k ) ( K ( k ) ) T .
The UKF requires the definition of initial conditions and tuning parameters, which in our case were selected as:
x ^ ( 0 ) = G p ( 0 ) X ( 0 ) I ( 0 ) S 1 ( 0 ) S 2 ( 0 ) G s c ( 0 ) D ( 0 ) = B G ( 0 ) 0 0 u ( 0 ) 0 B G ( 0 ) 0 , q = 0.6103 r = 8.9614 , Q p = d i a g q 2 0 0 0 0 q 2 q 2 , P ( 0 ) = I 7 × 7 Q m = r 2 , α = 10 3 κ = 0 β = 2 ,
where G s c ( 0 ) is the first measured glucose value from a CGM, q is the standard deviation of the process noise, and r is the standard deviation of the measurement noise.

2.3. Meal Detection

After the states in Equations (1)–(6) are estimated using the UKF, the values of G s c ( k ) from the CGM simulated data and D d i f f ( k ) , which is the forward difference of D ( k ) , are scaled between −1 and 1 using minimum and maximum values determined a priori through simulation. Then, the biased estimate of the cross-covariance between the two sequences is calculated during windows of a specified length.
The true cross-covariance sequence of two jointly stationary random processes, G s c n and D d i f f n , is the cross-correlation of mean-removed sequences [30],
Φ G s c , D ( m ) = E ( G s c ( n + m ) μ G s c ) ( D d i f f ( n ) μ D d i f f ) ) ,
where μ G s c and μ D d i f f are the mean values of the two stationary random processes and E is the expected value operator. The asterisk denotes complex conjugation.
The raw cross-covariances are computed as:
c G s c , D d i f f ( m ) = n = 0 N m 1 G s c ( n + m ) 1 N i = 0 N 1 G s c ( i ) D d i f f ( n ) 1 N i = 0 N 1 D d i f f ( n ) / N , m 0 , c D d i f f , G s c ( m ) / N , m < 0 ,
where G s c ( n ) and D d i f f ( n ) are indexed from 0 to N 1 , and c G s c , D d i f f ( m ) from ( N 1 ) to N 1 , where N is the number of samples. The raw cross-covariance are normalized by scaling by 1 / N .
A meal is then detected as follows:
M e a l = T r u e ,   i f c G s c , D d i f f ( m ) t h r e s h o l d ,      a n d D d i f f ( k ) > 0 ,      a n d G s c ( k ) G s c ( k 3 ) > 0 , F a l s e ,   o t h e r w i s e .
A meal was assumed to have been consumed if the cross-covariance between the G s c ( n ) and D d i f f ( n ) signals exceeded a pre-specified threshold and the last unscaled value of D d i f f and the slope of G s c with respect to the measurement 15 min ago (three samples) were positive (see Figure 2 and Figure 3). It should be noted that meals are not detected during the nighttime period (23 h–6 h) as a safety precaution.

2.4. Performance Metrics

Seven performance metrics were used: sensitivity, true positive (TP), false positive (FP), false negative (FN), false positive per day (FP/day), detection time, and Δ glucose. True negatives (TN) and specificity were not able to be determined in this framework due to the fact that one TP can span multiple time points depending on meal duration; however, a TN can be counted for each time sample that a negative occurrence is correctly identified. This skews the specificity to the higher end of the spectrum. Therefore, sensitivity and FP were used as measures of performance. Sensitivity measures the percentage of positive results that are correctly identified. Correct detection or a TP is when the algorithm has detected a meal from the beginning of the meal to 120 min after the time of the commencement of the meal. An FP is when detection is positive without a meal. Negative detection or an FN is when a meal has not been detected up to 120 min after ingestion. To compare the FP values between the two scenarios, the FP/day is used. Detection time reflects the time at which a TP is detected with respect to meal time and Δ glucose reflects the change in glucose from the start of the meal to the time when the meal was detected. All values are reported as mean ± standard deviation and median (5th%, 95th%).

2.5. Diabetes Simulation Scenario

The University of Virgina/Padova (UVA/Padova) Simulator [31] was used to build two different types of scenarios: (1) a meal detection tuning and validation scenario and (2) a meal detection sensitivity analysis scenario. Meal absorption rate and subcutaneous insulin absorption rate were varied at each meal according to a uniform distribution of ±10% and ±30%, respectively. Circadian insulin sensitivity variation (sinusoidal type with 24 h period) was implemented with random amplitude according to a uniform distribution of ±30% and random phase. Finally, CGM error was according to the default model available in the UVA/Padova simulator.

2.5.1. Meal Detection Tuning and Validation Scenario

Two challenging 14-day scenarios were built: one scenario was used for tuning and the other was used for validation. These scenarios included: three meals per day with varying carbohydrate content and meal time following a normal distribution with mean 30 g at 8:30 h (breakfast), 60 grams at 13:00 h (lunch), and 50 g at 19:00 h (dinner). Coefficient of variance for the meal size was ±20%, and the standard deviation for meal time was ±10 min. For each meal, a meal absorption profile was selected randomly from a meal library of 11 meals, which are the meals of the 10 adults and the average adult provided by the UVA/Padova Simulator. There were 420 meals in total for all 10 subjects over the 14-day period.

2.5.2. Meal Detection Sensitivity Analysis Scenario

A 500-day scenario with 10 adult subjects was built for a sensitivity analysis of the meal detection algorithm. Meals were uniformly distributed and ranged from 20 to 120 g of carbohydrates with meal time following a normal distribution with a standard deviation of ±10 min at 8:30 a.m. (breakfast), 1:00 p.m. (lunch), and 7:00 p.m. (dinner). For each meal, a meal absorption profile was selected randomly from a meal library of 49 meals. The meal library consisted of 31 fast absorption meals (over 60% of the ingested carbohydrates are absorbed within the first 2 h after meal time), three slow absorption meals (less than 80% of the ingested carbohydrates are absorbed within the first 4 h after meal time), and 15 medium absorption meals (otherwise). There were 15,000 meals in total for all 10 subjects over the 500-day period.

3. Results

3.1. UKF State Estimations

The in silico state estimations of the UKF were compared to the model states of the UVA/Padova Simulator and the populational values are shown in Figure 4. The root mean squared error (RMSE) between the UVA/Padova Simulator and the UKF was calculated for each of the states over a 14-day period. The RMSE values of the mean populational values for G p , G s c , I p , X, S 1 , S 2 , and R a were found as 5.8 mg/dL, 0 mg/dL, 3.7 pmol/L, 25.6 pmol/L, 43.2 pmol/L, 60.1 pmol/L, and 2.8 mg/dL/min, respectively.

3.2. Meal Detection Algorithm

Three different tunings of the same detection algorithm were analyzed, one had the highest sensitivity, the second had a trade-off between the number of TP and FP, and the third had the lowest number of FP. These tunings were used to decipher the usefulness of the detection algorithms for the purpose of postprandial hyperglycemia mitigation during unannounced meals. Here, the results for the scenarios where the algorithms were first tuned and validated, and then a sensitivity analysis scenario where the algorithm is analyzed in depth to determine factors that affect detection performance are presented.

3.2.1. Meal Detection Algorithm: Tuning

The tuning of the algorithm was done both by window size and threshold on the cross-covariance between D d i f f and the current CGM value. The window sizes and thresholds were empirically derived based on the sensitivity and the FP number, which were used as indicators of performance. In general, smaller window sizes and lower thresholds result in a higher sensitivity in the meal detection algorithm as seen in Table 2. The amount of carbohydrates consumed per meal by the 10 adult subjects in the tuning and validation scenarios had a mean of 47 ± 16 g and 47 ± 13 g and a median of 45 (23, 74) g and 46 (28, 69) g, respectively. These scenarios reflect carbohydrate consumption on a typical day for an average patient. Table 2 reports the mean, standard deviation, median, 5th percentile, and 95th percentile values for the sensitivity, Δ glucose, detection time, TP, FP, FN, and FP/day of each meal detection tuning. Typically, a higher sensitivity reflects lower Δ glucose, detection time, and FN values with increased TP, FP, and FP/day values. The high sensitivity tuning for both the tuning and validation scenarios had a mean sensitivity of 99 ± 1% and 99 ± 2% and a median of 99 (95, 100)% and 98 (90, 100)% and FP of mean 18 ± 6 and 20 ± 6 and median of 19 (9, 25) and 20 (11, 26). The trade-off tuning for both the tuning and validation scenarios had a mean sensitivity of 93 ± 5% and 94 ± 5% and median of 93 (86, 100)% and 94 (83, 100)% and FP of mean 4 ± 4 and 4 ± 3 and median 3 (0, 7) and 4 (1, 9). Finally, the low FP tuning for both the tuning and validation scenarios had a mean sensitivity of 47 ± 10% and 47 ± 16% and median of 50 (26, 64)% and 45 (29, 71)% and mean FP of 0 ± 0 and 0.2 ± 0.4 and median of 0 (0, 0) and 0 (0, 1).

3.2.2. Meal Detection Algorithm: Sensitivity Analysis

A 500-day simulated scenario was used to perform a sensitivity analysis. The amount of carbohydrates consumed per meal by the 10 adult subjects had a mean of 70 ± 29 g and a median of 70 (25, 116) g. The population performance metrics can be found in Table 3, which, when compared to the three-meal algorithm tunings in the previous section (Section 3.2.1), shows a decrease in sensitivity for both the high sensitivity and trade-off tunings with mean values of 92 ± 3% and 82 ± 4% and median values of 92 (87, 96)% and 83 (76, 87)%, respectively. The low FP tuning, however, showed an increase in sensitivity with a mean value of 54 ± 9% and median value of 52 (44, 71)%. The FP/day between scenarios are roughly the same. The FP/day of the high sensitivity scenario for the tuning and validation scenarios and the sensitivity all shared a mean of 1 ± 1 and a median of 1 (0, 3). The FP/day in the trade-off scenario also had a similar value for the sensitivity analysis with a mean 0.2 ± 0.5 and median 0 (0, 1) versus mean 0.2 ± 0.5 and 0 ± 0 and median 0 (0, 1) and 0 (0, 0) of the tuning and validation scenarios. The FP/day in the low FP scenario was only slightly higher with a mean value of 0.02 ± 0.2 and median 0 (0, 0) versus mean 0 ± 0 and 0.01 ± 0.1 and median 0 (0, 0) and 0 (0, 0) in the tuning and validation scenarios. Figure 5 illustrates the cumulative detection rates over change in time and Δ glucose from the onset of meals for the three meal algorithm tunings and further emphasizes that algorithms with higher sensitivities have a shorter detection time and lower Δ glucose at detection.
An analysis of the effect of carbohydrate quantity (Table 4) on detection performance was performed. Carbohydrate quantities of 20–40 g have the longest detection time followed by 40–80 g and then 80–120 g. However, carbohydrate quantities of 20–40 g had the lowest Δ glucose at detection followed by 40–80 g and then 80–120 g. The meal detection sensitivity increased with increasing amounts of carbohydrates. The sensitivity for the highest sensitivity tuning was mean 74 ± 6% and median 72 (67, 87)% for 20–40 g of carbohydrates, mean 93 ± 3% and median 94 (87, 96)% for 40-80 g of carbohydrates, and mean 99 ± 1% and median 99 (97, 100)% for 80–120 g of carbohydrates. The sensitivity for the trade-off tuning was mean 49 ± 9% and median 47 (39, 64)% for 20–40 g of carbohydrates, mean 84 ± 4% and median 86 (76, 89)% for 40–80 g of carbohydrates, and mean 96 ± 2% and median 97 (94, 98)% for 80–120 g of carbohydrates. The sensitivity for the lowest FP tuning was mean 8 ± 7% and median 6 (2, 26)% for 20–40 g of carbohydrates, mean 49 ± 12% and median 45 (36, 71)% for 40–80 g of carbohydrates, and mean 83 ± 7% and median 82 (73, 93)% for 80–120 g of carbohydrates.
The effect of Ra on meal detection performance was also analyzed (Table 5). Meals with faster Ra values have a shorter detection time but a greater Δ glucose, while meals with slower Ra values take longer to detect but result in a lower Δ glucose before detection. The meal detection sensitivity increased with faster Ra values. The sensitivity for the highest sensitivity tuning was mean 77 ± 9% and median 77 (62, 92)% for meals with slow Ra values, mean 87 ± 4% and median 88 (81, 95)% for meals with medium Ra values, and mean 95 ± 1% and median 95 (92, 97)% for meals with fast Ra values. The sensitivity for the trade-off tuning was mean 54 ± 10% and median 57 (38, 71)% for meals with slow Ra values, mean 73 ± 6% and median 73 (65, 81)% for meals with medium Ra values, and mean 89 ± 3% and median 89 (84, 92)% for meals with fast Ra values. The sensitivity for the lowest FP tuning was mean 10 ± 8% and median 6 (2, 29)% for meals with slow Ra values, mean 33 ± 12% and median 29 (18, 57)% for meals with medium Ra values, and mean 68 ± 7% and median 67 (59, 81)% for meals with fast Ra values.

4. Discussion

An analysis of the states estimated by the UKF compared to the model states of the UVA/Padova Simulator was performed in Section 3.1. It was found that all states were estimated with reasonable precision. The states of S 1 and S 2 were found to have higher RMSE values, although both UKF estimated states seem to follow a similar trend to that of the UVA/Padova Simulator model states. The Ra between the UVA/Padova Simulator and the UKF was found to have a low RMSE of 2.8, however, the peak time and absorption dynamics appear to be quite different (see Figure 4). These differences must be taken into account if using this state to aid in bolus decisions.
In this study, three different tunings of the same meal detection algorithm to determine usefulness in warding off postprandial hyperglycemia were evaluated. This first tuning obtains the highest sensitivity possible as seen in Table 2 and Table 3 where sensitivities of mean 99 ± 2% and median 99 (95, 100)% for the tuning scenario, mean 98 ± 4% and median 98 (90, 100)% for the validation scenario, and mean 92 ± 3% and median 92 (87, 96)% for the sensitivity analysis scenario were achieved. The purpose of this high sensitivity tuning is to allow postprandial hyperglycemia mitigation action to be performed at the earliest possible instant. However, this tuning also contains a high FP value that increases risk of hypoglycemia due to insulin administration without meal ingestion.
The second tuning was a trade-off tuning that has both a high sensitivity with a low FP/day value. It obtained sensitivities of mean 93 ± 5% and median 93 (86, 100)% for the tuning scenario, mean 93 ± 6% and median 94 (83, 100)% for the validation scenario, and mean 82 ± 4% and median 83 (76, 87)% for the sensitivity analysis scenario (see Table 2 and Table 3). The FP/day values were mean 0.2 ± 0.5 and median 0 (0, 1) for the tuning scenario, mean 0 ± 0 and median 0 (0, 0) for the validation scenario, and mean 0.2 ± 0.5 and median 0 (0, 1) for the sensitivity analysis scenario. This tuning serves as a detection that is more reliable with less FP/day but has a longer detection time than that of the high sensitivity tuning, which entails a greater delay in insulin delivery and action.
The final tuning was a low FP tuning, originally the fixed FP value was evaluated during tuning but for the purposes of comparison between scenarios the FP/day values were used. The FP/day values were mean 0 ± 0 and median 0 (0, 0) for the tuning scenario, mean 0.01 ± 0.1 and median 0 (0, 0) for the validation scenario, and mean 0.02 ± 0.2 and median 0 (0, 0) for the sensitivity analysis scenario (see Table 2 and Table 3). This tuning allows postprandial hyperglycemia mitigation with very little risk of hypoglycemia due to FP detections. However, it has the longest detection time of the three tunings and its obtained sensitivities are quite low: mean 47 ± 12% and median 50 (26, 64)% for the tuning scenario, mean 46 ± 16% and median 45 (29, 71)% for the validation scenario, and mean 54 ± 9% and median 52 (44, 71)% for the sensitivity analysis scenario.
Several other meal detection algorithms have been created for use during unannounced meals and their comparable metrics can be found in Table 6. Dassau et al. [11] studied 17 patients using clinical data during a breakfast of 56 g with a range between 22 and 105 g. However, with only meal detection time, it is difficult to compare the performance between meal detection algorithms. Lee et al. [13] studied an in silico population of 100 patients during 72 h with an average meal size of 47.5 ± 25 g. Their meal detection algorithm can be compared to the trade-off tuning of this study when the sensitivity and detection time are compared. Although the sensitivities in this study in the tuning and validation scenarios are higher and comparable for the sensitivity analysis scenario, without an FP/day value, it is not possible to determine which meal detection algorithm outperforms the other. Chen et al. [16] studied 10,000 patients over three days. However, with only the sensitivity value, it is difficult to compare algorithms. Weimer et al. [17] studied 61 patients using clinical data over a period of 17 days. Their algorithm has both a lower sensitivity of 86.9% and high FP/day of 2.01.
Xie and Wang [18] studied 30 patients during two days with an average meal size of 61.7 ± 14.4 g. However, with only a sensitivity value, it is difficult to compare algorithms. Turksoy et al. [19] studied nine in clinic patients over 32 hours with an average meal size of 44 ± 9.4 g. This meal detection algorithm has both a high sensitivity of 97 ± 6% and low Δ glucose of 16 ± 9.4 mg/dL and, out of 63 meals and snacks, there was only one FP and two FN. Although their results outperform the results found in this study, the duration of this study was not long enough to truly reflect meal detection capabilities. Finally, Mahmoudi et al. [20] studied 10 in silico patients over 50 days. They achieved a high sensitivity of 99.5% however, their detection time was very long at 58.4 ± 18.7 min. In addition, additional information about FP or FP/day is not given, making it difficult to compare algorithms.
A sensitivity analysis was done to see the effect of carbohydrate quantity and meal composition on meal detection performance. Meal absorption related parameters of the UVA/Padova Simulator were varied in meals in such a way to suggest varying fat percentages, which ultimately affected Ra [32]. Although this is simulated data with a small cohort and meal variability limited to the meals included in the meal library, it gives insight into the effect of carbohydrate quantity and meal composition on detection capabilities. The population performance metrics (Table 3) differ from those in the tuning and validation scenario because of the increased amount of meal variability as mentioned in Section 2.5. In addition, meals in the sensitivity analysis scenario tended towards higher carbohydrate amounts due to the uniform distribution of meals between 20 and 120 g. It can been seen that there is a decrease in the sensitivities of the highest sensitivity and trade-off tunings with values of mean 92 ± 3% and median 92 (87, 96)% and mean 82 ± 4% and median 83 (76, 87)%, respectively. There is a slight increase in the sensitivity for the low FP tuning to mean 54 ± 9% and median 52 (44, 71)%. Interestingly, the number of FP/day remain very similar between scenarios.
An analysis of the effect of carbohydrate quantity (Table 4) on detection performance reveals that larger amounts of carbohydrates have a shorter detection time but a greater Δ glucose, while smaller quantities of carbohydrates take longer to detect but result in a lower glucose increase before detection due to lower amounts of carbohydrate ingestion. The meal detection sensitivity decreased with decreasing amounts of carbohydrates representing that small meals are generally more difficult to detect.
The effect of meal composition and ultimately Ra on meal detection performance was also analyzed (see Table 5). A similar trend was found when compared to carbohydrate quantity where just like large meals, meals with faster Ra values take less time to be detected but result in a greater Δ glucose. The meal detection sensitivity increased with faster Ra values representing that meals that are slowly digested or have a higher quantity of fat are generally more difficult to detect. This is consistent with the results reported by Bell et al. [33], which state that, during high fat meals, glucose values have a reduced area under the curve in the first 2–3 h due to a delayed gastric emptying rate.
This sensitivity analysis reveals that, fortunately, the meals of most interest, i.e., those that require both detection and postprandial hyperglycemia mitigation due to large disturbances in glucose, such as large and rapidly appearing meals, are able to be detected quickly with very little change in glucose at detection. However, meals with slow rates of glucose appearance such as those high in fat may be more prone to late-onset postprandial hyperglycemia.

5. Conclusions

Currently, hybrid closed-loop AP systems are gradually moving towards a fully closed-loop design. Therefore, the user of the system will be required to perform less actions and have less responsibility for their overall T1D management. The first step to closing the loop is removing meal announcement; however, many challenges still remain due to the insulin action lag time and the discrepancy in postprandial hyperglycemia, which is dependent on meal composition and intra-patient variability.
A meal detection algorithm that uses CGM values and a disturbance parameter estimated from an adapted minimal model using an UKF has been presented. Tuning of this meal detection algorithm is complicated by the need to administer insulin as soon as possible due to the lag in insulin action. Therefore, three tunings that can be useful for the mitigation of postprandial hyperglycemia have been implemented using the UVA/Padova simulator, an FDA accepted substitute for preclinical testing of novel technologies in diabetes care and a well-established starting point for evaluating the presented meal detection method.
Now that the algorithm and tunings have been established, future work will focus on using a combination of meal detection and feed-forward actions to test their ability to prevent postprandial hyperglycemia under conditions where meals have not been announced and there is a need for postprandial hyperglycemia mitigation strategies. Preliminary work will first be performed in silico and then, later on, these findings can be applied to a clinical setting for further testing.

Acknowledgments

This work was funded by the Spanish Government through grants DPI2016-78831-C2-1-R and DPI2016-78831-C2-2-R, the University of Girona through grant BR2014/51, and the European Union through Fondo Europeo de Desarrollo Regional (FEDER) Funds.

Author Contributions

C.M.R. designed the algorithm, performed simulations, analyzed the data, wrote the manuscript, and reviewed/edited the manuscript. P.H. and J.B contributed heavily to the conception of the algorithm, aided in troubleshooting, contributed to discussion, and reviewed/edited the manuscript. J.V. provided guidance in algorithm design and troubleshooting, contributed to discussion, and reviewed/edited the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
APArtificial Pancreas
BGBlood Glucose
CGMContinuous Glucose Monitor
FNFalse Negative
FPFalse Positive
HbA1cGlycated Hemoglobin
RaRate of Glucose Appearance
RMSERoot Mean Squared Error
T1DType 1 Diabetes
TNTrue Negative
TPTrue Positive
UKFUnscented Kalman Filter
UVA/PadovaUniversity of Virginia/Padova

References

  1. Burdick, J.; Chase, H.P.; Slover, R.H.; Knievel, K.; Scrimgeour, L.; Maniatis, A.K.; Klingensmith, G.J. Missed insulin meal boluses and elevated hemoglobin A1c levels in children receiving insulin pump therapy. Pediatrics 2004, 113, e221-4. [Google Scholar] [CrossRef] [PubMed]
  2. O’Connell, M.; Donath, S.; Cameron, F. Poor adherence to integral daily tasks limits the efficacy of CSII in youth. Pediatr. Diabetes 2011, 12, 556–559. [Google Scholar] [CrossRef] [PubMed]
  3. Driscoll, K.a.; Johnson, S.B.; Hogan, J.; Gill, E.; Wright, N.; Deeb, L.C. Insulin bolusing software: The potential to optimize health outcomes in type 1 diabetes mellitus. J. Diabetes Sci. Technol. 2013, 7, 646–652. [Google Scholar] [CrossRef] [PubMed]
  4. Patton, S.R.; Clements, M.A.; Fridlington, A.; Cohoon, C.; Turpin, A.L.; DeLurgio, S.A. Frequency of Mealtime Insulin Bolus as a Proxy Measure of Adherence for Children and Youths with Type 1 Diabetes Mellitus. Diabetes Technol. Ther. 2013, 15, 124–128. [Google Scholar] [CrossRef] [PubMed]
  5. Ludvik, B.; Thomaseth, K.; Nolan, J.J.; Clodi, M.; Prager, R.; Pacini, G. Inverse relation between amylin and glucagon secretion in healthy and diabetic human subjects. Eur. J. Clin. Investig. 2003, 33, 316–322. [Google Scholar] [CrossRef]
  6. Haidar, A.; Elleri, D.; Kumareswaran, K.; Leelarathna, L.; Allen, J.M.; Caldwell, K.; Murphy, H.R.; Wilinska, M.E.; Acerini, C.L.; Evans, M.L.; et al. Pharmacokinetics of Insulin Aspart in Pump-Treated Subjects with Type 1 Diabetes: Reproducibility and Effect of Age, Weight, and Duration of Diabetes. Diabetes Care 2013, 36, e173–e174. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Basu, A.; Dube, S.; Veettil, S.; Slama, M.; Kudva, Y.C.; Peyser, T.; Carter, R.E.; Cobelli, C.; Basu, R. Time lag of glucose from intravascular to interstitial compartment in type 1 diabetes. J. Diabetes Sci. Technol. 2015, 9, 63–68. [Google Scholar] [CrossRef] [PubMed]
  8. Biagi, L.; Ramkissoon, C.M.; Facchinetti, A.; Leal, Y.; Vehi, J. Modeling the error of the medtronic paradigm veo enlite sensor. Sensors 2017, 17, 1361. [Google Scholar] [CrossRef] [PubMed]
  9. Reddy, M.; Herrero, P.; El Sharkawy, M.; Pesl, P.; Jugnee, N.; Pavitt, D.; Godsland, I.F.; Alberti, G.; Toumazou, C.; Johnston, D.G. Metabolic Control With the Bio-inspired Artificial Pancreas in Adults with Type 1 Diabetes A 24-Hour Randomized Controlled Crossover Study. J. Diabetes Sci. Technol. 2015, 10, 405–413. [Google Scholar] [CrossRef] [PubMed]
  10. Dassau, E.; Zisser, H.; Harvey, R.A.; Percival, M.W.; Grosman, B.; Bevier, W.; Atlas, E.; Miller, S.; Nimri, R.; Jovanovic, L.; et al. Clinical evaluation of a personalized artificial pancreas. Diabetes Care 2013, 36, 801–809. [Google Scholar] [CrossRef] [PubMed]
  11. Dassau, E.; Bequette, B.W.; Buckingham, B.A.; Doyle, F.J., III. Detection of a Meal Using Continuous Glucose Monitoring. Diabetes Care 2008, 31, 295–300. [Google Scholar] [CrossRef] [PubMed]
  12. Lee, H.; Bequette, B.W. A closed-loop artificial pancreas based on model predictive control: Human-friendly identification and automatic meal disturbance rejection. Biomed. Signal Process. Control 2009, 4, 347–354. [Google Scholar] [CrossRef]
  13. Lee, H.; Buckingham, B.A.; Wilson, D.M.; Bequette, B.W. A closed-loop artificial pancreas using model predictive control and a sliding meal size estimator. J. Diabetes Sci. Technol. 2009, 3, 1082–1090. [Google Scholar] [CrossRef] [PubMed]
  14. Cameron, F.; Niemeyer, G.; Buckingham, B.A. Probabilistic evolving meal detection and estimation of meal total glucose appearance. J. Diabetes Sci. Technol. 2009, 3, 1022–1030. [Google Scholar] [CrossRef] [PubMed]
  15. Cameron, F.; Niemeyer, G. Predicting Blood Glucose Levels Around Meals for Patients With Type I Diabetes. In Proceedings of the ASME 2010 Dynamic Systems and Control Conference, Cambridge, MA, USA, 12–15 September 2010; Volume 1, pp. 289–296. [Google Scholar]
  16. Chen, S.; Weimer, J.; Rickels, M.; Peleckis, A.; Lee, I. Towards a Model-based Meal Detector for Type I Diabetics. In Proceedings of the 6th Medical Cyber-Physical Systems Workshop, Seattle, WA, USA, 10–13 April 2015. [Google Scholar]
  17. Weimer, J.; Chen, S.; Peleckis, A.; Rickels, M.R.; Lee, I. Physiology-Invariant Meal Detection for Type 1 Diabetes. Diabetes Technol. Ther. 2016, 18, 616–624. [Google Scholar] [CrossRef] [PubMed]
  18. Xie, J.; Wang, Q. Meal Detection and Meal Size Estimation for Type 1 Diabetes Treatment: A Variable State Dimension Approach. In Proceedings of the ASME 2015 Dynamic Systems and Control Conference, Columbus, OH, USA, 28–30 October 2015; Volume 1, p. V001T15A003. [Google Scholar]
  19. Turksoy, K.; Samadi, S.; Feng, J.; Littlejohn, E.; Quinn, L.; Cinar, A. Meal detection in patients with type 1 diabetes: A new module for the multivariable adaptive artificial pancreas control system. IEEE J. Biomed. Health Inform. 2016, 20, 47–54. [Google Scholar] [CrossRef] [PubMed]
  20. Mahmoudi, Z.; Nørgaard, K.; Poulsen, N.K.; Madsen, H.; Jørgensen, J.B. Fault and meal detection by redundant continuous glucose monitors and the unscented Kalman filter. Biomed. Signal Process. Control 2017, 38, 86–99. [Google Scholar] [CrossRef]
  21. Turksoy, K.; Hajizadeh, I.; Samadi, S.; Feng, J.; Sevil, M.; Park, M.; Quinn, L.; Littlejohn, E.; Cinar, A. Real-time insulin bolusing for unannounced meals with artificial pancreas. Control Eng. Pract. 2017, 59, 159–164. [Google Scholar] [CrossRef]
  22. Cameron, F.; Ly, T.T.; Buckingham, B.A.; Maahs, D.M.; Forlenza, G.P.; Levy, C.J.; Lam, D.; Clinton, P.; Messer, L.H.; Westfall, E.; et al. Closed-Loop Control Without Meal Announcement in Type 1 Diabetes. Diabetes Technol. Ther. 2017, 19, 527–532. [Google Scholar] [CrossRef] [PubMed]
  23. Bergman, R.N.; Phillips, L.S.; Cobelli, C. Physiologic evaluation of factors controlling glucose tolerance in man: measurement of insulin sensitivity and beta-cell glucose sensitivity from the response to intravenous glucose. J. Clin. Investig. 1981, 68, 1456–1467. [Google Scholar] [CrossRef] [PubMed]
  24. Facchinetti, A.; Sparacino, G.; Cobelli, C. Enhanced Accuracy of Continuous Glucose Monitoring by Online Extended Kalman Filtering. Diabetes Technol. Ther. 2010, 12, 353–363. [Google Scholar] [CrossRef] [PubMed]
  25. Hovorka, R.; Canonico, V.; Chassin, L.J.; Haueter, U.; Massi-benedetti, M.; Federici, M.O.; Pieber, T.R.; Schaller, H.C.; Schaupp, L.; Vering, T.; et al. Nonlinear model predictive control of glucose concentration in subjects with type 1 diabetes. Physiol. Meas. 2004, 25, 905–920. [Google Scholar] [CrossRef] [PubMed]
  26. Herrero, P.; Calm, R.; Vehí, J.; Armengol, J.; Georgiou, P.; Oliver, N.; Tomazou, C. Robust fault detection system for insulin pump therapy using continuous glucose monitoring. J. Diabetes Sci. Technol. 2012, 6, 1131–1141. [Google Scholar] [CrossRef] [PubMed]
  27. Roy, A.; Parker, R.S. Dynamic modeling of exercise effects on plasma glucose and insulin levels. J. Diabetes Sci. Technol. 2007, 1, 338–347. [Google Scholar] [CrossRef] [PubMed]
  28. Julier, S.J.; Uhlmann, J.K. Unscented filtering and nonlinear estimation. Proc. IEEE 2004, 92, 401–422. [Google Scholar] [CrossRef]
  29. Uhlmann, J.K. Simultaneous Map Building and Localization for Real Time Applications; Technical Report; University of Oxford: Oxford, UK, 1994. [Google Scholar]
  30. Larsen, J. Correlation Functions and Power Spectra, Section for Cognitive Systems, Informatics and Mathematical Modelling; Technical University of Denmark: Lyngby, Denmark, 2009. [Google Scholar]
  31. Dalla Man, C.; 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, 26–34. [Google Scholar]
  32. Dalla Man, C.; Camilleri, M.; Cobelli, C. A System Model of Oral Glucose Absorption: Validation on Gold Standard Data. IEEE Trans. Biomed. Eng. 2006, 53, 2472–2478. [Google Scholar] [PubMed]
  33. Bell, K.J.; Smart, C.E.; Steil, G.M.; Brand-Miller, J.C.; King, B.; Wolpert, H.A. Impact of Fat, Protein, and Glycemic Index on Postprandial Glucose Control in Type 1 Diabetes: Implication for Intensive Diabetes Management in the Continuous Glucose Monitoring Era. Diabetes Care 2015, 38, 1008–1015. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Compartmental model of glucose-insulin system. G p and G s c represent glucose concentrations in the accessible (plasma) and non-accessible (subcutaneous) compartments, I represents plasma insulin, and X represents a remote insulin compartment that accelerates glucose disappearance [23].
Figure 1. Compartmental model of glucose-insulin system. G p and G s c represent glucose concentrations in the accessible (plasma) and non-accessible (subcutaneous) compartments, I represents plasma insulin, and X represents a remote insulin compartment that accelerates glucose disappearance [23].
Sensors 18 00884 g001
Figure 2. Flow chart of the meal detection algorithm. First, the states of a minimal model are estimated using an Unscented Kalman filter (UKF) and then the cross-covariance is found between the state estimation for the forward difference of the disturbance parameter ( D d i f f ) and the glucose value G s c obtained from a continuous glucose monitor (CGM). A threshold is applied to the cross-covariance, and, once crossed, the last unscaled value of D d i f f and the slope with respect to the measurement 15 min ago (3 samples) of G s c are checked, if both are positive and it is daytime, a meal is detected.
Figure 2. Flow chart of the meal detection algorithm. First, the states of a minimal model are estimated using an Unscented Kalman filter (UKF) and then the cross-covariance is found between the state estimation for the forward difference of the disturbance parameter ( D d i f f ) and the glucose value G s c obtained from a continuous glucose monitor (CGM). A threshold is applied to the cross-covariance, and, once crossed, the last unscaled value of D d i f f and the slope with respect to the measurement 15 min ago (3 samples) of G s c are checked, if both are positive and it is daytime, a meal is detected.
Sensors 18 00884 g002
Figure 3. Illustration of the meal detection algorithm showing subcutaneous glucose ( G s c ) values from a continuous glucose monitor values (top graph), cross-covariance (middle graph) and the forward difference of the disturbance parameter, D d i f f (bottom graph).
Figure 3. Illustration of the meal detection algorithm showing subcutaneous glucose ( G s c ) values from a continuous glucose monitor values (top graph), cross-covariance (middle graph) and the forward difference of the disturbance parameter, D d i f f (bottom graph).
Sensors 18 00884 g003
Figure 4. Population state estimations of the University of Virginia/Padova (UVA/Padova) Simulator versus the Unscented Kalman Filter over a 24 h period in silico. States shown are plasma glucose ( G P ), subcutaneous glucose ( G S C ), plasma insulin ( I p ), remote insulin (X), insulin in the first subcutaneous compartment ( S 1 ), insulin in the second subcutaneous compartment ( S 2 ), and rate of glucose appearance ( R a ) equated to the disturbance parameter, D. Graph reported as mean (bold lines) ± standard deviation (lightly shaded area), minimum (thin lower line), and maximum values (thin upper line).
Figure 4. Population state estimations of the University of Virginia/Padova (UVA/Padova) Simulator versus the Unscented Kalman Filter over a 24 h period in silico. States shown are plasma glucose ( G P ), subcutaneous glucose ( G S C ), plasma insulin ( I p ), remote insulin (X), insulin in the first subcutaneous compartment ( S 1 ), insulin in the second subcutaneous compartment ( S 2 ), and rate of glucose appearance ( R a ) equated to the disturbance parameter, D. Graph reported as mean (bold lines) ± standard deviation (lightly shaded area), minimum (thin lower line), and maximum values (thin upper line).
Sensors 18 00884 g004
Figure 5. Cumulative detection rates over change in time and Δ glucose from the onset of meals for the meal algorithm tunings of high sensitivity, trade-off, and low false positive in the sensitivity analysis scenario.
Figure 5. Cumulative detection rates over change in time and Δ glucose from the onset of meals for the meal algorithm tunings of high sensitivity, trade-off, and low false positive in the sensitivity analysis scenario.
Sensors 18 00884 g005
Table 1. Mean population parameter values.
Table 1. Mean population parameter values.
SymbolQuantityValueUnitsReference
p 1 Glucose removal rate from the plasma space independent of the influence of insulin0.0351/min[27]
p 2 Disappearance rate of remote insulin from the remote insulin compartment0.051/min[27]
p 3 Appearance rate of remote insulin into the remote insulin compartment0.000028mL/ μ U · min 2 [27]
G b Basal plasma glucose100mg/dL[23]
V G Volume distribution of glucose compartment1.6dL/kg[25]
V I Volume distribution of insulin compartment120mL/kg[25]
k e First-order decay rate of insulin in plasma0.1381/min[25]
t m a x , I Time-to-maximum insulin absorption55min[25]
τ Time constant of the system8.2237min[24]
gStatic gain of the system1unitless[24]
Table 2. Population performance metrics of meal detection algorithm in tuning scenario. Total number of meals per patient was 42.
Table 2. Population performance metrics of meal detection algorithm in tuning scenario. Total number of meals per patient was 42.
Sensitivity (%) Δ Glucose (mg/dL)Detection Time (min)TPFPFNFP/day
Highest Sensitivity (window = 3; threshold = 0.000039)
Tuning99 ± 27 ± 728 ± 1041 ± 117 ± 51 ± 11 ± 1
99 (95, 100)6 (−1, 17)25 (15, 45)42 (40, 42)19 (9, 25)1 (0, 2)1 (0, 3)
Validation98 ± 46 ± 828 ± 941 ± 218 ± 51 ± 21 ± 1
98 (90, 100)5 (−2, 13)25 (15, 40)42 (38, 42)20 (11, 26)0 (0, 4)1 (0, 3)
Trade-Off (window = 9; threshold = 0.00019)
Tuning93 ± 519 ± 537 ± 939 ± 23 ± 23 ± 20.2 ± 0.5
93 (86, 100)19 (11, 28)35 (25, 55)39 (36, 42)3 (0, 7)3 (0, 6)0 (0, 1)
Validation93 ± 619 ± 537 ± 8339 ± 33 ± 33 ± 30 ± 0
94 (83, 100)18.43 (11, 26)35 (25, 50)40 (35, 42)4 (1, 9)3 (0, 7)0 (0, 0)
Lowest False Positive (window = 12; threshold = 0.00082)
Tuning47 ± 1245 ± 746 ± 820± 50 ± 022 ± 50 ± 0
50 (26, 64)45 (36, 54)45 (35, 60)21 (11, 27)0 (0, 0)21 (15, 31)0 (0, 0)
Validation46 ± 1643 ± 748 ± 819 ± 70.2 ± 0.423 ± 70.01 ± 0.1
45 (29, 71)45 (35, 56)50 (35, 60)19 (12, 30)0 (0, 1)23 (12, 30)0 (0, 0)
Values reported as mean ± standard deviation and median (5th%, 95th%). Abbreviations: TP, true positive; FP, false positive; FN, false negative.
Table 3. Population performance metrics of meal detection algorithm in sensitivity analysis scenario. Total number of meals per patient was 1500.
Table 3. Population performance metrics of meal detection algorithm in sensitivity analysis scenario. Total number of meals per patient was 1500.
Sensitivity (%) Δ Glucose (mg/dL)Detection Time (min)TPFPFNFP/day
Highest Sensitivity (window = 3; threshold = 0.000039)
92 ± 36 ± 1331 ± 161375 ± 38719 ± 111126 ± 381 ± 1
92 (87, 96)5 (−8, 17)25 (10, 60)1374 (1306, 1433)716 (561, 897)126 (67, 194)1 (0, 3)
Trade-Off (window = 9; threshold = 0.00019)
82 ± 419 ± 938 ± 141232 ± 56100 ± 23268 ± 560.2 ± 0.5
83 (76, 87)19 (6, 31)35 (25, 65)1242 (1139, 1310)96 (72, 154)259 (190, 361)0 (0, 1)
Low False Positive (window = 12; threshold = 0.00082)
54 ± 942 ± 1843 ± 11813 ± 13011 ± 9687 ± 1300.02 ± 0.2
52 (44, 71)45 (10, 56)40 (30, 65)776 (663, 1060)10 (5, 34)724 (440, 837)0 (0, 0)
Values reported as mean ± standard deviation and median (5th%, 95th%). Abbreviation: TP, true positive; FP, false positive; FN, false negative.
Table 4. Analysis of the effect of carbohydrate quantity on detection time, Δ glucose, and sensitivity.
Table 4. Analysis of the effect of carbohydrate quantity on detection time, Δ glucose, and sensitivity.
Carbohydrates (grams)
20–4040–8080–120
High Sensitivity
window = 3
threshold = 0.000039
Detection
Time (min)
Mean39 ± 2231 ± 1625 ± 13
Median30 (10, 90)30 (10, 60)25 (0, 50)
Δ Glucose
(mg/dL)
Mean5 ± 145 ± 107 ± 15
Median5 (−13, 23)5 (−7, 16)6 (−6, 15)
Sensitivity
(%)
Mean74 ± 693 ± 399 ± 1
Median72 (67, 87)94 (87,96)99 (97, 100)
Trade-Off
window = 9
threshold = 0.00019
Detection
Time (min)
Mean46 ± 1840 ± 1632± 15
Median45 (25, 80)35 (25, 65)30 (0, 55)
Δ Glucose
(mg/dL)
Mean18 ± 1117 ± 920 ± 9
Median19 (0, 32)18 (0, 28)20 (8, 32)
Sensitivity
(%)
Mean49 ± 984 ± 496 ± 2
Median47 (39, 64)86 (76, 89)97 (94, 98)
Low False Positive
window = 12
threshold = 0.00082
Detection
Time (min)
Mean45 ± 1144 ± 841 ± 11
Median50 (14, 71)45 (30, 65)40 (30, 60)
Δ Glucose
(mg/dL)
Mean29 ± 4242 ± 1842 ± 16
Median43 (−46, 57)45 (12, 57)44 (16, 56)
Sensitivity
(%)
Mean8 ± 749 ± 1283 ± 7
Median6 (2, 26)45 (36, 71)82 (73, 93)
Values reported as mean ± standard deviation and median (5th%, 95th%).
Table 5. Analysis of the effect of rate of glucose appearance on detection time, Δ glucose, and sensitivity.
Table 5. Analysis of the effect of rate of glucose appearance on detection time, Δ glucose, and sensitivity.
Rate of Glucose Appearance
SlowMediumFast
High Sensitivity
window = 3
threshold = 0.000039
Detection
Time (min)
Mean47 ± 2238 ± 2027 ± 11
Median45 (10, 90)35 (10, 80)25 (10, 45)
Δ Glucose
(mg/dL)
Mean3 ± 154 ± 136 ± 13
Median4 (−22, 25)4 (−14, 23)6 (−5, 15)
Sensitivity
(%)
Mean77 ± 987 ± 495 ± 1
Median77 (62, 92)88 (81, 95)95 (92, 97)
Trade-Off
window = 9
threshold = 0.00019
Detection
Time (min)
Mean57 ± 1847 ± 1634 ± 10
Median55 (35, 90)45 (30, 80)30 (25, 50)
Δ Glucose
(mg/dL)
Mean16 ± 1418 ± 1220 ± 7
Median18 (−5, 36)19 (1, 33)19 (9, 30)
Sensitivity
(%)
Mean54 ± 1073 ± 689 ± 3
Median57 (38, 71)73 (65, 81)89 (84, 92)
Low False Positive
window = 12
threshold = 0.00082
Detection
Time (min)
Mean63 ± 1452 ± 1340 ± 9
Median65 (45, 80)50 (35, 75)40 (30, 55)
Δ Glucose
(mg/dL)
Mean37 ± 4443 ± 2441 ± 15
Median48 (−39, 72)47 (−2, 63)44 (13, 55)
Sensitivity
(%)
Mean10 ± 833 ± 1268 ± 7
Median6 (2, 29)29 (18, 57)67 (59, 81)
Values reported as mean ± standard deviation and median (5th%, 95th%).
Table 6. Population performance metrics of meal detection algorithm in other studies.
Table 6. Population performance metrics of meal detection algorithm in other studies.
ReferenceSensitivity (%) Δ Glucose (mg/dL)Detection Time (min)TPFPFNFP/day
Dassau et al. [11]30
Lee et al. [13]823165654144
Chen et al. [16]99.6
Weimer et al. [17]86.92.01
Xie and Wang [18]95
Turksoy et al. [19]97 ± 616 ± 97 ± 20.1 ± 0.30.2 ± 0.4
Mahmoudi et al. [20]99.546.3 ± 21.258.4 ± 18.7
Values reported as mean ± standard deviation. Abbreviation: TP, true positive; FP, false positive; FN, false negative.

Share and Cite

MDPI and ACS Style

Ramkissoon, C.M.; Herrero, P.; Bondia, J.; Vehi, J. Unannounced Meals in the Artificial Pancreas: Detection Using Continuous Glucose Monitoring. Sensors 2018, 18, 884. https://doi.org/10.3390/s18030884

AMA Style

Ramkissoon CM, Herrero P, Bondia J, Vehi J. Unannounced Meals in the Artificial Pancreas: Detection Using Continuous Glucose Monitoring. Sensors. 2018; 18(3):884. https://doi.org/10.3390/s18030884

Chicago/Turabian Style

Ramkissoon, Charrise M., Pau Herrero, Jorge Bondia, and Josep Vehi. 2018. "Unannounced Meals in the Artificial Pancreas: Detection Using Continuous Glucose Monitoring" Sensors 18, no. 3: 884. https://doi.org/10.3390/s18030884

APA Style

Ramkissoon, C. M., Herrero, P., Bondia, J., & Vehi, J. (2018). Unannounced Meals in the Artificial Pancreas: Detection Using Continuous Glucose Monitoring. Sensors, 18(3), 884. https://doi.org/10.3390/s18030884

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop