2025 AIChE Annual Meeting

(204f) Stochastic Model Predictive Control with Adaptive Probabilistic Disturbance Models: Application to Automated Insulin Delivery in Diabetes

Authors

Mudassir Rashid - Presenter, Illinois Institute of Technology
Mohammad Ahmadasas, Illinois Institute of Technology
Mate Siket, Illinois Institute of Technology
Ali Cinar, Illinois institute of technology
Model predictive control (MPC) has demonstrated the ability to regulate complex systems in numerous applications ranging from industrial chemical processes to pharmaceutical manufacturing and automated drug delivery. MPC can handle complex system dynamics, multivariable architectures, and constraints. The MPC algorithm, a receding horizon control problem, is formulated as an open-loop optimization problem that minimizes, at each sampling instance, an objective function over a prediction horizon to determine the optimal trajectory of input variables given the current state of the system. The first instance of the computed manipulated inputs is then implemented, and the optimization problem is reinitialized and repeated at subsequent sampling instance to solve for new trajectories of input variables, resulting in an implicit feedback control law able to accommodate certain system uncertainties and unmeasured disturbances [1], [2].

The deterministic formulation of conventional MPC limits its ability to deliberately and methodically handle uncertainties and unmeasured disturbances. Robust MPC formulations, using min-max optimization problems, are developed to solve for the optimal input variables with respect to worst-case scenarios for uncertainty realization. The worst-case scenarios might be overly conservative or may render the optimization problem infeasible. Extending robust MPC, tube-based MPC is developed to contain the predicted state trajectories within a set and guarantee that constraints are satisfied [3], [4]. However, in many applications, the uncertainty may be probabilistic in nature, and the probabilities for the uncertainty realization may need updating based on recent data.

Stochastic MPC (SMPC) incorporates probabilistic uncertainty descriptions to solve for the optimal control actions with an expected objective function based on a distribution of uncertainty and soft constraints. Therefore, SMPC requires the distributional information of the uncertainty, and discrepancies between estimated and actual distributions of the uncertainties may deteriorate control performance. Furthermore, the distribution of the uncertainty may vary over time, and updating the distribution based on samples of the disturbance realization is required [5]. The distribution of the disturbance may also be estimated through historical data and expert knowledge.

Automated drug delivery is an application that has benefited from advanced control techniques, such as MPC. An example is automated insulin delivery in people with type 1 diabetes, where unannounced meals constitute unmeasured disturbances [6]. Historical data and expert knowledge of behavior can be used to train explainable machine learning models that characterize the time-varying distribution of the disturbance. Estimated realizations of the disturbance and associated probabilities can be used to construct an SMPC formulation that is tractable and ensures satisfaction of the probabilistic constraints.

In this work, we develop an adaptive SMPC formulation for the regulation of blood glucose in people with type 1 diabetes by modulating insulin dosing. We use real-world labeled data from 50 subjects with type 1 diabetes collected over 2 years to train a Bayesian network that estimates the probabilities of meals over the future horizon, which are then used to generate likely meal scenarios over the future horizon. The adaptive SMPC formulation then determines the optimal insulin given the likely future scenarios for meals. The Bayesian network is interpretable and can be updated as new data becomes available. Simulation studies involving the multivariable glucose-insulin-physiological variable simulator (mGIPsim) demonstrate the performance of the adaptive SMPC using virtual patients with type 1 diabetes under unannounced meals and physical activities [7]. The adaptive SMPC improves glucose control and increases the time subjects spend in the desired target glucose range. Subjects using the adaptive SMPC spend on average 88.3% of the time in the desired glucose range, compared to an adaptive MPC without stochastic future meal predictions that results in only 83.3% of time spent in the desired target range. The results demonstrate that an adaptive SMPC incorporating adaptive probabilistic models to estimate potential scenarios of future disturbances, such as unannounced meals, can improve the control of blood glucose in people with type 1 diabetes.

[1] A. Mesbah, “Stochastic Model Predictive Control: An Overview and Perspectives for Future Research,” IEEE Control Syst. Mag., vol. 36, no. 6, pp. 30–44, Dec. 2016, doi: 10.1109/MCS.2016.2602087.

[2] M. Lorenzen, F. Dabbene, R. Tempo, and F. Allgöwer, “Stochastic MPC with offline uncertainty sampling,” Automatica, vol. 81, pp. 176–183, Jul. 2017, doi: 10.1016/j.automatica.2017.03.031.

[3] J. A. Paulson, T. L. M. Santos, and A. Mesbah, “Mixed stochastic-deterministic tube MPC for offset-free tracking in the presence of plant-model mismatch,” J. Process Control, 2018.

[4] T. A. N. Heirung, J. A. Paulson, J. O’Leary, and A. Mesbah, “Stochastic model predictive control — how does it work?,” FOCAPOCPC 2017, vol. 114, pp. 158–170, Jun. 2018, doi: 10.1016/j.compchemeng.2017.10.026.

[5] M. Bujarbaruah, X. Zhang, M. Tanaskovic, and F. Borrelli, “Adaptive Stochastic MPC Under Time-Varying Uncertainty,” IEEE Trans. Autom. Control, vol. 66, no. 6, pp. 2840–2845, Jun. 2021, doi: 10.1109/TAC.2020.3009362.

[6] M. R. Askari, I. Hajizadeh, M. Rashid, N. Hobbs, V. M. Zavala, and A. Cinar, “Adaptive-learning model predictive control for complex physiological systems: Automated insulin delivery in diabetes,” Annu. Rev. Control, vol. 50, pp. 1–12, 2020, doi: 10.1016/j.arcontrol.2020.10.004.

[7] M. Rashid et al., “Simulation software for assessment of nonlinear and adaptive multivariable control algorithms: Glucose–insulin dynamics in Type 1 diabetes,” Comput Chem Eng, vol. 130, p. 106565, 2019, doi: 10.1016/j.compchemeng.2019.106565.