Docsity

Obstacle Avoiding Robot - Final Report | ECGR 5101, Study Guides, Projects, Research of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECEECGR5101–EmbeddedSystems–FinalReport
ObstacleAvoidingRobot Page1of9
AbyKuruvilla&RahulSharma 6
th
December2007
TableofContents
Sec.
No.
Topic PageNo.
1. Motivation……………………………………………………………………... 1
2. AbouttheReport……………………………………………………………... 1
3. IntroductiontoObstacleAvoidingRobot………………………………….. 2
4. Design,PartSelectionandPartsList……………………………………… 3
5. AbouttheRobot……………………………………………………………… 4
6. BlockDiagram………………………………………………………………... 7
7. Algorithms………………………………………………………………………
8
8. Scheduleoftheproject……………………………………………………… 9
9. References……………………………………………………………………. 9
Motivation:
Those‘movingrobots’doingallsortsofthingshasalwaysfascinatedussince we were kids.
The only catch was we had, not much of an idea on how to make one. Our undergraduate
course in Electronics helped us understand concepts from various fields in electronics,
communications, computers, electrical and power devices. But theoreticalhardware concepts
werejustnotenoughtoenterintothefieldofrobotics.TheembeddedsystemscourseatUNCC
helpedusdelveinto the field of computer engineering, where welearnttousebothhardware
andsoftwaretogether.Sowhenwegot thisopportunitytobuildaprojectusingconceptslearnt
inclass,wegrabbeditwithbothhands.OurfrequentinteractionswiththeIEEERoboticsW ing
atCharlottestrengthenedourresolvetogoaheadwiththeproject.
AboutthisReport:
“He who fails to plan, plans to fail”, is what we learnt through our Embedded Systems class.
Planningis thekeyto successfullycompleting anyproject.This FinalReportdocumenttriesto
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Obstacle Avoiding Robot - Final Report | ECGR 5101 and more Study Guides, Projects, Research Electrical and Electronics Engineering in PDF only on Docsity!

Obstacle Avoiding Robot Page 1 of 9 Aby Kuruvilla & Rahul Sharma 6 th^ December 2007

Table of Contents

Sec. No.

Topic Page No.

  1. Motivation……………………………………………………………………... 1
  2. About the Report……………………………………………………………... 1
  3. Introduction to Obstacle Avoiding Robot………………………………….. 2
  4. Design, Part Selection and Parts List……………………………………… 3
  5. About the Robot……………………………………………………………… 4
  6. Block Diagram………………………………………………………………... 7
  7. Algorithms……………………………………………………………………… 8
  8. Schedule of the project……………………………………………………… 9
  9. References……………………………………………………………………. 9

Motivation :

Those ‘moving robots’ doing all sorts of things has always fascinated us since we were kids. The only catch was we had, not much of an idea on how to make one. Our undergraduate course in Electronics helped us understand concepts from various fields in electronics, communications, computers, electrical and power devices. But theoretical hardware concepts were just not enough to enter into the field of robotics. The embedded systems course at UNCC helped us delve into the field of computer engineering, where we learnt to use both hardware and software together. So when we got this opportunity to build a project using concepts learnt in class, we grabbed it with both hands. Our frequent interactions with the IEEE Robotics Wing at Charlotte strengthened our resolve to go ahead with the project.

About this Report :

“He who fails to plan, plans to fail”, is what we learnt through our Embedded Systems class. Planning is the key to successfully completing any project. This Final Report document tries to

Obstacle Avoiding Robot Page 2 of 9 Aby Kuruvilla & Rahul Sharma 6 th^ December 2007

plan methodically on how we can go about building this project, draw up an algorithm and a block diagram, look for components needed and also see the cost involved.

Introduction to ‘Obstacle Avoiding Robot’

Robots have come a long way since the Middle Ages, where ‘automatons’ were first presented in front of a live audience. These robots performed a preset set of motions, or were remotely controlled. Since then, slowly but surely, different types of robots are becoming a part of our daily lives; be it in the car production manufacturing line, packaging of finished goods, mass production of printed circuit board (PCB), telerobots – to replace humans in dangerous and inaccessible sites or robots in medicine, where they can be used to perform an operation remotely.

Robots have come to such an extent that today we visualize robots as fully autonomous machines, capable of taking their own decisions – with no human operator or remote control operating it behind the curtains. Robots are getting smarter, sharper and faster by the day, maybe that’s the reason why Isaac Asimov went ahead and defined the three laws of robotics in his short science fiction story, ‘Runaround’ in 1942, which go as follows:

  1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
  2. A robot must obey orders given to it by human beings except where such orders would conflict with the First Law.
  3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.

