Académique Documents
Professionnel Documents
Culture Documents
NAME
STUDENT NO
: TP024367
INTAKE
: UC3F1310ME
MODULE CODE
: EE010-3.5-3
NAME OF LECTURER
: Ms.ILANOR MUHAINI
DATE DUE
: 5/3 2014
Contents
Table Of Figures____________________________________________________________________3
Introduction________________________________________________________________________4
Objective___________________________________________________________________________5
Tasks to be done___________________________________________________________________6
Applications of Mobile Robot________________________________________________________7
Types of mobile robot_______________________________________________________________8
Wheels____________________________________________________________________________8
Tracks____________________________________________________________________________9
Advantages______________________________________________________________________10
Disadvantages___________________________________________________________________10
Legs____________________________________________________________________________10
An increasing number of robots use legs for mobility. Legs mobile robot are often
good for robots that must navigate the terrain is very uneven. Most amateur robot
is designed with six legs, which allows the robot to be statically balanced
(balanced at all times at 3 feet). Robots with legs are a little more difficult to
balance.________________________________________________________________________10
Advantages______________________________________________________________________11
Disadvantages___________________________________________________________________11
Arms and Grippers______________________________________________________________11
Advantages______________________________________________________________________12
Disadvantages___________________________________________________________________12
Navigation methods used by mobile robots________________________________________12
Mobile Robot Description__________________________________________________________13
Boe-Bot Robot___________________________________________________________________13
Microcontroller (Basic Stamp 2)_________________________________________________14
Servos__________________________________________________________________________14
Board of Education______________________________________________________________15
QTI sensors Infrared Line Follower_______________________________________________16
Program Concept for maze solving________________________________________________17
Program Description______________________________________________________________18
Discussion________________________________________________________________________23
References________________________________________________________________________24
Table Of Figures
Figure 1 Maze______________________________________________________________________6
Figure 2 Boe-BOt Mobile Robot______________________________________________________7
Figure 3 Wheels Mobile Robot_______________________________________________________9
Figure 4 Tracks Mobile Robot______________________________________________________10
Figure 5 Legs Mobile Robot________________________________________________________11
Figure 6 Arms and Grippers Mobile Robot__________________________________________12
Figure 7 Boe-Bot Robot____________________________________________________________14
Figure 8 Microcontroller___________________________________________________________15
Figure 9 Servos____________________________________________________________________15
Figure 10 Ultrasonic sensor________________________________________________________16
Figure 11 Board of Education______________________________________________________16
Figure 12 QTI sensors Infrared Line Follower_______________________________________17
Figure 13 MAZE___________________________________________________________________18
Introduction
Robotics is technology that deals with the design, construction, operation and application of
robots. Robots are machines device and it program to perform task and interact with its
environment, without the use of the aid of human interaction. It can work by program them or
give them task and they will do it. In order to call the device robot it must contains three main
parts a controller (a brain); mechanical parts to help it move (robots can be powered by air,
water, or electricity), and sensors that can tell the robot about its surroundings. These parts work
together to control how a robot functions. Mobile robotics is a multidisciplinary field involving
computer science and engineering. Overcoming automatic system design, it is located at the
intersection of artificial intelligence, computational vision, and robotics. A mobile robot is an
automatic machine that has the ability to moving in a certain environment. It can be controlled
by the human or automatic. Also its able to perform certain tasks set for it and achieved within
some given limitation. The robot needs to have the ability to navigate in order to do this.
Navigation capabilities of each mobile robot must accurately and within a certain range, and this
will increasingly depend on the size of the robot and the robot work to be done. Mobile robot
must have a locomotion system in order to make it move. This system gives our mobile robot the
ability to move forward, backward and take turns it may also provide for climbing up and down.
The concept of locomotion invariably needs rotational motion. This involves conversion of
electrical energy into mechanical energy, which we can easily achieve using electrical motors.
The issue is to control these motors to give the required speed and torque. The main aim of this
assignment is to understand the underlying basic robotic concept which is the Parallax Boe-Bot
robot and make it work.
Objective
The objective of this assignment is to program mobile robot to navigate through the maze shown
below and it also will cultivate students knowledge in areas such as sensors, programming and
control system.
Figure 1 Maze
Tasks to be done
1. To assemble a mobile robot (students will be provided with a package of robot parts.)
2. To program a mobile robot in solving the maze (composed of walls) and line maze.
BOE - BOT can navigate through a maze whose dimensions are given but to do that , the
programmer must still take into account how long the BOE - BOT should continue to perform
certain steps to navigate through the maze . For example, if it consists of a maze 1m straight
line , curve to the right and then straight line 2m , you must notify the BOE - BOT how long it
should continue to move forward before turning , and then for how long it should continue to
move forward after the turn. As a result, the program is highly dependent on the maze that you
are working with, and for each maze you have to navigate around the code must be changed .
For this task , you will use the PING sensors ( ultrasonic ) to navigate through the maze with
walls , and you will build a program that will allow you to navigate the robot through the maze
of any kind, regardless of the way the BOE - BOT should follow . The fastest mobile robot to
accomplish the task will be given the highest score
Areas of application:
1) Support to medical services SERVICE ROBOTS
Transportation of food, medication, medical exams,
Automation of pharmacy service
2) Automatic cleaning of (large) areas
Supermarkets, airports, industrial sites
Glass cleaning
Domestic vacuum-cleaner
3) Client support
Museum tours, exhibitions guides
4) Agricultural and Forests
Fruit and vegetable picking, fertilization, planting
Cleaning, fire preventing, tree cutting.
Like this autonomous robots become more prominent in our lives, the need to design and
implement a robust system that responds intelligently to the environment a priority in robotics.
Autonomous robots have proven useful, but they have not proven completely safe. If we invest
more resources into robotics, we will be able to develop a robot that is equipped with a
navigation system that is stable.
Wheels
Wheel far the most popular method of providing mobility robots and robots are used to
encourage many different sizes and robotic platforms. Wheels can be just about the size, of the
fraction of an inch to 10 to 12 inches. Tabletop robots tend to have smaller wheels, typically less
than 2 inches in diameter. Robots can have just about any number of wheels, though 3 and 4 are
the most common. Usually three wheeled robot using two wheels and casters at one end. More
complex two-wheeled robot using gyroscopic stabilization. It is rare that a wheeled robot using
nothing but skid steering (like that of the tank). Rack and pinion steering as found on a car
requires too many parts and the complexity and cost more than most of the profits.
Advantages
- Usually low-cost
- Simple design and construction
- Near infinite different dimensions cater to your specific project
- Six wheels can replace a track system
- Diameter, width, material, weight, tread etc. can all be custom to your needs
- Excellent choice for beginners
Disadvantages
- May lose traction (slip)
- Small contact area (small rectangle or line)
Tracks
Tracks (or footprint) are similar to what are used tanks. The best thing to drive the robot used
outdoors and in soft ground. Although the track does not provide the added "power", they reduce
slippage and more evenly distribute the weight of the robot, making them useful for loose
surfaces such as sand and gravel. Most people tend to agree that the tank tracks added
"aggressive" look to the robot as well.
Advantages
- Constant contact with the ground prevents slipping that might occur with wheels
- Evenly distributed weight helps your robot tackle a variety of surfaces
Disadvantages
- When turning, there is a sideways force that acts on the ground; this can cause damage to the
surface the robot is being used on, and cause the tracks to wear.
- Not many different tracks are available (robot is usually constructed around the tracks)
- Increased mechanical complexity and connections
Legs
An increasing number of robots use legs for mobility. Legs mobile robot are often good for
robots that must navigate the terrain is very uneven. Most amateur robot is designed with
six legs, which allows the robot to be statically balanced (balanced at all times at 3 feet).
Robots with legs are a little more difficult to balance.
Advantages
- Closer to organic/natural motion
- Can potentially overcome large obstacles and navigate very rough terrain
Disadvantages
- Increased mechanical, electronic and coding complexity
- Lower battery size despite increased power demands
- Higher cost to build
Advantages
- Very simple to very complex design possibilities
- Easy to make a 3 or 4 degree of freedom robot arm (two joints and turning base)
Disadvantages
- Stationary unless mounted on a mobile platform
- Cost to build is proportional to lifting capability
Boe-Bot Robot
The Boe-Bot is a basic robot designed by Parallax and its a short name f or Board of Education
robot that combines variety topics of electrical, mechanics, electronics and problem solving. It
consists of built-breadboard that can be used in conjunction with a computer program. The
circuit of 16 pins that line in the breadboard in the left side can be programmed. The pins have
two states 0 which mean false or 1 which mean true. In order to run the wheels there are two
servos motor connected to the robot through the pin 12 for the right servo and pin 13 for the left.
Figure 8 Microcontroller
Servos
The servos, or the wheels, are what allow the Boe-Bot to move. The CRS (Continuous Rotation
Servos) on the Boe-Bot use an analog signal to encode the rotation rate. Each servo is controlled
by three input wires: the red wire is usually connected to the power supply (Vdd), the black wire
is
Figure 9
Servos
usually connected to the ground (Vss) and the white wire is usually connected to the controlling
signal (in this case pin 12 for the right servo and pin 13 for the left).
Ultrasonic sensor
Ultrasound is an acoustic wave that has very high frequency and its beyond human hearing. Its
frequency range between 20Hz and 20Khz. Ultrasound has many characteristics that make it so
useful in our life and led to use in several electronics applications. Ultrasound waves can be
produced with high directivity and they have lower propagation speed than light or radio waves.
Board of Education
Its attached to the robots body and some other parts such as the servo motors, sensor, battery
pack, and microcontroller. Thought the board of education the microcontroller can transfer the
program and codes to the other
robot parts.
Figure 11 Board of
Education
Figure 13 MAZE
From the figure above it shows that the BOE-BOT could navigate through a maze whose
dimensions were given but for doing that, programmer had to keep account of how long the
BOE-BOT should keep performing a certain move in order to navigate through the maze. For
example, if the maze was composed of a 1m straight line, a curve to the right and then a 2m
straight line, you had to tell the BOE-BOT how long it should keep moving forward before
turning, and then for how long it should keep moving forward after the turn. As a consequence,
the program is highly dependent on the maze that we were working with, and for each maze that
we had to navigate the entire code had to be changed.
Program Description
'{$STAMP BS2}
'{$PBASIC 2.5}
PIN
13
LeftServo
PIN
12
Ping_fron
PIN
Ping_lef
PIN
VAR
Word
distance_left
VAR
Word
pulseCount
VAR
Byte
'turn left
PAUSE 20
'turn left
LOOP
PULSOUT Ping_fron, 5
'Activate PING)))
'Calculate Distance
RETURN
Ping_left:
PULSOUT Ping_lef, 5
'Calculate Distance
RETURN
'[Boe-Bot Navigation]'
Forward_:
'Move Forward
FOR pulseCount = 0 TO 10
PAUSE 60
'Refresh Delay
NEXT
RETURN
Forward_25cm:
'Move Forward
FOR pulseCount = 0 TO 60
PAUSE 20
'Refresh Delay
NEXT
RETURN
Forward_Pulse:
FOR pulseCount = 0 TO 9
'Refresh Delay
NEXT
RETURN
Turn_Left:
FOR pulseCount = 0 TO 20
'Refresh Delay
NEXT
RETURN
Turn_Right:
FOR pulseCount = 0 TO 20
PULSOUT LeftServo, 850
PULSOUT RightServo, 850
PAUSE 20
'Refresh Delay
NEXT
RETURN
From the following program statements that has been shown above under program description
we can conclude that the Boe-Bot used left hand rule method navigation this lead us to
If the left ping sensor detect the wall and the front sensor didn't detect this will tell the Boe-Bot
to move forward.
If the left sensor detects the wall also the front sensor this will tell the Boe-Bot to turn right by 90
degree. If the left sensor detect the wall and the front sensor does not this will tell the Boe-Bot to
keep moving forward. The Boe-bot will keep moving forward when the left sensor detect the
wall until the front sensor detect the wall so at this case the Boe-Bot will turn left by 90 degree.
Discussion
From the entire results displayed above the bot-bot mobile robot was already assembled in the
lab. The only thing we did is only connected two ultrasonic one in front and the other one in the
left side. There are 3 pins coming from the ultrasonic sensor and pins are all connected to the
Boe-Bots the ground pin goes to Vss, the supply voltage pin (5V) goes to Vdd pin and finally to
the Signal pin is connected to Pin 1 for the front ultrasonic and Pin 0 for left sensor. The boe-bot
were given specific paths in order to program it to pass through. First was to connected the
ultrasonic to the boe-bot and program it to follow the maze given from the start point till the end
point. The Boe-bot was able to detect the wall and working so good but before the end point. We
used the righ hand rules in order to make the boe-bot turn right if its facing the wall in front and
left side so that the boe-bot only will turn right if the left sensor detect a wall as well as the front
sensor. The boe-bot was not able to go through the end of the maze, its because before the end
point the sensor must detect the front wall only in order to make it turn left side but if failed to do
that so it keep detecting the left and front wall and keep turning right again. Thus, this make the
boe-bot turn right again to the wrong direction. After trying to improve and modified the
program we still could not make it turn to the left side if the left ultrasonic didnt detect any wall.
For an ultrasonic sensor to work, the sound must bounce back from the target. This means that
the sound must travel twice the distance from the sensor to the object. For an object 10 meters
away, the sound must travel 10 meters to the object, and 10 meters back to the sensor, for a total
of 20 meters. After that we connected the line follower sensor in order to make the boe-bot
follow the path given and detect the white tape only. This program works by detecting either the
white tape or green poster board. When detecting the white, both wheels propel the robot forward
in a straight line. If the robot strays towards the green line, it sends a signal to make the opposite
motor spin faster and slows the other one, twisting the robot back onto the track.
Conclusion
In this chapter a brief overview of fundamentals in ultrasonic sensing is presented. Some advanced
techniques and applications to non destructed evaluation are also introduced. The essentials of ultrasonic
sensing are how to drive an ultrasonic wave into an object and how to capture the ultrasonic wave from
the object. In addition, another essential is how to extract the information we want from the captured
ultrasonic wave. To accomplish to drive an ultrasonic wave into an object and how to capture the
ultrasonic wave from the object. In addition, another essential is how to extract the information we want
from the captured ultrasonic wave. To accomplish anology, but, it should be noted that classical
techniques and methods are still attractive and have the potential to create something new.
References
Chapter #1: Detect Distance with the Ping)))(TM) Ultrasonic Sensor. 2014. [online] Available at:
http://users.ece.utexas.edu/~valvano/Datasheets/PingAN.pdf [Accessed: 2 Mar 2014].
hara, I. n.d. Ultrasonic Sensing: Fundamentals and Its Applications to Nondestructive Evaluation.
[online] Available at: http://mcweb.nagaokaut.ac.jp/~ihara/column/ultrasonic%20sensors
%20draft.pdf [Accessed: 2 Mar 2014].
Intechopen.com. 2014. Mobile Robots: towards New Applications | InTechOpen. [online]
Available at: http://www.intechopen.com/books/mobile_robots_towards_new_applications
[Accessed: 28 Feb 2014].
: Latech. 2014. UltrasonicDistance Sensor. [online] Available at:
http://www2.latech.edu/~dehall/LWTL/ENGR122old/notes/1_PING.pdf [Accessed: 3 Mar
2014].
Parallax.com. 2014. Boe-Bot Robot | Parallax Inc. [online] Available at:
http://www.parallax.com/product/boe-bot-robot [Accessed: 5 Mar 2014].
Ribeiro, M. I. 2002. MOBILE ROBOTICS. [e-book] Pedro Lima: Instituto Superior
Tcnico/Instituto de Sistemas e Robtica. pp. 2-30.
http://users.isr.ist.utl.pt/~mir/cadeiras/robmovel/Introduction.pdf [Accessed: 5 Mar 2014].
Robotshop.com. 2014. Basics: What Types of Mobile Robots are There? - RobotShop Blog.
[online] Available at: http://www.robotshop.com/blog/en/what-types-of-mobile-robots-are-there3652 [Accessed: 3 Mar 2014].
University of Pennsylvania ESE 112: Introduction to Electrical & Systems Engineering. 2014.
[online] Available at: http://www.seas.upenn.edu/~ese112/fall09/labs/MazeNavigation.pdf
[Accessed: 3 Mar 2014].