Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Validation in diabetic rats of a fully automated insulin delivery system based on impulsive offset-free MPC control

  • Jhon E. Goez-Mora ,

    Contributed equally to this work with: Jhon E. Goez-Mora, Natalia Arbelaez-Córdoba, Norman Balcazar-Morales, Pablo S. Rivadeneira

    Roles Data curation, Formal analysis, Resources, Software, Visualization, Writing – original draft

    Affiliation Grupo GITA, Facultad de Minas, Universidad Nacional de Colombia, Medellín, Colombia

  • Natalia Arbelaez-Córdoba ,

    Contributed equally to this work with: Jhon E. Goez-Mora, Natalia Arbelaez-Córdoba, Norman Balcazar-Morales, Pablo S. Rivadeneira

    Roles Investigation, Methodology, Supervision, Visualization, Writing – original draft

    Affiliation Grupo GENMOL, Departamento de Fisiología y Bioquímica, Facultad de Medicina, Universidad de Antioquia, Medellín, Colombia

  • Norman Balcazar-Morales ,

    Contributed equally to this work with: Jhon E. Goez-Mora, Natalia Arbelaez-Córdoba, Norman Balcazar-Morales, Pablo S. Rivadeneira

    Roles Conceptualization, Formal analysis, Funding acquisition, Methodology, Supervision, Writing – original draft

    Affiliation Grupo GENMOL, Departamento de Fisiología y Bioquímica, Facultad de Medicina, Universidad de Antioquia, Medellín, Colombia

  • Pablo S. Rivadeneira

    Contributed equally to this work with: Jhon E. Goez-Mora, Natalia Arbelaez-Córdoba, Norman Balcazar-Morales, Pablo S. Rivadeneira

    Roles Conceptualization, Formal analysis, Funding acquisition, Methodology, Project administration, Resources, Supervision, Validation, Writing – original draft

    psrivade@unal.edu.co

    Affiliation Grupo GITA, Facultad de Minas, Universidad Nacional de Colombia, Medellín, Colombia

Abstract

The development of an impulsive automated insulin delivery system (i-AiDS) for type 1 diabetes mellitus aims to provide real-time blood glucose regulation with minimal human intervention. This study presents the validation of an offset-free impulsive zone model predictive control strategy designed to cope with external disturbances such as meal intake and plant-model mismatch in a diabetic rat model. Fourteen male Wistar rats induced diabetes with streptozotocin were monitored using an continuous glucose monitoring and regulated by delivering insulin with a customized low-cost pump. After acquiring diabetes condition, the procedure for installing the devices in the rat is carried out. During the first day, manual insulin injections are made by the pump, the glucose response is recorded by the interface and an off-line parametric estimation is executed. Based on the parameters found, simulations are used for the first tuning of the controller and the estimator. During the second day, the parameters of the model and the control are tested and adjusted. Finally, on the third day, a 72-hour test of the impulsive begins in full autonomous mode. Results showed that the controller achieved an average of 83.4% of the time within the target range of 80-180 mg/dL, with no severe hypoglycemic or hyperglycemic events. The median absolute relative difference between model predictions and actual sensor data was 24.66%, indicating the presence of plant-model mismatch that was effectively handled by the controller. Peak hyperglycemic events reached 320 mg/dL, but were regulated within 50 minutes, while mild hypoglycemic events occurred in 3.62 ± 1.8 cases per subject. The study demonstrates the efficacy of the controller in managing unannounced carbohydrate intake and physiological disturbances in a real-world preclinical environment. These findings provide a foundation for future clinical trials, emphasizing the importance of in vivo validation of control strategies to refine the i-AiDS for human use. Improvements in model accuracy and dynamic parameter tuning could further enhance performance, particularly in longer experimental periods.

Introduction

Developing an automated insulin delivery system (AiDS) has become one of the leading research studies focused on treating type 1 diabetes mellitus (T1DM) nowadays. Still, in development, several technical and ethical challenges remain to be resolved. One of the most significant hurdles is the complexity of modeling the glucose-insulin dynamics, which can be hard to predict and manage in real-time due to the large number of variables that can affect such dynamics in the process. Even when combined with continuous glucose monitors (CGM), insulin delivery systems still require periodic adjustments or human intervention, making it challenging to achieve optimal glycemic control. A fully automated closed-loop system, which can monitor blood glucose (BG) levels and adjust insulin delivery without manual input, is the goal of AiDS research. However, this brings forth control strategies, algorithm accuracy, and safety challenges [16].

Model Predictive Control (MPC) is one of the most promising control strategies being explored in this problem. This controller strategy has emerged as a leading candidate for AiDS prototypes due to its capabilities [7], which can be obtained through an optimization process and the possibility of integrating constraints such as limits on the minimum and maximum insulin dosage, the maximum and minimum glucose ranges or states in the model, the amount of insulin on board [8], or even variables related to the amounts of insulin available in the reservoir or energy consumption. MPC utilizes mathematical models of glucose-insulin interactions to forecast how current states will evolve over a prediction horizon. With its structure for calculating insulin dosage, MPC can handle disturbances such as unannounced meals, varying physical activity levels, and the inherent delays in insulin absorption and action. This approach makes the MPC present favorable characteristics for handling BG complex and its nonlinear nature in T1DM.

In the last decade, several variations of MPC have been proposed to address specific challenges in AiDS development. One approach involves an adaptive personalized MPC, which adjusts control parameters based on recent data from the patient’s glucose measurements and insulin delivery history. This allows the system to dynamically modulate the control strength depending on the individual’s metabolic needs. Another promising enhancement is the inclusion of an automatic Bolus Priming System (BPS)[9], administering additional insulin doses when detecting unannounced meal intake. Simulation studies have demonstrated the efficacy of these advanced MPC strategies in improving time-in-range and reducing events of hyperglycemia.

Nonlinear MPC formulations have also been explored to handle the more complex dynamics observed in T1DM. For example, impulsive control models where insulin is delivered as discrete impulses rather than continuous infusions have shown promise in improving glucose regulation, particularly in cases where insulin sensitivity varies over time [10, 11]. This nonlinear approach has been successfully applied to both glucose regulation and other biomedical applications, such as oncolytic virus therapy, demonstrating its versatility [12].

Another advancement in MPC design is the offset-free control approach, which compensates for plant-model mismatches, a common issue in biological systems due to physiological variations. Offset-free zone MPC (OF-ZMPC) strategies incorporate disturbance estimation techniques to correct the deviation between the model’s predictions and the actual glucose levels, ensuring more accurate insulin dosing even in the presence of changes in the patient’s metabolism [13]. These methods have been tested in virtual environments, using simulations of patients with T1DM in different age ranges and parametric variations over 30% of the mathematical model, where they have shown significant improvements in maintaining normoglycemia and reducing the incidence of hypoglycemia, even in scenarios with unannounced meals and sensor noise [14, 15].

