Super Fast Camera System Performed by: Tokman Niv Levenbroun Guy Supervised by: Leonid Boudniak.

Slides:



Advertisements
Similar presentations
Bus Specification Embedded Systems Design and Implementation Witawas Srisa-an.
Advertisements

Homework Reading Machine Projects Labs
Computer Architecture
3D Graphics Content Over OCP Martti Venell Sr. Verification Engineer Bitboys.
System Integration and Performance
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
Main MemoryCS510 Computer ArchitecturesLecture Lecture 15 Main Memory.
Sumitha Ajith Saicharan Bandarupalli Mahesh Borgaonkar.
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
COMP3221: Microprocessors and Embedded Systems Lecture 17: Computer Buses and Parallel Input/Output (I) Lecturer: Hui.
Super Fast Camera System Performed by: Tokman Niv Levenbroun Guy Supervised by: Leonid Boudniak.
1 Performed By: Khaskin Luba Einhorn Raziel Einhorn Raziel Instructor: Rivkin Ina Spring 2004 Spring 2004 Virtex II-Pro Dynamical Test Application Part.
Super Fast Camera System Supervised by: Leonid Boudniak Performed by: Tokman Niv Levenbroun Guy.
TCSS 372A Computer Architecture. Getting Started Get acquainted (take pictures) Discuss purpose, scope, and expectations of the course Discuss personal.
© 2004 Xilinx, Inc. All Rights Reserved Implemented by : Alon Ben Shalom Yoni Landau Project supervised by: Mony Orbach High speed digital systems laboratory.
Reliable Data Storage using Reed Solomon Code Supervised by: Isaschar (Zigi) Walter Performed by: Ilan Rosenfeld, Moshe Karl Spring 2004 Part A Final Presentation.
Double buffer SDRAM Memory Controller Presented by: Yael Dresner Andre Steiner Instructed by: Michael Levilov Project Number: D0713.
Performed by: Niv Tokman Guy Levenbroun Instructor: Leonid Boudniak המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון.
University College Cork IRELAND Hardware Concepts An understanding of computer hardware is a vital prerequisite for the study of operating systems.
Reliable Data Storage using Reed Solomon Code Supervised by: Isaschar (Zigi) Walter Performed by: Ilan Rosenfeld, Moshe Karl Spring 2004 Midterm Presentation.
Interface of DSP to Peripherals of PC Spring 2002 Supervisor: Broodney, Hen | Presenting: Yair Tshop Michael Behar בס " ד.
Reliable Data Storage using Reed Solomon Code Supervised by: Isaschar (Zigi) Walter Performed by: Ilan Rosenfeld, Moshe Karl Spring 2004 Characterization.
Technion Digital Lab Project Performance evaluation of Virtex-II-Pro embedded solution of Xilinx Students: Tsimerman Igor Firdman Leonid Firdman.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Lecture 7 Lecture 7: Hardware/Software Systems on the XUP Board ECE 412: Microcomputer Laboratory.
OS Implementation On SOPC Final Presentation
* Definition of -RAM (random access memory) :- -RAM is the place in a computer where the operating system, application programs & data in current use.
Lab 2: Capturing and Displaying Digital Image
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Chapter 1 Computer System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Pinewood Derby Timing System Using a Line-Scan Camera Rob Ostrye Class of 2006 Prof. Rudko.
Elad Hadar Omer Norkin Supervisor: Mike Sumszyk Winter 2010/11, Single semester project. Date:22/4/12 Technion – Israel Institute of Technology Faculty.
MICROPROCESSOR INPUT/OUTPUT
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Principles of I/0 hardware.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Operating Systems Lecture 02: Computer System Overview Anda Iamnitchi
CPEN Digital System Design
Design of a Novel Bridge to Interface High Speed Image Sensors In Embedded Systems Tareq Hasan Khan ID: ECE, U of S Term Project (EE 800)
Owner: VBHUSales Training 03/15/2013 Cypress Confidential IDT 72T36135M vs. Cypress CYF072x Video Buffering Applications High density FIFOs with unmatched.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
ECE 526 – Network Processing Systems Design Computer Architecture: traditional network processing systems implementation Chapter 4: D. E. Comer.
B. Ramamurthy.  12 stage pipeline  At peak speed, the processor can request both an instruction and a data word on every clock.  We cannot afford pipeline.
PROJECT - ZYNQ Yakir Peretz Idan Homri Semester - winter 2014 Duration - one semester.
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
Network On Chip Platform
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Project performed by: Naor Huri Idan Shmuel.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
IT3002 Computer Architecture
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
COMP541 Memories II: DRAMs
بسم الله الرحمن الرحيم MEMORY AND I/O.
1 Chapter Seven. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: –value.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Lab 4 HW/SW Compression and Decompression of Captured Image
Introduction to RAM Random-access memory, or RAM, provides large quantities of temporary storage in a computer system. Remember the basic capabilities.
DIRECT MEMORY ACCESS and Computer Buses
COMP541 Memories II: DRAMs
Reducing Hit Time Small and simple caches Way prediction Trace caches
CoBo - Different Boundaries & Different Options of
Cache Memory Presentation I
Lecture 5: GPU Compute Architecture
Lecture 5: GPU Compute Architecture for the last time
BIC 10503: COMPUTER ARCHITECTURE
DRAM Hwansoo Han.
Presentation transcript:

