Docsity

Autonomous Robot System for Drink Delivery at a Bar: Final Report, Study Guides, Projects, Research of Machine Design

Partial preview of the text

Download Autonomous Robot System for Drink Delivery at a Bar: Final Report and more Study Guides, Projects, Research Machine Design in PDF only on Docsity!

University of Florida

Department of Electrical and Computer Engineering

EEL

Intelligent Machine Design Laboratory

Final Report

Sarit Patel

“REEB”

Monday, December 08, 2008

Instructors: Dr. A. Antonio Arroyo

Dr. Eric M. Schwartz

TA: Mike Pridgen

Thomas Vermeer

Table of Contents

  • Abstract
  • Introduction
  • Functionality
  • Integrated System
    • Figure 1: Block Diagram for Robot Platform
    • Figure 2: Bar Top Layout
    • Figure 3: Bottle Racks
  • Mobile Platform
    • Figure 4: Robot Platform
  • Actuation
  • Sensors
    • Figure 5: Line Tracker Board
  • Behaviors
    • Figure 6: Line Tracking Behavior on completed bar top..............................................
  • Experimental Layout and Results
  • Conclusions
  • References
  • Appendix
    • Robot Behavior Code – see attached files
    • Line Tracker Board Circuit
    • Push Button Switches Circuit
    • Optical Isolation Board Circuit

proceed to the station that placed the order. Once the robot reaches the station, it will

rotate to deliver the drink that it is currently holding. Then, the robot will return to the

starting point and start the cycle again.

Integrated System

There are three main components that will be discussed. The robot, bar top, and

bottle racks. The robot platform will be made up of several different components. There

will be two IR based line tracking boards that will be used for line following. In addition

to the line trackers, there will be bump switches to detect if there has been a collision.

Another component will be the RFID reader which will read the users RFID tag for their

order. A sonar sensor will be used to detect if a user is waiting at one of the ordering

stations. In addition to this, the mechanical parts will consist of a two wheel servos and a

servo for the arm that will pick up and hold the drink. The robot platform will be

controlled by the PVR ATmega 128 development board. There is also an iPod Touch

integrated into the system for simple user feedback such as sound and pictures. A block

diagram for the complete robot system is shown in Figure 1.

The bar top on which the robot will move is built to be a custom designed bar top

with the necessary lines laid out to do line tracking. The platform is currently built from

three pieces each measuring 2 feet by 4 feet. The bar top folds to make it easier to

transport. The lines help guide the robot to the ordering stations and the correct drink

stations. A picture of the existing bar top is shown in Figure 2. The smaller, intersecting

lines help guide the robot and indicate where the robot is relative to the rest of the bar

top. The dark black squares on the bar top are used to indicate a stop point for the robot

when it turns to present the drink to the user. Further discussion of the bar top can be

found in the Experimental Layout section.

The final component of the system is the bottle rack. The bottle rack had to be

designed and built as there were no commercially available solutions. Each rack can hold

5 bottles and is slightly raised from the back. This incline is used to allow the bottles to

roll down as one is removed from the front. The designed bottle racks are shown in

Figure 3. Again, the bottle racks and their use are described further in the Experimental

Layout section.

Figure 1: Block Diagram for Robot Platform

Figure 2: Bar Top Layout

Front/Back

Line

Trackers

RFID

Reader

Sonar

Sensor

ATMega 128

Development

Board

LCD for

Developer

Feedback

Wheel

and Arm

Servos

Batteries

Figure 4: Robot Platform

Actuation

The wheels on the robot are controlled by two continuous motion servos (HSR-

1422CR)

. Each servo independently controls a wheel giving a differential drive system.

The drive servos were connected to a separate power supply of 6 volts instead of the 5

volts from the PVR board. This was accomplished by connecting the signal from the

PVR board to an optical isolation board. The board helps isolate the two power supplies

and prevents noise from the 6 volt supply transferring to the 5 volt supply. The extra

power also increased the RPMs of each servo. The arm that picks up and holds the drink

is raised and lowered by another servo. The arm servo requires more torque which is

provided by the HS-475HB servo. In order to maximize the torque from the HS-475, the

bottle arm had to be kept as short as possible. If the arm was any longer, it would try to

raise the bottle and stall. A support was also added on the other side of the arm, opposite

the servo, to give additional support.

Sensors

Three different types of sensors are used in this project. The first is an IR line

tracking sensor, the second one is an RFID reader, and the third one is a sonar sensor.

The line tracking sensor is based on the TCRT5000 optical sensor which is made up of an

infrared emitter and a phototransistor. Each line tracker contains six individual optical

sensors. The sensor spacing is based on the width of the black line that is placed on the

bar top. A maximum of two IR sensors can see the line at any one time. The four

sensors in the middle of the board allow for fine tracking of the line. The outer sensors

are used for when the robot makes a sharp turn. Each sensor’s output is connected to a

