MT9V032
www.onsemi.com
43
This is to ensure the column pointer does not go beyond
the limit the MT9V032 can support.
Automatic Gain Control and Automatic Exposure
Control
The integrated AEC/AGC unit is responsible for ensuring
that optimal auto settings of exposure and (analog) gain are
computed and updated every frame.
Automatic exposure control (AEC) and automatic gain
control (AGC) can be individually enabled or disabled by
R0xAF. When AEC is disabled (R0xAF[0] = 0), the sensor
uses the manual exposure value in R0x0B. When AGC is
disabled (R0xAF[1] = 0), the sensor uses the manual gain
value in R0x35. See ON Semiconductor Technical Note
TN0981, “MT9V032 AEC and AGC Functions,” for
further details.
MAX. EXPOSURE
(R
0xBD)
DESIRED BIN
(desired luminance)
(R
0xA5)
MAX. GAIN
(R
0x36)
EXP. LPF
(R
0xA8)
EXP. SKIP
(R0xA6)
MANUAL EXP.
(R0x08)
AEC ENABLE
(R0Xaf[0])
To exposure
timing control
To analog
gain control
R
0xBA
AEC
OUTPUT
R
0xBB
AGC OUTPUT
MIN GAIN
MIN EXP
GAIN LPF
(R
0xAB)
GAIN SKIP
(R0xA9)
MANUAL GAIN
(R0x35)
AGC ENABLE
(R0xAF[1])
CURRENT BIN
(current luminance
(R0xBC)
AEC
UNIT
HISTOGRAM
GENERATOR
UNIT
AGC
UNIT
1
16
Figure 27. Controllable and Observable AEC/AGC Registers
0
1
1
0
The exposure is measured in rowtime by reading
R0xBB. The exposure range is 1 to 2047. The gain is
measured in gainunits by reading R0xBA. The gain range
is 16 to 63 (unity gain = 16 gainunits; multiply by 1/16 to
get the true gain).
When AEC is enabled (R0xAF[0] = 1), the maximum auto
exposure value is limited by R0xBD; minimum auto
exposure is fixed at 1 row.
When AGC is enabled (R0xAF[1] = 1), the maximum
auto gain value is limited by R0x36; minimum auto gain is
fixed to 16 gainunits.
The exposure control measures current scene luminosity
and desired output luminosity by accumulating a histogram
of pixel values while reading out a frame. The desired
exposure and gain are then calculated from this for
subsequent frame.
Pixel Clock Speed
The pixel clock speed is same as the master clock
(SYSCLK) at 26.66 MHz by default. However, when
column binning 2 or 4 (R0x0D, bit 2 or 3) is enabled, the
pixel clock speed is reduced by half and onefourth of the
master clock speed respectively. See “Read Mode Options”
and “Column Binning” for additional information.
Hard Reset of Logic
The RC circuit for the MT9V032 uses a 10kW resistor and
a 0.1mF capacitor. The rise time for the RC circuit is 1ms
maximum.
Soft Reset of Logic
Soft reset of logic is controlled by:
R0x0C reset
Bit 0 is used to reset the digital logic of the sensor while
preserving the existing twowire serial interface
configuration. Furthermore, by asserting the soft reset, the
sensor aborts the current frame it is processing and starts
a new frame. Bit 1 is a shadowed reset control register bit to
explicitly reset the automatic gain and exposure control
feature.
These two bits are selfresetting bits and also return to “0”
during twowire serial interface reads.
STANDBY Control
The sensor goes into standby mode by setting STANDBY
to HIGH. Once the sensor detects that STANDBY is
asserted, it completes the current frame before disabling the
digital logic, internal clocks, and analog power enable
signal. To release the sensor from the standby mode, reset
MT9V032
www.onsemi.com
44
STANDBY back to LOW. The LVDS must be powered to
ensure that the device is in standby mode. See
“Appendix B – PowerOn Reset and Standby Timing” for
more information on standby.
Monitor Mode Control
Monitor mode is controlled by:
R0x0E monitor mode enable
R0xC0 monitor mode image capture control
The sensor goes into monitor mode when R0x0E bit 0 is
set to HIGH. In this mode, the sensor first captures
a programmable number of frames (R0xC0), then goes into
a sleep period for five minutes. The cycle of sleeping for five
minutes and waking up to capture a number of frames
continues until R0x0E bit 0 is cleared to return to normal
operation.
In some applications when monitor mode is enabled, the
purpose of capturing frames is to calibrate the gain and
exposure of the scene using automatic gain and exposure
control feature. This feature typically takes less than 10
frames to settle. In case a larger number of frames is needed,
the value of R0xC0 may be increased to capture more
frames.
During the sleep period, none of the analog circuitry and
a very small fraction of digital logic (including
a fiveminute timer) is powered. The master clock
(SYSCLK) is therefore always required.
MT9V032
www.onsemi.com
45
READ MODE OPTIONS
(Also see “Output Data Format” and “Output Data
Timing”.)
Column Flip
By setting bit 5 of R0x0D the readout order of the columns
is reversed, as shown in Figure 28.
Row Flip
By setting bit 4 of R0x0D the readout order of the rows is
reversed, as shown in Figure 29.
Figure 28. Readout of 6 Pixels in Normal and Column Flip Output Mode
LINE_VALID
Normal readout
D
OUT
(9:0
)
Reverse readout
D
OUT
(9:0
)
P4,1
(9:0)
P4,2
(9:0)
P4,3
(9:0)
P4,4
(9:0)
P4,5
(9:0)
P4,6
(9:0)
P4,n
(9:0)
P4,n1
(9:0)
P4,n2
(9:0)
P4,n3
(9:0)
P4,n4
(9:0)
P4,n5
(9:0)
D
OUT
(9:0)
D
OUT
(9:0)
Figure 29. Readout of 6 Rows in Normal and Row Flip Output Mode
LINE_VALID
Normal readout
D
OUT
(9:0
)
Reverse readout
D
OUT
(9:0
)
Row4
(9:0)
Row5
(9:0)
Row6
(9:0)
Row7
(9:0)
Row8
7(9:0)
Row9
(9:0)
Row484
(9:0)
Row483
(9:0)
Row482
(9:0)
Row481
(9:0)
Row480
7(9:0)
Row479
(9:0)
D
OUT
(9:0)
D
OUT
(9:0)
Pixel Binning
In addition to windowing mode in which smaller
resolution (CIF, QCIF) is obtained by selecting small
window from the sensor array, the MT9V032 also provides
the ability to show the entire image captured by pixel array
with smaller resolution by pixel binning. Pixel binning is
based on combining signals from adjacent pixels by
averaging. There are two options: binning 2 and binning 4.
When binning 2 is on, 4 pixel signals from 2 adjacent rows
and columns are combined. In binning 4 mode, 16 pixels are
combined from 4 adjacent rows and columns. The image
mode may work in conjunction with image flip. The binning
operation increases SNR but decreases resolution.
Enabling row bin2 and row bin4 improves frame rate by
2x and 4x respectively. The feature of column binning does
not increase the frame rate in less resolution modes.
Row Binning
By setting bit 0 or 1 of R0x0D, only half or onefourth of
the row set is read out, as shown in Figure 30 below. The
number of rows read out is half or onefourth of what is set
in R0x03.

MT9V032C12STMH-GEVB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Optical Sensor Development Tools WVGA 1/3" GS CIS HB
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet