LQR Control Design for an Inverted Pendulum on a Cart System MapleSim Model - LQR Control Design for an Inverted Pendulum on a Cart System S-Function - MapleSim Model Gallery

LQR Control Design for an Inverted Pendulum on a Cart System

In this example we show how an inverted pendulum sitting on top of a cart can be controlled using an LQR controller. The pendulum is perturbed by a pulsed torque after five seconds in two second intervals.

Attachments: The plant.msys file is the linearized version of the plant model. This file was generated using the Linearization template attached to the model. Once the system has been linearized, the plant.msys file is used by the Linear System Worksheet template to create an LQR controller for the plant model.

The control strategies used in this model, together with others, are explored in more detail in the application State-Feedback and Observer-Based Control Design.

This model is ideal for use in the engineering classroom to teach fundamental concepts.
Close

This Model Requires MapleSim

If you do not have MapleSim, contact us to arrange a short, live demonstration with a MapleSim product expert, where you will:


  • See how this model operates
  • Learn how it was developed
  • Discover how it can be modified to fit your requirements
Request a Live Demo

If you have a copy of MapleSim available, you can download the model here:

Download the Model
Close

Request an S-Function

MapleSim Models can be readily exported as royalty-free S-functions. To request the S-function corresponding to this model, please fill in the form below.


Model: LQR Control Design for an Inverted Pendulum on a Cart System
Industry:

Submitting form...

Thank you for requesting the S-Function. Your request has been received and you can expect to hear from us shortly. Close Window
Oops! There was a problem. Try again later Close Window
Model Images
  • LQRControlDesignInvertedPend MapleSim allows for high fidelity plant modeling in addition to controller design capabilities.
  • Model Model diagram of the inverted pendulum and controller
  • Subsystem Subsystem showing the inverted pendulum model and perturbing torque
  • 3dimage 3D rendering of the inverted pendulum
MapleSim Video
Video not available in this browser.
Simulink is a registered trademark of The MathWorks, Inc.