eye-ris. vision system sense – process - control autonomous mode program stora

22
Eye-RIS

Upload: brittney-newman

Post on 23-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Eye-RIS

Page 2: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Vision System

sense – process - control autonomous mode Program stora

Page 3: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Outline

hardwaresystem overviewAnaFocus, SIS Q-Eye chipDiCopALTERA NIOS II RISC uP, MLP

softwaredevelopment environment

Page 4: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

System overview

Early-processingExtract information from the image flowOutput: reduced set of dataPixel-wise simultaneous processing

Not a loop!

Post-processing Inputs are abstract entitiesOutput complex decisions

Page 5: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

System overview

Two main parts:Smart Image Sensor (SIS) – Q-EYE chipRISC processor – Altera Nios

Page 6: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Q-Eye chip

176 x 144 (QCIF) resolution Each cell:

Multi-mode optical sensorsPixel memoriesLinear and non-linear analogue processorsBinary processors Interconnected with 8 neighbours

Page 7: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Q-Eye chip

„This means that each pixel can both sense the corresponding spatial sample of the image and process this data in close interaction and cooperation with other pixels.”

„Smart Image Sensor Q-Eye is also called Focal-Plane Processor (FPP) because it processes images at the same physical layer where they are sensed.”

Page 8: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Conventional Vision System

Be aware of the data size of F!

Page 9: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Eye-RIS Vision System

In this case: f << F

Page 10: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Architecture of the Q-Eye chip

Page 11: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

The cell array

176x144 interconnected sensing-processing cells. Each of these cells contains mixed-signal circuitry capable of: Sensing images; including adaptive linear and high-dynamic range

acquisition Storing up to 7 grey scale images and up to 4 binary images Performing grey-scale image additions, subtraction and multiplication by

a constant Performing spatio-temporal image filtering (low-pass, high pass, band

pass and stop band) with programmable bandwidth. Performing grey scale image convolutions Performing grey scale to binary, and binary to grey scale conversions Performing generic combinational and sequential binary operations Performing Hit-and-Miss binary operations Real-time loading and downloading of images Ultra fast calculation and input/output of certain image features such as

centroids, mean values, pixel coordinates…

Page 12: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Block Diagram of a Q-Eye cell

Page 13: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Altera Nios II

General-purpose RISC processor core. Harvard architecture. Full 32-bit instruction set, data path, and address space. 32 general-purpose registers. 32 external interrupt sources. Single-instruction 32 x 32 multiply and divide producing a 32-bit result. Single-instruction barrel shifter. Access to a variety of on-chip peripherals, and interfaces to off-chip memories

and peripherals through Avalon Bus. Hardware-assisted JTAG debug module enabling processor start, stop, step and

trace. Instruction and Data Cache Memory. JTAG Debug Module. Exception and interrupt controller.

Page 14: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Summary of Q-Eye chip

Chip: Q-Eye Technology: 0,18 um Power Supply: Dual (1.8 V, 3.3 V) # of Processor Elements array: 176×144 Accuracy: ~8bit Density of Processor Elements: 422 PE × mm2

Die Size: 60 mm2

Package size: 64×67×63 mm Power Consumption of system: 700mW Maximum frame rate: > 10 000 I/O type: Binary or grayscale type images

Page 15: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Software

Eye-RIS ADKNios II: ANSI C/C++Q-EYE: CFPP

Page 16: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Programming

Page 17: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Programming Q-Eye chip

The CFPP Image Processing Library (IPL) Spatio-temporal filters Arithmetic operation between images Thresholding Morphological and logic binary operations

The Extended Image Processing Library (EIPL) Blob management Classifying functions Linear and non-linear digital processing of grey-level images Geometrical transformations

Page 18: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Programming Altera Nios II

C,C++, Assembly The Eye-RIS Basic Library (EBL):

Control the execution of the CFPP code I/O management Sending and/or receiving images to/from the PC

either to be displayed or saved to disk Printing error or information messages to a console Timer management

Page 19: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Programming Eye-RIS (sync)

Page 20: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

Programming Eye-RIS (async)

Page 21: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

CFPP global memories

// Declarationextern fpp_int value;extern fpp_bool flag; extern fpp_time texp; // Access void foo() {

value = 123; int foo = value; if(flag) {

FPPTime_write(texp, 500); int readTExp = FPPTime_read(texp);

} }

Page 22: Eye-RIS. Vision System sense – process - control autonomous mode Program stora

DEMO