Abstract
Destruction of β‐cells in pancreas causes deficiency in insulin production that leads to diabetes in the human body. To cope with this problem, insulin is either taken orally during the day or injected into the patient's body using artificial pancreas (AP) during sleeping hours. Some mathematical models indicate that AP uses control algorithms to regulate blood glucose concentration (BGC). The extended Bergman minimal model (EBMM) incorporates, as a state variable, the disturbance in insulin level during medication due to either meal intake or burning sugar by engaging in physical exercise. In this research work, EBMM and proposed finite time robust controllers are used, including the sliding mode controller (SMC), backstepping SMC (BSMC) and supertwisting SMC (second‐order SMC or SOSMC) for automatic stabilisation of BGC in type 1 diabetic patients. The proposed SOSMC diminishes the chattering phenomenon which appears in the conventional SMC. The proposed BSMC is a recursive technique which becomes robust by the addition of the SMC. Lyapunov theory has been used to prove the asymptotic stability of the proposed controllers. Simulations have been carried out in MATLAB/Simulink for the comparative study of the proposed controllers under varying data of six different type 1 diabetic patients available in the literature.
1. INTRODUCTION
Diabetes is one of the most persistent diseases to evolve from numerous underlying processes in the human body. Diabetes mellitus belongs to the group of metabolic diseases that occur because of inadequate amounts of insulin to burn sugar, impaired insulin functioning or both. There are two categories of diabetes mellitus; type 1 diabetes, also known as insulin‐dependent diabetes, which accounts for ≃5–10 per cent of the incidence of diabetes within the human population, is caused by the destruction of beta cells in pancreas or the failure of insulin excretion, resulting in hyperglycaemia. On the other hand, when the blood glucose concentration (BGC) falls below the normal range, it is known as hypoglycaemia. Type 2 diabetes, which is non‐insulin dependent, accounts for ≃90–95 per cent of the incidence of diabetes within the human population. It is caused by a chronic condition in which the glucose level builds up within the bloodstream due to abnormalities in insulin function [1].
Diabetes with hyperglycaemia leads to deep‐rooted damage to nerves, kidneys, blood vessels and heart and may lead to the failure of some other organs, while hypoglycaemia diabetes can cause confusion, shakiness or drowsiness [2]. Diabetes is not only a life‐threatening disease but also an exponentially increasing burden on the economy. Every year, billions of dollars (US) are spent towards its cure. According to an economic survey, in 2002 about 132 billion US dollars, and in 2012 around 245 billion US dollars, were spent towards the cure for diabetes [3, 4]. In Hungary, the predominance of diabetes mellitus has increased over the years domestically and has hurt the economy badly. According to the World Health Organization (WHO), such an economic burden can be reduced by taking necessary action towards its cure [5].
The normal range of BGC for a healthy person is 70–130 mg/dl. The BGC of a type 1 diabetic patient should be monitored continuously and be brought down to the safe range. In 2012, the WHO reported that around 1.5 million deaths were caused by diabetes mellitus [6]. According to a predictive study, the current number of diabetic patients may cross 300 million by 2025 [7]. Diabetes mellitus threatens a life every 8 s and the loss of a limb every 30 s. Monitoring BGC during daytime is easy but is not possible during night‐time. To overcome this problem, artificial pancreas (AP) is the solution [8, 9].
Designing a controller for AP has always been a challenging task because of variable meal disturbances during medication. These disturbances can be caused by meal intake or by burning sugar during and after physical exercise. AP is a closed‐loop feedback system comprising three parts: sensor, controller and insulin pump. BGC is measured with the help of sensors, and the controller calculates the required amount of insulin to feed into the patient's body, and then the insulin pump injects the required amount of insulin into the body [10, 11]. The controller maintains the sugar‐insulin level at a stable reference level within the safe range.
For automatic regulation of BGC in type 1 diabetes, different algorithms, both linear and non‐linear, have been proposed in the literature. A linear quadratic Gaussian controller combined with insulin on board as a constraint, called the automatic regulation of glucose algorithm, has been proposed in [12]. Linear parameter‐varying is a model to design control inputs for AP [13]. The linear quadratic regulator algorithm has also been proposed to design a controller for type 1 diabetic patients in [14]. The conventional proportional–integral–derivative (PID) controller has been proposed to control the blood glucose level to achieve reduced steady‐state error [15]. The oscillations that appear in the response of the PID controller have been eliminated by the proportional derivative controller [16]. The fuzzy controller has been implemented in the literature with better results but is computationally very costly [17, 18]. To design linear controllers, linearised models must ensure local stability, as non‐linear terms may be neglected only in a certain region very close to the point of operation, whereas non‐linear controllers do not need linearisation for their design and therefore can talk globally. They perform quite a bit better even in the presence of model variations, uncertainties, external disturbances and non‐linearities. Among those using the extended Bergman minimal model (EBMM), SMC has been proposed in [19] to achieve robustness and the required design specification of BGC but has an inherent chattering phenomenon in its response. In the second‐order sliding mode controller (SOSMC), real and supertwisting algorithms have been introduced that steer system trajectories in the vicinity of the sliding surface to obtain finite time convergence. SOSMC algorithms have the advantages of insensibility to perturbations and reduced chattering, which reflect their high convergence accuracy and robustness [20, 21]. The backstepping (BS) controller has also been proposed to stabilise systems that have a strict feedback form [22]. To improve the results for BGC given by BS, the addition of an adaptive parameter has been proposed that has better convergence time but overshoots/undershoots [23, 24].
The dynamics of diabetes mellitus type 1 are non‐linear. In this paper, we have proposed three non‐linear‐based controllers including the SMC, supertwisting SOSMC and backstepping sliding mode controller (BSMC) for regulation of BGC in type 1 diabetes through AP with the complete mathematical derivation of each proposed controller. Simulation results have been presented using MATLAB/Simulink to check the comparative performance of the proposed controllers. From information available in the literature, we have simulated data for six different type 1 diabetic patients using supertwisting SOSMC.
Salient features of this research paper are listed below:
The key challenges are to develop robust controllers to achieve better settling and convergence time with reduced steady‐state error.
Three robust non‐linear controllers have been proposed to accommodate the effects of non‐linearities and variable meal disturbance present in the system.
The conventional SMC has been proposed for robustness, but it exhibits an inherent chattering phenomenon.
The supertwisting SOSMC has been proposed to achieve an even better tracking response that reduces the chattering effect.
SMC has been merged with the BS algorithm, which makes the controller robust to achieve the desired reference level quite nicely.
Stability analysis for each proposed controller has been proved with the help of Lyapunov stability theory.
Performance comparisons of the proposed controllers has been made to deduce the outperforming controller among those that have been proposed.
Perturbation as Gaussian noise d(t) has been added in the system, and the output performance of each has been analysed to check their robustness.
The proposed supertwisting SOSMC has also been analysed using the varied data available in the literature of six type 1 diabetic patients.
The rest of the paper is organised as follows. The blood sugar regulation system, non‐linear mathematical model and problem statement are explained in Section 2. Section 3 describes the analysis and design of the proposed non‐linear controllers for AP using the EBMM. Section 4 details all simulation results, and finally, Section 5 concludes.
2. NON‐LINEAR EXTENDED BERGMAN MINIMAL MODEL FOR TYPE 1 DIABETIC PATIENTS
2.1. Blood sugar regulation system
Secretion of insulin and glycogen plays an important role in the regulation of blood sugar (glucose) within the human body. BGC is considered normal when insulin and glycogen sustain a state called ‘homeostasis’. When the BGC rises above the normal range of 70–120 mg/dl, the pancreas secretes insulin to burn excessive sugar. On the other hand, when the BGC falls below the normal range, glycogen is released by the pancreas to increase the glucose level in the blood as shown by Figure 1. This balanced functioning prevents cell damage by providing sufficient energy [25, 26].
FIGURE 1.

