A Line Follower Robot-ICCAE 2010
A Line Follower Robot-ICCAE 2010
A Line Follower Robot-ICCAE 2010
discussions, stats, and author profiles for this publication at: http://www.researchgate.net/publication/224132741
CITATIONS
READS
4,369
3 AUTHORS, INCLUDING:
Mohammad Mehdi Sanaatiyan
Mahdi Rezaei
University of Auckland
12 PUBLICATIONS 19 CITATIONS
28 PUBLICATIONS 95 CITATIONS
SEE PROFILE
SEE PROFILE
M. Mehdi Sanaatiyan
Computer Department
Tabari Institute of Babol
Babol,Iran
[email protected]
Faculty of Computer
Mazandaran Institute of Technology
Babol,Iran
[email protected]
Therefore, this kind of Robot should sense the line with its
Infrared Ray (IR) sensors that installed under the robot. After
that, the data is transmitted to the processor by specific
transition buses. Hence, the processor is going to decide the
proper commands and then it sends them to the driver and
thus the path will be followed by the line follower robot.
TABAR is a line follower robot designed and tested in order to
attend at Tabrize line follower robots competition. But it
encounter with some technical and mechanical problems. In
this Paper, we have illustrated the process of design,
implementation and testing TABAR, a small line follower
robot designed for the line follower robots competition. The
technical and mechanical issues and problems also have
investigated.
KeywordsLine Follower; Problems and solutiosn; Circuit;
Actuator; Programing.
I.
INTRODUCTION
Generally, the line follower robot is one of the selfoperating mobile machines that follows a line drawn on the
floor. The path can be a visible black line on a white surface
(reverse). The basic operations of the line follower are as
follows:
Capturing the line position with optical sensors
mounted at the front end of the robot. Most are using
several numbers of photo-reflectors. Therefore, the
line sensing process requires high resolution and
high robustness.
Steering the robot to track the line with any steering
mechanism. This is just a servo operation; actually,
any phase compensation will be required to stabilize
tracking motion by applying digital PID filter or any
other servo algorithm.
Controlling the speed according to the lane condition.
The speed is limited during passing a curve due to
the friction of the tire and the floor.
978-1-4244-5586-7/10/$26.00
2010 IEEE
Volume 1
Driver
Actuators (Motors and wheels)
Chassis and body structure
A. The Sensors
This kind of robot uses Infrared Ray sensors to find the
path and direction; Infrared Ray sensors contain a match
infrared transmitter and infrared receiver pair. White surfaces
generally reflect well, but while black surfaces reflect poorly.
If the receiver receives the reflection ray, it means that the
robot is on white and if it cannot receive it, so the robot is on
black. These devices work by measuring the amount of light
that is reflected into the receiver. Because the receiver also
responds to ambient light, the device works best when well
shielded from ambient light, and when the distance between
the sensor and the reflective surface is small (less than
10mm). IR reflectance sensors are often used to detect white
and black surfaces. White surfaces generally reflect well, but
while black surfaces reflect poorly.
Hence, the distance between sensors and ground surface
is important and it is more important that how we put sensors
near each other. The distance between sensors and ground
surface must be 2 to 10 mm and the distance between each
sensor is dependent on the line width. [1]
In the designed robot, we have used eight sensors and
they have suitable distance by each other as can be seen in
Fig. 3 and our competition line width was 18 mm.
C. The Processor
For very small line follower that has 2 to 4 sensors, we
can use electrical gate such as AND/OR to decide and send
simple instruction to the driver but it hasnt any precision
and its speed for processing is very low. Moreover, it can not
follow bad curves or cycloid lines. It is momentous to use a
processor, undoubtedly.
We have used the Atmel's AVR microcontroller "At
Mega 16" in our project. The Atmel's AVR microcontrollers
have a Reduced Instruction Set Coding (RISC) core running
single cycle instructions and a well-defined I/O structure.
Internal oscillators, timers, UART, SPI, pull-up resistors,
pulse width modulation, ADC, analog comparator and
watch-dog timers are some of the features you will find in
AVR devices.
AVR instructions are turned to decrease the size of the
program whether the code is written in C or Assembly. With
on-chip in-system programmable Flash and EEPROM, the
AVR is a perfect choice in order to optimize cost. [5, 3]
One of the best AVR is "At Mega 16" which has four
ports for I/O and 16 MIPS speed in 16 MHz. The
microcontroller power is 5V and it is better to use the 7805
regulator.
Volume 1
D. The Driver
Robot needs a driver IC for controlling and giving power
to the motors. The microcontroller sends a signal to the
driver which acts as a switch. The microcontroller only sends
a signal to the switch and then the switch must give required
voltage to the motors. If the received signal by the driver is
high, it will rotate the motors.
A good motor driver is IC L298 which can be used to
control two motors. It is an integrated monolithic circuit in
15-lead Multiwatt and Power SO20 packages. It is a highvoltage, high-current dual full-bridge driver designed to
accept standard TTL logic levels and drive inductive loads
such as relays, solenoids, DC, and stepping motors. Two
enable inputs are provided to enable or disable the device
independently of the input signals. L298 has 2 amperes per
channel current capacity and it can support up to 45 volts for
outputting. Moreover, L298 works happily up to 16 volts
without any heat sink.
Volume 1
PROGRAMMING
Volume 1
IV.
The figures and rolls that you see in below are according
to the First National student's Robotic Competition of the
University of Tabriz, IRAN in 2009. [6]
The scales and angles of the path can be different in each
ground. Actually each ground or competition has its rules
and maybe it is different from the others.
We explain some path rules with their in below:
CONCLUSION
In its current form robot is enough capable. It can follow
any curve and cycle. We must build a robot that has light
weigh and high speed because points are awarded based
upon the distance covered and the speed of the overall robot.
Therefore, we used two high speed motors and high
sensitivity sensors circuit.
The body weight and wheels radius have effects on speed,
too. The weight of the designed robot is around 300 gram
and it can be lighter. To get better maneuver, we must build a
robot that uses two motors and two wheels on the rear and a
free wheel on the front. The power supply is 12 with
regulator.
The designed robot has eight infrared sensors on the
bottom for detect line. Microcontroller ATMega16 and
driver L298 were used to control direction and speed of
motors. The robot is controlled by the microcontroller.
In performs change the motor direction by giving signal
to driver IC according to receives signals from sensors.
ACKNOWLEDGEMENTS
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
Volume 1