← Latest papers
🧬 biology

Model Predictive Controller to Regulate Cortisol Levels in Individuals With Adrenal Insufficiency

This paper proposes a Model Predictive Controller (MPC) integrated with a novel mathematical model of the hypothalamus-pituitary-adrenal (HPA) axis to serve as a virtual assistant for physicians, enabling the optimization of cortisol replacement therapy for patients with primary or secondary adrenal insufficiency while rigorously adhering to dosage constraints.

Original authors: Renuka Joshi, Nayana Saha, Vittal Srinivasan, Stanislaw H. Zak, Cary N. Mariash

Published 2026-07-13
📖 4 min read☕ Coffee break read

Original authors: Renuka Joshi, Nayana Saha, Vittal Srinivasan, Stanislaw H. Zak, Cary N. Mariash

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine your body has a tiny, super-smart thermostat inside your brain that controls a special "stress hormone" called cortisol. This hormone is like the body's emergency fuel; it helps you handle stress, keep your energy up, and fight off infections. In a healthy person, this thermostat works on a natural daily rhythm, pumping out more fuel in the morning to wake you up and less at night so you can sleep.

But for people with a condition called Adrenal Insufficiency (AI), this system is broken. It's like the furnace in their house has stopped working. They can't make their own cortisol, so they have to get it from a pill (hydrocortisone) to survive. The big problem? Figuring out exactly how much to take and when is tricky. If they take too little, they feel weak and sick. If they take too much, it can be dangerous.

Right now, doctors usually play it safe with a "fixed schedule." They might say, "Take 12 mg at 8:00 am, 4 mg at 2:00 pm, and 4 mg at 8:00 pm." The authors of this paper ran computer simulations to see how well this fixed schedule works. They found that while it does get the hormone levels into the right ballpark, it's not perfect. It's like driving a car with cruise control set to a single speed; it gets you there, but it doesn't adjust if the road gets steep or flat.

The New Idea: A "Virtual Co-Pilot"

To do better, the researchers built a new, super-detailed mathematical map of how the body's stress system works. This map includes the daily rhythm (the circadian clock) and how the body naturally tries to stop making cortisol when there's too much of it.

Using this map, they designed a "Model Predictive Controller" (MPC). Think of this MPC as a smart, virtual co-pilot for the doctor. Instead of just guessing a fixed schedule, this co-pilot constantly looks ahead. It asks: "If I give this dose now, what will the hormone levels look like in one hour? Two hours? Will they be too high or too low?"

The co-pilot then calculates the perfect dose to keep the levels just right, but it has strict rules it must follow:

  1. No negative doses: You can't take "minus" pills.
  2. No overdose: It won't suggest a dose that's too high (the limit is set so the patient doesn't get sick from too much cortisol).
  3. Real-world pills: Since you can't buy a 5.45 mg pill at the pharmacy, the co-pilot rounds the numbers to the nearest 5 mg (like 5 mg, 10 mg, or 15 mg) and sticks to the usual times: 8:00 am, 2:00 pm, and 8:00 pm.

What the Simulations Showed

The team tested this virtual co-pilot on two different types of broken stress systems:

  • Primary AI: The adrenal glands (the furnace) are totally broken.
  • Secondary AI: The brain's thermostat (the hypothalamus and pituitary) is broken, so it never tells the glands to work.

In their computer simulations, the MPC was able to guide the hormone levels to match a "target" perfectly. Whether the target was a steady line or a wavy line that mimics the natural morning-to-night rhythm, the co-pilot adjusted the doses to follow it closely.

For example, when they told the system to aim for a cortisol level of 10 µg/dL or 15 µg/dL, the controller figured out the exact mix of pills needed to get there without overshooting. Even when they tried to mimic a changing day with a wavy "sine wave" target, the controller adapted, though it was slightly delayed (a tiny "phase lag")—which is normal for how the body reacts.

The Bottom Line

The paper doesn't claim this is a cure or that it's been tested on real people yet. Instead, the authors show that in their simulations, this smart, rule-following virtual assistant can do a much better job than the old "fixed schedule" method. It proves that it's possible to use math to create a personalized, optimal plan for taking cortisol.

The researchers suggest that the next step would be to tweak the math so it fits specific patients and then test it on real data. But for now, this study shows that a smart, virtual co-pilot could one day help doctors prescribe the perfect dose of cortisol, keeping patients safe and healthy.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →