Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables...
Transcript of Emergent Behavior Robot - Bradleyee.bradley.edu › projects › proj2010 › ebr › deliverables...
![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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/1.jpg)
![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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022052612/5f0ed7c47e708231d44134da/html5/thumbnails/19.jpg)
Obstacle Avoidance Paths
19