Professional Documents
Culture Documents
A Project work submitted in partial fulfillment of the requirement for the award
of the degree of
BACHELOR OF TECHNOLOGY
in
ELECTRONICS & COMMUNICATION ENGINEERING
By
M. K. RAVALI 14211A0402
G. MANISHA 14211A0414
T. HEMA RANI 14211A0432
BHUKYA SAI
CHARAN RATHOD 14211A0436
CERTIFICATE
This is to certify that the Project work entitled “AN FPGA BASED CYCLIC
NAVIGATION ALGORITHM FOR MOBILE ROBOTS IN AN INDOOR
ENVIRONMENT” is being submitted by M. K. Ravali (14211A0402), G. Manisha
(14211A0414), T. Hema Rani (14211A0432), Bhukya Sai Charan Rathod (14211A0436)
in partial fulfillment of the requirement for the award of the degree of B.Tech. in Electronics
& Communication Engineering, by Jawaharlal Nehru Technological University Hyderabad
is a record of bonafide work carried out by them under my guidance and supervision from
2017 to 2018.
The results presented in this project have been verified and are found to be
satisfactory.
EXTERNAL EXAMINER
I
B.V.Raju Institute of Technology
(UGC Autonomous)
Vishnupur, Narsapur, Medak, Telangana
CERTIFICATE
This is to certify that M. K. Ravali, G. Manisha, T. Hema Rani, Bhukya Sai Charan
Rathod bearing Roll No. 14211A0402, 14211A0414, 14211A0432, 14211A0436
respectively have successfully completed their project titled “AN FPGA BASED CYCLIC
NAVIGATION ALGORITHM FOR MOBILE ROBOTS IN AN INDOOR
ENVIRONMENT” using VIVADO tool set in VLSI AUTOMATION laboratory, BVRIT-N
during the period 2017 to 2018.
COORDINATOR HOD
II
ACKNOWLEDGEMENT
We would like to express out profound gratitude to our Head of the department
Dr.I.A.Pasha, M.E, Ph.D, Post Doc, HOD, Dept. of ECE, for his encouragement, inspiration
and close monitoring and guidance he gave us during the execution of the project.
Professor, Dept. of ECE, our guide for his valuable suggestions and motivation in
successful completion of project.
We also wish to express our thanks to all the faculty members and laboratory staff
who were helpful directly and indirectly for the completion of the project.
III
DECLARATION
We hereby declare that the project entitled “AN FPGA BASED CYCLIC NAVIGATION
ALGORITHM FOR MOBILE ROBOTS IN AN INDOOR ENVIRONMENT”
submitted to B.V. Raju Institute of technology, affiliated to Jawaharlal Nehru Technological
University, Hyderabad for the award of the degree of Bachelor of Technology in Electronics
and Communication Engineering is a result of original project work done by us.
It is further declared that the project report on any part therefore has not been
previously submitted to any University or Institute for the award of degree or diploma.
IV
ABSTRACT
The research on navigation techniques for the movement of a robot in a closed area
has always been in the limelight. A navigation mobile robot possesses required intelligence to
ensure global and local navigation in a given environment which include obstacles that are
either static or dynamic. The main aim of this project is to design such an automated
navigation platform which can guide itself to a given destination point through pre-
programmed paths and locomotion of the robot takes place.
The environment chosen here for the robot is a 2-Dimensional manifold. It consists of
start point and a destination point. We include finite number of static obstacles, which we
assume to be straight lines, to form a maze like environment. The robot moves towards the
destination by measuring the distance to its closest obstacles which are within the range of
the ultrasonic sensor. On its way to the destination from a given source point, it manages to
move along different paths in order to provide service at different zones of the given maze
environment. By using ultrasonic sensors we are only able to control the movement of the
robot. Therefore, in order to stop the robot for a few seconds at the zone to be served and
later continue its path, we make use of IR sensors. So, whenever the IR goes high due to the
obstacle or the black patch which we are going to place at the required points, the robot stops
at those points for a few seconds, thereby indicating that it is serving at that zone.
It can be of great use in applications such as service robots in hospitals/old-age homes
and as guard robots for the purpose of surveillance. It is can also be put to use for the
transportation of raw materials in an industry or for postal delivery to a particular section in
an office, etc.
V
PREFACE
The document is framed such that, Chapter 1 gives the introduction to robot navigation
and its architecture. In Chapter 2, we will elaborate the various indoor navigation techniques and
different maze algorithms that exist. In Chapter 3, a detailed explanation of the cyclic navigation
algorithm is given with respect to the maze considered. In Chapter 4, the block diagram along
with a detailed description of each component is given. Also, we have included the project flow
and code flow in this chapter. In Chapter 5, the simulation results and hardware implementation
are provided. In Chapter 6, we have the applications and the advantages of our project. In
Chapter 7, the conclusion and the future scope of the project are mentioned, followed by
references.
The documentation also provided with paper publication in “International Journal of Advance Research,
Ideas and Innovations in Technology” , ISSN: 2454 – 132x , VOLUME 4 – ISSUE 2(v4i2 - 1823) and
attached copy of an acceptance letter.
VI
CONTENTS
CERTIFICATE I
ACKNOWLEDGEMENT III
DECLARATION IV
ABSTRACT V
PREFACE VI
CONTENTS VII
2. LITERATURE SURVEY 04
2.1 Introduction 04
2.1.1 Navigation Algorithm 04
2.2 Indoor Navigation 05
2.2.1 Kinematic Navigation Techniques 06
2.2.2 Wireless Navigation Techniques 08
2.2.3 Visual Navigation Techniques 12
2.3 Outdoor Navigation 14
2.4 Path Planning 15
2.5 Maze Generation Algorithm 16
2.5.1 Graph Theory Based Method 16
2.5.2 Depth-First Search 17
2.6 Maze Solving 19
2.6.1 Wall Follower Algorithm 20
2.6.2 Pledge Algorithm 22
2.6.3 Tremaux’s Algorithm 23
2.6.4 Dead-End Filling Algorithm 24
2.6.5 Recursive Algorithm 24
VII
2.7 Flood-Fill Algorithm 25
2.7.1 Introduction 25
2.7.2 Related Works 25
2.7.3 The Maze and the Robot 26
2.7.4 Algorithm 27
2.8 Algorithm For Solving Any Kind Of Maze 31
3. CYCLIC NAVIGATION ALGORITHM 33
3.1 Introduction 33
3.2 Maze Environment 33
4. HARDWARE IMPLEMENTATION 37
4.1 Block Diagram 37
4.2 Hardware Components 37
4.2.1 FPGA Board – Spartan 3AN (XC3S50AN) 38
4.2.2 DC Motors 43
4.2.3 Motor Drivers –L293D 47
4.2.4 Ultrasonic Sensors –HCSR04 50
4.2.5 IR Sensor V 53
4.3 Project Flow 58
4.4 Code Flow 58
4.5 Robot Design 61
5. RESULTS 62
5.1 Simulation Results And Description 62
5.2 Hardware Implementation 63
6. APPLICATIONS AND ADVANTAGES 66
7. CONCLUSION AND FUTURE SCOPE 67
REFERENCES 68
VIII
LIST OF FIGURES
IX
Figure 4.13 Schematic of Inputs and Outputs 50
Figure 4.14 Diagram of the basic ultrasonic sensor operation 51
Figure 4.15 Ultrasonic sensor (HCSR04) 51
Figure 4.16 Timing Diagram of HCSR04 52
Figure 4.17 IR Sensor 53
Figure 4.18 Active infrared sensors 54
Figure 4.19 IR transmitter 54
Figure 4.20 IR transmitter circuit diagram 55
Figure 4.21 IR Receiver 55
Figure 4.22 IR Receiver Circuit diagram 56
Figure 4.23 Principle of working of IR sensor 56
Figure 4.24 IR sensor Circuit diagram 57
Figure 4.25 Project Flow 58
Figure 4.26 Code Flow Chart 59
Figure 4.27 Robot structure 61
Figure 5.1 Simulation Results Of The Cyclic Navigation Algorithm 62
Figure 5.2 (a) Robot stops for a while on detecting the black patch 63
Figure 5.2 (b) Robot takes a right turn on reaching a corner 64
Figure 5.2 (c) Robot taking a turn on detecting the partition 64
Figure 5.2 (d) Robot moves along the partition after the turn 65
Figure 5.2 (e) Robot completes the maze and comes out through the
exit 65
LIST OF TABLES
Table 2.1 Illustration of Recursive Division 18
Table 2.2 Values returned by the algorithm and its respective turn 30
Table 3.1 Different possible paths provided for robot navigation
for location service 35
Table 4.1 Summary of Spartan-3AN FPGA Attributes 40
Table 4.2 Maximum User I/O by Package 42