To summarize, impulsive systems offer a robust framework for modeling systems where changes can occur abruptly. In diabetes, impulsive events correspond to an insulin bolus or a sudden rise in glucose after meals. By considering an impulsive model, the controller can respond and accurately predict the nature of glucose dynamics. In parallel, the MPC has gained prominence for its ability to anticipate future glucose levels and adjust insulin doses accordingly. However, traditional MPC can exhibit steady-state errors when faced with model mismatch. To address this, the offset-free ZMPC incorporates mechanisms that ensure the controller can drive blood glucose levels to a target range without residual error, even in the presence of unmodeled influences. This is especially valuable in clinical settings where physiological variability and unannounced events are common. Together, OF-ZMPC and impulsive system modeling enable more reliable and physiologically realistic control, contributing to the development of safer and more effective impulsive automated insulin delivery systems (i-AiDS) therapies.

Despite the significant potential of MPC in i-AiDS development a major hurdle remains the validation of these control strategies before they can be tested in human clinical trials. Developing an i-AiDS requires rigorous testing, traditionally involving animal trials. Animal models, such as diabetic rats, have been essential in understanding the physiological dynamics of glucose-insulin interactions. These preclinical trials allow researchers to test the safety and efficacy of different control algorithms and insulin delivery systems in a controlled environment [1619]. However, there are ethical concerns and limitations associated with the use of animals in research, including variability in how these models translate to human physiology and the welfare of the animals involved.

In-silico simulations have been used as a powerful alternative for preliminary testing to address these concerns. These simulations use mathematical models and computer algorithms to mimic the glucose-insulin dynamic, allowing researchers to test control strategies without involving animals. While this method can reduce the need for animal trials, it does not entirely eliminate them because even though different simulation scenarios can be configured, it is not possible to consider all the different aspects, variables, or disturbances that the i-AiDS will be affected by during a real test. Simulations must be validated through in vivo testing before they can be applied to human clinical trials. Therefore, a balance between simulation-based and animal-based preclinical testing remains crucial in the i-AiDS development process. Integrating preclinical animal trials with advanced in silico models offers a more ethical and potentially more efficient path to developing safer and more effective i-AiDS solutions [20]. By refining algorithms and control strategies in a simulated environment, researchers can minimize the number of animal tests needed, focusing on validation rather than exploratory trials. This approach not only addresses the ethical concerns of animal testing but also accelerates the development process, bringing the i-AiDS prototype closer to clinical application.

For the development of the experiment in this work, after performing the procedure for the rats to acquire the diabetes condition, a bolus of insulin is injected, and the CGM data is stored to estimate parameters offline. Based on the estimated parameters, a tuning of the controller and the estimator is performed, which is subsequently implemented in the i-AiDS in a test of 72 consecutive hours; the food is left at will and is not announced to the controller. The results show that the proposed controller maintains, on average, 83.4% of the time in the 80-180 mg/dL range, avoiding severe cases of hypo and hyperglycemia. The median absolute relative difference between model predictions and actual sensor data was 24.66%, indicating the presence of plant-model mismatch that the controller effectively handled. i-AiDS BG regulation prevents excessive weight loss; on average, the rats lost 4.3% of body weight by the end of the experiment. The study demonstrates the efficacy of the OF-ZMPC controller in managing unannounced carbohydrate intake and physiological disturbances in a real-world preclinical environment.

This work focuses on performing preclinical trials using animals to test the i-AiDS prototype that implements an OF-ZMPC controller, validating the advantages of incorporating the plant-model mismatch in calculating insulin dosage before performing clinical trials with humans. The first section shows the T1DM model, the structure of the MPC controller, the devices as CGM, and the custom pump used in the test and describes the scenario of the trials, including the animals used, times of trial, procedures, measurements, limitations, and data analysis; in the results, the estimated parameters of the animals, the controller strategy performance and the condition of the animals during the test are reported; in the last section, the results of the preclinical test are discussed, identifying the advantages and limitations of the controller, showing the perspectives and conclusions.

Materials and methods

Devices

The Freestyle Libre sensor from Abbott Diabetes Care (version 1) is a disposable sensor with a maximum lifespan of 14 days. The unit reads equivalent glucose values in plasma or interstitial glycemia (IG) concentration. RAW data are accessed via a near-field communication protocol. The transmitter used is Miaomiao version 2, designed to read the sensor via near-field communication and transmit data via Bluetooth. It collects glucose information and can track it every 5 minutes.

For the monitoring and control interface computer, a workstation with a Windows 10 64-bit operating system, 64GB RAM, Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz 2.81 GHz processor, and Qualcomm QCA61x4A Bluetooth is used.

The custom insulin pump is based on the concept of an ultra-low-cost prototype. The baseplate is the low-cost FireBeetle Board ESP32 [V4.0], which integrates an ESP WROOM 32 Wifi & Bluetooth Dual-Core MCU Module. The motor controller is the Texas Instruments DRV8833 H-bridge motor drive. The DC motor is coupled with a worm screw. Hall effect sensors are used for position sensing, collecting 4 data points per revolution. The positioning closed-loop controller is a standard proportional-integral-derivative controller [21].

Also implemented is a computer-based monitoring interface, previously tested to store and manage glucose data from the sensor and injected insulin [22]. The interface handles all the pump functions, model parameters, tuning controller, and sensor signals shown in Fig 1.

thumbnail
Fig 1. Monitoring and control interface of artificial pancreas system.

The central panel contains information on glycemic values using CGM and insulin injected by the pump. The control window includes the configuration of the model parameters, the controller type, the control and estimator tuning, and the maximum and minimum limits of the x1 state and the insulin units u.

https://doi.org/10.1371/journal.pone.0330121.g001

Controller

System dynamics for glucose control.

BG dynamics has typically been represented by mathematical models falling into either maximal or minimal-like models [23]. The model used here is a minimal physiological model based on five compartments representing glucose dynamics, insulin absorption and action, and meal absorption dynamics which guarantees global structural identifiability [24]. The state-space representation of the model is given by

(1)

with

The measured variable corresponds to the BG concentration, i.e., with . All model variables and parameters have physiological interpretation, as seen in Table 1.

thumbnail
Table 1. Description of variables and parameters of the model.

https://doi.org/10.1371/journal.pone.0330121.t001

This i-AiDS design has been approached leveraging the concept of impulsive systems [13, 14, 25]. This consideration is appropriate since insulin doses are administered as small-spaced pulses rather than continuous or discrete doses. Adhering to that framework, model (1) can be expanded as an underlying discrete-time subsystem to represent the state’s free response and the state after the impulsive input :

(2)

