HYNIX HV7121B

HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
DESCRIPTION
HV7121B is a highly integrated single chip CMOS color image sensor using Hyundai 0.5um CMOS process
developed for image application to realize high efficiency R/G/B photo sensor. The sensor has 414X314 pixels
total, and 400X300 pixels effective. Each pixel is high photo sensitive, small size active pixel element that
converts photons to analog voltage signal. The sensor has three on-chip 8 bit Digital to Analog Convert (DAC)
and 414 comparators to digitize the pixel output. The three on-chip 8 bit DAC can be used for independent
R/G/B gain control. Hyundai proprietary on-chip CDS circuit can reduce Fixed Pattern Noise (FPN)
dramatically. The whole 8 bit digital color raw data is directly available on the package pins and just few
control signals are needed for whole chip control, so it is very ease to configure a system using the sensor.
FEATURES
l
l
l
l
l
l
l
l
400 x 300 pixels resolution
8um x 8um square pixels
High efficiency R/G/B color photo sensors
Integrated 8-bit ADC for direct digital output
Low power 3.3V operation (5V tolerant I/O)
Integrated pan control and window sizing
Clock speed up to 15MHz
Programmable frame rate and synchronous
format
Full function control through standard I2C bus
Built-in AGC
48Pin CLCC / 20Pin CDIP
Bayer RGB color pattern
Anti-blooming circuit
Flexible exposure time control
Integrated on-chip timing and drive control
1/4" optical format
TECHNICAL SPECIFICATION
Pixel resolution
Pixel size
Fill factor
Format
Sensitivity
S/R
Supply voltage for analog
Supply voltage for digital
Supply voltage for 5V tolerant input
Supply current
Operating temperature
Technology
FUNCTIONAL BLOCK DIAGRAM
402x302
8x8um2
30%
CIF
TBD
TBD
3.3V
3.3V
5.0V
I2C
Control
Register
& Logic
Decoder/Pixel Driver
l
l
l
l
l
l
l
l
Pixel
Array
ADC Block
0~40 C
0.5um 3metal CMOS
Line Buffer
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
1
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
ELECTRICAL CHARACTERISTIC
Absolute Maximum Ratings
l
Supply voltage(Analog, Digital)
:
3.0 V
~
3.6 V
l
Voltage on any input pins
:
0V
~
5.0 V
l
Operating Temperature
:
0¡ É
~
40¡ É
Note : Input pins are 5V tolerant. Stresses exceeding the absolute maximum ratings may induce failure.
DC Operating Conditions
Symbol
Parameter
Units
Min.
Max.
Load[pF]
Vdd
Internal operation supply voltage
Volt
3.0
3.6
Vih
Input voltage logic "1"
Volt
2.0
5
6.5
Vil
Input voltage logic "0"
Volt
0
0.8
6.5
Voh
Output voltage logic "1"
Volt
2.15
3.6
60
Vol
Output voltage logic "0"
Volt
0.4
0.4
60
Ta
Ambient operating temperature
Celsius
0
40
Notes
AC Operating Conditions
Symbol
Parameter
Max Operation Frequency
Units
Notes
MCLK
Main clock frequency
20
MHz
1
400
kHz
2
SCK
2
I C clock frequency
1. MCLK can be divided according to Clock Divide Register for internal clock.
2. SCK is driven by host processor. For the detail serial bus timing, refer to I2C Spec.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
2
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
ELECTRO-OPTICAL CHARACTERISTICS
Parameter
Units
Min.
Typical
Max.
Note
Sensitivity
mV / lux sec
TBD
TBD
TBD
1)
Dark Signal
mV
TBD
TBD
2)
Output Saturation Signal
mV
TBD
TBD
3)
Blooming
%
Dynamic Range
dB
TBD
4)
TBD
TBD
TBD
Shading
Fixed Pattern Noise
%
TBD
5)
TBD
6)
Note:
1) Measured at 26 [1ux] illumination for exposure time 10 [msec]
2) Measured at zero illumination for exposure time 48 [msec] (Ta = 25 C)
3) Measured at Vdd =3.3V
4) 48dB is limited by 8-bit ADC
5) Variation in individual pixel response over entire sensor area
6) Measured at zero [lux] and 70 [lux] illumination for exposure time 10 [msec] Variation of average
pixel response from column(i) to column(i+2) and from row(i) to raw(i+2) due to Bayer Pattern RGB
sampling.
Remarks : Master Clock = 15MHz
*All values are measured by raw image data from image sensor.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
3
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
INPUT / OUTPUT AC CHARACTERISTICS
l
All output timing delays are measured with output load 60[pF].
l
Output delay include the internal clock path delay[6ns] and output driving delay that changes in
respect to the output load, the operating environment, and a board design.
l
Due to the variable valid time delay of the output, output signals may be latched in the negative
edge of MCLK for the stable data transfer between the image sensor and a host for less than
15MHz operation.
MCLK to HSYNC/VSYNC Timing
T1
T1
MCLK
HSYNC/VSYNC
T2
T1 : MCLK rising to HSYNC/VSYNC Valid maximum Time : 18ns [output load: 60pF]
T2 : HSYNC/VSYNC Valid Time : minimum 1Clock(subject to T1, T2 timing rule)
MCLK to DATA Timing
T3
T3
MCLK
DATA[7:0]
Valid DATA
T3 : MCLK rising to DATA Valid maximum Time : 18ns [output load: 60pF]
Note) HSYNC signal is high when valid data is on the DATA bus.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
4
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
INPUT / OUTPUT AC CHARACTERISTICS (Continue)
ENB Timing
T4
T5
MCLK
ENB
T
T4 : ENB Setup Time : 5ns
T5 : ENB Hold Time : 5ns
T6 : ENB Valid Time : minimum 2 Clock
RESET Timing
Must in Valid (active LOW) state at least 8MCLK periods
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
5
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
INPUT
/ OUTPUT AC CHARACTERISTICS CONTINUE
I2C Bus (Programming Serial Bus) Timing
stop
start
start
stop
SDA
tr
tf
tbuf
thd;sta
tlow
SCK
thd;sta
thd;dat
thigh
tsu;dat
tsu;sta
tsu;sto
I2C Bus Interface Timing
Parameter
Symbol
Min.
Max.
Unit
SCK clock frequency
fsck
0
400
KHz
Time that I C bus must be free before a new
transmission can start
tbuf
1.2
us
Hold time for a START
LOW period of SCK
thd;sta
tlow
1.0
1.2
us
us
HIGH period of SCK
Setup time for START
Data hold time
thigh
tsu;sta
thd;dat
1.0
1.2
1.3
us
us
us
Data setup time
Rise time of both SDA and SCK
tsu;dat
tr
250
250
ns
ns
Fall time of both SDA and SCK
tf
300
ns
Setup time for STOP
Capacitive load of each bus lines(SDA,SCK)
tsu;sto
Cb
2
1.2
us
pf
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
6
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PIN CONFIGURATION (48 pin CLCC)
PIN NO.
1
2
3
4
5
6
7
8
17
18
21
22
23
24
25
NAME
SCK
DGND
ENB
DGND
MCLK
VDD5
AVDD
AGND
AGND
AVDD
DGND
DATA7
DATA6
DATA5
DATA4
PIN NO.
26
27
28
29
30
31
32
42
43
44
45
46
47
48
NAME
DGND1
DATA3
DATA2
DATA1
DATA0
DVDD
DGND1
DVDD
RESET
VSYNC
HSYNC
DGND
SDA
DGND
Pin9~16, Pin19~20, Pin33~41 : No Connection
COLOR PATTERN
(413, 313)
DIE
pixel array
origin (0,0)
313
312
R
G
413
G
B
412
R
G
G
B
1
0
Read out
start point
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
7
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PIN CONFIGURATION (20 pin CDIP)
20
19
1
2
18
3
17 16
4
5
15
6
14
7
13
8
12
9
11
10
PIN NO.
NAME
PIN NO.
NAME
1
AGND
11
DVDD
2
DATA 7
12
RESET
3
DATA 6
13
VSYNC
4
DATA 5
14
HSYNC/DVALID
5
DATA 4
15
SDA
6
DATA 3
16
SCK
7
DATA 2
17
ENB
8
DATA 1
18
MCLK
9
DATA 0
19
+5V Tolerant
Bias
10
DGND
20
AVDD
COLOR PATTERN
(413, 313)
DIE
active sensing area
origin (0,0)
313
312
Read out
413
1 0
412
Start Point
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
8
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PIN DESCRIPTION (48 Pin CLCC)
PIN
NAME
I/O
1
2
3
SCK
DGND
ENB
I
I
I
4
5
DGND
MCLK
I
I
6
7
8
9 ~ 16
17
18
19, 20
21
22
23
24
25
26
27
28
29
30
31
32
33 ~ 41
42
43
44
VDD5
AVDD
AGND
N.C
AGND
AVDD
Reserved
DGND
DATA7
DATA6
DATA5
DATA4
DGND
DATA3
DATA2
DATA1
DATA0
DVDD
DGND
N.C
DVDD
RESET
VSYNC
I
I
I
45
HSYNC
/DVALID
DGND
SDA
DGND
46
47
48
I
I
I
O
O
O
O
I
O
O
O
O
I
I
I
I
O
O
I
I/O
I
DESCRIPTION
I C Clock ; I C clock control from IIC master
Digital Ground
Sensor Enable Signal ; 'H' enable normal operation
'L' disable sensor by stalling internal clock
Digital Ground
Master Clock (up to 15MHz)
; Global master clock for image sensor internal timing control
I/O bias voltage for 5V tolerant *1)
Analog Supply Voltage 3.3V
Analog Ground
No Connection
Analog Ground
Analog Supply Voltage 3.3V
Reserved
Digital Ground
Image Data bit 7
Image Data bit 6
Image Data bit 5
Image Data bit 4
Digital Ground
Image Data bit 3
Image Data bit 2
Image Data bit 1
Image Data bit 0
Digital Supply Voltage 3.3V
Digital Ground
No Connection
Digital Supply Voltage 3.3V
Hardware Reset Signal, Active Low
Vertical synchronization signal / Frame start output
; Signal pulse at start of image data frame with programmable
blanking duration
Horizontal synchronization signal / Data valid output
; Data valid when 'H' with programmable blanking duration
Digital Ground
I2C Data ; I2C standard data I/O port
Digital Ground
2
2
*1) Tie to DVDD for 3.3V operation / Tie to 5V for 5V tolerant operation
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
9
1999 Hyundai System IC Division
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PIN DESCRIPTION (20 Pin CDIP)
PIN
1
2
3
4
5
6
7
8
9
10
11
12
NAME
AGND
DATA 7
DATA 6
DATA 5
DATA 4
DATA 3
DATA 2
DATA 1
DATA 0
DGND
DVDD
RESET
I/O
13
VSYNC
O
Vertical synchronization signal / Frame start output
; Signal pulse at start of image data frame with programmable
blanking duration
14
HSYNC / DVALID
O
Horizontal synchronization signal / Data valid output
; Data valid when 'H' with programmable blanking duration
15
SDA
I/O
I2C Data ; I2C standard data I/O port
16
SCK
I
I2C Clock ; I2C clock control from IIC master
17
ENB
I
Sensor enable signal ; 'H' enable normal operation
'L' disable sensor by stalling internal clock
18
MCLK
I
Master Clock(upto 15MHz)
; Global master clock for image sensor internal timing control
19
20
+5V
AVDD
I
I
I/O bias voltage for 5V tolerant *1)
Analog Supply Voltage 3.3V
I
O
O
O
O
O
O
O
O
I
I
I
DESCRIPTION
Analog Ground
Image data bit 7 ( MSB )
Image data bit 6
Image data bit 5
Image data bit 4
Image data bit 3
Image data bit 2
Image data bit 1
Image data bit 0 ( LSB )
Digital Ground
Digital Supply Voltage, 3.3V
Hardware Reset Signal, Active Low
*1) Tie to DVDD for 3.3V operation / Tie to 5V for 5V tolerant operation
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
10
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
Register map
Register Name
address
7
6
5
4
3
2
Mode A
00h
Mode B
01h
Mode C
02h
Row Start Address High
10h
Row Start Address Low
11h
Column Start Address High
12h
Column Start Address Low
13h
Window Height Address High
14h
Window Height Address Low
15h
Window Width Address High
16h
Window Width Address Low
17h
w_ad[7:0]
HSYNC Blanking Time High
20h
h_blank[15:8]
HSYNC Blanking Time Low
21h
h_blank[7:0]
VSYNC Blanking Time High
22h
v_blank[15:8]
VSYNC Blanking Time Low
23h
v_blank[7:0]
Integration Time High
25h
int_time[23:16]
Integration Time Middle
26h
int_time[15:8]
Integration Time Low
27h
int_time[7:0]
Master Clock Divider
28h
Reset Level Control
30h
Red Color Gain
31h
reserved
red_color[5:0]
Green Color Gain
32h
reserved
green_color[5:0]
Blue Color Gain
33h
reserved
blue_color[5:0]
Pixel Bias Voltage
34h
Red Offset Gain Control
50h
reserved
red_offset[6:0]
Green Offset Gain Control
51h
reserved
green_offset[6:0]
Blue Offset Gain Control
52h
reserved
blue_offset[6:0]
Low Reference Number High
57h
low_ref_no[15:8]
Low Reference Number Low
58h
low_ref_no[7:0]
High Reference Number High
59h
high_ref_no[15:8]
High Reference Number Low
5Ah
high_ref_no[7:0]
model_name
oper_mode
1
0
rev_num
data_type
reserved
hs_out
scr_size
shot
int_sel
sw_enb
pwr_dn
color
reserved
reserved
r_ad[8]
r_ad[7:0]
reserved
c_ad[8]
c_ad[7:0]
reserved
h_ad[8]
h_ad[7:0]
reserved
w_ad[8]
reserved
clk_div[3:0]
rst_level[5:0]
reserved
pixel_bias[3:0]
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
11
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
Register Set Descriptions
All register access can though the I2C multi-byte read and write.
(1) Mode A Register (Address 00h, RO)
This register consist of a model name and revision number. Currently Hyundai has three types of CMOS image
sensor chip, 400*300, 640*480 and 800*600 resolution each. The upper 4 bits is model_name [3:0] and the lower
4 bits is rev_num[3:0]. For example it’ s value 12h, this mean 400*300 resolution and revision2.0 chip.
< model_name >
< rev_num >
400*300 : 0001b
Rev. 2.0 : 0010b
(2) Mode B Register (Address 01h, default : 04h, R/W)
This register defines major operation mode of the chip.
n
Mode B[7:6] : oper_mode(operating mode)
<default value : 00b>
Define operating modes between normal operation and optical and function test operation.
Test operation mode is used for optical and function test. Except for default value, these bits are
reserved for manufacturer.
n
Bit
operating mode
00
Normal operation
01
Reserved
10
Reserved
11
Reserved
Mode B [5:4] :
data_type(data types)
<default value : 00b>
These bits define output pixel data types. For Correlated Double Sampling(CDS), every the pixel of image sensor
are measured twice, reference and data respectively, and reference values or data values can be read out through
pixel data pins selectively using these control bits. To remove the noise caused by circuit, i.e. Fixed Pattern Noise,
the image sensor performs the CDS in default value. Three output data types are supported as follows.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
12
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
n
Bit
Output data type
00
Data level - Reference level
01
Reference level
10
Data level
11
Reserved
Mode B[3] : hs_out(HSYNC output configuration)
<default value : 0b>
This bit offers two types output style about HSYNC signal. HSYNC only mode and HSYNC & internal
clock mode. If the hs_out is set to one, HSYNC output signal is ANDed signal of internal pixel clock
and data valid. Otherwise HSYNC output pin keep data high state during valid output period. When
HSYNC & internal clock mode is set, HSYNC output can be used as a pixel data output clock.
data valid
MUX
HSYNC
pixel clock
Mode B[3]
n
Mode B[2]
:
scr_size(screen size select)
<default value : 1b>
Flexible screen size is very useful for customer. If the scr_size is set to high, i.e. window mode, only
pixels in windowed area defined by register 10h ~ 17h can be read . But scr_size is set to low state, i.e.
full screen mode, all pixels in the sensor are read out regardless the values of register 10h ~ 17h. We
can select window mode or full screen mode with this bit. Full screen size is only for chip test.
- window start point :
x : row start address (register 10h, 11h)
y : column start address (register 12h, 13h)
- window end point :
x : row start address + window width address (register 14h, 15h) - 1
y : column start address + window height address (register 16h, 17h) -1
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
13
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
n
Mode B [1]
:
shot(shot mode)
<default value : 0b>
User can select continuous frame mode or snapshot mode according to application.
At the continuous frame mode, pixel data output is updated every VSYNC period. In order to set
snapshot mode, it this bit to ‘ 1’ . In that case, just single frame of pixel data will be read out, then the
sensor stops operation. Snapshot mode can be used for the digital still camera applications.
n
Mode B[0]
:
int_sel(integration time unit select)
<default value : 0b>
This bit defines integration time unit i.e. line base or pixel clock base.
Default mode is line unit integration but at the bright condition or if you need precise exposure time
control, pixel mode is recommended. This bit related to integration time register 25h, 26h, and 27h.
Note : Actual integration time can be calculated using three integration time registers and pixel clock
period.
In pixel mode, integration time = (25h, 26h, 27h) * number of pixel period.
In line mode, integration time = (26h, 27h) * number of pixel per line * pixel period.
(cf) number of pixel per line = 414 + HSYNC duration value
(3) Mode C Register (Address 02h, default : 08h, R/W)
This register controls power down and color select.
n
Mode C[3]
:
sw_enb (software enable : active low)
(400*300 CMOS image sensor only)
<default value : 1b>
This bit is only exist in 400*300 CMOS image sensor chip to enable image sensor operation by
software. This bit has same function as ENB pin control.
It’ s very useful for the applications that is needed want to reduce interface pin count to CMOS image
sensor. In that case, cannot ENB pin to VDD line and control the sensor using this bit.
n
Mode C[2]
: pwr_dn(A/D converter power down)
<default value : 0b>
This bit controls power down of A/D converter when sleep mode(idle state) is set by ENB pin is low or
sw_enb(Mode C[3]) is high. When set to high, A/D converter is turned on whenever ENB is low or
sw_enb is high. When set to low, A/D converter is turned off always regardless ENB pin state or
sw_enb state . But digital block goes to power down mode always when ENB is low regardless this bit.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
14
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
n
Mode C[1]
:
color(color select)
<default value : 0b>
This bit selects color mode or monochrome mode. Default value means color image sensor and all
three ADCs are used for Bayer RGB color pattern respectively, then RGB gains are controlled
independently. But when set this to one, i.e. monochrome mode, just single ADC is used for all pixels
regardless RGB color.
At the monochrome mode all pixels are controlled by ‘ G’ gain only. ‘ R’ and ‘ B’ gain are not used. In case
of monochrome image sensor, this bit should be set to ‘ 1’ get the good image and to simplify the sensor
control.
(4) Row start address Register
(Higher byte
:
Address 10h,
default : 00h,
(Lower byte
:
Address 11h, default : 06h,
R/W)
R/W)
Define window start position row start address of display window. Should be programmed with value between
6 and 306.
(5) Column start address Register
(Higher byte
:
Address 12h,
default : 00h,
R/W)
(Lower byte
:
Address 13h,
default : 06h,
R/W)
Define window start position column address of display window. Should be programmed with value between
6 and 406.
(6) Window Height address Register
(Higher byte
:
Address 14h,
default : 01h,
R/W)
(Lower byte
:
Address 15h,
default : 2Eh,
R/W)
Define display window height. If you need smaller display window height, decrease the value.
Window end position row address = row start address + window height address –1
(7) Window width address Register
(Higher byte
:
Address 16h,
default : 01h,
R/W)
(Lower byte
:
Address 17h,
default : 92h,
R/W)
Define display window width. If you need smaller display window width, decrease the value.
Window end position column address = column start address + window width address -1
Note : Display window programming.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
15
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
< Display Window Programming >
The 400*300 resolution chip can read any user specific window area within active window area. This is
called panning function. For this function, ‘ row start’ , ‘ column start’ , ‘ width’ , and ‘ height’ can be
programmed with four sets of register pair.
n
FRS
:
Frame Row Start
n
FCS
:
Frame Column Start
n
FWH :
Frame window Height
n
FWW :
Frame Window Width
Panning window can be programmed as below.
(413,313)
manufacturer area
(0, 313)
(407,307)
{FWHU,FWHL}
{FRSU,FRSL}
(6,6)
(413,0)
(0,0)
{FWWU,FWWL}
{FCSU,FCSL}
active window area
Note 1) Accessible pixel array size is 402*302.
The edge of accessible pixel array may be commonly dedicated for just color interpolation.
In the case of a color image sensor the interpolation is needed to get all R,G,B color value for each pixel
from a Bayer color image.
So one more extra pixel line is needed at the edge of pixel array that you want to be displayed. That is, to make
400*300 effective window, 402*302 pixel array necessary.
You have to consider this interpolation line when you program the ‘ Frame register’ .
For example, if you want to get 300*250 image size, you have to program 302*252 to frame register.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
16
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
<Default window area>
FRSU, FRSL
6
FWHU, FWHL
402
FCSU, FCSL
6
FWWU, FWWL
302
< Pixel Array Structure >
Total pixel : 416 * 316
+1 : dummy area
+1 : dummy zone for set of color pattern
+2 : optical block zone
+3 : margin for metal 3 slope
+1 : interpolation area
pixel array : 400 * 300
---- R G
G B G B
----
R G
B G
G R
Active window area (402 * 302)
Accessible address range(414 * 314)
(8) HSYNC Blanking Time Register
(Higher byte
:
Address 20h,
default : 00h,
R/W)
(Lower byte
:
Address 21h,
default : 03h,
R/W)
The HSYNC blanking time defines HSYNC low duration between data valid HSYNC high, pixel unit . HSYNC
low duration is HSYNC blanking time plus twelve in pixel unit for example, default HSYNC low duration is 15
pixels because register value is 3.
It’ s used to change duration between current line end and next line start.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
17
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
(9) VSYNC Blanking Time Register
(Higher byte
:
Address 22h,
default : 00h,
R/W)
(Lower byte
:
Address 23h,
default : 03h,
R/W)
The VSYNC blank, and time defines VSYNC active duration in pixel unit .
Note : HSYNC blanking, VSYNC blank are used to fit the CMOS sensor display timing to external timing
requirements.
(10) Integration time Register
(High
byte :
Address 25h,
default : 00h,
R/W)
(Middle byte :
Address 26h,
default : 01h,
R/W)
(Low
Address 27h,
default : f4h,
R/W)
byte :
Each pixel has a photo diode in which the incoming photons are converted to electrons. Integration time mean
exposure time so these registers defines exposure time.
According to settings int_sel of Mode B register, the integration time is controlled with line or pixel unit.
Small value means short exposure time and large value means long exposure time for bright condition.
The value should be large for dark condition. Default value setting 500 lines, this value is useful for normal
office condition. If you stay in outdoor condition, this value should be decreased. But under dark condition, this
value should be increased to get a good image quality. Increasing value may decrease frame rate. Finally,
integration time is very important for frame rate and image quality.
For line mode exposure, register 26h and 27h are used. For pixel mode exposure, all three register 25h ~ 27h
are used. To control exposure time precisely, the pixel mode should be used. This register may be used for
Auto Exposure control.
(11) Operating Clock Divider (Address 28h, default:00h, R/W)
This register generates divided digital clock depending on the settings clk_div [3:0], digital block can divide
MCLK down by 1 through 2048 as shown in Table 1.
clk_div
[3:0]
0000
units
clk_div[3:0]
units
no division
0101
MCLK/64
0001
MCLK/2
0111
MCLK/128
0010
MCLK/4
1000
MCLK/256
0011
MCLK/8
1001
MCLK/512
0100
MCLK/16
1010
MCLK/1024
0101
MCLK/32
1011
MCLK/2048
Table 1. Operating Clock Control Register
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
18
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
(12) Reset Level Control Register (Address 30h, default:38h, R/W)
This register controls reference voltage level for start point of data reading. If the register value is too large or
too small, the vertical Fixed Pattern Noise(FPN) can be occurred. To Get rid of FPN, this register must have a
suitable value. Optimum reset revel can be found using Low reference number registers 57h ~ 58h and High
reference number registers 59h ~ 5ah. If there is some large value in Low reference number registers, the
value of Reset Level control register should be increased. If there is some large value in High reference
number registers, the value of register should be decrease. Optimum reset revel is achieved when value of
Low reference level number registers and value of High reference number registers is minimized.
(13) Color Gain Register
Red Color Gain Register
:
(Address 31h, default:1Eh, R/W)
Green Color Gain Register :
(Address 32h, default:h1Eh, R/W)
Blue Color Gain Register
(Address 33h, default:h1Eh, R/W)
:
These registers are used to amplify the analog pixel output. If the gain register value is decreased, the
amplification is increased. Therefore under the dark light source condition, the pixel output have to be amplified
by decreasing gain value to get good image. There are three Gain registers to control RGB colors
independently. In the case of monochrome image sensor, use only Green Color Gain Register. Available
program range is 0 ~ 63 but too small value can cause FPN. The register value have to chosen within the range
that doesn’ t cause FPN. Recommended range is 20 ~63. These register can be used for Auto White Balance
control and Auto Exposure control.
(14) Pixel Bias Voltage Register (Address 34h, default:02h, R/W)
This register controls pixel reference level by controlling bias current of pixel output sensing load transistor. It
controls pixel output level itself, compare with that revel register adjust A/D Converter circuit to calibrate
reference level for data reading. Available program range is 0 ~ 7. The larger register value causes the higher
bias current and low pixel output reference level. This register is option for manufacturer. Users may use default
setting and don’ t changed value.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
19
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
(15) Low Reference Number Register(low_ref_no)
High
:
(Address 57h default:00h, Read Only)
Low
:
(Address 58h, default:00h, Read Only)
Low Reference Number Registers indicates number of pixels in frame that have a value less then 5. A
reference level values of each pixel is compare with ‘ 5’ , and accumulated to these registers during read state.
This counter value called low_ref_no, consist of two bytes and it is read only registers. Real number of pixels
that have value less than 5 is the twice of these register value. If low_ref_no is big value, you must increase
data value of Reset Level Control Register. These registers are updated after every VSYNC signal.
(16) High Reference Number Register (high_ref_no)
High
:
(Address 59h, default:00h, Read Only)
Low
:
(Address 5Ah, default:00h, Read Only)
High Reference Number Registers indicates number of pixels in a frame that have a value great then 123.
Reference level values of each pixels is compared with ‘ 123’ , and accumulated to these registers during read
state. This counter value called high_ref_no, consist of two bytes and it is read only registers. Real number of
pixels that have value great than 123 is the twice of these register value. If high_ref_no is big value, you must
decrease data value of Reset Level Control Register. These registers are also updated after every VSYNC
signal.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
20
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
FRAME TIMING DIAGRAMS
There are two frame timing cases,
l
Integration Time < EffectiveWindowHeight * Scale
l
Integration Time > EffectiveWindowHeight * Scale
EffectiveWindowHeight is equal to the number of data lines generated in a frame and is defined to be selected by
if((RowStartAddress + WindowHeight + 1) <= (SensorArrayHeight)
EffectiveWindowHeight = WindowHeight;
else
EffectiveWidnowHeight = (SensorArrayHeight - RowStartAddress - 1);
For example, RowStartAddress = 200 and WindowHeight = 300, EffectiveWindowHeight is 113 and 113 data lines per
a frame are generated.
Note : The above selection logic is somewhat confusing in respect of general counting measure. It’ s partly due to the
mixed use of indexing start points, i.e. ‘ 0’ and ‘ 1’ in the design. Therefore in order to avoid the confusion it is
desirable to just follows the equation when you estimate the frame rate.
SensorArrayWidth
[414]
SensorArrayHeight
[314]
(0,0)
RowStartAddress
[200]
EffectiveWindowHeight
[113]
WindowHeight
[300]
Scale is selected according to Integration Time Mode by
If(PixelMode)
Scale = SensorArrayWidth; // For400*300 resolution chip, SensorArrayWidth is 414
else
Scale = 1;
When Integration Time > (EffectiveWindowHeight * Scale), next frame VSYNC does not follow immediately after
current frame’ s last line has been produced. Instead, one of the following two idle time slots is inserted according to
Integration Time Mode before next frame VSYNC gets active.
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
21
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
< Idle Slots >
l
Line Mode: (Integration Time - EffectiveWindowHeight) * 1024 clocks
l
Pixel Mode: (Integration Time - EffectiveWindowHeigth * Scale)
= (Integration Time - EffectiveWindowHeigth * SensorArrayWidth) clocks
Each Frame Timing of the above cases may be decomposed into four timing segments
l
Initial Data Setup Time after ENB gets active
l
Even Line
l
Odd Line
l
Frame Transition
The subsections will describe frame timing diagram for said frame time cases, (Integration Time < Effective Window
Height * Scale) and (Integration Time > Effective Window Height * Scale)
(1) Frame Timing Diagram for Integration Time < (EffectiveWindowHeight * Scale)
Frame timing related registers are programmed to suit for the above condition as follows
RowStartAddress
= 6;
WindowHeight = 302;
ColumnStartAddress = 6;
WindowWidth = 402;
IntegrationTime = 200 [Line Mode];
EffectiveWindowHeight is “302” for (SensorArrayHeight > (RowStartAddress + WindowHeight + 1)), i.e. 314 >
(6 + 302 + 1), is met, and Scale is “1” for integration time is line mode.
Therefore, (Integration Time< EffectiveWindowHeight * Scale), i.e. 200 < 302 * 1, is met.
Overall Frames Sequence
Frame 0
Frame 1
....
Line 301
Line 300
Line 2
Line 1
Line 0
....
VSYNC
Line 301
Line 300
Line 2
Line 1
Line 0
VSYNC
Line 301
Line 300
Line 2
Line 1
Line 0
VSYNC
Initial Data Setup Time
....
Frame 2
....
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
22
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
MCLK
ENB
VSYNC
ENB+
Deglitch
2 clocks
Delay
Sensor Reset
SensorArrayHeight clocks
[314 clocks]
Integration Time * Scale
clocks
[200 * 414 clocks]
Slots
One Line Time Delay
(SensorArrayWidth +
HBLANK) clocks
[417 clocks]
VSYNC
3 clocks
Fig. 1 Initial Data Setup Time after ENB gets active
MCLK
HSYNC
B G B G B G
DATA
Time
Slot
Line Head
Blank
6 clocks
Clock
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅ B G B G B G
Line Tail
Blank
6 clocks
IMAGE RAW DATA
Window Width
402 clocks
SensorArrayWidth (414)
HBLANK
3 clocks
HBLANK(3)
Ruler
Fig.2 Even Line Data Timing
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
23
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
MCLK
HSYNC
G R G R G R
DATA
Line Head
Blank
6 clocks
Time
Slot
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅ G R G R G R
Line Tail
Blank
6 clocks
IMAGE RAW DATA
Window Width
402 clocks
Clock
HBLANK
3 clocks
SensorArrayWidth (414)
HBLANK(3)
Ruler
Fig.3 Odd Line Data Timing
MCLK
HSYNC
VSYNC
.
DATA
Time
Slot
≈
.
.
B G B G B G
G R G R
IMAGE RAW DATA
Window Width
402 clocks
Line Tail
Blank
6 clocks
HBLANK
3 clocks
VSYNC
3 clocks
Line Head
Blank
6 clocks
.
.
IMAGE RAW DATA
Window Width
402 clocks
.
.
≈
Integration Time < EffectiveWindowHeight * Scale
Fig.4 Frame Transition Timing
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
24
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
(2) Frame Timing Diagram for Integration Time > (EffectiveWindowHeight * Scale)
Frame timing related registers are programmed to suit for the above condition as follows
RowStartAddress
= 6;
WindowHeight = 302;
ColumnStartAddress = 6;
WindowWidth = 402;
IntegrationTime = 600 [Line Mode];
EffectiveWindowHeight is “302” for (SensorArrayHeight > (RowStartAddress + WindowHeight + 1)), i.e. 314 > (6
+ 302 + 1), is met, and Scale is “ 1” for integration time is line mode. Therefore, (Integration Time <
EffectiveWindowHeight * Scale), i.e. 600 > 302 * 1, is met, and Idle Slot of Line Mode, i.e. (600 - 302) * 1024
clocks idle slot, is inserted before the next frame initiation.
Overall Frames Sequence
Idle Time
....
Line 301
Line 300
Line 2
Line 1
Line 0
VSYNC
Idle Time
Line 301
Line 300
Line 2
Line 1
Line 0
VSYNC
Idle Time
Line 301
Line 300
Line 2
Line 1
Line 0
VSYNC
Initial Data Setup Time
....
....
MCLK
ENB
VSYNC
Delay
ENB
Deglitch
2 clocks
Sensor Reset
SensorArrayHeight clocks
[314 clocks]
Integration Time * Scale
clocks
[600 * 414 clocks]
Slots
One Line Time Delay
(SensorArrayWidth +
HBLANK) clocks
[417 clocks]
VSYNC
3 clocks
Fig. 5 Initial Data Setup Time after ENB gets active
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
25
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
MCLK
HSYNC
G
B
DATA
B G B G
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅
B G B G B G
⋅
Time
Slot
Line Head
Blank
6 clocks
Line Tail
Blank
6 clocks
IMAGE RAW DATA
Window Width
402 clocks
SensorArrayWidth (414)
Clock
HBLANK
3 clocks
HBLANK(3)
Ruler
Fig.6 Even Line Data Timing
MCLK
HSYNC
G R G R G R
DATA
Time
Slot
Line Head
Blank
6 clocks
Clock
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅
⋅ G R G R G R
Line Tail
Blank
6 clocks
IMAGE RAW DATA
Window Width
402 clocks
SensorArrayWidth (414)
HBLANK
3 clocks
HBLANK(3)
Ruler
Fig.7 Odd Line Data Timing
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
26
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
MCLK
HSYNC
VSYNC
.
DATA
Time
Slot
≈
B G B G
. G R G R
IMAGE RAW DATA
Window Width
402 clocks
Line Tail
Blank
6 clocks
HBLANK
3 clocks
Idle Slot
(Integration Time EffectiveWindowHeig
ht) * 1024
= (600 - 482) * 1024
VSYNC
3 clocks
Line Head
Blank
6 clocks
.
.
IMAGE RAW DATA
Window Width
402 clocks
.
≈
Integration Time > EffectiveWindowHeight * Scale
Fig.8 Frame Transition Timing
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
27
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PACKAGE DIMENSION (48 PIN CLCC)
UNIT: mm
C
0.53
0.67
* C : Center of Image Area
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
28
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
PACKAGE DIMENSION (48 PIN CLCC)
UNIT: mm
16.00 +- 0.12
2.60 +- 0.30
12.00 +- 0.10
0.53+-0.15
C
0.98+-0.15
0.46 +- 0.10
1.27 +- 0.05
0.30 +- 0.10
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
29
1999 Hyundai System IC
HV7121B
CMOS IMAGE SENSOR
With 8-bit ADC
Electronics Industries Co., Ltd.
System IC Division
MEMO
Hyundai Electronics Industries Co., Ltd
System IC Division
Headquarter & Factory
San 136-1,Ami-Ri,Bubal-Eub,Ichon-Si,Kyoungki-Do,Korea 467-860
Tel : 82-336-630-2042/2484, Fax : 82-336-639-1412, E-mail : [email protected]
This document is a general product description and is subject to change without notice. Hyundai Electronics does not assume any
responsibility for use of circuits described. NO patent licenses are implied.
DA41990615R_1.0
Division
30
1999 Hyundai System IC