Abstract
In this study, a multiple‐model strategy is evaluated as an alternative closed‐loop method for subcutaneous insulin delivery in type 1 diabetes. Non‐linearities of the glucose–insulin regulatory system are considered by modelling the system around five different operating points. After conducting some identification experiments in the UVA/Padova metabolic simulator (accepted simulator by the US Food and Drug Administration (FDA)), five transfer functions are obtained for these operating points. Paying attention to some physiological facts, the control objectives such as the required settling time and permissible bounds of overshoots and undershoots are determined for any transfer functions. Then, five PID controllers are tuned to achieve these objectives and a bank of controllers is constructed. To cope with difficulties of the presence of delays in subcutaneous blood glucose (BG) measuring and in administration of insulin, a glucose‐dependent setpoint is considered as the desired trajectory for the BG concentration. The performance of the obtained closed‐loop glucose–insulin regulatory system is investigated on the in silico adult cohort of the UVA/Padova metabolic simulator. The obtained results show that the proposed multiple‐model strategy leads to a closed‐loop mechanism with limited hyperglycemia and no severe hypoglycemia.
Inspec keywords: blood, patient diagnosis, medical control systems, biochemistry, three‐term control, closed loop systems, diseases, patient treatment, drugs, sugar
Other keywords: blood glucose concentration control, type 1 diabetic patients, multiple‐model strategy, alternative closed‐loop method, subcutaneous insulin delivery, type 1 diabetes, transfer functions, control objectives, PID controllers, subcutaneous blood glucose measuring, glucose‐dependent setpoint, closed‐loop glucose–insulin regulatory system, closed‐loop mechanism
1 Introduction
Diabetes is one of the most common endocrine diseases that occurs when the body is unable to produce enough insulin or not to use it properly [1]. Insulin is the most important factor in the regulation of the blood glucose (BG) level in the body which produced by the pancreas. It allows the body to use glucose of carbohydrates in the food for energy supply. According to the report of the International Diabetes Federation (IDF), 425 million people had suffered from diabetes in 2017, which is equivalent to one death every eight seconds [2].
Type 1 diabetes (T1D), also known as insulin‐dependent diabetes mellitus, is caused by an autoimmune disorder when the body immune system attacks the cells in the pancreas, which are responsible for secreting insulin [3, 4]. After a short time, the production of insulin in the body is completely discontinued. Hence, in order keep the BG level within the normal range (70–140 mg/dl), the patients with T1D must be rely on exogenous insulin. The low BG level (<70 mg/dl), which known as hypoglycemia, in a short time can cause dizziness, unconsciousness, coma, and even death and therefore, it must be treated immediately. In addition, high BG levels (>180 mg/dl), which is called hyperglycemia, in the long term can cause chronic diseases including retinopathy, nephropathy, and neuropathy. Currently, there is no definitive treatment for T1D patients and therefore, it cannot be assured that their BG levels have remained permanently in the normal range. The automatic regulation of the BG level in T1D patients is one the most active fields of research. This technology requires at least three components: a sensor that continuously measures the BG levels; a controller which determines the insulin delivery rate to be injected into the body; and an infusion pump to inject the insulin.
To design effective and reliable controllers for an artificial pancreas, many mathematical models were developed in the literature [4, 5]. These models range from simple expressions, that are just related to glucose and insulin subsystems, to very complex mathematical models, which are used in simulators [6]. The most common of these models are Ackerman's linear model, Bergman's non‐linear model which known as minimal model, and Cobelli's model [4]. Based on these models, many methods from control engineering field were designed to regulate the BG concentration of diabetic patients to its normal range (proportional–integral–derivative (PID) control [7, 8], control [9, 10], model predictive control (MPC) [11–15], state‐dependent Riccati equation control [16, 17], adaptive control [18, 19], sliding mode control [20], error dynamics shaping [21], and switched linear parameter‐varying (LPV) controller [22]). Comprehensive surveys of the utilised controllers and their corresponding results can be found in [4–6, 23].
PID controllers are the most common examples of feedback control algorithms which have been used in many industrial processes. A PID controller or shortly a PID continuously calculates an error value as the difference between the measured process output and its desired value and applies the control input based on PID terms to bring the measured value back to its desired setpoint. The main reasons for the popularity of the PIDs are (i) availability of many different methods to tune their parameters without applying advanced mathematics; (ii) having acceptable performance; (iii) simplicity of their implementation. Due to these interesting properties, the PID controllers and their extensions were widely used in artificial pancreas [7, 8, 24–27]. For example, Palazzo and Viti simulated a PID controller using Bergman's model [24]. In [25], Chee et al. implemented a step‐wise PID controller on the critically ill patient population. Gupakumaram et al. implemented a PD controller that has a feed‐forward component. Steil et al. implemented a PID controller using an intravenous glucose sensor and an implanted insulin pump [7]. Marchetti et al. [8], simulated a PID controller with a time‐varying desired value for the BG level. Although these controllers led to some remarkable results, they are so sensitive to delay and therefore, delays in glucose sensing and insulin action affect the system performance [22]. Indeed, based on insulin levels, these delays might cause the system to both overshoot and, more importantly, undershoot. In these situations, oscillatory behaviours are observed in the BG concentration and severe hypoglycemia might occur [4, 13]. On the other hand, the presence of delays in subcutaneous BG measuring and administration of insulin is inevitable due to some technological/physiological problems.
In this paper, to use the above‐mentioned advantages of PID controllers in BG concentration control of T1D patients and to tackle the negative effects of the delays, a multiple PID controller is designed. To this end, a bank of five PID controllers is constructed based on some simple linear models of the glucose–insulin system around five different equilibrium points. These models are obtained using system identification techniques based on the result of some tests on average adult patient in UVA/Padova T1D simulator. It should be mentioned that for any operating points (OPs), the control objectives such as the required settling time and permissible bounds of overshoots and undershoots are determined to pay attention to some physiological facts such as the risk of hypoglycemia and severe hyperglycemia. On the other hand, to reduce the negative effects of the delays, a glucose‐dependent setpoint is considered for the BG concentration (). Indeed, instead of a constant value for which is generally about 120 mg/dl, a higher value is selected just after the meals. This value is decreased step by step until the BG concentration is regulated to the safe level. Note that the multiple PID controller is just designed for the average adult patient. Nevertheless, in silico experiments in the Food and Drug Administration (FDA)‐approved simulator (the UVA/Padova T1D simulator) show that this bank of PID controllers can be successfully applied to all ten adult patients with very limited hyperglycemia and no hypoglycemia. Comparison of the proposed multiple PID controller performance with two conventional PID controllers demonstrates that our designed controller is so effective. The obtained results are also compared with three recently designed controllers for T1D patients. In closing, it can be claimed that the PID controllers are still powerful enough to be used in an artificial pancreas provided that the proposed extensions are considered in its design procedure. The main contributions of this paper are as follows:
(i) The presence of non‐linear dynamics is considered to use a multiple‐model strategy.
(ii) The detrimental effects of time delays are reduced by considering a glucose‐dependent setpoint for the BG concentration.
(iii) Individualisation of the proposed method can also achieve better performance in the BG concentration control.
The rest of the paper is organised as follows. Section 2 presents the main steps of the multiple‐model controller design. In Section 3, in silico experiments using the UVA/Padova T1D simulator are presented as a first step to validate the proposed multiple‐model approach. Finally, the conclusions of the paper are discussed in Section 4.
2 Methods
2.1 Multiple‐model control
Multiple‐model methods are useful techniques developed to deal with non‐linear dynamics [28]. These methods have become one of the ideal candidates to handle strong non‐linear systems. They can also be used when the system either operates in a wide range of operation space or have large setpoint changes [28]. The main idea of these techniques is to represent a complicated non‐linear system by a combination of local linear subsystems and therefore, linear techniques can be utilised to design a global controller [29]. Therefore, a multiple‐model controller generally consists of two main parts; (i) a bank of controllers which usually contains linear controllers designed based on linear local models of the system; (ii) a decision rule to select one of the controllers in the bank. These methods were successfully applied in a wide variety of applications, such as the boiler‐turbine unit control [30] and the pH neutralisation reactor control [29].
Due to the non‐linear dynamics of the glucose–insulin regulatory system, it is obvious that a simple linear controller is not able to achieve acceptable performance of an artificial pancreas. Therefore, it is so crucial to consider these non‐linearities in the design procedure of the controller. Nevertheless, such a task needs to know a suitable non‐linear model of the patient's glucose–insulin dynamics. Even if complicated system identification techniques are employed to find these non‐linear dynamics, some other problems still remain. Uncertainties in the obtained model, negative effects of delays in the BG measuring and the administration of insulin, and complexity of the design procedure are some of these problems. In this paper, to consider the non‐linear dynamics of the glucose–insulin regulatory system, a multiple‐model PID (MMPID) controller is designed. Towards this end, the needed linear models for the multiple‐model controller are obtained in the next Section 2.2. Then, in Section 2.3, these models are used to design PID controllers to construct a multiple‐model controller. Finally, in Section 2.4, to reduce negative effects of delays in glucose sensing and insulin action, a glucose‐dependent setpoint is designed for the multiple‐model controller.
2.2 System identification
In formulating the problem of the number of local models, care should be taken in defining the operating spaces. In this paper, five regions are considered. Indeed, the range of the possible BG concentration (50–300 mg/dl) is divided into five regions with OPs , . The first one is associated with low BG concentration with OP and the range . The second region covers the desired range with OP . The third region is associated with acceptable range with OP . The high BG level is covered by the fourth region with OP . Finally, the fifth region is associated with very high BG concentration with OP and the range . Corresponding to these five regions, we conduct five experiments to construct a multiple‐model with five different transfer functions. To this end, for any OP, a proper value for the basal insulin dosage ( ) added by a zero‐mean exploration noise with small variance is delivered to the average adult patient in the UVA/Padova T1D simulator. Any experiment is conducted under fasting conditions for 120 min with sampling time 5 min. Then, sequences of the applied intravenous insulin rate and the intravenous BG concentration are used as the input/output data to identify a proper transfer function ( ) which is valid around the corresponding OP. In this step, MATLAB System Identification Toolbox is used to find these transfer functions. Using this toolbox, it is possible to build several types of mathematical models of dynamic systems using the system's input and output signals. In this paper, the least‐squares method is used to obtain a transfer function for any region. It is worth noting that a compromise between the accuracy of the identified models and their complexity should be made. Therefore, in the following, the second‐order transfer functions are utilised. Table 1 reports the obtained results of the identification step.
Table 1.
Results of the identification step
| BG range | OP, mg/dl | , U/h | Identified transfer function | ||||
|---|---|---|---|---|---|---|---|
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
It should be noted that these transfer functions are only identified for the average adult patient. Indeed, a bank of PID controllers is just designed based on these transfer functions and then, the multiple‐model controller is applied to all ten adult patients. Nevertheless, it is also possible to individualise this multiple‐model controller which leads to better performance in BG concentration control (see Section 3.4).
The intravenous insulin delivery rate and intravenous glucose measurements are used to take the identification step. In this situation, the negative effects of measurement noises on the identification results are negligible. While this is an invasive method, it is worth noting that these experiments are employed in short periods of time.
2.3 PID controllers design
In this subsection, for the transfer functions represented in Table 1, five PID controllers are designed. The continuous‐time causal form of the PID controller is used in our design as follows:
| (1) |
where P, I, and D are the PID gains, respectively. N is also the additional low‐pass filtering for the derivative. The robustness of these controllers is so crucial due to two reasons; (i) in our design, unannounced meals (time and CHO amount are unknown to the controller) are considered as external disturbances and therefore, the PID controllers should be tuned in such a way that the effects of meals on the BG regulation are attenuated; (ii) The resulted multiple‐model PID controller is designed based on the data obtained from the average adult patient and is applied to all the other ten patients. In addition to the robustness of the controllers, some other important performance indexes such as the settling time () and the maximum percentage of the overshoot () or undershoot () must be considered. For example, the postprandial hyperglycemia and hypoglycemia are related to and , respectively. As another example, the percentage of time spent in a special target depends on the settling time . Nevertheless, based on the range of the BG concentration, these control objectives have different weight in our design. For instance, for , a fast response without any undershoot is mandatory to avoid hypoglycemia. On the other hand, for the OPs , more attention must be paid to the maximum overshoot of the closed‐loop system to avoid any hyperglycemia. Table 2 summarises the importance of the above control objectives in the five regions defined in Section 2.1.
Table 2.
Control objectives in the five considered regions
| BG range |
|
|
|
|||
|---|---|---|---|---|---|---|
|
|
so fast ( ≤ 1 h) | not important | not allowed () | |||
|
|
normal ( ≤ 4 h) | not important | normal () | |||
|
|
normal ( ≤ 4 h) | normal () | not important | |||
|
|
fast ( ≤ 2 h) | small () | not important | |||
|
|
so fast ( ≤ 1 h) | not allowed () | not important |
There are also some rules of thumb to tune the parameters of the PID controllers with predictable results which can be used to achieve the control objectives summarised in Table 2. In closing, by increasing the proportional gain P, the settling time and the maximum percentage of the overshoot/undershoot are also generally increased [31]. While integral gain I has the same effects on , , and , the derivative part has generally reverse effects on these indexes. Keeping these facts in mind and using the PID Tuner in Simulink/MATLAB , it is possible to tune the PID controllers to achieve the control objectives reported in Table 2. The obtained results are represented in Table 3.
Table 3.
Results of the PID controllers design
| BG range | P | I | D | N | |
|---|---|---|---|---|---|
|
|
1.4900 | 0.0053 | 190.5706 | 0.4530 | |
|
|
0.9400 | 0.0013 | 350.5706 | 0.5551 | |
|
|
1.1100 | 0.0024 | 320.7161 | 0.5519 | |
|
|
1.8510 | 0.0043 | 168.6012 | 0.5365 | |
|
|
1.9200 | 0.0045 | 138.6127 | 0.5310 |
2.4 Glucose‐dependent setpoint design
As mentioned before, there are two major sources of time delays in a closed‐loop glucose–insulin regulatory system; a physiological delay (plasma to interstitial) and a technical one (subcutaneous BG measuring). These delays impose serious challenges in glucose control and if not managed properly, they can cause severe episodes of hypoglycemia [4, 13]. To reduce these negative effects of the delays and have acceptable closed‐loop performance, we consider a glucose‐dependent setpoint for the desired value of the BG concentration. The plot of the considered setpoint as a function of the BG is depicted in Fig. 1. As it can be seen from this figure, instead of a constant value for , a higher value is selected when the BG increases due to the meals. In these cases, the error between the BG concentration and its setpoint is not too much and therefore, less insulin is injected to the patient which leads to limited hypoglycemia during next hours. Let us explain this strategy by a numerical example. Assume at , the BG concentration is 215 mg/dl. If a constant desired trajectory is considered, for example , the error between and its desired value is 95 mg/dl. However, using the proposed glucose‐dependent setpoint depicted in Fig. 1, this error is 65 mg/dl. Paying attention to the values of the computed errors, less insulin is applied to the patient when the glucose‐dependent setpoint is used and hence, the risk of postprandial hypoglycemia is decreased. According to Fig. 1, by decreasing the BG concentration, its setpoint is also decreased step by step until the BG concentration is regulated to the safe level. On the other hand, for low values of the BG concentration which may cause severe hypoglycemia, this setpoint is increased and as a result, the injected insulin is reduced. In Section 3.3, performance of the closed‐loop system based on this strategy is compared with the system obtained by a constant setpoint. To sum up, it can be said that there are two feedback loops in our designed controller; (i) A feedback to select the setpoint of the BG concentration; (ii) A feedback to select the proper PID controller from the bank of controllers. Configuration of the proposed multiple‐model strategy is depicted in Fig. 2.
Fig. 1.

