Hot-Air Balloon — A controller that plans with the model
![]() | ![]() | ![]() | ![]() | App Exercises |
|---|
Model and Control Exercise 39 of 40. BYU class 41 · PDC class 40. 15 minutes.

Open the Hot-Air Balloon App
Learning Outcomes
- State the model predictive control problem as an objective, a model and limits.
- Explain the receding horizon.
- Show what a plan does behind a dead time that a PID cannot.
Book Chapter
Model Predictive Control and Economic Optimization (Volume 9), Chapter 2, Hot-Air Balloon Simulator for Landing an Integrating Plant Behind a Dead Time. Read online · Chapter PDF · Lecture slides
Theory in Brief
In the balloon simulator, the altitude controller predicts the consequences of burner commands over a finite horizon. At each update it applies the first move and recomputes the plan.
$$\tau_p\dot y=-y+K_pu(t-\theta_p)$$
$$\min\sum_k[(y_k-SP_k)^2+\lambda(\Delta u_k)^2]$$
$$u_{lo}\le u_k\le u_{hi}$$
Model to Controller
The step test supplies a model for prediction. A horizon long enough to see the delayed response helps the controller anticipate overshoot.
Exercise
Read (2 min). Review the model and identify which signals you will compare.
Predict (1 min). Predict what a PID does when it acts before the dead time has passed.
Run (8 min).
- Open the app and select the following cases in order.
- 2 · The step test the MPC is built from.
- 3 · One PID loop on altitude, hunting.
- 10 · Model predictive control, plan drawn.
- Follow the case instructions, using the same measurement window for comparable trials.
- Record altitude error and the burner travel under 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.
A delayed effect can make a feedback-only controller continue heating before the first move becomes visible. Compare integral altitude error and burner travel over matching windows.
Which part of the model connects the measured signal to the exercise?
The step test supplies a model for prediction. A horizon long enough to see the delayed response helps the controller anticipate overshoot.
How should the observations be interpreted?
A delayed effect can make a feedback-only controller continue heating before the first move becomes visible. Compare integral altitude error and burner travel over matching windows.
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
EE 8: Electrical Safety · Model Predictive Control · Quiz `\gamma` · Control Project



