Clear Filters
Clear Filters

How to control the cart position in inverted pendulum using PID controller?

1 view (last 30 days)
I am following the above instructions as you can see at the bottom it is mentioned the cart moves negative direction with approximately constant velocity. I would like to move the cart in both directions to balance the pendulum. Please advise.

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 25 Feb 2015
To control both the position and the angle, you would need to set up a little bit more involved controller architecture. Take a look at this example that shows one way of doing that and tuning the controller.

Community Treasure Hunt

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

Start Hunting!