Graph of the desired value of the BG concentration
Fig. 2.

Configuration of the proposed multiple‐model PID controller with glucose‐dependent setpoint
3 Results
In this section, the closed‐loop performance of the proposed multiple‐model strategy is tested on the in silico adult cohort of the UVA/Padova metabolic simulator. The results are compared with three other recently published works in the field of our study. Positive effects of our main contributions, i.e. the ideas of the multiple‐model control and the glucose‐dependent setpoint, are investigated in Sections 3.2 and 3.3, respectively. Individualisation of the proposed controller is also studied in Section 3.4.
3.1 Multiple‐model PID control
All ten in silico adults of the UVA/Padova metabolic simulator are considered under the multiple‐model PID controller designed in Section 2. Continuous glucose monitoring (CGM) is used as the sensor and a generic continuous subcutaneous insulin infusion (CSII) pump is used to inject the insulin. Simulation scenarios with unannounced meals are investigated which are generally the most difficult cases because of the hyperglycemia and controller‐induced hypoglycemia [22]. Again, we should mention that the bank of the PID controllers is designed just based on the identified transfer functions obtained from the results of some tests on average adult patient. However, this multiple‐model controller is applied for all the other ten patients. It does not mean that the same exogenous insulin infusion rates are injected to all the patients. Indeed, the same controller is used for all of them. To compare the performance of the proposed multiple‐model PID controller with the recently published method in [22], two protocols are considered for the meals as their details are represented in Table 4. Hereafter, gCHO stands for grams of carbohydrates. Again, it should be mentioned that the information about the meals is not known to the controller. For these scenarios, the obtained graphs of the BG concentration are depicted in Figs. 3 a and c. The graphs of the corresponding insulin infusion rate are also shown in Figs. 3 b and d. As it can be seen from Figs. 3 a and c, the proposed multiple‐model strategy successfully regulates the BG to the safe level. The control variability grid analysis (CVGA) plots for the duration of the in silico evaluation (three days) are presented in Fig. 4. In addition, the CVGA plots in nighttime (midnight till 6:00 AM) are also presented in this figure, where the white circles and the red squares are related to the first and the second scenarios, respectively. As it can be seen from the plot of the overall CVGA, most of the closed‐loop responses are in the upper B‐zone which is mainly because of the unannounced meals. However, their nighttime counterparts are completely in the A‐zone. For the purpose of comparison, some important indexes are extracted for the proposed method and the method applied in [22]. The results are summarised in Table 5 for both scenarios. For any index, if there is a considerable difference between the controllers, the value of the better controller is specified with bold. From these results and ones depicted in Figs. 3 and 4, it can be concluded that the performance of the proposed multiple‐model controller is remarkable albeit the utilised controller is not individualised.
Table 4.
Meal time‐meal amount – three days scenarios
| Breakfast 1 | Lunch 1 | Dinner 1 | Breakfast 2 | Lunch 2 | Dinner 2 | Breakfast 3 | Lunch 3 | Dinner 3 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | Time | gCHO | |
| Scn 1 | 7 AM | 50 | 2 PM | 60 | 8 PM | 50 | 6 AM | 50 | 1 PM | 70 | 7 PM | 50 | 7 AM | 50 | 1 PM | 65 | 9 PM | 55 |
| Scn 2 | 7 AM | 50 | — | — | 8 PM | 60 | — | — | 12 PM | 55 | 9 PM | 50 | 7 AM | 50 | 2 PM | 55 | 8 PM | 50 |
Fig. 3.

