Patent ID: 11918349
Assignee: MEDTRONIC MINIMED, INC.
Field: Pharmaceuticals (Chemistry)
Classification: CPC A  C  G | IPC A  G

Claim 0:
1. A processor-implemented method comprising:
obtaining a current glucose value for a user of an insulin delivery device;
generating a desired glucose trajectory that approaches a desired steady state setpoint from the current glucose value over a prediction horizon;
generating an insulin delivery pattern corresponding to an amount of insulin to be delivered to the user over a control horizon;
generating a predicted glucose trajectory over the control horizon, the predicted glucose trajectory being generated based on the current glucose value and the insulin delivery pattern;
comparing the desired glucose trajectory against the predicted glucose trajectory;
responsive to a difference between the desired glucose trajectory and the predicted glucose trajectory being no larger than a predetermined threshold, selecting the predicted glucose trajectory, wherein the difference is determined based on a cost function;
determining the insulin delivery pattern used to generate the predicted glucose trajectory; and
causing insulin delivery by the insulin delivery device in accordance with the determined insulin delivery pattern.