SlideShare une entreprise Scribd logo
1  sur  23
Universidad Politecnica de Madrid


  Master Thesis Presentation

Real Time Image Processing in FPGA
       Using Altera VIP Suite

        By Sneha Nidhi

         Supervised by

Pedro Guerra Gutiérrez, Ph.D.
 Prof. Andres Santos y Lleo

         May 2012
Overview of the Presentation   Universidad Politecnica de Madrid




  Problem  Statement
  Theoretical Background

  Design Models and Implementation

    Existing Reference Designs and Problems
    Video Design with Cyclone III Board
  System Synthesis

  Future Work

  Conclusion
Universidad Politecnica de Madrid
Problem Statement

   Challenge ??
    Framework: Real time analysis of biological samples :
    Anticipate and explain complex biological processes


   Approach
       High resolution 3D microscopes controlled via feedback
       Problem faced??
         High quality and increasing image size
         Extensive computation on acquired data for quick feedback

         Limited visibility window for real time response


   Proposed Solution
           Explore Altera VIP Suite for real time pre processing of images
Universidad Politecnica de Madrid
 Problem Statement
                             Feedback




                                Processor
             Digital Input
                                                     Digital
                                                     Output


Microscope
                              Video Design
                                                                       PC
Universidad Politecnica de Madrid
Theoretical Framework
  Why FPGAs?
   Flexibility of rapid prototyping and verification
   Multiple hardware units create concurrency
   Increased concurrent transfers between the blocks


  Why Altera Cyclone III FPGA?
   Supports high-speed external memory interfaces (DDR2)
   Allows integration of x32 bit soft processor cores
   Inbuilt IP cores for video design development
   Evaluation kit available in the lab
Universidad Politecnica de Madrid
Theoretical Framework
   Nios II Soft core Processor
     Reduced Instruction Set Computer (RISC) processor core
     Allows creation of custom components with 256 custom
      instructions.
     Configured into 3 different core types: economy, standard and
      fast core.


   Digital Video Interface DVI
     Based on Panel Link, a high speed serial format
     Transmits data in a rasterized format
     Plug and Play transmission and interconnect solution.
Universidad Politecnica de Madrid
Theoretical Framework
   Altera Video and Image Processing Suite
     Avalon-ST interface and Avalon Streaming Protocol to
      communicate
     Avalon MM for run time control and connect to external
      memory


   Avalon ST Protocol
     Packet oriented way to send and receive data
     Packets are made of symbols
         Video data packet contains color plane values
         Control packets consist of packet identifier followed by data
Universidad Politecnica de Madrid
Theoretical Framework
Structure of a Video Data Packet




Structure of a Control Data Packet
Theoretical Framework                                 Universidad Politecnica de Madrid

                          Power Supply      External DDR2
        DVI Input                           Memory          Programmer




                                                   DDR2 Memory Controller
                              Image Input
             I2C Bus                                 Cyclone III FPGA
                             Image Output




                                                   LEDs
DVI Output             Digital Video
                       Daughter Card
Universidad Politecnica de Madrid
Design Models and Implementation
 Existing Reference Designs

    Video Design from Altera with NTSC/PAL input
     Mixing of a real time images with test pattern.

    Problems faced: Ref designs do not work. Moreover:
       Negative set up and hold timing problems

       Lower resolution 1024x768 input image.

       Designed with Quartus v9.1 lower DDR2 memory
       controller clock 75 Mhz.
Universidad Politecnica de Madrid
Design Models and Implementation
 Existing Reference Designs and Problems
  Video Design from Bitec UK with NTSC/PAL input
Universidad Politecnica de Madrid
Design Models and Implementation
 Video Design with Altera Cyclone III
     Video Bridge path                                                      External
                                                                            Memory
                                       DVI Output

                                                                             DDR2
JTAG           On chip      I2C Open                                        Memory
UART           Memory       Core                                            Controller


                                                         Frame
                                                         Buffer             Clock
                                                                            Crossing
 Instruction             Data                                               Bridge
 Master                  Master


       Nios II Processor                                          DVI Input
