Implement a Robot for the Trinity College Fire Fighting Robot Competition.

Similar documents
*Contest and Rules Adapted and/or cited from the 2007 Trinity College Home Firefighting Robot Contest

Fire Fighting. Objective. Robot. Fire Fighting. Name of Event: Robots per Team: 1

WCRG 2011 Sumo Robots Rev 0. Sumo Rules. (Mini & Full Size Sumo & LEGO)

2017 Trinity College. Firefighting Robot Competition. Submitted by: Woojin Lee, EE. Rene Perez, EE

Trinity Autonomous Firefighting Robot Contest

Students will design, program, and build a robot vehicle to traverse a maze in 30 seconds without touching any sidewalls or going out of bounds.

LDOR: Laser Directed Object Retrieving Robot. Final Report

Positive Promotion: Use the FIRST and FTC logos in a manner that is positive and promotes FIRST.

Automobile Prototype Servo Control

C - Underground Exploration

Ninth Annual SLIIT. Robotic Competition. Open UAV Race Competition Technical Specification. Organized By

Autonomous Aerial Robot Tournament KISS Institute for Practical Robotics

TEAM AERO-I TEAM AERO-I JOURNAL PAPER DELHI TECHNOLOGICAL UNIVERSITY Journal paper for IARC 2014

GPS System Design and Control Modeling. Chua Shyan Jin, Ronald. Assoc. Prof Gerard Leng. Aeronautical Engineering Group, NUS

Specifications. Chapter Arenas Basic Arena Standard Arena

The Candle Extinguisher ECE 445 Spring 2017 Group #46 TA: Dan Frei

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

UNIT1. Keywords page 13-14

Roborodentia Robot: Tektronix. Sean Yap Advisor: John Seng California Polytechnic State University, San Luis Obispo June 8th, 2016

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Gael Force FRC Team 126

Height Limited Switch

2012 Mechatronics Competition: Capture the Flag

Robofest 2016 BottleSumo

KING OF THE HILL CHALLENGE RULES

Quantizer step: volts Input Voltage [V]

Master Op-Doc/Test Plan

Part of: Inquiry Science with Dartmouth

2018 First Responders 4-H Robotics Challenge Page 1

CLASSIFICATION CONTROL WIDTH LENGTH

EEL5666C IMDL Spring 2006 Student: Andrew Joseph. *Alarm-o-bot*

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

Vision Ques t. Vision Quest. Use the Vision Sensor to drive your robot in Vision Quest!

Precision Range Sensing Free run operation uses a 2Hz filter, with. Stable and reliable range readings and

Robotic Systems Challenge 2013

Sumo-bot Competition Rules

Here Comes the Sun. The Challenge

Winter 2007/2008 Third Annual IEEE Lego Robot Competition Rules

2015 Maryland State 4-H LEGO Robotic Challenge

Contest Field Border Construction Manual

TigreSAT 2010 &2011 June Monthly Report

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

Sioux CCM. Mechatronics Trophy assignment description. Nov 2017 v0.9 Page 1 of 13

Warning: CHOKING HAZARD -Small Parts. Not for Children Under 9 yrs. Kit Recommended for Ages 12 and up.

Mindstorms NXT. mindstorms.lego.com

PCB & Circuit Designing (Summer Training Program 2014)

Medb ot. Medbot. Learn about robot behaviors as you transport medicine in a hospital with Medbot!

Nautical Autonomous System with Task Integration (Code name)

Properties of two light sensors

FIRST Robotics Control System

Use and Copyright Microcontroller Motion Activity #1: Connecting and Testing the Servo Servo on Board of Education Rev. C Servo on Board of Education

Western Kansas Lego Robotics Competition April 16, 2018 Fort Hays State University

VEX Robotics Platform and ROBOTC Software. Introduction

Mini Hexapodinno. 18-DOF Robot

Small and easy to mount IP67 rated. distance to target 1 Weather station monitoring

Robotics Contest Contact: Robin Schamber

INSPECTION AND CORRECTION OF BELLHOUSING TO CRANKSHAFT ALIGNMENT

Web-Based Mobile Robot Simulator

GST BOCES. Regional Robotics Competition & Exhibition. May 29, :00 2:00. Wings of Eagles Discovery Center, Big Flats NY. Mission Mars Rover

Visual Perception Based Behaviors for a Small Autonomous Mobile Robot

For Experimenters and Educators

