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

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.

回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2015 年 2 月 25 日

0 投票

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.

質問済み:

2015 年 2 月 25 日

回答済み:

2015 年 2 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by