Related Experiment Video
Updated: Jun 16, 2026

Concept Development and Use of an Automated Food Intake and Eating Behavior Assessment Method
Published on: February 19, 2021
Probabilistic evolving meal detection and estimation of meal total glucose appearance
Fraser Cameron1, Günter Niemeyer, Bruce A Buckingham
1Department of Aeronautics and Astronautics, Stanford University, Stanford, California 94305, USA. fraser@stanford.edu
Background:
Automatic compensation of meals for type 1 diabetes patients will require meal detection from continuous glucose monitor (CGM) readings. This is challenged by the uncertainty and variability inherent to the digestion process and glucose dynamics as well as the lag and noise associated with CGM sensors. Thus any estimation of meal start time, size, and shape is fundamentally uncertain. This uncertainty can be reduced, but not eliminated, by estimating total glucose appearance and using new readings as they become available.
Method:
In this article, we propose a probabilistic, evolving method to detect the presence and estimate the shape and total glucose appearance of a meal. The method is unique in continually evolving its estimates and simultaneously providing uncertainty measures to monitor their convergence. The algorithm operates in three phases. First, it compares the CGM signal to no-meal predictions made by a simple insulin-glucose model. Second, it fits the residuals to potential, assumed meal shapes. Finally, it compares and combines these fits to detect any meals and estimate the meal total glucose appearance, shape, and total glucose appearance uncertainty.
Results:
We validate the performance of this meal detection and total glucose appearance estimation algorithm both separately and in cooperation with a controller on the Food and Drug Administration-approved University of Virginia/Padova Type I Diabetes Simulator. In cooperation with a controller, the algorithm reduced the mean blood glucose from 137 to 132 mg/dl over 1.5 days of control without any increased hypoglycemia.
Conclusion:
This novel, extensible meal detection and total glucose appearance estimation method shows the feasibility, relevance, and performance of evolving estimates with explicit uncertainty measures for use in closed-loop control of type 1 diabetes.
Related Concept Videos
Glucose Homeostasis: Regulation of Blood Glucose
During fasting, when blood glucose levels are low, the pancreas secretes glucagon. it...
Glucose Absorption Into the Small Intestine

