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

2 次查看(过去 30 天)
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
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.

类别

Help CenterFile Exchange 中查找有关 PID Controller Tuning 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by