Pancreas controlling blood glucose level in the human body
2.2. Mathematical model
The EBMM is a three‐state basic mathematical model proposed by R. N. Bergman for type 1 diabetes mellitus incorporating the effect of the meal disturbance during medication that is constant [27]. BGC is disturbed due to such meal disturbance, the state of which should be considered dynamical rather than static for accurate model behaviour [28]. The EBMM presented in [29] is an extension of Bergman's minimal model that incorporates meal disturbances as a state variable and is obtained by the following set of equations:
| (1) |
| (2) |
| (3) |
| (4) |
where x 1, x 2, x 3 and x 4 are BGC, remote insulin concentration, plasma insulin concentration and meal disturbance, respectively, and u(t) is the control input law for external insulin infusion. The details of the other model parameters are given in Table 1 in Section 4.
TABLE 1.
Non‐linear model parameters
| Model parameters and descriptions | ||
|---|---|---|
| Parameters | Parameter description | Parameter values |
| p 1 | Glucose effectiveness | 0 min−1 |
| p 2 | Insulin action delay | 0.015 min−1 |
| p 3 | Patient parameter | 0.13 × 10−4 mUl−1 min−2 |
| p 4 | Insulin decline rate | 0.021 min−1 |
| p 5 | Meal disturbance | 0.05 min−1 |
| I b | Plasma insulin basal | 7 mUl−1 |
| G b | Plasma glucose basal | 80 mg dl−1 |
2.3. Problem statement
Keeping the BGC of type 1 diabetic patients in the normal range has always been a complex problem because it may be controlled by manual intake of insulin whenever the sugar level rises during daytime, but such control is not feasible during sleeping hours. During the night, there must be an automated system to control and regulate BGC in the patient body. AP helps to maintain and regulate BGC in diabetic patients by automatically injecting the required amount of insulin into the body. Precise information about BGC must be given to the AP, which uses control algorithms to infuse a controlled amount of insulin into the patient body. AP uses a sensor for this purpose, and the controller calculates the exact amount of insulin to inject and guides the insulin pump to inject that amount of insulin into the body of the patient. As the model given by Equations (1), (2), (3), (4) is non‐linear, designing a non‐linear controller can ensure global asymptotic stability. The proposed closed‐loop control scheme for an AP is shown in Figure 2.
FIGURE 2.

