Académique Documents
Professionnel Documents
Culture Documents
General Description
ision
TM
OV7648 Color CMOS VGA (640 x 480) CAMERACHIPTM OV7148 B&W CMOS VGA (640 x 480) CAMERACHIPTM Applications
Cellular Phones Picture Phones Toys PC Multimedia
The OV7648 (color) and OV7148 (black and white) CAMERACHIPSTM are low voltage CMOS image sensors that provide the full functionality of a single-chip VGA (640 x 480) camera and image processor in a small footprint package. The OV7648/OV7148 provides full-frame, sub-sampled or windowed 8-bit images in a wide range of formats, controlled through OmniVisions Serial Camera Control Bus (SCCB) interface. This product family has an image array capable of operating at up to 30 frames per second (fps) with complete user control over image quality, formatting and output data transfer. All required image processing functions, including exposure control, gamma, white balance, color saturation, hue control and more, are also programmable through the SCCB interface. In addition, OmniVision CAMERACHIPs use proprietary sensor technology to improve image quality by reducing or eliminating common lighting/electrical sources of image contamination such as fixed pattern noise, smearing, blooming, etc. to produce a clean, fully stable color image.
Key Specifications
Array Size Core Analog I/O Active 640 x 480 (VGA) 2.5VDC + 10% 2.5VDC + 4% 2.25V to 3.3V 40 mW (30 fps, including I/O power) 30 W -10C to 70C 0C to 50C YUV/YCbCr 4:2:2 RGB 4:2:2 Raw RGB Data 1/4" 30 fps 60 fps 2.20 V/Lux-sec 1.12 V/Lux-sec 46 dB 62 dB Progressive/Interlaced 523 x tROW 0.45 5.6 m x 5.6 m 30 mV/s 60 Ke < 0.03% of VPEAK-TO-PEAK 3.6 mm x 2.7 mm 4930 m x 4760 m
Features
High sensitivity for low-light operation 2.5V operating voltage for embedded portable applications Standard Serial Camera Control Bus (SCCB) interface VGA, QVGA (sub-sampled) and Windowed outputs with Raw RGB, RGB (GRB 4:2:2), YUV (4:2:2) and YCbCr (4:2:2) formats Automatic image control functions including: Automatic Exposure Control (AEC), Automatic Gain Control (AGC), Automatic White Balance (AWB), Automatic Brightness Control (ABC), Automatic Band Filter (ABF) for 60Hz noise and Automatic Black-Level Calibration (ABLC) Image quality controls including color saturation, hue, gamma, sharpness (edge enhancement), anti-blooming and zero smearing
Lens Size VGA QVGA B&W Sensitivity Color S/N Ratio Dynamic Range Scan Mode Maximum Exposure Interval Gamma Correction Pixel Size Dark Current Well Capacity Fixed Pattern Noise Image Area Package Dimensions
3 PWDN 4 VREF2
1 AGND 2 AVDD
22 SIO_D 21 SIO_C
20 Y0 19 Y1
18 Y2 17 Y3 16 Y4
Ordering Information
Product OV7648 (Color) OV7148 (B&W) Package CSP-22
5 DVDD 6 VSYNC 7
OV7648/OV7148
8 PCLK 9 DOVDD 10 XCLK1 11 RESET 12 DGND 13 Y7
14 Y6 15 Y5
CSP-22
HREF
OV7648/OV7148
Omni
ision
Functional Description
Figure 2 shows the functional block diagram of the OV7648/OV7148 image sensor. The OV7648/OV7148 includes: Image Sensor Array (640 x 480 resolution) Timing Generator Analog Processing Block A/D Converters Output Formatter Digital Video Port SCCB Interface
Analog Processing
MUX
A/D
Windowing
Row Select
Y[7:0]
Column Sense Amps RESET PWDN Timing Generator SCCB Interface VREF 1.0 f
Omni
ision
Functional Description
A/D Converters
After the Analog Processing Block, the color channel data signal is fed to two 8-bit Analog-to-Digital (A/D) converters via the multiplexers, one for the Y/G channel and one shared by the CbCr/BR channels. These A/D converters operate at speeds up to 12MHz, and are fully synchronous to the pixel rate (Actual conversion rate is related to the frame rate). In addition to the A/D conversion, this block also has the following functions: Digital Black-Level Calibration (BLC) Optional U/V channel delay Additional A/D range controls In general, the combination of the A/D Range Multiplier and A/D Range Control sets the A/D range and maximum value to allow the user to adjust the final image brightness as a function of the individual application.
Blue
Green
Red
Timing Generator
In general, the timing generator controls these functions: Array control and frame generation (VGA and QVGA outputs) Internal timing signal generation and distribution Frame rate timing Automatic Exposure Control (AEC) External timing outputs (VSYNC, HREF and PCLK)
Output Formatter
This block controls all output and data formatting required prior to sending the image out.
SCCB Interface
The Serial Camera Control Bus (SCCB) interface controls the CAMERACHIP operation. Refer to OmniVision Technologies Serial Camera Control Bus (SCCB) Specification for detailed usage of the serial control port.
Omni
ision
Pin Description
Name AGND AVDD Pin Type Power Power Function (default = 0) VREF Power Output Output Output Power Input Function (default = 0) Power Output Output Output Output Output Output Output Output Input I/O Analog ground Analog power supply (+2.5 VDC) Power Down Mode Selection 0: Normal mode 1: Power down mode Internal voltage reference (2.3V). Connect to ground through 1F capacitor Power supply (+2.5 VDC) for digital output drive Vertical sync output HREF output Pixel clock output Digital power supply (+2.5 to 3.3VDC) Crystal clock input Clears all registers and resets them to their default values. Digital ground YUV video component output bit[7] YUV video component output bit[6] YUV video component output bit[5] YUV video component output bit[4] YUV video component output bit[3] YUV video component output bit[2] YUV video component output bit[1] YUV video component output bit[0] SCCB serial interface clock input SCCB serial interface data I/O Function/Description
03
PWDN
04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
VREF2 DVDD VSYNC HREF PCLK DOVDD XCLK1 RESET DGND Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 SIO_C SIO_D
Omni
ision
Electrical Characteristics
Electrical Characteristics
Table 2 Absolute Maximum Ratings
-40C to +125C VDD-A Supply Voltages (with respect to Ground) VDD-C VDD-IO All Input/Output Voltages (with respect to Ground) Lead Temperature, Surface-mount process ESD Rating, Human Body model NOTE: 3V 3V 4V -0.3V to VDD_IO+1V +230C 2000V
Exceeding the Absolute Maximum ratings shown above invalidates all AC and DC electrical specifications and may result in permanent device damage.
Table 3
Symbol VDD-A VDD-C VDD-IO IDDA IDDS-SCCB IDDS-PWDN VIH VIL VOH VOL IOH IOL IL
a. b. c.
VDD-A = VDD-C = 2.5V, VDD-IO = 3.0V IDDA = {IDD-IO+ IDD-C + IDD-A}, fCLK = 24MHz at 30 fps, no I/O loading VDD-A = VDD-C = 2.5V, VDD-IO = 3.0V IDDS:SCCB refers to a SCCB-initiated Standby, while IDDS:PWDN refers to a PWDN pin-initiated Standby Standard Output Loading = 25pF, 1.2K to 3V
OV7648/OV7148
Omni
ision
Table 4
Symbol
Functional Characteristics A/D A/D AGC Differential Non-Linearity Integral Non-Linearity Range Red/Blue Adjustment Range Inputs (PWDN, CLK, RESET) fCLK tCLK tCLK:DC tS:RESET tS:REG Input Clock Frequency Input Clock Period Clock Duty Cycle Setting time after software/hardware reset Settling time for register change (10 frames required) 10 100 45 24 42 50 27 37 55 1 300 MHz ns % ms ms + 1/2 +1 21 12 LSB LSB dB dB
SCCB (SIO_C and SIO_D - see Figure 4) fSIO_C tLOW tHIGH tAA tBUF tHD:STA tSU:STA tHD:DAT tSU:DAT tSU:STO tR, tF tDH Clock Frequency Clock Low Period Clock High Period SIO_C low to Data Out valid Bus free time before new START START condition Hold time START condition Setup time Data-in Hold time Data-in Setup time STOP condition Setup time SCCB Rise/Fall times Data-out Hold time 50 1.3 600 100 1.3 600 600 0 100 600 300 900 400 KHz s ns ns s ns ns s ns ns ns ns
Outputs (VSYNC, HREF, PCLK, and Y[7:0] - see Figure 5, Figure 6, and Figure 7) tPDV tSU tHD tPHH tPHL PCLK[] to Data-out Valid Y[7:0] Setup time Y[7:0] Hold time PCLK[] to HREF[] PCLK[] to HREF[] VDD: AC Conditions: VDD-A = VDD-C = 2.5V, VDD-IO = 3.3V 5ns, Maximum SCCB: 300ns, Maximum Input Capacitance: 10pf Output Loading: 25pF, 1.2K to 3V 24MHz fCLK: Version 1.2, February 20, 2003 15 8 0 0 5 5 5 ns ns ns ns ns
Omni
ision
Timing Specifications
Timing Specifications
Figure 4 SCCB Timing Diagram
tF tLOW SIO_C tSU:STA SIO_D IN t BUF tAA SIO_D OUT t DH t HD:STA t HD:DAT t SU:DAT tSU:STO t HIGH tR
t PHL HREF tSU t HD Y[7:0] Last Byte First Byte tPDV Last Byte (Row Data)
tPHL
OV7648/OV7148
Omni
ision
Note: As the RGB, YUV and YCbCr formats use the Bayer pattern for interpolation, the first row transferred out on the Y[7:0] bus will be invalid, as there is no row above Row #1 to provide the 'pair data' required. Because of this, the OV7648 does not enable the HREF signal during the first row read (shown above in the 'invalid data' zone).
Omni
ision
Timing Specifications
t PHL HREF tSU t HD Y[7:0] Last Byte First Byte tPDV Last Byte (Row Data)
tPHL
First Byte Y[7] Y[6] Y[5] Y[4] Y[3] Y[2] Y[1] Y[0] R0 G5 G3 R4
Second Byte G2 G0 B4 Y[7] Y[6] Y[5] Y[4] Y[3] Y[2] Y[1] B0 Y[0]
t PHL HREF tSU t HD Y[7:0] Last Byte First Byte tPDV Last Byte (Row Data)
tPHL
First Byte Y[7] Y[6] Y[5] Y[4] Y[3] Y[2] Y[1] Y[0] R0 G4 G3 X R4
Second Byte G2 G0 B4 Y[7] Y[6] Y[5] Y[4] Y[3] Y[2] Y[1] B0 Y[0]
Omni
ision
Table 5 provides a list and description of the Device Control registers contained in the OV7648/OV7148. For all register Enable/Disable bits, ENABLE=1 and DISABLE=0. The device slave addresses for the OV7648/OV7148 are 42 for write and 43 for read.
Table 5
Address (Hex) 00
01
BLUE
80
RW
Range: [00] to [FF] Note: This function is not available on the B&W OV7148. AWB Red channel gain setting
02
RED
80
RW
Range: [00] to [FF] Note: This function is not available on the B&W OV7148. Image Format Color saturation value Bit[7:4]: Saturation value Range: [0] to [F] Bit[3:0]: Reserved Note: This function is not available on the B&W OV7148. Image Format Color hue control Bit[7:6]: Reserved Bit[5]: Hue Enable Bit[4:0]: Hue setting Note: This function is not available on the B&W OV7148. AWB Red/Blue Pre-Amplifier gain setting Bit[7:4]: Red channel pre-amplifier gain setting Range: [0] to [F] Bit[3:0]: Blue channel pre-amplifier gain setting Range: [0] to [F] Note: This function is not available on the B&W OV7148.
03
SAT
84
RW
04
HUE
34
RW
05
CWF
3E
RW
06 07-09 0A 0B 0C-0F 10
80 XX 76 48 XX 41
RW R R RW
ABC Brightness setting Range: [00] to [FF] Reserved Product ID number (Read only) Product version number (Read only) Reserved Exposure Value
10
Omni
ision
Register Set
Table 5
Address (Hex)
11
CLKRC
00
RW
POS
NEG
Bit[5:0]:
12
COMA
14
RW
Common Control A Bit[7]: SCCB Register Reset 0: No change 1: Reset all registers to default values Bit[6]: Output Format Mirror Image Enable Bit[5]: Reserved Bit[4]: Data Format YUV formatting 0: U Y V Y U Y V Y 1: Y U Y V Y U Y V Bit[3]: Output Format Output Channel Select A 0: YUV/YCbCr 1: RGB/Raw RGB Bit[2]: AWB Enable Bit[1:0]: Reserved Note: This function is not available on the B&W OV7148. Common Control B Bit[7:5]: Reserved Bit[4]: Data Format ITU-656 Format Enable Bit[3]: Reserved Bit[2]: SCCB Tri-State Enable Y[7:0] Bit[1]: AGC Enable Bit[0]: AEC Enable
13
COMB
A3
RW
11
OV7648/OV7148
Table 5
Address (Hex)
Omni
ision
14
COMC
04
RW
POS
NEG
Bit[2:0]:
Reserved
15
COMD
00
RW
Common Control D Bit[7]: Data Format Output Flag Bit Disable 0: Frame = 254 data bits (00/FF = Reserved flag bits) 1: Frame = 256 data bits Bit[6]: Data Format Y[7:0]-PCLK Reference Edge 0: Y[7:0] data out on PCLK falling edge 1: Y[7:0] data out on PCLK rising edge Bit[5:1]: Reserved Bit[0]: Data Format UV Sequence Exchange 0: V Y U Y V Y U Y 1: U Y V Y U Y V Y Note: Bit[0] is not programmable on the B&W OV7148. Reserved Output Format Horizontal Frame (HREF Column) Start Output Format Horizontal Frame (HREF Column) Stop Output Format Vertical Frame (Row) Start Output Format Vertical Frame (Row) Stop Data Format Pixel Delay Select (Delays timing of the Y[7:0] data relative to HREF in pixel units) Range: [00] (No delay) to [FF] (256 pixel delay)
16 17 18 19 1A
XX 1A BA 03 F3
RW RW RW RW
1B
PSHFT
00
RW
1C 1D 1E
7F A2 XX
R R
12
Omni
ision
Register Set
Table 5
Address (Hex)
1F
FACT
01
RW
20
COME
C0
RW
Common Control E Bit[7]: Reserved Bit[6]: AEC Digital Averaging Enable Bit[5]: Reserved Bit[4]: Image Quality Edge Enhancement Enable Bit[3:1]: Reserved Bit[0]: Y[7:0] 2X IOL / IOH Enable Reserved AGC/AEC Stable Operating Region Upper Limit AGC/AEC Stable Operating Region Lower Limit Common Control F Bit[7:3]: Reserved Bit[2]: Data Format Output Data MSB/LSB Swap Enable (LSB MSB (Y[7]) and MSB LSB (Y[0]) Bit[1:0]: Reserved Common Control G Bit[7:5]: Reserved Bit[4]: Color Matrix RGB Crosstalk Compensation Enable (Used to increase each color filters efficiency) Note: Bit[4] is not programmable on the B&W OV7148.
21-23 24 25
XX 10 8A
RW RW
26
COMF
A2
RW
27
COMG
E2
RW
Bit[3:2]: Bit[1]:
Bit[0]:
Reserved Data Format Output Full Range Enable 0: Output Range = [10] to [F0] (224 bits) 1: Output Range = [01] to [FE] (254/256 bits) Reserved
28
COMH
20
RW
Common Control H Bit[7]: Output Format RGB Output Select 0: RGB 1: Raw RGB Bit[6]: Device Select 0: OV7640 1: OV7148 Bit[5]: Output Format Scan Select 0: Interlaced 1: Progressive Bit[4:0]: Reserved
13
OV7648/OV7148
Table 5
Address (Hex)
Omni
ision
29
COMI
00
2A
FRARH
00
RW
2B 2C
FRARL RSVD
00 XX
RW
Data Format Frame Rate Adjust Setting LSB FRA[9:0] = MSB + LSB = FRARH[6:5] + FRARL[7:0] Reserved Common Control J Bit[7:3]: Reserved Bit[2]: AEC Band Filter Enable Bit[1:0]: Reserved Reserved Signal Process Control B Bit[7]: AGC 1.5x Multiplier (Pre-amplifier) Enable Bit[6:0]: Reserved Reserved Color Matrix RGB Crosstalk Compensation R Channel
2D
COMJ
81
RW
2E-5F
RSVD
XX
60
SPCB
06
RW
61-6B 6C
RSVD RMCO
XX 11
RW
Note: This function is not available on the B&W OV7148. Color Matrix RGB Crosstalk Compensation G Channel 6D GMCO 01 RW Note: This function is not available on the B&W OV7148. Color Matrix RGB Crosstalk Compensation B Channel 6E 6F-70 BMCO RSVD 06 XX RW Note: This function is not available on the B&W OV7148. Reserved Common Mode Control L Bit[7]: Reserved Bit[6]: Data Format PCLK output gated by HREF Enable Bit[5]: Data Format Output HSYNC on HREF Pin Enable Bit[4]: Reserved Bit[3:2]: Data Format HSYNC Rising Edge Delay MSB Bit[1:0]: Data Format HSYNC Falling Edge Delay MSB Data Format HSYNC Rising Edge Delay LSB 72 HSDYR 10 RW HSYNCR[9:0] = MSB + LSB = COML[3:2] + HSDYR[7:0] Range 000 to 762 pixel delays
71
COML
00
RW
14
Omni
ision
Register Set
Table 5
Address (Hex)
73
HSDYF
50
RW
HSYNCF[9:0] = MSB + LSB = COML[1:0] + HSDYF[7:0] Range 000 to 762 pixel delays Common Mode Control M Bit[7]: Reserved Bit[6:5]: AGC Maximum Gain Select 00: +6 dB 01: +12 dB 10: +6 dB 11: +18 dB Bit[4:0]: Reserved Common Mode Control N Bit[7]: Output Format Vertical Flip Enable Bit[6:0]: Reserved Common Mode Control O Bit[7:6]: Reserved Bit[5]: Standby Mode Enable Bit[4:3]: Reserved Bit[2]: SCCB Tri-State Enable VSYNC, HREF and PCLK Bit[1:0]: Reserved Reserved AEC Digital Y/G Channel Average (Automatically updated by AGC/AEC, user can only read the values) AEC Digital R/V Channel Average (Automatically updated by AGC/AEC, user can only read the values) Note: This function is not available on the B&W OV7148. AEC Digital B/U Channel Average (Automatically updated by AGC/AEC, user can only read the values) Note: This function is not available on the B&W OV7148.
74
COMM
20
RW
75
COMN
02
RW
76
COMO
00
RW
77-7D 7E
RSVD AVGY
XX 00
RW
7F
AVGR
00
RW
80
AVGB
00
RW
NOTE: All other registers are factory-reserved. Please contact OmniVision Technologies for reference register settings.
15
OV7648/OV7148
Omni
ision
Package Specifications
The OV7648/OV7148 uses a 22-ball Chip Scale Package (CSP). Refer to Figure 10 for package information, Table 6 for package dimensions and Figure 11 for the array center on the chip.
Pin 1 Indicator
820 m 60 m
180 m 30 m
Side View
Table 6
Package Body Dimension X Package Body Dimension Y Package Height Package Body Thickness Ball Height Ball Diameter Total Pin Count Pin Count X-axis Pin Count Y-axis Pins Pitch X-axis Pins Pitch Y-axis Edge-to-Pin Center Distance Analog X Edge-to-Pin Center Distance Analog Y 16
Omni
ision
Package Specifications
Pin 1
3584 m
2688 m
OV7648/OV7148
Note: Due to the lens inversion, in order for the image to be right-side up, the OV7648/OV7148 must be mounted Pin 1 down.
17
OV7648/OV7148
Omni
ision
300.0 275.0 250.0 225.0 Temperature (oC) 200.0 175.0 150.0 125.0 100.0 75.0 50.0 25.0 0.0 0.0 50.0 100.0 150.0 200.0 250.0 300.0 Time (sec) 350.0 400.0 450.0 500.0 550.0 580.0
Environmental Specifications
Table 7 OV7648/OV7148 Reliability Test Results
Parameter Temperature/Humidity Temperature Cycling (Air-to-Air) Highly Accelerated Stress Test (HAST) High Temperature Storage (HTS) High Temperature Static Bias (HTSB)
a.
Test Condition 85C/85% Relative Humidity, 1000 hrs.a -25C / +125C, 72 cycles/day, 1000 cyclesa 110C / 85% Relative Humidity, 168 hrs.a 150C, 1000 hrs.a 125C, 1000 hrs.a
Pre-Condition (Moisture Level II): 125C, 24h 85C/60% RH/168h IR Reflow 235C, 10 sec, 3 cycles
18
Omni
ision
Package Specifications
Note:
All information shown herein is current as of the revision and publication date. Please refer to the OmniVision web site (http://www.ovt.com) to obtain the current versions of all documentation. OmniVision Technologies, Inc. reserves the right to make changes to their products or to discontinue any product or service without further notice (It is advisable to obtain current product documentation prior to placing orders). Reproduction of information in OmniVision product documentation and specifications is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. In such cases, OmniVision is not responsible or liable for any information reproduced. This document is provided with no warranties whatsoever, including any warranty of merchantability, non-infringement, fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification or sample. Furthermore, OmniVision Technologies Inc. disclaims all liability, including liability for infringement of any proprietary rights, relating to use of information in this document. No license, expressed or implied, by estoppels or otherwise, to any intellectual property rights is granted herein. OmniVision, CameraChip are trademarks of OmniVision Technologies, Inc. All other trade, product or service names referenced in this release may be trademarks or registered trademarks of their respective holders. Third-party brands, names, and trademarks are the property of their respective owners.
19
OV7648/OV7148
Omni
ision
20