
AUTONOMOUS DRUGS OPTIMAL MANAGEMENT, PART I: OPTIMAL INSULIN REGULATION FOR TYPE 1 DIABETES USING 0/1 FIRST-ORDER AND 2/2 ORDERS COMPENSATORS COMPARED WITH A PID CONTROLLER | IJET â Volume 11 Issue 6 | IJET-V11I6P4

International Journal of Engineering and Techniques (IJET)
Open Access ⢠Peer Reviewed ⢠High Citation & Impact Factor ⢠ISSN: 2395-1303
Volume 11, Issue 6 | Published: Novmeber 2025
Author: Galal Ali Hassaan , Asmaa Galal Hassaan , Fatma Galal Hassaan
Abstract
This paper investigates the optimal insulin infusion for type 1 diabetes through the use of compensators from the second generation of control compensators. The proposed compensators are a novel 0/1 first order and 2/2 orders compensators from the second generation of control compensators. The compensators are tuned for good control system performance and optimal adjustment of the insulin infusion required to control the typ1 diabetes. The performance of the control system with the proposed compensators is compared with PID controller from the first generation of PID controllers to control the same type 1 diabetes process. A ready transfer function model for the glucose-insulin infusion process from a previous research work is used to tune the proposed compensators and present the step time response for a meal disturbance input. The characteristics of the step time responses are compared with those of the conventional PID controller. The best compensator/controller for the control of type 1 diabetes is assigned and the insulin infusion rate is investigated for three levels of the gain of the best compensator.
Keywords
Autonomous drugs optimal management, optimal insulin regulation, PID controller, 0/1-first order compensator, 2/2 orders compensator , compensators tuning.
Conclusion
-The research work presented in this research paper handled the first paper in a series of papers under the general title: Autonomous drugs optimal management.
-The first paper in this series dealt with the control of serum type 1 diabetes using two compensators from the second generation of control compensators compared with a PID controller from the first PID controllers.
-The proposed compensators were tuned using hybrid approach based on applying the zero/pole cancellation, critical damping of second-order dynamic systems and trial and the error approach.
-The PID controller was used in a 2012 research work to control type 1 diabetes without tuning announcement. It simulation results were used for sake of comparison with the proposed control techniques.
-The purpose of the investigated compensators was to bring down the glucose concentration due to one meal disturbance from 180 gm/dL to a value within a normal range between 70 and 100 mg/dL.
-The proposed compensators succeeded to reduce the settling time of the control system (with respect to the 2 % tolerance) to values in the range: 6.73 ⤠Ts2% ⤠241.28 min compared with 490.7 min for the PID controller.
-The proposed compensators succeeded to reduce the delay time to 1.39 ⤠Td ⤠61.82 min compared with 393.5 min for the PID controller.
-The proposed compensators succeeded to reduce the rise time to 4.13 ⤠Tr ⤠83.19 min compared with 300.9 min for the PID controller.
-The best compensator was chosen the 2/2 orders compensator based on its time-based characteristics in Table 1.
-The effect of 2/2 compensator gain Kc2 on the insulin infusion rate was graphically illustrated for Kc2 = 0.02, 0.06 and 0.1. The maximum infusion rate was 3.38, 10.42 and 18 mg/min respectively.
-The insulin infusion rate can be set by the control system operator to suit the type 1 diabetes individuals.
Future work is required to set limits for the insulin infusion rate to avoid side effects and provide more safety treatment for type 1 diabetes.
References
1.M. Goyal and D. Choudhary, âA review on hyperglycemia: symptoms and risk factorsâ, Journal of Pharmaceutical Research International, vol.33, issue 60A, pp.756-761, 2021.
2.Y. Ramprasad, G. Rangaiah and S. Lakshminaryayanan., âRobust PID controller for blood glucose regulation type 1 diabetesâ, Industrial and Engineering Chemistry Research, vol.43, issue 26, pp.8260-8268, 2004.
3.G. Marchetti, et al., âAn improved PID switching control strategy for type 1 diabetesâ, International Conference on the IEEE Engineering in Medicine and Biology Society, New York, pp.5041-5044, 2006.
4.L. Magni, et al., “Model predictive control of glucose concentration in subjects with type 1 diabetes: An in-silico trial”, IFAC Proceedings, vol.41, issue 2, pp.4246-4251, 2008.
5.D. Elleri, D. Dunger and R. Hovorka., âClosed-loop insulin delivery for treatment of type 1 diabetesâ, BMC Medicine, vol.9, issue 120, 9 pages, 2011.
6.P. Li, et al., âPID control of glucose concentration in subjects with type 1 diabetes based on a simplified model: An in-silico trialsâ, Proceedings of the 10th World Congress on Intelligent Control and Automation, Beijing, China, 6 pages, July 6-8, 2012.
7.D. Abadi, et al., ” Design of optimal self-regulation Mamdani-type fuzzy inference controller for type 1 diabetes mellitusâ, Arabian Journal for Science and Engineering, vol.39, issue 2, 13 pages, 2014.
8.S. Soylu and K. Danisman., âComparison of PID based control algorithm for daily blood glucose controlâ, Proceedings of the 2nd World Congress on Electrical Engineering and Computer Systems and Science, Budapest, Hungary, 8 pages, August 16-17, 2016.
9.B. Farahmand, M. Dehghani and N. Vafamand, âFuzzy model-based controller for blood glucose control in type 1 diabetes: An LMI approachâ, Biomedical Signal Processing and Control, vol.54, 26 pages, 2019.
10.R. Zahidifar and A. Khalaji, âControl of blood glucose induced by meals for type 1 diabetes using an adaptive backstepping algorithmâ, Scientific Reports, vol.12, issue 12228, 13 pages, 2022.
11.M. Sayedabadi and A. Kalat, âRobust adaptive observer-based control of blood glucose level for type 1 diabetic patientâ, Biocybernetics and Biomedical Engineering, vol.44, issue 2, pp.295-303, 2024.
12.F. Soleimannoari, et al., âModel reference adaptive fuzzy control of blood glucose level in patients with type 1 diabetes with input saturationâ, International Journal of Electronics, Control and Optimization, vol.8, issue 2, pp.117-127, 2025.
13.PTBO Guardian, âWhy is insulin measured in unitsâ, https://www.ptboguardian.com/single-post/2017/04/28/why-is-insulin-measured-in-units , 2017.
14.Mathworks, âPlotting system responsesâ, https://www.mathworks.com/help/control/ug/plotting-system-responses.html, 2024.
15.M. C. Campi, âThe problem of pole-zero cancellation in transfer function identification and application to adaptive stabilizationâ, Automatica, vol.32, issue 6, pp.849-857, 1996
16.G. A. Hassaan, âOn tuning a novel feedforward 2/2 second-order compensator to control a very slow second-order-like processâ, International Journal of Advanced Research in Computer Science and Technology, vol.2, issue 3, pp.326-328, 2014.
17.H. Simon and P. Simon, âTrial and error in solving difficult problemsâ, Systems Research and Behavioral Science, vol.7, issue 4, pp.425-429, 2007.
18.A. Ul-Haque, âIbn al-Baitar: A great botanist, pharmacist, scientist and physicianâ, International Journal of Pathology, vol.18, issue 2, pp.66-67, 2020.
19.Wikipedia, âIbn al-Baytarâ, https://en.wikipedia.org/wiki/Ibn_al-Baytar , July 2025.
Cite this article
APA
{{author}} ({{pub_date}}). {{title}}. International Journal of Engineering and Techniques (IJET), {{volume}}({{issue}}). https://doi.org/{{doi}}
{{author}}, â{{title}},â International Journal of Engineering and Techniques (IJET), vol. {{volume}}, no. {{issue}}, {{pub_date}}, doi: {{doi}}.
