PID control of steering left and right

2 次查看(过去 30 天)
I am a big fat newbie with Simulink control.
Using a PID controller, I want to steer left and right. At the moment, I am able to proportionally steer to the right (i.e reduced right steering corresponds to left steering). But I like to know how to explicitly steer to the left as well as right.
What is the standard method to determining steering direction? My guess #1 is that I need to use the sign of the error signal to know which direction to steer. My guess #2 is to compute the directive of the PID output and use that to determine the direction to steer? I observed that the #2 allows change in direction to be predicted earlier although it has high frequency components which could lead to several direction changes.

回答(0 个)

类别

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