Graphs of the BG concentration and insulin infusion rate
(a), (b) BG concentration for in silico adults: scenario 1, (c), (d) BG concentration for in silico adults scenario 2
Fig. 4.

Plots of CVGA for the overall duration of the in silico evaluation and nighttime: the white circles and the red squares are related to the first and the second scenarios, respectively
Table 5.
Results obtained simulating two scenarios: the MMPID controller and the switched LPV control proposed in [22], where O is overall, N is night, PP is postprandial period which is defined as the 6 h time interval following the start of a meal, is the percentage of time spent in target (70–180 mg/dl), is the percentage of time spent above 180 mg/dl, is the percentage of time spent below 70 mg/dl
| Control strategy | Scenario 1 | Scenario 2 | ||||||
|---|---|---|---|---|---|---|---|---|
| O | N | PP | O | N | PP | |||
| mean, mg/dl | MMPID | 135 | 116 | 163 | 131 | 120 | 164 | |
| LPV | 134 | 101 | 162 | 134 | 114 | 159 | ||
| max, mg/dl | MMPID | 216 | 125 | 216 | 202 | 145 | 202 | |
| LPV | 220 | 113 | 223 | 207 | 153 | 213 | ||
| min, mg/dl | MMPID | 97 | 105 | 101 | 101 | 109 | 108 | |
| LPV | 90 | 98 | 92 | 96 | 98 | 103 | ||
|
|
MMPID | 90.2 | 99.6 | 67.4 | 92.2 | 100.0 | 65.3 | |
| LPV | 83.3 | 99.5 | 67.5 | 86.7 | 99.3 | 71.2 | ||
|
|
MMPID | 9.7 | 0.4 | 32.5 | 7.7 | 0.0 | 33.6 | |
| LPV | 16.5 | 0.0 | 32.5 | 13.3 | 0.7 | 28.8 | ||
|
|
MMPID | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | |
| LPV | 0.2 | 0.6 | 0.0 | 0.0 | 0.1 | 0.0 | ||
As mentioned in the introduction, MPC techniques were widely used to regulate the BG concentration of diabetic patients to the normal range. Therefore, in the rest of this subsection, the performance of the proposed multiple‐model PID controller is compared with two MPC‐based controllers designed in [32]. For the same scenarios with meal times and meal amounts gCHO, some important indexes for these three controllers are represented in Table 6. As it can be seen, in many performance indexes, the proposed multiple‐model controller is better than the MPC‐based ones. Nevertheless, since our proposed controller is with unannounced meals, the MPC‐based controllers lead to better values for some indexes just during the postprandial periods.
While bi‐hormonal (insulin and glucagon) artificial pancreas systems are also considered in some studies (see e.g. [33]), due to medical efficacy and technological feasibility, single hormone artificial pancreas systems are usually used where their actuation is only the insulin infusion. In this paper, a single artificial pancreas system is designed and therefore, no insulin is injected by the pump to the patient if the computed control action is negative.
Table 6.
Comparison among the MMPID controller and two MPC techniques proposed in [32], where is the percentage of time spent in the tight target (80–140 mg/dl) and is the percentage of time spent <50 mg/dl
| Control strategy | O | N | PP | ||
|---|---|---|---|---|---|
| mean, mg/dl | MMPID | 134.75 | 113.81 | 169.19 | |
| MPC1 | 140.74 | 124.42 | 156.30 | ||
| MPC2 | 139.57 | 115.96 | 157.78 | ||
|
|
MMPID | 87.35 | 100.00 | 58.84 | |
| MPC1 | 86.33 | 99.02 | 76.22 | ||
| MPC2 | 87.64 | 99.81 | 77.22 | ||
|
|
MMPID | 70.10 | 99.93 | 26.43 | |
| MPC1 | 52.69 | 82.07 | 32.02 | ||
| MPC2 | 59.01 | 94.69 | 32.54 | ||
|
|
MMPID | 12.65 | 0.00 | 41.16 | |
| MPC1 | 12.45 | 0.78 | 23.18 | ||
| MPC2 | 12.31 | 0.19 | 22.78 | ||
|
|
MMPID | 0.00 | 0.00 | 0.00 | |
| MPC1 | 1.23 | 0.2 | 0.6 | ||
| MPC2 | 0.05 | 0.00 | 0.00 | ||
|
|
MMPID | 0.00 | 0.00 | 0.00 | |
| MPC1 | 0.49 | 0.01 | 0.26 | ||
| MPC2 | 0.00 | 0.00 | 0.00 |
3.2 Multiple‐model versus single‐model
In this subsection, positive effects of the utilised system identification technique, i.e. the multiple‐model strategy, are investigated. Towards this end, the first scenario in Table 4 is repeated for all the in silico adult cohort of the UVA/Padova metabolic simulator. However, in the current study, a single PID controller is used to calculate the insulin injection rate. Indeed, we only use the second PID controller designed in Section 2.3. The main reason for this selection is that its corresponding OP is in the tight target (80–140 mg/dl). Fig. 5 shows the graphs of the BG concentration for all the patients. It should be mentioned that to have a fair comparison, the glucose‐dependent setpoint is also used in this simulation. By comparing Figs. 3 a with 5, it can be said that while the multiple‐model strategy is so successful, the performance of the single‐model method is not acceptable and severe hypoglycaemic events are observed in some patients.
Fig. 5.