EEL5666 Intelligent Machines Design Lab. Project Report

Assembly Guide Robokits India

Studuino Icon Programming Environment Guide

MECHATRONICS IN A BOX

This document will provide detailed specifications, BOM information, and assembly instructions for the Official Competition Field.

Autonomous Stair Climbing Algorithm for a Small Four-Tracked Robot

TIP READ THE MANUAL. Following taken from FIRST Tech Challenge Game Manual Part 1 Rev 1.2. ispacescience.org

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

Non-holonomic Robotic Control Using the BasicX-24p Microcontroller

PATH PLANNING OF LINE FOLLOWER ROBOT

Energy Saving Module (HG-ESM-01)

Critical Design Review

The Robot Olympics: A competition for Tribot s and their humans

Broadband Power Amplifier

An Autonomous Self- Propelled Robot Designed for Obstacle Avoidance and Fire Fighting

JHU Robotics Challenge 2015

Lab 1: Testing and Measurement on the r-one

2018 ATMAE Robot Rules February 28, 2018

An Autonomous Firefighting Robot

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

Robotics using Lego Mindstorms EV3 (Intermediate)

A Lego-Based Soccer-Playing Robot Competition For Teaching Design

MANUFACTURING OF SERVO MOTORS

I.1 Smart Machines. Unit Overview:

Mini-Sumo Tournament Rules

WORLD ROBOT OLYMPIAD Advanced Robotics Challenge Game Description, Rules and Scoring SMART GREENHOUSE

In this activity, you will program the BASIC Stamp to control the rotation of each of the Parallax pre-modified servos on the Boe-Bot.

Cedarville University Little Blue

A New Simulator for Botball Robots

Building an autonomous light finder robot

A vibration is one back-and-forth motion.

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

Sample Pages. Classroom Activities for the Busy Teacher: NXT. 2 nd Edition. Classroom Activities for the Busy Teacher: NXT -

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move

Rack Attack. EEL 5666: Intelligent Machines Design Laboratory, University of Florida, Drs. A. Antonio Arroyo and E. M.

Main improvements are increased number of LEDs and therefore better temperature indication with one Celsius degree increments.

Transcription:

Alan Kilian Fall 2011 Implement a Robot for the Trinity College Fire Fighting Robot Competition. Page 1

Introduction: The successful completion of an individualized degree in Mechatronics requires an understanding of mechanical, electrical and computer systems as well as the tools used to design and implement each of these systems to produce a machine capable of performing a specific task. This major project will allow me to learn these tools through self-paced experiential learning, the learning method which is most successful for me. In my previous individualized study projects Design and Construct a Holonomic Motion Platform and Control System; and, Design and Construct an Absolute Heading Sensor for a Robot. I built a three-wheeled robot and a computer to control it as well as a sensor to determine the direction the robot is pointed. For my major project, I will add a flame detector and write software so that the robot can complete several tasks described in the 2001 Trinity College Fire Fighting competition documents including the requirements originally stated in my Project #2 Design and Construct a Holonomic Motion Platform and Control System and adding the Fires and Extinguishing the Candle requirements described below. The requirements I intend to test are as follows: Operation: Once turned on, the robot must be autonomous: self-controlled without any human intervention. Fire-fighting robots must not be manually controlled. A robot may bump into or touch the walls of the arena as it travels, but it cannot mark, dislodge, or damage the walls in doing so. The robot must not leave anything behind as it travels through the arena. It must not make any marks on the floor of the arena that aid in navigation as it travels. Dimensions: The robot must fit in a Bounding Box with a base 31 x 31 cm square and 27 cm high. If the robot has feelers to sense an object or wall, the feelers will be counted as part of the robot s total dimensions. Fires: For obvious reasons of safety and economy, fires will be simulated by small candle flames. The candle flame will be from 15 cm to 20 cm above the nominal floor level. The candle thickness normally will be between 2 cm and 3 cm. The exact height and size of the flame will change throughout the contest depending upon the condition of candle and its surroundings. The robot is required to find the candle no matter what the size of the flame is at that particular moment. Extinguishing the Candle: The robot must, in the opinion of the Judges, have found the candle before it attempts to put it out. For example, the robot cannot just flood the arena with CO2 thereby putting the flame out by accident. The robot must not use any destructive or dangerous methods to put out the candle. The robot may extinguish the candle by blowing air or other oxygen-bearing gas. The Page 2

