AR0330CM
www.onsemi.com
31
GAIN STAGES
The analog gain stages of the AR0330 sensor are shown
in Figure 30. The sensor analog gain stage consists of
column amplifiers and a variable ADC reference. The sensor
will apply the same analog gain to each color channel.
Digital gain can be configured to separate levels for each
color channel.
Figure 30. Gain Stages in AR0330 Sensor
ADC
Reference
Digital Gain
with Dithering
1x to 15.992x
(128 Steps per 6 dB)
“xxxx.yyyy”
xxxx(150)
yyyyyyy(127/128 to 0)
Coarse Gain:
1x, 2x, 4x, 8x
Fine Gain:
12x: 16 Steps
24x: 8 Steps
48x: 4 Steps
The level of analog gain applied is controlled by the
coarse_gain and fine_gain registers. The analog readout can
be configured differently for each gain level. The
recommended gain tables are listed in Table 32. It is
recommended that these registers are configured before
streaming images.
Table 32. RECOMMENDED SENSOR ANALOG GAIN TABLES
COARSE_GAIN
FINE_GAIN Total Gain COARSE_GAIN FINE_GAIN Total Gain
R0x3060[5:4]
Gain
(x)
R0x3060[3:0]
Gain
(x)
(x) (dB) R0x3060[5:4]
Gain
(x)
R0x3060[3:0]
Gain
(x)
(x) (dB)
0 1 0 1.00 1.00 0.00 0 1x 15 1.88 1.88 5.49
0 1 1 1.03 1.03 0.26 1 2x 0 1.00 2.00 6.00
0 1 2 1.07 1.07 0.56 1 2x 2 1.07 2.13 6.58
0 1 3 1.10 1.10 0.86 1 2x 4 1.14 2.29 7.18
0 1 4 1.14 1.14 1.16 1 2x 6 1.23 2.46 7.82
0 1 5 1.19 1.19 1.46 1 2x 8 1.33 2.67 8.52
0 1 6 1.23 1.23 1.80 1 2x 10 1.45 2.91 9.28
0 1 7 1.28 1.28 2.14 1 2x 12 1.60 3.20 10.10
0 1 8 1.33 1.33 2.50 1 2x 14 1.78 3.56 11.02
0 1 9 1.39 1.39 2.87 2 4x 0 1.00 4.00 12.00
0 1 10 1.45 1.45 3.25 2 4x 4 1.14 4.57 13.20
0 1 11 1.52 1.52 3.66 2 4x 8 1.33 5.33 14.54
0 1 12 1.60 1.60 4.08 2 4x 12 1.60 6.40 16.12
0 1 13 1.68 1.68 4.53 3 8x 0 1.00 8.00 18.00
0 1 14 1.78 1.78 5.00
Each digital gain can be configured from a gain of 0 to
15.875. The digital gain supports 128 gain steps per 6 dB of
gain. The format of each digital gain register is
“xxxx.yyyyyyy” where “xxxx” refers an integer gain of 1 to
15 and “yyyyyyy” is a fractional gain ranging from 0/128 to
127/128.
The sensor includes a digital dithering feature to reduce
quantization resulting from using digital gain can be
implemented by setting R0x30BA[5] to 1. The default value
is 0. Refer to “Real-Time Context Switching” for the analog
and digital gain registers in both context A and context B
modes.
AR0330CM
www.onsemi.com
32
DATA PEDESTAL
The data pedestal is a constant offset that is added to pixel
values at the end of datapath. The default offset is 168 and
is a 12-bit offset. This offset matches the maximum range
used by the corrections in the digital readout path.
The data pedestal value can be changed if the lock register
bit (R0x301A[3]) is set to “0”. This bit is set to “1” by
default.
SENSOR READOUT
Image Acquisition Modes
The AR0330 supports two image acquisition modes:
Electronic Rolling Shutter (ERS) Mode:
This is the normal mode of operation. When the
AR0330 is streaming; it generates frames at a fixed
rate, and each frame is integrated (exposed) using the
ERS. When the ERS is in use, timing and control logic
within the sensor sequences through the rows of the
array, resetting and then reading each row in turn. In the
time interval between resetting a row and subsequently
reading that row, the pixels in the row integrate incident
light. The integration (exposure) time is controlled by
varying the time between row reset and row readout.
For each row in a frame, the time between row reset
and row readout is the same, leading to a uniform
integration time across the frame. When the integration
time is changed (by using the two-wire serial interface
to change register settings), the timing and control logic
controls the transition from old to new integration time
in such a way that the stream of output frames from the
AR0330 switches cleanly from the old integration time
to the new while only generating frames with uniform
integration. See “Changes to Integration Time” in the
AR0330 Register Reference.
Global Reset Mode:
This mode can be used to acquire a single image at the
current resolution. In this mode, the end point of the
pixel integration time is controlled by an external
electromechanical shutter, and the AR0330 provides
control signals to interface to that shutter.
The benefit of using an external electromechanical
shutter is that it eliminates the visual artifacts
associated with ERS operation. Visual artifacts arise in
ERS operation, particularly at low frame rates, because
an ERS image effectively integrates each row of the
pixel array at a different point in time.
Window Control
The sequencing of the pixel array is controlled by the
x_addr_start, y_addr_start, x_addr_end, and y_addr_end
registers. The x_addr_start equal to 6 is the minimum setting
value. The y_addr_start equal to 6 is the minimum setting
value. Please refer to Table 33 and Table 34 for details.
Table 33. PIXEL COLUMN CONFIGURATION
Column Address
Number Type Notes
0–5 6 Active Border columns
6–2309 2304 Active Active columns
2310–2315 6 Active Border columns
Table 34. PIXEL ROW CONFIGURATION
Row Address
Number Type Notes
2–5 4 Active Not used in case of “edge effects”
6–1549 1544 Active Active rows
1550–1555 6 Active Not used in case of “edge effects”
Readout Modes
Horizontal Mirror
When the horizontal_mirror bit (R0x3040[14]) is set in
the image_orientation register, the order of pixel readout
within a row is reversed, so that readout starts from
x_addr_end + 1and ends at x_addr_start. Figure 31 shows
a sequence of 6 pixels being read out with R0x3040[14] = 0
and R0x3040[14] = 1. Changing R0x3040[14] causes the
Bayer order of the output image to change; the new Bayer
order is reflected in the value of the pixel_order register.
AR0330CM
www.onsemi.com
33
Figure 31. Effect of Horizontal Mirror on Readout Order
G0[11:0]
G3[11:0]
R0[11:0]
R2[11:0]
G1[11:0]
G2[11:0]
R1[11:0]
R1[11:0]
G2[11:0]
G1[11:0]
R2[11:0]
R0[11:0]
LINE_VALID
Horizontal_mirror = 0
D
OUT
[11:0]
Horizontal_mirror = 1
D
OUT
[11:0]
Vertical Flip
When the vertical_flip bit (R0x3040[15]) is set in the
image_orientation register, the order in which pixel rows are
read out is reversed, so that row readout starts from
y_addr_end and ends at y_addr_start. Figure 32 shows
a sequence of 6 rows being read out with R0x3040[15] = 0
and R0x3040[15] = 1. Changing this bit causes the Bayer
order of the output image to change; the new Bayer order is
reflected in the value of the pixel_order register.
Figure 32. Effect of Vertical Flip on Readout Order
Row0[11:0]
Row6[11:0]
FRAME_VALID
Vertical_flip = 0
D
OUT
[11:0]
Vertical_flip = 1
D
OUT
[11:0]
Row1[11:0]
Row5[11:0]
Row2[11:0]
Row4[11:0]
Row3[11:0]
Row3[11:0]
Row4[11:0]
Row2[11:0]
Row5[11:0]
Row1[11:0]

AR0330CM1C00SHAAH3-GEVB

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