Schmitt Trigger to provide an output of binary ‘1’ or ‘0’ to determine if the

corresponding IR sensor detects a line or not. There is also a LED connected to each

output for quick debug purposes to determine if the line tracker is functioning correctly.

Sonar Sensor

Bottle Arm

Bumper

iPod Touch

RGB Led

RFID

Reader

Bottle

Indicator

Switch

The line trackers worked perfectly after a few wiring modifications. The copper boards

did not hold up too well to the soldering, so several wires were soldered to complete the

connections. The line tracker board is shown in Figure 5.

Figure 5: Line Tracker Board

The RFID reader is an ID-

RFID reader. This RFID reader will read a tag id

and deliver the tags unique identifier through a serial line to the host processor. This chip

helps eliminate the need to build an RFID reader or purchase a very expensive one. The

antenna and the circuitry required are built into a small package allowing easy integration

into the robot.

The sonar sensor is a Maxbotix LV-EZ

[2]

. The sonar sensor has a short and

narrow range of detection which is ideal for this application. The sensor outputs an

analog voltage based on the distance the object is detected at. An inch is represented by

9.8 mV. The sensor is connected to an Analog to Digital port on the PVR board which

makes it even easier to integrate. Serial communication is available for greater accuracy,

but in this case, the analog voltage levels were sufficient.

Behaviors

The main task of the robot is to retrieve a drink based on a user’s order. The

robot will use line tracking behavior to perform this task. The line tracker sensors can

distinguish between colors that are dark and lighter colors. Therefore, a black line is

placed on the bar top to direct the robot around the bar top. Figure 6 shows the bar top

with the relevant lines numbered.

Figure 6: Line Tracking Behavior on completed bar top

Experimental Layout and Results

The robot was tested on a plywood bar top which has the line tracking path laid

out on top. Figure 6 shows the completed bar top. Various intersecting lines are used to

help guide the robot along and give it some navigation points. The black line on the bar

top is ¾” electrical tape. The width of the tape was taken into consideration when

designing the line tracker sensors. A maximum of two IR sensors per board would be

able to see the line at any one time. This allows for finer line tracking compared to a

single sensor in the middle.

The bottle racks were custom designed and built. Each rack has just enough

support on the outer edges for the bottle. This was done so that the arm for the robot can

move in and pick up the drink without hitting the sides of the rack. The racks are slightly

raised in the back so that the drinks can roll down as one is removed from the front. The

fronts of the racks have a tab on each side to stop the bottle from rolling off the front.

Each rack is positioned based on an initial trial run of the robot. Since each path leading

to the drink racks is different, this allows for accurate positioning when the robot

approaches each drink station.

Drink rack indicators

B A

C

Stop Box

Conclusions

In conclusion, the autonomous robot system is used to help deliver drinks to users

that are waiting at one of the stations on the bar top. Various components are integrated

to work together and process the data received from the sensors. Two line tracking

boards help the robot move around on the bar top. A sonar sensor helps the robot detect a

user at an ordering station and the RFID reader is used to present a simple ordering

system. Visual aids such as the RGB led and the iPod Touch help the user along and

indicate the current status of the robot. Overall, the robot was a success as it completed

all its tasks. Further work includes a full integration of the iPod Touch as the main

ordering system. A smaller compact bar top would be great as this would mean greater

mobility.

References

Lynxmotion – www.lynxmotion.com – Supplier of Robot kits and components.

Sparkfun – www.sparkfun.com – Supplier of various parts for electronics projects.

REEB 13 Patel

S

CNY17-

S

CNY17-

S

CNY17-

S

CNY17-

VCC_GND

Header 4X

VCC GND

SIG

SIG

SIG

SIG

GND_IN

SIG_OUT

SIG_OUT

SIG_OUT

SIG_OUT

SIG

VCC

SIG_OUT

VCC

SIG_OUT

SIG

VCC

SIG

SIG_OUT

VCC

SIG_OUT

SIG

t°

RIN

Res Thermal

t°

RIN

Res Thermal

t°

RIN

Res Thermal

t°

RIN

Res Thermal

GND_IN

GND_IN

GND_IN

GND_IN

t°

ROUT

1K

t°

ROUT

1K

t°

ROUT

1K

t°

ROUT

1K

GND

GND

GND

GND

SIG_IN_BATT

Header 10

1_2_PWR

Header 2X

3_4_PWR

Header 2X

1_2_OUT

Header 2

3_4_OUT

Header 2

GND VCC

GND VCC

Push Button Switches Circuit

Optical Isolation Board Circuit

10K

R

Res 20K

R

Res 47K

R

Res 100K

R

Res

10K

R

Res

JP

Header 11

VCCGNDVoutSW

1_

SW

2_

VoutSW

3_

VoutSW

4_

Vout Vout

VCC

Vout

GND

SW1_1 SW2_1 SW3_1 SW4_