emergent behavior robot - bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables...

19

Upload: others

Post on 26-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic
Page 2: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Emergent Behavior RobotBradley University - Senior Capstone Project

Spring Progress Presentation

By: Andrew Elliott & Nick Hanauer

Advisor: Joel Schipper

February 23, 2010

Page 3: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Overview

• Introduction

• Block Diagram

• Completed Work

• Next Steps

• Future Steps

• Schedule

33

Page 4: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Introduction

• Study Emergent Behavior

– React intelligently to a dynamic environment

• Emergent Behavior

– The result is greater than the sum of its parts

4

Page 5: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Objective

• Create a robot that:

– Avoids obstacles

– Seeks and finds beacon

– Flees from loud sounds

– Favors darker environments

– Displays emergent behavior

5

Page 6: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

High-LevelSystemOverview

6

Ultrasonic

Sensor

Bump

SensorsIR Sensor Microphones Light Sensors

ATmega128 Microcontroller

Left Motor Right Motor

Robot’s Reaction to

Environment

Robot’s Environment

Ha

rdw

are

So

ftw

are

Ha

rdw

are

H-BridgeH-Bridge

Page 7: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Software - Modes and Task Priority • Modes (all modes include obstacle avoidance)

– Roam mode

• Search for beacon

– Evade mode

• Travel quickly away from source of sound

• Find shelter (low light area)

– Pursuit mode

• Travel toward beacon

• Priority (1 is the highest)

Task Roam Travel in low light Beacon

found

Detection of a

loud sound

Obstacle

avoidance

Priority 6 5 (3 in Evade mode) 4 2 17

Page 8: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Completed Work (1)

• Robot chassis

– Cut chassis

– Fabricated motor mount brackets

– Ceramic drawer pull as rear caster

88

Page 9: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Completed Work (2)

• Parts

– Received

• Sharp GP2D12 IR sensors

• Hennkwell HG37F DC motors

• Acroname H-Bridge components

• Wheels and Hubs

• Microphones

• Reflective light sensors

– Ordered

• Bump sensors

9

Page 10: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Completed Work (3)

• Software

– Read output from IR sensor using ADC

– Generate stable PWM at 62.5kHz

– Interface with H-Bridge

– Pre-programmed path

– Basic obstacle avoidance

10

Page 11: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Completed Work (4)

11

Two IR sensors independently control two PWMs.

Page 12: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Completed Work (5)

• Hardware

– H-Bridge circuitry

– Microphone and

amplifier circuitry

• Hardware issues

– H-Bridge unable to reverse direction

• Issue resolved with external bootstrap capacitors

– Noise in microphone output

12

Page 13: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Next Steps

• Hardware

– Filter noise from microphones

– Reflective light sensors

– Ultrasonic beacon

– 24V batteries

• Software

– Smarter obstacle avoidance

– Interface microphones

13

Page 14: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Future Steps

• Chassis

– Mount sensors, batteries, etc.

• Hardware

– Electrically isolate motors and microcontroller

• Separate battery and Opto-isolators

• Software

– Determine direction of sound

– Determine “darker” environment

– Determine direction of beacon

– Develop emergent behavior14

Page 15: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Schedule

15

Week Andrew Elliott Nick Hanauer

1-3 Research & Website Development Parts Research

4 Learn ATmega128 Parts Testing & Research

5 Interface with the Digital I/O Parts Testing & Finalizing Parts List

6 ADC SetupParts Testing & Order Remaining

Parts

Winter Break Construct Chassis

7 Interface IR Sensors Motor & H-Bridge Circuitry/Testing

8 Interface Microphones & light sensorMicrophone & light sensor

Circuitry/Testing

9 Interface Motors & H-Bridge Ultrasonic Circuitry/Testing

10-11 Integrating All SensorsCircuitry Clean-Up & Wire

Wrapping

12-15 Final Behavioral Software & Hardware

16-17 Final Documentation and Presentation Preparation

Page 16: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Questions?

Emergent Behavior Robot

Andrew Elliott & Nick Hanauer

Joel Schipper

1616

Page 17: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Detecting “Darker” Environment

• Use optical sensor pointed at ground

17

Page 18: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Detecting Direction of Sound

• Array of three microphones

• Interrupt based

– Triangulation

– First to detect

18

Page 19: Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables › EBR... · 2010-05-14 · S e n s o r B u m p S e n s o rs I R S e n s o r Mic

Obstacle Avoidance Paths

19