<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Endocrinol.</journal-id>
<journal-title>Frontiers in Endocrinology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Endocrinol.</abbrev-journal-title>
<issn pub-type="epub">1664-2392</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fendo.2023.1115436</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Endocrinology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>In-silico evaluation of an artificial pancreas achieving automatic glycemic control in patients with type 1 diabetes</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Liu</surname>
<given-names>Wenping</given-names>
</name>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1060346"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Ting</given-names>
</name>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Liang</surname>
<given-names>Bingjin</given-names>
</name>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Yanran</given-names>
</name>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Jin</surname>
<given-names>Haoyu</given-names>
</name>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<institution>Institute of Medical Devices, Guangdong Food and Drug Vocational College</institution>, <addr-line>Guangzhou</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Chiara Toffanin, University of Pavia, Italy</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Anas El Fathi, University of Virginia, United States; Jacopo Pavan, University of Padua, Italy</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Haoyu Jin, <email xlink:href="mailto:jinhy@gdyzy.edu.cn">jinhy@gdyzy.edu.cn</email>; Wenping Liu, <email xlink:href="mailto:liuwp@gdyzy.edu.cn">liuwp@gdyzy.edu.cn</email>
</p>
</fn>
<fn fn-type="other" id="fn002">
<p>This article was submitted to Clinical Diabetes, a section of the journal Frontiers in Endocrinology</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>30</day>
<month>01</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>14</volume>
<elocation-id>1115436</elocation-id>
<history>
<date date-type="received">
<day>04</day>
<month>12</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>20</day>
<month>01</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Liu, Chen, Liang, Wang and Jin</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Liu, Chen, Liang, Wang and Jin</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Artificial pancreas (AP) is a useful tool for maintaining the blood glucose (BG) of patients with type 1 diabetes (T1D) within the euglycemic range. An intelligent controller has been developed based on general predictive control (GPC) for AP. This controller exhibits good performance with the UVA/Padova T1D mellitus simulator approved by the US Food and Drug Administration. In this work, the GPC controller was further evaluated under strict conditions, including a pump with noise and error, a CGM sensor with noise and error, a high carbohydrate intake, and a large population of 100 in-silico subjects. Test results showed that the subjects are in high risk for hypoglycemia. Thus, an insulin on board (IOB) calculator, as well as an adaptive control weighting parameter (AW) strategy, was introduced. The percentage of time spent in euglycemic range of the in-silico subjects was 86.0% &#xb1; 5.8%, and the patient group had a low risk of hypoglycemia with the GPC+IOB+AW controller. Moreover, the proposed AW strategy is more effective in hypoglycemia prevention and does not require any personalized data compared with the IOB calculator. Thus, the proposed controller realized an automatic control of the BG of patients with T1D without meal announcements and complex user interaction.</p>
</abstract>
<kwd-group>
<kwd>automated artificial pancreas</kwd>
<kwd>general predictive control</kwd>
<kwd>adaptive control weighting parameter</kwd>
<kwd>hypoglycemia prevention</kwd>
<kwd>effective and safe glycemic control</kwd>
</kwd-group>
<counts>
<fig-count count="8"/>
<table-count count="4"/>
<equation-count count="9"/>
<ref-count count="34"/>
<page-count count="12"/>
<word-count count="8101"/>
</counts>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Type 1 diabetes (T1D) is an autoimmune disease characterized by chronic hyperglycemia. In patients with T1D, immune-mediated destruction of the pancreatic &#x3b2; cells occurs, and the pancreases produce very little or no insulin (<xref ref-type="bibr" rid="B1">1</xref>). In 2021, over 1.2 million children and adolescents had T1D mellitus (T1DM), and this number is increasing annually (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>). By 2030, 578 million people are predicted to suffer diabetes (including types 1 and 2), and this number will increase to 700 million by 2045 (<xref ref-type="bibr" rid="B4">4</xref>).</p>
<p>Although the causes of T1D are not fully understood, patients with T1D can live healthy lives with appropriate daily insulin injections. Artificial pancreas (AP) is also a useful tool for maintaining the blood glucose (BG) of T1D patients within the euglycemic range (70&#x2013;180 mg/dL) (<xref ref-type="bibr" rid="B5">5</xref>). It comprises a continuous glucose monitoring (CGM), an insulin pump, and an intelligent controller that connects these two devices (<xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1A</bold>
</xref>). Studies revealed that patients with T1D who used CGM and multiple insulin injections had lower hemoglobin A<sub>1c</sub> levels than those receiving usual care (<xref ref-type="bibr" rid="B6">6</xref>). The use of AP system improves glycemic control and reduces the risk of hypoglycemia in different age groups with T1D compared with conventional or sensor-augmented pump therapy (<xref ref-type="bibr" rid="B7">7</xref>). The world&#x2019;s first AP system, the Medtronic&#x2019;s MiniMed 670G system, was approved by the US Food and Drug Administration (FDA) in 2016 and has been commercially available (<xref ref-type="bibr" rid="B8">8</xref>). This system not only reduces the patient workload and achieves good glucose control but also reduces the threat of diabetes-related complications (<xref ref-type="bibr" rid="B9">9</xref>). Three other AP systems, including Tandem Control-IQ in the US and Diabeloop and CamAPS FX in Europe, have received regulatory approval since then. Several AP systems are also in development or under clinical trials. The international diabetes closed-loop trial evaluated a mobile AP application that runs on Android smartphones and use Bluetooth to wirelessly communicate with the CGM and insulin pump. It achieved certain levels of reliability and wireless connection stability (<xref ref-type="bibr" rid="B10">10</xref>). Melissa J. Schoelwer et&#xa0;al. proposed a slim X2 Control-IQ hybrid closed-loop system using parameters that were based on total daily insulin, which was tested in 20 participants and proved to be effective and safe (<xref ref-type="bibr" rid="B11">11</xref>). Nowadays, three do-it-yourself AP systems, including OpenAPS, AndroidAPS, and Loop, are available on websites (<xref ref-type="bibr" rid="B12">12</xref>). Individuals can also build their own AP systems following the instructions and algorithms of those AP systems (<xref ref-type="bibr" rid="B13">13</xref>).</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>
<bold>(A)</bold> Sketch map of an AP system, including a CGM, an insulin pump and an intelligent controller. Here, the intelligent controller was based on general predictive control (GPC) algorithm. A Kalman man filter, an IOB calculator and an AW strategy were introduced into the controller. <bold>(B)</bold> Adaptive reference glucose trajectory. <bold>(C)</bold> Carbohydrate and time of twelve unannounced meals. <bold>(D)</bold> IOB curve for prediction the active insulin amount, DIA is set as 3 hours.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g001.tif"/>
</fig>
<p>Despite the great achievement in the development of AP systems in recent years, the usability of these devices in the real-world setting is the main challenge. In other words, they are not entirely automated, thereby requiring user interaction to deliver mealtime insulin boluses (<xref ref-type="bibr" rid="B14">14</xref>). Compared with other control algorithms, such as proportional-integral-derivative (PID) control and model predictive control (MPC), generalized predictive control (GPC) algorithm is an adaptive control method and does not require knowledge on the initial parameters or precise glucose&#x2013;insulin relationship. It could calculate the optimal insulin injection rate by minimizing the deviation of the predicted BG values from a reference glucose trajectory. The predicted BG values is calculated from an autoregressive integrated moving-average model with exogenous inputs (ARIMAX). GPC algorithm has been applied for AP system, and some improvements have been made to improve its performance. For example, Meriyan and Sato T et&#xa0;al. proposed a time-varying reference trajectory with fixed slopes for glucose concentration instead of a single set-point trajectory (<xref ref-type="bibr" rid="B15">15</xref>). Some design parameters of the GPC, such as the softening factor and forgetting factor, significantly affected the system output and should be established cautiously (<xref ref-type="bibr" rid="B15">15</xref>, <xref ref-type="bibr" rid="B16">16</xref>). Turksoy et&#xa0;al. introduced some physiological signals, such as energy expenditure and galvanic skin responses, to the GPC model for post-exercise hypoglycemia prevention. Although these signals achieved a good performance, they increased the complexity of the system (<xref ref-type="bibr" rid="B17">17</xref>). Mirko Messori et&#xa0;al. introduced a novel kernel-based nonparametric approach and a constrained optimization to realize model individualization. However, model identification and validation relies on the collected patient data, and the constrained optimization further requires to postulate a model structure as prior knowledge (<xref ref-type="bibr" rid="B18">18</xref>). Dassau and Hyunjin Lee et&#xa0;al. developed several meal detection and meal size estimation algorithms for AP controller to alarm individuals or to deliver a bolus automatically (<xref ref-type="bibr" rid="B19">19</xref>, <xref ref-type="bibr" rid="B20">20</xref>). However, it was constrained by the threshold values set for different individuals. Thus, an intelligent controller was proposed based on GPC for AP, which calculated the insulin injection rate by only regarding the BG concentration measured by the CGM without information on the dose and timing of carbohydrates intake (<xref ref-type="bibr" rid="B21">21</xref>). Two adaptive strategies, including an adaptive reference glucose trajectory and an adaptive softening factor, were proposed for the GPC controller to increase system robustness when patients have normal BG values, as well as the tracking speed when patients have high hyperglycemia risk. Tests with the UVA/Padova T1DM simulator (T1DMS) approved by the FDA showed that it effectively controlled the BG of in-silico subjects under normal conditions. Here, the performance of the GPC controller was further evaluated with strict conditions, including a pump with noise and error, a CGM sensor with noise and error, a high carbohydrate (CHO) intake, and a large population of 100 in-silico subjects. Test results showed that the subjects were prone to high risk of hypoglycemia. Thus, an insulin on board (IOB) calculator, as well as an adaptive control weighting parameter (AW) strategy was introduced (<xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1A</bold>
</xref>). The performance of the GPC controller was significantly improved with them. The percentage of time spent in the euglycemic range (TIR) of the in-silico subjects was 86.0% &#xb1; 5.8%, and the patient group had a low risk of hypoglycemia with the GPC+IOB+AW controller. Moreover, the proposed GPC controller is effective in hypoglycemia prevention without the need for personalized data, complex user interaction, and meal announcements, which realizes an automatic control of the BG of patients with T1D.</p>
</sec>
<sec id="s2" sec-type="materials|methods">
<title>Methods and materials</title>
<sec id="s2_1">
<title>GPC controller</title>
<p>A GPC controller proposed in our previous research is applied for BG regulation (<xref ref-type="bibr" rid="B21">21</xref>). The GPC controller only reads the BG sent from the CGM sensor, and the optimal insulin rate was calculated. A basic Kalman filter was added to smooth the BG readings (<xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1A</bold>
</xref>). The Kalman filter was built using the Simulink tool in the MATLAB software environment without any personalized data (Details are shown in Supplemental Appendix S1).</p>
<p>Insulin injection rate is computed by minimizing J in the following function.</p>
<disp-formula>
<mml:math display="inline" id="im1">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi>J</mml:mi>
<mml:mo>=</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>m</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mstyle>
<mml:mo>&#xa0;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msup>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>&#x3b1;</mml:mi>
<mml:mi>j</mml:mi>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>r</mml:mi>
</mml:msub>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>where <italic>y</italic>(<italic>k</italic> + <italic>j</italic>) represents the <italic>j</italic>-step-ahead prediction of the process output, and &#x394;<italic>u</italic> (<italic>k + j&#x2212;</italic>1) denotes the incremental control input at the (<italic>k + j&#x2212;</italic>1) sampling step. <italic>n</italic>, which denotes the output prediction horizon, is set as 8.&#xa0;m, which denotes the control horizon, is set as 4. <italic>&#x39b;</italic>, which denotes the control weighting parameter, is set as 0.2. <italic>y</italic>(<italic>k</italic>) represents the current BG. <italic>y<sub>r</sub>
</italic> denotes the adaptive reference glucose trajectory, which has slopes that are adjusted in accordance with variations in the BG measured in the past two steps (i.e., <italic>y</italic>(<italic>k</italic>) and <italic>y</italic>(<italic>k&#x2212;</italic>1) (<xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1B</bold>
</xref>). &#x3b1;, which denotes the adaptive softening factor, is designed as <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:mtext>&#x3b1;</mml:mtext>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>|</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>|</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mfrac>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> = 130 mg/dl (<xref ref-type="bibr" rid="B21">21</xref>).</p>
<p>The <italic>j</italic>-step-ahead prediction <italic>y</italic>(<italic>k</italic> + <italic>j</italic>) is estimated using an autoregressive integrated moving-average model with exogenous inputs (Function 2) and the Diophantine equation (Function 3).<italic>u</italic>(<italic>k</italic>) is the control input variable (insulin infusion rate), <italic>&#x3be;</italic> (<italic>k</italic>) denotes the zero-mean white noise, and &#x394; = (1&#x2212;<italic>z</italic>
<sup>-1</sup>) denotes the integration. The minimization of Function (<xref ref-type="bibr" rid="B1">1</xref>) provides the optimal control action (insulin infusion rate). The parameter design and the solution process are introduced in our previous research in detail (<xref ref-type="bibr" rid="B21">21</xref>).</p>
<disp-formula>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>y</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mi>B</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mi>&#x3be;</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">/</mml:mo>
<mml:mi>&#x394;</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
<mml:mi>b</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<label>(2)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M5">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>A</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msup>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M6">
<mml:mrow>
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<label>(3)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
<sec id="s2_2">
<title>Software, scenario design, and data analysis</title>
<p>The GPC controllers were built and tested using the UVA/Padova T1DMS version 3.2.1, which embodies the biophysiological parameters of the FDA-accepted in silico populations (<xref ref-type="bibr" rid="B22">22</xref>). The software has two versions, namely, the academic and commercial versions. The former contains 10 adult subjects, whereas the latter contains 100 adult subjects. In the academic version, Subject 09 was excluded because the endogenous glucose production of this patient was suppressed even 6&#xa0;h after meals, thereby leading to hypoglycemia (<xref ref-type="bibr" rid="B23">23</xref>).</p>
<p>In this work, the GPC controllers were first tested using 9 subjects and then sent to the Epsilon Group to test with 100 subjects. The parameter settings in the two versions of the simulator were identical, as stated below.</p>
<p>A CGM sensor with noise and error was used, as well as a pump with noise and error. Sensor noise and error are generated in the T1DMS with hand-written script (<xref ref-type="bibr" rid="B24">24</xref>). Pump noise and error are generated with two Gaussian-distributed random signal generators in the T1DMS, respectively. Details are shown in Supplemental Appendix S2. Totally, the sensor error (including noise) has a mean of 0.76 mg/dl and a standard deviation of 11 mg/dl. This sensor simulation model is believed to provide worst-case scenario sensor errors and the real sensor errors tend to be smaller during controlled inpatient clinical trials (<xref ref-type="bibr" rid="B25">25</xref>).</p>
<p>The same scenario used by Kamuran Turksoy et&#xa0;al. was reproduced in this study (<xref ref-type="bibr" rid="B26">26</xref>). All patients from the simulator were simulated over three days (72 hours), and the sampling time was set as 5&#xa0;min. A total of 12 unannounced meals were provided and lasted 15&#xa0;min each. <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1C</bold>
</xref> shows the multiple meals provided during the testing period. The scenario was repeated 30 times for each in-silico subject. The BG trace of each in-silico subject was recorded. The average BG value was calculated for the patient group, as well as the percentages of time spent in the severe hypoglycemia range (BG &#x2264; 50 mg/dL), the hypoglycemia range (BG &#x2264; 70 mg/dL), the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) (<xref ref-type="bibr" rid="B27">27</xref>).</p>
<p>The percentage of time spent in euglycemic range (TIR) was used to evaluate the efficacy of the GPC controller. Two risk indexes provided by the UVA/Padova T1DMS, namely, low (LBGI) and high BG indexes (HBGI), were used to evaluate the safety of the GPC controller. LBGI refers to a measure of the frequency and extent of low BG readings, whereas HBGI refers to a measure of the frequency and extent of high BG readings. LBGI can be used to identify minimal- (LBGI&lt; 1.1), low- (1.1 &#x2264; LBGI&lt; 2.5), moderate- (2.5 &#x2264; LBGI&lt; 5), and high-risk (LBGI &gt; 5.0) of the patient subject for hypoglycemia. HBGI can be used to identify minimal- (HBGI&lt; 5.0), low- (5.0 &#x2264; HBGI&lt; 10.0), moderate- (10.0 &#x2264; HBGI&lt; 15), and high-risk (HBGI &gt; 15.0) of the patient subject for hyperglycemia.</p>
<p>The TIR, HBGI, and LBGI of the in-silico patient group was analyzed statistically to determine whether the GPC controller was significantly improved with the IOB or AW strategy (p &#x2264; 0.05 or p &#x2264; 0.01). The statistical analysis was performed in two steps: First, F-tests were performed to compare the variances of the BGC percentages of the two groups. Second, T-tests were conducted to compare their means. Unequal variance T-tests were applied when the variances were not equal.</p>
</sec>
<sec id="s2_3">
<title>IOB calculator</title>
<p>The insulin will take a lag to reach the bloodstream and influence cell behavior after injection. The IOB refers to the percentage of active insulin units in a patient&#x2019;s body. Several pump companies have considered the amount of IOB to avoid hypoglycemia and to keep the patient&#x2019;s BG within the euglycemic range (<xref ref-type="bibr" rid="B28">28</xref>). IOB is a function of the duration of insulin activity (DIA) and the number of previous insulin amount (<xref ref-type="bibr" rid="B29">29</xref>). DIA is an individualized data that vary because of blood flow, injection site, temperature, and exercise (<xref ref-type="bibr" rid="B17">17</xref>, <xref ref-type="bibr" rid="B30">30</xref>). Here, the IOB calculator was built by following the instruction of the OpenAPS on the website (<xref ref-type="bibr" rid="B31">31</xref>). The DIA is set as 3&#xa0;h, and the IOB curve is shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1D</bold>
</xref>. Thus, the estimated IOB will be subtracted from <italic>u</italic>(<italic>k</italic>), and only a basal insulin infusion rate (around 60 p mol/min) will be used if <italic>u</italic>(<italic>k</italic>) is smaller than IOB.</p>
</sec>
<sec id="s2_4">
<title>AW strategy</title>
<p>
<italic>&#x39b;</italic> in Function (<xref ref-type="bibr" rid="B1">1</xref>) determines the weight of the control input deviation. Here, its effects on the GPC-based AP system were discussed and found that the average TIR of in-silico subjects decreased gradually when <italic>&#x39b;</italic> was above 0.5 (TIR&lt;85%, <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref>). In-silico patients had a high risk of hypoglycemia (LBGI&gt;1.1, red line in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>) when <italic>&#x39b;</italic> is smaller than 0.125, but a hyperglycemia phenomenon would also occur (HBGI&gt;5.0, black line in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>) when <italic>&#x39b;</italic> is above 1.25. Therefore, more insulin will be injected, and the risk of hypoglycemia increases when <italic>&#x39b;</italic> has a low value. In this study, an AW strategy was proposed to ensure the efficacy and safety of the GPC-controller, in which <italic>&#x39b;</italic> varied with the BG fluctuations. The dotted lines in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref> represent the efficacy range of <italic>&#x39b;</italic> (i.e., 0.03&lt;<italic>&#x39b;&lt;</italic>0.5), in which the average TIR of the in-silico subjects is above 85%. The safe range of <italic>&#x39b;</italic> (i.e., 0.125&lt;<italic>&#x39b;&lt;</italic>1.25), in which the average LBGI value of the in-silico subjects is below 1.1 and their average HBGI average is below 5.0, is demonstrated in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>. Thus, the selection range of the control weighting parameter should be 0.125 to 0.5. The AW strategy is designed and shown in Function 4, where <italic>&#x3b8;</italic> = 2 and <inline-formula>
<mml:math display="inline" id="im4">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> = 130 mg/dl. <italic>y</italic>(<italic>k</italic>) is the BG measured at <italic>k</italic> step. The upper and lower limits of <italic>&#x39b;</italic> are defined as 0.125 and 0.5, respectively. In the AW strategy, the value of &#x39b; would decrease when the BG value <italic>y</italic>(<italic>k</italic>) increases above the optimal BG value <inline-formula>
<mml:math display="inline" id="im5">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. The insulin injection rate would fluctuate more violently to avoid hyperglycemia. Furthermore, &#x39b; would increase gradually when the BG value y(k) reduces to the optimal BG value <inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mtext>&#xa0;</mml:mtext>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. The insulin injection rate would be more stable in that progress.</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>
<bold>(A)</bold> TIR of the patient group with different control weighting parameter (<italic>&#x39b;</italic>). The dotted lines represent the efficacy range of <italic>&#x39b;</italic> (0.025 to 0.5), in which the TIR of the patient group is above 85%. <bold>(B)</bold> HBGI (black line) and LBGI (red line) values of the patient group with different <italic>&#x39b;</italic>. The dotted lines represent the safe range of the control weighting parameter (0.125 to 1.25), in which the LBGI&lt; 1.1 and HBGI&lt;5.0. Thus, the selection range of the control weighting parameter should be 0.125 to 0.5.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g002.tif"/>
</fig>
<disp-formula>
<label>(4)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>&#x3bb;</mml:mi>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>&#x3b8;</mml:mi>
</mml:mstyle>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mstyle>
</mml:mrow>
<mml:mo>|</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mstyle>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&lt;</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mo>&#xa0;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">[</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>&#x3b8;</mml:mi>
</mml:mstyle>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mo>|</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mstyle>
</mml:mrow>
<mml:mo>|</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mstyle>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">]</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>y</mml:mi>
</mml:mstyle>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold" mathsize="normal">
<mml:mi>k</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
</sec>
<sec id="s3" sec-type="results">
<title>Results</title>
<sec id="s3_1">
<title>In-silico tests of the GPC controller with strict conditions</title>
<p>First, the proposed GPC controller in our previous research was tested with nine in-silico subjects under strict conditions, including a pump with noise and error, a CGM sensor with noise and error, and a high CHO intake. Considering the effects of the CGM error and pump error, the scenario was repeated 30 times for each in-silico subject (Sections 2.1 and 2.2).</p>
<p>The BG trace of each in-silico subject was recorded, and their average BG was 103.1 &#xb1; 10.7 mg/dL. The merged BG trace and density of nine subjects were shown in <xref ref-type="fig" rid="f3">
<bold>Figures&#xa0;3A, B</bold>
</xref> (black lines). The average TIR of the patient group was 79.0% &#xb1; 8.3% (average &#xb1; standard deviation). The TIR of each subject was shown in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4A</bold>
</xref> (black squares). Five of them (No. 03, 05, 06, 07, and 10) had large TIR above 80% (i.e., 87.5% &#xb1; 5.2%, 86.2% &#xb1; 5.2%, 81.1% &#xb1; 1.9%, 81.3% &#xb1; 4.7% and 91.1% &#xb1; 4.8%). The TIR values of three subjects (i.e., Nos. 01, 02, and 08) were between 70% and 80% (i.e., 73.6% &#xb1; 5.3%, 70.2% &#xb1; 4.5%, and 72.3% &#xb1; 4.5%, respectively). However, the TIR of subject No. 4 was only 67.9% &#xb1; 4.4%.</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Average BG trace <bold>(A)</bold> and BG density <bold>(B)</bold> of 9 in-silico subjects. The TIR of the patient group with different controller is labeled in brackets. Green lines denote the euglycemic range. Black line represents the test with GPC controller, red line represents the test with GPC+IOB controller, blue line represents the test with GPC+AW controller and the pink line represents the test with GPC+IOB+AW controller.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g003.tif"/>
</fig>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>
<bold>(A)</bold> The TIR of 9 in-silico subjects. <bold>(B)</bold> The HBGI of 9 in-silico subjects. <bold>(C)</bold> The LBGI of 9 in-silico subjects. Black squares represent the test with GPC controller, red circulars represent the test with GPC+IOB controller, blue triangles represent the test with GPC+AW controller and the pink triangles represent the test with GPC+IOB+AW controller.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g004.tif"/>
</fig>
<p>Percentages of time spent in the severe hypoglycemia range (BG &#x2264; 50 mg/dL), the hypoglycemia range (BG &#x2264; 70 mg/dL), the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) of each subject are listed in <xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref>. The average percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 10.1% &#xb1; 7.1%, 19.7% &#xb1; 10.2%, 3.3% &#xb1; 3.4%, and 0.0% &#xb1; 0.0%, respectively. Two indexes provided by the T1DMS software, namely, HBGI and LBGI, were calculated for each subject to identify whether they are prone to hyperglycemia or hypoglycemia (black squares in <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B, C</bold>
</xref>). The HBGI and LBGI values of the patient group showed normal distributions (<xref ref-type="supplementary-material" rid="SM1">
<bold>Figures S1A</bold>
</xref>, <xref ref-type="supplementary-material" rid="SM1">
<bold>S2A</bold>
</xref>, respectively). The HBGI values of 9 subjects were 0.6 &#xb1; 0.1, 0.5 &#xb1; 0.1, 0.7 &#xb1; 0.1, 0.5 &#xb1; 0.1, 0.8 &#xb1; 0.1, 1.5 &#xb1; 0.1, 1.6 &#xb1; 0.1, 0.7 &#xb1; 0.1, and 0.1 &#xb1; 0.6, indicating that all subjects had a minimal risk (HBGI&lt;5.0) for hyperglycemia (<xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B</bold>
</xref>, <xref ref-type="fig" rid="f5">
<bold>5B</bold>
</xref>). The LBGI values of these 9 subjects were 5.7 &#xb1; 1.6, 7.8 &#xb1; 1.6, 2.9 &#xb1; 1.5, 9.5 &#xb1; 1.9, 11.3 &#xb1; 2.6, 1.8 &#xb1; 0.6, 2.6 &#xb1; 1.7, 8.2 &#xb1; 1.8, and 2.1 &#xb1; 1.1, respectively. Two subjects (No. 06 and 10) had a low risk (LBGI&lt;2.5) for hypoglycemia, whereas another two subjects (No. 03 and 07) had a moderate risk (2.5&#x2264;LBGI&lt;5.0). The five remaining subjects (No. 01, 02, 04, 05, and 08) had a high risk for hypoglycemia (<xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4C</bold>
</xref>). Therefore, the GPC controller needs to be improved further to prevent hypoglycemia in patients with T1D.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range, the hypoglycemia (BG &#x2264; 70 mg/dL) range, the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) of each in-silico subject with the GPC controller.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subject No.</th>
<th valign="middle" align="center">Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hypoglycemia (BG &#x2264; 70 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hyperglycemia (BG &#x2265; 180 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the severe hyperglycemia (BG &#x2265; 300 mg/dL) range</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">01</td>
<td valign="middle" align="center">10.7% &#xb1; 3.3%</td>
<td valign="middle" align="center">24.2% &#xb1; 5.5%</td>
<td valign="middle" align="center">2.3% &#xb1; 1.2%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">02</td>
<td valign="middle" align="center">16.0% &#xb1; 3.5%</td>
<td valign="middle" align="center">28.9% &#xb1; 4.5%</td>
<td valign="middle" align="center">0.9% &#xb1; 0.6%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">03</td>
<td valign="middle" align="center">4.3% &#xb1; 2.9%</td>
<td valign="middle" align="center">11.9% &#xb1; 5.2%</td>
<td valign="middle" align="center">0.6% &#xb1; 0.6%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">04</td>
<td valign="middle" align="center">17.6% &#xb1; 4.7%</td>
<td valign="middle" align="center">30.6% &#xb1; 4.5%</td>
<td valign="middle" align="center">1.5% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">05</td>
<td valign="middle" align="center">17.9% &#xb1; 3.9%</td>
<td valign="middle" align="center">29.2% &#xb1; 5.1%</td>
<td valign="middle" align="center">2.6% &#xb1; 0.7%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">06</td>
<td valign="middle" align="center">3.1% &#xb1; 1.5%</td>
<td valign="middle" align="center">8.7% &#xb1; 2.2%</td>
<td valign="middle" align="center">10.2% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">07</td>
<td valign="middle" align="center">3.9% &#xb1; 3.0%</td>
<td valign="middle" align="center">10.4% &#xb1; 4.7%</td>
<td valign="middle" align="center">8.3% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">08</td>
<td valign="middle" align="center">14.8% &#xb1; 3.6%</td>
<td valign="middle" align="center">24.9% &#xb1; 4.7%</td>
<td valign="middle" align="center">2.8% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">10</td>
<td valign="middle" align="center">2.5% &#xb1; 2.6%</td>
<td valign="middle" align="center">8.4% &#xb1; 4.7%</td>
<td valign="middle" align="center">0.6% &#xb1; 0.6%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Statistical analyses of the TIR <bold>(A)</bold>, HBGI <bold>(B)</bold> and LBGI <bold>(C)</bold> of 9 in-silico subjects with different GPC controllers. Statistical analysis was performed in two steps: First, F-tests were performed to compare variances of the data sets. Then T-tests are conducted to further examine the differences between the data sets. Unequal variance T-tests were applied when the variances were not equal. *p&lt; 0.05. **p&lt; 0.01.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g005.tif"/>
</fig>
</sec>
<sec id="s3_2">
<title>Tests of the GPC+IOB controller</title>
<p>Hypoglycemia occurs because too much insulin is injected into the body. Thus, an IOB calculator was introduced to the GPC controller to calculate the insulin that remains active within the body, which will be subtracted at each step (Section 2.3).</p>
<p>The GPC+IOB controller was tested with the same scenario in Section 3.1. The BG trace of each in-silico subject was recorded, and their average BG was 110.5 &#xb1; 14.5 mg/dL. The merged BG trace and density of the 9 subjects were shown in <xref ref-type="fig" rid="f3">
<bold>Figures&#xa0;3A, B</bold>
</xref> (red lines), respectively. The average TIR of the patient group was 81.8% &#xb1; 7.3%. The TIR of each subject were 79.6% &#xb1; 4.8%, 72.8% &#xb1; 4.9%, 91.6% &#xb1; 4.0%, 74.6% &#xb1; 6.5%, 79.8% &#xb1; 4.4%, 83.8% &#xb1; 1.8%, 79.8% &#xb1; 5.6%, 79.1% &#xb1; 3.9%, and 95.1% &#xb1; 3.7% (red circulars in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4A</bold>
</xref>). Compared with the test results in the GPC controller, the TIR of seven subjects (Nos. 01, 02, 03, 04, 06, 08, and 10) increased by 6.1%, 2.7%, 4.1%, 6.7%, 2.7%, 6.7%, and 4.1%, respectively. Meanwhile, the TIR of the two other subjects (No. 05 and 07) decreased by 6.4% and 1.5%, respectively. Although the TIR of the patient group with GPC+IOB controller was higher than that with the GPC controller, the statistical analysis (i.e., F-test and T-test) showed no significant differences (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5A</bold>
</xref>).</p>
<p>The percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of each subject was listed in <xref ref-type="table" rid="T2">
<bold>Table&#xa0;2</bold>
</xref>. The average percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 5.9% &#xb1; 5.4%, 13.3% &#xb1; 9.7%, 4.9% &#xb1; 6.2%, and 0.0% &#xb1; 0.0%, respectively. Thus, the hypoglycemia risk of the patient group decreased compared with the results in Section 3.1. The HBGI and LBGI values of each subject with GPC+IOB controller were demonstrated in <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B, C</bold>
</xref> (red circulars), respectively. The HBGI values of the 9 subjects were 0.6 &#xb1; 0.1, 0.5 &#xb1; 0.1, 1.0 &#xb1; 0.2, 0.6 &#xb1; 0.1, 1.0 &#xb1; 0.1, 1.9 &#xb1; 0.1, 3.2 &#xb1; 1.0, 0.9 &#xb1; 0.1, and 0.6 &#xb1; 0.1, respectively. All subjects had minimal risk for hyperglycemia (<xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B</bold>
</xref>, <xref ref-type="fig" rid="f5">
<bold>5B</bold>
</xref>). The LBGI values of the 9 subjects were 4.1 &#xb1; 1.4, 6.6 &#xb1; 1.6, 1.8 &#xb1; 1.1, 6.3 &#xb1; 1.9, 5.3 &#xb1; 1.9, 0.7 &#xb1; 0.3, 0.5 &#xb1; 0.4, 4.9 &#xb1; 1.6, and 1.2 &#xb1; 0.8. Four of them (No. 03, 06, 07, and 10) had a low risk for hypoglycemia, two (No. 01 and 08) had a moderate risk, and the remaining three (No. 02, 04, and 05) have a high risk (<xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4C</bold>
</xref>). In relation to the test results of the GPC controller, the LBGI values of the 9 subjects decreased by 1.6%, 1.2%, 1.2%, 3.2%, 6.0%, 1.1%, 2.2%, 3.3%, and 1.0%. The HBGI and LBGI values of the patient group showed normal distributions (<xref ref-type="supplementary-material" rid="SM1">
<bold>Figures S1B</bold>
</xref>, <xref ref-type="supplementary-material" rid="SM1">
<bold>S2B</bold>
</xref>, respectively), thus F-test and T-test were performed to verify whether the GPC+IOB controller had a better performance. However, the statistical analysis showed that the improvement of the hypoglycemia was not significant (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>).</p>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range, the hypoglycemia (BG &#x2264; 70 mg/dL) range, the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) of each in-silico subject with the GPC+IOB controller.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subject No.</th>
<th valign="middle" align="center">Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hypoglycemia (BG &#x2264; 70 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hyperglycemia (BG &#x2265; 180 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the severe hyperglycemia (BG &#x2265; 300 mg/dL) range</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">01</td>
<td valign="middle" align="center">7.4% &#xb1; 2.7%</td>
<td valign="middle" align="center">18.4% &#xb1; 5.0%</td>
<td valign="middle" align="center">1.9% &#xb1; 1.0%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">02</td>
<td valign="middle" align="center">13.6% &#xb1; 3.6%</td>
<td valign="middle" align="center">26.0% &#xb1; 4.8%</td>
<td valign="middle" align="center">1.1% &#xb1; 0.7%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">03</td>
<td valign="middle" align="center">2.6% &#xb1; 2.5%</td>
<td valign="middle" align="center">7.1% &#xb1; 4.0%</td>
<td valign="middle" align="center">1.3% &#xb1; 0.8%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">04</td>
<td valign="middle" align="center">10.7% &#xb1; 4.1%</td>
<td valign="middle" align="center">23.8% &#xb1; 6.6%</td>
<td valign="middle" align="center">1.7% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">05</td>
<td valign="middle" align="center">8.3% &#xb1; 3.2%</td>
<td valign="middle" align="center">16.7% &#xb1; 4.9%</td>
<td valign="middle" align="center">3.4% &#xb1; 1.0%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">06</td>
<td valign="middle" align="center">0.3% &#xb1; 0.7%</td>
<td valign="middle" align="center">3.7% &#xb1; 1.9%</td>
<td valign="middle" align="center">12.5% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">07</td>
<td valign="middle" align="center">0.3% &#xb1; 0.8%</td>
<td valign="middle" align="center">1.9% &#xb1; 2.1%</td>
<td valign="middle" align="center">18.3% &#xb1; 5.7%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">08</td>
<td valign="middle" align="center">9.0% &#xb1; 3.4%</td>
<td valign="middle" align="center">17.7% &#xb1; 4.2%</td>
<td valign="middle" align="center">3.2% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">10</td>
<td valign="middle" align="center">1.0% &#xb1; 1.3%</td>
<td valign="middle" align="center">4.4% &#xb1; 3.7%</td>
<td valign="middle" align="center">0.5% &#xb1; 0.6%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_3">
<title>Tests of the GPC+AW controller</title>
<p>Control weighting parameter, <italic>&#x39b;</italic>, determines the weight of the control input deviation. A small <italic>&#x39b;</italic> value means a fast change in the insulin injection rate, and a high <italic>&#x39b;</italic> value means a stable insulin injection rate. Eren M. et&#xa0;al. also suggested that the <italic>&#x39b;</italic> value played an important role in hypoglycemia prevention (<xref ref-type="bibr" rid="B15">15</xref>). In the present work, we discussed its effect on the efficacy and safety of the GPC-based AP. The efficacy of the GPC controller (i.e., the TIR of the patient group) greatly decreased to 60% as &#x3bb; increased to 2 (<xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2A</bold>
</xref>). Although the hyperglycemia risk of the patients (i.e., HBGI value) decreased with &#x3bb; (black line in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>), their hypoglycemia risk (i.e., LBGI value) rapidly increased (red line in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2B</bold>
</xref>). Here, an AW strategy was proposed, in which the &#x3bb; value varied with the BG of the patient (Section 2.4). In short, &#x3bb; would have a low value when the BG is increasing sharply but adopts a high value when the BG is decreasing gradually.</p>
<p>The GPC+AW controller was tested with T1DMS software following the same scenario as before. The BG trace of each in-silico subject was recorded, and their average BG was 112.9 &#xb1; 11.1 mg/dL. The merged BG trace and density of the 9 subjects were shown in <xref ref-type="fig" rid="f3">
<bold>Figures&#xa0;3A, B</bold>
</xref> (blue lines), respectively. The average TIR of the patient group was 83.5% &#xb1; 6.9%. The TIR of each subject were 80.5% &#xb1; 4.5%, 79.4% &#xb1; 3.6%, 93.6% &#xb1; 3.1%, 75.4% &#xb1; 5.4%, 79.9% &#xb1; 5.1%, 83.4% &#xb1; 1.9%, 83.0% &#xb1; 3.0%, 80.0% &#xb1; 4.2%, and 96.1% &#xb1; 3.2% (blue triangles in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4A</bold>
</xref>). In relation to the test results with the GPC controller, the TIR of eight subjects (No. 01, 02, 03, 04, 06, 07, 08, and 10) increased by 7.0%, 9.2%, 6.2%, 7.6%, 2.3%, 1.8%, 7.7%, and 5.1%, respectively. However, TIR of subject No. 05 decreased by 6.3%. Statistical analysis was further performed, but no significant difference was found (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5A</bold>
</xref>).</p>
<p>The percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of each subject were listed in <xref ref-type="table" rid="T3">
<bold>Table&#xa0;3</bold>
</xref>. The average percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 4.9% &#xb1; 4.5%, 11.4% &#xb1; 8.2%, 5.1% &#xb1; 4.4%, and 0.0% &#xb1; 0.0%, respectively. The HBGI and LBGI values of the patient group were calculated and showed normal distributions, as shown in <xref ref-type="supplementary-material" rid="SM1">
<bold>Figures S1C</bold>
</xref>, <xref ref-type="supplementary-material" rid="SM1">
<bold>S2C</bold>
</xref>. <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B, C</bold>
</xref> (blue triangles) showed the HBGI and LBGI values of each subject with GPC+AW controller, respectively. The HBGI values of the 9 subjects were 0.8 &#xb1; 0.1, 0.6 &#xb1; 0.1, 1.2 &#xb1; 0.2, 0.8 &#xb1; 0.1, 1.2 &#xb1; 0.1, 1.8 &#xb1; 0.1, 2.3 &#xb1; 0.1, 1.0 &#xb1; 0.1, and 0.8 &#xb1; 0.1. All subjects had minimal risk for hyperglycemia (<xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B</bold>
</xref>, <xref ref-type="fig" rid="f5">
<bold>5B</bold>
</xref>). The LBGI values of the 9 subjects were 3.5 &#xb1; 1.3, 4.6 &#xb1; 1.1, 1.2 &#xb1; 1.2, 5.7 &#xb1; 1.7, 4.8 &#xb1; 2.1, 0.9 &#xb1; 0.5, 0.9 &#xb1; 0.9, 4.5 &#xb1; 1.7, and 0.8 &#xb1; 0.6, respectively. Four of them (No. 03, 07, 08, and 10) had a low risk for hypoglycemia, four (No. 01, 02, 05, and 08) had a moderate risk, and only one subject (No. 04) has a high risk (<xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4C</bold>
</xref>). In relation to the test results of the GPC controller, the LBGI values of the 9 subjects decreased by 2.2%, 3.1%, 1.8%, 3.8%, 6.5%, 0.9%, 1.8%, 3.8%, and 1.3%. Statistical analysis showed that the LBGI values of the patient group with GPC+AW controller was significantly lower than those with the GPC controller, indicating that the hypoglycemia was significantly improved (p&lt;0.05) (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>).</p>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range, the hypoglycemia (BG &#x2264; 70 mg/dL) range, the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) of each in-silico subject with the GPC+AW controller.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subject No.</th>
<th valign="middle" align="center">Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hypoglycemia (BG &#x2264; 70 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hyperglycemia (BG &#x2265; 180 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the severe hyperglycemia (BG &#x2265; 300 mg/dL) range</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">01</td>
<td valign="middle" align="center">5.4% &#xb1; 3.0%</td>
<td valign="middle" align="center">16.2% &#xb1; 4.5%</td>
<td valign="middle" align="center">3.2% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">02</td>
<td valign="middle" align="center">9.5% &#xb1; 2.7%</td>
<td valign="middle" align="center">18.9% &#xb1; 3.7%</td>
<td valign="middle" align="center">1.7% &#xb1; 0.8%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">03</td>
<td valign="middle" align="center">1.6% &#xb1; 2.2%</td>
<td valign="middle" align="center">4.1% &#xb1; 3.2%</td>
<td valign="middle" align="center">2.3% &#xb1; 1.2%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">04</td>
<td valign="middle" align="center">9.8% &#xb1; 3.7%</td>
<td valign="middle" align="center">22.3% &#xb1; 5.4%</td>
<td valign="middle" align="center">2.2% &#xb1; 1.1%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">05</td>
<td valign="middle" align="center">7.2% &#xb1; 3.5%</td>
<td valign="middle" align="center">14.9% &#xb1; 5.1%</td>
<td valign="middle" align="center">5.2% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">06</td>
<td valign="middle" align="center">0.9% &#xb1; 1.4%</td>
<td valign="middle" align="center">4.8% &#xb1; 2.1%</td>
<td valign="middle" align="center">11.8% &#xb1; 1.0%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">07</td>
<td valign="middle" align="center">1.1% &#xb1; 1.7%</td>
<td valign="middle" align="center">3.2% &#xb1; 3.2%</td>
<td valign="middle" align="center">13.7% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">08</td>
<td valign="middle" align="center">7.9% &#xb1; 3.1%</td>
<td valign="middle" align="center">15.2% &#xb1; 4.2%</td>
<td valign="middle" align="center">4.7% &#xb1; 1.2%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">10</td>
<td valign="middle" align="center">0.6% &#xb1; 1.1%</td>
<td valign="middle" align="center">2.7% &#xb1; 3.3%</td>
<td valign="middle" align="center">1.1% &#xb1; 0.6%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_4">
<title>Tests of the GPC+IOB+AW controller</title>
<p>Lastly, we tested the GPC+IOB+AW controller. The BG trace of each in-silico subject was recorded, and their average BG was 122.4 &#xb1; 14.2 mg/dL. The merged BG trace and density of the 9 subjects were shown in <xref ref-type="fig" rid="f3">
<bold>Figures&#xa0;3A, B</bold>
</xref> (pink lines), respectively. The average TIR of the patient group was 86.0% &#xb1; 5.8%. The TIR of each subject were 86.4% &#xb1; 3.9%, 82.5% &#xb1; 4.6%, 90.8% &#xb1; 4.0%, 87.6% &#xb1; 5.4%, 83.7% &#xb1; 4.5%, 84.7% &#xb1; 1.4%, 75.9% &#xb1; 4.9%, 85.3% &#xb1; 3.2%, and 96.9% &#xb1; 2.0%, respectively (pink triangles in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4A</bold>
</xref>). In relation to the test results with the GPC controller, the TIR of seven subjects (No. 01, 02, 03, 04, 06, 08, and 10) increased by 12.9%, 12.3%, 3.3%, 19.7%, 3.6%, 13.0%, and 5.8%, respectively, whereas TIR of two subjects (No. 05 and 07) decreased by 2.5% and 5.4%, respectively. Statistical analysis showed that the TIR of the patient group with the GPC+AW+IOB controller was significantly higher than that with the GPC controller (p&lt;0.05). Thus, the efficacy of the GPC controller was significantly improved with the IOB and AW strategies (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5A</bold>
</xref>).</p>
<p>The percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of each subject were listed in <xref ref-type="table" rid="T4">
<bold>Table&#xa0;4</bold>
</xref>. The average percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 2.1% &#xb1; 2.9%, 5.8% &#xb1; 6.0%, 8.2% &#xb1; 7.1%, and 0.0% &#xb1; 0.0%, respectively. Seemingly, the hypoglycemia risk declined further. The HBGI and LBGI values of the patient group were calculated. As shown in <xref ref-type="supplementary-material" rid="SM1">
<bold>Figures S1D</bold>
</xref>, <xref ref-type="supplementary-material" rid="SM1">
<bold>S2D</bold>
</xref>, the data showed normal distributions. The HBGI and LBGI values of each subject with GPC+IOB+AW controller were shown in <xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B, C</bold>
</xref> (pink triangles), respectively. The HBGI values of the 9 subjects were 0.9 &#xb1; 0.1, 0.7 &#xb1; 0.1, 2.0 &#xb1; 0.3, 1.1 &#xb1; 0.2, 2.0 &#xb1; 0.4, 2.2 &#xb1; 0.1, 4.1 &#xb1; 0.8, 1.3 &#xb1; 0.2, and 1.0 &#xb1; 0.1, respectively. All subjects had minimal risk for hyperglycemia (<xref ref-type="fig" rid="f4">
<bold>Figures&#xa0;4B</bold>
</xref>, <xref ref-type="fig" rid="f5">
<bold>5B</bold>
</xref>). The LBGI values of the 9 subjects were 2.1 &#xb1; 1.1, 3.5 &#xb1; 1.2, 0.5 &#xb1; 0.6, 2.3 &#xb1; 1.4, 1.8 &#xb1; 1.4, 0.3 &#xb1; 0.3, 0.1 &#xb1; 0.2, 2.0 &#xb1; 1.2, and 0.4 &#xb1; 0.3, respectively. Eight of them (No. 01, 03, 04, 05, 06, 07, 08, and 10) had a low risk for hypoglycemia, and only one subject (No. 02) had a moderate risk (<xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4C</bold>
</xref>). In relation to the test results of the GPC controller, the LBGI values of the 9 subjects decreased by 3.6%, 4.3%, 2.5%, 7.2%, 9.5%, 1.5%, 2.6%, 6.2%, and 1.7%, respectively. Statistical analysis (i.e., F-test and T-test) showed that the LBGI values of the patient group with GPC+IOB+AW controller were significantly lower than those with the GPC controller (p&lt;0.01), GPC+IOB controller (p&lt;0.05), and GPC+AW controller (p&lt;0.05) (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>). Thus, the GPC+IOB+AW controller achieves optimal glycemic control and minimizes the risk of hypoglycemia in patients with T1D.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range, the hypoglycemia (BG &#x2264; 70 mg/dL) range, the hyperglycemia range (BG &gt; 180 mg/dL), and the severe hyperglycemia range (BG &gt; 300 mg/dL) of each in-silico subject with the GPC+IOB+AW controller.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Subject No.</th>
<th valign="middle" align="center">Percentages of time spent in the severe hypoglycemia (BG &#x2264; 50 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hypoglycemia (BG &#x2264; 70 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the hyperglycemia (BG &#x2265; 180 mg/dL) range</th>
<th valign="middle" align="center">Percentages of time spent in the severe hyperglycemia (BG &#x2265; 300 mg/dL) range</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">01</td>
<td valign="middle" align="center">2.7% &#xb1; 2.6%</td>
<td valign="middle" align="center">9.4% &#xb1; 4.4%</td>
<td valign="middle" align="center">4.1% &#xb1; 1.2%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">02</td>
<td valign="middle" align="center">6.6% &#xb1; 2.4%</td>
<td valign="middle" align="center">15.3% &#xb1; 4.6%</td>
<td valign="middle" align="center">2.2% &#xb1; 0.8%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">03</td>
<td valign="middle" align="center">0.7% &#xb1; 1.3%</td>
<td valign="middle" align="center">2.1% &#xb1; 2.6%</td>
<td valign="middle" align="center">7.1% &#xb1; 3.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">04</td>
<td valign="middle" align="center">2.8% &#xb1; 2.8%</td>
<td valign="middle" align="center">9.2% &#xb1; 5.6%</td>
<td valign="middle" align="center">3.2% &#xb1; 1.1%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">05</td>
<td valign="middle" align="center">2.6% &#xb1; 2.7%</td>
<td valign="middle" align="center">5.9% &#xb1; 4.6%</td>
<td valign="middle" align="center">10.4% &#xb1; 2.8%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">06</td>
<td valign="middle" align="center">0.1% &#xb1; 0.5%</td>
<td valign="middle" align="center">1.3% &#xb1; 1.7%</td>
<td valign="middle" align="center">14.0% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">07</td>
<td valign="middle" align="center">0.0% &#xb1; 0.2%</td>
<td valign="middle" align="center">0.2% &#xb1; 0.9%</td>
<td valign="middle" align="center">23.8% &#xb1; 4.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">08</td>
<td valign="middle" align="center">3.7% &#xb1; 2.6%</td>
<td valign="middle" align="center">8.1% &#xb1; 3.6%</td>
<td valign="middle" align="center">6.6% &#xb1; 1.3%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
<tr>
<td valign="middle" align="left">10</td>
<td valign="middle" align="center">0.1% &#xb1; 0.4%</td>
<td valign="middle" align="center">1.1% &#xb1; 1.8%</td>
<td valign="middle" align="center">2.0% &#xb1; 0.9%</td>
<td valign="middle" align="center">0.0% &#xb1; 0.0%</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3_5">
<title>Evaluation of the GPC+IOB+AW controller with 100 in-silico subjects and normal CHO intakes</title>
<p>The GPC+IOB+AW controller was further sent to the Epsilon Group and evaluated with 100 in-silico subjects. The DIA of the IOB calculator was set as 3&#xa0;h without any personalized data. The same scenario and parameter settings in Section 3.1 were repeated 10 times for each in-silico subject. The merged BG trace and density of 100 subjects were shown in <xref ref-type="fig" rid="f6">
<bold>Figures&#xa0;6A, B</bold>
</xref>, respectively. The average TIR value of the patient group is 81.3% &#xb1; 8.6%, and TIR values of 85 subjects were above 70% (<xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6C</bold>
</xref>). The percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of each subject was listed in <xref ref-type="supplementary-material" rid="SM2">
<bold>Table S1</bold>
</xref>. The average percentages of the time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 1.7% &#xb1; 3.6%, 4.4% &#xb1; 6.2%, 14.7% &#xb1; 9.0%, and 0.1% &#xb1; 0.6%, respectively. All 100 in-silico subjects had a low risk for hyperglycemia, with the average HBGI value of 2.7 &#xb1; 1.4 (<xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6D</bold>
</xref>). A total of 87 subjects had a low risk, 9 subjects had a moderate risk, and 4 subjects had a high risk for hypoglycemia (<xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6E</bold>
</xref>). The average LGBI value of the patient group is 1.2 &#xb1; 1.6. Therefore, the GPC+IOB+AW controller realized effective and safe BG control for the majority of the population.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Average BG trace <bold>(A)</bold> and BG density <bold>(B)</bold> of 100 in-silico subjects. Distributions of the TIR <bold>(C)</bold>, HBGI <bold>(D)</bold> and LBGI <bold>(E)</bold> of 100 in-silico subjects. Green lines denote the euglycemic range.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g006.tif"/>
</fig>
<p>People might be concerned that the GPC+IOB+AW is only applicable to those patients with high CHO intake. Hence, we also tested its performance with normal CHO intakes, as stated as follows: 30&#xa0;g of CHO at 7 AM, 30&#xa0;g at 12 PM, and 30&#xa0;g at 6 PM daily, 3 days. <xref ref-type="fig" rid="f7">
<bold>Figures&#xa0;7A, B</bold>
</xref> show the merged BGC trace and density of the nine subjects, respectively. The average TIR of the patient group was 95.6% &#xb1; 3.9% (<xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7C</bold>
</xref>). The percentages of the time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of each subject were listed in <xref ref-type="supplementary-material" rid="SM2">
<bold>Table S2</bold>
</xref>. The average percentages of time spent in the severe hypoglycemia range, the hypoglycemia range, the hyperglycemia range, and the severe hyperglycemia range of the patient group were 1.4% &#xb1; 2.4%, 4.4% &#xb1; 5.2%, 0.0% &#xb1; 0.0%, and 0.0% &#xb1; 0.0%, respectively. All subjects had low risks for hyperglycemia and hypoglycemia, with the average HBGI and LBGI of 0.66 &#xb1; 0.23 and 1.05 &#xb1; 0.75, respectively (<xref ref-type="fig" rid="f7">
<bold>Figures&#xa0;7D, E</bold>
</xref>). Thus, the GPC+IOB+AW controller only focuses on the BGC variances and can handle different CHO intakes.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Average BG trace <bold>(A)</bold> and BG density <bold>(B)</bold> of 9 in-silico subjects with a normal CHO intake. Distributions of the TIR <bold>(C)</bold>, HBGI <bold>(D)</bold> and LBGI <bold>(E)</bold> of 9 in-silico subjects with a normal CHO intake. Green lines denote the euglycemic range.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g007.tif"/>
</fig>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<title>Discussions</title>
<p>T1D occurs most frequently in children and young adults. In 2021, over 1.2 million children and adolescents had T1DM, and that number is increasing annually. Multiple daily injections, glucose monitoring, structured diabetes education, and expert medical care were great challenges for these young people and had affected their normal lives seriously. An automatic AP is a promising tool to solve that problem (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>).</p>
<p>The aim of our research is to develop an automated AP without any user interaction or personalized data. Thus, we proposed an intelligent controller based on GPC for AP, which only regards the BG levels provided by the CGM without meal announcements. It realized effective BG control in our previous research and was further tested here with more strict conditions. Although it is effective in hyperglycemia prevention, hypoglycemia risk for patients increased to a high level. Thus, the GPC controller needs further improvement.</p>
<p>The IOB calculator, which could estimate the insulin amount that remains active within the patient&#x2019;s body, was introduced into the GPC controller. For instance, the estimated active insulin amount for subject No. 01 is shown in <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8A</bold>
</xref> (black dotted line), which was subtracted from the ideal insulin injection rate calculated by the GPC algorithm (blue dotted line in <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8A</bold>
</xref>) at each step (Section 2.3). Thus, less insulin would be injected into the patient&#x2019;s body (red line in <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8A</bold>
</xref>). The test results with T1DMS showed that the hypoglycemia risk for each in-silico subject reduced with the GPC+IOB controller. However, we found that the IOB calculator needs a personalized data, DIA. The incorrect estimation of the DIA induces mismatch in the IOB and insulin injection, thereby resulting in hypoglycemia or hyperglycemia. Hence, determining the individualized DIA still remains a critical point nowadays (<xref ref-type="bibr" rid="B29">29</xref>).</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>
<bold>(A)</bold> Insulin injection rate for the No. 01 subject with the GPC+IOB+AW controller. The blue dotted line denotes the ideal insulin injection rate calculated by the GPC controller, the black dotted line denotes the estimated active insulin amount in the body and the red line denotes their subtraction. <bold>(B)</bold> Variations of the BG trace of the No. 01 subject with GPC+IOB+AW controller. <bold>(C)</bold> Variations of the control weighting parameter of the No. 01 subject.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fendo-14-1115436-g008.tif"/>
</fig>
<p>To overcome the aforementioned problem, we proposed an AW strategy without requiring any individualized data. As shown in <xref ref-type="fig" rid="f8">
<bold>Figures&#xa0;8B, C</bold>
</xref>, the value of <italic>&#x39b;</italic> sharply decreases when the BG is greatly increasing but adopts a high value when the BG is gradually decreasing. Thus, a large dose of insulin will be injected when the BG is increasing, but a smaller dose of insulin will be injected when the BG is decreasing. The test results with T1DMS showed that the hypoglycemia of the patient group was significantly improved with the GPC+AW controller, which is more effective than the GPC+IOB controller (<xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5C</bold>
</xref>). Therefore, the AW strategy has high usability and performance.</p>
<p>The efficacy of our GPC+IOB+AW controller is comparable with other controllers, such as the proportional integral derivative with double phase lead (PIDD) controller, the proportional-integral-derivative (PID) controller, the model predictive controller (MPC), the extended model predictive controller (EMPC), and the conventional proportional-derivative (PD) controller with the fuzzy P part (Fuzzy P+D). The TIR of the patient group with the aforementioned controllers were 77%, 72.6%, 79.6%, 84.3%, and 83%, respectively (<xref ref-type="bibr" rid="B23">23</xref>, <xref ref-type="bibr" rid="B32">32</xref>, <xref ref-type="bibr" rid="B33">33</xref>). However, its performance still needs improvement compared with current standard-of-care, such as the basal-bolus therapy. The TIR, HBGI, and LBGI of the in-silico subjects was 92%, 0.49, and 0.78 using the basal/bolus controller proposed by Fraser Cameron with the similar scenario, which is better than the results here, as well as the results obtained by other controllers (<xref ref-type="bibr" rid="B23">23</xref>). However, the basal-bolus therapy design requires user interaction and personalized data, including meal information, the carbohydrate-to-insulin ratio, and the correction factor. Moreover, the values of these factor may vary during the day (<xref ref-type="bibr" rid="B34">34</xref>). The most outstanding feature of our GPC+IOB+AW is that it realizes an automatic control and does not require user interaction, personalized data, and meal announcements.</p>
<p>Moreover, subsequent tests with real patients are still substantially needed because an in-silico population with an average TIR of 86% is only representative to a very limited proportion of real patients. Other modules, such as the carbohydrate on board, should also be considered in future research.</p>
</sec>
<sec id="s5" sec-type="data-availability">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="supplementary-material" rid="s10">
<bold>Supplementary Material</bold>
</xref>. Further inquiries can be directed to the corresponding authors.</p>
</sec>
<sec id="s6" sec-type="author-contributions">
<title>Author contributions</title>
<p>HJ and WL conceived and designed the experiments. Modeling and simulation were conducted by WL, BL and TC. WL and YW analyzed the results and wrote the manuscript. All authors contributed to the article and approved the submitted version.</p>
</sec>
</body>
<back>
<sec id="s7" sec-type="funding-information">
<title>Funding</title>
<p>The authors would like to acknowledge that this study is supported by Science and Technology Program of Guangzhou (Project No. 202102080581), Characteristic innovation projects of colleges and universities in Guangdong Province (Project No. 2021KTSCX241 and 2022KTSCX272) and the funding support from Guangdong Province Medical Scientific Research Foundation (No. A2021153), as well as the Research Gant of Guangdong Food and Drug Vocational College (No. 2020ZR07, 2021ZR07, 2021ZR11 and 2022ZR01) and education reformation project No. PX-6201129.</p>
</sec>
<sec id="s8" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s9" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s10" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fendo.2023.1115436/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fendo.2023.1115436/full#supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet_1.pdf" id="SM1" mimetype="application/pdf"/>
<supplementary-material xlink:href="DataSheet_2.pdf" id="SM2" mimetype="application/pdf"/>
<supplementary-material xlink:href="DataSheet_3.pdf" id="SM3" mimetype="application/pdf"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>DiMeglio</surname> <given-names>LA</given-names>
</name>
<name>
<surname>Evans-Molina</surname> <given-names>C</given-names>
</name>
<name>
<surname>Oram</surname> <given-names>RA</given-names>
</name>
</person-group>. <article-title>Type 1 diabetes</article-title>. <source>Lancet</source> (<year>2018</year>) <volume>391</volume>(<issue>10138</issue>):<page-range>2449&#x2013;62</page-range>. doi: <pub-id pub-id-type="doi">10.1016/S0140-6736(18)31320-5</pub-id>
</citation>
</ref>
<ref id="B2">
<label>2</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>H</given-names>
</name>
<name>
<surname>Li</surname> <given-names>N</given-names>
</name>
<name>
<surname>Chivese</surname> <given-names>T</given-names>
</name>
<name>
<surname>Werfalli</surname> <given-names>M</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>H</given-names>
</name>
<name>
<surname>Yuen</surname> <given-names>L</given-names>
</name>
<etal/>
</person-group>. <article-title>IDF diabetes atlas: Estimation of global and regional gestational diabetes mellitus prevalence for 2021 by international association of diabetes in pregnancy study group's criteria</article-title>. <source>Diabetes Res Clin Pract</source> (<year>2022</year>) <volume>183</volume>:<fpage>109050</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.diabres.2021.109050</pub-id>
</citation>
</ref>
<ref id="B3">
<label>3</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname> <given-names>H</given-names>
</name>
<name>
<surname>Saeedi</surname> <given-names>P</given-names>
</name>
<name>
<surname>Karuranga</surname> <given-names>S</given-names>
</name>
<name>
<surname>Pinkepank</surname> <given-names>M</given-names>
</name>
<name>
<surname>Ogurtsova</surname> <given-names>K</given-names>
</name>
<name>
<surname>Duncan</surname> <given-names>BB</given-names>
</name>
<etal/>
</person-group>. <article-title>IDF diabetes atlas: Global, regional and country-level diabetes prevalence estimates for 2021 and projections for 2045</article-title>. <source>Diabetes Res Clin Pract</source> (<year>2022</year>) <volume>183</volume>:<fpage>109119</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.diabres.2021.109119</pub-id>
</citation>
</ref>
<ref id="B4">
<label>4</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cho</surname> <given-names>NH</given-names>
</name>
<name>
<surname>Shaw</surname> <given-names>JE</given-names>
</name>
<name>
<surname>Karuranga</surname> <given-names>S</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>Y</given-names>
</name>
<name>
<surname>da Rocha Fernandes</surname> <given-names>JD</given-names>
</name>
<name>
<surname>Ohlrogge</surname> <given-names>AW</given-names>
</name>
<etal/>
</person-group>. <article-title>IDF diabetes atlas: Global estimates of diabetes prevalence for 2017 and projections for 2045</article-title>. <source>Diabetes Res Clin Pract</source> (<year>2018</year>) <volume>138</volume>:<page-range>271&#x2013;81</page-range>. doi: <pub-id pub-id-type="doi">10.1016/j.diabres.2018.02.023</pub-id>
</citation>
</ref>
<ref id="B5">
<label>5</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>El Fathi</surname> <given-names>A</given-names>
</name>
<name>
<surname>Raef Smaoui</surname> <given-names>M</given-names>
</name>
<name>
<surname>Gingras</surname> <given-names>V</given-names>
</name>
<name>
<surname>Boulet</surname> <given-names>B</given-names>
</name>
<name>
<surname>Haidar</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>The artificial pancreas and meal control: An overview of postprandial glucose regulation in type 1 diabetes</article-title>. <source>IEEE Control Systems</source> (<year>2018</year>) <volume>38</volume>(<issue>1</issue>):<fpage>67</fpage>&#x2013;<lpage>85</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/MCS.2017.2766323</pub-id>
</citation>
</ref>
<ref id="B6">
<label>6</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Beck</surname> <given-names>RW</given-names>
</name>
<name>
<surname>Riddlesworth</surname> <given-names>T</given-names>
</name>
<name>
<surname>Ruedy</surname> <given-names>K</given-names>
</name>
<name>
<surname>Ahmann</surname> <given-names>A</given-names>
</name>
<name>
<surname>Bergenstal</surname> <given-names>R</given-names>
</name>
<name>
<surname>Haller</surname> <given-names>S</given-names>
</name>
<etal/>
</person-group>. <article-title>Effect of continuous glucose monitoring on glycemic control in adults with type 1 diabetes using insulin injections: The DIAMOND randomized clinical trial</article-title>. <source>JAMA</source> (<year>2017</year>) <volume>317</volume>(<issue>4</issue>):<page-range>371&#x2013;8</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1001/jama.2016.19975</pub-id>
</citation>
</ref>
<ref id="B7">
<label>7</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tauschmann</surname> <given-names>M</given-names>
</name>
<name>
<surname>Thabit</surname> <given-names>H</given-names>
</name>
<name>
<surname>Bally</surname> <given-names>L</given-names>
</name>
<name>
<surname>Allen</surname> <given-names>JM</given-names>
</name>
<name>
<surname>Hartnell</surname> <given-names>S</given-names>
</name>
<name>
<surname>Wilinska</surname> <given-names>ME</given-names>
</name>
<etal/>
</person-group>. <article-title>Closed-loop insulin delivery in suboptimally controlled type 1 diabetes: A multicentre, 12-week randomised trial</article-title>. <source>Lancet</source> (<year>2018</year>) <volume>392</volume>(<issue>10155</issue>):<page-range>1321&#x2013;9</page-range>. doi: <pub-id pub-id-type="doi">10.1016/S0140-6736(18)31947-0</pub-id>
</citation>
</ref>
<ref id="B8">
<label>8</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Smalley</surname> <given-names>E</given-names>
</name>
</person-group>. <article-title>Medtronic automated insulin delivery device gets FDA nod</article-title>. <source>Nat Biotechnol</source> (<year>2016</year>) <volume>34</volume>(<issue>12</issue>):<elocation-id>1220</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/nbt1216-1220</pub-id>
</citation>
</ref>
<ref id="B9">
<label>9</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Saunders</surname> <given-names>A</given-names>
</name>
<name>
<surname>Messer</surname> <given-names>LH</given-names>
</name>
<name>
<surname>Forlenza</surname> <given-names>GP</given-names>
</name>
</person-group>. <article-title>MiniMed 670G hybrid closed loop artificial pancreas system for the treatment of type 1 diabetes mellitus: Overview of its safety and efficacy</article-title>. <source>Expert Rev Med Devices</source> (<year>2019</year>) <volume>16</volume>(<issue>10</issue>):<page-range>845&#x2013;53</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1080/17434440.2019.1670639</pub-id>
</citation>
</ref>
<ref id="B10">
<label>10</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Anderson</surname> <given-names>SM</given-names>
</name>
<name>
<surname>Dassau</surname> <given-names>E</given-names>
</name>
<name>
<surname>Raghinaru</surname> <given-names>D</given-names>
</name>
<name>
<surname>Lum</surname> <given-names>J</given-names>
</name>
<name>
<surname>Brown</surname> <given-names>SA</given-names>
</name>
<name>
<surname>Pinsker</surname> <given-names>JE</given-names>
</name>
<etal/>
</person-group>. <article-title>The international diabetes closed-loop study: Testing artificial pancreas component interoperability</article-title>. <source>Diabetes Technol Ther</source> (<year>2019</year>) <volume>21</volume>(<issue>2</issue>):<fpage>73</fpage>&#x2013;<lpage>80</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1089/dia.2018.0308</pub-id>
</citation>
</ref>
<ref id="B11">
<label>11</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schoelwer</surname> <given-names>MJ</given-names>
</name>
<name>
<surname>Robic</surname> <given-names>JL</given-names>
</name>
<name>
<surname>Gautier</surname> <given-names>T</given-names>
</name>
<name>
<surname>Fabris</surname> <given-names>C</given-names>
</name>
<name>
<surname>Carr</surname> <given-names>K</given-names>
</name>
<name>
<surname>Clancy-Oliveri</surname> <given-names>M</given-names>
</name>
<etal/>
</person-group>. <article-title>Safety and efficacy of initializing the control-IQ artificial pancreas system based on total daily insulin in adolescents with type 1 diabetes</article-title>. <source>Diabetes Technol Ther</source> (<year>2020</year>) <volume>22</volume>(<issue>8</issue>):<fpage>594</fpage>&#x2013;<lpage>601</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1089/dia.2019.0471</pub-id>
</citation>
</ref>
<ref id="B12">
<label>12</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Toffanin</surname> <given-names>C</given-names>
</name>
<name>
<surname>Kozak</surname> <given-names>M</given-names>
</name>
<name>
<surname>Sumnik</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Cobelli</surname> <given-names>C</given-names>
</name>
<name>
<surname>Petruzelkova</surname> <given-names>L</given-names>
</name>
</person-group>. <article-title>In silico trials of an open-source android-based artificial pancreas: A new paradigm to test safety and efficacy of do-It-Yourself systems</article-title>. <source>Diabetes Technol Ther</source> (<year>2020</year>) <volume>22</volume>(<issue>2</issue>):<page-range>112&#x2013;20</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1089/dia.2019.0375</pub-id>
</citation>
</ref>
<ref id="B13">
<label>13</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Braune</surname> <given-names>K</given-names>
</name>
<name>
<surname>May</surname> <given-names>A</given-names>
</name>
<name>
<surname>Thurm</surname> <given-names>U</given-names>
</name>
</person-group>. <article-title>Safe and successful completion of a half marathon by an adult with type 1 diabetes using a personalized open source artificial pancreas system</article-title>. <source>J Diabetes Sci Technol</source> (<year>2020</year>) <volume>14</volume>(<issue>6</issue>):<page-range>1137&#x2013;8</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/1932296819884922</pub-id>
</citation>
</ref>
<ref id="B14">
<label>14</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Boughton</surname> <given-names>CK</given-names>
</name>
<name>
<surname>Hovorka</surname> <given-names>R</given-names>
</name>
</person-group>. <article-title>The artificial pancreas</article-title>. <source>Curr Opin Organ Transplant</source> (<year>2020</year>) <volume>25</volume>(<issue>4</issue>):<page-range>336&#x2013;42</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1097/MOT.0000000000000786</pub-id>
</citation>
</ref>
<ref id="B15">
<label>15</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eren</surname> <given-names>M</given-names>
</name>
</person-group>. <article-title>Adaptive control strategy for regulation of blood glucose levels in patients with type 1 diabetes</article-title>. <source>J Process Control</source> (<year>2009</year>) <volume>19</volume>(<issue>8</issue>):<page-range>1333&#x2013;46</page-range>. doi: <pub-id pub-id-type="doi">10.1016/j.jprocont.2009.04.004</pub-id>
</citation>
</ref>
<ref id="B16">
<label>16</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sato</surname> <given-names>T</given-names>
</name>
<name>
<surname>Inoue</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>Future reference trajectory improvement in self-tuning I-PD controller based on generalized predictive control law</article-title>. <source>IFAC Proc Volumes</source> (<year>2005</year>) <volume>38</volume>(<issue>1</issue>):<page-range>24&#x2013;9</page-range>. doi: <pub-id pub-id-type="doi">10.3182/20050703-6-CZ-1902.00404</pub-id>
</citation>
</ref>
<ref id="B17">
<label>17</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Turksoy</surname> <given-names>K</given-names>
</name>
<name>
<surname>Bayrak</surname> <given-names>ES</given-names>
</name>
<name>
<surname>Quinn</surname> <given-names>L</given-names>
</name>
<name>
<surname>Littlejohn</surname> <given-names>E</given-names>
</name>
<name>
<surname>Cinar</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>Multivariable adaptive closed-loop control of an artificial pancreas without meal and activity announcement</article-title>. <source>Diabetes Technol Ther</source> (<year>2013</year>) <volume>15</volume>(<issue>5</issue>):<fpage>386</fpage>&#x2013;<lpage>400</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1089/dia.2012.0283</pub-id>
</citation>
</ref>
<ref id="B18">
<label>18</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Messori</surname> <given-names>M</given-names>
</name>
<name>
<surname>Toffanin</surname> <given-names>C</given-names>
</name>
<name>
<surname>Del Favero</surname> <given-names>S</given-names>
</name>
<name>
<surname>De Nicolao</surname> <given-names>G</given-names>
</name>
<name>
<surname>Cobelli</surname> <given-names>C</given-names>
</name>
<name>
<surname>Magni</surname> <given-names>L</given-names>
</name>
</person-group>. <article-title>Model individualization for artificial pancreas</article-title>. <source>Comput Methods Programs BioMed</source> (<year>2019</year>) <volume>171</volume>:<page-range>133&#x2013;40</page-range>. doi: <pub-id pub-id-type="doi">10.1016/j.cmpb.2016.06.006</pub-id>
</citation>
</ref>
<ref id="B19">
<label>19</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Dassau</surname> <given-names>E</given-names>
</name>
<name>
<surname>Bequette</surname> <given-names>BW</given-names>
</name>
<name>
<surname>Buckingham</surname> <given-names>BA</given-names>
</name>
<name>
<surname>Doyle</surname> <given-names>FJ</given-names>
<suffix>3rd</suffix>
</name>
</person-group>. <article-title>Detection of a meal using continuous glucose monitoring: implications for an artificial beta-cell</article-title>. <source>Diabetes Care</source> (<year>2008</year>) <volume>31</volume>(<issue>2</issue>):<fpage>295</fpage>&#x2013;<lpage>300</lpage>. doi: <pub-id pub-id-type="doi">10.2337/dc07-1293</pub-id>
</citation>
</ref>
<ref id="B20">
<label>20</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lee</surname> <given-names>H</given-names>
</name>
<name>
<surname>Buckingham</surname> <given-names>BA</given-names>
</name>
<name>
<surname>Wilson</surname> <given-names>DM</given-names>
</name>
<name>
<surname>Bequette</surname> <given-names>BW</given-names>
</name>
</person-group>. <article-title>A closed-loop artificial pancreas using model predictive control and a sliding meal size estimator</article-title>. <source>J Diabetes Sci Technol</source> (<year>2009</year>) <volume>3</volume>(<issue>5</issue>):<page-range>1082&#x2013;90</page-range>. doi: <pub-id pub-id-type="doi">10.1177/193229680900300511</pub-id>
</citation>
</ref>
<ref id="B21">
<label>21</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>W</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>G</given-names>
</name>
<name>
<surname>Yu</surname> <given-names>L</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>B</given-names>
</name>
<name>
<surname>Jin</surname> <given-names>H</given-names>
</name>
</person-group>. <article-title>Improved generalized predictive control algorithm for blood glucose control of type 1 diabetes</article-title>. <source>Artif Organs</source> (<year>2019</year>) <volume>43</volume>(<issue>4</issue>):<page-range>386&#x2013;98</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/aor.13350</pub-id>
</citation>
</ref>
<ref id="B22">
<label>22</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Man</surname> <given-names>CD</given-names>
</name>
<name>
<surname>Micheletto</surname> <given-names>F</given-names>
</name>
<name>
<surname>Lv</surname> <given-names>D</given-names>
</name>
<name>
<surname>Breton</surname> <given-names>M</given-names>
</name>
<name>
<surname>Kovatchev</surname> <given-names>B</given-names>
</name>
<name>
<surname>Cobelli</surname> <given-names>C</given-names>
</name>
</person-group>. <article-title>The UVA/PADOVA type 1 diabetes simulator: New features</article-title>. <source>J Diabetes Sci Technol</source> (<year>2014</year>) <volume>8</volume>(<issue>1</issue>):<fpage>26</fpage>&#x2013;<lpage>34</lpage>. doi: <pub-id pub-id-type="doi">10.1177/1932296813514502</pub-id>
</citation>
</ref>
<ref id="B23">
<label>23</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cameron</surname> <given-names>F</given-names>
</name>
<name>
<surname>Bequette</surname> <given-names>BW</given-names>
</name>
<name>
<surname>Wilson</surname> <given-names>DM</given-names>
</name>
<name>
<surname>Buckingham</surname> <given-names>BA</given-names>
</name>
<name>
<surname>Lee</surname> <given-names>H</given-names>
</name>
<name>
<surname>Niemeyer</surname> <given-names>G</given-names>
</name>
</person-group>. <article-title>A closed-loop artificial pancreas based on risk management</article-title>. <source>J Diabetes Sci Technol</source> (<year>2011</year>) <volume>5</volume>(<issue>2</issue>):<page-range>368&#x2013;79</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/193229681100500226</pub-id>
</citation>
</ref>
<ref id="B24">
<label>24</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Breton</surname> <given-names>M</given-names>
</name>
<name>
<surname>Kovatchev</surname> <given-names>B</given-names>
</name>
</person-group>. <article-title>Analysis, modeling, and simulation of the accuracy of continuous glucose sensors</article-title>. <source>J Diabetes Sci Technol</source> (<year>2008</year>) <volume>2</volume>(<issue>5</issue>):<page-range>853&#x2013;62</page-range>. doi: <pub-id pub-id-type="doi">10.1177/193229680800200517</pub-id>
</citation>
</ref>
<ref id="B25">
<label>25</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kovatchev</surname> <given-names>BP</given-names>
</name>
<name>
<surname>Breton</surname> <given-names>M</given-names>
</name>
<name>
<surname>Man</surname> <given-names>CD</given-names>
</name>
<name>
<surname>Cobelli</surname> <given-names>C</given-names>
</name>
</person-group>. <article-title>In silico preclinical trials: A proof of concept in closed-loop control of type 1 diabetes</article-title>. <source>J Diabetes Sci Technol</source> (<year>2009</year>) <volume>3</volume>(<issue>1</issue>):<fpage>44</fpage>&#x2013;<lpage>55</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/193229680900300106</pub-id>
</citation>
</ref>
<ref id="B26">
<label>26</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Turksoy</surname> <given-names>K</given-names>
</name>
<name>
<surname>Quinn</surname> <given-names>L</given-names>
</name>
<name>
<surname>Littlejohn</surname> <given-names>E</given-names>
</name>
<name>
<surname>Cinar</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>Multivariable adaptive identification and control for artificial pancreas systems</article-title>. <source>IEEE Trans BioMed Eng</source> (<year>2014</year>) <volume>61</volume>(<issue>3</issue>):<page-range>883&#x2013;91</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TBME.2013.2291777</pub-id>
</citation>
</ref>
<ref id="B27">
<label>27</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Battelino</surname> <given-names>T</given-names>
</name>
<name>
<surname>Alexander</surname> <given-names>CM</given-names>
</name>
<name>
<surname>Amiel</surname> <given-names>SA</given-names>
</name>
<name>
<surname>Arreaza-Rubin</surname> <given-names>G</given-names>
</name>
<name>
<surname>Beck</surname> <given-names>RW</given-names>
</name>
<name>
<surname>Bergenstal</surname> <given-names>RM</given-names>
</name>
<etal/>
</person-group>. <article-title>Continuous glucose monitoring and metrics for clinical trials: An international consensus statement</article-title>. <source>Lancet Diabetes Endocrinol</source> (<year>2023</year>) <volume>11</volume>(<issue>1</issue>):<fpage>42</fpage>&#x2013;<lpage>57</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S2213-8587(22)00319-9</pub-id>
</citation>
</ref>
<ref id="B28">
<label>28</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zisser</surname> <given-names>H</given-names>
</name>
<name>
<surname>Robinson</surname> <given-names>L</given-names>
</name>
<name>
<surname>Bevier</surname> <given-names>W</given-names>
</name>
<name>
<surname>Dassau</surname> <given-names>E</given-names>
</name>
<name>
<surname>Ellingsen</surname> <given-names>C</given-names>
</name>
<name>
<surname>Doyle</surname> <given-names>FJ</given-names>
</name>
<etal/>
</person-group>. <article-title>Bolus calculator: A review of four "smart" insulin pumps</article-title>. <source>Diabetes Technol Ther</source> (<year>2008</year>) <volume>10</volume>(<issue>6</issue>):<page-range>441&#x2013;4</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1089/dia.2007.0284</pub-id>
</citation>
</ref>
<ref id="B29">
<label>29</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Magdelaine</surname> <given-names>N</given-names>
</name>
<name>
<surname>Rivadeneira</surname> <given-names>PS</given-names>
</name>
<name>
<surname>Chaillous</surname> <given-names>L</given-names>
</name>
<name>
<surname>Fournier-Guilloux</surname> <given-names>AL</given-names>
</name>
<name>
<surname>Krempf</surname> <given-names>M</given-names>
</name>
<name>
<surname>MohammadRidha</surname> <given-names>T</given-names>
</name>
<etal/>
</person-group>. <article-title>Hypoglycaemia-free artificial pancreas project</article-title>. <source>IET Syst Biol</source> (<year>2020</year>) <volume>14</volume>(<issue>1</issue>):<fpage>16</fpage>&#x2013;<lpage>23</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1049/iet-syb.2018.5069</pub-id>
</citation>
</ref>
<ref id="B30">
<label>30</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Turksoy</surname> <given-names>K</given-names>
</name>
<name>
<surname>Bayrak</surname> <given-names>ES</given-names>
</name>
<name>
<surname>Quinn</surname> <given-names>L</given-names>
</name>
<name>
<surname>Littlejohn</surname> <given-names>E</given-names>
</name>
<name>
<surname>Cinar</surname> <given-names>A</given-names>
</name>
</person-group>. (<year>2013</year>). <article-title>Adaptive multivariable closed-loop control of blood glucose concentration in patients with type 1 diabetes</article-title>, in: <conf-name>American Control Conference</conf-name>, <publisher-loc>Washington, DC, USA</publisher-loc>: <publisher-name>
</publisher-name>IEE</citation>
</ref>
<ref id="B31">
<label>31</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lewis</surname> <given-names>DM</given-names>
</name>
</person-group>. <article-title>Do-It-Yourself artificial pancreas system and the OpenAPS movement</article-title>. <source>Endocrinol Metab Clin North Am</source> (<year>2020</year>) <volume>49</volume>(<issue>1</issue>):<page-range>203&#x2013;13</page-range>. doi: <pub-id pub-id-type="doi">10.1016/j.ecl.2019.10.005</pub-id>
</citation>
</ref>
<ref id="B32">
<label>32</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ilham Ben</surname> <given-names>A</given-names>
</name>
<name>
<surname>Pierre-Yves</surname> <given-names>R</given-names>
</name>
<name>
<surname>Marie-Anne</surname> <given-names>L</given-names>
</name>
<name>
<surname>Isabelle</surname> <given-names>G</given-names>
</name>
<name>
<surname>Jean-Yves</surname> <given-names>P</given-names>
</name>
</person-group>. <article-title>A closed-loop artificial pancreas using a proportional integral derivative with double phase lead controller based on a new nonlinear model of glucose metabolism</article-title>. <source>J Diabetes Sci Technol</source> (<year>2013</year>) <volume>7</volume>(<issue>3</issue>):<fpage>699</fpage>&#x2013;<lpage>707</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/193229681300700315</pub-id>
</citation>
</ref>
<ref id="B33">
<label>33</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Soylu</surname> <given-names>S</given-names>
</name>
<name>
<surname>Danisman</surname> <given-names>K</given-names>
</name>
</person-group>. <article-title>In silico testing of optimized fuzzy p + d controller for artificial pancreas</article-title>. <source>Biocybernetics Biomed Eng</source> (<year>2018</year>) <volume>38</volume>(<issue>2</issue>). doi: <pub-id pub-id-type="doi">10.1016/j.bbe.2018.02.009</pub-id>
</citation>
</ref>
<ref id="B34">
<label>34</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Alcantara-Aragon</surname> <given-names>V</given-names>
</name>
<name>
<surname>Gonzalez</surname> <given-names>C</given-names>
</name>
<name>
<surname>Corcoy</surname> <given-names>R</given-names>
</name>
<name>
<surname>Ubeda</surname> <given-names>J</given-names>
</name>
<name>
<surname>Chico</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>Carbohydrate-to-Insulin ratio in a Mediterranean population of type 1 diabetic patients on continuous subcutaneous insulin infusion therapy</article-title>. <source>J Diabetes Sci Technol</source> (<year>2015</year>) <volume>9</volume>(<issue>3</issue>):<page-range>588&#x2013;92</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/1932296814563571</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>