Quiz: A First MPC, and a Model That Goes Stale
Advanced Control Exercise 16: A First MPC, and a Model That Goes Stale · Two-Tank Level Control Studio app · Book chapter
1. An MPC with a disturbance estimate applies only the first move of each plan. What removes steady offset for a constant model gain error?
- Incorrect. Re-planning from a model state that ignores the mismatch can leave offset; the estimate is what sees it.
- Correct. The estimated `\hat d` absorbs a constant mismatch, and the receding horizon brings it into every plan from the latest measurement.
- Incorrect. A longer horizon predicts further with the same model; it does not remove offset by itself.
2. After the plant becomes faster than the MPC's model, the pump rings between its limits and the level cycles around the setpoint. Which change addresses the cause?
- Correct. The error is in the step-response coefficients `\Phi`; a model of the current plant removes it.
- Incorrect. A longer horizon predicts further with the same wrong model.
- Incorrect. It slows the moves and trims the swings, but the plan is still computed from the wrong dynamics.
3. In the condensed QP `\min \tfrac{1}{2} z^T H z + g^T z`, which term changes every sample?
- Correct. `g` carries the estimated state, the last move, the disturbance and the setpoint, so it brings the measurement into the problem through `\hat x_0` and `\hat d`; `H` stays the same.
- Incorrect. It is solved every sample from the new estimate; only the first move is applied.
- Incorrect. `H` depends on the model and weights, which are fixed for a fixed-model MPC.
Back to the exercise or all thirty exercises.