This invention relates generally to a control system that utilizes feedback predictive control. More specifically, but not exclusively, the invention relates to an automatic insulin delivery system that employs feedback predictive control.
In a person without diabetes, several systems including, for example, the metabolic, endocrine, and cardiovascular systems, function collectively to maintain homeostasis. However, in a person with diabetes, the inherent glucose regulation mechanism is dysfunctional. Glucose levels are affected by the state of the metabolic-physiological-endocrine system and disturbances to that system. Disturbances such as stress, physical activity, hormonal changes, periods of growth, medications, illness/infection and fatigue, that are unknown in many cases, can cause large changes in blood glucose concentration (BGC) for individuals with type 1 diabetes. Their combined effects on BGC are highly complex, highly correlated, and difficult to measure and model accurately. In a normal person, several systems, such as the metabolic, endocrine, and cardiovascular systems function collectively to maintain homeostasis. However, in a person with diabetes their inherent glucose regulation mechanism becomes dysfunctional. If the amount of carbohydrates in a meal was the only variable to affect BGC, management would be much simpler. However, not only are there other disturbances in food, such as fats and proteins, but also in the levels and types of activities as well as physical and emotional stress, among many others. Furthermore, not only does BGC change due to several disturbances, their impact on glucose level is highly correlated, dynamic, and nonlinear, making it difficult to distinguish the effect each input has on BGC.
Insulin therapy involves multiple daily doses of insulin before meals to correct high blood glucose, with the amount either pre-recommended by a physician or decided by the patient on the basis measured BGC and the number of carbohydrates they estimate will be ingested at the time of the meal. This protocol is inconvenient and unreliable. It often results in hypoglycemic and hyperglycemic episodes, both of which can be life-limiting and life-threatening. Thus, there has been a desire to develop more optimized insulin delivery systems and protocols. This has included research to develop automatic insulin delivery systems.
The potential for successful automatic insulin delivery has entered a new era due to recent technological advancements of insulin pumps and blood glucose sensors. Consequently, for full automation and control capable of reducing the variance in BGC, the control algorithm must be capable of tight control for major disturbances such as meals, activity, and stress. However, the control systems in place to date are not sufficient to address the complexities of BGC control.
For example, classical time-delayed feedback control (FBC) approaches, such as the Smith Predictor, address time delay (θ) in the controlled variable (CV) when a change in the manipulated variable (MV) affects CV immediately but the measurement of CV corresponding to the MV change is much later (i.e., delayed). In contrast, when MV has time delay, a change in MV does not affect CV until θ time later. Thus, in this case, optimal feedback control requires knowledge of the value(s) of CV after it begins to change from the current change in MV, i.e., future predictions of CV a time distant into the future at least as great as θ. Hence, an optimal FBC-type of algorithm for addressing dead time in MV requires future prediction of CV to change MV. The classical FBC-type of algorithm for dead time in MV is model predictive control (MPC). The MPC control law is for the future predicted value of CV to be at the set point an integer value of sampling time steps (J) beyond the amount of dead time. Hence, the effectiveness of MPC depends strongly on the accuracy of the future prediction of CV, which decreases as J increases. Moreover, the larger the time lag for MV, the longer it takes to reach the set point and the greater J will be. Thus, if time lag for MV is significant, the more difficult it will be to predict CV and the greater the potential error there will be in that prediction. For this reason, all types of classical time-delay feedback control algorithms are unable to address the complexities of BGC.
Theoretically, the superiority of feedforward control (FFC) over all other control systems is that corrective action can be taken to cancel the effects of disturbances on the control variable (i.e., BGC) proactively. Currently, FFC is not capable of approaching this theoretical limit, i.e., very tight control of BGC, because insulin, the MV, can only decrease BGC. Before it is possible to approach this idealized control, a new hormone needs to be developed and approved by the FDA that can increase BGC. In addition, FFC has not been capable of addressing the complexity of various measured disturbances impacting the regulation of blood glucose levels associated with diabetes due to the limits of sensor technology as was as effective model development of the complex causative relationships of disturbances and the controlled variable. These insufficiencies will have to be overcome before FFC is able to significantly improve control of BGC. Thus, feedforward control, while being theoretically superior, is at this time, incapable of serving as an approved automatic insulin delivery system.
Consequently, there is a need for a system providing automatic delivery of insulin with minimal variability around the desired BGC target using a predictive feedback control approach. More specifically, currently, the most practical challenge is providing an effective FBC-type of predictive control system in the presence of unmeasured disturbances, with a minimal prediction horizon (i.e., prediction a distance θ into the future) for the greatest possible prediction accuracy of CV, which leads to the most effective control system possible for BGC.
Accordingly, it is an objective of the claimed invention to provide an methodology that more accurately controls blood glucose levels for FBC-type predictive control systems.
Other objects, advantages and features of the present invention will become apparent from the following specification taken in conjunction with the accompanying figures.
While multiple embodiments are disclosed, still other embodiments of the present invention will become apparent to those skilled in the art from the following detailed description, which shows and describes illustrative embodiments of the invention. Accordingly, the figures and detailed description are to be regarded as illustrative in nature and not restrictive.
Various embodiments of the present invention are described in detail with reference to the figures. The reference to various embodiments does not limit the scope of the invention. Figures represented herein are not limitations to the various embodiments according to the invention and are presented for exemplary illustration of the invention.
The embodiments of this invention are not limited to particular insulin pumps, apparatuses for monitoring insulin and/or blood glucose levels, activity inputs, and stress measuring devices. Moreover, while the Feedback Predictive Controller and systems employing the same are primarily discussed in the context of diabetes and BGC control, the controller is not limited to diabetes and BGC control. Rather it is suitable for other systems, particularly, those having significant lag time. It is further to be understood that all terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting in any manner or scope. For example, all units, prefixes, and symbols may be denoted in its SI accepted form.
Numeric ranges recited within the specification are inclusive of the numbers defining the range and include each integer, fraction, and decimal within the defined range. Throughout this disclosure, various aspects of this invention are presented in a range format. It should be understood that the description in range format is merely for convenience and brevity and should not be construed as an inflexible limitation on the scope of the invention. Accordingly, the description of a range should be considered to have specifically disclosed all the possible sub-ranges as well as individual numerical values within that range. For example, description of a range such as from 1 to 6 should be considered to have specifically disclosed sub-ranges such as from 1 to 3, from 1 to 4, from 1 to 5, from 2 to 4, from 2 to 6, from 3 to 6 etc., as well as individual numbers within that range such as 1, 2, 3, 4, 5, and 6, fractions such as 1¾, 3⅓, and 4⅝, and decimals such as 2.3, 4.1, and 5.7. This applies regardless of the breadth of the range.
So that the present invention may be more readily understood, certain terms are first defined. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which embodiments of the invention pertain. Many methods and materials similar, modified, or equivalent to those described herein can be used in the practice of the embodiments of the present invention without undue experimentation, the preferred materials and methods are described herein. In describing and claiming the embodiments of the present invention, the following terminology will be used in accordance with the definitions set out below.
As used herein the singular forms “a,” “an” and “the” can include plural referents unless the content clearly indicates otherwise.
As used herein the term “BGC” refers to blood glucose concentration. It is not limited to any particular measurement unit.
As used herein the term “FBC” refers to feedback control or any synonyms thereof, including for example, “feed-back control.”
As used herein the term “FBE” refers to feedback error or any synonyms thereof and is the deviation of the controlled variable from its set point value.
As used herein the term “FBPC” refers to a feedback predictive control or feedback predictive controller as described in greater detail herein.
As used herein the term “MPC” refers to model predictive control.
As used herein the term “dead time” refers to the amount of time it takes for the controlled variable to start to respond after a change in the manipulated variable.
As used herein the term “lag” refers to a variable not reaching its final value immediately when the variable begins to change due a change in another variable causing it to change. A variable without lag reaches its final value immediately.
As used herein the term “prediction horizon” refers to the distance into the future that the value of the controlled variable must be estimated.
As used herein the term “controlled variable” refers to the output the control system, the purpose of the control system is to keep the controlled variable at the set point.
As used herein the term “manipulated variable” refers to the input variable that is adjusted to keep the controlled variable in the system at a set point.
As used herein the term “PID controller” refers a proportional-integral-derivative controller used in control systems that require continuously modulated control.
The systems and methods described herein comprise a feedback predictive controller (“FBPC”). Preferably, the FBPC is a model-based feedback predictive control system that uses a predictive feedback error (deviation from set point) to provide changes to the system in an effort to nullify the deviation. Surprisingly it has been found that by employing a feedback controller with a predicted FBE, one can reduce, or preferably minimize, deviation of the controlled variable from its set point in cases where manipulated variables have large dead time and time lag. In an aspect of the invention, the set point of a controlled variable is set by the user of the control system. Thus, the set point is determined by the user of the control system.
In the context of BGC and diabetes, accurate modeling of BGC 30 to 60 minutes into the future is critical for model-based feedback predictive control strategies that use the predictive feedback error (deviation from set point) since it takes 30 to 60 minutes for current changes in insulin flow rate to change BGC. To achieve accurate modeling (i.e., estimation) of the future value of the control variable is essential. Preferably, the models will not drift over time, have minimal bias, and provide at least 70%, 75%, 80%, 85%, 90%, 91%, 92%, 93%, 94%, 95%, 96%, 97%, 98%, or 99% accuracy and fit over at least 24 hours, 36 hours, 48 hours, 3 days, 4, days, 5 days, 6 days, 7 days, 2 weeks, 3 weeks, or one month.
The FBPC system preferably comprises a two-stage method that first applies the Wiener/Semi-Coupled method and obtains the input-only Model 1. It then uses the pre-whitening method to model the serial correlation structure of the Model 1 residuals to address unmeasured disturbances and model bias. This is Model 2 and is the predictive model for future BGC using current and past BGC measurements. According to this system, BGC is predicted a distance into the future equal to the given value of dead time for exogenous insulin flow rate. The future feedback error is determined using this value and a conventional PID controller is used to manipulate insulin flowrate in the present. Preferably, FBPC control uses a PID control algorithm, with the minimum prediction horizon, no specified control horizon, and an inherent cause-and-effect relationship between MV and CV that is “built-in” to the PID structure.
The FBPC and systems and methods employing the same have provide improvements and advantages over existing controllers, systems and methods for controlling BGC. For example, one such advantage is that it does not require a cause-and-effect model for the relationship of insulin flow rate on BGC. This is significant as a cause-and-effect model is very difficult to accurately obtain in real-life. Model-based predictive control algorithms such as FFC and MPC require accurate cause-and-effect modeled relationship of insulin flow rate on BGC, a critical limitation of such approaches.
According to the invention as described herein FBPC is similar to MPC in certain respects; however, MPC uses an FBE that is greater than a distance θ into the future (i.e., a greater prediction horizon). Therefore, in applications where the accuracy of CV declines as the prediction horizon increases, which is common, MPC could perform much worse than FBPC when its prediction horizon is significantly greater than θ. In addition, there are other fundamental differences in these two control algorithms that can result in significantly different control performance. MPC uses a fitted mathematical model for the manipulated variable and FBPC uses a form of the PID control algorithm. Thus, MPC performance depends on the accuracy of this model, which can be difficult to obtain in many applications. Furthermore, MPC has one discrete tuning parameter. Therefore, the one-dimensional tuning space of MPC has the advantage of simplicity over the possible three-dimensional one of FBPC. This is also a disadvantage in many applications. FBPC has a tuning space as large as three-dimensions and thus, more geometric directions for finding optimal tuning parameters. In addition, its tuning parameters are continuous and can be set to any value in a range, whereas the one for MPC can only be set at discrete values, in increments that depend on the sampling rate. Furthermore, the prediction horizon for MPC depends on the dynamic lag of MV. The larger this lag, the greater the prediction horizon, and hence the worse prediction accuracy can be. Since the prediction horizon for FBPC is fixed at θ distance in the future, process lag does not affect its prediction horizon.
In a general class, MPC can be any type of control system that uses a model for the control horizon and a model for the prediction horizon. However, as described above, the model for the control horizon must have an accurate cause-and-effect relationship between the inputs, especially MV, and the output, CV. This is usually very difficult to achieve in practice and required by all MPC type of control algorithms. Hence, a critical advantage of FBPC is that it does not use a control horizon and thus, does not need, or use, a model horizon to make changes in MV.
An exemplary block diagram for FBPC is shown in
According to an aspect of the invention, Model 1 can apply a Wiener model or a Wiener/Semi-Coupled model. A traditional Wiener model is shown in
As shown in
In
There are three main categories of consumed energy: carbohydrates, fats, and proteins. As shown in
There are two types of insulin: basal and bolus. Basal insulin, often referred to as background insulin, functions to keep blood glucose levels consistent during periods of fasting. Basal insulin is produced by the pancreas. Basal insulin can also be provided by the continuous administration of fast-acting insulin in small doses. Bolus insulin is faster acting insulin provided in some dosage. It can be administered intravenously, by intramuscular injection, by intrathecal injection, or by subcutaneous injection. In
There are many activities that affect BGC. These activities include, but are not limited to, exercise, walking, working, and casual movement. These activities can be monitored by monitoring and/or measuring body position, movement, heat dissipated, skin temperature, near body temperature, galvanic skin response, and sleep, etc. In order to monitor body position and movement, it is preferable to use a two-axis accelerometer. Sleep can be monitored by the lack of certain kinds of movement. The heat dissipated from the body can be accounted for based on the body's heat flux. Skin temperature and near-body temperature can be measured by sensitive thermistors. Galvanic skin response (GSR) can be measured by the conductivity of a person's skin as it varies due to physical and emotional stimuli.
Any type and number of monitoring systems can be used to monitor the various activities. In a preferred embodiment, a single monitoring system is employed to monitor all activities at once. A preferred monitoring system is a type similar to the SenseWear® Pro3 Body Monitoring System, previously available from BodyMedia, Inc. in Pittsburgh, Pennsylvania.
The dynamic blocks for the inputs have second-order-plus-dead-time-plus-lead (SOPDTPL) form as shown in Eq. 1 below:
where τi is the time constant, ζi is the damping coefficient, τai is the lead parameter and θi is the dead time. Using a backward difference approximation
applied to a sampling interval of Δt, an approximate discrete-time form of Eq. 1 is:
v
i,t=δ1,ivi,t−Δt+δ2,ivi,t−2Δt+ω1,ixi,t−k
where ω2,i=1−δ1,i−δ2,i−ω1,i to satisfy the unity gain constraint with
A dynamic mass balance on GFI block in
where aC, aF, aP, and aFI, are estimated model parameters; I(t) is the unmeasured blood-insulin concentration (BIC) at time t; and VFI(t) is the BGC due to food and insulin changes only. Similarly, a dynamic mass balance on the GBI block, which represents BIC, gives
where aI and aBI, are estimated model parameters. The function ƒ(V) is called “the static function.” This function can theoretically be of any form. For effectiveness under mild extrapolation, in modeling real BGC data we will use a first-order linear regression structure, given in discrete form as:
ƒ(V)=ηt+εt=a0+VFI,t+aA1vA
where a0 and aAi's are static estimated model parameters.
Preferably, the FBPC controller models unmeasured disturbances and bias in Model 2. Specifically, a noise model structure is applied to Eq. 8 as follows:
such that yt is the measured BGC at t and Bγxt=xt−γΔt. Eq. 10b is a critical innovation of this work as it eliminates model bias, i.e., model drift of the CV over time. Then from substituting Eq. 10 into Eq. 9 and rearranging gives:
y
t└1−φ1B−φ2B2− . . . ┘=ηt└1−φ1B−φ2B2− . . . ┘+at (12)
With dead time θ=kΔt, Eq. 12 is
y
t└1−φ1Bk−φ2Bk+1− . . . ┘=ηt└1−φ1Bk−φ2Bk+1− . . . ┘+at (13)
⇒yt=ηt+φ1(yt−kΔt−ηt−kΔt)+φ2(yt−(k+1)Δt−ηt−(k+1)Δt)+ . . . +at (14)
Modification of Eq. 14 for predicting θ=kΔt time steps into the future gives
where “{circumflex over ( )}” is used for estimate and et is the Model 1 residual at t. Model 2, i.e., Eq. 14 provides estimation of the unknown parameters. While not wishing to be bound by the theory, we believe that the constraint given by Eq. 10b is very critical to achieving stable unbiased and accurate future predictions of BGC.
Applying this to the exemplary FBPC system in
In a further embodiment of the invention and as one of skill in the art would appreciate, BGC is affected by many different disturbances. The three most significant non-invasive disturbances fall into one of three categories: stress, consumed energy (i.e., meals), and activities. To adequately control BGC through the feedforward predictive control method, each of these disturbances must be taken into account. Announcements of each could be included in order to predict the impact of each as previously discussed. However, a benefit of the FBPC system and methods is that they overcome the difficulties previously encountered with the FFC system and methods which required modeling disturbances.
The process control of the invention can be employed in the monitoring and regulation of BGC for patients, particularly patients suffering from type 1 diabetes mellitus. The process control scheme of the invention can be applied to an insulin delivery system as shown in
Preferably, the method employs a monitoring system 2, which monitors the various inputs (disturbances). For example, the monitoring system can provide information regarding the activity inputs (XA in
As shown in
Embodiments of the invention can reduce the variance in blood glucose concentration of a patient by the use of a more accurate future feedback error by predicting BGC more accurately due to a much short prediction horizon leading to better adjustments of insulin flow rate due under feedback predictive control. In embodiments of the invention, when compared with existing methods of controlling blood glucose concentration, the reduction in variance can be greater than 50%, preferably greater than 60%, more preferably greater than 70%, or most preferably greater than 80%.
Embodiments of the present invention are further defined in the following non-limiting Examples. It should be understood that these Examples, while indicating certain embodiments of the invention, are given by way of illustration only. From the above discussion and these Examples, one skilled in the art can ascertain the essential characteristics of this invention, and without departing from the spirit and scope thereof, can make various changes and modifications of the embodiments of the invention to adapt it to various usages and conditions. Thus, various modifications of the embodiments of the invention, in addition to those shown and described herein, will be apparent to those skilled in the art from the foregoing description. Such modifications are also intended to fall within the scope of the appended claims.
Utilizing a continuous stirred tank reactor (CSTR) as a process model, the methods of the present invention were tested to verify Equations 1-15 and the FBPC algorithm exemplified in the block diagram of
A multiple-input, single-output Wiener model as shown in
Each dynamic block is a linear ordinary differential equation. In this Example, the manipulated variable, M, has first-order-plus-dead-time (FOPDT) dynamics shown in Eq. (16)
where subscript ‘1’ denotes the manipulated variable, τ1 is the time constant, and θ1 is the dead time. Using a backward difference approximation, an approximate discrete-time form of Eq. (16) is given in Eq. (17)
v
1,t=δ1,1vi,t−Δt+(1−δ1,1)x1,t−k
For k1 steps into the future, Eq. (17) becomes Eq. (18):
The two other input variables, Tci and CAi, have second-order-plus-dead-time-plus-lead (SOPDTPL) form as shown in Eq. 20 below (which corresponds to Eq. 1 above):
where I=2 represents Tci, I=3 represents CAi, τi is the time constant, ζi is the damping coefficient, τai is the lead parameter, and θi is the dead time. Using a backward difference approximation applied to a sampling interval of Δt, an approximate discrete-time form of Eq. (20) is shown in Eq. (21) (corresponding to Eq. 2 above)
v
i,t=δ1,ivi,t−Δt+δ2,ivi,t−2Δt+ω1,ixi,t−k
where ω2,i=1−δ1,i−δ2,i−ω1,i to satisfy the unity gain constraint with
Equations 22-24 correspond to Equations 3-5 above. After obtaining vi,t for each input I, the modeled output value is determined by substituting these results into ƒ(V).
ηt=ƒ(V)=a0+a1v1,t+ . . . +apvp,t+b1v1,t2+ . . . +bpvp,t2+c1,2v1,tv2,t+ . . . +cp−1,pvp−1,tvp,t (25)
Modification of Eq. (25) for predicting k1 time steps into the future with p=3 gives
ηt+k
where ai, bi, and ci,j, denote the linear, quadratic and interaction parameters for I=1, 2, 3 and j=2 and 3, and
v
2,t+k
Δt=δ1,2v2,t+(k
v
3,t+k
Δt=δ1,3v3,t+(k
In this Example, all measured inputs are assumed to be known over the prediction horizon.
To model unmeasured disturbances and bias, a noise model structure was applied to Eq. (25) as follows:
and yt is the measured tank temperature, Tm, at t and Bγxt=xt−γΔt.
Then
y
t[1−φ1B−φ2B2− . . . ]=ηt[1−φ1B−φ2B2− . . . ]+at (29)
⇒yt=ηt+φ1(yt−Δt−ηt−Δt)+φ2(yt−2Δt−ηt−2Δt)+ . . . +at (30)
Modification of Eq. (30) for predicting k1 time steps into the future gives
where “{circumflex over ( )}” is used for estimate. {circumflex over (η)}t+k
The block diagrams of the two virtual sensor predictive control algorithms are shown in
For each of the systems, a change in the manipulated variable at t affects the controlled variable k1Δt time into the future. As shown in
The CSTR process used in this Example is illustrated in
In this Example, three input variables are used in the model. They are: 1) the input signal to the valve, M; 2) the temperature of the entering coolant, Tci; and 3) the concentration of component A in the inlet stream, CAi. There is one unmeasured disturbance, the feed flow rate, F. There is one output for this Example, the measured tank temperature, Tm. The CSTR is altered to include dead time, θi, in Tci, CAi, and the input signal to valve, M, specified as θi=kiΔt, where ki is a positive integer, I=1, 2, or 3, for M, Tci, and CAi, respectively. The dead time for M is the largest.
The training input sequences for M, Tci and CAi are shown in
In this Example, k1Δt, k2Δt and k3Δt are 10 seconds, 5 seconds, and 0 seconds with Δt=0.1 seconds, thus the predictions for each control method are at least 100 time steps into the future.
The objective is to minimize the variation of Tm around the set point by manipulating the input signal to the valve, M, subject to 0≤M≤1. To correct for bias, the common practice for MPC applications is to use a bias correction that is the latest measurement of Tm minus its corresponding predicted value. When the MPC estimator was used in the bias correction, the results were poor. This is shown as “MPC-BC” in Table 3. In addition, when these differences as the residuals were used for Model 2 in the MPC algorithm, control was also poorer than FBPC. The best results for MPC were obtained using Model 2 to correct for bias. These control results along with the ones for FBPC are given in Table 3.
As shown in Table 3, FBPC has the smallest Stdev. MPC for J=10, 15, 20, and 30 are all similar and about 20% worse than FBPC. Note that for these values of J, MPC is only predicting 1 to 3 seconds farther into the future. Thus, for such a short distance into the future and the high accuracy of the fitted model, the improvement in FBPC is not expected to be too much greater than MPC, as the results indicate. Tm and M results for FBPC are shown in
In this Example, the present invention's modeling approach is shown to accurately predict BGC 30 and 60 minutes into the future for Type 1 diabetes subjects, which is necessary to obtain an accurate prediction of FBE to effectively manipulate insulin flow rate at the present time for optimal control of BGC. This Example is an open-loop modeling study, and not a closed-loop control study.
For this Example, the process model utilizes a Wiener model with a semi-coupled network for BIC and BGC as illustrated in
This Example employs the two-step modeling approach outlined in Example 1: applying a noise model structure (Model 2) to model unmeasured disturbances and bias in the predictive model (Model 1). Model 1 uses the network illustrated in
where aC, aF, and aFI, are estimated model parameters, I(t) is the unmeasured BIC at time t, and VFI(t) is the BGC due to food and insulin changes only. Similarly, a dynamic mass balance on the GBI block, which represents BIC is shown in Eq. (38)
where aI and a BBI are estimated model parameters. The function ƒ(V) is a first-order linear regression structure given in discrete form in Eq. (39)
ƒ(V)=ηt+εt=a0+VFI,t+aA1vA
where a0 and aAi's are static estimated parameters.
Unmeasured disturbances and bias, Model 2, is as described mathematically in Example 1, Eqs. (26)-(31), subject to one constraint as described in Eqs. (40) and (41) (corresponding to equations 10a and 10b above), which is critical to achieving stable unbiased and accurate future prediction of BGC.
In this Example, the model was fit to eleven cases of BGC subject data split into sets of training, validation, and testing. The model parameters are estimated using the training data, and the validation set is used to guard against over-fitting, as the final set of parameters must maximize the fit in this set. Since these two sets influence the parameter estimation process, the testing set is used as a final check on model fit, as the data in this set has no influence on the values of the estimated parameters. This Example applies Model 2 under the following conditions for the training data sets:
Thus, four {circumflex over (φ)} were used in each case and convergence criterion is given in Eq. (42) and subject to Eq. (43). In this Example using Model 2, all the data not used to determine the {circumflex over (φ)}i's is testing data.
The results for this Example are reported using three metrics. The first is the correlation coefficient between the fitted and measured BGC, rfit, and is given by Eq. (44):
where nt is the number of pairs of values in the set, and yi and ŷi are the ith measured and fitted values in the set, respectively. The closer this statistic is to 1.0, the better the model fits the measured response data without consideration of model bias.
The second statistic is the averaged difference, AD, which gives a measure of model bias. As shown in Eq. (45), it is the average of deviation for the differences of yi and ŷi.
The final statistic is the averaged absolute error, AAD, and is a measure of the average closeness of yi and ŷi, as shown in Eq. (46).
The 13 variable input set is given in Table 4 and consists of three food nutrients, seven activity variables and two for insulin infusion. The activity variables were collected using the SenseWear® Pro3 Body Monitoring System shown in
The results of the predictive modeling approach 30 and 60 minutes into the future are outlined in Tables 5 and 6, respectively, with the data split into three sets comprising of one week of training, four days of validation, and three days of testing. Tables 7 and 8 show results for modeling 30 and 60 minutes into the future, respectively, with the data split into two sets: one week of training and one week of validation.
The results of the predictive modeling method as outlined in Tables 5-8 indicate very good to excellent outcomes. The models have little to negligible bias as shown by the very low AD values. For the 30-minute predictive models, AAD averages just over 20 mg/dL. For the 60-minute models, the AAD increases about 12 mg/dL. For the 30-minute prediction study, the average rfit is about 0.93, which is excellent, with highs of 0.96. For the 60-minute study, the drop is about 0.1 on the averages to about 0.83. However, there are some with rfit of 0.9 or better.
In this Example, a diabetes simulator developed by UVA/Padova, and approved by the FDA, was used to test the present invention. This simulator provides a non-human methodology to test different BGC control algorithms and is considered a valid substitute for animal trials in the early stages for development of an artificial pancreas. This diabetes simulator was used to generate subject data for a comparison of MPC and FBPC with all things being equal except for the differences in the control algorithms. The fitted predictive model used by both methods is the same and predicts G accurately, thus any difference in control performance is due to differences in the control algorithms.
The FBPC scheme is illustrated in
This Example uses 30 virtual patients, the characteristics of which are summarized in Table 9. To minimize the effect of measurement delay, both the insulin pump and BGC sensor were selected as intravenous (IV) type. As for the scenario tested in this Example, three meals occurred each day at 7 am, 12 pm and 8 pm, and all meals were 50 grams of carbohydrate. To examine the robustness of the proposed FBPC method, a longer than common period of a five-day closed loop control run was utilized. At the start of each trial, a two-day “run-in” period was used to bring the simulator to a consistent day-to-day behavior. Therefore, in total, a seven-day run was used for each subject.
Both control algorithms were supplemented by basal insulin infusion, at the rate of U/hr, that is customized to each of the test subjects as given in Table 9. The set point for each subject was set to their fasting BGC before the start of the trial.
The manipulated input variable, insulin feed rate (IFR), is atypical because it can only decrease BGC. Thus, when a control system calculated the value for bolus insulin to be negative, bolus IFR was necessarily set to zero. In addition, for FBPC, to avoid hypoglycemia, the implemented protocol was to turn bolus IFR off one minute after any meal and then turn it back on one hour before the meal.
A common benchmark used in this area is the percent of values in a range, in this Example, between 70-180 mg/dL as suggested by American Diabetes Association. Values below 70 mg/dL are commonly considered as the hypoglycemic region and above 180 mg/dL is commonly considered as the hyperglycemic region. Thus, the effectiveness a BGC control algorithm is commonly reported by the percentage of time spent in 70-180 mg/dL range. Additionally, other metrics can describe different aspects of the effectiveness such as the spread of BGC about its mean, or its standard deviation (Stdev). In this Example, both metrics are reported.
Three measures of performance are used in this Example for evaluating the fit of the model. The first is the correlation coefficients between the fitted and measured BGC (rfit) and given by Eq. (44):
where nt is the number of pairs of values in the set, and yi and ŷi are the ith measured and fitted values in the set, respectively. The closer this statistic is to 1.0, the better the model fits the measured data without consideration of model bias. The second statistic is the averaged error (AE), which gives a measure of model bias. As shown in the equation below, it is the average of yi−ŷi.
The final statistic is the averaged absolute error (AAE), which is a measure of the average closeness of yi to ŷi, as shown in Eq. (46).
Model development followed the cross-validation protocol of Example 1 as described in Eq. (30). The size and type of data sets for model identification are the same as in Eq. (26). The controllers were tuned to give the tightest control of glucose levels. Table 10 gives a summary of the modeling results in this Example for each subject. As shown, rfit is at, or nearly at, its maximum value of one (1) for all 30 subjects. Similarly, the AE and AAE results are also excellent averaging 0.22 and 1.7 mg/dL, respectively. To demonstrate the excellent accuracy of the model n time steps into the future under automatic control, results are shown in
As outlined in Tables 11A and 11B, and as illustrated in
Table 12 gives the values of the tuning parameters for only the first five subjects for space consideration. The values for FBPC are surprising very similar, which may assist greatly in obtaining tuning parameters for FBPC. The values of the one tuning parameter for MPC, J, range from 250 to 600. These values, and the spread between them, are considerably large. The large values are not surprising when considering the large values of the lags shown in Table 10; τi values for carbohydrates and IFR have averages of 717.3 min. and 920.7 min., respectively.
Table 12 shows the amount of total bolus insulin infused during the control runs of five days. In each case, this amount is significantly higher for MPC. The bolus profiles over time for these five subjects can be seen in
Therefore, methods and systems have been described relating to insulin delivery. It should be understood that the present invention contemplates numerous variations, options, and alternatives. For example, where sensed information is provided as input, the sensed information may be supplied from any number of sensors including sensors associated with wearable devices, mobile devices, or other computing devices. Where information is input by users, it is to be understood that the information may be input using wearable devices, mobile devices, or other computing devices including the same device used for insulin delivery. It is further to be understood that the model may be stored on any number of computing devices including a mobile device, or the same device used for insulin delivery.
The above specification provides a description of the manufacture and use of the disclosed compositions and methods. Since many embodiments can be made without departing from the spirit and scope of the invention, the invention resides in the claims.
This is a continuation application of U.S. Ser. No. 17/447,242, filed Sep. 9, 2021 (now U.S. Pat. No. ______, issued ______, 202______), which is a continuation of U.S. Ser. No. 16/508,934, filed Jul. 11, 2019 (now U.S. Pat. No. 11,147,922, issued Oct. 19, 2021), which claims priority under 35 U.S.C. § 119 to Provisional Application U.S. Ser. No. 62/697,798, filed on Jul. 13, 2018 and Provisional Application U.S. Ser. No. 62/701,153 filed on Jul. 20, 2018, all of which are herein incorporated by reference in their entirety including without limitation, the specification, claims, and abstract, as well as any figures, tables, or examples thereof.
Number | Date | Country | |
---|---|---|---|
62701153 | Jul 2018 | US | |
62697798 | Jul 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 17447242 | Sep 2021 | US |
Child | 18519204 | US | |
Parent | 16508934 | Jul 2019 | US |
Child | 17447242 | US |