Next Article in Journal
Optimal Control Problems for Set-Valued Quasivariational Inequalities with Applications
Previous Article in Journal
A Mixed-Integer Program for Drawing Orthogonal Hyperedges in a Hierarchical Hypergraph
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Generalized Type-2 Fuzzy Control for Type-I Diabetes: Analytical Robust System

1
National Key Project Laboratory, Jiangxi University of Engineering, Xinyu 338000, China
2
Department of Computer Science and Artificial Intelligence, College of Computer Science and Engineering, University of Jeddah, Jeddah 23890, Saudi Arabia
3
Department of Medical Equipment Technology, College of Applied Medical Science, Majmaah University, Majmaah 11952, Saudi Arabia
4
Department of Physics, College of Arts, Fezzan University, Traghen 71340, Libya
5
Department of Chemistry, Faculty of Science, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
6
Institute of Research and Development, Duy Tan University, Da Nang 550000, Vietnam
7
School of Engineering and Technology, Duy Tan University, Da Nang 550000, Vietnam
8
Future Technology Research Center, National Yunlin University of Science and Technology, Douliu 64002, Taiwan
9
Department of Cyber-Physical Systems, St. Petersburg State Marine Technical University, 190121 Saint-Petersburg, Russia
10
School of Credit Management, Guangdong University of Finance, Guangzhou 510521, China
*
Authors to whom correspondence should be addressed.
Mathematics 2022, 10(5), 690; https://doi.org/10.3390/math10050690
Submission received: 21 January 2022 / Revised: 12 February 2022 / Accepted: 15 February 2022 / Published: 23 February 2022

Abstract

:
The insulin injection rate in type-I diabetic patients is a complex control problem. The mathematical dynamics for the insulin/glucose metabolism can be different for various patients who undertake different activities, have different lifestyles, and have other illnesses. In this study, a robust regulation system on the basis of generalized type-2 (GT2) fuzzy-logic systems (FLSs) is designed for the regulation of the blood glucose level. Unlike previous studies, the dynamics of glucose–insulin are unknown under high levels of uncertainty. The insulin-glucose metabolism has been identified online by GT2-FLSs, considering the stability criteria. The learning scheme was designed based on the Lyapunov approach. In other words, the GT2-FLSs are learned using adaptation rules that are concluded from the stability theorem. The effect of the dynamic estimation error and other perturbations, such as patient activeness, were eliminated through the designed adaptive fuzzy compensator. The adaptation laws for control parameters, GT2-FLS rule parameters, and the designed compensator were obtained by using the Lyapunov stability theorem. The feasibility and accuracy of the designed control scheme was examined on a modified Bergman model of some patients under different conditions. The simulation results confirm that the suggested controller has excellent performance under various conditions.

1. Introduction

Through the development of electronic devices and sensors, modern control systems are extensively used in medical applications. One of the challenging problems is the glucose regulation of type-I diabetes (T1D). Many people all over the world are suffering from this illness. In T1D, the pancreas cannot produce enough insulin, and then the blood glucose exceeds the desired range. Insulin is a vital hormone which supports the body’s cells in its slow conversion from glucose into energy. When conversion does not happen, the blood glucose level increases and it can reach a dangerous level. The patients with this condition should always inject insulin to stay alive [1,2].
The control systems for this problem can be categorized into three classes: No-sensor (open-loop) control systems, classical controllers, and neuro-fuzzy control systems. In the first case, the insulin is injected by a predefined plan [3]. The main drawback of these methods is that the insulin injection plan can be different form one patient to another. Additionally, the effect of other illnesses of patients and other unpredicted activities are not considered. Generally, these methods do not result in the desired performance [4].
The classic controllers that are frequently used for glucose regulation can be classified into three cases: PID controllers, sliding mode controllers (SMCs), and model-based predictive controllers (MPCs). For the PID control scheme, various approaches have been presented for optimization of the PID gains. For example, in the Ref. [5], the PID controller was optimized by the Grasshopper optimization technique, and the quantity of injection times was investigated. In the Ref. [6], the various approaches were reviewed, and the effect of meal conditions was investigated. In the Ref. [7], the fractional-order PID was designed and its performance was studied in comparison with integer-order PID. Similar to the Ref. [7], the genetic algorithm was employed in the Ref. [8] to adjust the fractional-order PID controller, and the Bergman minimal model was employed for evaluation. Various versions of the SMC scheme have been applied to the glucose regulation problem. For example, the simple SMC scheme was developed in the Refs. [9,10] for glucose regulation. In the Ref. [11], the output feedback SMC was designed to retain the glucose value in a desired level, and its performance was compared with the open-loop approaches. In the Ref. [12], the particle-swarm optimization scheme was used to tune a SMC scheme, and it was shown that the glucose level was kept near to the desired range. The terminal SMC was developed in the Ref. [13], and the effect of mathematical uncertainties was analyzed. The other control system which has frequently been reported in the literature for glucose regulation is the MPC system [14]. Generally, the MPC methods result in better performance than the approaches discussed above.
In most of the aforementioned studies, the controller was designed on the basis of the Bergman model. To tackle the effects of an uncertain model, some fuzzy logic controllers (FLCs) have been developed [15,16]. In this class of controllers, fuzzy logic systems (FLSs) are often combined with the above-discussed controllers to estimate the uncertainties. For example, in the Ref. [17], a FLS was used in the SMC scheme to develop the regulation performance. An FLS approach based on a deep learned scheme was suggested in the Ref. [18] to predict the glucose level in a long-term horizon. In the Ref. [19], the FLSs were used to estimate some uncertain functions in the Bergman model. In the Ref. [20], the blood glucose situation was analyzed by FLSs, and the suitable insulin level was determined by the FLS model. In the Ref. [21], an artificial pancreas was designed by the use of FLSs, and better performance of the FLS model was shown in comparison with the Bergman model.
The interval type-2 FLSs (IT2-FLSs) outperformed in comparison with the type-I counterparts [22,23]. In a few studies, IT2-FLSs have been used in glucose regulation problems. For example, the nephropathy predicting the use of type-2 FLCs was investigated in the Ref. [24]. In the Ref. [25], the IT2-FLSs were used for the estimation of glucose–insulin dynamics, and the controller was designed on the basis of a fuzzy model. The backstepping control scheme was developed by IT2-FLSs in the Ref. [26], and the better performance of type-2 FLSs was shown. The diet recommendation system was designed in the Ref. [27] by IT2-FLSs. In the Ref. [20], an IT2-FLS-based controller was designed, and the effect of blood sugar was investigated. In the Ref. [28], the glucose level was predicted, and then on the basis of the glucose level, the rate of insulin injection was determined by IT2-FLSs. In the Ref. [29], the changes of model parameters were taken into account, and a IT2-FLS-based controller was designed and the better performance of IT2-FLSs was validated.
Recently, generalized type-2 FLSs have been developed to achieve better performance in noisy complicated problems [30]. The superiority of GT2-FLSs compared to their conventional counterparts has been shown in engineering problems, such as medical systems [31], classification problems [32], financial systems [33], control systems [34], modeling applications [35], forecasting problems [36], and education systems [37], among many others.
The review of previous studies has shown that some issues in this problem need to be studied further.
  • In most of the aforementioned studies, the controllers were designed by the use of a simple Bergman model. However, the mathematical model of glucose–insulin in various conditions may be unreliable.
  • Some conventional approaches do not have any stability guarantee.
  • In most studies, the evolutionary-based methods are employed for controller learning that imposes a high computational cost without any stability criteria.
  • In most other stable and robust controllers, such as SMCs, the minimal Bergman model is used and strong dynamic perturbations are neglected. Additionally, the Bergman mathematical model is used in the controller design.
  • The speed of glucose regulation in most studies is not desirable enough, and needs to be studied further.
