Line following robot
-
Upload
abhishek-patil -
Category
Technology
-
view
3.712 -
download
1
description
Transcript of Line following robot
![Page 1: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/1.jpg)
Abhishek Patil [email protected]
![Page 2: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/2.jpg)
A robot is a machine
designed to execute one or more tasks repeatedly, with speed and precision.
Robots may or may not possesses intelligence.
![Page 3: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/3.jpg)
Expert systems [Intelligence
Given by Programmer]
Neural Systems [Robot can learn
Itself ]
![Page 4: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/4.jpg)
![Page 5: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/5.jpg)
The robot must be capable of following a line.
It should be capable of taking various degrees of turns
It must be prepared of a situation that it runs into a territory which has no line to follow
The robot must also be capable of following a line even if it has breaks.
The robot must be insensitive to environmental factors such as lighting and noise.
It must allow calibration of the line’s darkness threshold.
Scalability must be a primary concern in the design.
The color of the line must not be a factor as long as it is darker or brighter than the surroundings.
![Page 6: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/6.jpg)
Microcontroller
H - Bridge
DC Motor Control
Left Motor
Right Motor
Clock 4 MHz
Main Power
Supply
Motor Power
Supply
Sensor Array
Analog
Comparators
Threshold Voltage
Priority Encoder
NOR Gate
ADC Module
[If microcontroller is
used for A to D conversion]
![Page 7: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/7.jpg)
![Page 8: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/8.jpg)
![Page 9: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/9.jpg)
![Page 10: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/10.jpg)
Duty cycle=T_on / T_total
Virtual speed=Full speed x Duty cycle
![Page 11: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/11.jpg)
![Page 12: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/12.jpg)
![Page 13: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/13.jpg)
![Page 14: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/14.jpg)
![Page 15: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/15.jpg)
Motor speed = 2400 rpm @ 6v
Using Gear box the speed is reduced to 30 rpm @ 6v. The
motors are run at 12v, so an effective speed of 150 rpm is achieved, with a considerable increase in torque. After load is
applied this speed will decrease ,depending upon load.
![Page 16: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/16.jpg)
IN1 IN2 IN3 IN4 OPERATION
1 0 1 0 BOTH MOTORS FORWARD
(MOVE FORWARD)
0 1 0 1 BOTH MOTORS BACKWARD
(MOVE BACKWARD)
1 0 0 1 RIGHT MOTOR BACKWARD
LEFT MOTOR FORWARD
(TURN RIGHT)
0 1 1 0 RIGHT MOTOR FORWARD
LEFT MOTOR BACKWARD
(TURN LEFT)
![Page 17: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/17.jpg)
![Page 18: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/18.jpg)
Interrupter sensor modified to be a reflective sensor ~950nm wavelength Lens fitted to emitter and detector of focal length of
4mm
![Page 19: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/19.jpg)
Working of the sensor
![Page 20: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/20.jpg)
![Page 21: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/21.jpg)
Sensor circuit if external A/D conversion IC is used
![Page 22: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/22.jpg)
MINIMUM DISTANCE BETWEEN SENSORS IS 1cm
![Page 23: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/23.jpg)
NS GS A2 A1 A0 STATE IN ACTION
1 X X X X No surface is detected Stop the motors
0 1 X X X No line is detected Execute the no line code
(specially designed
algorithm)
0 0 0 0 0 A detects the line Sharp turn left
0 0 0 0 1 B detects the line Sharp turn right
0 0 0 1 0 C detects the line Turn left
0 0 0 1 1 D detects the line Turn right
0 0 1 0 0 E detects the line Move left
0 0 1 0 1 F detects the line Move right
0 0 1 1 0 G detects the line Go straight
0 0 1 1 1 Forbidden state Software reset the processor
![Page 24: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/24.jpg)
PROCESSES INVOLVED
![Page 25: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/25.jpg)
![Page 26: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/26.jpg)
Algorithm to be followed
![Page 27: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/27.jpg)
Industrial automated equipment carriers
Automated cars.
Tour guides in museums and other similar applications.
Second wave robotic reconnaissance operations.
![Page 28: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/28.jpg)
Choice of line is made in the hardware abstraction and cannot be changed by software.
Calibration is difficult, and it is not easy to set a perfect value.
The steering mechanism is not easily implemented in huge vehicles and impossible for non-electric vehicles (petrol powered).
Few curves are not made efficiently, and must be avoided.
![Page 29: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/29.jpg)
Lack of a four wheel drive, makes it not suitable for a rough terrain.
Use of IR even though solves a lot of problems pertaining to interference, makes it hard to debug a faulty sensor.
Lack of speed control makes the robot unstable at times.
![Page 30: Line following robot](https://reader034.fdocuments.net/reader034/viewer/2022052618/549211cfb4795911768b45e2/html5/thumbnails/30.jpg)
Software control of the line type (dark or light) to make automatic detection possible.
“Obstacle detecting sensors” to avoid physical obstacles and continue on the line.
Distance sensing and position logging & transmission.