Universidad Politecnica de Madrid
Design Models and Implementation
 Video Design with Cyclone III Board
     FPGA interface of the design



                               Video PLL                         DVI Clock
                                                                  Output
 Clock Source



  CPU Reset                  Nios II Processor
                                                               External DDR2
                                                                  Memory


                               Video IP Suite
                                                                 DVI Output
   DVI Input                SOPC System Top
Universidad Politecnica de Madrid
Design Models and Implementation
Final Video Design
                     Cyclone III Development
                     Board


                         Nios II Processor




PC

       DVI Input         VIP Suite Video                           Display
                         Design                   DVI Output
Universidad Politecnica de Madrid
Design Models and Implementation
 Final Video Design with
 FIR Filtering                           Color Plane Sequencer
                                                                        DVI Output

                                                2D FIR
                                                 Filter           External Memory
JTAG           On chip        I2C Open
UART           Memory         Core
                                              Color Plane
                                              Sequencer           DDR2 Memory
                                                                   Controller
                                               Frame
 Instruction             Data                  Buffer
                                                                   Clock Crossing
 Master                  Master                                    Bridge


        Nios II Processor                                   DVI Input
Universidad Politecnica de Madrid
Design Models and Implementation
   Final Video Design on SOPC Builder
Universidad Politecnica de Madrid
Design Models and Implementation
 Output on the Screen
Universidad Politecnica de Madrid
System Synthesis
    Violation of setup or hold time leads to metastable state.
    Writing synopsis design constraint files (.sdc)         Positive
      constrained   all clock (ports and pins),                          Timing Slack
      input   I/O paths,
      output   I/O paths
Universidad Politecnica de Madrid
Future Work
   Solve the FIFO underflow problems in CVO output to
    obtain a stable image.
   Developing custom components to extend the design
Universidad Politecnica de Madrid
Future Work
   Migrate to new xilinx plaform: Zynq
     Hard ARM   core + FPGA
     HDMI   Input/Output FMC Module
Universidad Politecnica de Madrid
Conclusion
   Designed the embedded platform to process high
    definition video in real time.

   Analyzed Altera VIP blocks functionality despite
    scattered documentation.

   Calculated video processing time with 3x3 Sobel and
    Prewitt filtering masks.

   Interface and control the external memory and other
    VIP suite components with Nios II processor.
Universidad Politecnica de Madrid
Bibliography
   Altera Corporation, "Cyclone III Device Handbook, Chapter 6: I/O Features in
    the Cyclone III Device Family," 2009 December. [Online]. Available:
    http://www.altera.com/literature/hb/cyc3/cyc3_ciii51007.pdf
   Altera Corporation, Altera, [Online]. Available:
    http://www.altera.com/devices/fpga/cyclone3/overview/architecture/cy3architect
    ure.html.
   Altera Corporation, "Nios II Software Developer's Handbook," May 2011.
    [Online]. Available:
    http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf.
   Altera Corporation, "Developing Programs Using Hardware Abstraction Layer,"
    May 2011. [Online]. Available:
    http://www.altera.com/literature/hb/nios2/n2sw_nii52003.pdf.
   Altera Corporation, "Nios II Processor Reference Handbook," 2010 July.
    [Online]. Available: http://www.altera.com/literature/hb/nios2/n2cpu_nii5v1.pdf
   Digital Display Working Group, "Digital Visual Interface DVI," 02 April 1999.
    [Online]. Available: http://www.ddwg.org/lib/dvi_10.pdf
   Altera Corporation, "Video and Image Processing Suite User Guide," July 2010.
    [Online]. Available: http://www.altera.com/literature/an/an427.pdf
   Altera Corporation, "Cyclone III 3C120 Development Board Reference Manual,“
    http://www.altera.com/literature/manual/rm_cycloneiii_dev_kit_host_board.pdf
Universidad Politecnica de Madrid

Contenu connexe

Tendances

System On Chip (SOC)
System On Chip (SOC)System On Chip (SOC)
System On Chip (SOC)Shivam Gupta
 
Overview of digital design with Verilog HDL
Overview of digital design with Verilog HDLOverview of digital design with Verilog HDL
Overview of digital design with Verilog HDLanand hd
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flowAnish Gupta
 
Sigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital ConvertersSigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital ConvertersSatish Patil
 
