SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Maze Solver Robot Using Wall-Following Algorithm
By: Ali Ulku & Vardah Muhammad
Supervized By: Dr. Mehmet Keskinoz
24.05.2015
Outline
Outline
• Introduction
− Lego Mindstorm Construction Pack
− Completed View
− Wall-Following Algorithm
− Different Types of Circuits
• Algorithm
− Pseudo Code
− Initialization Block
− 1st If Block
− 2nd If Block
− Move Forward Block
− Turn Right/Left Block
− Medium Motor Turn Right/Left Block
− Logic
• Result
− Robot in the Maze
− Escape Route on Matlab
Introduction
5
Introduction
Lego Mindstorm Construction Pack
Main Hardware:
• EV3 Brick (300 MHz ARM9 Controller)
• 2 Large Motors
• 1 Medium Motor
• Infrared Sensor
• Subassemblies
Comments
6
Introduction
Top View
Completed View
Bottom View
7
Introduction
Wall-Following Algorithm
Comments
Wall-Following Algorithm
•Follows the Right Hand Wall Rule
•Simple
•Fast
•Unique Solution
•Works for Open Circuits
•No need for Memory Storage
•Parameters can be easily controlled
8
Introduction
Open Circuit
Different Types of Circuits
Closed Circuit
Algorithm
10
Algorithm
Pseudo Code
Pseudo Code Blocks
Initialization
Block
Turn Right/Left
Block
Medium Motor
Turn Right/Left
Block
2 If Blocks
Move Forward
Block
11
Algorithm
Initialization Block
• Initializes x, y position and direction
• Used to generate trajectory of robot and maze map
Comments
12
Algorithm
1st
If Block
• Reads from Infrared Sensor
• Checks if there is a wall on the right
− Reading of less than 15 indicates that wall is present
Comments
13
Algorithm
2nd
If Block
• Decides on the direction to move
Comments
14
Algorithm
Move Forward Block
• Moves robot forward by 1 step (pre calculated)
• Updates its direction
• Direction:
− 1: forward
− 2: right
− 3: backward
− 4: left
Comments
15
Algorithm
Turn Left Block
• Turns robot to the left
• Increments direction by 1
Comments
16
Algorithm
Turn Right Block
• Turns robot to the right
• Decrements direction by 1
Comments
17
Algorithm
Medium Motor Turn Right Block
• Medium motor holds the infrared sensor
• Turns medium motor to the right
− Add 90 to reading to get rid of drift
• Uses proportional gain of 0.5 to reduce accumulated error
Comments
18
Algorithm
Medium Motor Turn Left Block
• Turns medium motor to the left
− Subtract 90 from reading to get rid of drift
• Uses proportional gain of 0.5 to reduce accumulated error
Comments
19
Algorithm
Check Right
No wall
(proximity>15)
Wall
(proximity <15)
Turn Right & Move
Forward
Logic
Check Front
Move ForwardNo wall
(proximity>15)
Wall
(proximity <15)
Turn Left and Repeat
from the start
Result
21
Result
Video
The Robot in the Maze
Constructed Maze
22
Result
Robot’s Escape Route on Matlab
• Red and straight lines show the borders of the
maze
− Achieved by combining direction information
• Blue and dashed lines show the route that our
robot traveled only once
• Blue and straight lines show the route that our
robot traveled back and forth
− Achieved by combining position and direction
information
Comments
Thank You!

Weitere ähnliche Inhalte

Andere mochten auch

Makalah Aderina Chemonk: Abu Yazid Al-Bustomi
Makalah Aderina Chemonk: Abu Yazid Al-BustomiMakalah Aderina Chemonk: Abu Yazid Al-Bustomi
Makalah Aderina Chemonk: Abu Yazid Al-BustomiAli Hanafiah
 
Chapter 4, Conceptualizing A Research Study
Chapter 4, Conceptualizing A Research StudyChapter 4, Conceptualizing A Research Study
Chapter 4, Conceptualizing A Research StudyMaria Theresa Dalagan
 
Panduan Penyelesaian SKU Penegak
Panduan Penyelesaian SKU PenegakPanduan Penyelesaian SKU Penegak
Panduan Penyelesaian SKU PenegakNashih Ismy
 
Final ppt ens492
Final ppt ens492Final ppt ens492
Final ppt ens492Ali Ülkü
 
PSIKOTERAPI: TERAPI FEMINIS
PSIKOTERAPI: TERAPI FEMINISPSIKOTERAPI: TERAPI FEMINIS
PSIKOTERAPI: TERAPI FEMINISAli Hanafiah
 
The craft of political research, chapter 1
The craft of political research, chapter 1The craft of political research, chapter 1
The craft of political research, chapter 1Maria Theresa Dalagan
 
Major Breakthrough Inventions for Injection Molding
Major Breakthrough Inventions for Injection MoldingMajor Breakthrough Inventions for Injection Molding
Major Breakthrough Inventions for Injection Moldinginjectionmoldingdivision
 
Ralph Lauren Digital Strategy Campaign
Ralph Lauren Digital Strategy CampaignRalph Lauren Digital Strategy Campaign
Ralph Lauren Digital Strategy Campaignschul460
 

Andere mochten auch (10)

