Feedback Control of Medication Delivery Device Using Machine Learning-Based Control Co-Design
- 1 Department of Mechanical Engineering, University of Texas at Tyler, Tyler, TX, USA
- 2 Department of Mechanical Engineering, University of Texas at Tyler, Tyler, TX, USA
- 3 Department of Mechanical Engineering, University of Texas at Tyler, Tyler, TX, USA
- 4 Department of Mechanical Engineering, University of Texas at Tyler, Tyler, TX, USA
- 5 The Runatek Corporation, Dallas, TX, USA
Abstract
Although the opioid crisis is a problem worldwide, recent emerging technology has the potential of curtailing the epidemic. By administering micro-doses of medication as needed, a feedback-driven medicine pump could lessen the highs and lows associated with the formation of an addiction. The focus of this study was to develop a feedback control loop for this pump that optimizes drug concentration in the bloodstream based on set criteria. In the process of optimization of the system, the mathematical model representing the system was analyzed to find an open loop transfer function. Using this function, a PID tuner was applied to set feedback control. Both machine learning (ML) and deep learning (DL) techniques are explored to act as a classifier that aids the pump in administering doses. The setpoint concentration of medication in the patient’s bloodstream was calculated to be 7.55 mg/ml this setpoint was the basis for steady state concentration of the transfer function. When a PID tuner was added to the feedback system, the plot was optimized to satisfy the design criteria of a rise time less than 25-minutes and no more than a 5% overshoot of the setpoint concentration. Naïve Bayesian (NB), Tree and support-vector machines (SVM) classifiers achieved the best classification accuracy of 100%. A DL network was successfully developed to predict patient class. This work is the theoretical basis for developing a feedback-driven medicine pump and an algorithm that can classify patients based on their body’s metabolism that will aid the doctor in formatting the medicine pump so that the patient is receiving the proper amount of medication.
- Tandem Diabetes Care Inc. (2021) t: slim X2 Insulin Pump with Dexcom G6CGM. https://www.tandemdiabetes.com/landing-pages/t-slim-x2-landing-page-g6
- Tandem Diabetes Care Inc. (2019) t: slim X2 Insulin Pump User Guide. https://www.tandemdiabetes.com/docs/default-source/product-documents/t-slim-x2-insulin-pump/user_guide_pump_tslimx2_wg5.pdf?sfvrsn=eb30ad7_26
- Johns Hopkins University (2021) Implantable Cardioverter Defibrillator (ICD) Insertion. https://www.hopkinsmedicine.org/health/treatment-tests-and-therapies/implantable-cardioverter-defibrillator-icd-insertion
- Gadze, J.D., Bamfo-Asante, A.A., Agyemang, J.O., Nunoo-Mensah, H., and Opare, K.A.B. (2021) An Investigation into the Application of Deep Learning in the Detection and Mitigation of DDOS Attack on SDN Controllers. Technologies, 9, Article No. 14. https://doi.org/10.3390/technologies9010014
- Indrawan, R., Saadah, S., and Yunanto, P.E. (2021) Blood Glucose Prediction Using Convolutional Long Short-Term Memory Algorithms. Jurnal Ilmu Komputer dan Informatika, 7, 90-95. https://doi.org/10.23917/khif.v7i2.14629
- Nguyen, Q.H., Ly, H.B., Lanh, H.S.., Al-Ansari, N., Le, H.V., Quan, T.V., Prakash, I. and Pham, B.T. (2021) Influence of Data Splitting on Performance of Machine Learning Models in Prediction of Shear Strength of Soil. Mathematical Problems in Engineering, 2021, Article ID: 4832864. https://doi.org/10.1155/2021/4832864
- Tao, H., Al-Sulttani, A.O., Salih Ameen, A.M., Ali, Z.H., Al-Ansari, N., Salih, S.Q. and Mostafa, R.R. (2020) Training and Testing Data Division Influence on Hybrid Machine Learning Model Process: Application of River Flow Forecasting. Complexity, 2020, Article ID: 8844367. https://doi.org/10.1155/2020/8844367
- Uçar, M., Nour, M., Sindi, H. and Polat, K. (2020) The Effect of Training and Testing Process on Machine Learning in Biomedical Datasets. Mathematical Problems in Engineering, 2020, Article ID: 2836236. https://doi.org/10.1155/2020/2836236
- Goh, C.H. (2021) System Dynamics & Control Project Guidelines [Class Handout]. The University of Texas, Tyler, MENG 4312.
- The MathWorks, Inc. (2022) trainNetwork—Train Deep Learning Neural Network. https://www.mathworks.com/help/deeplearning/ref/trainnetwork.html