An Introduction to Real-time Machine Vision in Mechatronics

Slides:



Advertisements
Similar presentations
VHDL Design of Multifunctional RISC Processor on FPGA
Advertisements

Greg Beau SerajAnanya. Outline  Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design.
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
Steven Koelmeyer BDS(hons)1 Reconfigurable Hardware for use in Ad Hoc Sensor Networks Supervisors Charles Greif Nandita Bhattacharjee.
Ping Project Justin Knowles Kurt Lorhammer Brian Smith Andrew Tank ECEN 4610.
Zach Allen Chris Chan Ben Wolpoff Shane Zinner Project Z: Stereo Range Finding Based on Motorola Dragonball Processor.
Design and Implementation of a Virtual Reality Glove Device Final presentation – winter 2001/2 By:Amos Mosseri, Shy Shalom, Instructors:Michael.
1 Color Discriminating Tracking System Lloyd Rochester Sam Duncan Ben Schulz Fernando Valentiner.
Virtual Target Practice Marc Jabbour - Mike Swanson – Joe Tucci –
2007Theo Schouten1 Introduction. 2007Theo Schouten2 Human Eye Cones, Rods Reaction time: 0.1 sec (enough for transferring 100 nerve.
Preliminary Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer Capstone – Spring 2007.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
An Introduction to Real-time Machine Vision in Mechatronics Dr. Onur TOKER.
Capstone Design Project Plan Team SAUSAGES Ryan Campbell Anne Carrier Gonzalo Gonzalez Bryan Grider Steve Kerkmaz Ziad Mohieddin EE 401 – EE Design I Instructor.
Night Vision James Stacy Brian Herre Maurio Grando Eric Faller Chris Bawiec James Team Bender.
Aztec PC Oscilloscope Michael Mason Jed Brown Josh Price Andrew Youngs.
Laser Tracking System (LTS) Team Lazer: Son Nguyen Jassim Alshamali Aja ArmstrongMatt Aamold.
Mahesh Sukumar Subramanian Srinivasan. Introduction Face detection - determines the locations of human faces in digital images. Binary pattern-classification.
CCD and CMOS Sensors Craig Robinson.
Capstone PDR Fall 2005 Paintball Gun IR Sensing and Tracking Team Doki Doki: Matt Freeman (EE) James Kirby (ECE) Juan Rivera (EE)
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Camera products and the future. DAC & actuators memory and processor communication ADC video, audio, temperature, chemical, tactile electronic system.
FPGA Based Fuzzy Logic Controller for Semi- Active Suspensions Aws Abu-Khudhair.
The CarBot Project Group Members: Chikaod Anyikire, Odi Agenmonmen, Robert Booth, Michael Smith, Reavis Somerville ECE 4006 November 29 th 2005.
Camera Interfacing using ARM7
Critical Design Review 27 February 2007 Black Box Car System (BBCS) ctrl + z: Benjamin Baker, Lisa Furnish, Chris Klepac, Benjamin Mauser, Zachary Miers.
ECE 447: Lecture 1 Microcontroller Concepts. ECE 447: Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device.
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Know the Computer Multimedia tools. Computer essentials.
Image Processing1 Image Acquisition Photo sensors –Photo diodes and photo diode array –Photo transistor Video camera.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
Engaging Undergraduate Students with Robotic Design Projects James O. Hamblen School of ECE, Georgia Tech, Atlanta, GA
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
Introduction to Experiment 5 VGA Signal Generator ECE 448 Spring 2009.
DIGITAL Video. Video Creation Video captures the real world therefore video cannot be created in the same sense that images can be created video must.
PRESENTED BY :BIREN KUMAR SAMAL ADMISSION NO:22I&E/2000.
ECE Lecture 1 Microcontroller Concepts. Basic Computer System CPU Memory Program + Data I/O Interface Parallel I/O Device Serial I/O Device Data.
MACHINE VISION Machine Vision System Components ENT 273 Ms. HEMA C.R. Lecture 1.
Preliminary Design of FONT4 Digital ILC Feedback System Hamid Dabiri khah Queen Mary, University of London 30/05/2005.
Alexei SemenovGeneric Digitizer Generic Digitizer 10MHZ 16 bit 6U VME Board.
CPU/BIOS/BUS CES Industries, Inc. Lesson 8.  Brain of the computer  It is a “Logical Child, that is brain dead”  It can only run programs, and follow.
A Lumigraph Camera for Image Based Rendering Jason C. Yang Prof. Leonard McMillan May 10, 1999.
Toshiba IR Test Apparatus Project Ahmad Nazri Fadzal Zamir Izam Nurfazlina Kamaruddin Wan Othman.
Vanderbilt University Toshiba IR Test Apparatus Project Final Design Review Ahmad Nazri Fadzal Zamir Izam Nurfazlina Kamaruddin Wan Othman.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
Implementation of Real Time Image Processing System with FPGA and DSP Presented by M V Ganeswara Rao Co- author Dr. P Rajesh Kumar Co- author Dr. A Mallikarjuna.
Computer Graphics Lecture 03 Graphics Systems Cont… Taqdees A. Siddiqi
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
DIGITAL CAMERAS IN EMBEDDED SYSTEMS BY: ANTONIO JIM É NEZGRIFFIN MILLERVARUN PATEL.
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
SMART CAMERAS AS EMBEDDED SYSTEM SMVEC. SMART CAMERA  See, think and act  Intelligent cameras  Embedding of image processing algorithms  Can be networked.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Hiba Tariq School of Engineering
Group 4 Alix Krahn Denis Lachance Adam Thomsen
Group 4 Alix Krahn Denis Lachance Adam Thomsen
CS111 Computer Programming
Basic Computer Hardware & Software
System On Chip.
Introducing Embedded Systems and the Microcontrollers
Real-time Image Processing System
AMCOM Digital Archive Design Review - Week 3.
Introduction to Microprocessors and Microcontrollers
Image Acquisition Photo sensors Video camera
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Presentation transcript:

An Introduction to Real-time Machine Vision in Mechatronics Dr. Onur TOKER

Outline RT Machine Vision ? Mechatronics ? Review of previous experiments Image sensors (CMOS versus CCD) CMUCam, and cwCAM Interfacing a CCD camera to an 8-bit uC Difficulties in real-time machine vision Conclusion Dr. Onur TOKER

RT Machine Vision ? Mechatronics ? Machine vision is the ability of a computation machine to "see." Visual object tracking Object recognition Automated inspection, sorting Pattern recognition, etc. RT: There is no strict real-time system. There are systems with very short event response latency times. Dr. Onur TOKER

Experiment #1 1-D tracking system Analog video camera & PCI grabber VB 6 & VFW based Simple algorithm PID control Pentium 2/350MHz Dr. Onur TOKER

Experiment #2 Line following Wireless video camera and ToyCar Processing on a remote PC VC++ & DirectX based Simple algorithm Pentium 3/1GHz Dr. Onur TOKER

Experiment #3 Intel 8051 Very primitive machine vision Rapid prototyping board LDR sensor MOSFET driver Dr. Onur TOKER

Experiment #3 Dr. Onur TOKER

Prototyping / Final product Final design EPROM based minimum size PCB Prototyping board Serial download, EEPROM based, 9V battery Dr. Onur TOKER

Phototransistor based sensors A Student Project Line following robot Phototransistor based sensors Dr. Onur TOKER

BOE-BOT kit Simple kit PBASIC Not very flexible Very small RAM IR LEDs & photo transistors Dr. Onur TOKER

BOE-BOT demo Dr. Onur TOKER

(Tracking by stereo machine vision) Other demos CMUCam demo (Color tracking) WAM demo (MIT 1995) (Tracking by stereo machine vision) Dr. Onur TOKER

Image sensor types Charged coupled devices (CCD) Charge injection devices (CID) CMOS Active Pixel Sensors (CMOS) They all convert incident light (photons) into electronic charge (electrons) by a photo-conversion process. Color sensors can be made by coating each individual pixel with a filter color (e.g. red, green, and blue). Beyond that point, everything is different. Dr. Onur TOKER

CUMCam uses such a sensor 2nd PCB has a Scenix uC CMOS image sensors Digital output Easy to interface A CMOS sensor (OV7620) CUMCam uses such a sensor 2nd PCB has a Scenix uC DALSA CMOS Sensor Dr. Onur TOKER

CCD image sensors Analog output Difficult to interface Require several support chips DALSA CCD Sensor Dr. Onur TOKER

CMOS versus CCD Under same lightning, same distance, comparable budget, CCD image is better. CMOS sensor 640x480 mode CCD sensor 640x480 (NTSC output) Dr. Onur TOKER

CMUCam architecture CMUCam SX28 CMOS sensor uC uC/DSP Serial I/O “User device” issues high level commands SX28 does the processing (Limited built-in functions) SX28 replies Dr. Onur TOKER

What is wrong with CMUCam ? Serial I/O (Low bandwidth) Low frame rate (Max. 17fps) CMOS sensor Processing done by SX28 Limited to built in functions Not much flexibility Instead of FPGA, uses SX28 Very compact design Dr. Onur TOKER

Proposed cwCam architecture uC/DSP CCD camera FPGA uC/DSP Video ADC uC/DSP Co-operating windowing approach (Discussed later) Parallel processors Parallel application specific digital architectures in the FPGA ASIC CPU cores in FPGA Dr. Onur TOKER

Machine Vision with an Analog Industrial camera NTSC/30fps or PAL/25fps Even/odd field interlacing: 60fips/50fips rate 31ms VSYNC, 4.7us HSYNC for NTSC Needs a high speed ADC (AD9048 is 35 MHz) Most 8-bit uCs are too slow for this task Scenix SX28AC/DP 13.3 ns instruction cycle FPGA for accurate and high resolution capture Dr. Onur TOKER

Digitized video signal One field One frame VSYNC Dr. Onur TOKER

A single field VSYNC Several HSYNCs Dr. Onur TOKER

Conclusion:Use 10MHz ADC Video ADC speed ? HSYNC ??? VSYNC Conclusion:Use 10MHz ADC Dr. Onur TOKER

Scenix SX28AC/DP 13.3 ns instruction cycle (75MHz clock) 10MHz video sampling = 100 ns loop time 1 Branch=3 cycles 4 instruction loop OK, but int. RAM too small 8051 too slow ! PIC16F877 too slow ! USE AN FPGA ! Dr. Onur TOKER

Our FPGAs (Prototyping boards) Spartan II FPGA 50 Kgate 8MB RAM 8051 Dr. Onur TOKER

Actual photo of AD9048 used in our video digitizer Our ADC (AD9048) Actual photo of AD9048 used in our video digitizer 35MSPS, 8-bit Flash ADC, Bipolar, 550mW, DIP 28 available AD9203, 40MSPS, 10-bit,CMOS, 74mW, No DIP available Dr. Onur TOKER

Cortex-I approach Bederson, 1992 Logarithmic structured space variant pixel geometry Based on human vision system For real-time machine vision, reduce data to < 1500 pixels Dr. Onur TOKER

Co-operating windowing (1) Nassif & Capson, 1997 2 Watch windows (200x20) 1 Peripheral window (40x40 … 200x200) 1 Foveal window (20x20) Object tracking at 113Hz Dr. Onur TOKER

Co-operating windowing (2) Dr. Onur TOKER

Where we are at cwCAM ? AD9048 Video ADC board design completed (PCB layout !) AD9048 interfaced to 8051 prototyping board and tested Logic design is being done by Xilinx ISE software Mixed VHDL and graphical logic designs Tedious and long task cwCam CCD camera FPGA Video ADC Dr. Onur TOKER

PUMA robot arm and dual camera set Human Vision ? PUMA robot arm and dual camera set HMD and Dual monitor support Dr. Onur TOKER

Conclusion Real time machine vision requires innovative use of software and hardware techniques. Cortex-I (Human Eye), Co-operating windowing, etc. Innovative use of FPGAs and uC/DSPs. High frame rate CCD sensors. Optimum designs likely to be an application specific one. cwCAM is based on co-operating windowing approach and innovative hardware/software techniques. Dr. Onur TOKER

QUESTIONS ? Dr. Onur TOKER