where , , , , and T is a constant time of impulses. Note that the input is applied to , the state directly related to the measured variable. In this regard, model (2) is used in the control system formulation.

Offset free model predictive control.

When the prediction model utilized in the control strategy is not accurate enough to describe the plant behavior, i.e., when there is a plant-model mismatch, the MPC can generate a misleading control action that does not steer the system to the target and typically generates a steady state offset.

This section aims to describe the control strategy that drives the system to a nonempty target set by means of pulse control actions while satisfying constraints and compensating for the effect of a constant plant-model mismatch. To that purpose, the offset-free ZMPC (denoted as OF-ZMPC) was previously developed for discrete systems in[26, 27] and for impulsive systems in [15]. This strategy aims to obtain some information about the mismatch and provide it to the ZMPC so that it corrects its prediction model and target.

To that end, the nominal model of the plant is augmented with a model that takes into account the disturbances in the form of an integrating state (). Denote as the augmented state, where the disturbance has associated matrices and . Then, the extended system has the form:

(3)

where , , , , , and .

To consider the mismatch in the optimization problem, the state and disturbance have to be estimated. Therefore, it is necessary to select matrices Bd and Cd to ensure that the augmented model is observable. This is guaranteed if and only if the augmented Kalman Observability matrix has full rank according to Proposition 1 in [15]. Then, an estimator for the state and disturbance is designed in the form:

(4)

where matrix L is chosen so that the estimator is stable. Here, the Kalman filter algorithm is used to obtain the estimation.

The OF-ZMPC control strategy consists of a baseline MPC and the offset-free component. The baseline formulation selected is the ZMPC developed for impulsive systems in [13]. Its main idea is to steer the system from an initial point to a target set XTar through the equilibrium points using artificial/intermediary steady state variables . The cost function of the problem is:

(5)

which is composed by two sections: (i) the dynamic cost,

which steers the state to the artificial equilibrium inside , and (ii) the terminal cost,

which forces the artificial variables to an equilibrium that maintains the output y(t) in the target set , where distZ(x) denotes the distance from a point x to set Z, and is the maximum equilibrium set of the sampled model, such that its equilibrium trajectories remain inside XTar.

Next, this baseline formulation is merged with the offset-free feature by using the augmented model as the prediction model. Given the current estimate of the augmented state , the optimization problem that solves the OF-ZMPC every time k is:

(6)

where the first element of the solution sequence is applied to the plant every time k. The constraint in (6) forces the state at the end of the horizon to reach the artificial equilibrium xa, and note that the plant-model mismatch is taken into account in both the prediction model and in the constraints and to compute the artificial variables.

The programming of the MPC control algorithm, along with the entire interface, was performed in Python 3.9.13, and the optimization package used to solve the MPC problem is Quadprog v 0.1.12. This package (Quadratic Programming Solver), for Python is a repository that is found for free under license (GNU General Public License v2.0) in the GitHub platform [28], for the programming of the dual algorithm based on the Fortran programming language and converted to C to be executed in Python.

Ethics statement

The Ethics Committee for Animal Experimentation of the University of Antioquia grants ethical endorsement, as stated in session minutes No. 158 of April 16, 2024, for the development of the project “Evaluation of an automatic glucose regulator in a rat model with type I diabetes” where the commitment to good animal management in research activities is guaranteed.

Animal models and housing

A control group is not included in this work. The first reason is to minimize the number of animals involved in the experiment, and the second is that the information on the glucose ranges in healthy and diabetic rats regulated by a standard bolus-basal treatment has already been documented [16, 22], so it would not add new insights to the study.

The experimental unit is a single animal. Fourteen male Wistar rats were included in this study, maintained under specific pathogen-free microbiological conditions, aged between 14 and 16 weeks old, with an average weight ranging from 300 to 500 grams. Each rat was individually housed in polycarbonate cages measuring 45 cm in length, 25 cm in width, and 20 cm in height to prevent the removal of devices. The macroenvironment conditions were temperature-controlled at 21°C +/- 2°C, controlled relative humidity of 50-65%, controlled air with 16 to 20 air changes per hour, and artificial lighting with white light on a 12/12 hours light/dark cycle, regulated by a timer. One of the rats had a health issue before starting, so data was only collected from 13 subjects. This is discussed further below.

All animals used in this study were male Wistar rats. Male rats were selected due to their increased sensitivity to the diabetogenic effects of streptozotocin (STZ), which results in more reliable and consistent induction of diabetes compared to females [29]. Prior studies have shown that male rats develop persistent hyperglycemia more readily and at lower STZ doses, reducing interindividual variability and improving the reproducibility of experimental outcomes [30]. This biological susceptibility, particularly in Wistar and Sprague-Dawley strains at younger ages, facilitates the manifestation of key diabetic symptoms such as polyuria, hyperglycemia, and weight loss, which are key indicators for confirming disease onset and progression [31].

The rats were fed Laboratory Autoclavable Rodent Diet (LabDiet® 5010), which contains a minimum of 23% crude protein, 4.5% crude fat, and a maximum of 6% fiber, initially provided ad libitum, along with pre-sterilized water.

Experimental procedures

When the animals left the breeding facility for experimentation, they underwent a one-week acclimatization period and became familiar with their handlers. The macroenvironmental and microenvironmental conditions were monitored daily to ensure they were ideal. The supply of food and water in adequate quantity and quality and clean, dry bedding was guaranteed. The animals were permanently monitored by trained personnel knowledgeable and experienced in the procedures to be carried out. The animals were familiarized with the trained personnel in charge of the trial, who had experience properly handling and managing the species used. The research staff had received special training for this experiment, including Working with rats in research settings, a laboratory animal care internship program, working with IACUC 1—Lab Animal Research, ethics, and handling laboratory animals.

To induce type I diabetes, the rats were fasted for six hours before being administered STZ at a dose of 60 mg/kg via intraperitoneal injection (IP) under anesthesia with isoflurane. Afterward, a 10% sucrose solution was provided in their water bottles for 24 hours, followed by regular water. Once glucose measurements exceeded 300 mg/dL, confirming type 1 diabetes in the rat, the sensor, transmitter, and insulin cannula were installed in the ventral area of each rat under anesthesia using ketamine/xylazine at 90 mg/kg and 5 mg/kg, respectively, by IP route. The sensor and cannula were secured with gauze and adhesive tape to minimize stress during handling. The total duration of the experiment was eight days from the moment the procedure was performed by injecting STZ. During the experiment, the animals were monitored three times a day. If they showed signs of hypoglycemia or alterations, they were monitored every thirty minutes.

After the procedure, the rats were returned to their individual cages for recovery. Blood samples from the saphenous vein were taken to ensure the sensor values fell within the normal accuracy range of BG of [80–180] mg/dL ± 20 mg/dL. Additionally, a manual insulin injection test was performed through the cannula to verify the pump and sensor’s proper function, with the results documented in the interface. The only insulin used was NovolinR® (human recombinant DNA), a short-acting insulin delivered through the cannula in the ventral area for use with the pump.

