egr494: senior project in computer engineering

21

Upload: kiona

Post on 09-Feb-2016

28 views

Category:

Documents


0 download

DESCRIPTION

EGR494: Senior Project in Computer Engineering. James Painter. Primary Goals. Fully develop vision system for Wunderbot IV autonomous robot Adapt it specifically for June 2008 Intelligent Ground Vehicle Competition (IGVC). Secondary Goals. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: EGR494: Senior Project in Computer Engineering
Page 2: EGR494: Senior Project in Computer Engineering

Primary Goals• Fully develop vision system for

Wunderbot IV autonomous robot• Adapt it specifically for June 2008

Intelligent Ground Vehicle Competition (IGVC)

Page 3: EGR494: Senior Project in Computer Engineering

Secondary Goals• Code a closed-loop motor control

system for accurate robot motion response

• Writing/debugging of LabVIEW code for synchronization of all hardware subsystems

Page 4: EGR494: Senior Project in Computer Engineering

Vision System – Prior Work• Acquisition of DVT Legend 554C XE

high-resolution video camera• Coding of LabVIEW sub-VI to acquire

camera’s TCP/IP communication string

Page 5: EGR494: Senior Project in Computer Engineering

Vision System - Tasks1) Build camera mount at optimal location

and angle2) Image processing to parse white lines in

robot’s vision3) Manage line data in LabVIEW and

integrate with adaptable motion-control algorithms to steer robot on correct path

4) Properly format the gathered vision data to interface with path-planning code – will be used to map traversed course

Page 6: EGR494: Senior Project in Computer Engineering

Status - Fall 2007• Primitive path detection algorithm

calculated gradient• Found high contrast in two small,

filtered regions to simulate stereo vision

Page 7: EGR494: Senior Project in Computer Engineering

1. Camera Mount• Built as part of new utility pole, sits

back 16” from rear bumper and 4’ up• Secured with adjustable wing nuts on

angle brackets

Page 8: EGR494: Senior Project in Computer Engineering

Viewable Region

Page 9: EGR494: Senior Project in Computer Engineering

Processing Time Reduction• Increase of viewable region allows

cropping of imageTop Edge Cropped

Processing Time Speedup

15% (153 lines) 16% (90ms)

24% (246 lines) 25% (140ms)

Page 10: EGR494: Senior Project in Computer Engineering

2. Image Processinga) 3x3 dilate filterb) Hough Transform for line detectionc) Line thickness sensor

i. 75% intensity contrastii. Accepts first 3 chains of 50 pixels

(possibly 3 best, but much slower)

Page 11: EGR494: Senior Project in Computer Engineering

Image Processing SamplesUnfiltered Filtered

arbitrary results

more accurate

Page 12: EGR494: Senior Project in Computer Engineering

Image Processing SamplesUnfiltered Filtered

useless data accurate

Page 13: EGR494: Senior Project in Computer Engineering

Preliminary Results

Page 14: EGR494: Senior Project in Computer Engineering

Filtering Shadowsa) Maximum separation of 300 pixels

(window width of 1079)b) “Straightness” of less than 75-pixel

deviation from averaged center line

accepted

filtered

Page 15: EGR494: Senior Project in Computer Engineering

3. Motor Control• Line position data sent to on-board

PC via TCP/IP• LabVIEW code plots the line on a

local (soon global) map

Page 16: EGR494: Senior Project in Computer Engineering

• Line depth and lateral position determine how sharply to turn and whether to back up

Far

Near(sharper turn)

Immediate Obstacle(sharper

turn)

Outlying Obstacle

Outlying Obstacle

Page 17: EGR494: Senior Project in Computer Engineering

• Designed controls for adjusting numerous parameters - allow dynamic motor control adaptation for different environments− Overall target speed− Backup speed− Proximity for backing up− Turning aggressiveness (factoring depth

and lateral position separately)− Minimum line width

Page 18: EGR494: Senior Project in Computer Engineering

• Control panel

Page 19: EGR494: Senior Project in Computer Engineering

Video Clip (2x speed, 23 sec.)

Page 20: EGR494: Senior Project in Computer Engineering

Upcoming Tasks• Introduce line averaging, where

points outside a given standard deviation are discarded

• Increase rate of TCP/IP data transfers• Integrate all subsystems and plot

global, dynamic map of lines and obstacles

Page 21: EGR494: Senior Project in Computer Engineering

References• R. Bishop. LabVIEW 8 Student Edition, Book & CD-ROM Edition,

Upper Saddle River, NJ: Prentice Hall, 2006.• Installation and User Guide for DVT Vision Sensors, Cognex

Corporation, May 2006.• DVT Script Reference Manual, Cognex Corporation, August

2003.• Dougherty, Edward R. Electronic imaging technology,

Bellingham, WA: SPIE Optical Engineering Press, 1999.• A.L. Kesidis and N. Papamarkos. “A Window-Based Inverse

Hough Transform.” Pattern Recognition 33 (2000): 1105-1117.