Makalah Aderina Chemonk: Abu Yazid Al-Bustomi
Makalah Aderina Chemonk: Abu Yazid Al-BustomiMakalah Aderina Chemonk: Abu Yazid Al-Bustomi
Makalah Aderina Chemonk: Abu Yazid Al-Bustomi
 
Chapter 4, Conceptualizing A Research Study
Chapter 4, Conceptualizing A Research StudyChapter 4, Conceptualizing A Research Study
Chapter 4, Conceptualizing A Research Study
 
Panduan Penyelesaian SKU Penegak
Panduan Penyelesaian SKU PenegakPanduan Penyelesaian SKU Penegak
Panduan Penyelesaian SKU Penegak
 
Final ppt ens492
Final ppt ens492Final ppt ens492
Final ppt ens492
 
PSIKOTERAPI: TERAPI FEMINIS
PSIKOTERAPI: TERAPI FEMINISPSIKOTERAPI: TERAPI FEMINIS
PSIKOTERAPI: TERAPI FEMINIS
 
Chapter 3, The Spanish Period
Chapter 3, The Spanish PeriodChapter 3, The Spanish Period
Chapter 3, The Spanish Period
 
The craft of political research, chapter 1
The craft of political research, chapter 1The craft of political research, chapter 1
The craft of political research, chapter 1
 
Major Breakthrough Inventions for Injection Molding
Major Breakthrough Inventions for Injection MoldingMajor Breakthrough Inventions for Injection Molding
Major Breakthrough Inventions for Injection Molding
 
Ralph Lauren Digital Strategy Campaign
Ralph Lauren Digital Strategy CampaignRalph Lauren Digital Strategy Campaign
Ralph Lauren Digital Strategy Campaign
 
Article VI: Legislative Department
Article VI: Legislative DepartmentArticle VI: Legislative Department
Article VI: Legislative Department
 

Ähnlich wie Final ppt ens492

Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semsteraqeel shoukat
 
Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Amanullah Mahmood
 
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsLobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsNishmi Suresh
 
Line of the system that follower Robot.pptx
Line of the system that follower Robot.pptxLine of the system that follower Robot.pptx
Line of the system that follower Robot.pptxdivyanshuranjan9973
 
Report - Line Following Robot
Report - Line Following RobotReport - Line Following Robot
Report - Line Following RobotDivay Khatri
 
Stepper motor control
Stepper motor controlStepper motor control
Stepper motor controlJatin Arora
 
Ni project presentation version 3
Ni project presentation version 3Ni project presentation version 3
Ni project presentation version 3Ahmed Zahid
 
Biratnagar Robotics Club, Nepal
Biratnagar Robotics Club, NepalBiratnagar Robotics Club, Nepal
Biratnagar Robotics Club, NepalSarwar Alam Ansari
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot saiharsha41
 
Caged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsCaged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsArwa Abougharib
 
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptx
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptxUnit 5 - Actuators and Mechatronics system Design, Case Study1.pptx
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptxCharunnath S V
 
ETAP - 09 motor acceleration
ETAP - 09 motor accelerationETAP - 09 motor acceleration
ETAP - 09 motor accelerationHimmelstern
 
ETAP - 09 motor-acceleration
ETAP - 09 motor-accelerationETAP - 09 motor-acceleration
ETAP - 09 motor-accelerationHimmelstern
 
Line following robot
Line following robotLine following robot
Line following robotarul jothi
 

Ähnlich wie Final ppt ens492 (20)

Line follower robot 5th semster
Line follower robot 5th semsterLine follower robot 5th semster
Line follower robot 5th semster
 
Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)
 
Line maze solver
Line maze solverLine maze solver
Line maze solver
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsLobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
 
Line of the system that follower Robot.pptx
Line of the system that follower Robot.pptxLine of the system that follower Robot.pptx
Line of the system that follower Robot.pptx
 
Report - Line Following Robot
Report - Line Following RobotReport - Line Following Robot
Report - Line Following Robot
 
Stepper motor control
Stepper motor controlStepper motor control
Stepper motor control
 
Ni project presentation version 3
Ni project presentation version 3Ni project presentation version 3
Ni project presentation version 3
 
Maze follower robot
Maze follower robotMaze follower robot
Maze follower robot
 
Biratnagar Robotics Club, Nepal
Biratnagar Robotics Club, NepalBiratnagar Robotics Club, Nepal
Biratnagar Robotics Club, Nepal
 
LDR Counter
LDR CounterLDR Counter
LDR Counter
 
Line maze solver robot
Line maze solver robot Line maze solver robot
Line maze solver robot
 
99995327.ppt
99995327.ppt99995327.ppt
99995327.ppt
 
Caged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC DuctsCaged Quadrotor Drone for Inspection of HVAC Ducts
Caged Quadrotor Drone for Inspection of HVAC Ducts
 
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptx
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptxUnit 5 - Actuators and Mechatronics system Design, Case Study1.pptx
Unit 5 - Actuators and Mechatronics system Design, Case Study1.pptx
 
Motors types
Motors typesMotors types
Motors types
 
ETAP - 09 motor acceleration
ETAP - 09 motor accelerationETAP - 09 motor acceleration
ETAP - 09 motor acceleration
 
ETAP - 09 motor-acceleration
ETAP - 09 motor-accelerationETAP - 09 motor-acceleration
ETAP - 09 motor-acceleration
 
Line following robot
Line following robotLine following robot
Line following robot
 

Final ppt ens492