We on our part try to delve into this world of Robotics through our ‘Obstacle Avoiding Robot’. Through this project we propose to build an autonomously driven robot which will have obstacle detection and avoidance capability. We plan to use photoresistors and IR Range Finders to implement autonomous capability. Initially we planned to use the use the Renesas QSK62P Board for the robot, but due to a large number of problems we have been facing for loading the program onto the board, we wish to explore either an ARM or AVR board. We plan to implement an optional feature of overriding the autonomous feature by using remote control transmitter and receiver. Another feature that we wish to add is fire/high temperature avoidance using an LM sensor.

Obstacle Avoiding Robot Page 4 of 9 Aby Kuruvilla & Rahul Sharma 6 th^ December 2007

About the robot – How we plan to implement it!!

We plan to build a ‘differential drive robot’ – a method of controlling a robot with only two motorized wheels. The robot may have a third wheel to passively roll along while preventing the robot from falling over, depending on the shape. The term ‘differential’ means that the speed difference between the two motorized wheels of the robot decides the direction and speed at which the robot will turn. As long as both the wheels are running at the same speed, the robot has the ability to move only forward or backward. To move the robot to the right, we keep the right wheel still and move the left wheel forward, and vice versa for moving it left.

Fig: Working of differential drive (Source: www.societyofrobots.com)

For basic object avoidance capability we plan to use the photoresistors. To improve object avoidance we also plan to use an IR range finder. Here we use the ‘photovore algorithm’ to implement this functionality. Photovore is a robot that chases light. To implement the photovore algorithm we plan to use two or three photoresistors and IR range finders, which will be placed at the front of the robot strategically. The analog output from the sensors will be sent to the microcontroller, which does a comparison of the values received. The robot must turn in the direction of the sensor which throws more light. When the sensors mostly give the same amount of light, the robot keeps going straight.

Obstacle Avoiding Robot Page 5 of 9 Aby Kuruvilla & Rahul Sharma 6 th^ December 2007

Fig: Implementation of photovore (Source: www.societyofrobots.com)

Optional Features:

As an optional feature we would like to override the autonomous behavior of the robot and make it remote controlled. We plan to implement this feature if we are able to implement the above features on time. Budgetary constraints will also affect the implementation of this feature.

To implement this feature we would need a handheld remote control transmitter. This is the most expensive part that we may need to buy, costing around $40-200. Remote control transmitters come with their own batteries and charger and usually have a good range. The transmitter comes with different channels, each of which can be used to control one or more item of the robot. A receiver fitted on the robot receives the signals from the transmitter, processes it, and outputs a servo ready signal. These receivers cost anywhere between $30-

  1. They normally work on 5V. Even though we do not need a microcontroller for a remote controlled robot, we would need it to make it tele-operational – something which will process the commands received. The receiver actually outputs a servo square wave. We can change this into an analog value by using a simple resistor – capacitor filter circuit. An analog port on the

ECE ECGR 5101

Obstacle Avoiding Robot Aby Kuruvilla & Rahul Sharma

Block Diagram:

ECE ECGR 5101 – Embedded Systems – Final Report

Aby Kuruvilla & Rahul Sharma 6 th

Page 7 of 9 December 2007

Obstacle Avoiding Robot Page 8 of 9 Aby Kuruvilla & Rahul Sharma 6 th^ December 2007

Algorithms:

To implement photovore:

LOOP:

  • Read the values from the photoresistors and IR sensor.
  • if more light is picked up by sensors on the left o then turn the robot left
  • if more light is picked up by sensors on the right o then turn the robot right
  • if equal amount of light falls on sensors on both sides o then keep going straight
  • LOOP

To implement differential drive movement of wheels:

  • Accept the input from the sensors.
  • Based on the sensor inputs do one of the following o To move straight ahead drive wheels forward at same speed o To move in a reverse direction drive the wheels backward at same speed o To turn left, drive left wheel in reverse and right wheel forward o To turn right, drive right wheel in reverse and left wheel forward

To implement remote control feature (optional):

  • Send a command from the handheld remote control transmitter
  • Receiver receives signal and transmits a servo square wave output.
  • RC filter converts signal into analog and feeds to analog port pin of microcontroller kit.
  • Microcontroller interprets analog input and processes it.
  • Microcontroller signals the relevant part of the robot to take necessary action.

To implement high temperature avoidance (optional):

LOOP:

  • Heat sensor detects ambient temperature continuously and sends it to analog port pin of microcontroller.
  • Microcontroller interprets analog signal and processes it. Note: IC calibrated for 10mV/^0 C.
  • if temperature greater than 60oC o then move away from source of heat.
  • else keep moving in same direction
  • LOOP