take your jacket off kelliescott kendalljayson final presentation members: jayson nakakura:...

43
take your JACKET take your JACKET OFF OFF KELLIE KELLIE SCOTT SCOTT KENDALL KENDALL JAYSON JAYSON

Post on 21-Dec-2015

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

take your JACKET take your JACKET OFFOFF

KELLIEKELLIE SCOTTSCOTT

KENDALLKENDALL JAYSONJAYSON

Page 2: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Final PresentationFinal Presentation

Members:Members: Jayson NakakuraJayson Nakakura: Chassis Design and : Chassis Design and

FabricationFabrication Kellie MurakamiKellie Murakami: Circuitry Design and : Circuitry Design and

FabricationFabrication Scott BonillaScott Bonilla: Algorithm Development and : Algorithm Development and

ProgrammingProgramming Kendall KogasakaKendall Kogasaka: Programming: Programming

Hi I’m Scott

Page 3: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Overview of ProjectOverview of Project

Micromouse:Micromouse: Autonomous programmable robot designed to Autonomous programmable robot designed to

navigate and solve a 16x16 square mazenavigate and solve a 16x16 square maze Mouse must be less than 25cm x 25cm, but Mouse must be less than 25cm x 25cm, but

there is no height limitationthere is no height limitation

Page 4: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Initial GoalsInitial Goals

Find the center by solving the maze using Find the center by solving the maze using a flood fill algorithma flood fill algorithm

Don’t run into walls or get lost in the mazeDon’t run into walls or get lost in the maze Don’t waste time with dead ends, loops, & Don’t waste time with dead ends, loops, &

spiralsspirals Speed run after initially solving the mazeSpeed run after initially solving the maze Compete in the mini-competition!Compete in the mini-competition!

Page 5: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Overview of Structure of Overview of Structure of Design and Decisions MadeDesign and Decisions Made

Block diagramBlock diagram Solving and mapping algorithmsSolving and mapping algorithms SteppingStepping Chassis slidersChassis sliders SensorsSensors

Original arrangmentOriginal arrangment First ModificationFirst Modification Second ModificationSecond Modification Third ModificationThird Modification

Page 6: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Block DiagramBlock Diagram

Page 7: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

1

2

2

3

3

3

4

4

4

44

5

5

5

5

5

5

6

6

6

66

6

6

7

7

77

7

7

7

7

8

8

8

8

8

8

8

9

99

9

9

9

1010

10

10

10

11

11

11

1112

12

12

13

13M

0

13

12

1314

14

2

WALLSADDED-IN WALLS

UNSEEN WALLS

SolvingSolving

Page 8: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Original S-TurnOriginal S-Turn

Page 9: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Modified S-TurnModified S-Turn

Page 10: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

45 Turn45 Turn

Page 11: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Program OverviewProgram Overview

Flood-fill algorithm starting from Flood-fill algorithm starting from destinationdestination

No 180 degree turnsNo 180 degree turns S-turns & 45 degree turnsS-turns & 45 degree turns Speed runsSpeed runs Searched cellsSearched cells

Wall Input on 1Wall Input on 1stst visit only visit only Speed upSpeed up

Page 12: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Maze Cell ValuesMaze Cell Values

Is there Is there leftleft / / toptop / / rightright / / bottombottom walls? walls? Has the Has the cell been searchedcell been searched?? Flood fillFlood fill value value All the info is in a single 16 bit int value.All the info is in a single 16 bit int value.

00001111 0 01100 00 0000 01110000 0111

Set by bit operations (and, or)Set by bit operations (and, or) Get by bitwise mask and shiftGet by bitwise mask and shift

Page 13: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Program Flow Diagram Program Flow Diagram (1)(1)

starting_values()

fill_array()

Is flood-fillneccessary?

Yes

Page 14: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Program Flow Diagram Program Flow Diagram (2)(2)

move_decision()

step(LEFT) orstep(RIGHT)

Which move?

step(STRAIGHT) step(HALF)

front_wall_input()and

side_wall_input()

turn around bychanging mousestate variables

Page 15: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

PartsParts

Chassis: Green 2092 PlexiglasChassis: Green 2092 Plexiglas PCB: One-sided copperPCB: One-sided copper Processor: RabbitProcessor: Rabbit Bipolar Stepper Motors: Jameco 237471CBBipolar Stepper Motors: Jameco 237471CB Stepper Motor Drivers: ON Semiconductor MC3479Stepper Motor Drivers: ON Semiconductor MC3479 Side Sensors: Sharp GP2D120 IR SensorSide Sensors: Sharp GP2D120 IR Sensor A/D Converter: Maxim MAX118A/D Converter: Maxim MAX118 Batteries: 10 1.2V RechargeablesBatteries: 10 1.2V Rechargeables Miscellaneous: 5V regulator, chip connectors, wire Miscellaneous: 5V regulator, chip connectors, wire

connectors, On/Off switchconnectors, On/Off switch

Page 16: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Hardware - ChassisHardware - Chassis

FrontFront

Page 17: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Hardware – ChassisHardware – Chassis

SideSide

Page 18: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Hardware - ChassisHardware - Chassis

Page 19: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Balancing ChassisBalancing Chassis

What to use to keep chassis balancedWhat to use to keep chassis balanced Sliders?Sliders?

Too bigToo big Ball CastersBall Casters

The smallest ones would fit well (9mm tall)The smallest ones would fit well (9mm tall) $20 each – YOU MUST BE CRAZY$20 each – YOU MUST BE CRAZY

Acorn NutsAcorn Nuts JackpotJackpot

Fits wellFits well cheapcheap

Page 20: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

SensorsSensors

How to mount sensors?How to mount sensors? Erector set double angle bracketsErector set double angle brackets