Ppt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTPpt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTpreetigill309
 
vlsi design summer training ppt
vlsi design summer training pptvlsi design summer training ppt
vlsi design summer training pptBhagwan Lal Teli
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog Abhishek Sainkar
 
Fundamentals of HDL (first 4 chapters only) - Godse
Fundamentals of HDL (first 4 chapters only) - GodseFundamentals of HDL (first 4 chapters only) - Godse
Fundamentals of HDL (first 4 chapters only) - GodseHammam
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architectureDr.YNM
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmosRajesh Tiwary
 
Probabilistic Power Analysis
Probabilistic Power AnalysisProbabilistic Power Analysis
Probabilistic Power AnalysisGargiKhanna1
 
vlsi projects using verilog code 2014-2015
vlsi projects using verilog code 2014-2015vlsi projects using verilog code 2014-2015
vlsi projects using verilog code 2014-2015E2MATRIX
 
VLSI Fresher Resume
VLSI Fresher ResumeVLSI Fresher Resume
VLSI Fresher Resumevikas kumar
 

Tendances (20)

System On Chip (SOC)
System On Chip (SOC)System On Chip (SOC)
System On Chip (SOC)
 
Overview of digital design with Verilog HDL
Overview of digital design with Verilog HDLOverview of digital design with Verilog HDL
Overview of digital design with Verilog HDL
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
System-on-Chip
System-on-ChipSystem-on-Chip
System-on-Chip
 
FPGA Configuration
FPGA ConfigurationFPGA Configuration
FPGA Configuration
 
vlsi design flow
vlsi design flowvlsi design flow
vlsi design flow
 
SOC design
SOC design SOC design
SOC design
 
Sigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital ConvertersSigma-Delta Analog to Digital Converters
Sigma-Delta Analog to Digital Converters
 
Ppt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOTPpt on six month training on embedded system & IOT
Ppt on six month training on embedded system & IOT
 
vlsi design summer training ppt
vlsi design summer training pptvlsi design summer training ppt
vlsi design summer training ppt
 
DIgital clock using verilog
DIgital clock using verilog DIgital clock using verilog
DIgital clock using verilog
 
Stratix FPGA Overview
Stratix FPGA OverviewStratix FPGA Overview
Stratix FPGA Overview
 
Fundamentals of HDL (first 4 chapters only) - Godse
Fundamentals of HDL (first 4 chapters only) - GodseFundamentals of HDL (first 4 chapters only) - Godse
Fundamentals of HDL (first 4 chapters only) - Godse
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
System on Chip (SoC)
System on Chip (SoC)System on Chip (SoC)
System on Chip (SoC)
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Power dissipation cmos
Power dissipation cmosPower dissipation cmos
Power dissipation cmos
 
Probabilistic Power Analysis
Probabilistic Power AnalysisProbabilistic Power Analysis
Probabilistic Power Analysis
 
vlsi projects using verilog code 2014-2015
vlsi projects using verilog code 2014-2015vlsi projects using verilog code 2014-2015
vlsi projects using verilog code 2014-2015
 
VLSI Fresher Resume
VLSI Fresher ResumeVLSI Fresher Resume
VLSI Fresher Resume
 

En vedette

Real time image processing ppt
Real time image processing pptReal time image processing ppt
Real time image processing pptashwini.jagdhane
 
CGroups kernel memory controller -- Pavel Emelyanov
CGroups kernel memory controller -- Pavel EmelyanovCGroups kernel memory controller -- Pavel Emelyanov
CGroups kernel memory controller -- Pavel EmelyanovOpenVZ
 
Memory Interfaces & Controllers - Sandeep Kulkarni, Lattice
Memory Interfaces & Controllers - Sandeep Kulkarni, LatticeMemory Interfaces & Controllers - Sandeep Kulkarni, Lattice
Memory Interfaces & Controllers - Sandeep Kulkarni, LatticeFPGA Central
 
Real Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAReal Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAMafaz Ahmed
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller systemVinny Chweety
 
Vlsi mini project list 2013
Vlsi mini project list 2013Vlsi mini project list 2013
Vlsi mini project list 2013Vision Solutions
 
Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Louise Antonio
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller systemVinny Chweety
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controllerRkrishna Mishra
 