Closed‐loop control system for artificial pancreas
3. ROBUST CONTROL ALGORITHMS DESIGN
3.1. Sliding mode‐controller design
The SMC is robust against external disturbances for dynamical non‐linear systems. It should be designed with the aim that all dynamical states of the system should converge to the sliding surface S = 0 as shown by Figure 3.
FIGURE 3.

Phases of sliding mode controller
In the SMC, the control law consists of two control parts; the nominal part u n helps the trajectory of the system converge on the equilibrium point, while the switching control law u s ensures that when the trajectory reaches the sliding surface, it is kept on the sliding surface until it falls at the origin. In the traditional SMC, the chattering phenomenon appears in the form of oscillations around the sliding surface due to the switching of u s [30]. The overall control law can be defined as
where
and
For the state variable x 1 to track its desired blood glucose value, the error signal is defined as
| (5) |
where e 1 is the difference of BGC x 1 to its reference value x 1ref . To deal with the error signal given by Equation (5), the sliding surface for the SMC can be defined as
| (6) |
where s 1 and s 0 are positive constants. By taking the time derivative of Γ1, we obtain
| (7) |
Now computing the first, second and third derivatives, respectively, with regard to the time of Equation (5), we obtain
| (8) |
where x 1ref is constant, so . By using Equation (8), can be written as
| (9) |
Now differentiating Equation (1) to the third derivative, we obtain
| (10) |
If we denote
| (11) |
then Equation (10) becomes
| (12) |
Using Equation (12) in Equation (33), we have
| (13) |
To make negative definite, we use
| (14) |
where K is the positive design coefficient, and ϕ is the small number used to remove chattering and α is between 0 and 1, while |Γ1| α ensures the convergence of the system trajectories to siding surface Γ 1 = 0.
Comparing Equations (13) and (14) gives
| (15) |
Consider a positive definite Lyapunov candidate function as
| (16) |
Differentiating Equation (16) with respect to time yields
| (17) |
Using the value of from Equation (14) obtains
| (18) |
as
| (19) |
so Equation (18) becomes
| (20) |
and because |ϕ| = ϕ and ϕ > 0, we have
| (21) |
So, the time derivative of the Lyapunov candidate function given by Equation (21) is proved to be negative definite. Hence, the system is globally asymptotically stable.
Rewriting Equation (15) and solving it, we obtain the control input u(t) as
| (22) |
where nominal control u n is
and switching control u s is
The controller u(t) given by Equation (22) is the required control input to make the system track BGC to its reference value using the first‐order SMC. Since the state variable x 1 represents BGC, it is supposed to be a higher value, and the proposed controller brings it down to the safe range of 70–120 mg/dl. It always remains a positive value and never reaches zero because BGC at zero means the death of a patient, which restricts the control input from becoming infinite.
Now the SMC in case of disturbance/noise can be analysed by adding Gaussian noise d(t) in Equation (1) of the system as follows:
| (23) |
where d(t) satisfies the following inequality:
| (24) |
where K is the value of design coefficient used in the control input. The sliding surface for the SMC in case of noise is same as defined by Equation (6) while the error signal can be written as
| (25) |
where x 1n is the BGC in the presence of noise and x 1refn is the reference value with noise. Now by repeating the same process as done above for designing the SMC, the value of control input u(t) in the presence of external disturbance can be defined as
| (26) |
3.2. Supertwisting controller design
The conventional SMC results in inherent chattering phenomenon which is countered by the supertwisting SMC algorithm. The supertwisting SMC is capable of twisting all the system trajectories around the origin in finite time which gives chattering free convergence more rapidly. The BGC of type 1 diabetic patient needs to be kept in the safe range by controlling high BGC so, for such control problem the error signal for BGC can be written as
| (27) |
The systems with relative degree of one can be continuously controlled by the supertwisting SOSMC such that the error signal must approaches to zero. To get relative degree equals to one, the sliding surface for supertwisting SOSMC can be defined as
| (28) |
where s 2 and s 3 are real constants. The Lyapunov candidate function for the sliding surface Γ2 given by Equation (28) can be written as
| (29) |
Differentiating Equation (29) with respect to time yields
| (30) |
By taking time derivative of the sliding surface given by Equation (28), we have
| (31) |
Now computing the first, second and third derivative, respectively, with regard to the time of Equation (27), we obtain
| (32) |
where x 1ref is constant, so . By using Equation (32), can be written as
| (33) |
Inserting the value of from Equation (12) into Equation (33), we obtain
| (34) |
The supertwisting SOSMC comprises the two control laws u n and u s as elaborated by Figure 3. The nominal control law u n can be obtained from Equation (34) as
| (35) |
The phenomenon of chattering is observed in the traditional SMC in the form of oscillations around the sliding surface. The supertwisting SOSMC can deal with chattering by filtering out most of this phenomenon by having the second‐order SMC control law. The non‐linear first‐order differential equation can be defined as [31]
| (36) |
where β 1, β 2 > 0, and
The first derivative and solution of Equation (36) will converges to zero in finite time if the design parameters β1 ≥ 0.5(T)0.5, β2 ≥ 4T and |g(t)| ≤ T, where T is the real positive number [32]. The switching control law for supertwisting SOSMC can be defined as [33]
| (37) |
By combining the nominal and switching control laws from Equations (35) and (37), respectively, we have the final control law u(t) as
| (38) |
Now the time derivative of the Lyapunov candidate function, which is from Equation (30), can be updated using Equation (34) in it, and we obtain
| (39) |
By using u(t) from Equation (38) in Equation (39), the expression of can be written as
| (40) |
Hence, the time derivative of the Lyapunov candidate function is proved to be negative definite, which means that the supertwisting SOSMC will ensure convergence of BGC to the reference level x 1ref in finite time. Consequently, the error signal e 2 for BGC approaches zero even in the presence of all external disturbances. As is negative definite, so global asymptotic stability of the system is ensured.
Now the supertwisting SOSMC in the case of disturbance/noise is analysed in the presence of Gaussian noise d(t) in the state variable x 1. Considering Equations (23), Equation (24) and the sliding surface the same as Γ2, the error signal can be written as
| (41) |
where x 1n is the BGC in the presence of noise, and x 1refn is the reference value with noise. Now by repeating the same process as above for designing the supertwisting SOMC, the value of control input u(t) in the presence of external disturbance can be defined as
| (42) |
3.3. Backstepping sliding mode controller design
Strict feedback from the system is required to derive the controller expression by defining error functions for all the state variables and proving them negative definite using Lyapunov stability theory. BS is a recursive technique that gives the asymptotic stability of the system. To enhance the performance of BS and add robustness, the SMC is merged with the BS algorithm. The error z 1 for tracking of BGC in the presence of Gaussian noise is defined as
| (43) |
When the BGC x 1n tracks the reference value x 1refn , the error z 1 converges to zero. By taking the time derivative of z 1 and using Equation (23), we have
| (44) |
The Lyapunov function candidate to analyse the stability of z 1 is defined as
| (45) |
To get asymptotic stability, the time derivative of V 1 must be proved to be negative definite. Now by computing the time derivative of V 1, we have
| (46) |
The error for the state variable x 2 can be defined as
| (47) |
where σ2 is the first virtual control law. We can also write Equation (47) as
| (48) |
When the state variable x 2 tracks σ 2, the error z 2 converges to zero. By substituting x 2 from Equation (48) in Equation (44), we obtain
| (49) |
Now by using from Equation (49) in Equation (46), can be written as
| (50) |
The prove that the virtual control law σ2 ensures that is negative definite, we put
| (51) |
where k 1 is a positive constant. The virtual control σ2 from Equation (51) can be defined as
| (52) |
By using the value of σ2 in Equation (50), we have
| (53) |
To check convergence of both the errors z 1 and z 2 to zero, we take the second Lyapunov candidate function as
| (54) |
By computing time derivative of V 2, we have
| (55) |
By taking time derivative of Equation (47) and using Equation (2), we have
| (56) |
To introduce the SMC in the BS algorithm, the sliding surface variable Γ3 can be defined as
| (57) |
where σ3 is the second virtual control law. We can also write Equation (57) as
| (58) |
When the state variable x 3 tracks σ3, the error Γ3 converges to zero. By substituting x 3 from Equation (58) in Equation (56), we obtain
| (59) |
Now by using from Equation (53) and from Equation (59) in Equation (55), respectively, can be written as
| (60) |
To prove that the virtual control law σ 3 ensures that is negative definite, we put
| (61) |
where k 2 is a positive constant. The virtual control σ3 from Equation (61) can be defined as
| (62) |
By using the value of σ3 in Equation (60), we have
| (63) |
By taking time derivative of the sliding surface S from Equation (57) and using Equation (3), we have
| (64) |
To check the convergence of the errors z 1, z 2 and the sliding surface Γ3 to zero, we take the composite Lyapunov candidate function as
| (65) |
By computing time derivative of V 3, we have
| (66) |
Now by using from Equation (63) and from Equation (64) respectively, can be written as
| (67) |
The control law u(t) given by Equation (68) is the required BSMC controller that makes negative definite and is given by
| (68) |
where k 3 is a positive constant and the nominal control u n is
and switching control u s is
By using actual control law u(t) from Equation (68) in Equation (67), we have
| (69) |
Hence, the time derivative of composite Lyapunov candidate function for the errors z 1, z 2 and the sliding surface Γ3 is proved negative definite which ensures asymptotic stability of the system as all the errors converge to zero and BGC x 1 tracks the reference value.
4. SIMULATION RESULTS
The proposed SMC, supertwisting SOSMC and SMC BS controllers given by Equations (26), (38) and (68), respectively, using EBMM have been simulated in the MATLAB/Simulink environment for observing their comparative performance for the regulation of the BGC in a type 1 diabetic patient. The horizontal x‐axis represents time (seconds), while the vertical y‐axis represents BGC (mg/dl). The safe range for BGC is 70–120 mg/dl, and for the tracking of BGC, the reference level x 1ref = 80 mg/dl is considered. The parametric values used for the simulation results are detailed in Table 1. The same parametric values are used in [34], and the same data set has been chosen for each simulation in this article because the results are comparable when the same data set is used for comparing them with each other.
Figure 4 has been drawn for the comparative performance of the supertwisting SOSMC and SMC for tracking BGC. It can be observed from the graph that the SMC undergoes a larger undershoot and takes more time to settle down in steady state, whereas the supertwisting SOSMC gives better tracking response with a negligibly small undershoot and negligible chattering phenomenon.
FIGURE 4.