Reaching endpoint criteria, including any signs or symptoms that led to deterioration in the animal’s welfare, was also considered. Animals showing severe pain, suffering, or distress were euthanized. Observations included changes in the skin and coat (redness, sagging, rashes, piloerection), in the eyes and mucous membranes of the mouth and conjunctiva (color and appearance), tremors, convulsions, paralysis, weight loss, increased aggression or depression, extended periods of sleep, aggressive or angry vocalization and high-pitched squealing and licking/protecting painful areas, and behaviors that indicated pain according to the Federation of European Laboratory Animal Science Associations (FELASA). At the time corresponding to the end of the experiment or reaching endpoint criteria, the rats were euthanized in a CO2 chamber with a dose of 10% to 30% of the chamber volume per minute. The autopsy was not performed until death had been confirmed.

If the research staff discovered a deceased animal, the principal investigator or designated personnel were notified immediately. The date, time, and location of discovery were recorded. The animal’s ID and cage number were noted. A gross external examination was conducted to look for signs of illness, injury, or distress (signs of infection, wounds, discharge). Necropsy Requirement: A necropsy was performed on all animals that died unexpectedly to determine the cause of death.

Fourteen rats were used for the experiment; however, one of the rats experienced health issues after the device installation procedure. The rat had a severe acute lung injury after inhalation of anesthesia to perform the procedure for installing the devices, an endpoint criterion for performing euthanasia, and resulting in data for thirteen rats where the experiment could be completed.

For the tests, after verifying the installation of the devices and the free movement of the rat in the cage, an insulin bolus was injected using the pump. First, this was done to lower the high BG levels caused by the installation procedure and the anesthesia administered, and second, to perform a parametric estimation. After the rat awoke and one hour had passed for sensor warm-up, the rat was provided with water but no food to identify only the effect of insulin on BG levels. Once the BG values stabilized within the normoglycemia range, the rat was given food at will, and the time of ingestion was recorded, though not the exact amount of carbohydrates. During the first few hours, a standard treatment was performed by administering periodic boluses to continue acquiring data that helped with parameter identification and to record the performance of the standard treatment using only the insulin pump. CGM calibrations were also performed when BG values were between 80 and 180 mg/dL.

With the data obtained on the first day, an offline parametric identification was performed, aiming to identify the critical parameters: p0 (endogenous glucose production), p1 (hepatic autoregulation), and p2 (associated with insulin sensitivity). The rest of the parameters were adjusted; however, it was assumed that the error resulting from the unknown exact amount of carbohydrates ingested and the limited quality of the data available from the subject in such a short time would contribute to model uncertainty. This uncertainty was handled by the controller through an offset-free approach.

With the initial diabetic rat model, simulations were carried out using the identified parameters to find a tuning that allowed BG regulation in the rat model. This was done over a 3-day scenario with parametric variations and different carbohydrate intake amounts throughout the simulation, as described in [14]. After determining the controller and estimator tuning parameters through simulations, real closed-loop tests of the controller began on the second day under supervision. During the first few hours, each insulin bolus calculated by the controller was manually confirmed via the interface to avoid potentially severe hypoglycemia due to model uncertainty or poor controller tuning.

Once several supervised injections were made and normoglycemia was maintained, manual confirmation was removed, and the controller switched to fully autonomous mode. Human supervision continued throughout the experiment, but the insulin amounts to be injected by the pump were no longer manually confirmed every 5 minutes. During the test, continuous monitoring was performed from the interface to assess the status of the equipment (sensor, actuator) and the rat’s condition (free movement, water, and food intake).

The fully autonomous controller tests were carried out over three days, with water and food provided ad libitum. Due to the difficulty in measuring the exact carbohydrate intake, food intake was not announced to the control system. In Fig 2, the closed-loop control scheme of the i-AiDS was shown. Every 5 minutes, the CGM data from the MiaomiaoV2 transmitter, obtained from the Freestyle Libre sensor installed on the rat’s ventral side via Bluetooth Low Energy protocol, was recorded on a computer interface.

thumbnail
Fig 2. OF-ZMPC close loop test.

The plastic swivels and tether spring protect and prevent the infusion set from tangling, allowing a 360° rotation of the rat. The protocol between the pump and the computer interface is Universal Serial Bus (USB). The protocol between MiaoMiao V2 and the computer interface is Bluetooth Low Energy (BLE). The protocol between FreeStyle Libre and MiaoMiao V2 is near-field communication (NFC). The figure contains images that are similar but not identical to the original image and are therefore for illustrative purposes only.

https://doi.org/10.1371/journal.pone.0330121.g002

Using this information, state estimation was performed through a Kalman filter, and the insulin dose to be injected was calculated by the OF-ZMPC controller. The calculated units were sent via RS232 to the customized pump, which injected the insulin and returned the exact amount injected (an alarm was triggered in case of obstruction). Additionally, the interface calculated a 5-minute projection using a mathematical model of a T1DM patient with the estimated parameters. All mentioned data were stored in a database and visualized through graphs and tables in the interface.

The devices used for sensor and cannula installation allowed the rat to move freely. However, the tape, the sensor’s weight, and the connection to the cannula were factors that increased stress levels, particularly during the first few days as the rat got accustomed to them. For this reason, constant checks were performed on the rat’s behavior, carbohydrate intake, and weight at the beginning and end of the experiment. Additionally, sterilized plastic and cardboard items were provided to help reduce stress levels. Handling was minimized, and blood samples were only taken when necessary to intervene in cases of potential hypoglycemia.

Data analysis

The number of animals used in this study (n = 14) was determined using a precision-based sample size calculation [32]. Based on previous studies employing closed-loop insulin delivery in STZ-induced diabetic rats [16, 22]. It is expected that the mean blood glucose level will be within the 90-130 mg/dL target range, with a standard deviation (SD) of approximately 11.5 mg/dL. The sample size was calculated to estimate the mean glucose with a margin of error of mg/dL at a 95% confidence level using Eq 7.

(7)

Where:

  • (for 95% confidence)
  • mg/dL (expected SD)
  • d = 6 mg/dL (desired precision)

(8)

From Eq 8, fourteen animals were therefore included to ensure accurate estimation of glycemic control outcomes, while also accounting for potential technical failures or data exclusions. During the first day of the in-vivo test, insulin is administered at a rate of 0.9 U/Kg to lower BG levels, which initially average >300 mg/dL after the installation procedure. This also helps gather the necessary data to perform a partial parameter estimation after filtering the CGM signal. The estimated values for p0, p1, p2, and p4 are reported, along with the average values across the model of the thirteen rats, and the upper and lower bounds of the search range are also provided. Simulations are conducted for each model to determine the controller and estimator tuning, reporting the control and prediction horizons, as well as common parameters among the models.

