CPC A61B 5/1495 (2013.01) [A61B 5/1451 (2013.01); A61B 5/1459 (2013.01); A61B 5/14532 (2013.01); A61B 5/742 (2013.01); G01N 33/66 (2013.01); A61B 5/14503 (2013.01); A61B 5/4866 (2013.01); A61B 2560/0223 (2013.01); G16H 20/10 (2018.01)] | 58 Claims |
1. A method of calibrating an analyte sensor using one or more reference measurements, the method comprising:
receiving first sensor data from an analyte sensor, wherein the first sensor data comprises one or more measurements of an analyte level in a second medium;
using a conversion function and the first sensor data to calculate a first sensor analyte level, wherein the calculated first sensor analyte level is a level of analyte in a first medium, and using the conversion function and the first sensor data used to calculate the first sensor analyte measurement comprises:
calculating a second medium analyte level using at least the first sensor data;
calculating a second medium level rate of change using at least the second medium analyte level; and
calculating the first sensor analyte level using at least the second medium analyte level, the second medium level rate of change, and one or more lag parameters;
receiving a first reference analyte measurement (RM1);
storing the RM1 in a calibration point memory that includes one or more previous reference analyte measurements;
weighting the RM1 and the one or more previous reference analyte measurements according to a weighted average cost function;
updating the conversion function using the weighted RM1 and the one or more weighted previous reference analyte measurements as calibration points;
receiving second sensor data from the analyte sensor; and
using the updated conversion function and the second sensor data to calculate a second sensor analyte level.
|