Artificial Pancreas — Disturbance rejection with a one-sided actuator
![]() | ![]() | ![]() | App Exercises |
|---|
Model and Control Exercise 15 of 40. BYU class 16 · PDC class 16. 15 minutes.

Open the Artificial Pancreas App
Learning Outcomes
- Distinguish a setpoint change from a disturbance in a block diagram.
- Explain why feedback acts only after the error appears.
- Explain what a one-sided actuator cannot correct.
Book Chapter
Control of Biological Systems and Human Performance (Volume 19), Chapter 2, Artificial Pancreas Simulator for Direct Action and One-Sided Insulin Delivery. Read online · Chapter PDF · Lecture slides
Theory in Brief
In the simulated glucose loop, a meal raises glucose and the insulin pump can increase delivery or reduce it to its floor. A simple disturbance model uses a meal input D and loop sensitivity.
$$Y=G_dD/(1+G_cG_p)$$
$$u\ge0$$
$$u_{ff}=-(K_d/K_p)d$$
Model to Controller
The model separates the meal path from the pump path. The actuator floor limits what feedback can achieve.
Exercise
Read (2 min). Review the model and identify which signals you will compare.
Predict (1 min). Predict whether the pump can correct a low glucose.
Run (8 min).
- Open the app and select the following cases in order.
- 4 · Disturbance rejection.
- 8 · Actuator limit.
- Follow the case instructions, using the same measurement window for comparable trials.
- Record peak and the lowest glucose and the time outside the band in each.
Explain (2 min). Which observation supports or changes your prediction? Which assumption or limit explains the gap between calculation and observation?
Generative AI Learning (2 min)
Verify the suggested claim using a second point on your trend or an independent calculation from the equations. Cite the signal, units and case that support your conclusion.
What to Turn In
Submit a screenshot of the relevant trend or scorecard and three sentences covering your prediction, the measured result with units, and the model's explanation. Course guidelines for AI use.
The simulated pump can reduce insulin delivery to zero. Once it reaches zero it cannot add a glucose-raising input. Read the trend and actuator floor together.
Which part of the model connects the measured signal to the exercise?
The model separates the meal path from the pump path. The actuator floor limits what feedback can achieve.
How should the observations be interpreted?
The simulated pump can reduce insulin delivery to zero. Once it reaches zero it cannot add a glucose-raising input. Read the trend and actuator floor together.
How could you check that a result is comparable across cases?
Use the same signal, units and reference point. When comparing integrated quantities, use the same interval.
Related
Type-I Diabetic Blood Glucose · Quiz M · PID with Feedforward