PSFK Future of Retail 2015 Report - Summary Presentation
PSFK Future of Retail 2015 Report - Summary PresentationPSFK Future of Retail 2015 Report - Summary Presentation
PSFK Future of Retail 2015 Report - Summary PresentationPSFK
 

En vedette (15)

Real time image processing ppt
Real time image processing pptReal time image processing ppt
Real time image processing ppt
 
CGroups kernel memory controller -- Pavel Emelyanov
CGroups kernel memory controller -- Pavel EmelyanovCGroups kernel memory controller -- Pavel Emelyanov
CGroups kernel memory controller -- Pavel Emelyanov
 
Memory Interfaces & Controllers - Sandeep Kulkarni, Lattice
Memory Interfaces & Controllers - Sandeep Kulkarni, LatticeMemory Interfaces & Controllers - Sandeep Kulkarni, Lattice
Memory Interfaces & Controllers - Sandeep Kulkarni, Lattice
 
Real Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAReal Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGA
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller system
 
Vlsi mini project list 2013
Vlsi mini project list 2013Vlsi mini project list 2013
Vlsi mini project list 2013
 
FPGA
FPGAFPGA
FPGA
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...Final Project Report on Image processing based intelligent traffic control sy...
Final Project Report on Image processing based intelligent traffic control sy...
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller system
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
DDR3
DDR3DDR3
DDR3
 
PSFK Future of Retail 2015 Report - Summary Presentation
PSFK Future of Retail 2015 Report - Summary PresentationPSFK Future of Retail 2015 Report - Summary Presentation
PSFK Future of Retail 2015 Report - Summary Presentation
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similaire à Real Time Image Processing in FPGA Using Altera VIP Suite

Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point RacetrackDino, llc
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfsDino, llc
 
Why a zynq should power your next project
Why a zynq should power your next projectWhy a zynq should power your next project
Why a zynq should power your next projectMark Smith
 
i.MX51 Multimedia Applications Processors
i.MX51 Multimedia Applications Processorsi.MX51 Multimedia Applications Processors
i.MX51 Multimedia Applications ProcessorsPremier Farnell
 
pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014Jingfeng Liu
 
Flex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping SystemFlex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping Systemfrankp617
 
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12ndzervas
 
CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST, Inc.
 
Brokerage 2007 presentation multimedia
Brokerage 2007 presentation multimediaBrokerage 2007 presentation multimedia
Brokerage 2007 presentation multimediaimec.archive
 
Mp3 player project presentation
Mp3 player project presentationMp3 player project presentation
Mp3 player project presentationAntonio Mondragon
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Somnath Sharma
 
Fpga video capturing
Fpga video capturingFpga video capturing
Fpga video capturingshehryar88
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionPersiPersi1
 
High-Definition Rugged DVR - Case Study
High-Definition Rugged DVR - Case StudyHigh-Definition Rugged DVR - Case Study
High-Definition Rugged DVR - Case StudyMistral Solutions
 
15.00 hr van Hilten
15.00 hr van Hilten15.00 hr van Hilten
15.00 hr van HiltenThemadagen
 
AMD Unified Video Decoder
AMD Unified Video DecoderAMD Unified Video Decoder
AMD Unified Video DecoderAMD
 

Similaire à Real Time Image Processing in FPGA Using Altera VIP Suite (20)

Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point Racetrack
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfs
 
Why a zynq should power your next project
Why a zynq should power your next projectWhy a zynq should power your next project
Why a zynq should power your next project
 
i.MX51 Multimedia Applications Processors
i.MX51 Multimedia Applications Processorsi.MX51 Multimedia Applications Processors
i.MX51 Multimedia Applications Processors
 
pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014pcDuino tech talk at Carnegie Mellon University 10/14/2014
pcDuino tech talk at Carnegie Mellon University 10/14/2014
 
Flex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping SystemFlex Stack Rapid Prototyping System
Flex Stack Rapid Prototyping System
 
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12
CAST BA22 32-bit Processor - SoCIP Design Seminar, 2/1/12
 
CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12
 
Brokerage 2007 presentation multimedia
Brokerage 2007 presentation multimediaBrokerage 2007 presentation multimedia
Brokerage 2007 presentation multimedia
 