Then, the main questions of the study are as follows:
  • How can we design a controller that does not depend on metabolism?
  • How can we improve robustness against the meal effect, patient activities, and other perturbations, such as the unknown illnesses of patients?
  • How can modeling of the metabolism be improved, considering all uncertainties?
From the above motivations, we designed a robust control system. The dynamics of insulin/glucose were completely unknown in the schemed approach. The uncertainties were online-approximated by the suggested GT2-FLS. The suggested GT2-FLS was online-tuned such that the insulin/glucose dynamic was stable and the glucose level reached the desired level. The effects of perturbations were compensated by the designed adaptive compensator. The main advantages of this study are:
  • The insulin/glucose metabolism is considered to be unknown.
  • An effective GT2-FLS with better estimation accuracy is developed for online metabolism estimation.
  • The suggested GT2-FLS is optimized at every glucose measurement considering the dynamic stability criteria.
  • The challenging conditions, such as dynamic perturbation by noisy signals, meal effect, and estimation errors are taken into account, and an adaptive fuzzy compensator is designed.

2. System Description and Problem Statement

Diabetes is a metabolic issue which is mainly classified into two categories: type-I and type-II diabetes. The autoimmune reaction of type-I diabetic patients destructs the beta cells, and consequently, insulin production is reduced. In type-II diabetes, the body is resistant to insulin. In general, in diabetes of any type, cells are unable to convert carbohydrates into energy needed by the body, leading to high blood glucose concentrations or hyperglycemia. Consistently high blood glucose levels over a long time can lead to chronic consequences, such as heart disease, kidney failure, blindness, stroke, and amputation. On the other hand, injecting a high dose of insulin into a diabetic patient causes a severe drop in blood glucose concentration or hypoglycemia, which can lead to anesthesia, coma, and even death in the diabetic patient. Glucose control is a vital problem in type-I diabetes.
The modified Bergman is frequently used for examination of the glucose control systems. This model has a complete structure that includes meal effects and patients’ daily activities. The system dynamics are given as [38]:
G ˙ = d a G χ + π 1 + g b π 1 χ ˙ = π 3 ι ι b χ π 2 ι ˙ = k f ι b + ϕ b f ϕ ˙ = k s ϕ + u R ˙ 1 = R 1 d C 1 R ˙ 2 = R 2 R 1 C 2
where C 1 , C 2 , g b , ι b , k f , k s , k g r π 1 , π 2 and π 3 are positive constants. d a represents the rate of glucose metabolism. G ( m g / d L ) and ι ( m I U ) are the glucose and insulin levels in blood. R 1 and R 2 denote the impact of meals on blood glucose. The system dynamics are rewritten as:
y ˙ 1 = f 1 + ε 1 y 1 y 2 , f 1 = π 1 y 1 g b , ε 1 = w 1 + k g r y 5
y ˙ 2 = f 2 + ε 2 + π 3 y 3 , f 2 = π 2 y 2 π 3 ι b , ε 2 = w 2
y ˙ 3 = f 3 + ε 3 + b f y 4 , f 3 = k f y 3 , ε 3 = w 3
y ˙ 4 = f 4 + ε 4 + u , f 4 = k s y 4 , ε 4 = w 4
where y 5 is defined as y 5 = k g r R 2 , and w i , i = 1 , , 5 are dynamic perturbations. The system dynamics are estimated as:
y ^ 1 4 = f ^ χ | θ g ^ y 1 u κ 1 υ ^ 3 κ 2 υ ^ 2 κ 3 υ ^ ˙ κ 4 υ ^
where f ^ χ | θ is the proposed FLS and χ = [ y 1 , D t q y 1 ] T denotes the input vector of GT2-FLS, and D t q y 1 represents the fractional derivative of y 1 by order q. The κ i , i = 1 , , 4 were chosen such that the polynomial s 4 + κ 1 s 3 + κ 2 s 2 + κ 3 s + κ 4 became Hurwitz-stable. The estimated error was defined as υ ^ = y ^ 1 y 1 . The control objective is that the system output is stabilized and converged to the normal level. Figure 1 displays the general scheme of the suggested controller. A detailed diagram is given in Figure 2.

3. Generalized Type-2 FLS