robot must come within 30 cm of the candle before it attempts to extinguish the flame. There will be a white 30 cm radius solid circle (or circle segment, if the candle is near a wall) on the floor around the candle, and the candle will be placed in the center of the circle. The robot must have some part of its body over the circle before it extinguishes the candle flame. This project is informed by learning in my Depth Criteria and my Extended Studies in Mathematics, Physics and Mechanics. The knowledge gained in the courses of Engineering Fortran, Operating Systems and Data Communications and Distributed Processing allowed me to write the software algorithms required to accomplish the goals of the firefighting competition. The courses I took in Mechanical Engineering: Systems Dynamics and Control and Analog and Digital Control, as well as my Project #1 Develop a tuning guide for PID control systems allowed me to select, write and test appropriate motion controlling algorithms so that I was able to cause the robot to move in a way necessary to accomplish the goals of the firefighting competition. This project is intended as a demonstration of my skills in five specific areas: To understand the mechanical, electrical and computer systems; and tools to design and implement each system in the production of a machine capable of performing a task. To understand the rules, regulations and goals of the Trinity College Fire Fighting competition. To determine a computer system that allows the robot to complete a subset of the competition's goals as listed above. To build a working robot, specifically select electrical components, fabricate parts, write software and assemble a robot to meet the rules and complete goals of the Trinity College Fire Fighting competition. To test the robot s ability to complete task of the Trinity College Firefighting competition including a formal test plan. Typically a robot is designed for a specific purpose such as painting an automobile or putting labels on cans. An undergraduate project such as this one does not have the luxury of a set of requirements for the robot and it is difficult to make up arbitrary requirements. In order to reduce the possible set of requirements to a set that is manageable I have chosen to design and building a robot capable of competing in the Trinity College robot fire-fighting competition. This competition has held annual competitions for more than 15 years and the rules have evolved into a clear, concise document. I am using the competition rules as a guide to help make design choices for the robot in this project even though I may never compete in the fire fighting competition. The main goal in the Trinity competition is to create a fully autonomous robot capable of moving through a maze-like structure, find a lit candle and extinguish the flame. Page 3

In this report, I will present the design of the robot called Trippy. I will explain the design choices I made and the results of those decisions. Page 4

Design To understand the mechanical, electrical and computer systems; and tools to design and implement each system in the production of a machine capable of performing a task. Figure 1 Trippy outside view Power system design: Demonstrate the ability to calculate a theoretical estimate of electrical power consumption, to design an appropriate power source, to construct a power source and to measure the performance of the power source, verifying that it meets the design goal of providing enough power to run the robot for 30 minutes. The robot s power source and recharging circuitry were completely described in Project #2. An overview of the power supply is provided here: The robot has several types of power consuming devices: motors, main processor, motor-control processors, distance sensing devices, a flame sensing device, a DC fan and a display Power for the robot is provided by two Makita brand NiCd battery packs rated at 9.6 Volts and 1500 milliamp-hours. Each battery pack can produce 14,400 milliwatt Hours. I used two battery packs, so the power system is capable of providing approximately 29,000 milliwatt-hours of power. This design is significantly over-rated for the task of Page 5

providing power for the robot for 30 minutes of continuous operation, and provides a good margin of excess power for unanticipated loads such as sensors and communication devices that may be added in the future. Actual current was measured on September 28 2007 and was found to be 190 milliamps when measured at the 18.5 Volt DC supply. This is a power draw of 3.5 Watts which is less than the estimated value. The robot was placed on a concrete floor and ran in a circle for 30-minutes. After this demonstration, the battery voltage measured 18.4 Volts DC. Electronic circuit design: Demonstrate the ability to select electronic components suitable for use in implementing a closed-loop control system for small electric motors. The robot s circuit design was completely described in Project #2. An overview of the circuit design is provided here I used an example circuit from the J.R. KERR reference design to implement a four channel PID motor control system. Figure 2 Complete schematic Page 6

Printed circuit board design: Demonstrate the use of printed circuit board design tools at an intermediate level. The robot s PCB design was completely described in Project #2. An overview of the PCB design is provided here: The schematic from the above electrical design was used to produce a PCB layout. The layout was sent to the Olimex Company in Bulgaria. The resulting PCBs were checked for errors, the errors were corrected and integrated circuits were soldered to the PCBs. The system was tested and errors were corrected. Figure 3Complete motor driver board with motors Figure 4Motor driver board and CPU stacked Page 7

