Double inverted pendulum control using LQR and MPC
Version 1.0.2 (2.79 KB) by
Lazaros Moysis
Control of a linearized double inverted pendulum using two different control techniques
The following code performs two different techniques, optimal control and predictive control of a linearized double inverted pendulum on the upright equilibrium point.
Reference work:
Moysis, L. (2016). Balancing a double inverted pendulum using optimal control and Laguerre functions. Aristotle University of Thessaloniki, Greece, 54124.https://www.researchgate.net/publication/301635580_Balancing_a_double_inverted_pendulum_using_optimal_control_and_Laguerre_functions
See also the references cited in the paper.
Educational video on State Space Systems:
Youtube channel
Cite As
Lazaros Moysis (2026). Double inverted pendulum control using LQR and MPC (https://uk.mathworks.com/matlabcentral/fileexchange/159141-double-inverted-pendulum-control-using-lqr-and-mpc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