The glucose–insulin metabolism is a complicated dynamic system because it is perturbed by various unknown factors, such as unpredicted activities, the unknown effect of various meals, and the effect of a broad range of other illnesses. Regarding the high level of uncertainties in the glucose–insulin metabolism, in this paper, a new generalized FLS is suggested for modeling the dynamics. The generalized type-2 FLSs are the developed versions of interval type-2 FLSs. In GT2-FLS, the secondary memberships are not fixed values, but they are different at each primary membership. The main approach to formulate the GT2-FLSs is the use of the α -planes approach [39]. In this method, a general MF is represented by some horizontal slices (see Figure 3).
The glucose–insulin metabolism is identified using a GT2-FLS. In other words, by the use GT2-FLS, the dynamics of the glucose level is modeled, and then the suitable insulin rate is determined. The schematic of GT2-FLS is presented in Figure 4. The details are provided below [30].
Input layer: The inputs are considered to be y 1 ( t ) and D t q y 1 ( t ) .
Membership layer: Each node of a membership layer represents a membership function (MF). Three Gaussian MFs are considered as A i j , i = 1 , 2 , and j = 1 , 2 , 3 (the j t h MF for the i t h input). The memberships are calculated as:
μ ¯ A ˜ 1 , α h 1 y 1 t = exp 1 2 y 1 t y ¯ 1 σ ¯ α h 2 2 μ ̲ A ˜ 1 , α h 1 y 1 t = exp 1 2 y 1 t y ¯ 1 σ ̲ 2 2
μ ¯ A ˜ 1 , α h 2 y 1 t = exp 1 2 y 1 t σ ¯ α h 2 2 μ ̲ A ˜ 1 , α h 2 y 1 t = exp 1 2 y 1 t σ ̲ α h 2 2
μ ¯ A ˜ 1 , α h 3 y 1 t = exp 1 2 y 1 t y ̲ 1 σ ¯ α h 2 2 μ ̲ A ˜ 1 , α h 3 y 1 t = exp 1 2 y 1 t y ̲ 1 σ ̲ α h 2 2
where y ¯ 1 / y ̲ 1 denotes the upper/lower bounds for the glucose level. Similarly, the memberships for the second input are computed as:
μ ¯ A ˜ 2 , α h 1 D t q y 1 t = exp 1 2 D t q y 1 t y ¯ 1 σ ¯ α h 2 2 μ ̲ A ˜ 2 , α h 1 D t q y 1 t = exp 1 2 D t q y 1 t y ¯ 1 σ ̲ α h 2 2
μ ¯ A ˜ 2 , α h 2 D t q y 1 t = exp 1 2 D t q y 1 t σ ¯ α h 2 2 μ ̲ A ˜ 2 , α h 2 D t q y 1 t = exp 1 2 D t q y 1 t σ ̲ α h 2 2
μ ¯ A ˜ 2 , α h 3 D t q y 1 t = exp 1 2 D t q y 1 t y ̲ 1 σ ¯ α h 2 2 μ ̲ A ˜ 2 , α h 3 D t q y 1 t = exp 1 2 D t q y 1 t y ̲ 1 σ ̲ α h 2 2
where y ̲ 1 and y ¯ 1 are the lower and upper boundaries for the glucose level.
Rules layer: The output of the rule layer is written as:
z ̲ 1 = μ ̲ A 1 1 μ ̲ A 2 1 , z ̲ 2 = μ ̲ A 1 1 μ ̲ A 2 2 , z ̲ 3 = μ ̲ A 1 1 μ ̲ A 2 3 z ̲ 4 = μ ̲ A 1 2 μ ̲ A 2 1 , z ̲ 5 = μ ̲ A 1 2 μ ̲ A 2 2 , z ̲ 6 = μ ̲ A 1 2 μ ̲ A 2 3 z ̲ 7 = μ ̲ A 1 3 μ ̲ A 2 1 , z ̲ 8 = μ ̲ A 1 3 μ ̲ A 2 2 , z ̲ 9 = μ ̲ A 1 3 μ ̲ A 2 3 .
The upper firing degrees are calculated as:
z ¯ 1 = μ ¯ A 1 1 μ ¯ A 2 1 , z ¯ 2 = μ ¯ A 1 1 μ ¯ A 2 2 , z ¯ 3 = μ ¯ A 1 1 μ ¯ A 2 3 z ¯ 4 = μ ¯ A 1 2 μ ¯ A 2 1 , z ¯ 5 = μ ¯ A 1 2 μ ¯ A 2 2 , z ¯ 6 = μ ¯ A 1 2 μ ¯ A 2 3 z ¯ 7 = μ ¯ A 1 3 μ ¯ A 2 1 , z ¯ 8 = μ ¯ A 1 3 μ ¯ A 2 2 , z ¯ 9 = μ ¯ A 1 3 μ ¯ A 2 3
Type reduction layer: The output is obtained by the use of a Nie–Tan-type reduction, as [40]:
z l , α h = α h h = 1 H α h z ¯ l , α h + z ̲ l , α h l = 1 M z ¯ l , α h + z ̲ l , α h
where M and H are the number of rules and slices, respectively.
The output layer: The output signal is written as:
f ^ = l = 1 M l = 1 M z l , α h θ l , α h
where θ l , α h , l = 1 , , M , h = 1 , , H are the rule section parameters.
Remark 1.
The rules are optimized by the online stable learning laws (18). However, the MF parameters are fixed. It should be noted that the upper and lower bounds of MFs are chosen on the basis of the input variation range.

4. Controller Design

