Insulin delivery systems, methods, and devices
A system includes a controller that is in communication with a medication delivery device and that includes control logic. The control logic is operative to: calculate a meal bolus; calculate a meal bolus correction that is based, at least in part, on a glucose level and also whether the glucose level is above or below a threshold; and calculate a corrected meal bolus based, at least in part, on the meal bolus and the meal bolus correction.
1 . A system to control glucose in a patient, the system comprising:
a medication delivery device configured to deliver insulin to the patient; and
a controller comprising a processor in communication with the medication delivery device, the controller including control logic operative to:
calculate a meal bolus,
calculate a meal bolus correction, wherein:
the meal bolus correction is calculated by (BG−target)/Si−IOB, where BG is a glucose level, target is a target glucose level, Si is an insulin sensitivity, and IOB is an IOB level, when the glucose level is below a threshold and the IOB level is negative,
the meal bolus correction is calculated by (BG−target)/Si−IOB, when the glucose level is above the threshold and the IOB level is positive,
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is above the threshold and the IOB level is negative, and
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is below the threshold and the IOB level is positive, and
calculate a corrected meal bolus based, at least in part, on the meal bolus and the meal bolus correction, and
transmit the corrected meal bolus to the medication delivery device,
wherein in response to receiving the transmitted corrected meal bolus, the medication delivery device is caused to deliver the insulin to the patient.
2 . The system of claim 1 , wherein the IOB is based, at least in part, on mini-bolus corrections.
3 . The system of claim 1 , wherein the IOB is based, at least in part, insulin deliveries over a predetermined period of time prior to calculating the meal bolus correction.
4 . The system of claim 1 , wherein the IOB is calculated by a linear decay model, a curvilinear model, or a two-compartment model.
5 . The system of claim 1 , further comprising a user interface communicatively coupled to the processor and configured to receive user input.
6 . The system of claim 1 , wherein the meal bolus is based, at least in part, on a meal carbohydrate content and a carbohydrate ratio.
7 . The system of claim 1 , further comprising the insulin contained in the medication delivery device.
8 . The system of claim 1 , further comprising:
a glucose measurement device in communication with the controller and configured to measure the glucose level.
9 . A method comprising:
using a processor to obtain a meal bolus;
calculating, by the processor, a meal bolus correction, wherein:
the meal bolus correction is calculated by (BG−target)/Si−IOB, where BG is a glucose level, target is a target glucose level, Si is an insulin sensitivity, and IOB is an IOB level, when the glucose level is below a threshold and the IOB level is negative,
the meal bolus correction is calculated by (BG−target)/Si−IOB, when the glucose level is above the threshold and the IOB level is positive,
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is above the threshold and the IOB level is negative, and
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is below the threshold and the IOB level is positive;
calculating, by the processor, a corrected meal bolus based, at least in part, on the meal bolus and the meal bolus correction; and
transmitting the corrected meal bolus to a medication delivery device configured to deliver medication to a patient, wherein in response to receiving the transmitted corrected meal bolus, the medication delivery device is caused to deliver insulin to the patient.
10 . A non-transitory computer-readable medium includes instructions that cause a hardware processor to:
calculate a meal bolus;
calculate a meal bolus correction, wherein:
the meal bolus correction is calculated by (BG−target)/Si−IOB, where BG is a glucose level, target is a target glucose level, Si is an insulin sensitivity, and IOB is an IOB level, when the glucose level is below a threshold and the IOB level is negative,
the meal bolus correction is calculated by (BG−target)/Si−IOB, when the glucose level is above the threshold and the IOB level is positive,
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is above the threshold and the IOB level is negative, and
the meal bolus correction is calculated by (BG−target)/Si, when the glucose level is below the threshold and the IOB level is positive;
calculate a corrected meal bolus based, at least in part, on the meal bolus and the meal bolus correction; and
transmit the corrected meal bolus to a medication delivery device configured to deliver medication to a patient, wherein in response to receiving the transmitted corrected meal bolus, the medication delivery device is caused to deliver insulin to the patient.