Diabetes mellitus type 1 occurs when β - cells in the pancreas are destroyed by the immune system. As a result, the pancreas cannot produce adequate insulin, and the glucose enters the cells to produce energy. To elevate the glycaemic concentration, sufficient amount of insulin should be taken orally or injected into the human body. Artificial pancreas is a device that automatically regulates the level of body insulin by injecting the requisite amount of insulin into the human body. A finite-time robust feedback controller based on the Extended Bergman Minimal Model is designed here. The controller is designed utilizing the backstepping approach and is robust against the unknown external disturbance and parametric uncertainties. The stability of the system is proved using the Lyapunov theorem. The controller is exponentially stable and hence provides the finite-time convergence of the blood glucose concentration to its desired magnitude. The effectiveness of the proposed control method is shown through simulation in MATLAB/Simulink environment via comparisons with previous studies.
Diabetes mellitus type 1 occurs when β - cells in the pancreas are destroyed by the immune system. As a result, the pancreas cannot produce adequate insulin, and the glucose enters the cells to produce energy. To elevate the glycaemic concentration, sufficient amount of insulin should be taken orally or injected into the human body. Artificial pancreas is a device that automatically regulates the level of body insulin by injecting the requisite amount of insulin into the human body. A finite-time robust feedback controller based on the Extended Bergman Minimal Model is designed here. The controller is designed utilizing the backstepping approach and is robust against the unknown external disturbance and parametric uncertainties. The stability of the system is proved using the Lyapunov theorem. The controller is exponentially stable and hence provides the finite-time convergence of the blood glucose concentration to its desired magnitude. The effectiveness of the proposed control method is shown through simulation in MATLAB/Simulink environment via comparisons with previous studies.
Diabetes type 1 is a fatal and acute disease caused either by the inability of the body to produce insulin or impaired insulin functioning, or both. It is well known that beta cells in the pancreas are the main source of insulin production.Diabetes is increasing at a high rate. The International Diabetes Federation announced the number of diabetes patients in 2013 about 381 million in the world. According to World Health Organization (WHO), this number was increased to 422 million patients by 2014 [1]. Comparing this number with 108 million patients in 1980, it can be stated that diabetes prevalence has been doubled in adults during these years.In 2012, diabetes was announced as the main factor of 1.5 million deaths out of 3.7 million [1]. According to CDC, in 2017, about 30.3 million people in the United States have diabetes which costs 327 billion dollars. Consequently, diabetes is considered a fatal disease and causes economic burden [2].The tolerable range of glucose in the blood for non‐diabetics is 70–130 mg/dl. This range is known as the euglycemic range [3, 4]. In hypoglycaemia, the glucose level falls under normal level, while in hyperglycaemia, the glucose is above the normal level. There are two categories of diabetes mellitus: type 1 diabetes, insulin‐dependent, is hyperglycaemia that occurs due to the destruction of beta cells in the pancreas or the failure of insulin excretion. Type 2 diabetes, which is non‐insulin‐dependent, occurs due to a chronic condition in which glucose level builds up into the bloodstream due to the abnormalities of insulin functions [5].Uncontrolled diabetes, when lasts for a long time, may cause deep‐rooted damages to the kidneys, heart, blood vessels, nerves [5]. Consequently, it is necessary to control blood glucose to prevent severe injuries to the body.In type 1 diabetes, the infusion of exogenous insulin is mandatory for stabilizing the glucose level, while in type 2 diabetes, the glucose level is controlled through proper medications. The insulin injection comprises the discrete‐time measurement of glycaemic concentration and exogenous injection of insulin bolus into the patient's body. Injection therapy is quite a troublesome process in which the patient has to empirically estimate the amount of required insulin and tolerate it several times a day through skin penetration.This method of controlling diabetes is somehow open loop. Since in an open‐loop controlled system, the controller does not know the level of insulin in the blood at any time, hence any disturbance that occurs during infusions, such as the meal intake and the rate of activation, may make the system unstable. Consequently, this method is not a precise way to stabilize the blood glucose level due to its inability to achieve the desired BGC.In the feedback control method, unlike open‐loop one, the controller measures the blood insulin level at each instant, and the control command is designed properly as a function of the deviation of the blood glucose‐insulin level from its desired magnitude.It is well known that one of the advantages of a feedback controlled system is its intrinsic robustness against external disturbance and uncertainties. Consequently, a feedback control method for controlling the level of blood glucose by online feedback from continuous glucose monitoring (CGM) is of the prime interests. The emerging solution is an automated closed‐loop insulin delivery system termed an artificial pancreas (AP) [6, 7].AP is a closed‐loop feedback control system that includes three individual subsystems [8]: CGM, controller, and insulin pump. The schematic of the AP mechanism is illustrated in Figure 1.
FIGURE 1
Closed‐loop artificial pancreas controlled system
Closed‐loop artificial pancreas controlled systemThe CGM system continuously measures the insulin level, and these sensory data are then used as feedback to the controller to stabilize the system. The controller then actuates the insulin pump to inject the requisite insulin to control the blood glucose level.To provide the continuous measurement of blood insulin with discontinuous time interval samples, the MMTT (Mixed Meal Tolerance Test), IVGTT (Intravenous Glucose Tolerance Test), and OGTT (Oral Glucose Tolerance Test) mentioned in [9] can be utilized. Stability represents the main criteria that should be considered in designing control systems. Besides stability, three main factors used to compare and evaluate the performance of the control systems are transient time, overshoot, and steady‐state error.The controller design for the AP is a challenging task due to external perturbation and various parametric variations during medication that causes the escalation of BGC in a realistic environment. This perturbation may be caused by meal intake or by burning sugar as a physical exercise. The above challenges are considered as a significant impediment in controller design for the AP mechanism. The type 1 diabetic patient can be modelled in state space by the EBMM (extended Bergamn's minimal model) [10, 11].In [12, 13, 14, 15, 16, 17], linear control techniques are applied to design AP controlled system. In [12, 13, 14], PID controller is designed for AP systems to minimize steady‐state errors. However, the PID controller cannot deal with the non‐linearities that exist in the EBMM. In [15, 16], fuzzy logic approach is applied to control blood glucose. The fuzzy logic control approach is a rule‐based algorithm that depends on crisp input data designed by experts.The fuzzy approach is computationally very costly and does not consider the non‐linear nature of the EBMM. In [17], an LQR algorithm is applied to design a controller for type 1 diabetic patients.The glucose‐insulin dynamics are non‐linear, and hence utilizing a linear controller for non‐linear systems may degrade the controller's performance and may even destabilize the system. To stabilize the non‐linear system, non‐linear control algorithms are a better choice.In [18], the feedback stabilization approach is utilized to control AP; however, the stability of internal dynamics was not confirmed. In [19, 20, 21, 22], the sliding mode control (SMC) approach is utilized to design robust controllers for AP systems in the presence of uncertainties and disturbance. However, the SMC suffers from chattering, which may result in aggressive exogenous insulin infusions leading to hypoglycemia.In [23, 24], the fuzzy logic is combined with the SMC to control AP. However, these methods required a long settling time, and in an uncertain environment the control performance degraded and the controller suffers from chattering.In [25], the control approach is presented based on the states‐dependent Riccati equation approach. However, the controller provides acceptable results around the equilibrium and cannot provide satisfactory performance in a realistic environment.In [26], a non‐linear backstepping (BS) controller has been designed for Bergman's minimal model (BMM). In BMM, the effect of disturbance is not considered. The controller ensures boundedness of state errors, and in simulation results, there exists some steady‐state error. In [27], a controller is designed for EBMM based on the BS approach. BS is a recursive feedback control approach for the stabilization of a non‐linear system [28]. The controllers designed based on the BS approach require the knowledge of external disturbance and result in bounded tracking error. Moreover, the integral action is integrated with the BS technique to reduce the steady state error.In [3], an observer‐based robust controller is designed to control the blood glucose in the presence of disturbance. The controller is designed utilising the LMI approach, and the controller only ensures the boundedness of the BGC to the attractive ellipsoid.In [10, 29], the approach is utilized to design robust controllers for AP systems. However, controllers are of high order and fragile. In [30], the BMM is linearized at specified points, and the gain scheduling control technique is utilized to design a controller for the AP system. However, the controller only ensures local convergence.In [31], a novel observer‐based non‐linear controller has been designed for EBMM. Both the observer and controller were designed in an LMI framework using feedback linearization and regional pole placement technique. The control gain was supposed to satisfy the LMI condition. Even though the system parameters were required to be known for satisfaction of the LMI condition. However, the robustness of the system to the specified range of parameter variation was shown iteratively.In [32], the non‐linear neural network SMC method was proposed for robotic systems. The controller provided bounded tracking error in the presence of uncertainties.In this manuscript, a variable structure robust controller is designed based on the BS approach for EBMM. Recursive BS is an applicable methodology that combines the selection of a Lyapunov function with the design of a feedback system. In this methodology, a design problem for the full system is divided into a series of subsystems with lower‐order (even scalar) that enables the BS technique for solving stabilization problems with fewer conditions than those faced in other approaches.The controller ensures the exponential stability of the system, which enables us to control the convergence rate of BGC in the presence of time‐varying parametric uncertainties (intra‐patient variability) as well as exogenous meal disturbance. The main novelties of the proposed control method are as follows:Unlike [12, 13, 14, 15, 16, 17] in which AP controlled system were designed utilizing linear control techniques, the controller is designed utilizing non‐linear control techniques in this study, and hence the exponential stability of the system is proved mathematically using the Lyapunov theorem.The controller is designed through the BS approach, and hence we control all the states regarding the EBMM. Consequently, unlike [18], the instability of the internal dynamics does not happen using the proposed approach.The controller is robust against external disturbance and uncertainties in system parameters. Unlike [28] that required the knowledge of disturbance as an auxiliary state, the proposed control method does not require any knowledge about the disturbance.Unlike [26, 27, 28] that provided boundedness of system states, the proposed controller ensures the exponential stability of the system, and consequently, the converging time of the system errors can be controlled by adjusting the control gains properly.Unlike [31], the proposed controller does not require solving an LMI condition to compute the control gain. Moreover, the performance of the system in tracking the desired trajectory is better, since the proposed controller ensures exponential stability in the presence of uncertainties and external disturbance. However, in [31], the system states are estimated through an observer.Finally, control variability grid analysis (CVGA) of 150 virtual T1D patients under the proposed control law is carried out for the evaluation of the efficacy as well as verification of the reliability and robustness of the proposed control technique.The rest of the study is organized as follows: In Section 2, the system is modelled in the state space, and the controller and the system errors are presented in Section 3. In Section 4, the stability of the system is analysed utilizing the Lyapunov theorem. In Section 5, the simulation results are presented, and some concluding results are presented in Section 6.
MATHEMATICAL MODELLING
In this section, the system modelling is presented in state space. Bergman modelled the type 1 diabetes mellitus by a three‐state non‐linear mathematical model [10]:
where represent, respectively, the glucose concentration, remote insulin concentration, and plasma insulin concentration, and the control input is external insulin infusion rate and represents the meal disturbance. All other parameters with their values used for simulation purposes have been listed in Table 1. The effect of meal disturbance in this model is considered to be constant.
TABLE 1
System parameters
Parameters
Values
Glucose effectiveness factor (p1)
0min−1
Delay in insulin actions (p2)
0.025min−1
Patient parameters (p3)
0.000013mUL−1min−2
Insulin degradation rate (p4)
0.021min−1
Meal disturbance (p5)
0.05min−1
Basal plasma insulin (Ib)
4.5mUL−1
Basal plasma glucose (Gb)
4.5mMolL−1
In [11, 22], the EBMM is proposed, which incorporates the meal disturbances as a dynamical state changing with respect to time (here defined by ):The EBMM is more realistic compared with the BMM [11].
CONTROLLER DESIGN
In this section, the control objectives are presented, and afterwards, the error systems are presented, and the controller is presented in the form of Theorem 1.
Control objectives
Conventionally, the level of blood glucose in diabetic patients is maintained in the normal range by manual insulin intake. However, this method is not feasible during sleeping hours and is not precise. The artificial pancreas is the method that regulates BGC to its normal magnitude by automatic injection of the required insulin in the body. In AP systems, blood sugar level is monitored by sensors, and these sensory data are then used as feedback to the controller. The controller calculates the amount of required insulin and guides the insulin pump to inject that amount of insulin into patients' body.Since the model calculated by Equations (2a)–(2d) are non‐linear; hence non‐linear control methods should be utilized to ensure the global stability of the system.In this study, the BS approach is utilized to design the controller. Recursive BS is an applicable methodology that combines the selection of a Lyapunov function with the feedback system design. The controller is robust against parametric uncertainties and meal disturbance. The stability of the system is shown utilizing the Lyapunov theorem.
Error systems and controller design
Let be calculated by
where the constant represents the reference magnitude of the blood glucose concentration.Differentiating Equation (3) with respect to time and substituting Equation (2a) in the result, we obtain
where the constant reference represents the desired magnitude of insulin in the blood.Let the error be calculated by
where
and the positive constant is the control gain. Considering definitions (3) and (5), Equation (4) can be rewritten asConsidering Equation (7), the variable can be represented as the guiding variable to control the state .Substituting Equation (6) in Equation (7), we obtainDifferentiating definition (5) with respect to time, we obtainSubstituting Equations. (2a) and (2b) in Equation (9), we obtainLet us define
where
and the positive constants are control gains.Considering definition (11), Equation (10) can be rewritten asConsidering Equation (13), it can be stated that represents as the governing variable to control the state .In Appendix A, it is shown that the dynamic equation governing is calculated byDifferentiating Equation (11) with respect to time, we obtainSubstituting Equations (2a) and (2c) in Equation (15), we obtainConsidering Equation (16), the term can be regarded the governing variable to control the state . Consequently, the control input should be designed such that the error tends to zero.The controller calculated by Equation (17) asymptotically stabilizes the system calculated by Equations (2a)–(2d).whereIn Appendix B, it is shown that the dynamic governing error is calculated by
STABILITY ANALYSIS
The stability of the system is analysed in this section utilizing the Lyapunov theorem.Consider the following PD Lyapunov function
whereDifferentiating Equation (20) with respect to time, we obtainSubstituting Equations (8), (14), and (19) in Equation (22), we obtainConsidering that for any arbitrary function such as , , we haveConsidering Equation (24), we can simplify Equation (23) to obtainConsidering Equation (2d), we obtainConsequently, we obtainFrom Equation (27), it can be stated that if the control gains are selected such that
then we have
where are positive constants. Consequently, we obtain
where .Considering Equation (20), we haveConsidering Equation (31), the Equation (30) can be rewritten asIntegrating both sides, we obtain
we obtainConsequently, we haveConsidering Equation (31), we haveConsequently, it can be stated that the errors exponentially converge to zero.Remark: From Equation (36), it can be easily observed that the convergent rate of system errors can be controlled by increasing the magnitude of control gains.
SIMULATION RESULTS
In this section, to evaluate the theoretical results, the performance of the proposed controllers given by Equation (17) for glycaemic regulation in T1D patients in the presence of a high initial meal disturbance is shown in MATLAB/Simulink software. The results are compared with the PID and BS controller proposed in [27].The proposed controller is simulated for the system that is subjected to time‐varying uncertain external meal disturbances calculated by Equation (2d), known as Fisher's meal disturbance, considering that (i) the BGC must not fall below the severe hypoglycemic level (), (ii) the BGC must not rise the post‐prandial hyperglycemia level in the presence of external meal disturbance (iii) the control signal should be non‐negative.Similar to [18, 19], the initial conditions of plasma glucose‐insulin are supposed for a patient in the state of hyperglycaemia as
. As mentioned previously, the BGC level for a healthy person should be 70–180 mg/dl. In the simulation, the reference range for BGC is considered to be and the controller is designed to regulate the system BGC to the reference level by the intravenous injection of insulin. The system parameters utilized for the simulation purpose are mentioned in Table 1, and the control gains are presented in Table 2. The results are compared with the PID and the BS controller proposed in [27]. The same data set has been chosen for each simulation to make the results comparable with each other.
TABLE 2
Controller gains
Control gains
Values
k1s
0.03
k1
0.01
k2s
0.03
k2
0.03
k3s
0.03
k3
0.07
System parametersController gainsThe time history of BGC is shown in Figure 2, in which the result of the proposed controller is compared with those of the PID and BS controller proposed in [27], in the presence of Fisher's meal disturbance. The x‐axis represents the time in seconds, and the y‐axis the BGC in mg/dl. The comparisons verify that the PID controller undergoes an oscillatory response with larger undershoots/overshoots, has a very large settling time, and has some steady‐state error in comparison. The BS controller response is faster compared with the PID controller. However, the BS controller ensures boundedness of system error, and moreover, the PID and BS controllers require the measurement of external disturbance. As the proposed controller provides exponential stability of the system, the rate of convergence utilising the proposed control method can be controlled, and hence the controller has a very low settling time.
FIGURE 2
Time history of blood glucose level
Time history of blood glucose levelThe comparisons verify the improvement made by the proposed controller even in the presence of unknown dynamical meal disturbances. So it can be clearly observed that the performance of the PID and BS controller is not satisfactory when compared with the proposed controller in terms of oscillations, steady‐state error, undershoots/overshoots, and convergence time.Figure 2 shows that the proposed controller effectively monitors and tracks the reference level of BGC for the data of three patients very nicely without undergoing chattering and steady‐state errors.It is worth noting that the controller proposed in [27] required the knowledge of the disturbance meal (here denoted by ), and provided boundedness of the system errors. In this study, the controller ensures exponential stability of the system without requiring the knowledge of the external disturbance.Figure 3 demonstrates the required insulin that should be injected as the control input. As shown in Figure 3, the first pulse in the control signal causes the BGC to fall from higher to a lower level, and then another pulse is injected by the controller to achieve the reference position. The insulin infusion rate is diminished as the BGC approaches the reference level of 80 mg/dl.
FIGURE 3
Time history of the proposed control signal
Time history of the proposed control signalThe results of the proposed controller and the PID and BS controllers presented in [27] are compared in Table 3. From the results, it can be observed that the settling time has been improved considerably in the presence of unknown external disturbance in the proposed method. This outcome was expected since the proposed controller ensures exponential stability and hence the converging time can be controlled by properly adjusting the control gains. It is worth noting that the proposed controller does not require the knowledge of external disturbance. The proposed controller leads to better tracking performance without requiring a higher amount of insulin.
TABLE 3
Comparison of performance of controlled systems
Proposed controller
PID controller [27]
BS controller [27]
Stability result
Asymptotic
Boundedness
Boundedness
Requiring knowledge of disturbance
×
✓
✓
Robustness to uncertainties
✓
×
×
Maximum insulin infusion rate (mU/l/min)
6.7
14
8.8
Maximum blood glucose level (mg/dl)
200
200
200
Minimum blood glucose level (mg/dl)
80.001
48
69
Steady‐state error (mg/dl)
0.001
0.5
0.3
Settling time (seconds)
173
2000
1120
It is worth highlighting that the insulin infusion rate is within acceptable limits for available insulin pumps.Comparison of performance of controlled systemsTo evaluate the robustness of the controller in the presence of the uncertainties in system parameters and external disturbance, the controller performance is analysed for 150 different random patients with different parameters, and the control grid variability analysis (CGVA) is shown in Figure 4. The parameters of 150 patients vary in the range from the nominal magnitudes utilized in designing the controller. From Figure 4, it can be shown that 100% of the minimum BGC are greater than 70 mg/dl, and 90% of the maximum BGC are less than 200 mg/dl.
FIGURE 4
CVGA for parametric variability of
CVGA for parametric variability ofTo evaluate the effectiveness of the proposed control method in the presence of parametric uncertainties, the proposed control method and the PID and BS control methods are simulated in the presence of 20% uncertainties in the system parameters and the results are shown in Figure 5. As shown in Figure 5, the controller proposed in this study ensures asymptotic stability in the presence of uncertainties. However, the BS and PID controller only ensure boundedness. This outcome was to be expected since the proposed controller is robust against uncertainties.
FIGURE 5
Time history of blood glucose level (robustness to 20% uncertainties in system parameters)
Time history of blood glucose level (robustness to 20% uncertainties in system parameters)To evaluate the effectiveness of the proposed control method in the presence of unknown disturbance, we simulate the proposed control method and the PID and BS control methods in the presence of unknown constant disturbance. A fairly high meal disturbance of is considered here and the results are shown in Figure 6.
FIGURE 6
Time history of blood glucose level (robustness to unknown external disturbance)
Time history of blood glucose level (robustness to unknown external disturbance)As shown in Figure 6, the controller proposed in this study ensures asymptotic stability in the presence of unknown external disturbance. However, the BS and PID controller only ensure boundedness. This outcome was to be expected since the proposed controller is robust against external disturbance.
CONCLUSION
This study proposed a new variable structure robust blood‐glucose regulation methodology for an uncertain Bergman's minimal model employing a backstepping approach. The stability of the system was proved utilizing the Lyapunov theorem. The proposed controller ensures exponential stability of the system in the presence of meal disturbances and parametric uncertainties. The simulation results verify the satisfactory performance of the proposed controller in comparison with previous related studies. Better regulation results were obtained without requiring the knowledge of external disturbance. This outcome was expected because the proposed controller provides exponential stability. The proposed controller leads to better tracking performance without requiring a higher amount of insulin. Future studies would exploit other techniques to control blood glucose in the presence of unknown disturbance and uncertainties. As a future work, adaptive control approaches [33, 34]; adaptive robust control approaches [35]; and neural network techniques [32] could be studied in the context of blood‐glucose regulation.
CONFLICT OF INTEREST
The authors declare that there is no conflict of interest.
Authors: Claudio Cobelli; Chiara Dalla Man; Giovanni Sparacino; Lalo Magni; Giuseppe De Nicolao; Boris P Kovatchev Journal: IEEE Rev Biomed Eng Date: 2009-01-01