capstone spring 2009 critical design review erich hanke electrical engineering cole bendixen...

27
Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical Engineering Quang Than Electrical Engineering HAMSter

Post on 19-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Capstone Spring 2009Critical Design Review

Erich Hanke

Electrical Engineering

Cole Bendixen

Electrical and Computer Engineering

Erik Larson

Electrical Engineering

Quang Than

Electrical Engineering

HAMSter

Page 2: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

2

HAMSter Project Overview

Mobile Servo Powered Cart Stereo-Vision Obstacle DetectionAutonomous NavigationFPGA Hardware / Software ControlIR Sensor “Failsafe” Collision Avoidance

Page 3: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Cart Control Systems

8-bit || I2C

ADC

IR

IR

IR

IR

IR

VIRTEX-5 FPGACam0

Cam1

Opto-ElectricIsolation

Servo

Servo

Servo

Servo

Servo

Servo

Right Wheels

Camera tilt/pan

Left Wheels

COM 1

GPSReceiver

Imageco-proc

DDR2256MB

HDR

COM 0

COMPASS

DEBUG

I2C

ServoControl

PLB

BUS

PowerPC440

Hardcore

BRAM16Mb

DMA

Page 4: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

GPS

12 Channel Lassen IQ GPS Receiver with DGPS RS-232 communication interface.Uses NMEA 0183 communication protocol.Programmable output.

Page 5: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

IR Sensors

Sharp GP2Y0A21YK0F Analog Distance SensorAnalog voltage output.

Vref

Page 6: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Servos

• HSR-8498HB HMI Robot Servo• 180 degrees or continuous rotation operation.• Controlled via 340Hz• PWM signal.

1.456 ms 1.497 ms 1.539 ms

Max. CCW Stopped Max. CW

Page 7: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Compass•Honywell HMC6352•IIC Controlled•SDA, SCL, +3.3V, Gnd• 0.5 Degree Heading Resolution•Write 'A' → Read Direction

Page 8: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Xilinx Virtex 5 FPGA

• 550 MHz Integrated Block Memory (5MB)

• 6 Clock Management Tiles CMT

• Dedicated cascade routing to form 64K x1 Block Memorys

• 1.0 V Core Voltage• 7 Stage PPC Pipeline• Multiple IOB Voltage

Support: 3.3V, 2.5V, 1.8V

Page 9: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

PowerPC 440

1,100 DMIPSUp to 550MHzOut of Order ProcessingBranch Prediction256MB DDR2 200MHz

Page 10: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Cameras

• Videology 20K145DIG• Digital 8 bit YUV 4:2:2

Output• 510x494 Active Pixels• Software Controllable by IIC• Internal Sychronization• 5V • < 0.8 W

Page 11: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Camera Controller

• IIC Interface to Micro• 28.6 MHz Clock• Data on Each Clock• Hsync / Vsync Pins

Page 12: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Camera Board Timing Specs

Page 13: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

13

Stereo Vision

Based upon the phenomena of parallax, where an observation at two locations along a baseline of a common object appears to cause an offset of the object. This offset can be used to determine relative distance to the object.

Camera One Camera Two

d1 d2

Page 14: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Point Spread FunctionSimple PSF is applied to the image to enhance edges.Parameterized sweeper size and intensity.Post convolution threshold filter applied.

Page 15: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

HDL IMAGE CO-PROCESSOR

PPC HARDCORE PROCESSOR

DVI CONTROLLER

IMAGE PROCESSING

PPC REGINTERFACE

PLL

DATABUILDER

DVISIGNAL

GENERATOR

RAM BLOCK

BRAMCONTROL

CONTROLREGISTERS

DATABREAKER

CONVIMAGE

Page 16: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Code Flow Diagram

ProcessFrame

Position Evaluation Orientation

ProcessObjects

DeterminePath

Move andWait

ProcessFrame

Position Evaluation Orientation

ProcessObjects

DeterminePath

Move andWait

IR SensorISR

MovementStopped

ISR

FrameReady

ISR

Page 17: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Servo Controller System

• Memory Mapped Control Registers

• PWM Generators

• Timers

Frequency Register

Control Register

For Each Servo:

Duty Cycle Register

Timer

Timer Control Register

PWM Generator

Page 18: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

FPGA

ADCCamera

x2 IR Sensor

x5

GPS

Battery 2

Opto-Isolator

Servo Motorsx6+

Battery 1

Power Systems

Logic Power SystemServo Power System

Logic Power SystemLogic Power System

Compass

Page 19: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Opto-IsolatorRegulators

Page 20: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

IR Comparators GPS

Page 21: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Board to Board Connectors

Page 22: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical
Page 23: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

BudgetItem Name / Description Unit Price Quantity Sub-Total After Donations

Xilinx ML507 Virtex 5-FX $1,406.00 1 $1,406.00 DONATION

Agilent 1692A Logic Analyzer Mictor Probe $1,150.00 1 $1,150.00 DONATION

Servo-Continuous Rotation Robot Servo CNT $79.99 8 $639.92 DONATION

Servo- Positional Robot Servo $59.99 2 $119.98 DONATION

Lithium Ion Battery Pack: Powerizer 7.4V $49.99 2 $99.98 $99.98

Powerizer Battery Charger $20.00 1 $20.00 $20.00

12 Channel Lassen IQ GPS $59.95 1 $59.95 $59.95

Antenna GPS Ultra-Compact Embedded $18.95 1 $18.95 $18.95

Sharp GP2Y0A21YK0F Distance Sensor $9.95 6 $59.70 $59.70

Color Board Camera 20K145DIG $113.87 2 $227.74 $227.74

3.00mm Lens M-12 $16.00 2 $32.00 $32.00

HMC6352 Digital Compass $59.95 1 $59.95 $59.95

Cart Frame Aluminum / wheels / screws $80.00 1 $80.00 $80.00

Miscellaneous wires and parts $60.00 1 $60.00 $60.00

PCB Layout $40.00 3 $120.00 $120.00

Sub-Total $ $4,154.17 $838.27

Donations $3,315.90

Total $ $838.27

Page 24: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

• Mobile Tethered Bot

• IR Obstacle Avoidance

• Direction Awareness

• PCB Testing Rev-1

• First Cart Frame • Revision

•Mobile Autonomous Bot

•IR + Image Obstacle • Avoidance

• Avoidance Pathing

• GPS Navigation

• Various Operating Modes

• Mobile Untethered Bot

• IR Obstacle Avoidance• + Camera Obstical • Detection

• Fully Battery Powered • Cart

• GPS Direction and • Position Awareness

Milestone 1 ExpoMilestone 2

Page 25: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Erik

Cole

Quang

Erich

Hardware

Erik

Cole

Quang

Erich

PCB

Erik

Cole

Quang

Erich

Software

Erik

Cole

Quang

Erich

Documentation

Division of Labor

Erik

Cole

Quang

Erich

HDL

Page 26: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

RISKS

Wheels operating at same speedsInaccurate calculation of cart speed to judge distance traveledInterrupt Controller

Page 27: Capstone Spring 2009 Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical

Questions???