Autonomous Robot For Transport System: Kalpesh Kushe Milind Gangurde Nilesh Gawade
Autonomous Robot For Transport System: Kalpesh Kushe Milind Gangurde Nilesh Gawade
Autonomous Robot For Transport System: Kalpesh Kushe Milind Gangurde Nilesh Gawade
1 A PROJECT
ON
KALPESH KUSHE
MILIND GANGURDE
NILESH GAWADE
(Malay Kenia) ( )
University of Mumbai
November - 2010
Department of Instrumentation Engineering
Rajiv Gandhi Institute of Technology
Juhu – Versova Link Road, Versova, Andheri (w) Mumbai-53
CERTIFICATE
BACHELOR OF ENGINEERING
IN
(INSTRUMENTATION ENGINEERING)
Principal
(Dr.Udhav Bhosle)
Internal Examiner External Examiner
Autonomous Robot For Transport System
PREFACE
This project report is detailed with all the information about the Autonomous Robot
which is used for pick and place operation. It will give all required knowledge about the
Transport system. The project report comprises of all study done during accomplishing the
project.
We choose this as our project because it has automation system which is operated as
automatic and provides an economical way of industrial transport. We tried to use our technical
knowledge in practice.
We are manufacturing a machine for ALL INDUSTRIES which requires large scale of
transportation within industry. The machine is simple to maintain & easy to operate. Hence we
tried our hands on “AUTONOMOUS ROBOT FOR TRANSPORT SYSTEM”
Although mobile robots have a broad set of applications and markets as summarized
above, there is one fact that is true of virtually every successful mobile robot: its design
involves the integration of many different bodies of knowledge. No mean feat, this makes
mobile robotics as interdisciplinary a field as there can be. To solve locomotion problems,
We got the opportunity to use our knowledge in practical with this curriculum and under
the guidance of our renowned faculty we multiplied our knowledge by a number of times.
Autonomous Robot For Transport System
ABSTRACT
We are extremely grateful and remain indebted to our guide Prof. Mr.MALAY KENIA
Instrumentation Engineering Department for being an ultimate source of inspiration and for his
constant support in the Implementation and Evaluation of the project.
We are thankful to them for their spontaneous construction criticism and in valuable
suggestions which benefited us a lot while developing the project “”. He has been a constant
source of motivation and inspiration for hard work through his Enthusiasm, personal attention,
constants motivation, regular guidance and encouragement our project guides has made this
project successful.
He has been very co-operative throughout the project work. Through this column, it
would be our utmost pleasure to express our warm regards and thank him for the encouragement.
Without accomplishment of Co-operation and consent, project would not have been possible.
We also acknowledge the valuable guidance and support provided by the Head of
Instrumentation Department Prof. Mr. S. K. Sadala who made us the facilities available. We
would like to thank Professor for sharing his valuable knowledge as far Design was concerned
and also sharing his experiences.
We were also delighted to receive great support and help from the workshop supervisors.
We are also thankful to our Honorable principle Dr.Udhav Bhosle for providing us constant
support and infrastructure.
Autonomous Robot For Transport System
Lastly we would like to my sincere gratefulness to my parents and all those people who
7
have helped us directly or indirectly for the completion of this work.
Chapter 1
Introduction
The main idea of my work was to design and put together an AUTONOMOUS ROBOT FOR
TRANSPORT SYSTEM which would be capable of following a black guideline in an
unpredictable and unknown environment. The robot could avoid obstacles of certain dimensions
on its way. It would be controlled by a differential steering system resembling a tank movement.
The guideline and obstacles on the way would be detected and located thanks to a set of infrared
sensors whose signals are thoroughly analysed and processed in the Atmega8 microcontroller
evaluation. The robot would be equipped by an ISP interface for an easy and prompt computer
programme recording. It would be possible to stear the robot by an ordinary IR Remote Control.
Robotics has achieved its greatest success to date in the world of industrial manufacturing.
Robot arms, or manipulators, comprise a 2 billion dollar industry. Bolted at its shoulder to
A specific position in the assembly line, the robot arm can move with great speed and accuracy
To perform repetitive tasks such as spot welding and painting.
Robotics is not only for scientists. It’s a very interesting and enjoyable way to introduce you to
the world of electronics. This paper will show how to build a self-made autonomous robot
capable of following a guiding line. An easy principle on how the robot follows the line will be
explained. This paper will describe how infrared sensors work and how to process their signal by
a microcontroller, which is the brain of each robot. Also the practical side of designing and
making a robot’s printed circuit board will be mentioned.
Other commercial robots operate not where humans cannot go but rather share space
with humans in human environments. These robots are compelling not for reasons
of mobility but because of their autonomy, and so their ability to maintain a sense of
position and to navigate without human intervention is paramount.
Although mobile robots have a broad set of applications and markets as summarized
above, there is one fact that is true of virtually every successful mobile robot: its design
involves the integration of many different bodies of knowledge. No mean feat, this makes
mobile robotics as interdisciplinary a field as there can be. To solve locomotion problems,
the mobile robotics must understand mechanism and kinematics; dynamics and control
theory. To create robust perceptual systems, the mobile robotics must leverage the fields
of signal analysis and specialized bodies of knowledge such as computer vision to properly
employ a multitude of sensor technologies. Localization and navigation demand knowledge
of computer algorithms, information theory, artificial intelligence, and probability
Autonomous Robot For Transport System
theory.
9
Now a days robots are used to ease many tedious , repetitive and hazardous tasks and human
activities. From simple electronics robot to complex humanoid robots all include control systems.
An autonomous robot use the black /white line path or it can use invisible path like magnetic
field.
This robot is mostly applicable in Industrial applications like automated equipment carriers,
entertainment and factory applications, tour guides in museum, in small scale industries to
transport products from manufacturing point to store room. Ship yards etc.
The robot is programmed to follow a black line. It detects the turns or deviations and modifies its
position accordingly. The optical sensor is an array of commercially available IR reflective type
sensors. The master controller of the robot is AT89S52 microcontroller manufactured by
ATMEL corporations.
The ADC 0808 is used to convert IR sensor output to digital data.ADC is also used for auto
calibration with max. Noise margin. The motor driver ULN 2003A provides motor driving
accuracy.
The sensor strip is an array of 5 IR LED-Phototransistor pairs arranged in the form of inverted V.
These sensors provides the greater accuracy of position of the robot. The robot has two modes of
operations in different scenarios; thus, giving it the ability to work in different situations like
hazardous areas like Oil and Gas fields, chemical industries , Hospitals,etc. The simple circuit
design and components makes it cost efficient, powerful and robust.
Chapter 2
Review
Block Diagram
Circuit Diagram
Components
Autonomous Robot For Transport System
11
Block Diagram
Circuit Diagram
Autonomous Robot For Transport System
13
Components
i. 5 pairs of IR sensors.
ii. Microcontroller AT89S52.
iii. 7805 voltage regulator.
iv. Capacitors 10, 100, 1000uf.
v. Crystal 11.0592Mhz.
vi. LCD.
vii. Keyboard.
viii. ADC 0808.
ix. Lead Acid Battery. 12V, 1.2 Amps.
x. 9V general purpose battery.
xi. Connectors.
xii. Wheel with diameter 7cm and 2cm thick.
xiii. ULN2003A Darlington pair motor driver.
xiv. LM324
xv. Chassis 17.5x24cm.
i. 5 PAIRS OF IR SENSORS
Receiver = Photodiode
Autonomous Robot For Transport System
15
WHITE surface
Maximum reflection
Thus, Vout is LOW .
BLACK surface
Minimum or No Reflection
Hence,Vout is HIGH.
SENSORS
A black guideline and obstacles are detected by a set of reflective optical sensors Error:
Reference source not found. IR sensors consist of an emitting light source and detector. Sensor
locates existing barriers (object or surface) by using a reflective IR beam reflected by the barrier
(see a figure):
17
Features
• Compatible with MCS-51® Products
• 8K Bytes of In-System Programmable (ISP) Flash Memory
– Endurance: 1000 Write/Erase Cycles
• 4.0V to 5.5V Operating Range
• Fully Static Operation: 0 Hz to 33 MHz
• Three-level Program Memory Lock
• 256 x 8-bit Internal RAM
• 32 Programmable I/O Lines
• Three 16-bit Timer/Counters
• Eight Interrupt Sources
• Full Duplex UART Serial Channel
• Low-power Idle and Power-down Modes
• Interrupt Recovery from Power-down Mode
• Watchdog Timer
• Dual Data Pointer
• Power-off Flag
Autonomous Robot For Transport System
19
Description
21
iii. 7805 voltage regulator
The LM78o5 fixed voltage regulator of three terminal positive regulators are available in the TO-
220 package and with several fixed output voltages, making them useful in a wide range of
applications. Each type employs internal current limiting, thermal shut down and safe operating
area protection, making it essentially indestructible. If adequate heat sinking is provided, they can
deliver over 1A output current. Although designed primarily as fixed voltage regulators, these
devices can be used with external components to obtain adjustable voltages and currents.
• The capacitor added to the input of the voltage regulator is to isolate the spikes
generated by the motor from the input and to reduce the noise.
iv. LCD
FEATURES
• 5 x 8 dots with cursor
Autonomous Robot For Transport System
• Built-in controller (KS 0066 or Equivalent)
23
• + 5V power supply (Also available for + 3V)
• 1/16 duty cycle
• B/L to be driven by pin 1, pin 2 or pin 15, pin 16 or A.K (LED)
• N.V. optional for + 3V power supply
Pin description
MECHANICAL DATA
v. Keyboard
The key board here we are interfacing is a matrix keyboard. This key board is designed with a
particular rows and columns. These rows and columns are connected to the microcontroller
through its ports of the micro controller 8051. We normally use 8*8 matrix key board. So only
two ports of 8051 can be easily connected to the rows and columns of the key board.
Autonomous Robot For Transport System
When ever a key is pressed, a row and a column gets shorted through that pressed key and all the
25
other keys are left open. When a key is pressed only a bit in the port goes high. Which indicates
microcontroller that the key is pressed. By this high on the bit key in the corresponding column
is identified.
Once we are sure that one of key in the key board is pressed next our aim is to identify that key.
To do this we firstly check for particular row and then we check the corresponding column the
key board.
To check the row of the pressed key in the keyboard, one of the row is made high by making one
of bit in the output port of 8051 high . This is done until the row is found out. Once we get the
row next out job is to find out the column of the pressed key. The column is detected by contents
in the input ports with the help of a counter. The content of the input port is rotated with carry
until the carry bit is set.
The contents of the counter is then compared and displayed in the display. This display is
designed using a seven segment display and a BCD to seven segment decoder IC 7447.
27
In lot of embedded systems microcontrollers needs to take analog input. Most of the sensors &
transducers such as temperature, humidity, pressure, are analog. For interfacing these sensors to
microcontrollers we require to convert the analog output of these sensors to digital so that the
controller can read it. Some microcontrollers have built in Analog to Digital Convertor (ADC) so
there is no need of external ADC. For microcontrollers that don’t have internal ADC external
ADC is used.
One of the most commonly used ADC is ADC0808. ADC 0808 is a Successive approximation
type with 8 channels i.e. it can directly access 8 single ended analog signals.
Features
Easy interface to all microprocessors
Operates ratio metrically or with 5 VDC or analog span
adjusted voltage reference
No zero or full-scale adjust required
8-channel multiplexer with address logic
0V to 5V input range with single 5V power supply
Outputs meet TTL voltage level specifications
Standard hermetic or molded 28-pin DIP package
28-pin molded chip carrier package
ADC0808 equivalent to MM74C949
ADC0809 equivalent to MM74C949-1
Autonomous Robot For Transport System
General Description
29
The ADC0808, ADC0809 data acquisition component is a monolithic CMOS device with an 8-
bit analog-to-digital converter, 8-channel multiplexer and microprocessor compatible control
logic. The 8-bit A/D converter uses successive approximation as the conversion technique. The
converter features a high impedance chopper stabilized comparator, a 256R voltage divider with
analog switch tree and a successive approximation register. The 8-channel multiplexer can
directly access any of 8-single-ended analog signals.
The device eliminates the need for external zero and full-scale adjustments. Easy interfacing to
microprocessors is provided by the latched and decoded multiplexer address
inputs and latched TTL TRI-STATE outputs.
The design of the ADC0808, ADC0809 has been optimized by incorporating the most desirable
aspects of several A/D conversion techniques. The ADC0808, ADC0809 offers high
speed, high accuracy, minimal temperature dependence, excellent long-term accuracy and
repeatability, and consumes minimal power. These features make this device ideally suited to
applications from process and machine
control to consumer and automotive applications. For16-channel multiplexer with common
output (sample/hold port)
Key Specifications
n Resolution 8 Bits
n Total Unadjusted Error ±1⁄2 LSB and ±1 LSB
n Single Supply 5 VDC
n Low Power 15 mW
n Conversion Time 100 μs
I/O Pins
ADDRESS LINE A, B, C
The device contains 8-channels. A particular channel is selected by using the address decoder
line. The TABLE 1 shows the input states for address lines to select any channel.
Address Latch Enable ALE
The address is latched on the Low – High transition of ALE.
START
The ADC’s Successive Approximation Register (SAR) is reset on the positive edge i.e. Low-
High of the Start Conversion pulse. Whereas the conversion is begun on the falling edge i.e. High
– Low of the pulse.
Output Enable
Whenever data has to be read from the ADC, Output Enable pin has to be pulled high thus
enabling the TRI-STATE outputs, allowing data to be read from the data pins D0-D7.
Clock
External clock pulses are to be given to the ADC; this can be given either from LM 555 in
Astable mode or the controller can also be used to give the pulses.
ULN2003A Parameters
Drivers Per Package 7
Output Voltage (Max) (V) 50
Switching Voltage (Max) (V) 50
Peak Output Current (mA) 500
Input Compatibility CMOS, TTL
Delay Time (Typ) (ns) 250
ULN2003A Features
viii. LM324
LM324 is a 14pin IC consisting of four independent operational amplifiers (op-amps)
compensated in a single package. Op-amps are high gain electronic voltage amplifier with
differential input and, usually, a single-ended output. The output voltage is many times higher
than the voltage difference between input terminals of an op-amp.
These op-amps are operated by a single power supply LM324 and need for a dual supply is
eliminated. They can be used as amplifiers, comparators, oscillators, rectifiers etc. The
conventional op-amp applications can be more easily implemented with LM324.
Autonomous Robot For Transport System
Pin Diagram:
33
Pin Description
Pin No Function Name
Description
The LM324 series consists of four independent, high gain, internally frequency compensated
operational amplifiers which were designed specifically to operate from a single power supply
over a wide range of voltages. Operation from split power supplies is also possible and the low
power supply current drain is independent of the magnitude of the power supply voltage.
Application areas include transducer amplifiers, DC gain blocks and all the conventional op amp
circuits which now can be more easily implemented in single power supply systems. For
example, the LM324 series can be directly operated off of the standard +5V power supply
voltage which is used in digital systems and will easily provide the required interface electronics
without requiring the additional ±15V power supplies.
ix. Lead Acid Battery. 12V, 1.2 Amps.
Lithium Ion:
Lithium ion batteries are common rechargeable batteries used in computing applications.
They have high-energy density when current is pulled out at a moderate
rate. However, the voltage drops when pulling current out at a high rate. In addition,
the battery can fail when pulling out current at a higher than moderate rate.
Therefore, lithium ion batteries do not work well for combat robots. Another negative
Factor is that the typical shelf life of the lithium ion rechargeable battery is
only two years if stored at 25° C.
• Motors on a robot consume most of the power. For most of them, each DC motor
typically consumes 1.5W on the average.
• For differentiating steering, two DC motors consume up to 3W.
• By comparison, the logic components typically draw a total of about 80mA.
Autonomous Robot For Transport System
37
x. 12V, 150 RPM DC Motors.
DC motors are widely used, inexpensive, small and powerful for their size reduction
gearboxes are often required to reduce the speed and increase speed of torque of the
motor.
2.4 PRINCIPLES HOW A ROBOT CAN FOLLOW A GUIDELINE
A robot seeks a guideline by riding on a spiral trajectory until it crosses. Even then the robot
starts to follow a given guideline.
1) Being on a line…
left right
sensor sensor
straight on.
2) Loosing a line…
left right
sensor sensor
S
contact with a line. The robot unclutches its T left right
O engine engine
39
3) Outside of a line…
L R left right
sensor sensor
41
LCD Initialization:
This is the pit fall for beginners.Proper working of LCD depend on the how the LCD is
initialized. We have to send few command bytes to initialize the lcd. Simple steps to initialize the
LCD
Send 38H for 8-bit,double line and 5x7 dot character format.
Autonomous Robot For Transport System
43
2.Display On-Off control:
4. Clear display:
line1 80H 81H 82H 83H 84H 85H 86H 87H 88H 89H 8AH 8BH
8CH 8DH 8EH 8FH
line2 C0H C1H C2H C3H C4H C5H C6H C7H C8H C9H CAH CBH
CCH CDH CEH CFH
45
1. The 8051 has 4 I/O ports P0 to P3 each with 8 I/O pins, P0.0 to P0.7,P1.0 to P1.7, P2.0 to
P2.7, P3.0 to P3.7. The one of the port P1 (it understood that P1 means P1.0 to P1.7) as an I/P
port for microcontroller 8051, port P0 as an O/P port of microcontroller 8051 and port P2 is used
for displaying the number of pressed key.
2. Make all rows of port P0 high so that it gives high signal when key is pressed.
3. See if any key is pressed by scanning the port P1 by checking all columns for non zero
condition.
4. If any key is pressed, to identify which key is pressed make one row high at a time.
5. Initiate a counter to hold the count so that each key is counted.
6. Check port P1 for nonzero condition. If any nonzero number is there in [accumulator], start
column scanning by following step 9.
7. Otherwise make next row high in port P1.
8. Add a count of 08h to the counter to move to the next row by repeating steps from step 6.
9. If any key pressed is found, the [accumulator] content is rotated right through the carry until
carry bit sets, while doing this increment the count in the counter till carry is found.
10. Move the content in the counter to display in data field or to memory location
11. To repeat the procedures go to step 2.
You can also provide the clock through the controller thus eliminating the need of external circuit
for clock.
Autonomous Robot For Transport System
47
ADC 0808 is an 8 bit ADC i.e. it divides the voltage applied at Vref+ & Vref- into 28 i.e. 256 steps.
Suppose Vref+ is connected to Vcc i.e. 5V & Vref- is connected to the Gnd then the step size will be
The data we get at the D0 - D7 depends upon the step size & the Input voltage i.e. Vin.
If you want to interface sensors like LM35 which has output 10mv/°C then I would suggest that
you set the Vref+ to 2.56v so that the step size will be
So now whatever reading that you get from the ADC will be equal to the actual temperature.
Sensor array
Autonomous Robot For Transport System
5 sensors are totally used .They are in the form shown in the figure below, also their outputs are
49
also shown. The tip view is chosen as it would be easier to infer the Process involved.
The sensors are mounted on a separate board along with the biasing resistors and a 2 pin
connector supplies the power to the sensor array. And the output of each sensor is connected to
the main board via an 8 pin connector to the comparators on the main board.
LINE SENSING TECHNIQUE
Implementation
Sensor Circuit:
Autonomous Robot For Transport System
51
The resistance of the sensor decreases, when IR light falls on it. A good sensor will have near
zero resistancein presence of light and a very largeresistance in absence of light.
We have used this property of thesensor to form a potential divider.
The potential at point ‘2’ isRsensor / (Rsensor + R1).
Again, a good sensor circuit shouldgive maximum change in potential atpoint ‘2’ for no-light and
bright-light
conditions. This is especiallyimportant if you plan to use an ADCin place of the comparator
To get a good voltage swing , the value of R1 must be carefully chosen. If Rsensor = a when no
light falls on it and Rsensor = b when light falls on it. The difference in the two potentials is:
Vcc * { a/(a+R1) - b/(b+R1) }
Relative voltage swing = Actual Voltage Swing / Vcc
= Vcc * { a/(a+R1) - b/(b+R1) } / Vcc
= a/(a+R1) - b/(b+R1)
Don’t care = X
53
Clockwise direction = C
Anticlockwise direction = AC
Stop = S
ALGORITHUM
START
Is line detect
Autonomous Robot For Transport System
55
Stop the Motor
If values are
same
STOP
Chapter 4
Results and Discussions
SENSORS BLACK SURFACE OTHER SURFACE
In (VOLTS) In (VOLTS)
APPLICATIONS
57
• Create a generic graphical interface for the remote client.
• Automated cars
LIMITATIONS
Chapter 5
FUTURE SCOPE
• 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.
Chapter 6
Literature cited
Books:-
Autonomous Robot For Transport System
61
Websites:-