




























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































PSZ 19:16 (Pind. 1/07)
Author’s full name : SITI FATIMAH BT KAMARULZAMAN Date of birth : 22 nd^ MEI 1989 ______________________________ Title : TARGETNG VEHICLE Academic Session : 2011/2012____________________________________
I declare that this thesis is classified as:
I acknowledged that Universiti Teknologi Malaysia reserves the right as follows:
Certified by :
SIGNATURE SIGNATURE OF SUPERVISOR 890522 - 02 - 5780 EN KAMAL KHALIL (NEW IC NO. /PASSPORT NO.) NAME OF SUPERVISOR
Date: 7 JULY 2012 Date: 7 JULY 2012
NOTES : * If the thesis is CONFIDENTAL or RESTRICTED, please attach with the letter from the organization with period and reasons for confidentiality or restriction.
CONFIDENTIAL (Contains confidential information under the Official Secret Act 1972)* RESTRICTED (Contains restricted information as specified by the organization where research was done)* OPEN ACCESS I agree that my thesis to be published as online open access (full text)
Replace this page with the Cooperation Declaration form, which can be obtained from SPS or your faculty.
This report submitted in partial fulfillment of the requirements for the award of the degree of Bachelor of Engineering (Electrical - Microelectronics)
Faculty of Electrical Engineering Universiti Teknologi Malaysia
iii
Specially dedicated to my family and friends
iv
In the process of carrying out this project, commencing from the title deciding until the completion of project, I was in contact with many people such as academicians, postgraduate researchers and lab assistants. They have rendered their assistant in various aspects and contributed towards my understanding and thoughts. In particular, I wish to grab this opportunity to express my sincere appreciation to my project supervisor, MR MOHD KMAL BIN KHALIL for his advice, guidance and encouragement that have led to the success of this project.
I am also indebted to Universiti Teknologi Malaysia for providing me the facilities to carry out my project. Librarians at UTM also deserve special thanks for their assistance in the process of my project information obtaining.
And not forget, my whole family for supporting my study and and give advice to go on this project until finish. I am grateful to all my family members. My fellow friends should also be recognized for their continual support and encouragement. My sincere appreciation also extends to all my course mate and others who have provided assistance at various occasions. Their views and tips are useful indeed. Unfortunately, it is not possible to list all of them in this limited space.
vi
Sistem kawalan autonomi adalah reka bentuk untuk membuat sistem kawalan yang berbeza. Jadi, kami merekabentuk sebuah kereta baru autonomi yang boleh bergerak dengan sendirinya. Berbanding dengan alat kawalan jauh kereta yang dikawal oleh peranti kawalan seperti alat kawalan jauh dan butang utama, sebuah kereta autonomi boleh bergerak sama ada di sebelah kanan, sebelah kiri, bergerak ke hadapan dan ke belakang dengan mengikuti pergerakan sasaran.
Di samping itu, kereta ini juga boleh mengikuti sasaran apabila sasaran telah bergerak dengan keupayaan untuk mengawal kelajuan dan arah. Lagi, jarak antara kereta autonomi dan sasaran dapat dikesan dengan menggunakan pencari pelbagai Ultra Sonic. Oleh itu, kereta sasaran dan autonomi yang mampu untuk mengikuti objek atau sasaran dan mengekalkan jarak yang selamat yang 30cm .. Sejak projek ini adalah satu sistem autonomi, sepenuhnya akan menjalani pembedahan tanpa wayar yang boleh mengesan dan mengikut sasaran selain kedudukan halangan.
Bagi memenuhi keperluan, Intel Atom processor D525 sebagai pemproses yang juga boleh digunakan sebagai pemprosesan imej apabila sasaran telah direkodkan melalui webcam. Robot akan bergerak mengikut sasaran yang berwarna hijau jika sasaran dapat dikesan di mana input dimasukkan oleh pengguna menggunakan. Sampel warna yang dugunakan dalam system ni ialah warna hijau. Jika sasaran yang bewarna hijau tidak ditemui, maka system ini akan tinggal di tempat asalnya.
vii
DECLARATION ii DEDICATION iii ACKNOWLEDGEMENT iv ABSTRACT v ABSTAK vi TABLE OF CONTENTS vii LIST OF TABLES ix LIST OF FIGURE x LIST OF APPENDICES xii
1.1 Background 1 1.2 Objective 2 1.3 Scope of Work 2 1.4 Problem statement 4 2 LITERATURE REVIEW 6 2.1. JPEG and Motion-Jpeg 6 2.2. Tracking Human Motion 7 For Security System. 2.3. Background Subtraction for Detection 7 of Moving Object 2.4. Motion Detection Techniques Using 8 Optical Flow 2.5 Determination of Edge Detection using 9 Prewitt Operator 2.6. Frame Differentiation Method 10 3 METHODOLOGY 12 3.1. Project Overview 12 3.2. Basic Idea of the Project 14 3.3 Motion Tracking Method 15
ix
3.1 Connection of input, output and motor. 17 3.2 Motor driver pin connection. 18 3.3 Control logic 18
x
1.1 Intel atom board with basic device used 4 in this project 2.1 Video frames on the left showing a traffic 8 scene while snowing. 2.2 Video frame on the left highlights which in pink, 8 the objects detected as moving object. 2.3 Gray scale images of a brick wall and a bike rack 10 2.4 Gradient with Prewitt operator of gray scale image 10 of a brick wall and a bike rack 3.1 The basic idea of autonomous car system design 13 3.2 The concept of tracking by webcam with the range 14 3.3 Flow of the object tracked 15 3.4 Motor driver, MD10C 17 3.5 Connection between PIC and driver 18 3.6 The schematic circuit of PIC microcontroller 19 3.7 Hardware image of PIC microcontroller 20 3.8 Position of the serial data pin 21 3.9 Flow chart of PIC firmware 22 3.10 Client area to show when target had been detected. 24 3.11 When button Video Setting been pressed. 25 3.12 When button Web Cam setting been pressed. 25 3.13 Serial port 26 3.14 Overall project flow 27 4.1 When only one target detected (Green color) 28
xii
A Green Light Tracking 38 B Serial Port Communication 41 C PIC microcontroller firmware 49
Remote control car is quite famouse before this that can be used as a toy or to be used in the remote control racing car by teenagers and event adults itself. The tecnology of the control system is increasing time by time until now. Hence, the uncontrolled system is introduce in the technology as an autonomouse system that can process the information itself without receive an instruction from user. It also known informally as self driving car or driveless or as robotic. Besides, it is able of sensing its environment and navigating by its own. An autonomouse system is introduce in many areas of technology and even for safety in the house.
An autonomouse tracking vehicle is the system that enable the user to track the location, monitor the vehicle movement, status and behavior of the vehicle. The vehicle tracking system is commonly used by fleet operators, and transit agencies in order to monitoring the driving behavior of the driver especially and current location of the vehicle. This vehicle tracking systems was very popular as theft prevention and also the
3
Same with other project, scope of project work will be the guide line for the designer or builder to ensure that the project will be done in the systematic manner and prevent overlapping of work to occur. It is very vital to set the project scope as it help to draw the guide line to make sure the project is conducted within its intended boundary; this is to ensure the project is leading in the right direction to achieve its proposed objective.
In this project, this system will be working to follow the target within the range of 10 pixel dots. This car is capable to move forward and backward by follow the target if the target or object moves backward and forward where the input of movement is given by user. Besides, this system car is able to turn left and right in order to follow the target.
In this autonomous car system, the image of the target is recorded via web cam. Besides, the system will be detecting the target which is in green color for example the green shoes that being worn by target (leg ). Last but not least, the entire program and the processing image of the target are processed using D525 Intel Atom Board.
4
Figure 1.1 : Intel atom board with basic device used in this project
1.4 Problem statement
One of the surveillance system is CCTV( Close Circuit of Television). However, this system has it own limitation. It is because this system associated with atraditional network which make the the services highly restricted and hard to expand with the amount of cabling. For axample, a complete new cable is often required if another needs to be added or needs to be moved. Hence, the idea came out based on the limitation of the CCTV surveillance which is to created an autonomous vehicle that can be used as a smart surveillance safety in the house, department stores and other taht need to be monitor. Besides, all