As shown in the block diagram of Figure 2, the modified Bergman model is employed to evaluate the designed controller. The parameters of the Bergman model are different from one patient to another. Additionally, this model can be perturbed by various factors, such as patient activities, meal effects, and other diseases of the diabetic patient. Then, to model the uncertainties, the designed GT2-FLS is suggested. Using the GT2-FLS, the glucose–insulin metabolism is modeled. The suggested fuzzy model is not fixed, but it is adaptively changed based on the glucose measurement information. The GT2-FLS is optimized by learning rules that ensure the stability. By the estimated model, the regulation system is designed that guarantees global stability. To ensure the asymptotic stability, an adaptive compensator is also designed. The compensator works with the main controller in parallel. The main results are given in two theorems. First, the global stability is investigated, and then the compensator is designed.
Theorem 1.
Considering the control signal (17) and adaptive learning rules (18), the closed-loop glucose–insulin system is globally stable.
u = 1 g ^ y 1 f ^ + r 4 k T υ ̲ + κ T υ ^ ̲
θ ˙ = γ υ ^ ̲ T π 2 b Z g ^ ˙ = γ υ ^ ̲ T π 2 b y 1 u
where γ represents the learning rate, r is the glucose signal, and π i , i = 1 , 2 are positive definite matrices, such that:
A T π 1 + π 1 A = Q 1
Λ T π 2 + π 2 Λ = Q 2
where
Λ = 0 1 0 0 0 0 1 0 0 0 0 1 κ 4 κ 3 κ 2 κ 1
A = 0 1 0 0 0 0 1 0 0 0 0 1 k 4 k 3 k 2 k 1
b = 0 0 0 1
υ ̲ = υ υ ˙ υ ¨ υ 3
υ ^ ̲ = υ ^ υ ^ ˙ υ ^ ¨ υ ^ 3
υ = y 1 r
k T = k 1 , , k n , κ T = κ 1 , , κ n
where Q 1 and Q 2 are arbitrary positive-definite matrices. θ and Z are defined as:
θ = α 1 w 1 , . , α 1 w M , , α H w 1 , . , α H w M T
Z = 1 h = 1 H α h 1 l = 1 M z ¯ l + z ̲ l α 1 z ¯ 1 + z ̲ 1 , . , α 1 z ¯ M + z ̲ M , , α H z ¯ 1 + z ̲ 1 , . , α H z ¯ M + z ̲ M T
Proof. 
First, we should obtain a relation between measured glucose and injected insulin. Based on the Bergman model, the time derivative of y 1 yields:
y ¨ 1 = π 1 y ˙ 1 y ˙ 1 y 2 y 1 π 2 y 2 + π 3 y 3 π 3 ι b ε 2 y 1
The time derivative of y ¨ 1 in (30) results in:
y 1 3 = y ¨ 1 π 1 + y 2 y ˙ 1 y ˙ 2 + π 2 y ˙ 1 y 2 + π 2 y 1 y ˙ 2 + π 3 ι b y ˙ 1 π 3 y ˙ 1 y 3 π 3 y 1 k f y 3 + b f y 4 ε 2 y ˙ 1 π 3 y 1 ε 3
By replacing (30) in (31), we have:
y 1 3 = π 1 y ˙ 1 + y ˙ 1 y 2 + y 1 π 2 y 2 + π 3 y 3 π 3 ι b π 1 + y 2 y ˙ 1 y ˙ 2 π 2 y ˙ 1 y 2 π 2 y 1 y ˙ 2 + π 3 ι b y ˙ 1 π 3 y ˙ 1 y 3 π 3 y 1 k f y 3 + b f y 4 ε 2 y ˙ 1 π 3 y 1 ε 3 + ε 2 y 1 π 1 + y 2 .
From (32), we take one higher-order derivative and obtain y 1 4 as:
y 1 4 = y 1 3 π 1 + y 2 2 y ¨ 1 y ˙ 2 y ˙ 1 y ¨ 2 + 2 π 2 y ˙ 1 y ˙ 2 + π 2 y 1 y ¨ 2 + π 3 ι b y ¨ 1 π 3 y ¨ 1 y 3 π 3 y ˙ 1 y ˙ 3 π 3 y ˙ 1 k f y 3 + b f y 4 + ε 3 + π 2 y ¨ 1 y 2 π 3 y 1 k f y ˙ 3 + b f y ˙ 4 ε 2 y ¨ 1 .
By replacing y ˙ 4 , the Equation (33) can be rewritten as:
y 1 4 = y 1 3 π 1 + y 2 2 y ¨ 1 y ˙ 2 y ˙ 1 y ¨ 2 π 2 y ¨ 1 y 2 2 π 2 y ˙ 1 y ˙ 2 π 2 y 1 y ¨ 2 + π 3 ι b y ¨ 1 π 3 y ¨ 1 y 3 π 3 y ˙ 1 k f y 3 + b f y 4 + ε 3 ε 2 y ¨ 1 π 3 y ˙ 1 y ˙ 3 π 3 y 1 k f y ˙ 3 + b f k s y 4 + ε 4 + u
The Equation (34) is simplified such that the control signal term to be seen is clearly:
y 1 4 = y 1 3 π 1 + y 2 2 y ¨ 1 y ˙ 2 y ˙ 1 y ¨ 2 π 2 y ¨ 1 y 2 2 π 2 y ˙ 1 y ˙ 2 π 2 y 1 y ¨ 2 + π 3 ι b y ¨ 1 π 3 y ¨ 1 y 3 π 3 y ˙ 1 y ˙ 3 π 3 y ˙ 1 k f y 3 + b f y 4 + ε 3 ε 2 y ¨ 1 π 3 y 1 k f y ˙ 3 b f k s y 4 + b f ε 4 π 3 b f y 1 u
The nonlinear terms are denoted by one symbol, and then the Equation (35) is rewritten as:
y 1 ( 4 ) = f π 3 b f y 1 u
where
f = y 1 3 π 1 + y 2 2 y ¨ 1 y ˙ 2 y ˙ 1 y ¨ 2 π 2 y ¨ 1 y 2 2 π 2 y ˙ 1 y ˙ 2 π 2 y 1 y ¨ 2 + π 3 ι b y ¨ 1 π 3 y ¨ 1 y 3 π 3 y ˙ 1 y ˙ 3 π 3 y ˙ 1 k f y 3 + b f y 4 + ε 3 π 3 y 1 k f y ˙ 3 b f k s y 4 + b f ε 4 ε 2 y ¨ 1
Considering the suggested GT2-FLS, the dynamics are estimated as:
y ^ 1 4 = f ^ χ | θ g ^ y 1 u κ 1 υ ^ 1 3 κ 2 υ ^ ¨ κ 3 υ ^ ˙ κ 4 υ ^
where f ^ χ | θ is the suggested FLS, χ = y 1 , D t q y 1 T is the input vector of GT2-FLS, and q represents the value of fractional-order derivatives. The κ i , i = 1 , . . . , 4 are positive constants that are determined by the Hurwitz stability criteria. The estimation error υ ^ is defined as υ ^ = y ^ 1 y 1 .
From (41), the estimation error υ ^ becomes:
υ ^ 1 4 = f ^ χ | θ f + g g ^ y 1 u κ 1 υ ^ 1 3 κ 2 υ ^ ¨ κ 3 υ ^ ˙ κ 4 υ ^
By adding and subtracting the FLS with optimal parameters and the optimal g in (39), one has:
υ ^ 1 4 = f ^ * χ | θ * f + f ^ χ | θ f ^ * χ | θ * + g * g ^ y 1 u + g g * y 1 u κ 1 υ ^ 1 3 κ 2 υ ^ ¨ κ 3 υ ^ ˙ κ 4 υ ^ .
Considering the vector form representation of GT2-FLS ( f ^ can be written as f ^ = θ T Z , see Z in (29)), the Equation (40) can be rewritten as:
υ ^ 1 4 = ε + θ ˜ T Z + g ˜ y 1 u κ 1 υ ^ 1 3 κ 2 υ ^ ¨ κ 3 υ ^ ˙ κ 4 υ ^
where ε denotes the estimation error:
ε = f ^ * χ | θ * f + g g * y 1 u
The θ ˜ and g ˜ are defined as follows:
θ ˜ = θ θ * , g ˜ = g * g
where θ is the vector rule parameter that is defined in (28). By applying the controller (17) to the estimated system (38), the dynamic of the tracking error becomes:
υ 1 4 = k T υ ̲
In the vector form, we have:
υ ˙ ̲ = A υ ̲
υ ^ ˙ ̲ = Λ υ ^ ̲ b θ ˜ T Z + b g ˜ y 1 u + b ε
where
Λ = 0 1 0 0 0 0 1 0 0 0 0 1 κ 4 κ 3 κ 2 κ 1
A = 0 1 0 0 0 0 1 0 0 0 0 1 k 4 k 3 k 2 k 1
b = 0 0 0 1
υ ̲ = υ υ ˙ υ ¨ υ 3
υ ^ ̲ = υ ^ υ ^ ˙ υ ^ ¨ υ ^ 3
υ = y ^ 1 r
υ ^ = y ^ 1 y 1
Consider the Lyapunov function as:
V = 1 2 υ ̲ T π 1 υ ̲ + 1 2 υ ^ ̲ T π 2 υ ^ ̲ + 1 2 γ θ ˜ T θ ˜ + 1 2 γ g ˜ 2
where
A T π 1 + π 1 A = Q 1
Λ T π 2 + π 2 Λ = Q 2
g ˜ = g * g ^
θ ˜ = θ θ *
The time-derivative of (54) results in:
V ˙ = 1 2 υ ˙ ̲ T π 1 υ ̲ + 1 2 υ ̲ T π 1 υ ˙ ̲ + 1 2 υ ^ ˙ ̲ T π 1 υ ^ ̲ + 1 2 υ ^ ̲ T π 1 υ ^ ˙ ̲ + 1 γ θ ˜ T θ ˙ 1 γ g ˜ g ^ ˙ .
By replacing (45) and (46), we have:
V ˙ = 1 2 υ ̲ T A T π 1 + π 1 A υ ̲ + 1 2 υ ^ ̲ T Λ T π 2 + π 2 Λ υ ^ ̲ υ ^ ̲ T π 2 b θ ˜ T Z + υ ^ ̲ T π 2 b g ˜ y 1 u + υ ^ ̲ T π 2 b ε + 1 γ θ ˜ T θ ˙ 1 γ g ˜ g ^ ˙ .
From (55) and (56), V ˙ becomes:
V ˙ = 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ υ ^ ̲ T π 2 b θ ˜ T Z + υ ^ ̲ T π 2 b g ˜ y 1 u + υ ^ ̲ T π 2 b ε + 1 γ θ ˜ T θ ˙ 1 γ g ˜ g ^ ˙ .
Equation (61) can be rewritten as:
V ˙ = 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ θ ˜ T 1 γ θ ˙ υ ^ ̲ T π 2 b Z + g ˜ 1 γ g ^ ˙ + υ ^ ̲ T π 2 b y 1 u + υ ^ ̲ T π 2 b ε .
Form (18), the Equation (62) is written as:
V ˙ = 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ + υ ^ ̲ T π 2 b ε .
From (63), we have:
V ˙ 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ + υ ^ ̲ T π 2 b ε ¯
where ε ¯ denotes the upper bound of ε . The inequality (64) can be rewritten as:
V ˙ λ M a x Q 1 υ ̲ 2 λ M a x Q 2 υ ^ ̲ 2 + υ ^ ̲ T π 2 b ε ¯
where λ M a x Q 1 and λ M a x Q 2 represent the maximum eigenvalues of Q 1 and Q 2 , respectively. From (65), we see that the global stability can be derived considering the suitable Q 1 and Q 2 . This completes the proof. □
To ensure the asymptotic stability, an adaptive compensator is designed. The details are presented in Theorem 2.
Theorem 2.
By updating the control signal and adaptive learning rules as (66) and (67), the asymptotic stability is ensured.
u = 1 g ^ y 1 f ^ + r 4 k T υ ̲ + κ T υ ^ ̲ F c
θ ˙ c = υ ̲ T π 2 b Z
where F c represents the fuzzy compensator, and θ c is the vector of compensator parameters.
Proof. 
Considering the updated controller (66), we have:
υ 1 4 = k T υ ̲ θ c T Z
Then in the vector form, we have:
υ ˙ ̲ = A υ ̲ b u c
υ ^ ˙ ̲ = Λ υ ^ ̲ b θ ˜ T Z + b g ˜ y 1 u + b ε
Consider the Lyapunov function as:
V = 1 2 υ ̲ T π 1 υ ̲ + 1 2 υ ^ ̲ T π 2 υ ^ ̲ + 1 2 γ θ ˜ T θ ˜ + 1 2 γ g ˜ 2 + 1 2 γ θ ˜ c T θ ˜ c
The time derivative of (54) results in:
V ˙ = 1 2 υ ˙ ̲ T π 1 υ ̲ + 1 2 υ ̲ T π 1 υ ˙ ̲ + 1 2 υ ^ ˙ ̲ T π 1 υ ^ ̲ + 1 2 υ ^ ̲ T π 1 υ ^ ˙ ̲ + 1 γ θ ˜ T θ ˙ 1 γ g ˜ g ^ ˙ 1 γ θ ˜ c θ ˙ c
By replacing the control signal (66), and some simplifications, V ˙ becomes:
V ˙ = 1 2 υ ̲ T A T π 1 + π 1 A υ ̲ + 1 2 υ ^ ̲ T Λ T π 2 + π 2 Λ υ ^ ̲ υ ^ ̲ T π 2 b θ ˜ T Z + υ ^ ̲ T π 2 b g ˜ y 1 u + υ ̲ T π 2 b θ c T Z + υ ^ ̲ T π 2 b f ^ * f + g g * y 1 u + 1 γ θ ˜ T θ ˙ 1 γ g ˜ g ^ ˙ 1 γ θ ˜ c T θ ˙ c
By tuning rules (18), and Equations (19), (20) and (42), one has:
V ˙ = 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ υ ̲ T π 2 b θ c T Z 1 γ θ ˜ c T θ ˙ c + υ ^ ̲ T π 2 b ε
By adding and subtracting υ ̲ T π 2 b θ c * T Z into (74), one has:
V ˙ 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ υ ̲ T π 2 b θ c T Z + υ ̲ T π 2 b θ c * T Z 1 γ θ ˜ c T θ ˙ c + υ ^ ̲ T π 2 b ε υ ̲ T π 2 b θ c * T Z .
By the tuning rule (67), the inequality (75) becomes:
V ˙ 1 2 υ ̲ T Q 1 υ ̲ 1 2 υ ^ ̲ T Q 2 υ ^ ̲ + υ ^ ̲ T π 2 b ε υ ̲ T π 2 b θ c * T Z
From the fact that the υ ̲ T π 2 b θ c * T Z is a positive term and ε represents an optimal negligible estimation error, then it can be derived that by the proper choosing of Q 1 and Q 2 , the asymptotic stability is ensured. □

