
5 CONCLUSION
We have shown application of an approximate MPC
technique on several challenging mechatronics cases.
It relies on supervised learning, to train DNNs to match
MPC examples. This allows to pre-calculate the MPCs,
and thereby reduces the computational load at runtime.
This makes this approach very usable for cases with
complex or non-linear dynamics and/or small time
constants, for which classical MPC would otherwise
typically not be realistic. We have illustrated the versa-
tility of the approach by applying it to several different
examples. We have also shown the workflow for how
to tailor the approach for each of those examples, in-
cluding extensions for handling finite tasks and mixed
integer control problems.
We have worked in a pragmatic manner, but in the
future will work on (i) a thorough stochastic analysis
of training set and optimality or feasibility, allowing
to give stronger validations or even verifications of
the A-MPC, (ii) more targeted procedures to generate
training data, and (iii) different architectures, wherein
approximations are used alongside classical methods,
for example like in (Chen et al., 2022) where an MPC
is given a feasible initialization using an efficient ap-
proximation.
While we have only reported needed training time
and inference time, it is interesting for future work
to study the ecological impact, tradeing off increased
pre-processing cost with the reduced run-time cost like
done in (Lacoste et al., 2019).
ACKNOWLEDGMENT
This research was supported by: Flanders Make, the
strategic research centre for the manufacturing indus-
try in Belgium, specifically by its DIRAC SBO and
LearnOPTRA SBO research projects, and the Flemish
Government in the framework of the Flanders AI Re-
search Program (https://www.flandersairesearch.be/en)
that is financed by EWI (Economie Wetenschap & In-
novatie).
REFERENCES
Adamek, J. and Lucia, S. (2023). Approximate model predic-
tive control based on neural networks in a cloud-based
environment. In 2023 9th International Conference
on Control, Decision and Information Technologies
(CoDIT), pages 567–572. IEEE.
Andersson, J. A., Gillis, J., Horn, G., Rawlings, J. B., and
Diehl, M. (2019). Casadi: a software framework for
nonlinear optimization and optimal control. Mathemat-
ical Programming Computation, 11(1):1–36.
Bemporad, A., Morari, M., Dua, V., and Pistikopoulos, E.
(2000). The explicit solution of model predictive con-
trol via multiparametric quadratic programming. In
Proceedings of the 2000 American Control Conference.
ACC (IEEE Cat. No.00CH36334), volume 2, pages
872–876 vol.2.
Biegler, L. T. and Zavala, V. M. (2009). Large-scale nonlin-
ear programming using ipopt: An integrating frame-
work for enterprise-wide dynamic optimization. Com-
puters & Chemical Engineering, 33(3):575–582.
Chen, S., Saulnier, K., Atanasov, N., Lee, D. D., Kumar, V.,
Pappas, G. J., and Morari, M. (2018). Approximat-
ing explicit model predictive control using constrained
neural networks. In 2018 Annual American Control
Conference (ACC), pages 1520–1527.
Chen, S. W., Wang, T., Atanasov, N., Kumar, V., and Morari,
M. (2022). Large scale model predictive control with
neural networks and primal active sets. Automatica,
135:109947.
Chen, Y. and Peng, C. (2017). Intelligent adaptive sampling
guided by gaussian process inference. Measurement
Science and Technology, 28(10):105005.
Docquier, N., Poncelet, A., and Fisette, P. (2013). Robotran:
a powerful symbolic gnerator of multibody models.
Mechanical Sciences, 4(1):199–219.
Gupta, S., Paudel, A., Thapa, M., Mulani, S. B., and Wal-
ters, R. W. (2023). Optimal sampling-based neural
networks for uncertainty quantification and stochas-
tic optimization. Aerospace Science and Technology,
133:108109.
Hertneck, M., Köhler, J., Trimpe, S., and Allgöwer, F.
(2018). Learning an approximate model predictive
controller with guarantees. IEEE Control Systems Let-
ters, 2(3):543–548.
Hose, H., Brunzema, P., von Rohr, A., Gräfe, A., Schoellig,
A. P., and Trimpe, S. (2024). Fine-tuning of neural net-
work approximate mpc without retraining via bayesian
optimization. In CoRL Workshop on Safe and Robust
Robot Learning for Operation in the Real World.
Karg, B. and Lucia, S. (2018). Deep learning-based embed-
ded mixed-integer model predictive control. In 2018
European Control Conference (ECC), pages 2075–
2080.
Kingma, D. P. and Ba, J. (2014). Adam: A
method for stochastic optimization. arXiv preprint
arXiv:1412.6980.
Kvasnica, M., Löfberg, J., and Fikar, M. (2011). Stabilizing
polynomial approximation of explicit mpc. Automatica,
47(10):2292–2297.
Lacoste, A., Luccioni, A., Schmidt, V., and Dandres, T.
(2019). Quantifying the carbon emissions of machine
learning. arXiv preprint arXiv:1910.09700.
Lucia, S. and Karg, B. (2018). A deep learning-based ap-
proach to robust nonlinear model predictive control.
IFAC-PapersOnLine, 51(20):511–516. 6th IFAC Con-
ference on Nonlinear Model Predictive Control NMPC
2018.
ICINCO 2025 - 22nd International Conference on Informatics in Control, Automation and Robotics
80