280 likes | 438 Views
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. HAMSter Project Overview. Mobile Servo Powered Cart
E N D
Capstone Spring 2009Critical Design Review Erich Hanke Electrical Engineering Cole Bendixen Electrical and Computer Engineering Erik Larson Electrical Engineering Quang Than Electrical Engineering HAMSter
HAMSter Project Overview • Mobile Servo Powered Cart • Stereo-Vision Obstacle Detection • Autonomous Navigation • FPGA Hardware / Software Control • IR Sensor “Failsafe” Collision Avoidance 2
GPS • 12 Channel Lassen IQ GPS Receiver with DGPS • RS-232 communication interface. • Uses NMEA 0183 communication protocol. • Programmable output.
IR Sensors • Sharp GP2Y0A21YK0F Analog Distance Sensor • Analog voltage output.
Servos • HSR-8498HB HMI Robot Servo • 180 degrees or continuous rotation operation. • Controlled via 340Hz • PWM signal. Max. CW Stopped Max. CCW 1.456 ms 1.497 ms 1.539 ms
Compass • Honywell HMC6352 • IIC Controlled • SDA, SCL, +3.3V, Gnd • 0.5 Degree Heading Resolution • Write 'A' → Read Direction
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
PowerPC 440 • 1,100 DMIPS • Up to 550MHz • Out of Order Processing • Branch Prediction • 256MB DDR2 200MHz
Cameras • Videology 20K145DIG • Digital 8 bit YUV 4:2:2 Output • 510x494 Active Pixels • Software Controllable by IIC • Internal Sychronization • 5V • < 0.8 W
Camera Controller • IIC Interface to Micro • 28.6 MHz Clock • Data on Each Clock • Hsync / Vsync Pins
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 13
Point Spread Function • Simple PSF is applied to the image to enhance edges. • Parameterized sweeper size and intensity. • Post convolution threshold filter applied.
HDL IMAGE CO-PROCESSOR PPC HARDCORE PROCESSOR PPC REG INTERFACE CONTROL REGISTERS IMAGE PROCESSING DATA BUILDER CONV IMAGE BRAM CONTROL DATA BREAKER DVI CONTROLLER DVI SIGNAL GENERATOR PLL RAM BLOCK
Code Flow Diagram Position Evaluation Position Evaluation Orientation Orientation Movement Stopped ISR Frame Ready ISR Move and Wait Move and Wait Process Frame Process Frame Determine Path Determine Path Process Objects Process Objects IR Sensor ISR
Servo Controller System • Memory Mapped Control Registers • PWM Generators • Timers For Each Servo: Timer Timer Control Register Control Register Duty Cycle Register Frequency Register PWM Generator
Power Systems Logic Power System Logic Power System Logic Power System Servo Power System FPGA Opto-Isolator GPS Servo Motors x6+ Compass ADC Camera x2 IR Sensor x5 Battery 1 Battery 2
Opto-Isolator Regulators
Milestone 1 Milestone 2 Expo • Mobile Tethered Bot • IR Obstacle Avoidance • Direction Awareness • PCB Testing Rev-1 • First Cart Frame • Revision • Mobile Untethered Bot • IR Obstacle Avoidance • + Camera Obstical • Detection • Fully Battery Powered • Cart • GPS Direction and • Position Awareness • Mobile Autonomous Bot • IR + Image Obstacle • Avoidance • Avoidance Pathing • GPS Navigation • Various Operating Modes
Division of Labor Hardware PCB Documentation Software HDL
RISKS • Wheels operating at same speeds • Inaccurate calculation of cart speed to judge distance traveled • Interrupt Controller