5. Simulation

The designed glucose control system is examined by the use of the Bergman model of some patients under various conditions. In Table 1, Table 2 and Table 3, the Bergman models are described. The trajectory of the glucose level in the case where there is no control signal is depicted in Figure 5. We see that the glucose level rapidly exceeds the desired range.
To examine the capability of the designed controller, different initial glucose levels are considered. The glucose trajectory for three patients is given in Figure 6, Figure 7 and Figure 8. We see that the glucose trajectory is perfectly regulated on an acceptable level.
For further examination, besides the unknown model, white noise was also applied on the Bergman model. The imposed noise strongly disturbs the glucose–insulin dynamics. It should be noted that in the modified Bergman model, another disturbance was also taken to account, namely, the meal disturbance. Similar to the first scenario, the glucose level trajectory in the case where there is no control signal is given in Figure 9. As it can be observed, by the imposed noise, the dynamics become unstable and the glucose level rapidly exceeds the desired range. The performance is depicted in Figure 10, Figure 11 and Figure 12 for the first, second, and third patients. We see that by the designed controller, the glucose level for all patients are well-converged to the desired trajectory.
To better verify the performance of the suggested method, a comparison with some other techniques is presented. The regulation accuracy is compared with proportional-derivative-integral fuzzy control (PID-FLC) [42], and fuzzy self-adjusting control (SFLC) [43]. For the comparison, just a normal condition under a meal effect was considered. The comparison of RMSE results is provided in Table 4. Additionally, the trajectories of glucose level by various controllers are given in Figure 13. We see that our designed controller results in better glucose regulation performance. It should be noted that under difficult noisy conditions, the conventional methods become unstable and cannot handle the high level of uncertainties.
The Sobol approach is often used for sensitivity analysis. The variance of output of the suggested fuzzy model is decomposed on its input variance. The sensitivity index is a number that ranges from 0 to 1. The bigger the index, the greater the effect. To compute the Sobol index, for patient 1, the data were saved form 0 until 5(h). Table 5 shows the first-order sensitivity index values.
Remark 2.
The main advantages of the designed scheme are that: (1) From one patient to another, there is no need for further changes in the controller. In other words, the controller has a self-organized scheme. (2) In addition to the unknown metabolism, the meal effect is also considered in the designing process. (3) The effect of basic perturbations, such as the abnormal activities of patients or other illnesses of the patients are taken into account, and compensated by the designed fuzzy supervisor.
Remark 3.
The main drawback is that the rate of injected insulin was not optimal. In other words, there were no restrictions on the amount of injected insulin. In future studies, the optimality of injected insulin should be investigated further.
Remark 4.
The designed controller considers the main restrictions of real-world conditions. Then it can be implemented to regulate the blood-glucose of type-I diabetic patients.