Hole distances for both sensors and brackets are Hole distances for both sensors and brackets are in metricin metric

CheapCheap GREENGREEN

Page 21: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

First Sensor ArrangementFirst Sensor Arrangement

Page 22: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

Outside sensorsOutside sensors Problems with reading side wallsProblems with reading side walls

If too close then no valueIf too close then no value Tracking problemsTracking problems

Horizontal center sensorHorizontal center sensor Caused problems with alignmentCaused problems with alignment

Mouse tends to drift towards detector sideMouse tends to drift towards detector side

Page 23: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

Second ArrangementSecond Arrangement

Page 24: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry
Page 25: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry
Page 26: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

Outside SensorsOutside Sensors Still having problemsStill having problems

ValuesValues TrackingTracking

WiringWiring Bending wire too muchBending wire too much

Wire breaking off of crimpsWire breaking off of crimps

Sensor connector hits the wall firstSensor connector hits the wall first

Page 27: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

Third ArrangementThird Arrangement

Page 28: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry
Page 29: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry
Page 30: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Sensor PlacementSensor Placement

Emitters and Detectors at different levelsEmitters and Detectors at different levels No cross signal readingsNo cross signal readings

AlignmentAlignment Able to read further aheadAble to read further ahead Outside sensors do not get too closeOutside sensors do not get too close

ConsistentConsistent

WiringWiring Still bentStill bent Does not hit walls anymoreDoes not hit walls anymore

Page 31: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Additional Sensor Additional Sensor ProblemsProblems

Output readingsOutput readings Low OutputLow Output

Poor Voltage in connectionPoor Voltage in connection

Fluctuating OutputsFluctuating Outputs Poor Voltage out connectionPoor Voltage out connection Loose groundLoose ground Sensor connectorSensor connector

Loose contact between sensor and its connectorLoose contact between sensor and its connector

Page 32: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

BumpersBumpers

Sensors overhang the chassisSensors overhang the chassis Sensors hit the walls and pegs firstSensors hit the walls and pegs first

Bumper SolutionBumper Solution Shaved erector set piecesShaved erector set pieces

Takes impact off of outside sensorsTakes impact off of outside sensors No more worries about sensors slamming into No more worries about sensors slamming into

the wallsthe walls

Page 33: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Accessing BatteriesAccessing Batteries

The battery packs are held tightly The battery packs are held tightly between the motors and sensorsbetween the motors and sensors Problems accessingProblems accessing

Many wires in the wayMany wires in the way Taking top offTaking top off

Tension on the connectors each timeTension on the connectors each time Resulting in more loose connectionsResulting in more loose connections

Page 34: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

SolutionSolution

Addition of a hingeAddition of a hinge Hinge second plexi-glass with the erector set Hinge second plexi-glass with the erector set

double angle bracketsdouble angle brackets Now we have a hood (ORIGINALITY)Now we have a hood (ORIGINALITY)

Looks goodLooks good No tensionNo tension No breaking connectionsNo breaking connections

Page 35: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

TRIPLETSTRIPLETS

Page 36: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

ResettingResetting

Final problem before regionalsFinal problem before regionals Mouse resetting itself to the starting cellMouse resetting itself to the starting cell

WHAT THE?WHAT THE? Code?Code? Hardware?Hardware? Bad luck?Bad luck?

Page 37: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

SituationSituation

We got the s turns downWe got the s turns down Now able to do long continuous runsNow able to do long continuous runs Noticed resettingNoticed resetting

We checked the codeWe checked the code We checked the circuitWe checked the circuit

Page 38: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

SimilaritiesSimilarities

The mouse would reset on its first run on a The mouse would reset on its first run on a long pathlong path

The mouse would reset on its fourth or fifth run The mouse would reset on its fourth or fifth run on a short pathon a short path

Noticed that as mouse kept running, voltage Noticed that as mouse kept running, voltage regulator output increasedregulator output increased Starting around 4.8VStarting around 4.8V Increasing up to 5.2VIncreasing up to 5.2V

Page 39: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

SolutionSolution

Mouse runs longerMouse runs longer Voltage regulator heats up and passes more Voltage regulator heats up and passes more

voltagevoltage

Add a heat sync to dissipate heatAdd a heat sync to dissipate heat JACKPOTJACKPOT

Runs until batteries dieRuns until batteries die Or crashes because moving too fastOr crashes because moving too fast

Ready for regionalsReady for regionals

Page 40: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

CompetitionCompetition

Held at CSU FresnoHeld at CSU Fresno Competed against 12 other miceCompeted against 12 other mice Placed 3Placed 3rdrd by searching 113 cells by searching 113 cells

Didn't get to show off 45sDidn't get to show off 45s Didn't reach the centerDidn't reach the center

Congratulations, Kyle!!! (2Congratulations, Kyle!!! (2ndnd place) place)

Page 41: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Outstanding ProblemsOutstanding Problems

Broken sensor at competitionBroken sensor at competition Couldn't get reset code to workCouldn't get reset code to work No way to physically switch between No way to physically switch between

different algorithmsdifferent algorithms Breaking connections of sensors when Breaking connections of sensors when

changing batterieschanging batteries

Page 42: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Suggestions for Further Suggestions for Further ImprovementImprovement

Directly hardwire sensors to PCBDirectly hardwire sensors to PCB Write new reset codeWrite new reset code Add dipswitch to the circuitAdd dipswitch to the circuit Make batteries more accesibleMake batteries more accesible

Page 43: take your JACKET OFF KELLIESCOTT KENDALLJAYSON Final Presentation  Members:  Jayson Nakakura: Chassis Design and Fabrication  Kellie Murakami: Circuitry

Thank you!Thank you!

Any Questions???Any Questions???