Double inverted pendulum control using LQR and MPC
Version 1.0.1 (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 (2024). Double inverted pendulum control using LQR and MPC (https://www.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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.