Patent attributes
A method may include generating a first plurality of insulin delivery profiles that include a first series of insulin delivery actions spanning a first time interval, projecting a first plurality of future blood glucose values for each profile of the first plurality of profiles using up-to-date blood glucose levels, selecting one of the first plurality of profiles based upon comparing future blood glucose values for each profile and target blood glucose levels, delivering insulin for a second time interval that corresponds to a first action of the first profile, generating a second plurality of insulin delivery profiles for a third time interval, projecting a second plurality of future blood glucose values for each profile of the second plurality of profiles for the third time interval, and delivering a second dose of insulin for a fourth time interval shorter than the third time interval.