Mp3 player project presentation
Mp3 player project presentationMp3 player project presentation
Mp3 player project presentation
 
Arduino camera interfacing OV7670
Arduino camera interfacing OV7670Arduino camera interfacing OV7670
Arduino camera interfacing OV7670
 
Fpga video capturing
Fpga video capturingFpga video capturing
Fpga video capturing
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
FPGA @ UPB-BGA
FPGA @ UPB-BGAFPGA @ UPB-BGA
FPGA @ UPB-BGA
 
Appl 1340
Appl 1340Appl 1340
Appl 1340
 
Wireless PC2TV
Wireless PC2TVWireless PC2TV
Wireless PC2TV
 
TMDXEVM8148
TMDXEVM8148 TMDXEVM8148
TMDXEVM8148
 
High-Definition Rugged DVR - Case Study
High-Definition Rugged DVR - Case StudyHigh-Definition Rugged DVR - Case Study
High-Definition Rugged DVR - Case Study
 
15.00 hr van Hilten
15.00 hr van Hilten15.00 hr van Hilten
15.00 hr van Hilten
 
AMD Unified Video Decoder
AMD Unified Video DecoderAMD Unified Video Decoder
AMD Unified Video Decoder
 

Dernier

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Dernier (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Real Time Image Processing in FPGA Using Altera VIP Suite

  • 1. Universidad Politecnica de Madrid Master Thesis Presentation Real Time Image Processing in FPGA Using Altera VIP Suite By Sneha Nidhi Supervised by Pedro Guerra Gutiérrez, Ph.D. Prof. Andres Santos y Lleo May 2012
  • 2. Overview of the Presentation Universidad Politecnica de Madrid  Problem Statement  Theoretical Background  Design Models and Implementation  Existing Reference Designs and Problems  Video Design with Cyclone III Board  System Synthesis  Future Work  Conclusion
  • 3. Universidad Politecnica de Madrid Problem Statement  Challenge ?? Framework: Real time analysis of biological samples : Anticipate and explain complex biological processes  Approach  High resolution 3D microscopes controlled via feedback  Problem faced??  High quality and increasing image size  Extensive computation on acquired data for quick feedback  Limited visibility window for real time response  Proposed Solution  Explore Altera VIP Suite for real time pre processing of images
  • 4. Universidad Politecnica de Madrid Problem Statement Feedback Processor Digital Input Digital Output Microscope Video Design PC
  • 5. Universidad Politecnica de Madrid Theoretical Framework Why FPGAs?  Flexibility of rapid prototyping and verification  Multiple hardware units create concurrency  Increased concurrent transfers between the blocks Why Altera Cyclone III FPGA?  Supports high-speed external memory interfaces (DDR2)  Allows integration of x32 bit soft processor cores  Inbuilt IP cores for video design development  Evaluation kit available in the lab
  • 6. Universidad Politecnica de Madrid Theoretical Framework  Nios II Soft core Processor  Reduced Instruction Set Computer (RISC) processor core  Allows creation of custom components with 256 custom instructions.  Configured into 3 different core types: economy, standard and fast core.  Digital Video Interface DVI  Based on Panel Link, a high speed serial format  Transmits data in a rasterized format  Plug and Play transmission and interconnect solution.
  • 7. Universidad Politecnica de Madrid Theoretical Framework  Altera Video and Image Processing Suite  Avalon-ST interface and Avalon Streaming Protocol to communicate  Avalon MM for run time control and connect to external memory  Avalon ST Protocol  Packet oriented way to send and receive data  Packets are made of symbols  Video data packet contains color plane values  Control packets consist of packet identifier followed by data
  • 8. Universidad Politecnica de Madrid Theoretical Framework Structure of a Video Data Packet Structure of a Control Data Packet
  • 9. Theoretical Framework Universidad Politecnica de Madrid Power Supply External DDR2 DVI Input Memory Programmer DDR2 Memory Controller Image Input I2C Bus Cyclone III FPGA Image Output LEDs DVI Output Digital Video Daughter Card
  • 10. Universidad Politecnica de Madrid Design Models and Implementation Existing Reference Designs  Video Design from Altera with NTSC/PAL input Mixing of a real time images with test pattern.  Problems faced: Ref designs do not work. Moreover:  Negative set up and hold timing problems  Lower resolution 1024x768 input image.  Designed with Quartus v9.1 lower DDR2 memory controller clock 75 Mhz.
  • 11. Universidad Politecnica de Madrid Design Models and Implementation Existing Reference Designs and Problems  Video Design from Bitec UK with NTSC/PAL input
  • 12. Universidad Politecnica de Madrid Design Models and Implementation Video Design with Altera Cyclone III Video Bridge path External Memory DVI Output DDR2 JTAG On chip I2C Open Memory UART Memory Core Controller Frame Buffer Clock Crossing Instruction Data Bridge Master Master Nios II Processor DVI Input
  • 13. Universidad Politecnica de Madrid Design Models and Implementation Video Design with Cyclone III Board FPGA interface of the design Video PLL DVI Clock Output Clock Source CPU Reset Nios II Processor External DDR2 Memory Video IP Suite DVI Output DVI Input SOPC System Top
  • 14. Universidad Politecnica de Madrid Design Models and Implementation Final Video Design Cyclone III Development Board Nios II Processor PC DVI Input VIP Suite Video Display Design DVI Output
  • 15. Universidad Politecnica de Madrid Design Models and Implementation Final Video Design with FIR Filtering Color Plane Sequencer DVI Output 2D FIR Filter External Memory JTAG On chip I2C Open UART Memory Core Color Plane Sequencer DDR2 Memory Controller Frame Instruction Data Buffer Clock Crossing Master Master Bridge Nios II Processor DVI Input
  • 16. Universidad Politecnica de Madrid Design Models and Implementation Final Video Design on SOPC Builder
  • 17. Universidad Politecnica de Madrid Design Models and Implementation Output on the Screen
  • 18. Universidad Politecnica de Madrid System Synthesis  Violation of setup or hold time leads to metastable state.  Writing synopsis design constraint files (.sdc) Positive  constrained all clock (ports and pins), Timing Slack  input I/O paths,  output I/O paths
  • 19. Universidad Politecnica de Madrid Future Work  Solve the FIFO underflow problems in CVO output to obtain a stable image.  Developing custom components to extend the design
  • 20. Universidad Politecnica de Madrid Future Work  Migrate to new xilinx plaform: Zynq  Hard ARM core + FPGA  HDMI Input/Output FMC Module
  • 21. Universidad Politecnica de Madrid Conclusion  Designed the embedded platform to process high definition video in real time.  Analyzed Altera VIP blocks functionality despite scattered documentation.  Calculated video processing time with 3x3 Sobel and Prewitt filtering masks.  Interface and control the external memory and other VIP suite components with Nios II processor.
  • 22. Universidad Politecnica de Madrid Bibliography  Altera Corporation, "Cyclone III Device Handbook, Chapter 6: I/O Features in the Cyclone III Device Family," 2009 December. [Online]. Available: http://www.altera.com/literature/hb/cyc3/cyc3_ciii51007.pdf  Altera Corporation, Altera, [Online]. Available: http://www.altera.com/devices/fpga/cyclone3/overview/architecture/cy3architect ure.html.  Altera Corporation, "Nios II Software Developer's Handbook," May 2011. [Online]. Available: http://www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf.  Altera Corporation, "Developing Programs Using Hardware Abstraction Layer," May 2011. [Online]. Available: http://www.altera.com/literature/hb/nios2/n2sw_nii52003.pdf.  Altera Corporation, "Nios II Processor Reference Handbook," 2010 July. [Online]. Available: http://www.altera.com/literature/hb/nios2/n2cpu_nii5v1.pdf  Digital Display Working Group, "Digital Visual Interface DVI," 02 April 1999. [Online]. Available: http://www.ddwg.org/lib/dvi_10.pdf  Altera Corporation, "Video and Image Processing Suite User Guide," July 2010. [Online]. Available: http://www.altera.com/literature/an/an427.pdf  Altera Corporation, "Cyclone III 3C120 Development Board Reference Manual,“ http://www.altera.com/literature/manual/rm_cycloneiii_dev_kit_host_board.pdf