Friday, 15 April 2011

Line Follower Algorithm - Which is the best?


Single Light Sensor - Bit logic method (1 Min 59 Sec)
Read full post here.


Single Light Sensor - PID method - Smooth (1 Min 29 Sec)
Read full post here.



Single Light Sensor - PID method - Over Correction (53 Sec)
Read full post here.



Dual Light Sensor - PID method - Smooth and Fast (33 Sec)
I have not posted about this Line follower that I had built. It moves really fast and because there is 2 light sensors, it is able to adjust and move along quickly. I am trying to optimize the dual sensor to go even faster. Will post the outcome when I am done.

3 comments:

Keano said...

There is another method of line following which uses the "Fuzzy Logic" method, which can follow the line smoothly too but is much simpler compared to the PID method.
Check it out here:
http://thenxtstep.blogspot.com/2011/03/line-following-tutorial.html

Eric Tan said...

I had a look at that method, but it was NOT able to make the "sharp" turns at the end of the mat, thus I had to modify it a little. His Fuzzy Logic method is actually a simplified PID method. Theory is the same, implementation is just simplified :)

Anonymous said...

How does the last one work?