How do I create a controller to stabilize an inverted pendulum in Simulink?

3 visualizzazioni (ultimi 30 giorni)
I currently have a inverted pendulum designed in Simscape multibody and it moves by shifting the base from side to side using a prismatic joint (and an input signal to determine the position of the pendulums base). I now want to keep the pendulum upright as the base shifts,using some sort of control system, and I'm not sure how to do this.

Risposta accettata

Nikhil
Nikhil il 13 Giu 2023
You can refer to this article Control of an Inverted Pendulum on a Cart which discusses how to design a PD controller for an inverted pendulum model in Simscape. The x (displacement) and theta (angle) data are imported into Simulink where the controller is designed.
Additionally, you can refer to this article for optimising the control loop parameters: Inverted Pendulum Controller Tuning

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by