On the second day of the test, adjustments are made to the estimated parameters to reduce the error in the 5-minute projections of the model compared to the CGM signal. The Median Absolute Relative Difference (MedARD) and its confidence interval (CI) are used to compare the projections with the actual values. During the third and fifth days, the controller tests are conducted in fully automatic mode. The average BG value, along with its SD and coefficient of variation (CV), is reported. Additionally, the percentage of time spent in the [80-180] mg/dL range is presented, as well as the instances of hypoglycemia and hyperglycemia, including their SD. Since carbohydrate intake is ad libitum, the regulation results for each rat over the three days are also reported. A box plot of the insulin used per day and the mean values with CI is used to show the consistency of the controller in the regulations, and Pearson’s correlation coefficient was used to assess linear relationships between continuous variables, including body weight, insulin delivery, glycemic variability, and weight change. A was considered statistically significant.

Results

Parameter estimator

For parametric estimation, an insulin bolus between 0.6 and 1.5 U is injected, and the time window is recorded during which normoglycemia is reached, with 37 to 80 data points corresponding to 3 to 6 hours without carbohydrate intake. These data segments are separated and analyzed individually. Before estimation, data cleaning is performed.

The first step is to address missing data, which may result from connection issues with the interface or asynchronous recording of the injected insulin bolus. This is handled using linear interpolation. Then, outliers are removed, followed by smoothing using a moving median with a smoothing factor of 0.25. The results of the smoothing process are presented in the Fig 3.

thumbnail
Fig 3. Filter signal of CGM preprocess.

Left y-axis, blood glucose values reported by the sensor. Right y-axis, insulin units injected by the pump.

https://doi.org/10.1371/journal.pone.0330121.g003

After cleaning the data, the parametric estimation process begins. Initially, since no baseline data is available, a surrogate optimization is used to perform an initial exploration to find global minima. The initial seed for this optimization comes from parameters previously identified in [24] for human patients. Parameter limits are kept open to allow the algorithm to approximate a solution within 200 iterations.

Following this, the parameters found in the first iteration are used in a nonlinear least squares method with a trust-region algorithm, applying a tolerance parameter of 0.001, a function tolerance of 0.001, and a maximum of 40 iterations. The search ranges for the parameters are limited as follows: p0 [0-20], p1 [0-0.1], p2 [0-2000], p4 [0-100]. This is based on the understanding that the parameters affecting data behavior can only be explained through endogenous glucose production, insulin sensitivity, and hepatic autoregulation. Parameters p3 and p5 show negligible variation during iterations, so they are kept constant at 9.5 and 20.45, respectively. The values of the parameters for each rat and the average of the estimated models are shown in Table 2. The table shows that the parameter with the most significant relative variation is p1, followed by p0. However, if the data are normalized, the most significant variation in the parameters occurs in p0, which represents the endogenous production of glucose, followed by p2, which represents insulin sensitivity.

thumbnail
Table 2. Parameters of the model identified for each rat.

https://doi.org/10.1371/journal.pone.0330121.t002

With the identified parameters, the controller is tuned using a 72-hour simulation scenario featuring sporadic carbohydrate intakes between [1-5] g with intervals of [2-4] hours, starting from an initial hyperglycemic condition of 400 mg/dL. Multiple iterations are performed to find the tuning values, resulting in a prediction horizon Hp = 100 and a control horizon Hu = 30, The sampling time is maintained at 5 minutes, and restrictions are set for insulin amounts between [0-1] U, with the target BG range fixed between [90-130] mg/dL. In the estimator, the weight matrix is assigned values that reflect higher confidence in the measurements related to the model and a significant weight in the difference between the model and the actual plant d.

Controller performance

The following results were obtained from testing the OF-ZMPC controller in 13 in-vivo experimental units as follows: After the first two days of parametric estimation and supervised controller adjustment, the 72-hour test began on the third day with the controller in automatic mode. Carbohydrate intake was unannounced, and water and food were provided ad libitum.

The system successfully recorded CGM data and calculated 864 insulin doses continuously throughout the 72-hour test for each subject. There were no obstruction events reported in the cannula, and the sensor and cannula installations were maintained throughout the experiment with periodic checks on the adhesive and adding extra layers if needed. On average, there was a 7-second interval from data acquisition to processing, controller calculation, and insulin injection, considering that the pump injects at a rate of 60 units per minute.

In Fig 4, the results of autonomous BG regulation for each rat over three consecutive days are displayed. Peak average values of hyperglycemia are reported as , with a maximum of 320 mg/dL in DR6. Similarly, average peak values of hypoglycemia are , with a minimum of 48 mg/dL in diabetic rat (DR) 11. The average amount of insulin recorded over the three days is , with a maximum of 50.16 U in DR3 and a minimum of 12.64 U in DR2.

thumbnail
Fig 4. The result of fully automatic control in the thirteen rats.

The green lines indicate the range . The left y-axis shows the CGM values recorded by the interface, while the right y-axis shows the units of insulin calculated and injected by the pump. DR: diabetic rat.

https://doi.org/10.1371/journal.pone.0330121.g004

Table 3 summarizes key metrics for each rat during the 3-day experiment, including glycemic control parameters, insulin delivery, and body weight measurements. Most animals maintained a high percentage of time within the target glucose range (70–180 mg/dL), with values ranging from 76.39% to 91.55%. Instances of hypoglycemia (IG< 70 mg/dL) were observed in several animals; however, most events were mild and did not require intervention. No hyperglycemic events (IG> 180 mg/dL) were recorded. The mean insulin dose varied among individuals, with values ranging from 12.64 to 50.16 units during the study period.

thumbnail
Table 3. Glycemic control, insulin delivery, and body weight data per rat.

https://doi.org/10.1371/journal.pone.0330121.t003

The rat-wise mean IG levels with their corresponding 95% CI are shown in Fig 5. The control target range was defined as 90-130 mg/dL. Most diabetic rats maintained mean IG levels within this range. Specifically, DR5, DR6, DR7, DR9, and DR10 exhibited tightly controlled glucose values. DR3, DR4, and DR8 also remained within the target, with slightly wider CI. DR11 was the only rat that exceeded the upper target limit, with a mean IG of 137.66 mg/dL and a CI clearly outside the acceptable range. Conversely, DR13 had the lowest IG (99.61 mg/dL), still within the lower threshold. Overall, 12 of 13 rats achieved target glucose control.

thumbnail
Fig 5. Rat-wise mean IG with 95% CI.

Upper and lower targets are the controller objective range [90 - 130] (mg/dL); IG: interstitial glycemia; DR: diabetic rat; CI: confidence intervals.

