Inverted Pendulum Control

Animation of inverted pendulum LQR control system

You are now following this Submission

This app was developed as part of web-based control system tutorials available at: http://ctms.engin.umich.edu

The purpose of this app is to allow the user to view an animation of the Inverted Pendulum system with the step response plot. This allows the user to see the correlation between the plot and the system's physical response.

The animation and the app are based on the Inverted Pendulum - State-Space Controller Design page of the tutorials:
http://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=ControlStateSpace

A state-feedback approach was used because we can easily return the cart position and pendulum angle as well as their respective velocities. For more information on the system model please refer to the Inverted Pendulum - System Modeling page of the tutorials:
http://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=SystemModeling

Cite As

Rick Hill (2026). Inverted Pendulum Control (https://in.mathworks.com/matlabcentral/fileexchange/40801-inverted-pendulum-control), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0