Comparison of supertwisting second‐order sliding mode controller and sliding mode controller
Figure 5 shows the comparison of the supertwisting SOSMC and BSMC. From the graph it can be observed that the supertwisting SOSMC and BSMC have nearly similar times of convergence, but the BSMC undergoes slightly larger chattering than that of the proposed supertwisting SOSMC. Both track the reference value quite nicely.
FIGURE 5.

Comparison of supertwisting second‐order sliding mode controller and backstepping sliding mode controller
A comparison of the supertwisting SOSMC and PID controller is made in Figure 6, which shows that the PID undergoes an oscillatory response with larger undershoots/overshoots, has very large settling time and has some steady‐state error in comparison with the supertwisting SOSMC. So it can be clearly observed that the performance of the PID controller is not satisfactory when compared with the supertwisting SOSMC in terms of oscillations, steady‐state error, undershoots/overshoots and convergence time.
FIGURE 6.

Comparison of supertwisting second‐order sliding mode controller with proportional–integral–derivative controller
Comparisons of all the proposed controllers are given in Figure 7 for their comparative behaviour. It can be observed clearly from the graph that the supertwisting SOSMC performs better, with a convergence time of 6.66 min and no chattering phenomenon. The BSMC has a convergence time of 6.7 min at the expense of a slightly large undershoot. The SMC has convergence time of 15 min with larger undershoot and chattering phenomenon. The PID controller has oscillatory behaviour with larger undershoots/overshoots with convergence time of 20.83 min and also has some steady‐state error. The improvement made by the supertwisting SOSMC can be observed from its tracking response even in the presence of dynamical meal disturbances and Gaussian noise in view of all the comparison parameters. Hence, it can be deduced from the above performance comparison that the supertwisting SOSMC outperforms all the other proposed controllers in view of all performance evaluation parameters. A brief performance comparison of all the controllers under discussion is numerically detailed in Table 2.
FIGURE 7.