https://doi.org/10.1371/journal.pone.0330121.g005

The performance statistics of the controller are summarized in Table 4. The average percentage of total time in normoglycemia is . The mean BG is , with a coefficient of variation of and a p-value >0.05 using the Shapiro-Wilk test. No cases of severe hyperglycemia or hypoglycemia were reported, but there were cases of hypoglycemia between [54-70] mg/dL.

thumbnail
Table 4. Statistics of the average performance of the controller in the thirteen rats.

https://doi.org/10.1371/journal.pone.0330121.t004

When broken down by day, the average BG and insulin consumption are as follows:

Day 1: Average BG = with an average insulin consumption of 9.3 U.

Day 2: Average BG = with an average insulin consumption of 10.8 U.

Day 3: Average BG = with an average insulin consumption of 11.7 U.

Fig 6 illustrates the similarity between the median insulin doses administered each day. There is also a similarity between the first and third interquartile ranges. For values beyond the 75th percentile, a maximum of 21.8 U of insulin was injected on the first day for one of the rats, which is lower than the maximum values on other days and does not represent an outlier. Despite showing positive skewness for Day 2 and negative skewness for Day 3, the insulin amounts are comparable in regulating BG across the three days for the thirteen rats.

thumbnail
Fig 6. Box plot of the average insulin of the thirteen rats per day.

https://doi.org/10.1371/journal.pone.0330121.g006

In the tests, each CGM data point that enters the interface is used to calculate a 5-minute projection based on the implemented mathematical model. This projection helps visualize the difference between the model and the actual system (plant), and it is also estimated and sent to the controller to compensate for this difference.

In Fig 7, a 3-hour window shows how the projection maintains the trend of the actual data, but due to issues in parameter identification, a difference is observed. The MedARD can be used to indicate the average difference between the sensor data and the 5-minute projection calculated by the model. Since the difference between plant data and model projections does not follow a normal distribution, with a p-value < 0.001 using the Kolmogorov-Smirnov test for a single sample, the MedARD value of the model predictions versus the plant is 24.66% with a 95% CI of [22.47% - 26.36%] using a non-parametric technique that does not assume normality (bootstrapping) with 5000 samples.

thumbnail
Fig 7. Data received from the CGM and projection to 5 minutes using the plant model.

Dots in color are CGM values in ranges (Green normoglycemic in ranges ), (Yellow hypo and hyperglycemic in ranges ) and (Red severe hypo and hyperglycemic in ranges ). white dots are the projection using estimated parameters on the T1DM model. Bars in blue indicate the insulin that was injected.

https://doi.org/10.1371/journal.pone.0330121.g007

Rats clinical assessment

After anesthesia, rats recovered thirty minutes after the device installation procedure. They also show signs of stress due to the sensor and cannula installed on their skin, which typically results in hyperglycemia, often exceeding 300 mg/dL. This is managed by administering insulin at a rate of 0.9 U/Kg.

The rats’ weights were registered before and at the end of the experiment. Table 3 reports the weight changes for each test rat and the average, showing an overall weight loss of from one day before STZ injection to the endpoint for each rat. In some cases, such as DR13, there is an increase in body weight of , while in the worst case, DR8, there is a loss of weight of . The mean value and standard deviation for the initial and final weights are and , respectively.

To assess whether individual differences in body weight influenced the system’s performance, we conducted a correlation analysis between initial body weight and total insulin delivered during the study period. No significant correlation was found (Pearson’s r = 0.086, p = 0.78). Similarly, changes in body weight over the three days were not significantly correlated with insulin delivery (r = 0.020, p = 0.948), indicating no significant correlation.

In the initial hours post-device implantation, some rats exhibited transient signs of stress, such as circling behavior or slow and uncoordinated movement. These behaviors subsided over time, and by the second day, animals resumed their regular circadian activity, showing reduced movement during the day and increased activity at night. Food and water intake were consistent, and no episodes of vomiting or diarrhea were observed. During episodes of hyper- and hypoglycemia, behavioral monitoring continued. No abnormal behaviors were recorded except in one rat that displayed shallow breathing and reduced mobility following anesthesia. This rat was isolated, and devices were removed. The animal was subsequently euthanized based on humane endpoint criteria. Necropsy revealed an acute pulmonary injury.

At certain times of the day and during their more active period in the dark cycle, the rats attempt to bite the devices and adhesives. Therefore, frequent inspections of the rat and the devices are performed, with additional tape applied as needed to secure the installation. This stress focus causes hyperglycemia spikes observed throughout the data in Fig 4, so not all events are due to carbohydrate intake. It is also possible that in some cases, the combination of carbohydrate intake and stress from the installation contributes to hyperglycemic events.

Discussion

For parametric estimation, multiple signals per rat were sometimes processed due to the data quality obtained. After a 5-hour fast, food is provided ad libitum, which complicates the identification process due to the inability to quantify the amount of carbohydrates consumed precisely. Therefore, the parameters associated with carbohydrate intake, p3, and the maximum glucose appearance time, p5, were adjusted so that the model simulation exhibited behavior similar to that observed with the rat data and were kept constant, leaving the controller to handle this identification issue. In Table 1, the parameter p2 indicates high insulin sensitivity and generally low endogenous glucose production, which explains the amounts of insulin recorded daily. The final ranges used to restrict the search for each parameter were defined after using the surrogate search algorithm and observing general convergence within these ranges, thereby limiting search areas and possible mathematical solutions that deviate from realistic coherence.

The identified parameters can be used as a basis for simulating rats with T1DM; however, it is important to highlight the lack of information these models have regarding the response to carbohydrate intake. For this work, this deficiency in identification serves as evidence of the robustness of the controller in handling issues with the mathematical model used in the MPC, which is mitigated by the OF-ZMPC approach. Nevertheless, the model could be improved by incorporating precise information about carbohydrate intake and its effects on BG. The tuning values for the controller and estimator found in the simulation allow for regulating virtual patients without causing a computational burden on the interface or increasing the time from data acquisition to insulin injection in each iteration.

The simulations conducted with the estimated model parameters obtain tuning values and matrices for the controller. On the second day, with manual supervision, the controller is tested, and adjustments are made to the values before transitioning to full autonomy. These adjustments are also applied to the model parameters if a significant difference is observed between the 5-minute projection and the data received from the CGM. Adjustments were made to parameters p0 and p2 to improve the projection and enhance the controller’s response to BG increases.