Mechanical system design: Demonstrate the ability to select mechanical components, fabricate machined parts and assemble a simple working mechanical system. The mechanical design of this robot was thoroughly described in Project #2 and a summary is presented here: Figure 5Palm Pilot Robot inspiration The Palm Pilot Robot Kit (PPRK) available on the internet was my inspiration for the wheel design for Trippy. It uses hobby servos to directly drive the wheels. This design has several disadvantages. All the weight of the robot produces torque on the output shaft of the hobby servo and will increase the wear on the output bearings and will result in failure of that part of the mechanical system. I designed a mechanical system that supports the robot weight on two bearings so that there will be no torque on the motor output shaft. Page 8

Figure 6 Trippy wheel mechanical design This mechanical design is sturdy and easily constructed with simple tools. It is easy to align the motor shaft with the end bearing, and remains in alignment without needing periodic adjustment. The entire mechanical assembly can be removed from a structure and reattached without needing any disassembly The initial mechanical structure for Trippy was a triangular base constructed of aluminum U channel with a wheel assembly at each end. This is a pleasing setup to look at, but would have required externally mounted batteries and electronics. Figure 7 Prototype with battery packs Page 9

Figure 8Initial design motor controller and CPU Page 10

I decided it would be better to enclose the batteries and electronics in a metal box to protect them as well as to protect anyone touching the robot. Figure 9 Final mechanical assembly Figure 10Final design motor controller, CPU and batteries Page 11

Figure 11Final design underside The final design incorporates two aluminum trays designed for baking cakes. These trays are just the right size to hold the battery packs, the motor controller PCB, the processor PBC, and the LCD module with enough extra room for a radio and gyroscope which will be added in a later project. In order to follow walls without touching them, four Sharp GP 2D-120-23 infrared range sensors were added. These sensors use reflected light to measure the distance to objects. The GP 2D120 sensor has a sensing range of from 4cm to 30cm which is ideal for this application. The GP 2D120 measures the distance to any objects in front of it and reports the distance as an analog value 20 times per second. Four analog input channels on the Motorola MC68332 were used to read these analog values and convert them into numbers used as a distance estimate in the software. The following image shows the location of the sensors facing to the left and right. Two sensors are used per side so that the robot can align itself parallel to the wall in order to travel straight down the hallway. Page 12

Page 13

Rules: To understand the rules, regulations and goals of the Trinity College Fire Fighting competition. The model house layout is as follows: Operation: Once turned on, the robot must be autonomous: self-controlled without any human intervention. Fire-fighting robots must not be manually controlled. A robot may bump into or touch the walls of the arena as it travels, but it cannot mark, dislodge, or damage the walls in doing so. The robot must not leave anything behind as it travels through the arena. It must not make any marks on the floor of the arena that aid in navigation as it travels. Trippy is an autonomous robot and the only user interaction is pressing the start pushbutton. The radio link is only used for debugging and tuning operations and is not used during the competition. Page 14

Dimensions: The robot must fit in a Bounding Box with a base 31 x 31 cm square and 27 cm high. If the robot has feelers to sense an object or wall, the feelers will be counted as part of the robot s total dimensions. Trippy fits within this bounding box as show in the photographs below. Page 15

Fires: For obvious reasons of safety and economy, fires will be simulated by small candle flames. The candle flame will be from 15 cm to 20 cm above the nominal floor level. The candle thickness normally will be between 2 cm and 3 cm. The exact height and size of the flame will change throughout the contest depending upon the condition of candle and its surroundings. The robot is required to find the candle no matter what the size of the flame is at that particular moment. Trippy has an ultraviolet light detector specifically designed to detect fire. From the C10423 data sheet: The Hamamatsu C10423 is a compact power supply and signal processing circuit developed to drive the high-sensitivity UV sensor "UV TRON R9454". Combining the C10423 with a high-sensitivity "UV TRON R9454 for use as a flame detector yields sensitivity capable of detecting the flame from a cigarette lighter (flame length 25 mm) even at distances up to 5 meters away. This is an ideal sensor for this application for several reasons. It requires only low voltage DC which is already available on the robot, so no additional power supplies will need to be constructed and tested. It is a complete sensor system which automatically rejects background signals such as cosmic rays, solar UV rays, etc. Page 16

