Advanced Control Exercises
Thirty short exercises that show the methods of this course working on running plants. Each one pairs a browser app from APMonitor Apps with its chapter in the open book series Interactive Control Engineering, states three learning outcomes, gives the theory in a few equations, and sets one exercise that takes 15 minutes. Nothing needs to be installed.
Every exercise follows the same routine: predict what will happen and write it down, run the case in the app, explain what you saw, and check your AI: ask an assistant the page's question and test its answer against your own run. An assistant can write a correct-looking script for any textbook problem in seconds; what it cannot do is see the plant you just ran. The assistant is your tutor and reviewer, and you answer for every claim you turn in.

The course map: dynamic models (physics-based, data-driven or combined) feed estimators, which feed the controllers and optimizers that choose actions; machine learning enters wherever a model is fitted to data.
1. Dynamic Models
Physics-based, data-driven and combined models of the same kind of plant: a balance you derive, an energy balance you fit, a multivariable model you identify from records, and an unsupervised model of normal operation. Every later exercise uses a model built one of these ways.
2. Estimation
The model meets the measurements. Kalman filters, moving horizon estimation, late and wrong samples, an unknown measurement gain and an adaptive model: what each estimator assumes, and what it costs the controller downstream when the assumption is wrong.
3. Optimal Control
The unconstrained optimum and what limits do to it: LQR and its Riccati equation, LQR with a Kalman filter, an open-loop optimal command, dynamic programming, and a constrained landing trajectory.
4. Linear MPC
Model predictive control on a linear model: the quadratic program solved every control period, the model behind it, dead time, offset-free and tube designs, an explicit law computed in advance, and a known future disturbance inside the plan.
5. Nonlinear and Economic MPC
When the model is nonlinear and the objective is money: nonlinear MPC on an unstable branch, a batch trajectory with a safety limit, economic MPC with a forecast, real-time optimization with the wrong model, and integer decisions.
6. Uncertainty and Machine Learning
Forecasts that may be wrong and models learned from data: scenario trees and chance constraints, a Pareto trade, a predictive controller built from a matrix of records, a learned soft sensor kept honest by real measurements, and a capstone that assembles model, estimator and controller.
Licenses
The apps are released under the MIT License and the books under CC BY 4.0. Browse the book series.





























