raf
0000033082
Controlling AGV via PC I Mohd Irfan Mohcl.
CONTROLLING AGV VIA PC
MOHD IRFAN BIN MOHD
MAY 2006
Ill
.. I hereby declare that T have read through thi s report and found that is sufficient in te rms
of scope and quality to be awarded of the degree of Bachelor in Electrical Engineering
(Industrial Power). ,.
Signature
EN ·
S'/E'O
N-1\1\8
f? ,
$'{£0 S.4LiN\ .
...
NameDate
II
CONTROLLING AGV VIA PC
MOHD IRFAN B MOHD
B010210083
This Report Is Submitted In Partial Fulfillment of Requirements for the Degree of Bachelor in Electrical Engineering (Industrial Power)
Faculty OfElectrical Engineering
Kolej U niversiti Teknikal Kebangsaan Malaysia
"I hereby declared that this report is a result of my own work except for the excerpts
that have been cited
dearly
in the references"Signature
ᄋᄋ ᄋ ᄋ セX
M セ ᄋM ᄋᄋᄋᄋᄋᄋᄋ ᄋᄋ ᄋ ᄋᄋᄋᄋᄋ ᄋᄋ ᄋᄋᄋᄋᄋ@
Student
MOHD
IRFAN BINMOHD
Date
MAY 42006
This dedicated to my beloved father and mother
v
ACKNOWLEDGEMENT
A lha mdulillah. finall y the author had completed fina l yea r project report
successfull y. Lots of experience and knowledge were gained throughout this period.
There are severa l indi vidual s. w ho s hould be praised and me ntioned here. Without them.
this report and the w ho le training program w ill not be s uccessful. The author wo uld li ke
to express greatest gratitude to Merc iful God. Allah S.W.T as for His b lessings and
merc y. fo r completing this final report and final year project. The author wou ld also like
to his supervisor, w ho were very he lpful in giv ing theoretical, hands on experie nce, so
man y help such as info rmation, announcement etc. Besides, hi s personality as ab le to
listen and received author proble ms are trul y make author so much pleasure. He is Mr
Syed Najib B Syed Salim. A ltho ugh he recently take over the respons ibilities of being
the author supervisor, he supervised the author since the previous supervisor, Mr. Fahmi
B Miskon continued his studies, until the last day of project period and always
s upporting the author· s activities a nd giving the autho r chances to seek for new
experie nce. The author reall y apprec iates a ll the hard work and the time spent, desp ite
hi s bundle of workload. Aside from that, author would like a lso to express gratitude to
other mates of supervisor s uch as Mohammad Latif, Mansur and The ngkili . Thank you
fo r the ir cooperati on and priceless adv ices. Besides. the a uthor a lso wants to thank to
project pane l who is Mr. Maslan and Mi ss Mariam because o f the ir honorable and
generosity to give implements and ad vices for my project presentatio n and report.
Fina ll y. th e last but not least. milli on thanks to my parents. fell ow co lleagues and all
Ko lej Un ivers iti Teknika l Kebangsaan Malaysia (KUTKM) staffs for all the cooperation
and supports in o rder to fi ni sh this project successfully.
ABSTRACT
This project is abo ut contro lling a mode l of AGV via personal computer. The based
a spect and characteri stic of thi s project is to implement the theory of sendin g data
betw een two main dev ices using the seria l po rt RS2 32 . The project was di vided into two
maj or secti ons w hich is the input sectio n and the output section. The input secti on
consists of a pc and the microco ntroller circuit while the output section includes the
relay circuit and the w ireless transmitting and recei ving c ircuit. All data w ill be sent in
decimal fo rm to the brain of the project which is the microco ntroller 16F877 A . ln testing and creating the system. a rem ote co ntro l car w ill be used to replace the AGV. The user
o nly has to insert the input range of 0 to 2 55 in decimal to the panel command box and
click the command butto n to send the data. The data will be convert to binary form by
the MA X232 and th e least s ign ificant bit is set as and the o utput fro m the
microco ntroller output p o rt. An additi o nal relay circuit needed as a switch to connect the
suppl y 9V to the transmitter c ircuit. The controller circuit acts to send the s igna l
o perated by the microcontroller to the receiver trans mi ssio n at the car. So the output of
the user input is that the car w ill move acco rdin g to th e g iven input. Thi s project can be
app lied to the industry where invo lving many AGVs. It w ill act as the supervjsory
system to a ll the A GVs and has the ability to interrupt the ma in ro utin e of each the
A GV.
In
this case, the system w ill s ure ly a void the A G V from invo lved in coll ision orhitting each other that w ill cause a maj o r di sturbance to the ir o perati ons. At th e end of
thi s report, the re w ill be stated the achi evement of the objectives of thi s proj ect. Other
than that, the recommendations to impro ve the project to be mo re users friendl y are
g1ven.
ABSTRAK
Projek
ini
adalah berkenaan mengawal suatu model ' AGV' menggunakan komputer
peribadi. Aspek dan ciri-ciri asas yang digunakan
didalam projek ini adalah berkenaan
teori penghantaran data diantara dua peranti utama dengan menggunakan pot serial
RS232. Projek ini terbahagi kepada dua seksyen utama iaitu seksyen masukkan dan
seksyen keluaran. Seksyen masukkan terdiri daripada komputer peribadi dan litar
mikropengawal manakala seksyen keluaran pula merangkumi litar geganti dan litar
penghantar dan penerima tanpa wayar. Kesemua data
akan
dihantar dalam berbentuk
desimal kepada otak projek ini iaitu mikropengawal 16F877 A. Dalam pengujian dan
mengolah sistem, kereta kawalan jauh
akan
digunakan menggantikan ' AGV'. Pengguna
hanya perlu mamasukkan masukkan berjulat 0 hingga 255 dalam bentuk desimal pada
panel
araban dan menekan punat hantar untuk menghantar data. Data akan diubah
kepada bentuk binari oleh peranti MAX232 dan bit terendah akan ditetapkan pada pot
keluaran pada mikropengawal. Litar geganti tambahan diperlukan sebagai suis untuk
menyambungkan sumber bekalan 9V kepada litar penghantar. Litar pengawal bertujuan
menghantar signal yang dihasilkan oleh mikropengawal kepada litar penerima pada
kereta kawalan jauh. Jadi, hasil daripada masukkan pengguna, kereta kawalan jauh
akan
bergerak berdasarkan nilai masukkan yang diberi. Projek ini dapat diaplikasikan
kedalam industri yang melibatkan banyak penggunaan 'AGV' . Ia akan berfungsi sebagai
pemantau system kepada semua ' AGV' dan berkebolehan mengganggu rutin utama
setiap ' AGV' . Dalam kes ini, system
akan
memastikan kesemua ' AGV' tidak berlanggar
atau pelanggaran yang akan menyebabkan gangguan besar pada operasi mereka. Pada
akhir laporan
ini,
terdapat kesimpulan yang menceritakan tentang pencapaian objektif
projek ini. Selain itu, cadangan bagi memperbaiki projek ini supaya lebih mesra
pengguna ada diberikan.
Ill
TABLE OF CONTENTS
CHAPTER CONTENT
PAGE
PROJECT TITLE
ii
STUDENT DECLARATION
iii
DEDICATION
iv
ACKNOWLEDGMENT
v
ABSTRACT
vi
ABSTRAK
vii
TABLE OF CONTENTS
viii
LIST OF TABLE
X ILIST OF FIGURES
xii
LIST OF APPENDICES
xiv
1
INTRODUCTION
1.0 Controll ing AGV via PC
1.1 Problem statement
1.2 Scope of work 2
1.3 Objectives
3
1.4 Project outline 4
2
LITRETURE REVIEW
2.0 Introduction 6