During the controller tests, the ability to regulate IG in the thirteen rats is evident, despite the known errors in the model used by the control strategy for insulin calculation. The OF-ZMPC controller achieves an average percentage of time in range (TIR) of due to the integration of the difference between the plant and the model, d that has been shown to provide a reasonably accurate MedARD with a small CI that proves the discrepancy of the model in the controller and the patient during the experiment. This allows the cost function to provide a value adjusted for this discrepancy. The controller also demonstrates its ability to respond to unannounced carbohydrate intake and other disturbances, such as stress, which can cause an increase in IG levels. Figure 6 demonstrates the consistency of the controller across the experiment’s conditions. This responsiveness helps manage hyperglycemic events, with a peak reaching 320 mg/dL in DR6, but regulated to near target levels within approximately 50 minutes. For hypoglycemic events, maintaining a minimum target zone of 90 mg/dL helps to compensate for response to disturbance events without frequently causing severe hypoglycemia.

The proposed OF-ZMPC controller demonstrated a mean IG range of 99.6 to 137.7 mg/dL, with an SD range of 33–43 mg/dL, maintained over a range 77–92% TIR across animals, slight weight loss or stabilization and insulin dose (mean per rat) that varies widely from 12.6 to 50.2 U over 72 hours. Compared to other published systems, such as neural network-based MPC controllers in diabetic rats [18], which often maintained higher mean glucose levels 140–180 mg/dL with a TIR greater than 75% and the bihormonal artificial pancreas [17], with mean of 145–150 mg/dL and TIR 72–80%, our system provided tighter and more stable glycemic regulation. Furthermore, despite being monohormonal, our results compare favorably to bihormonal systems that incorporate glucagon to counter hypoglycemia.

Although we recognize that there are differences between the animal and human models, in addition to the variability in weight, sample size, and inclusion of genders, the comparison between the results obtained in this work and those presented in [33], can provide a first insight into the validation of OF-ZMPC for future clinical trials in humans. The summary of the comparison is shown in Table 5. The performance of OF-ZMPC in diabetic rats demonstrates better glycemic control than that reported in human clinical trials using the automatic regulation of glucose (ARG) algorithm. Our work presents a significantly lower mean GI and a substantially higher TIR. We also note that after normalizing the daily insulin dose per kilogram of body weight, the comparative results are as follows: , , Rats received a significantly higher insulin dose in relative terms (per kg of body weight), which is expected due to differences in basal metabolism and insulin clearance rates between species. Additionally, the STZ-induced diabetes model in rats requires more insulin to maintain normoglycemia.

thumbnail
Table 5. Comparison between OF-ZMPC performance in diabetic rats and ARG-based control in humans [33].

https://doi.org/10.1371/journal.pone.0330121.t005

The analysis of rat-wise IG levels revealed that most diabetic rats maintained mean IG within the predefined therapeutic window, demonstrating effective glycemic regulation under the tested intervention. Only one rat (DR11) exhibited a significantly elevated mean IG above 130 mg/dL with a non-overlapping 95% CI, suggesting individual variability in treatment efficacy or a potential outlier. In contrast, the remaining animals sustained glucose levels either well within or close to the target limits, underscoring the reproducibility and reliability of the OF-ZMPC. The consistently narrow CI across most animals further reinforce the statistical robustness of these findings and highlight the promise of this approach for advancing i-AiDS.

A critical challenge encountered during full-automatic mode was the difficulty in monitoring food intake. With food provided ad libitum and rats often chewing on pellets or bedding, accurately identifying the timing and amount of food consumed was not feasible. Despite this limitation, the controller effectively regulated blood glucose levels under these unconstrained conditions, achieving outcomes comparable to studies that used movement restrictions and controlled feeding. While such restrictions can enhance experimental control, they limit ethical validity. The ability of the OF-ZMPC to function under more realistic conditions enhances its translational relevance and practical applicability.

The chosen sample size permitted a reliable estimation of system performance across individual glycemic profiles and enabled an exploratory assessment of interindividual differences. We examined whether body weight influenced insulin dosing or glycemic regulation and found no significant correlations between weight and either insulin delivery or changes in body mass. These findings support the robustness of the system across a moderate weight range. However, the relatively short study duration and limited physiological diversity may have constrained our ability to detect subtler or longer-term effects. To address this, future research should incorporate a larger and more diverse cohort of animals, monitored over extended periods, to determine whether body weight or other covariates influence system performance under varying physiological conditions.

One notable limitation of this study is the exclusive use of male rats. This choice was driven by the greater susceptibility of males to STZ and the more consistent onset of diabetes symptoms, as reported in previous studies [2931]. However, T1DM affects individuals of all genders, and biological differences between males and females, such as in insulin sensitivity and glucose metabolism, can affect treatment outcomes [34, 35]. To ensure broader translational relevance and assess the generalizability of the OF-ZMPC, future studies should include both genders and evaluate system performance across sex-related physiological differences.

Although behavioral data were not collected using automated monitoring systems, continuous direct observation provided valuable insights into the animals’ general welfare and clinical condition. Notably, glycemic fluctuations did not lead to overt behavioral abnormalities in most animals, indicating effective physiological adaptation to closed-loop control. The only exception was a rat that developed respiratory distress unrelated to glucose control, which was appropriately managed according to humane endpoint criteria and confirmed via necropsy.

While the infusion system allowed for full mobility within the cage, the physical presence of the device introduced stress during initial adaptation, and as skin irritation developed from the adhesive over time. This necessitated limiting the experiment to five days to prevent dermal injury and cumulative distress. The development of improved attachment methods that minimize discomfort would enable longer experimental durations. Extending the trial to the full 14-day sensor lifespan would provide a more comprehensive evaluation of i-AiDS performance in prolonged scenarios, allowing for an assessment of long-term controller stability and adaptability.

