digital camera design

20
Digital Camera Design

Upload: vanida

Post on 10-Jan-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Digital Camera Design. Agenda. Digital video formats Image sensor technology Sensor interface with CoolRunner-II LCD CoolRunner-II system design. Digital Video. RGB Digitized version of analog RGB Most common in computer graphics YCrCb Digitized version of analog YUV and YPbPr - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Digital Camera Design

Digital Camera Design

Page 2: Digital Camera Design

Agenda

• Digital video formats• Image sensor technology• Sensor interface with CoolRunner-II• LCD• CoolRunner-II system design

Page 3: Digital Camera Design

Digital Video

• RGB– Digitized version of analog RGB– Most common in computer graphics

• YCrCb – Digitized version of analog YUV and YPbPr– Format used by DVD and digital television

Page 4: Digital Camera Design

Color Formats• RGB

– Primary additive colors: red, green, & blue– Not efficient format for image processing

• YCrCb – Luminance, Chroma Red, Chroma Blue– 8-bit ranges: Y (16 to 235), Cr & Cb (16 to 240)– 4:2:2 & 4:4:4 formats determine when Cr and Cb are sampled with Y

Range White Yellow Cyan Green Magenta Red Blue Black

R 0 to 255 255 255 0 0 255 255 0 0

G 0 to 255 255 255 255 255 0 0 0 0

B 0 to 255 255 0 255 0 255 0 255 0

Page 5: Digital Camera Design

Digital Video Capture

• Video is series of still images (which each consist of lines of data)• Control signals:

– VSYNC: Vertical sync (asserted during frame scan time)– HSYNC: Horizontal sync (asserted during line scan time)– BLANK: blanking– CLK: 1x or 2x sample clock

• Digital output represents data of each pixel (RGB or YCrCb)• Data sampled on rising edge of sample clock

Page 6: Digital Camera Design

Output Timing

Page 7: Digital Camera Design

CCD CMOS

Need specialized fabrication methodology Standard fabrication

Require numerous power supplies andvoltage regulators for operation

Single 3.3V (or 5V) supply needed

Typically requires 2–5 watts per digital output Requires 20–50 milliwatts per pixel output

Ideal for low light applications Lower power consumption

Ideal for handheld, portable devices

Technology allows integrating with imageprocessing: SOC

Image Sensors• CCD (charge-coupled device) vs. CMOS

• CMOS manufacturers: Kodak, Micron, Hynix, OmniVision, Mitsubishi, ST Microelectronics, Toshiba

Page 8: Digital Camera Design

MI-SOC-0343

• Complete CMOS image sensor camera-on-chip solution• “Active pixel” sensor architecture• Image sensor core + digital image processing technology• Outputs digitally processed RGB or YCrCb data• Programmable control registers• 640 x 480 VGA image array

Page 9: Digital Camera Design

Active Pixel Architecture

Photodiode Active-Pixel Architecture Photogate Active-Pixel Architecture

• CMOS sensorphotosite area breakdown25% = circuitrySensor fill factor = 75 %

• Active pixel structure prevents background image noise

Image courtesy of Micron

Page 10: Digital Camera Design

Sensing Color

• Funnel light to the photosensitive portion of each pixel• CFA allows each RGB color to be measured independently

Image courtesy of Micron

Page 11: Digital Camera Design

Bayer CFA

• Invented by Kodak• Able to separately measure red, green, & blue photons• 2x2 repeating arrangement• Output: sequential RGB (sRGB)

G R G R G R G RB G B G B G B GG R G R G R G RB G B G B G B GG R G R G R G RB G B G B G B G

Image courtesy of Micron

Page 12: Digital Camera Design

MI-SOC-0343 Diagram

Active Pixel Array(640 x 480)

Image Core Register Set

Analog Processing ADC

Imager Core

Image Flow Processor

Register Set

Data Output& Timing

Image Flow Processor

Serial Interface(SCLK, SDATA)

• Color Correction• Gamma Control• Sharpening Control• Saturation Control• AWB• AE• Defect Correction• Lens Detection

Page 13: Digital Camera Design

Image Flow Processor

• Interpolates 1 color/pixel into 3-colors/pixel by filling in missing data based on adjacent pixels

• Includes: lens shading, edge detection, aperture correction, color correction, AWB, AE, gamma correction, color saturation control, and zoom features

• 77 addressable control registers• Output either 4:2:2 YCrCb (CCIR656) or 4:4:4 565RGB data

Page 14: Digital Camera Design

CoolRunner-II Interface

MI-SOC-0343

SCLK, SDATASHIP

Interface Control Logic

Image Grabber

Control Logic

FRAME_VALID

LINE_VALID

PIX_CLK

SRAMInterface Logic

SRAM

Address / Data / Control

AddressCounterTop Level

Control Logic

DOUT (7:0)

24 MHz Clock

Page 15: Digital Camera Design

LCD

• Best LCD solution for video application: color active matrix TFT• Transmissive or transflective polarization type• TFT modules offer sub-pixels (3 per pixel) to represent each RGB

color• LCD (with an integrated driver) accessible via parallel data

interface

Page 16: Digital Camera Design

Optrex LCD

• 6.4” Transmissive Color TFT• Dual CCT backlight• 640 x (RGB) x 480 (VGA format)• Thin form factor• Parallel 6-bit RGB data interface

LCD Panel(640 x 480)

TimingLogic

Vertical IC Driver

CCT

Horiz

onta

l IC

Drive

r

CCT

Page 17: Digital Camera Design

CoolRunner-II Interface

OptrexT-51382D

LCD Interface

Control Logic

VSYNCHSYNC

CLK

SRAMInterface Logic

SRAM

Address / Data / Control

Top LevelControl Logic

R (5:0)G (5:0)B (5:0)

PWMControl Logic

K2607 Inverter

Page 18: Digital Camera Design

System Design

LCDPanel

LCD Interface

Control Logic

SRAMInterface Logic

SRAM

MainControl Logic

PWMLogic

Inverter

CMOSImageSensor

SHIP Interface

Control Logic

Image Grabber

Control Logic

Page 19: Digital Camera Design

Cell Phone Camera Expansion

CMOSImageSensor

uP

KEYBOARD

DISPLAY

DRAM

EPROM

SRAMDSP

D/A

A/D SPEECHCODER

SPEECHDECODER

CHANNEL CODER

CHANNEL DECODE

CHANNEL SPREAD

RAKERCVR

RF MOD

RF DEMOD

DUPLEXER

RFAMP

RF RCV/AMP

Page 20: Digital Camera Design

Summary

• CoolRunner-II allocation– Design uses a 384 macrocell device (with approx. 80% utilization)– Varies based on internal ROM size for CMOS image sensor register writes

• CoolRunner-II is ideal for digital camera applications in portable and handheld devices– Provides a low power flexible interface with CMOS image sensors– Provides a low power data allocation and memory resource solution

• CoolRunner-II can be used to extend existing design (ie. PDA, cell phone) and add digital camera functionality