Prediction and accuracy improvement of insulin pump in-fusion deviation based on LSTM and PID

L Leijie Wang X Xudong Guo Q Qiuyue Peng H Hongmei Zhang Y Yuan Yang H Hongyan Wang (Neuroscience & Behavioral Disorders Programme, Duke-National University of Singapore Medical School) Y Yongxin Wang H Haofang Liang W Wuyi Ming Z Zhen Zhang

Abstract

In order to further improve the injection precision of the PH300 insulin pump, this paper optimizes and improves the mechanical structure and control algorithm of the PH300. The improved PH300 uses a proportional-integral-derivative controller based on back propagation neural network (BP-PID) algorithm to control operation, and the experimental results show that the minimum effective single infusion dose of the improved PH300 is 0.047 U, which is reduced by 50.52%. The deviation reduction of low-dose infusion (0.1U-0.9U) ranged from 1.47% to 10.87%, with a mean of 4.91%. The mean deviation of the improved PH300 decreases by 12.85% after a 24h low basal rate (0.5U/h) injection. In addition, Long Short-Term Memory (LSTM) was used to predict the deviation during injection, and the predicted values were uniformly compensated for in subsequent injection experiments. The LSTM model performed best with a training set of 85%, a test set of 15%, an epoch of 300, a batch number of 256, and 32 hidden layer neurons. After compensation, the mean infusion deviation for large doses was reduced by 12.05%, and the maximum deviation by 14.12%.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 6
Published June 04, 2025
Pages e0324261
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (10)

L

Leijie Wang

X

Xudong Guo

Q

Qiuyue Peng

H

Hongmei Zhang

Y

Yuan Yang

H

Hongyan Wang

Neuroscience & Behavioral Disorders Programme, Duke-National University of Singapore Medical School

Y

Yongxin Wang

H

Haofang Liang

W

Wuyi Ming

Z

Zhen Zhang