6. Conclusions

We proposed a new fuzzy approach for glucose level control in type-I diabetes. The dynamics of glucose changes were assumed to be uncertain and an adaptive GT2-FLS was presented for online estimation of the glucose–insulin metabolism. The effects of dynamic perturbation, meal effect, and estimation errors were taken into account, and an adaptive compensator was designed. To evaluate the control performance, three patients with different modified Bergman models and different initial glucose levels were considered. Besides the unknown dynamics and considering the meal effect in the modified Bergman model, a strong dynamic perturbation as the imposed external noise was also considered. It was seen that, without the controller, the modified Bergman models of the three patients were unstable and the glucose levels rapidly exceeded the desired range. However, by the suggested control system, the glucose level for all three patients was regulated at the desired level. Additionally, a comparison with conventional controllers demonstrated the superiority of the suggested controller. The simulations verify that the glucose regulation efficiency of the suggested approach does not depend on the metabolism. We see that for various patients with different conditions and activities, the regulation accuracy does not change. Additionally, the patient’s meal and their other illnesses do not affect the performance. The trajectories of the obtained injection insulin are quite smooth without abnormal inflections, and thus can be easily implemented.

Author Contributions

Conceptualization, S.-R.Y., W.G. and M.B.; Formal analysis, S.-R.Y. and A.K.A.; Funding acquisition, M.B.; Investigation, S.-R.Y., K.A.A., W.G., M.B. and A.M.; Methodology, S.-R.Y., W.G., K.A.A., M.B., A.K.A., A.M., S.M. and A.Z.; Resources, K.A.A., M.B., A.K.A., A.M., S.M. and A.Z.; Supervision, A.M. and S.M.; Writing—original draft, S.-R.Y.; Writing—review and editing, K.A.A., M.B., A.K.A., A.M., S.M. and A.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Taif University Researchers Supporting Project grant number (TURSP-2020/266), of Taif University, Taif, Saudi Arabia. The research was also partially funded by the Ministry of Science and Higher Education of the Russian Federation as part of World-class Research Center program: Advanced Digital Technologies (contract No. 075-15-2020-903 dated 16 November 2020).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors extend their appreciation to the Deanship of Scientific Research—Majmaah University for supporting this work under project number (R-2022-45).

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

y 1    Measured glucose.
u   Injected insulin.
r   Desired glucose level.
f ^    GT2-FLS.
F c    Compensator.
υ    Tracking error.
υ ^    Estimation error.
A j i    The i t h membership function (MF) for j t h input.
y ¯ j    Center of j t h MF.
σ ¯ / σ ̲    Upper/Lower standard divisions.
θ l    The l t h rule parameter.
α h    The level of h t h slice.
q   Fractional derivative order.

