How do I create a controller to stabilize an inverted pendulum in Simulink?
3 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Nikhil
on 13 Jun 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
1 Comment
More Answers (0)
See Also
Categories
Find more on Programmatic Tuning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!