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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!