P D Constants

Hello ,

How Can i tune p d parameters for line follower robot with qtr-A sensors manually

Thanks

Hello.

Tuning PID coefficients for a line follower can take a lot of trial-and-error, and they will likely be fairly unique to your robot, since the layout of the geometry as well as the various components used can make a huge difference. It sounds like you are already omitting the Integral term, which is what I would have suggested as it is typically not very important for line-following, so you’re on the right track.

There are various threads here on our forum that discuss PID tuning; for example, you can find some general advice for tuning PID coefficients in Ben’s posts in this thread. Additional information can be found on the PID controller Wikipedia page. In particular, I have had success tuning the P and D coefficients for line following using the Ziegler–Nichols method described there.

Brandon