Graphs of the BG concentration when a single‐model PID controller is used
3.3 Effects of the glucose‐dependent setpoint
As mentioned before, the main reason for using a glucose‐dependent setpoint for the BG concentration is to reduce the negative effects of the delays. To investigate this issue, for all the in silico adult cohort of the UVA/Padova metabolic simulator, the first scenario in Table 4 is repeated. Nevertheless, a constant setpoint is used as the desired value of the BG concentration. Note that in the current study, the utilised controller is the multiple‐model PID controller designed in Section 2.3. Graphs of the BG concentration for all the patients are depicted in Fig. 6. By comparing this figure with Fig. 3 a, it can be seen that while the glucose‐dependent setpoint strategy is successful, the observed hypoglycemia resulted by using the constant setpoint is not acceptable. One might think that the hypoglycemia could be limited by increasing the value of the constant setpoint. However, in such a case, long‐term hyperglycemia could occur.
Fig. 6.

Graphs of the BG concentration when the constant setpoint Gd = 130 (mg/dl) is used
3.4 Individualisation of the multiple‐model PID controller
In Fig. 3 a, the closed‐loop BG of the adult patient # 6 under the previous multiple‐model PID controller is depicted with the dashed line. From this figure, it can be seen that the second overshoot of this patient is high and therefore, in this subsection, a multiple‐model PID controller is designed for this patient. To this end, the system identification step is repeated based on the data obtained from the tests on this patient. Then, the PID bank is redesigned using the updated transfer functions. For brevity, we only present the closed‐loop BG of this patient when he/she is under its individualised controller and the first scenario in Table 4 is considered. The obtained results are depicted in Fig. 7, where the solid line shows the patient's BG concentration and the dashed line shows the CGM measurements. This figure demonstrates that the individualisation of the controller leads to 41 mg/dl reduction of the maximum overshoot of the BG. In addition, while the measured BG has a large delay and spoiled with noise, the closed‐loop response is completely acceptable. Note that it is possible to repeat this individualisation procedure for all the other patients.
Fig. 7.