Comparison of proposed second‐order sliding mode, backstepping sliding mode, and supertwisting second‐order sliding mode controllers with proportional–integral–derivative controller
TABLE 2.
Performance comparison of controllers
| Comparison of proposed controllers | |||
|---|---|---|---|
| Controller | Convergence time (min) | Steady‐state error | Chattering |
| Supertwisting SOSMC | 6.66 or less | No | No |
| BSMC | 6.67 | No | No |
| SMC | 15 | No | Yes |
| PID | 20.83 or greater | Yes | Yes |
Abbreviations: BSMC, backstepping SMC; PID, proportional–integral–derivative; SMC, sliding mode controller; SOSMC, second‐order SMC.
Figure 8 demonstrates the control input signal (which is the required amount of insulin to be injected into the patient body) by using the supertwisting SOSMC. To avoid over‐dosage of insulin infusion at different periods, the output of the controller is regulated by a saturation block in system response. The first pulse in the control signal causes the BGC to fall from higher to lower level, and then another pulse is injected by the controller to achieve the reference position. Then the output of the supertwisting SOSMC goes to zero when the BGC reaches the reference level of 80 mg/dl.
FIGURE 8.

Control signal of supertwisting second‐order sliding mode controller
To observe the tracking response of the proposed supertwisting SOSMC under different parametric conditions, we have considered the data of six different type 1 diabetic patients available in the literature [35] mentioned in Tables 3 and 4.
TABLE 3.
Patients’ parameter values (patients 1–3)
| Patient data values | |||
|---|---|---|---|
| System parameters | Patient 1 | Patient 2 | Patient 3 |
| p 1 | 0 | 0 | 0 |
| p 2 | 0.0107 | 0.0072 | 0.0142 |
| p 3 | 5.3 × 10−6 | 2.16 × 10−6 | 9.94 × 10−6 |
| p 4 | 0.264 | 0.2465 | 0.2814 |
| p 5 | 0.4 | 0.45 | 0.56 |
| G b | 80 | 80 | 80 |
| I b | 7 | 7 | 7 |
| G 0 | 220 | 200 | 180 |
| I b | 7 | 7 | 7 |
| I 0 | 50 | 55 | 60 |
| D 0 | 11.3 | 10 | 9.7 |
TABLE 4.
Patients parameter values (patients 4–6)
| System parameters | Patient 4 | Patient 5 | Patient 6 |
|---|---|---|---|
| p 1 | 0 | 0 | 0 |
| p 2 | 0.0083 | 0.0095 | 0.0230 |
| p 3 | 3.3 × 10−6 | 4.16 × 10−6 | 10.2 × 10−6 |
| p 4 | 0.273 | 0.310 | 0.3140 |
| p 5 | 0.49 | 0.50 | 0.59 |
| G b | 80 | 80 | 80 |
| I b | 7 | 7 | 7 |
| G 0 | 200 | 210 | 190 |
| I b | 7 | 7 | 7 |
| I 0 | 57 | 63 | 58 |
| D 0 | 9.9 | 9.2 | 10.8 |
Figure 9 shows that the supertwisting SOSMC effectively monitors and tracks the reference level of BGC for the data of three patients very nicely without undergoing chattering and steady‐state errors. This performance of the supertwisting SOSMC ensures that it can handle the parametric variations of data of different type 1 diabetic patients without exhibiting any effect in its response, which reflects its robustness for such conditions.
FIGURE 9.