Super Fast Camera System Performed by: Tokman Niv Levenbroun Guy Supervised by: Leonid Boudniak

 The concept: combine multiple “off the shelf” cameras, to create a sequence of frames to capture a fast moving object.  An FPGA will be used to coordinate and synchronize the cameras.  The image data will be read into a computer, where it will be processed. Project Overview

 Choose an appropriate image sensor, to fit our goals.  Design a system to handle data transfer from the cameras to the computer, and display it as a movie. Project Goals

Choosing The Sensor Several image sensors were examined and two were found appropriate for the problems at hand. It has become apparent that building the printed circuit board (PCB) is time consuming and beyond the scope of this project. To overcome this obstacle we chose a PCB camera from photon-focus -OEM-D640C-66 Problem: the PCB at hand doesn’t have a separate readout control.

 The photon focus module as well as most image sensors/Camera modules operate at 33MHz~66MHz Pixel rate  We planed to operate the module at 33 MHz pixel rate, 8 bit per pixel => 33 Mbyte/sec  In case of N cameras sending data in parallel, effective input data rate to the system is 33*N Mbyte/sec. N=2 => 66 Mbyte/sec=528 Mbps  Note: This is peak rate, average rate is lower due to line pause.  Conclusion: can’t transfer the data directly to the PC. (no existing connection is fast enough). System Data Rates

Basic Block Diagram

General Approach As dictated by data rate, we divided the data traffic into two separate parts. –Transferring data from the cameras to an on- chip memory (SDRAM). This is the crucial point of the system, since it must operate in real time. –Transferring the images from the DRAM to the PC.

Transferring To Memory No stand alone SDRAM controller exists in the lab. Implementing one is complicated and time consuming. Other solutions : –Using the existing SDRAM controller’s interface to the PLB, for fast read using DMA. Never been attempted in the lab. –Using the PowerPC for reading from the camera and writing to the DRAM. Slower but simple.

Transferring To Memory cont’ DMA was tested without results: –Design using IPIF interface remained inactive. –Example design provided by Xilinx® yielded similar behavior. Usage of PowerPC: –With our peripheral designed as PLB slave, data was transferred successfully to the SDRAM.

Transferring To PC Since there were no time constrains we used the simplest way of using the RS-232 for transferring the data to the PC. The data was received by hyper terminal. The file is than processed by a MATLAB program to yield a sequential movie.

Example Of System Operation A command signal indicates start of integration Cameras send picture pixel by pixel. 4 pixels are packed together and indexed. A read/write operation stores the packet in the SDRAM. Once all the pixels were stored, the data is transferred to the PC via the RS-232

Results And Analysis Testing shows successful transfer of 4 bytes in 14 bus cycles: This is almost half of the desired bandwidth.

Improvement iteration Assembly code Compiled code is not optimized. Assembly enables: loop unrolling, more efficient memory transaction order (LD after LD instead of SW after LD). Buffering Software controlled access are of single word only. We tried to use cache commands to initiate burst transaction. Double word Use of 64bits data structure to force use of full PLB bus width (64 bits)

Conclusion Of all methods, only DMA is theoretically able to support the desired input rate. Software transaction are inefficient. Design is still limited to small number of cameras. Usage of cameras with readout control will enable lossless data transfer.

Future Development Memory tapping The lab has a design that allows to tap the memory controller directly, avoiding the IPIF. Design is incomplete, needs adaptation to our design, but might improve access: –No IPIF overhead –No bus contention –Burst operations

Future Development cont’ Bus clock acceleration –Presently bus operates with a 100 MHz clock. –Providing faster bus clock theoreticaly improves rates. Disadvantages –SDRAM might not support such frequencies. –Unpredicted behavior due to cross capacitances and inductance in high frequencies.

Added Value Knowledge of major imaging sensor technologies in the world today. Project scheduling & challenges. System design principles. Embedded CPU system. VHDL language basics and writing style. FPGA concepts.

Thank you We’d like to thank the laboratory staff: Kostia, Ilan, Ina and Eli for their support, good advices and kind words in times of need. Special thanks goes to Leonid, who was available at all times and sharing his productive insights.

Backup Foils

System Design Bus interface Main FIFO Camera data converter & FIFO Camera FIFO arbiter Controller Camera simulation