Society of Robots - Robot Forum

Software => Software => Topic started by: eureka on October 16, 2010, 11:48:38 AM

Title: Using PID for a line follower robot
Post by: eureka on October 16, 2010, 11:48:38 AM
I am making a line follower robot using the Arduino Uno Microprocessor board. I wish to use the PID algorithm in it. But i am unable to understand how to employ it. Also how to find Kp, Kd, Ki? Any kind of help will be appreciated
Title: Re: Using PID for a line follower robot
Post by: waltr on October 16, 2010, 01:23:02 PM
There are a number of threads discussing PID.
The coefficients are commonly determined by trial and error unless you are able to mathematically model the total system. Start by setting them to do nothing (1 or 0) then tweek.