References

  1. Hu, J.; Chen, P.; Yang, Y. An interval type-2 fuzzy similarity-based MABAC approach for patient-centered care. Mathematics 2019, 7, 140. [Google Scholar] [CrossRef] [Green Version]
  2. Ahmad, S.; Ramkissoon, C.M.; Beneyto, A.; Conget, I.; Giménez, M.; Vehi, J. Generation of Virtual Patient Populations That Represent Real Type 1 Diabetes Cohorts. Mathematics 2021, 9, 1200. [Google Scholar] [CrossRef]
  3. Hepp, K.; Renner, R.; Piwernetz, K.; Mehnert, H. Control of insulin-dependent diabetes with portable miniaturized infusion systems. Diabetes Care 1980, 3, 309–313. [Google Scholar] [CrossRef] [PubMed]
  4. Biagi, L.; Bertachi, A.; Giménez, M.; Conget, I.; Bondia, J.; Martín-Fernández, J.A.; Vehí, J. Probabilistic Model of Transition between Categories of Glucose Profiles in Patients with Type 1 Diabetes Using a Compositional Data Analysis Approach. Sensors 2021, 21, 3593. [Google Scholar] [CrossRef] [PubMed]
  5. Belmon, A.P.; Auxillia, J. An adaptive technique based blood glucose control in type-I diabetes mellitus patients. Int. J. Numer. Methods Biomed. Eng. 2020, 36, e3371. [Google Scholar] [CrossRef] [PubMed]
  6. Alshalalfah, A.L.; Hamad, G.B.; Mohamed, O.A. Towards Safe and Robust Closed-Loop Artificial Pancreas Using Improved PID-Based Control Strategies. IEEE Trans. Circuits Syst. I Regul. Pap. 2021, 68, 3147–3157. [Google Scholar] [CrossRef]
  7. Patra, A.K.; Nanda, A.; Panigrahi, S.; Mishra, A.K. The Fractional Order PID Controller Design for BG Control in Type-I Diabetes Patient. In Advances in Intelligent Computing and Communication; Springer: Singapore, 2020; pp. 321–329. [Google Scholar]
  8. Jasim, W.M.; Al Mashhadany, Y.I. Diabetics blood glucose control based on GA-FOPID technique. Bull. Electr. Eng. Inform. 2021, 10, 516–523. [Google Scholar] [CrossRef]
  9. Khan, M.W.; Abid, M.; Khan, A.Q.; Mustafa, G.; Ali, M.; Khan, A. Sliding mode control for a fractional-order non-linear glucose–insulin system. IET Syst. Biol. 2020, 14, 223–229. [Google Scholar] [CrossRef]
  10. Wang, G.; Wang, B.; Zhang, C. Fixed-time third-order super-twisting-like sliding mode motion control for piezoelectric nanopositioning stage. Mathematics 2021, 9, 1770. [Google Scholar] [CrossRef]
  11. Franco, R.; de Loza, A.F.; Ríos, H.; Cassany, L.; Gucik-Derigny, D.; Cieslak, J.; Henry, D.; Olçomendy, L. Output-Feedback Sliding-Mode Controller for Blood Glucose Regulation in Critically Ill Patients Affected by Type 1 Diabetes. IEEE Trans. Control Syst. Technol. 2021, 29, 2704–2711. [Google Scholar] [CrossRef]
  12. Karam, E.H.; Jadoo, E.H. Design modified second order sliding mode controller based on ST algorithm for blood glucose regulation systems. Appl. Comput. Sci. 2020, 16. [Google Scholar]
  13. Dansa, M.; Rodrigues, V.H.P.; Oliveira, T.R. Blood glucose regulation in patients with type 1 diabetes by means of output-feedback sliding mode control. In Control Applications for Biomedical Engineering Systems; Elsevier: Amsterdam, The Netherlands, 2020; pp. 25–54. Available online: https://www.sciencedirect.com/science/article/pii/B9780128174616000020?via%3Dihub (accessed on 20 January 2022).
  14. Patra, A.K.; Nanda, A. Model Predictive Controller Design based on the Laguerre Functions for Blood Glucose Regulation in TIDM Patient. J. Inst. Eng. (India) Ser. B 2021, 102, 237–248. [Google Scholar] [CrossRef]
  15. Liang, P.; Hu, J.; Li, B.; Liu, Y.; Chen, X. A group decision making with probability linguistic preference relations based on nonlinear optimization model and fuzzy cooperative games. Fuzzy Optim. Decis. Mak. 2020, 19, 499–528. [Google Scholar] [CrossRef]
  16. Tian, M.; Yan, S.; Tian, X. Discrete approximate iterative method for fuzzy investment portfolio based on transaction cost threshold constraint. Open Phys. 2019, 17, 41–47. [Google Scholar] [CrossRef]
  17. Precup, R.E.; Roman, R.C.; Hedrea, E.L.; Petriu, E.M.; Bojan-Dragos, C.A. Data-Driven Model-Free Sliding Mode and Fuzzy Control with Experimental Validation. Int. J. Comput. Commun. Control 2021, 16, 1–17. [Google Scholar] [CrossRef]
  18. Qasem, S.N.; Mohammadzadeh, A. A deep learned type-2 fuzzy neural network: Singular value decomposition approach. Appl. Soft Comput. 2021, 105, 107244. [Google Scholar] [CrossRef]
  19. Lin, T.C.; Li, C.Y.; Chen, P.F.; Chen, W.K.; Dey, R.; Balas, M.M.; Olariu, T.; Wong, W.S. Identifier based intelligent blood glucose concentration regulation for type 1 diabetic patients: An adaptive fuzzy approach. J. Intell. Fuzzy Syst. 2020, 38, 6175–6184. [Google Scholar] [CrossRef]
  20. Liu, C.; Mo, H.; Wang, F.Y. Analysis and Control of Blood Glucose Situation for Diabetic Patients Based on Interval Type-2 Fuzzy Sets. Int. J. Fuzzy Syst. 2020, 23, 1–15. [Google Scholar] [CrossRef]
  21. Patra, A.K.; Nanda, A.; Panigrahi, S.; Mishra, A.K. Design of Artificial Pancreas Based on Fuzzy Logic Control in Type-I Diabetes Patient. In Innovation in Electrical Power Engineering, Communication, and Computing Technology; Springer: Singapore, 2020; pp. 557–569. [Google Scholar]
  22. Romanov, A.A.; Filippov, A.A.; Voronina, V.V.; Guskov, G.; Yarushkina, N.G. Modeling the Context of the Problem Domain of Time Series with Type-2 Fuzzy Sets. Mathematics 2021, 9, 2947. [Google Scholar] [CrossRef]
  23. Romanov, A.; Filippov, A.; Yarushkina, N. Application of Type-2 Fuzzy Sets for Analyzing Production Processes. In International Conference on Artificial Intelligence and Soft Computing; Springer: Cham, Switzerland, 2019; pp. 346–357. [Google Scholar]
  24. Bajestani, N.S.; Kamyad, A.V.; Esfahani, E.N.; Zare, A. Nephropathy forecasting in diabetic patients using a GA-based type-2 fuzzy regression model. Biocybern. Biomed. Eng. 2017, 37, 281–289. [Google Scholar] [CrossRef]
  25. Forooshani, R.Z.; Siahi, M.; Ramezani, A. Adaptive type-2 fuzzy control for regulation of glucose level in type 1 diabetes. IETE J. Res. 2019, 1–11. [Google Scholar] [CrossRef]
  26. Heydarinejad, H.; Delavari, H.; Baleanu, D. Fuzzy type-2 fractional Backstepping blood glucose control based on sliding mode observer. Int. J. Dyn. Control 2019, 7, 341–354. [Google Scholar] [CrossRef]
  27. Lee, C.S.; Wang, M.H.; Hagras, H. A type-2 fuzzy ontology and its application to personal diabetic-diet recommendation. IEEE Trans. Fuzzy Syst. 2010, 18, 374–395. [Google Scholar] [CrossRef]
  28. Nasr, S.; Mahmoodian, H. Insulin drug regulation by general type 2 fuzzy controller with alpha plane. J. Intell. Proced. Electr. Technol. 2019, 10, 39–48. [Google Scholar]
  29. Zeighami, A.; Ayoubi, A. The regulation of the blood glucose levels by type-2 fuzzy controller. Biomed. Eng. Appl. Basis Commun. 2017, 29, 1750022. [Google Scholar] [CrossRef]
  30. Mohammadzadeh, A.; Kumbasar, T. A new fractional-order general type-2 fuzzy predictive control system and its application for glucose level regulation. Appl. Soft Comput. 2020, 91, 106241. [Google Scholar] [CrossRef]
  31. Ontiveros, E.; Melin, P.; Castillo, O. Comparative study of interval type-2 and general type-2 fuzzy systems in medical diagnosis. Inf. Sci. 2020, 525, 37–53. [Google Scholar] [CrossRef]
  32. Carvajal, O.; Melin, P.; Miramontes, I.; Prado-Arechiga, G. Optimal design of a general type-2 fuzzy classifier for the pulse level and its hardware implementation. Eng. Appl. Artif. Intell. 2021, 97, 104069. [Google Scholar] [CrossRef]
  33. Tian, M.W.; Wang, L.; Yan, S.R.; Tian, X.X.; Liu, Z.Q.; Rodrigues, J.J.P. Research on financial technology innovation and application based on 5G network. IEEE Access 2019, 7, 138614–138623. [Google Scholar] [CrossRef]
  34. Sun, Z.; Bi, Y.; Zhao, X.; Sun, Z.; Ying, C.; Tan, S. Type-2 fuzzy sliding mode anti-swing controller design and optimization for overhead crane. IEEE Access 2018, 6, 51931–51938. [Google Scholar] [CrossRef]
  35. Ontiveros-Robles, E.; Castillo, O.; Melin, P. Towards Asymmetric Uncertainty Modeling in Designing General Type-2 Fuzzy Classifiers for Medical Diagnosis. Expert Syst. Appl. 2021, 183, 115370. [Google Scholar] [CrossRef]
  36. Castillo, O.; Peraza, C.; Ochoa, P.; Amador-Angulo, L.; Melin, P.; Park, Y.; Geem, Z. Shadowed Type-2 Fuzzy Systems for Dynamic Parameter Adaptation in Harmony Search and Differential Evolution for Optimal Design of Fuzzy Controllers. Mathematics 2021, 9, 2439. [Google Scholar] [CrossRef]
  37. Wang, H.; Liu, D.H.; Yu, L.; Chen, G.J.; Yan, H.P.; Tian, M.W.; Huang, H.L.; Yan, S.R.; Wang, L.N.; Li, W.H. Analysis on the reading guidance to classics in the teaching of specialized courses in tourism undergraduate education in China. Int. J. Electr. Eng. Educ. 2020, 0020720920931073. [Google Scholar] [CrossRef]
  38. Cutfield, W.S.; Bergman, R.N.; Menon, R.K.; Sperling, M.A. The modified minimal model: Application to measurement of insulin sensitivity in children. J. Clin. Endocrinol. Metab. 1990, 70, 1644–1650. [Google Scholar] [CrossRef] [PubMed]
  39. Takáč, Z. On some properties of α-planes of type-2 fuzzy sets. Kybernetika 2013, 49, 149–163. [Google Scholar]
  40. Nie, M.; Tan, W.W. Towards an efficient type-reduction method for interval type-2 fuzzy logic systems. In Proceedings of the 2008 IEEE International Conference on Fuzzy Systems (IEEE World Congress on Computational Intelligence), Hong Kong, China, 1–6 June 2008; pp. 1425–1432. [Google Scholar]
  41. Dudde, R.; Vering, T.; Piechotta, G.; Hintsche, R. Computer-aided continuous drug infusion: Setup and test of a mobile closed-loop system for the continuous automated infusion of insulin. IEEE Trans. Inf. Technol. Biomed. 2006, 10, 395–402. [Google Scholar] [CrossRef]
  42. Penet, M. Robust Nonlinear Model Predictive Control based on Constrained Saddle Point Optimization: Stability Analysis and Application to Type 1 Diabetes. Ph.D. Thesis, CentraleSupélec, Gif-sur-Yvette, France, 2013. [Google Scholar]
  43. Abadi, D.N.M.; Khooban, M.H.; Alfi, A.; Siahi, M. Design of optimal self-regulation Mamdani-type fuzzy inference controller for type I diabetes mellitus. Arab. J. Sci. Eng. 2014, 39, 977–986. [Google Scholar] [CrossRef]