References

  1. 1. Mughal IS, Patanè L, Caponetto R. A comprehensive review of models and nonlinear control strategies for blood glucose regulation in artificial pancreas; 2024.
  2. 2. Bekiari E, Kitsios K, Thabit H, Tauschmann M, Athanasiadou E, Karagiannis T, et al. Artificial pancreas treatment for outpatients with type 1 diabetes: Systematic review and meta-analysis; 2018.
  3. 3. Quintal A, Messier V, Rabasa-Lhoret R, Racine E. A critical review and analysis of ethical issues associated with the artificial pancreas; 2019.
  4. 4. Blauw H, Keith-Hynes P, Koops R, DeVries JH. A review of safety and design requirements of the artificial pancreas; 2016.
  5. 5. El Fathi A, Raef Smaoui M, Gingras V, Boulet B, Haidar A. The artificial pancreas and meal control: An overview of postprandial glucose regulation in Type 1 diabetes. IEEE Control Syst. 2018;38(1):67–85.
  6. 6. A H. The artificial pancreas: How closed-loop control is revolutionizing diabetes. IEEE Control Syst. 2016;36:28–47.
  7. 7. Bequette BW. Algorithms for a closed-loop artificial pancreas: The case for model predictive control. J Diabetes Sci Technol. 2013;7(6):1632–43. pmid:24351190
  8. 8. Villa-Tamayo MF, Leon-Vargas F, Garcia-Jaramillo M, Rivadeneira PS. Glycemic control strategy based on an impulsive MPC with safety layer coupling for IOB limitation. IEEE Control Syst Lett. 2021;5(5):1669–74.
  9. 9. Garcia-Tirado J, Lv D, Corbett JP, Colmegna P, Breton MD. Advanced hybrid artificial pancreas system improves on unannounced meal response – In silico comparison to currently available system. Comput Methods Programs Biomed. 2021;211:106401. pmid:34560603
  10. 10. González AH, Rivadeneira PS, Ferramosca A, Magdelaine N, H. Moog C. Impulsive zone MPC for type I diabetic patients based on a long-term model. IFAC-PapersOnLine. 2017;50(1):14729–34.
  11. 11. Yue Ruan, Wilinska ME, Thabit H, Hovorka R. Modeling day-to-day variability of glucose-insulin regulation over 12-week home use of closed-loop insulin delivery. IEEE Trans Biomed Eng. 2017;64(6):1412–9. pmid:28113240
  12. 12. Shi D, Dassau E, Doyle FJ. Adaptive zone model predictive control of artificial pancreas based on glucose- and velocity-dependent control penalties. IEEE Trans Biomed Eng. 2019;66(4):1045–54. pmid:30142748
  13. 13. Rivadeneira PS, Ferramosca A, Gonzalez AH. Control strategies for nonzero set-point regulation of linear impulsive systems. IEEE Trans Automat Contr. 2018;63(9):2994–3001.
  14. 14. Villa-Tamayo MF, Rivadeneira PS. Adaptive impulsive offset-free MPC to handle parameter variations for type 1 diabetes treatment. Ind Eng Chem Res. 2020;59(13):5865–76.
  15. 15. Villa-Tamayo MF, Caicedo MA, Rivadeneira PS. Offset-free MPC strategy for nonzero regulation of linear impulsive systems. ISA Trans. 2020;101:91–101. pmid:31982097
  16. 16. Kirilmaz OB, Salegaonkar AR, Shiau J, Uzun G, Ko HS, Lee HF, et al. Study of blood glucose and insulin infusion rate in real-time in diabetic rats using an artificial pancreas system. PLoS One. 2021;16(7):e0254718. pmid:34270619
  17. 17. Kirilmaz OB, Mahdavi M, Ko HS, Lee HF, Park S, Kwon G. A customized artificial pancreas system with neural network-based model predictive control for type 1 diabetic rats; 2022.
  18. 18. Bahremand S, Ko HS, Balouchzadeh R, Felix Lee H, Park S, Kwon G. Neural network-based model predictive control for type 1 diabetic rats on artificial pancreas system. Med Biol Eng Comput. 2019;57(1):177–91. pmid:30069675
  19. 19. Lal RA, Maikawa CL, Lewis D, Baker SW, Smith AAA, Roth GA, et al. Full closed loop open-source algorithm performance comparison in pigs with diabetes. Clin Transl Med. 2021;11(4):e387. pmid:33931977
  20. 20. Patek SD, Bequette BW, Breton M, Buckingham BA, Dassau E, Iii FJD, et al. In silico preclinical trials: Methodology and engineering guide to closed-loop control in type 1 diabetes mellitus. J Diabetes Sci Technol. 2009.
  21. 21. Goez-Mora JE, Arbelaez-Córdoba N, Balcazar-Morales N, Rivadeneira PS. Study of insulin infusion in diabetic rats with an ultra-low-cost insulin pump for managing blood glucose levels. J Diabetes Investig. 2025. pmid:40697030
  22. 22. Goez-Mora JE, Arbeláez-Córdoba N, Balcazar-Morales N, Rivadeneira PS. A concept for human use of real-time and remote monitoring of diabetic subjects using intermittent scanned continuous glucose measurement. Biomed Eng Online. 2024;23(1):26. pmid:38419031
  23. 23. Cobelli C, Man CD, Sparacino G, Magni L, De Nicolao G, Kovatchev BP. Diabetes: Models, signals, and control. IEEE Rev Biomed Eng. 2009;2:54–96. pmid:20936056
  24. 24. Hoyos JD, Villa-Tamayo MF, Builes-Montano CE, Ramirez-Rincon A, Godoy JL, Garcia-Tirado J, et al. Identifiability of control-oriented glucose-insulin linear models: Review and analysis. IEEE Access. 2021;9:69173–88.
  25. 25. González AH, Rivadeneira PS, Ferramosca A, Magdelaine N, Moog CH. Stable impulsive zone model predictive control for type 1 diabetic patients based on a long-term model. Optim Control Appl Methods. 2020;41(6):2115–36.
  26. 26. Maeder U, Borrelli F, Morari M. Linear offset-free model predictive control. Automatica. 2009;45(10):2214–22.
  27. 27. Pannocchia G. Offset-free tracking MPC: A tutorial review and comparison of different formulations. In: 2015 European control conference (ECC), 2015. 527–32. https://doi.org/10.1109/ecc.2015.7330597
  28. 28. Goldfarb D. A numerically stable dual method for solving strictly convex quadratic programs. 1983.
  29. 29. Ghasemi A, Jeddi S. Streptozotocin as a tool for induction of rat models of diabetes: A practical guide. EXCLI J. 2023;22:274–94. pmid:36998708
  30. 30. Gajdosík A, Gajdosíková A, Stefek M, Navarová J, Hozová R. Streptozotocin-induced experimental diabetes in male Wistar rats. Gen Physiol Biophys. 1999;18 Spec No:54–62. pmid:10703720
  31. 31. Akbarzadeh A, Norouzian D, Mehrabi MR, Jamshidi S, Farhangi A, Verdi AA, et al. Induction of diabetes by Streptozotocin in rats. Indian J Clin Biochem. 2007;22(2):60–4. pmid:23105684
  32. 32. Charan J, Kantharia ND. How to calculate sample size in animal studies?. J Pharmacol Pharmacother. 2013;4(4):303–6.
  33. 33. Garelli F, Fushimi E, Rosales N, Arambarri D, Mendoza L, Serafini MC, et al. First outpatient clinical trial of a full closed-loop artificial pancreas system in South America. J Diabetes Sci Technol. 2023;17(4):1008–15. pmid:35549733
  34. 34. Gonzalez J, Kirwan JP. Sex differences in the effects of diet-induced obesity on insulin sensitivity and glucose homeostasis in mice. Hormone Mol Biol Clin Investig. 2018;33(1):20170047.
  35. 35. de Vries SAG, Verheugt CL, Mul D, Nieuwdorp M, Sas TCJ. Do sex differences in paediatric type 1 diabetes care exist? A systematic review. Diabetologia. 2023;66(4):618–30. pmid:36700969