10
Arduin o By Ifaz Ahmed Aflan Documentation Line Follower Robot

Line follower Robot using PID algorithm

Embed Size (px)

Citation preview

Page 1: Line follower Robot using PID algorithm

Arduino

By Ifaz Ahmed Aflan

Documentation

Line Follower Robot

Page 2: Line follower Robot using PID algorithm

Creators:

• IFAZ AHMED AFLAN(CSE,IUT)• MASHUR SALEHIN SAKIB(EEE,IUT)

Aflan Sakib

Page 3: Line follower Robot using PID algorithm

Used Materials For Line Follower: • IR Sensor x 5.• Motor Controller.• Breadboard.• Wheel x 2.

• Motor x 2.• Ball Caster .• A Walton Mobile Box.• Li-Po Battery 800 mA• Sonar Sensor.

Sonar SensorLi-Po Battery 800 mAMobile-Box

Page 4: Line follower Robot using PID algorithm

IMAGES OF THE REQUIRED ITEMS TO CREATE A LINE FOLLOWER ROBOT USING PID ALGORITHM :

Arduino Mega 2560 Ball Caster Breadboard

IR sensors Motor Controller Motor Attached to wheels

Page 5: Line follower Robot using PID algorithm

PICTURE OF THE ROBOT

Page 6: Line follower Robot using PID algorithm

Robot : Droid M.A.X

Qualifying Round:

Completed the following tracks in 31 seconds.

Final RoundTRACK IMAGE

Page 7: Line follower Robot using PID algorithm

Used Methods• PID ALOGORITHM • SENSORS IN THE

MIDDLE• BALL CUSTER IN

FRONT• TWO WHEELS

ATTACHED TO THE TWO MOTORS

Page 8: Line follower Robot using PID algorithm

Why PID over ‘if-else’ coding?The Idea was to create a robot which could figure out which path he should go himself regardless of the lighting conditions.Since the average “if-else” coded robots face critical situations when there is a change of ligh. The use of PID not only prevents that , but also makes the robot much more stable and reliable . The concept of PID is pretty straight forward , Instead of depending on the threshold value*,PID line follower robot creates the value himself on the go. So regardless of the situation the robot can run anywhere any time , without calibrating it again and again . That’s the beauty of PID.*A threshold value is a value , defined by users by calculating the value given by the IR sensors.

Page 9: Line follower Robot using PID algorithm

Performance

The performance of the robot was truly amazing as this was the first time doing such work. It was an amazing experience and truly it was fun to work. Link: Line follower Robot Using PID

Page 10: Line follower Robot using PID algorithm

Conclusion• PID helps bot to be stable.• PID helps bot to turn smoothly.• PID code is smaller and efficient.• Even if it looses track , it can revert back to track.• PID is far better than if else coding.• PID uses integration , proportion, differentiation.