Controlling AGV Via PC.

raf

0000033082

Controlling AGV via PC I Mohd Irfan Mohcl.

CONTROLLING AGV VIA PC
MOHD IRFAN BIN MOHD
MAY 2006

© Universiti Teknikal Malaysia Melaka

Ill

.. I hereby declare that Thave 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

Name


EN · S'/E'O N-1\1\8

f? , $'{£0 S.4LiN\ .

......................................................................

Date

© Universiti Teknikal Malaysia Melaka

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

© Universiti Teknikal Malaysia Melaka

"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 BIN MOHD


Date

MAY 42006

© Universiti Teknikal Malaysia Melaka

This dedicated to my beloved father and mother

© Universiti Teknikal Malaysia Melaka

v

ACKNOWLEDGEMENT

A lha mdulillah. finally the author had completed fina l year project report
successfully. Lots of experience and knowledge were gained throughout this period.
There are severa l indi vidual s. who should be praised and me ntioned here. Without them.
this report and the who le training program w ill not be s uccessful. The author would 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, who were very he lpful in giv ing theoretical, hands on experie nce, so
many help such as information, 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 responsibilities 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 really apprec iates a ll the hard work and the time spent, despite
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 cooperation and priceless advices. 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. the last but not least. milli on thanks to my parents. fell ow co lleagues and all
Ko lej Un iversiti Teknika l Kebangsaan Malaysia (KUTKM) staffs for all the cooperation
and supports in o rder to fini sh this project successfully.

© Universiti Teknikal Malaysia Melaka

ABSTRACT


This project is about 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 sending data
between two main dev ices using the seria l port RS232. The project was di vided into two
maj or secti ons w hich is the input section and the output section. The input section
consists of a pc and the microcontroller circuit while the output section includes the
relay circuit and the wireless transmitting and receiving c ircuit. All data w ill be sent in
decimal fo rm to the brain of the project which is the microcontroller 16F877 A . ln testing
and creating the system. a remote contro l car will be used to replace the AGV. The user
only has to insert the input range of 0 to 2 55 in decimal to the panel command box and
click the command button to send the data. The data will be convert to binary form by
the MAX232 and the least sign ificant bit is set as and the output from the
microcontroller output p ort. An additional relay circuit needed as a switch to connect the
suppl y 9V to the transmitter c ircuit. The controller circuit acts to send the signa l
operated by the microcontroller to the receiver trans mi ssion at the car. So the output of
the user input is that the car will move acco rding to the 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 AGVs and has the ability to interrupt the ma in ro utine of each the
AGV. In this case, the system will s ure ly a void the AG V from involved in coll ision or
hitting each other that w ill cause a maj or di sturbance to the ir operations. At the 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 improve the project to be more users friendl y are
g1ven.

© Universiti Teknikal Malaysia Melaka

ABSTRAK

Projek ini adalah berkenaan mengawal suatu model ' AGV' menggunakan komputer
peribadi. Aspek dan ciri-ciri asas yang digunakan di dalam 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 16F877A. 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.

© Univeraiti Teknikal Malaysia Melaka

Ill


TABLE OF CONTENTS

CHAPTER

1

2

CONTENT

PAGE

PROJECT TITLE

ii

STUDENT DECLARATION

iii


DEDICATION

iv

ACKNOWLEDGMENT

v

ABSTRACT

vi

ABSTRAK

vii

TABLE OF CONTENTS

viii


LIST OF TABLE

XI

LIST OF FIGURES

xii

LIST OF APPENDICES

xiv

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

LITRETURE REVIEW

2.0

Introduction

© Universiti Teknikal Malaysia Melaka

6