Tracking response of supertwisting second‐order sliding mode controller for various patients
5. CONCLUSION
Herein, we have considered the EBMM for type 1 diabetic patients and proposed three non‐linear controllers—the SMC, supertwisting SOSMC and BSMC—for automatic stabilisation of BGC for AP. Global asymptotic stability of the proposed controllers has been proved using Lyapunov theory. The performance of each proposed controller has been analysed by the simulation results in MATLAB/Simulink in the presence of perturbation as Gaussian noise. It is observed from the results that the reference level is maintained perfectly by the proposed robust non‐linear controllers even in the presence of dynamical meal disturbances or burning sugar by physical exercise during medication. The proposed supertwisting SOSMC controller outperforms the SMC, BSMC and PID in terms of settling time, chattering, transients, under/overshoots and steady‐state error. In the future, the supertwisting SOSMC with parametric adaption can also be implemented to improve its response and get more robustness with the data of more type 1 diabetic patients.
REFERENCES
- 1. Diagnosis and Classification of Diabetes Mellitus. Diapedia; (2014) [Google Scholar]
- 2. Wayne Bequette, B. , et al.: Overnight hypoglycemia and hyperglycemia mitigation for individuals with type 1 diabetes: how risks can be reduced. IEEE Control Syst. Mag. 38(1), 125–134 (2018) [Google Scholar]
- 3. Economic costs of diabetes in the U.S, in 2002. Diabetes Care. 26 (2003) [DOI] [PubMed] [Google Scholar]
- 4. Economic costs of diabetes in the U.S. in 2012. Diabetes Care. 36(4), 1033–1046 (2013) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Fézer, Z. , Kovács, L. : The economic impact of diabetes. In: IEEE 15th International Symposium on Intelligent Systems and Informatics, Subotica, Serbia, September, pp. 14–16 (2017)
- 6. Roglic, G. : WHO global report on diabetes: a summary. Int. J. Noncommun. Dis. 1(1) (2016). [Google Scholar]
- 7. King, H. , et al.: Global burden of diabetes, 1995–2025: prevalence, numerical estimates, and projections. Diabetes Care. 21(9) (1998) [DOI] [PubMed] [Google Scholar]
- 8. Cifha, C.D. , Kamath, S. , Vidyasagar, S. : Modelling and simulation study of glucose insulin control in type 1 diabetic patient used for developing artificial pancreas. Amity International Conference on Artificial Intelligence (AICAI) (2019) [Google Scholar]
- 9. Hovorka, R. , et al.: Overnight closed loop insulin delivery (artificial pancreas) in adults with type 1 diabetes: crossover randomised controlled studies. BMJ. 342 (2011) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Artificial pancreas systems: an introduction to the special issue. IEEE Control Syst. Mag. 38(1), 26–29 (2018) [Google Scholar]
- 11. Breton, M. , et al.: Fully integrated artificial pancreas in type 1 diabetes: modular closed‐loop glucose control maintains near normoglycemia. Diabetes. 61(9), 2230–2237 (2012) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Colmegna, P. , et al.: Automatic regulatory control in type 1 diabetes without carbohydrate counting. Control Eng. Pract. 74, 22–32 (2018) [Google Scholar]
- 13. Colmegna, P. , Sánchez‐Pena, R.S. , Gondhalekar, R. : Linear parameter‐varying model to design control laws for an artificial pancreas. Biomed. Sig. Proc. Control. 40, 204–13 (2018) [Google Scholar]
- 14. Bequette, B.W. : A critical assessment of algorithms and challenges in the development of a closed‐loop artificial pancreas. Diabetes Technol. Therapeut. 7(1), 28–47 (2005) [DOI] [PubMed] [Google Scholar]
- 15. Skogestad, S. : Simple analytic rules for model reduction and PID controller tuning. J. Proc. Control. 13(4), 291–309 (2003) [Google Scholar]
- 16. Marchetti, G. , et al.: An improved PID switching control strategy for type 1 diabetes. IEEE Trans. Biomed. Eng. 55(3), 857–865 (2008) [DOI] [PubMed] [Google Scholar]
- 17. Nath, A. , Dey, R. , Balas, V.E. : Closed loop blood glucose regulation of type 1 diabetic patient using Takagi‐Sugeno fuzzy logic control. In: Soft Computing Applications: Advances in Intelligent Systems and Computing, pp. 286–296 (2017)
- 18. Sasi, A.Y.B. , Elmalki, M.A. : A fuzzy controller for blood glucose‐insulin system. J. Sig. Infor. Proc. 04(02), 111–117 (2013) [Google Scholar]
- 19. Kaveh, et al.: Higher order sliding mode control for blood glucose regulation. In: International Workshop on Variable Structure Systems, pp. VSS06 (2006)
- 20. Utkin, V.I. , Guldner, J. , Shi, J. : Sliding Mode Control in Electro‐mechanical Systems. CRC Press; (2017) [Google Scholar]
- 21. Shtessel, Y. , et al.: Sliding Mode Control and Observation. Birkhuser Boston, Cambridge, MA: (2014) [Google Scholar]
- 22. Khalil, H.K. , Grizzle, J. : Nonlinear Systems, vol. 3. Prentice hall, Upper Saddle River: (2002) [Google Scholar]
- 23. Munir, F. , Ahmad, I. , Naz, N. : Backstepping based automatic blood glucose nonlinear controller for diabetes mellitus type 1 patients. Adv. Sci. Lett. 22(10), 2652–2656 (2016) [Google Scholar]
- 24. Ahmad, I. , et al.: An adaptive backstepping based non‐linear controller for artificial pancreas in type 1 diabetes patients. Biomed. Sig. Proc. Control. 47, 49–56 (2019) [Google Scholar]
- 25. Centers for Disease Control and Prevention: National Diabetes Statistics Report (2017) [Google Scholar]
- 26. David Maahs, B. , et al.: Overnight hypoglycemia and hyperglycemia mitigation for individuals with type 1 diabetes: how risks can be reduced. IEEE Control Syst. Mag. 38, 125–134 (2018) [Google Scholar]
- 27. Bergman, R.N. , et al.: Equivalence of the insulin sensitivity index in man derived by the minimal model method and the euglycemic glucose clamp. J. Clin. Investig. 79(3), 790–800 (1987) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Fisher, M.E. : A semiclosed‐loop algorithm for the control of blood glucose levels in diabetics. IEEE (Inst. Electr. Electron. Eng.) Trans. Biomed. Eng. 38, 57–61. 10.1109/10.68209. [DOI] [PubMed] [Google Scholar]
- 29. Babar, S.A. , et al.: Integral backstepping based automated control of blood glucose in diabetes mellitus type 1 patients. IEEE Access. 7, 173286–173293 (2019) [Google Scholar]
- 30. Slotine, J.‐J.E. , Li, W. : Applied Nonlinear Control. Pearson education Taiwan, Taipei: (2005) [Google Scholar]
- 31. Levant, A. : Higher‐order sliding modes, differentiation and output‐feedback control. Int. J. Contr. 76(9–10), 924–941 (2003) [Google Scholar]
- 32. Kaveh, et al.: Higher order sliding mode control for blood glucose regulation. In: International Workshop on Variable Structure Systems, p. VSS06 (2006)
- 33. Rivera, J. , et al.: In: Super‐Twisting Sliding Mode in Motion Control Systems. INTECH Open Access Publisher; (2011) [Google Scholar]
- 34. NAth, A. , Dev, R. , Avelar, C.A. : Observer based nonlinear control design for glucose regulation in type 1 diabetic patients: an LMI approach. Biomed. Sig. Proc. Control. 47, 7–15 (2018) [Google Scholar]
- 35. Yasini, S.H. , Naghibi‐Sistani, M.B. , Karimpour, A. : Agent‐based simulation for blood glucose control in diabetic patients. Int. J. Biomed. Biol. Eng. 3(9) (2009) [Google Scholar]
- 36. Twaddell, S. : Neutral‐insulin‐injection/insulin‐suspension‐isophane overdose. React Wkly. 1607, 312–312. (2016) [Google Scholar]
- 37. Yasini, S. , et al.: Knowledge‐based closed‐loop control of blood glucose concentration in diabetic patients and comparison with HControl technique. IETE J. Res. 58, 328 (2012) [Google Scholar]
- 38. Cobelli, C. , et al.: Diabetes: models, signals, and control. IEEE Rev. Biomed. Eng. 2, 54–96 (2009) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Gonzalez, A.A. , Voos, H. , Darouach, M. : Glucose‐insulin system based on minimal model: a realistic approach. International Conference on Modelling and Simulation (UKSim) 2015 17th UKSim‐AMSS (2015) [Google Scholar]
