Datasheet
Table Of Contents
- applications
- features
- key specifications
- table of contents
- list of figures
- list of tables
- 1 signal descriptions
- 2 system level description
- 3 block level description
- 4 image sensor core digital functions
- 4.1 mirror and flip
- 4.2 image windowing
- 4.3 test pattern
- 4.4 50/60Hz detection
- 4.5 AEC and AGC algorithms
- 4.6 AEC/AGC steps
- 4.7 black level calibration (BLC)
- 4.8 strobe flash and frame exposure
- 4.9 xenon flash control
- 4.10 frame exposure (FREX) mode
- 4.11 FREX strobe flash control
- 4.12 one-time programmable (OTP) memory
- 5 image sensor processor digital functions
- 6 image sensor output interface digital functions
- 7 register tables
- table 7-1 system control registers (sheet 1 of 5)
- table 7-2 SCCB registers (sheet 1 of 2)
- table 7-3 group hold control registers
- table 7-4 AEC/AGC 1 registers
- table 7-5 system timing registers (sheet 1 of 3)
- table 7-6 AEC/AGC 2 registers (sheet 1 of 3)
- table 7-7 STROBE/frame exposure control registers (sheet 1 of 2)
- table 7-8 50/60 HZ DETECTION registers
- table 7-9 OTP control registers (sheet 1 of 2)
- table 7-10 BLC registers (sheet 1 of 3)
- table 7-11 frame control registers
- table 7-12 DVP registers (sheet 1 of 2)
- table 7-13 MIPI top registers (sheet 1 of 11)
- table 7-14 ISPFC registers
- table 7-15 ISP TOP control registers (sheet 1 of 6)
- table 7-16 AWB registers (sheet 1 of 3)
- table 7-17 average registers (sheet 1 of 2)
- table 7-18 DPC registers
- table 7-19 LENC registers (sheet 1 of 4)
- table 7-20 cluster DPC registers (sheet 1 of 2)
- table 7-21 windows registers
- table 7-22 AEC/AGC 3 registers
- 8 operating specifications
- 9 mechanical specifications
- 10 optical specifications
- revision history
Confidential for truly Only
11.03.2009 PRELIMINARY SPECIFICATION proprietary to OmniVision Technologies
4-7
4.5 AEC and AGC algorithms
4.5.1 overview
The Auto Exposure Control (AEC) and Auto Gain Control (AGC) allows the image sensor to adjust the image brightness
to a desired range by setting the proper exposure time and gain applied to the image. Besides automatic control,
exposure time and gain can be set manually from external control. The related registers are listed in
table 4-5
table 4-5 AEC/AGC control function registers
address
register name
default
value
R/W
description
0x3500 EXPOSURE 0x00 RW Bit[3:0]: Exposure[19:16]
0x3501 EXPOSURE 0x00 RW Bit[7:0]: Exposure[15:8]
0x3502 EXPOSURE 0x20 RW Bit[7:0]: Exposure[7:0]
0x3503 MANUAL CTRL 0x00 RW
Bit[5:4]: Gain latch timing delay
x0: Gain has no latch delay
01: Gain delay of 1 frame
11: Gain delay of 2 frames
Bit[2]: VTS manual
0: Auto enable
1: Manual enable
Bit[1]: AGC manual
0: Auto enable
1: Manual enable
Bit[0]: AEC manual
0: Auto enable
1: Manual enable
0x350A AGC 0x00 RW
Bit[1:0]: Gain[9:8]
AGC real gain output high byte
0x350B AGC 0x00 RW
Bit[7:0]: Gain[7:0]
AGC real gain output low byte
0x350C VTS DIFF 0x06 RW
Bit[7:0]: vts_diff[15:8]
When in manual mode, set to 0x00
0x350D VTS DIFF 0x18 RW
Bit[7:0]: vts_diff[7:0]
When in manual mode, set to 0x00