Figure 1. General diagram of the designed controller.
Figure 1. General diagram of the designed controller.
Mathematics 10 00690 g001
Figure 2. Detailed diagram of the designed controller.
Figure 2. Detailed diagram of the designed controller.
Mathematics 10 00690 g002
Figure 3. General type-2 membership function.
Figure 3. General type-2 membership function.
Mathematics 10 00690 g003
Figure 4. Block diagram of the proposed GT2-FLS.
Figure 4. Block diagram of the proposed GT2-FLS.
Mathematics 10 00690 g004
Figure 5. Glucose trajectories in an uncontrolled condition.
Figure 5. Glucose trajectories in an uncontrolled condition.
Mathematics 10 00690 g005
Figure 6. Adult I: Trajectory of glucose level.
Figure 6. Adult I: Trajectory of glucose level.
Mathematics 10 00690 g006
Figure 7. Adult II: Trajectory of glucose level.
Figure 7. Adult II: Trajectory of glucose level.
Mathematics 10 00690 g007
Figure 8. Adult III: Trajectory of glucose level.
Figure 8. Adult III: Trajectory of glucose level.
Mathematics 10 00690 g008
Figure 9. The glucose level in the presence of noise, without a controller.
Figure 9. The glucose level in the presence of noise, without a controller.
Mathematics 10 00690 g009
Figure 10. Patient I: The glucose level in the presence of noise, by the designed controller.
Figure 10. Patient I: The glucose level in the presence of noise, by the designed controller.
Mathematics 10 00690 g010
Figure 11. Patient II: The glucose level in the presence of noise, by the designed controller.
Figure 11. Patient II: The glucose level in the presence of noise, by the designed controller.
Mathematics 10 00690 g011
Figure 12. Patient III: The glucose level in the presence of noise, by the designed controller.
Figure 12. Patient III: The glucose level in the presence of noise, by the designed controller.
Mathematics 10 00690 g012
Figure 13. Patient III: Comparison of regulation performance by various control methods.
Figure 13. Patient III: Comparison of regulation performance by various control methods.
Mathematics 10 00690 g013
Table 1. The Bergman model parameters [41].
Table 1. The Bergman model parameters [41].
Adult π 1 π 2 π 3 k f
I3.10   ×   10 3 1.54   ×   10 2 1.24   ×   10 6 3.86   ×   10 2
II1.32   ×   10 2 5.30   ×   10 3 1.43   ×   10 6 1.30   ×   10 2
III3.90   ×   10 3 5.54   ×   10 3 5.47   ×   10 7 6.67   ×   10 2
Table 2. The Bergman model parameters [41].
Table 2. The Bergman model parameters [41].
Adult k gr C 2 C 1
I1.10   ×   10 3 2.40   ×   10 2 9.94   ×   10 2
II4.1   ×   10 3 6.20   ×   10 3 9.24   ×   10 2
III1.60   ×   10 3 7.30   ×   10 3 9.32   ×   10 2
Table 3. The Bergman model parameters [41].
Table 3. The Bergman model parameters [41].
Adult b f k s g b ι b
I1.79   ×   10 4 6.70   ×   10 3 76.5025.10
II4.90   ×   10 4 5.68   ×   10 2 80.1028.50
III9.38   ×   10 4 1.34   ×   10 2 75.2032
Table 4. RMSE comparison results.
Table 4. RMSE comparison results.
MethodPatient
IIIIII
Proposed method10.217012.021711.0135
PID-FLC [42]13.051717.921715.1064
SFLC [43]11.202414.271512.0287
Table 5. Sobol sensitivity indexes.
Table 5. Sobol sensitivity indexes.
Sensitivity Index0.200.13
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yan, S.-R.; Alattas, K.A.; Bakouri, M.; Alanazi, A.K.; Mohammadzadeh, A.; Mobayen, S.; Zhilenkov, A.; Guo, W. Generalized Type-2 Fuzzy Control for Type-I Diabetes: Analytical Robust System. Mathematics 2022, 10, 690. https://doi.org/10.3390/math10050690

AMA Style

Yan S-R, Alattas KA, Bakouri M, Alanazi AK, Mohammadzadeh A, Mobayen S, Zhilenkov A, Guo W. Generalized Type-2 Fuzzy Control for Type-I Diabetes: Analytical Robust System. Mathematics. 2022; 10(5):690. https://doi.org/10.3390/math10050690

Chicago/Turabian Style

Yan, Shu-Rong, Khalid A. Alattas, Mohsen Bakouri, Abdullah K. Alanazi, Ardashir Mohammadzadeh, Saleh Mobayen, Anton Zhilenkov, and Wei Guo. 2022. "Generalized Type-2 Fuzzy Control for Type-I Diabetes: Analytical Robust System" Mathematics 10, no. 5: 690. https://doi.org/10.3390/math10050690

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

Article Metrics

Back to TopTop