Using this compact complete sensor system reduces the effort required to accurately detect the candle flame. Extinguishing the Candle: The robot must, in the opinion of the Judges, have found the candle before it attempts to put it out. For example, the robot cannot just flood the arena with CO2 thereby putting the flame out by accident. The robot must not use any destructive or dangerous methods to put out the candle. The robot may extinguish the candle by blowing air or other oxygen-bearing gas. The robot must come within 30 cm of the candle before it attempts to extinguish the flame. There will be a white 30 cm radius solid circle (or circle segment, if the candle is near a wall) on the floor around the candle, and the candle will be placed in the center of the circle. The robot must have some part of its body over the circle before it extinguishes the candle flame. Trippy has a DC powered front facing fan to extinguish the candle. This fan should be controlled with a relay to turn it on only when the candle has been detected, but I did not implement that at this time. In order to simulate the relay, I inserted a small piece of cardboard to block the fan inlet and removed it once the robot was in position to extinguish the candle. This would need to be changed to meet the rules of no human interaction. Page 17

Computer System: To determine a computer system that allows the robot to complete the competition's goals. Trippy uses a small microcontroller from Project #2 which is capable of running on low voltage DC and draws little current. It also is capable of running a small Real Time Operating System (RTOS). This ability makes it easy to implement software to perform the tasks required of the robot. Page 18

Robot: To build a working robot, specifically select electrical components, fabricate parts, write software and assembly, to meet the rules and complete goals of the Trinity College Fire Fighting competition. Most of the robot s mechanical system has been described above in the Design section. Sensors were added to measure the distance from the robot to wall sections both to avoid hitting the walls and to determine the location of the robot in the maze. A small DC fan was added to extinguish the candle. Page 19

Test: To test the robot s ability to complete task of the Trinity College Firefighting competition including a formal test plan. 1. The robot shall fit inside a 31cm x 31cm box 27cm high. 1.1. A cardboard box was constructed with a base 31cm by 31cm and a vertical flag 27cm tall. The robot was placed into the box and photographs were taken to document that no part of the robot extended beyond the allowed boundaries. 2. The robot shall not touch walls intentionally. 2.1. Do not get closer than 3cm to the wall. The robot was placed in a hallway consisting of two sheets of plywood paneling material 46 cm apart. The robot was commanded to align itself parallel to the walls and to center itself in the hallway. The robot was then commanded to drive straight for 91 cm to simulate driving down the maximally length wall in the simulated house. While the robot was moving down the hallway, it was observed and the distance to the walls never approached 2.54 cm. The robot was tested 10 times while visual observations were taken and the closest distance to the walls was estimated at approximately 5cm. The blue tape in the image is 2.54cm wide. Page 20

3. Robot shall be able to travel down hallway in various lighting conditions: 3.1. Near darkness 3.2. Extra light shining on wall. 3.3. While camera flash is being used. The testing procedure in test #2.1.1 above was run in various lighting conditions and the robot was able to maintain a 3cm separation from the walls under all conditions listed. 4. Robot shall find candle. The robot was placed in various orientations relative to a lit candle and was commanded to orient towards the candle. The robot rotated until it detected the candle and stopped. The candle was placed either 10cm or 30cm away from the robot and the robot detected the candle and stopped each time. The candle was extinguished and the robot was commanded to find the candle. The robot was unable to detect the candle when it was not lit. 5. Robot shall extinguish candle. Since the robot does not have an on/off control for the DC fan, the fan blows the candle out while the robot is attempting to detect the candle and approach it. In order to test if the robot could detect and approach the candle if its fan was not running, I manually placed a piece of cardboard on the inlet side of the DC fan thus blocking airflow and allowing the robot to detect and approach the candle. The robot was commanded to approach the candle and extinguish it using the DC fan. Since the robot does not have a downward looking brightness detector, it was commanded to move 10cm and stop after detecting the candle. It then halted and I manually removed the cardboard from the inlet side of the fan. On all tests, the robot was able to extinguish the candle. Conclusions: The robot was able to perform all the actions required to compete in the 2001 Trinity firefighting contest individually, however these actions were not combined into a fully functioning robot. Several things would need to be enhanced in order to compete: A downward looking line detector would need to be added to detect when the robot was near the candle. A relay or other electrical device would need to be added to turn the DC Fan on only when the robot was attempting to extinguish the candle. Page 21

A full-size room would need to be constructed and the robot tested to insure it could correctly navigate the room and find the candle in all rooms without contacting the house walls. Page 22