Results of individualisation of the proposed control strategy for the patient # 6
4 Conclusions
In this paper, a closed‐loop method for subcutaneous insulin delivery in T1D has been proposed based on the multiple‐model strategy. Two major issues have been considered in our control design; (i) Non‐linear dynamics of the glucose–insulin regulatory system; (ii) Delays in subcutaneous BG measuring and in the administration of insulin. The first issue has been addressed using a multiple‐model strategy by identifying the system around five OPs. It should be noted that this identification step has been just done on average adult patient in UVA/Padova T1D simulator. A bank of PID controllers has been constructed based on the identified transfer functions. For any OP, different control objectives have been followed paying attention to some physiological constraints such as the risk of hypoglycemia. For the second issue, a glucose‐dependent set‐point has been considered to reduce the negative effects of delays. The performance of the proposed multiple‐model strategy has been evaluated in silico and the obtained results have been compared with some other closed‐loop methods for insulin delivery in T1D. In silico results have been promising in terms of mean glucose, time in target, and the number of patients in the critical zone of the CVGA. Individualisation of the proposed method has been also investigated to achieve better performance. The promising results are so encouraging and the proposed artificial pancreas system is worthy to be tested in‐vivo.
5 References
- 1. Huard B. Bridgewater A., and Angelova M.: ‘Mathematical investigation of diabetically impaired ultradian oscillations in the glucose–insulin regulation’, J. Theor. Biol., 2017, 418, pp. 66–76 [DOI] [PubMed] [Google Scholar]
- 2. Gan D.: ‘IDF Diabetes Atlas ‐ 8th Edition’, International Diabetes Federation, Brussels, Belgium, 2017. [Google Scholar]
- 3. Goede S.L. de Galan B.E., and Leow M.K.S.: ‘Personalized glucose‐insulin model based on signal analysis’, J. Theor. Biol., 2017, 419, pp. 333–342 [DOI] [PubMed] [Google Scholar]
- 4. Chee F., and Fernando T.: ‘Closed‐loop control of blood glucose. Lecture notes in control and information sciences’ (Springer, Berlin, Heidelberg, 2007) [Google Scholar]
- 5. Bondia J. Romero‐Vivo S., and Ricarte B. et al.: ‘Insulin estimation and prediction: A review of the estimation and prediction of subcutaneous insulin pharmacokinetics in closed‐loop glucose control’, IEEE Control Syst., 2018, 38, (1), pp. 47–66 [Google Scholar]
- 6. Cobelli C. Dalla Man C., and Sparacino G. et al.: ‘Diabetes: models, signals, and control’, IEEE Rev. Biomed. Eng., 2009, 2, pp. 54–96 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Steil G.M. Rebrin K., and Darwin C. et al.: ‘Feasibility of automating insulin delivery for the treatment of type 1 diabetes’, Diabetes, 2006, 55, (12), pp. 3344–3350 [DOI] [PubMed] [Google Scholar]
- 8. Marchetti G. Barolo M., and Jovanovič L. et al.: ‘A feedforward–feedback glucose control strategy for type 1 diabetes mellitus’, J. Process Control, 2008, 18, (2), pp. 149–162 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Femat R. Ruiz‐Velázquez E., and Quiroz G.: ‘Weighting restriction for intravenous insulin delivery on T1DM patient via H1 control’, IEEE Trans. Autom. Sci. Eng., 2009, 6, (2), pp. 239–247 [Google Scholar]
- 10. Colmegna P. Pena R.S.S., and Gondhalekar R. et al.: ‘Reducing risks in type 1 diabetes using H1 control’, IEEE Trans. Biomed. Eng., 2014, 61, (12), pp. 2939–2947 [DOI] [PubMed] [Google Scholar]
- 11. Messori M. Kropff J., and Del Favero S. et al.: ‘Individually adaptive artificial pancreas in subjects with type 1 diabetes: a one‐month proof‐of‐concept trial in free‐living conditions’, Diabetes Technol. Ther., 2017, 19, (10), pp. 560–571 [Google Scholar]
- 12. Soru P. De Nicolao G., and Toffanin C. et al.: ‘MPC based artificial pancreas: strategies for individualization and meal compensation’, Annu. Rev. Control, 2012, 36, (1), pp. 118–128 [Google Scholar]
- 13. Schaller S. Lippert J., and Schaupp L. et al.: ‘Robust PBPK/PD‐based model predictive control of blood glucose’, IEEE Trans. Biomed. Eng., 2016, 63, (7), pp. 1492–1504 [DOI] [PubMed] [Google Scholar]
- 14. Del Favero S. Bruttomesso D., and Di Palma F. et al.: ‘First use of model predictive control in outpatient wearable artificial pancreas’, Diabetes Care, 2014, 37, (5), pp. 1212–1215 [DOI] [PubMed] [Google Scholar]
- 15. Wang Y. Dassau E., and Doyle F.J. III: ‘Closed‐loop control of artificial pancreatic at‐cell in type 1 diabetes mellitus using model predictive iterative learning control’, IEEE Trans. Biomed. Eng., 2010, 57, (2), pp. 211–219 [DOI] [PubMed] [Google Scholar]
- 16. Batmani Y.: ‘Blood glucose concentration control for type 1 diabetic patients: a non‐linear suboptimal approach’, IET Syst. Biol., 2017, 11, (4), pp. 119–125 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Khodakaramzadeh S. Batmani Y., and Meskin N.: ‘Automatic blood glucose control for type 1 diabetes: A trade‐off between postprandial hyperglycemia and hypoglycemia’, Biomed. Signal Proc. Control, 2019, 54, p. 101603 [Google Scholar]
- 18. Schaller H. Schaupp L., and Bodenlenz M. et al.: ‘On‐line adaptive algorithm with glucose prediction capacity for subcutaneous closed loop control of glucose: evaluation under fasting conditions in patients with type 1 diabetes’, Diabetic Med., 2006, 23, (1), pp. 90–93 [DOI] [PubMed] [Google Scholar]
- 19. El‐Khatib F.H. Jiang J., and Damiano E.R.: ‘Adaptive closed‐loop control provides blood‐glucose regulation using dual subcutaneous insulin and glucagon infusion in diabetic swine’, J. Diabetes Sci. Technol., 2007, 1, (2), pp. 181–192 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Kaveh P., and Shtessel Y.B.: ‘Blood glucose regulation using higher‐order sliding mode control’, Int. J. Robust Nonlinear Control, 2008, 18, (4–5), pp. 557–569 [Google Scholar]
- 21. Cormerais H., and Richard P.‐Y.: ‘Artificial pancreas for type 1 diabetes: closed‐loop algorithm based on error dynamics shaping’, J. Process Control, 2012, 22, (7), pp. 1219–1227 [Google Scholar]
- 22. Colmegna P.H. Sánchez‐Peña R.S., and Gondhalekar R. et al.: ‘Switched LPV glucose control in type 1 diabetes’, IEEE Trans. Biomed. Eng., 2016, 63, (6), pp. 1192–1200 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Lunze K. Singh T., and Walter M. et al.: ‘Blood glucose control algorithms for type 1 diabetic patients: A methodological review’, Biomed. Signal Proc. Control, 2013, 8, (2), pp. 107–119 [Google Scholar]
- 24. Palazzo P., and Viti V.: ‘A new glucose‐clamp algorithm‐theoretical considerations and computer simulations’, IEEE Trans. Biomed. Eng., 1990, 37, (5), pp. 535–543 [DOI] [PubMed] [Google Scholar]
- 25. Chee F. Fernando T.L., and Savkin A.V. et al.: ‘Expert PID control system for blood glucose control in critically ill patients’, IEEE Trans. Inf. Technol. Biomed., 2003, 7, (4), pp. 419–425 [DOI] [PubMed] [Google Scholar]
- 26. Gopakumaran B. Duman H.M., and Overholser D.P. et al.: ‘A novel insulin delivery algorithm in rats with type 1 diabetes: the fading memory proportional‐derivative method’, Artif. Organs, 2005, 29, (8), pp. 599–607 [DOI] [PubMed] [Google Scholar]
- 27. Marchetti G. Barolo M., and Jovanovic L. et al.: ‘An improved PID switching control strategy for type 1 diabetes’, IEEE Trans. Biomed. Eng., 2008, 55, (3), pp. 857–865 [DOI] [PubMed] [Google Scholar]
- 28. Song C. Wu B., and Zhao J. et al.: ‘An integrated state space partition and optimal control method of multi‐model for nonlinear systems based on hybrid systems’, J. Process Control, 2015, 25, pp. 59–69 [Google Scholar]
- 29. Galan O. Romagnoli J.A., and Palazoglu A.: ‘Real‐time implementation of multi‐linear model‐based control strategies–an application to a bench‐scale ph neutralization reactor’, J. Process Control, 2004, 14, (5), pp. 571–579 [Google Scholar]
- 30. Jalali A.A., and Golmohammad H.: ‘An optimal multiple‐model strategy to design a controller for nonlinear processes: A boiler‐turbine unit’, Comput. Chem. Eng., 2012, 46, pp. 48–58 [Google Scholar]
- 31. Åström K.J., and Hägglund T.: ‘PID controllers: theory, design, and tuning’, vol. 2, (Instrument Society of America Research Triangle Park, NC, 1995) [Google Scholar]
- 32. Toffanin C. Messori M., and Di Palma F. et al.: ‘Artificial pancreas: model predictive control design from clinical experience’, J. Diabetes Sci. Technol., 2013, 7, pp. 1470–1483 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Boiroux D. Bátora V., and Hagdrup M. et al.: ‘Adaptive model predictive control for a dual‐hormone artificial pancreas’, J. Process Control, 2018, 68, pp. 105–117 [Google Scholar]
