SAMSUNG KS7333

DATA SHEET
KS7333
PRODUCT INFORMATION
PRODUCT SUMMARY
KS7333 is a product used in video camera systems, such as camcorders and surveillance camera systems that
use charge coupled devices (CCD). It takes the CCD input as digital data and performs 3-D interpolation, image
scaling, and minimization of resolution potential using horizontal/vertical line interpolation on the data. In
addition, it detects the amount of movement caused by shaking while held by the hands through 1-D projection
pattern matching and corrects for it. It also has the 1/16 picture-in-picture function as well as the digital effect
function that uses field memory.
FEATURE
•
NTSC/PAL, normal/hi-band, DVC correspondence
•
Any point quick zoom (new)
•
10 bit S1S2 format A/D signal input (new)
•
Any area motion detection
•
10 bit S1S2 signal output for DCP I/F
•
Line graphic (free line draw) using motion (new)
•
Sub-pixel resolution animation movement
detection and compensation (new)
•
Digital effect strobe (external micom control),
afterimage, still image, mirror)
•
Adaptable IIR filtering for shaking/panning
compensation
•
Serial micom interface
•
•
1/16 picture in picture function (new)
Dual shutter source mix and individual gamma
compensation (histogram output)
•
256 step linear interpolation
•
Low shutter speed control correspondence
•
High resolution digital zoom using TIIR
(temporal IIR) filter (new)
•
64 CCD white defect detection and compensation
function
•
Uses 1 field memory (16M SDRAM) (new)
•
Digital clamp function
•
DPCM compression and recovery for effective
memory use (80%) (new)
•
AE/AF operation function
•
•
Movement adaptable field noise reducer (new)
OSD visual interpretation tool etc.
(motion vector, window mark, etc)
PROCESSING AND PACKAGE
Processing: 0.35um, TLM, 3.3V CMOS prodessing (CSP7L)
APPLICATIONS
•
Camcorder systems
•
Surveillance cameras
•
PC cameras
1
KS7333
DATA SHEET
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
SI9
SI8
VDD
SI7
SI6
SI5
VSS
SI4
SI3
SI2
SI1
SI0
AD0
VDD
AD1
AD2
AD3
VSS
AD4
AD5
PIN DIAGRAM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
KS7333
Digital Image Stabilization
and Digital Zoom Processor
SO6
SO5
VSS
SO4
SO3
SO2
VDD
SO1
SO0
BA
WE
RAS
CAS
VSS
DQ15
DQ14
DQ13
VDD
DQ12
DQ11
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
VD
HD
RSTN
CLK
VSS
CLKO
SCNTST
CLK2
SCANEN
SCLK
SCSN
SMI
V1
VDD
CLK4
SMO
OSD
SO9
SO8
SO7
2
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
AD6
AD7
VDD
AD8
AD9
AD10
VSS
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
VDD
DQ6
DQ7
DQ8
VSS
DQ9
DQ10
DATA SHEET
KS7333
PIN DESCRIPTION
Table 1. Pin Description
Pin No.
Pin Name
I/O
Function
Comments
1
VD
I
Vertical driving pulse
2
HD
I
Horizontal driving pulse
3
RSTN
I
System reset
Low active
4
CLK
I
System clock
Max: 18MHz
5
VSS
P
Ground
6
CLKO
O
2x CLK output
Max: 36MHz
7
SCNTST
I
Scan test enable
Normal operation "0"
8
CLK2
I
2x CLK input
9
SCANEN
I
Scan cell enable signal
Normal operation "0"
10
SCLK
I
System micom clock
Max freq: CLK/6
11
SCSN
I
System micom reset
12
SMI
I
Serial data input from system micom
13
V1
I
Vertical skip line pulse from DCP
14
VDD
P
Power
15
CLK4
O
9 divided CLK output
16
SMO
O
Serial data output to system micom
17
OSD
O
On screen display signal to system micom
18
SO9
O
S1S2 data output 9 for DCP
19
SO8
O
S1S2 data output 8 for DCP
20
SO7
O
S1S2 data output 7 for DCP
21
SO6
O
S1S2 data output 6 for DCP
22
SO5
O
S1S2 data output 5 for DCP
23
VSS
P
Ground
24
SO4
O
S1S2 data output 4 for DCP
25
SO3
O
S1S2 data output 3 for DCP
26
SO2
O
S1S2 data output 2 for DCP
27
VDD
P
Power
28
SO1
O
S1S2 data output 1 for DCP
29
SO0
O
S1S2 data output 0 for DCP
30
BA
O
SDRAM bank select address
31
WE
O
SDRAM write enable
32
RAS
O
SDRAM row address strobe
33
CAS
O
SDRAM column address strobe
34
VSS
P
Ground
3
KS7333
DATA SHEET
Table 1. Pin Description (Continued)
4
Pin No.
Pin Name
I/O
Function
35
DQ15
I/O
SDRAM input/output data 15
36
DQ14
I/O
SDRAM input/output data 14
37
DQ13
I/O
SDRAM input/output data 13
38
VDD
P
Power
39
DQ12
I/O
SDRAM input/output data 12
40
DQ11
I/O
SDRAM input/output data 11
41
DQ10
I/O
SDRAM input/output data 10
42
DQ9
I/O
SDRAM input/output data 9
43
VSS
P
Ground
44
DQ8
I/O
SDRAM input/output data 8
45
DQ7
I/O
SDRAM input/output data 7
46
DQ6
I/O
SDRAM input/output data 6
47
VDD
P
Power
48
DQ5
I/O
SDRAM input/output data 5
49
DQ4
I/O
SDRAM input/output data 4
50
DQ3
I/O
SDRAM input/output data 3
51
DQ2
I/O
SDRAM input/output data 2
52
DQ1
I/O
SDRAM input/output data 1
53
DQ0
I/O
SDRAM input/output data 0
54
VSS
P
Ground
55
AD10
O
SDRAM address 10
56
AD9
O
SDRAM address 9
57
AD8
O
SDRAM address 8
58
VDD
P
Power
59
AD7
O
SDRAM address 7
60
AD6
O
SDRAM address 6
61
AD5
O
SDRAM address 5
62
AD4
O
SDRAM address 4
63
VSS
P
Ground
64
AD3
O
SDRAM address 3
65
AD2
O
SDRAM address 2
66
AD1
O
SDRAM address 1
67
VDD
P
Power
68
AD0
O
SDRAM address 0
69
SI0
I
S1S2 data input 0 from ADC
DATA SHEET
KS7333
Table 1. Pin Description (Continued)
Pin No.
Pin Name
I/O
Function
70
SI1
I
S1S2 data input 1 from ADC
71
SI2
I
S1S2 data input 2 from ADC
72
SI3
I
S1S2 data input 3 from ADC
73
SI4
I
S1S2 data input 4 from ADC
74
VSS
P
Ground
75
SI5
I
S1S2 data input 5 from ADC
76
SI6
I
S1S2 data input 6 from ADC
77
SI7
I
S1S2 data input 7 from ADC
78
VDD
P
Power
79
SI8
I
S1S2 data input 8 from ADC
80
SI9
I
S1S2 data input 9 from ADC
5
6
CLK2
CLK_O
SMO
V1
SCSN
SMI
SCLK
SIN[9:0]
VD
HD
CLK
RSTN
Under
Sampling
Y/C Sep.
LPF
CLK
Doubler
MICOM
Interface
Sync Gen.
(timing con.)
Y/C Mix.
PIP Block
SDRAM
Interface
I/O Control
Optical
Detector
(AE, AF)
Digital
Clamp
ODM, Preprocess Block
DPCM
Coder
Y/C Sep.
LPF
Zoom & TIIR Block
ISF
Y/C Sep.
LPF
Y/C Mix
Y/C Mix
H/V
Aperture
SDRAM
Interface
TIIR
Filter
H/V
Interpolation
Graph
Generation
Motion
Evaluation
16M SDRAM
KM416S1020CT
ADDR[10:0], DQ[15:0], WE, CAS, RAS, BA
DPCM
Decoder
Horizontal
Interpolation
DPCM
Decoder
Chroma-edge
Suppression
DPCM
Coder
Vertical
Motion
Detection
Horizontal
Motion
Detection
Motion Detection Block
SOUT[9:0]
KS7333
DATA SHEET
BLOCK DIAGRAM
DATA SHEET
KS7333
DESIGN CHARACTERISTICS
MAXIMUM ABSOLUTE RATING
Item
Symbol
Rating
Unit
Remark
DC supply voltage (digital)
VDD
-0.3 - 3.6
V
-
DC input voltage
VIN
-0.3 - VDD + 0.3
V
-
TSTG
-40 - 125
°C
-
ILU
±280
mA
-
Unit
Comments
Storage temperature
Latch-up current
OPERATING TEMPERATURE
Functions and AC/DC characteristics must satisfy the specs between 0°C - +70°C.
ELECTRO-STATIC CHARACTERISTICS
Types
Human body model (HBM)
Electrostatic Levels
Pin No.
Design Value
All
±2000
Machine model (MM)
±300
CDM
±800
V
7
KS7333
DATA SHEET
ELECTRICAL CHARACTERISTICS (DC)
VSS = 0V, VDD = 3.3V ± 0.3V, Ta = 0 - 70°C
Item
Symbol
Condition
Min
Typ
Max
Unit
Remark
VDD
-
3.0
3.3
3.6
V
VDD, VDDA
High level
VIH
-
2.0
-
-
Low level
VIL
-
-
-
0.8
High level
VOH
IOH = -1mA
2.4
-
-
Supply voltage
Input voltage
Output voltage
Low level
VOL
IOH = -8mA
(6)
IOL = 1mA
-
-
0.4
(2)
IOL = 4mA
(3), (4)
IOL = 8mA
(6)
µA
(1), (4)
10
µA
(4), (5)
-
280
mA
-
-
35
µA
-
VIN = VDD
-10
-
10
Low level
IIL
VIN = VSS
-10
-
10
Tri-state
IOZ
VOUT = VSS or VDD
-10
-
Operating current
IDD
-
-
Static current
ISS
-
-
NOTES:
1. All input pin
2. All output pin without (3), (4), (5), (6)
3. DRAM I/F pin (AD[10:0], RAS, CAS, BA, WE)
4. DRAM I/F pin (DQ[15:0]) bi-directional
5. SMO (tri-state)
6. CLK4
8
(3), (4)
IIH
Output leakage
current
(2)
IOH = -4mA
High level
Input current
(1)
DATA SHEET
KS7333
ELECTRICAL CHARACTERISTICS (AC)
VSS = 0V, VDD = 3.3V ± 0.3V, Ta = 0 - 70°C
Item
Signal
Symbol
Design Value Characteristics
Lower Limit
Middle
Upper Limit
Unit
Comment
Input data setup time
SI9 - SI0,
HD, VD, V1
Tsu
5
-
-
ns
VDD = 3.3V ± 0.3V
Ta = 0 - 70°C
Input data hold time
SI9 - SI0,
HD, VD
Thd
5
-
-
ns
VDD = 3.3V ± 0.3V
Ta = 0 - 70°C
54ns (max frequency)
CLK
Thd
Tsu
SI9 - SI0,
HD, VD
9
KS7333
DATA SHEET
SYSTEM CONFIGURATION & OPERATION DESCRIPTION
MOTION DETECTION BLOCK
The motion detection block can be divided into the horizontal motion vector detection block and the vertical
motion vector detection block. Its input is the upper 4 bits of the 8-bit luminance signal which is the LPF-handled
part of the 10-bit S1S2 format signal. The block uses the difference between the previous image and the current
image to find the motion vector. To find the motion vector, the current image's luminance value during the input
image's active period must be projected in both horizontal and vertical direction to the current line memory, and
put through correlation matching with the value stored in the previous line memory. In this process, the location
with the smallest correlation error becomes the motion vector. The search for the motion vector is limited to ±64
in the horizontal direction, and ±23 in the vertical direction.
To reduce the calculation amount and the time spent in operation, the coarse-to-fine correlation operation is
carried out within the search area. The correlation operation is put into effect within the vertical blank section, and
the motion vector that is finally output has the horizontal value of 7 bits and vertical value of 6 bits.
•
1-D projection to horizontal/vertical
•
Coarse-to-fine correlation matching
•
MSB 4-bit luminance signal input
•
±64(H), ±23(V) search area
•
Full/Zoom area motion detection according to the zoom ratio
•
MVX[6:0], MVY[5:0] output
•
Max, min correlation value output for adaptive image stabilization
ISF BLOCK
The ISF block accumulates the motion vectors (VX, VY) between the image fields to first calculate the integration
value (GX, GY), which is the actual correction value used. If you use the motion vector's integration value, the
motion is corrected flawlessly. However, if the camera user's deliberate movements (panning) are also corrected,
a memory should have compensation limit in image.
To correct such a problem, the accumulated image movement is divided into high frequency and low frequency
components, and only the high frequency components are corrected. To effectively divide these high frequency
components, IIR filtering is independently carried out horizontally and vertically.
At this time, The feedback coefficient of the filter can be selected in MICOM.
•
10 degree LPF coefficient
•
Horizontal/Vertical IIR filtering
•
Temporal filtering output (UX, UY)
•
Motion vector evaluation (MD_EVAL. V) carried out first
•
Graphic movement information display (MD_GRAPH. V)
10
DATA SHEET
KS7333
DIGITAL ZOOM BLOCK
This block receives the AD-converted S1S2 format image as its input, puts it through DPCM compression, and
uses the external SDRAM to store the compressed image signal in real time, 1 field at a time. It then restores the
stored image signal and magnifies it to maximum 255 times the original, using the zoom coefficient controlled by
MICOM. The magnified image is divided into Y/C using the LPF and goes through the 256-step linear
interpolation.
The aperture feature precedes the linear interpolation, and the interpolated image signal is output through the
temporal IIR filter. At the same time, the output is stored in 2 fields of the SDRAM.
•
256-step linear interpolation
•
Y/C separation through LPF
•
Aperture feature for Y signals
•
1 field memory (16M SDRAM) used
•
DPCM compression/restoration for efficient memory use
•
Color edge suppression (5 tabs)
DCPM compression/restoration for efficient memory use
It's not matched between SDRAM data width (16 bits) for store and inputted image signal data width-10 bit.
Therefore, in case of storing inputted image, itself (10 bit) data, it's inefficient. To solve that, it compresses 20%
from 10 bit to 8 bit with that inputted image data width by adopting DPCM compression technology.
Y/C separation through LPF
Restored DPCM data which is S1 S2 format needs to separate Y/C for image processing, at this time, Y signal is
separated by LPF and C signal is separated by HPF.
Aperture feature for Y signals
This system is 4 line processing to vertical direction. Aperture to vertical direction decides to considering by
impulse response with using the spline method (refer the micom mode operation part). Horizontal aperture is
obtained by adjusting the gain with edge information by adopting 5 tabs.
YHAFS[1:0]
Input
"00"
"01"
"10"
"11"
11
KS7333
DATA SHEET
PICTURE-IN-PICTURE BLOCK
This block uses the AD-converted S1S2 format image as an 8-bit input, divides it into Y/C, and finds the typical
value for each Y/C through low pass filtering. The filtered Y/C signal is synthesized into S1S2 format and stored
in real time, 2 fields at a time, using the SDRAM. The compression-stored image signal is overlayed on the real
image using the location value which comes from the MICOM control value.
•
1/16 compression
•
4-line, 4-pixel sampling
•
1 field memory (16M SDRAM) used (2 fields stored)
TEMPORAL IIR FILTER BLOCK
This block receives the image's output signal, stores it in SDRAM through DPCM compression, reads the stored
signal in real time, then restores it. The restored image signal is divided into Y/C, and it goes through the 255step linear interpolation to be synthesized into S1S2 format. This synthesized image signal and the zoom output
are
3-D interpolated using the sub-pixel information output by the motion detection and the zoom.
•
DPCM compression/restoration
•
1 field memory (16M SDRAM) used (2 fields stored)
•
3D-interpolation
•
2-line interpolation of Y signal
•
2-line selection of C signal
MICOM INTERFACE BLOCK
This block which interfaces with the external MICOM, selects this system's internal register and receives internal
characteristic factors as feedback. Its basic signals are SMI, SMO, SCLK, and SCSN. The first byte of the input
data is the register's address, and the data which follows is valid only when SCSN is high.
•
Address control method
•
122-byte input register
•
70-byte output register
•
Internal register initializing feature by reset
•
Possible to control both read only by R/W flag and read & write simultaneity mode.
12
DATA SHEET
KS7333
SYNC GENERATION BLOCK
This block generates the image's horizontal/vertical count information using the sync signal from the Timing
Generator (TG) as the standard. It uses DVC, HIGH, PAL, and AP_ADJ (start point adjustment) from the system
MICOM to generate the SP (Start Point) information by getting height value, image start point, image width and
generate HD, VD, and FLD (FIELD) signals.
•
Internal vertical counter (VCNT: line counter)
•
Internal horizontal counter (HCNT: pixel counter)
•
Internal field signal (FLD)
OSD SIGNAL CONTROL BLOCK
This block controls the 1-bit output of the OSD signal using the internal register value. The form of the output
signal is the center position of the PIP box and AF, and the testing graph of the motion vector.
•
Motion test vector graph output
•
PIP box output
•
AF center position output
13
KS7333
DATA SHEET
MICOM INTERFACE
SUMMARY
System Micom Interface
•
Converts the system micom serial data to parallel data.
•
Input buffer: 122 byte
•
Output buffer: 70 byte
•
4 wire processing
SCSN: Chip select (active low)
SCLK: Data clock
SMI: Input data
SMO: Output data
Micom Block Diagram
Input Reg.
SLCK
SCSN
SI
CLK
Synchroni_
Zation
Input Buffer
MI_SYS
MI_MOT
Input Value
Internal
Logic
MI_ZOOM
RSTN
VD
MI_CLMP
Output Reg.
HCNT[10:0]
VCNT[8:0]
MO_MOT
Internal
Logic
MO_ODM
MO_CLMP
14
MI_ODM
Output Buffer
SMO
DATA SHEET
KS7333
TIMING DIAGRAM
SCSN
~
~
td1
thw
tlw
td2
SCLK
~
~
tsu
thd
~
~
ADDR
SMI
DATA0
DATA5
~
~
tdo
~
~
DATA0
Symbol
DATA5
~
~
SMO
Description
Standard (µs)
Min
Max
td1
SCSN low edge to SCLK low edge
0.2
¡¤
td2
SCLK high edge to SCSN high edge
0.2
¡¤
thw
SCLK high width
0.2
¡¤
tlw
SCLK low width
0.2
¡¤
tsu
SI data setup time
0.1
¡¤
thd
SI data hold time
0.1
¡¤
tdo
SO data out delay time
¡¤
0.05
15
KS7333
DATA SHEET
FUNCTIONS OF EACH BLOCK
SCLK
SMI
Address1
Data1
Data2
Data3
High-Z
Data1
Data2
Data3
SCSN
SMO
PICTURE
SCLK:
System micom's main clock, whose cycle corresponds to the timing diagram.
SMI:
Input through triggering at the SCLK's negative edge and valid only when SCSN is low. The first bit can
be either "H' (Read Mode) or "L" (Read/Write mode) and the next 7 bits specify the address of the
register to be controlled. Starting from the start address, the address reduces by one every time an 8bit
data arrives.
Data is valid only when it becomes an 8bit data. However, if SCSN becomes high before an 8 bit data is
sent, that data becomes invalid.
SCSN: Data enable signal which is low active.
SMO:
Output through triggering at the SCLK's negative edge and valid only when SCSN is low.
VD
HD
Write Enable
Read Enable
16
VCNT = 4
ODM Data Latched
VCNT = 16
Motion Data Latched
DATA SHEET
KS7333
Input Data Detection
CLK
SCSN
SCLK
SCLKA
SCLK_POS
a
b
c
d
e
D0
D1
D2
D3
D4
...
.
D5 . .
f
ghi
D6 D7 D8
SMI
Input Data Buffer Latch
a:
D0
b:
D1 D0
c:
D2 D1 D0
d:
D3 D2 D1 D0
e:
D4 D3 D2 D1 D0
f:
D5 D4 D3 D2 D1 D0
g:
D6 D5 D4 D3 D2 D1 D0
h:
D7 D6 D5 D4 D3 D2 D1 D0
i:
D8 D7 D6 D5 D4 D3 D2 D1
The SMI data is detected at the rising edge in the order shown above only when both SCLK and 1clock delayed
SCLKA are low.
SCLK
SMI
00001111
11000100
00001111
High-Z
11110000
00000011
SCSN
SMO
78H
77H
Input Data
Address
78H
23H
FOH
Output Data
OFH
COH
EXAMPLE
17
KS7333
DATA SHEET
MICOM MODE OPERATION
Zoom Input Register
Table 2. Zoom Input Register
Address
00H
Function
DIS_ON
ZOOM_ON
LSSC_ON
MIRR_ON
PIP_ON
POWER
PIP_MIRR
BYPASS
0
0
0
0
0
0
0
0
DIS_ON: Digital image stabilization on/off
ZOOM_ON: Digital zoom on/off
LSSC_ON: Low shutter speed control on/off
Speed grade control register: 1DH[6:0]
MIRR_ON: Horizontal image mirror on/off
PIP_ON: Picture in picture display on/off
POWER: Power save mode on/off
PIP_MIRR: PIP image horizontal mirror on/off
BYPASS: Input image bypass on/off (no latched)
01H
FRAME
STILL1
STILL2
CEDGE_ON
APT_ON
OSD_ON
TRA_ON
TEST_GM
0
0
0
0
0
0
0
0
FRAME: Field(0)/Frame(1) mode selection of field memory 2 (for feedback image)
STILL1: Field memory1 (for main image) still on/off
STILL2: Field memory2 (for feedback image) still on/off
CEDGE_ON: Color edge suppression on/off
APT_ON: Aperture on/off
OSD_ON: OSD output on/off
TRA_ON: Tracer on/off
TEST_GM: Gamma on/off
02H
DVC
PAL
HIGH
FLD_SEL
BIST
PN_SEL
CUR_HOLD
CLEAR
0
0
0
0
0
0
0
0
DVC: DVC/8MM mode for ODM block
PAL: PAL/NTSC mode for ODM block
HIGH: High/Normal mode for ODM block
FLD_SEL: Internal field signal inverting
BIST: Internal RAM test on/off
PN_SEL: Clock double latch point select (high/low)
CUR_HOLD: Tracer cursor on/off
CLEAR: Tracer image initialization
18
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
03H
KX
1000_0000
KX: Horizontal zoom coefficient value
04H
KY
1000_0000
KY: Vertical zoom coefficient value
05H
SP_H
0110_0000
SP_H: Horizontal start point for zoom
06H
SP_V
0001_0101
SP_V: Vertical start point for zoom
07H
WIDTH[7:0]
1111_1110
WIDTH: Horizontal width LSB
08H
WIDTH[9:8]
0000_0001
WIDTH: Horizontal width MSB
09H
HEIGHT[7:0]
1111_0010
HEIGHT: Vertical height LSB
0AH
HEIGHT[8]
0000_0000
HEIGHT: Vertical height MSB
0BH
PIP_HSP[7:0]
0000_0000
PIP image horizontal start point LSB
0CH
PIP_HSP[9:8]
0000_0000
PIP image horizontal start point MSB
0DH
PIP_VSP[7:0]
0000_0000
PIP image vertical start point LSB
0EH
PIP_VSP[8]
0000_0000
PIP image vertical start point MSB
19
KS7333
DATA SHEET
Table 2. Zoom Input Register (Continued)
Address
Function
OFH
PBOX_HSP[7:0]
0000_0000
PIP box horizontal start point LSB
10H
PBOX_HSP[9:8]
0000_0000
PIP box horizontal start point MSB
11H
PBOX_VSP[7:0]
0000_0000
PIP box vertical start point LSB
12H
PBOX_VSP[8]
0000_0000
PIP box vertical start point MSB
13H
PIP_DSP_HADJ
0000_0000
PIP image width adjust
14H
PIP_DSP_VADJ
0000_0000
PIP image height adjust
15H
PBOX_DSP_HADJ
0000_0000
PIP box width adjust
16H
PBOX_DSP_VADJ
0000_0000
PIP box height adjust
17H
OUT_OFF
0100_0000
OUT_OFF: Field memory1 horizontal output S/P
18H
OUT_OFF1
0100_0000
OUT_OFF: Field memory1 horizontal output S/P
20
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
19H
GR_MODE
OSD_VAL
0000
1000
GR_MODE: Internal image select mode
"0": Full mode output image
"1": Horizontal count image
"2": Vertical count image
"3": Field memory output image
"4": 1 pixel clock delayed field memory output image
"5": Y signal output image except interpolation
"6": Y signal output image with vertical interpolation
"7": Y signal output image with horizontal aperture
"8": Y signal output image with h/v interpolation
"9": Zoom output image
"10": Field memory2 output image
"etc": Bypass mode clocked by CLK
OSD_VAL: OSD luminance level
OSD Display Level = {OSD_VAL[3:0], 6'b000000}
1AH
CLK2_SEL
0000_0111
CLK2_SEL[6:0]: CLK delay adjust (unit:1ns)
CLK2_SEL[7]: CLK2 inverting
1BH
S1S2_SEL0 CRCB_SEL0 S1S2_SEL1 CRCB_SEL1 LINE_SEL0
0
0
0
0
LINE_SEL1
0
0
LINE_SEL2 LINE_SEL3
0
0
S1S2_SEL0: S1S2 format select flag for field memory1 (ZOOM) image
CRCB_SEL0: CRCB line select flag for field memory1 (ZOOM) image
S1S2_SEL1: S1S2 format select flag for field memory2 (TIIR) image
CRCB_SEL1: CRCB line select flag for field memory2 (TIIR) image
LINE_SEL0: CRCB line select flag for field memory1 image when the "FLD" is low.
LINE_SEL1: CRCB line select flag for field memory1 image when the "FLD" is high.
LINE_SEL2: CRCB line select flag for field memory2 image when the "FLD" is low.
LINE_SEL3: CRCB line select flag for field memory2 image when the "FLD" is high.
21
KS7333
DATA SHEET
Table 2. Zoom Input Register (Continued)
Address
Function
1CH
OSD_SEL
HVD_ADJ
111
00000
OSD_SEL[2]: PIP box display on/off
OSD_SEL[1]: Motion graph display on/off
OSD_SEL[0]: AF zone display on/off
HVD_ADJ[4:0]: Register that can delay the HD internally when the externally input image is HD
standby delayed.
1DH
PIP_S1S2_SEL
LS_CNT
0
0000000
PIP_S1S2_SEL: S1S2 format select flag for pip image
LS_CNT: Low shutter speed control register
Shutter Speed = LS_CNT/30 sec.
1EH
DCLP_R
0000_0000
Rising edge time control for ODM
PAL
DVC
HIGH
RISING
FALLING
0
0
0
76
84
0
0
1
118
126
0
1
0
112
120
0
1
1
30
36
1
0
0
82
90
1
0
1
132
140
1
1
0
118
126
1
1
1
30
36
Table 1
1FH
DCLP_F
0000_0000
Falling edge time control for ODM (Refer to Table 1)
22
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
20H
HAPG
YLPFS
YHAFS
0010
01
00
YHAFS: EDGE detection filter selection for horizontal aperture
Input
"00"
"01"
"10"
"11"
YLPFS: Y signal separation filter selection
"00": (X[n] + X[n-1])/2
"01": (-X[n-2] +2 X[n-1] +2 X[n] - X[n+1])/2
"etc": (-X[n-2] +5 X[n-1] +5 X[n] - X[n+1])/8
HAPG: Horizontal aperture gain control
21H
APCLP
1000_0000
APCLP: Horizontal aperture clip level
OUT
-APCLP
IN
+APCLP
23
KS7333
DATA SHEET
Table 2. Zoom Input Register (Continued)
Address
Function
22H
APSC
0000_0100
APSC: Horizontal aperture slice level
OUT
-APSC
IN
+APSC
23H
ECST
0000_0000
ECST: Color edge suppression clip level
24H
ECSG
ECSGV
0010
0010
ECSG: Horizontal color edge suppression gain
ECSGV: Vertical color edge suppression gain
25H
26H
G1
G2
1000
0011
EDGE_SEL
G0
0
01010
G0, G1, G2: Color horizontal spline gain control
G0
G1
G2
X[n-2] X[n-1] X[n] X[n+1]X[n+2]
EDGE_SEL: CRCB selection for black balance
27H
HUE1_OFF
HUE2_OFF
0000
0000
HUE1_OFF: Offset of CR for black balance
HUE2_OFF: Offset of CB for black balance
24
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
28H
ECHUE1
0000_0000
ECHUE1: Gain of CR for black balance
29H
ECHUE2
0000_0000
ECHUE2: Gain of CB for black balance
2AH
APSCV
0000_0100
APSCV: Vertical aperture slice level
2BH
WV1
WV2
0111
0100
WV1: Vertical spline gain control1
WV2: Vertical spline gain control2 (vertical aperture)
WV2
WV1
+
-∆ T
∆T
Bi - Linear
+
-∆ T
First Weight
-∆ T
2CH
∆T
∆T
-∆ T
Second Weight
∆T
WH1
KT_DIV
0111
0000
WH1: Horizontal spline gain control1
KT_DIV: sub pixel coefficient gain in motion vector
25
KS7333
DATA SHEET
Table 2. Zoom Input Register (Continued)
Address
Function
2DH
OVERLAY
0000_0010
OVERLAY: Feed back image(TIIR filter) boundary adjust
To perform the TIIR filtering, the feedback image and the present image must match precisely.
Therefore, to compensate for the visual movement between fields, the feedback image is
compensated based on the detected motion vector. Garbage data, the image boundary section, is
not compensated during TIIR filtering, so boundary detection is required for processing at a valid
area.
Present Image
Feedback Image
Overlay
2EH
TO
0000_0000
TO: TIIR coefficient value
Tiir Block
1-KT
Image Input
Memory
Banko
Zoom
Block
ZOUT
SOUT
+
X
KT
X
TOUT
KT = {TO + KT_DIV (horizontal sub pixel + vertical sub pixel)}/256
26
Memory
Bank1
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
2FH
MAN_TO
0001_0000
MAN_TO: TIIR filter clip gain
DIFF = Feedback image - current input image
KT' = {TO + KT_DIV (horizontal sub pixel + vertical sub pixel) }/256
KT" = KT' - {(DIFF-TIIR_TH)*MAN_TO}
where, it is assumed as 0 if DIFF-TIIR_TH is less than 0
KT
MAN_TO: Slope
KT'
DIFF-TIIR_TH
0
30H
TIIR_TH
0000_0100
TIIR_TH : TIIR filter slice level
31H
LINEAR
FM2_FLD
TIIR_INT
DIR_CURX
DIR_CURY
0
0
0
0
0
LINEAR: Bi-linear interpolation/spline interpolation on/off
FM2_FLD: FLD selection in field memory2
TIIR_INT: TIIR filter coefficient value inverting
DIR_CURX: Cursor direction (horizontal) select in tracer mode
DIR_CURY: Cursor direction (vertical) select in tracer mode
27
KS7333
DATA SHEET
Table 2. Zoom Input Register (Continued)
Address
Function
32H
GA0
0000_0000
GA0: Image1 GAMMA gain
G8
G7
OUT
G6
G5
G4
G3
G2
G1
G0
0
64 128 192 256
33H
384
512
IN
GA1
0000_1000
GA1: Image1 GAMMA gain
34H
GA2
0001_0000
GA2: Image1 GAMMA gain
35H
GA3
0001_1000
GA3: Image1 GAMMA gain
36H
GA4
0010_0000
GA4: Image1 GAMMA gain
37H
GA5
0011_0000
GA5: Image1 GAMMA gain
38H
GA6
0100_0000
GA6: Image1 GAMMA gain
28
768
1023
DATA SHEET
KS7333
Table 2. Zoom Input Register (Continued)
Address
Function
39H
GA7
0110_0000
GA7: Image1 GAMMA gain
3AH
GA8
0111_1111
GA8: Image1 GAMMA gain
3BH
GB0
0000_0000
GB0: Image2 GAMMA gain
3CH
GB1
0000_1000
GB1: Image2 GAMMA gain
3DH
GB2
0001_0000
GB2: Image2 GAMMA gain
3EH
GB3
0001_1000
GB3: Image2 GAMMA gain
3FH
GB4
0010_0000
GB4: Image2 GAMMA gain
4H
GB5
0011_0000
GB5: Image2 GAMMA gain
41H
GB6
0100_0000
GB6: Image2 GAMMA gain
42H
GB7
0110_0000
GB7: Image2 GAMMA gain
43H
GB8
0111_1111
GB8: Image2 GAMMA gain
29
KS7333
DATA SHEET
Motion Input Register
Table 3. Motion Input Register
Address
Function
44H
SP_HM
0110_0000
SP_HM: Horizontal start point for motion
45H
SP_VM
0001_0101
SP_VM: Vertical start point for motion
46H
HEIGHTM[7:0]
1111_0010
HEIGHTM: Image height for motion
47H
HEIGHTM[8]
0000_0000
HEIGHTM: Image height for motion
48H
WIDTHM[7:0]
1111_1110
WIDTHM: Image width for motion
49H
WIDTHM[9:8]
0000_0001
WIDTHM: Image width for motion
4AH
KX_MD
1000_0000
KX_M: Motion detection zoom coefficient for horizontal
4BH
KY_MD
1000_0000
KY_M: Motion detection zoom coefficient for vertical
30
DATA SHEET
KS7333
Table 3. Motion Input Register (Continued)
Address
Function
4CH
OSD_MODE
0000_0000
[7]: Box display - Motion detection area display
[6]: Cross cursor display - motion trajectory display
[5]: Motion information display - bar graph
[4:2]: Bar display menu
0 → DX vector info
1 → DY vector info
2 → UX vector info
3 → UY vector info
4 → Horizontal correlation min/threshold info
5 → Vertical correlation min/threshold info
6 → Motion IIR filter and threshold info
[1]: Evaluation filter display (head line)
1/8 → Unmatch X
2/8 → Scene change X
3/8 → Unmatch Y
4/8 → Scene change Y
5/8 → Motion IIR blocking
7/8 → X holding
8/8 → Y holding
[0]: Histogram display
31
KS7333
DATA SHEET
Table 3. Motion Input Register (Continued)
Address
Function
4CH
Evaluation Filter
Scene
Scene Motion
Unmach
Unmach
Change
Change
IIR
X
Y
X
Y
Blocking
X
Time
Hold
Y
Time
Hold
Cross Cursor
Display Area
+
Motion
Graph & BAR
Display Area
4DH
DIS_ENX
DIS_DNY
DIR_VX
DIR_VY
DXYSET
F_PROJ
HLF_SFT
FRM_VY
DIS_ENX: DIS mode enable (if not current DX holding), horizontal
DIS_ENY: DIS mode enable (if not current DX holding), vertical
DIR_VX: Direction control 1: inverse
DIR_VY: Direction control 1: inverse
DXYSET: DX, DY temporally set mode (if 1, CX, CY used the shift point)
F_PROJ: Full projection on
HLF_SFT: Vertical half shift use (0)
FRM_VY: Vertical motion detection mode (0: field, 1: Frame) → if high zoom magnifying, frame
mode will be more stable
4EH
OX[7:0]
0000_0000
OX : Area offset of motion detection area in X direction
4FH
OX[9:8]
0000_0000
OX: Area offset of motion detection area in X direction
32
DATA SHEET
KS7333
Table 3. Motion Input Register (Continued)
Address
Function
50H
OY
0000_0000
OY: Area offset of motion detection area in Y direction
51H
CX
0000_0000
CX: Assigned motion vector for X → usage: motion centering, artificial image bounding
52H
CY
0000_0000
CY: Assigned motion vector for Y
53H
AX
AY
0000
0000
AX: Extending motion compensation margin X
AY: Extending motion compensation margin Y
54H
AUTO_CENT
0000_0000
AUTO_CENT: Auto centering
55H
VGGAINX
VGGAINY
0000
0000
VGGAINX: Motion gain (X) (8 → 1.0, 0 → 0.0) 1/8 degree
VGGAINY: Motion gain (Y)
56H
VGSTEP
GSPEED
0000
0000
VGSTEP: Motion gain recovery step. (0 → rapid, 15 → slow)
GSPEED: Display bar graph speed
57H
THR_SEL
0000_0000
THR_SEL: Threshold control
[7:6] Display scaling shift X
[5:4] Threshold scaling shift X
[3:2] Display scaling shift Y
[1:0] Threshold scaling shift Y
58H
CXY_BIAS
0000_0000
CXY_BIAS: Scene change filter offset for threshold
33
KS7333
DATA SHEET
Table 3. Motion Input Register (Continued)
Address
59H
Function
MATCHX_EN MVX_FMIN
0
QUART_X
MVX_GAP
00
0000
0
MATCHX_EN: Secondary motion mismatch filter enable X
MVX_FMIN: Motion value assign: 1 → Full motion 0 → minimum secondary motions
QUART_X: Secondary motion area selection (0 → 1/4, 1 → 2/3, 2 → 3/4, 3 → 3/4 splited)
MVX_GAP: Mismatch threshold. If secondary motion difference is larger than GAP, unmatch alarm
out
5AH
MATCHX_EN MVY_FMIN
0
QUART_X
MVX_GAP
00
0000
0
Same as 59H
5BH
SHMFBC
SHMITT
0000
0000
SHMFBC: Motion absolute sum filter feed back coefficient (8: FF, 7: 8F, ⋅⋅⋅⋅ , 1: 01, 0: 00)
SHMITT: Motion absolute sum filter threshold (display when OSD_MODE[4:2] == 11X)
5CH
MVIIR_EN
SCENE_X
SCENE_Y
FRM_DIS
F_SELECT
MVIIR_EN
HIST_SFT
0
0
0
0
0
0
00
MVIIR_EN: Motion absolute sum filter mode enable (SHMFBC, SHMITT control)
SCENE_X: Scene change detect filter on X
SCENE_Y: Scene change detect filter on Y
FRM_DIS: Frame DIS mode motion output (dual shutter mode or low shutter X2 mode)
F_SELECT: Frame DIS mode field selection
HLD_HIST: Histogram display and register hold
HIST_SFT: Histogram display and register level shift
34
DATA SHEET
KS7333
ODM Input Register
Table 4. ODM Input Register
Address
Function
5DH
OZNSEL
0
0
0
OYISEL
OFILPASS
OLPFSEL
0
0
0
OZNSEL: AF/AE display window selection signal from MICOM
OYISEL: OPT_DET module Y input selection signal from MICOM
OFILPASS: OPT_DET module filter pass enable signal from MICOM
OLPFSEL: OPT_DET module LPF selection signal from MICOM
5EH
OAEVE_WB
0000_0000
AE window B's vertical end point
5FH
OAEVS_WB
0000_0000
AE window B's vertical start point
60H
OAEHE_WB
0000_0000
AE window B's horizontal end point
61H
OAEHS_WB
0000_0000
AE window B's horizontal start point
62H
OAEVE_WA
0000_0000
AE window A's vertical end point
63H
OAEVS_WA
0000_0000
AE window A's vertical start point
64H
OAEHE_WA
0000_0000
AE window A's horizontal end point
65H
OAEHS_WA
0000_0000
AE window A's horizontal start point
66H
OAFVE_W2
0000_0000
AF window 2's vertical end point
35
KS7333
DATA SHEET
Table 4. ODM Input Register (Continued)
Address
Function
67H
OAFVS_W2
0000_0000
AF window 2's vertical start point
68H
OAFHE_W2
0000_0000
AF window 2's horizontal end point
69H
OAFHS_W2
0000_0000
AF window 2's horizontal start point
6AH
OAFVE_W1
0000_0000
AF window 1's vertical end point
6BH
OAFVS_W1
0000_0000
AF window 1's vertical start point
6CH
OAFHE_W1
0000_0000
AF window 1's horizontal end point
6DH
OAFHS_W1
0000_0000
AF window 1's horizontal start point
6EH
OYL_TH
0000_0000
Low threshold value of the luminance signal for AE
6FH
OYH_TH
0000_0000
High threshold value of the luminance signal for AE
70H
OAECLIP_TH
0000_0000
Threshold value for AE clip count
71H
OAFCLIP_TH
0000_0000
Threshold value for AF clip count
72H
PFCNT_MI
0
0
0
Defect count value from MICOM
36
0
0
0
0
0
DATA SHEET
KS7333
Table 4. ODM Input Register (Continued)
Address
Function
73H
PTHRESH
0000_0000
Digital clamp threshold value from MICOM
74H
POFFSET
0000_0000
Digital clamp offset value from MICOM
75H
PCMD
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Preprocess command from MICOM
76H
PRAMIL
0000_0000
Defect position value [7:0] from MICOM
77H
PRAMIM
0000_0000
Defect position value [15:8] from MICOM
78H
PRAMIH
Defect position value [19:16] from MICOM
79H
PRAMA_MI
0
0
0
Line memory address from MICOM
37
KS7333
DATA SHEET
Motion Output Register
Table 5. Motion Output Register
Address
Function
00H
UY[7:0]
Correction value of vertical vibration (field memory2)
01H
UY[15:8]
Correction value of vertical vibration (field memory2)
02H
UY[17:16]
Correction value of vertical vibration (field memory2)
03H
UX[7:0]
Correction value of horizontal vibration (field memory2)
04H
UX[15:8]
Correction value of horizontal vibration (field memory2)
05H
UX[17:16]
Correction value of horizontal vibration (field memory2)
06H
DY[7:0]
Correction value of vertical vibration (field memory1)
07H
DY[15:8]
Correction value of vertical vibration (field memory1)
08H
DY[17:16]
Correction value of vertical vibration (field memory1)
09H
DX[7:0]
Correction value of horizontal vibration (field memory1)
0AH
DX[15:8]
Correction value of horizontal vibration (field memory1)
0BH
DX[17:16]
Correction value of horizontal vibration (field memory1)
0CH
MVY_MB[5:0]
Frame motion vector for vertical area "B"
A
Motion
Detection Area
Display Image
B
38
Motion
Detection Area
DATA SHEET
KS7333
Table 5. Motion Output Register (Continued)
Address
Function
0DH
MVY_MA[5:0]
Frame motion vector for vertical area "A"
0EH
MVY_LB[5:0]
Field motion vector for vertical area "B"
0FH
MVY_LA[5:0]
Field motion vector for vertical area "A"
10H
MVY_B[6:0]
Motion vector for horizontal area "B"
Motion
Detection Area
Motion
Detection Area
A
B
Display Image
11H
MVX_A[6:0]
Motion vector for horizontal area "A"
12H
MVX_F[6:0]
Motion vector for horizontal full area
13H
MV_THR
Threshold level of "MV_IIR" register
14H
MV_IIR
IIR LPF result of motion vector
15H
HI7
Accumulated luminance level of input image (max = luminance maximum value)
(MAX*12/16) ≤ HI7 < (MAX*16/16)
16H
HI6
Accumulated luminance level of input image
(MAX*8/16) ≤ HI7 < (MAX*12/16)
17H
HI5
Accumulated luminance level of input image
(MAX*6/16) ≤ HI7 < (MAX*8/16)
18H
HI4
Accumulated luminance level of input image
(MAX*4/16) ≤ HI7 < (MAX*6/16)
39
KS7333
DATA SHEET
Table 5. Motion Output Register (Continued)
Address
Function
19H
HI3
Accumulated luminance level of input image
(MAX*3/16) ≤ HI7 < (MAX*4/16)
1AH
HI2
Accumulated luminance level of input image
(MAX*2/16) ≤ HI7 < (MAX*3/16)
1BH
HI1
Accumulated luminance level of input image
(MAX*1/16) ≤ HI7 < (MAX*2/16)
1CH
HI0
Accumulated luminance level of input image
0 ≤ HI7 < (MAX*1/16)
1DH
CY_MIN
Minimum correlation error for vertical
After matching between visual fields, the smaller this value, the better the matching.
1EH
CX_MIN
Minimum correlation error for horizontal
After matching between visual fields, the smaller this value, the better the matching.
1FH
TY_MIN
Threshold of "CY_MIN"
20H
TX_MIN
Threshold of "CX_MIN"
21H
VY
Field vertical motion vector
22H
VX
Field horizontal motion vector
23H
EVAL_SIGN
Evaluation filter result
[7] Unmatch X
[6] Empty pattern X
[5] unmatch Y
[4] Empty pattern Y
[3:2] MV IIR hold
[1] VX holding
[0] VY holding
40
DATA SHEET
KS7333
Preprocess Output Register
Table 6. Preprocess Output Register
Address
Function
42H
PFINDCNT[6:0]
Defect count value to MICOM
43H
PRAMOL
Defect position value [7:0] to MICOM
44H
PRAMOM
Defect position value [15:8] to MICOM
45H
PRAMOH
0
0
0
0
Defect position value [19:16] to MICOM
41
KS7333
DATA SHEET
OPT_DET Output [239:0]-12byte
Table 7. OPT_DET Output [239:0]-12byte
Address
Function
24H
OAECLIPL
Clip count value for AE[7:0]
25H
OAECLIPH
Clip count value for AE[7:0]
26H
OAEWBL
Window B's total integration value for AE[7:0]
27H
OAEWBM
Window B's total integration value for AE[15:8]
28H
OAEWBH
Window B's total integration value for AE [23:16]
29H
OAEWAL
Window A's total integration value for AE [7:0]
2AH
OAEWAM
Window A's total integration value for AE [15:8]
2BH
OAEWAH
Window A's total integration value for AE [23:16]
2CH
OAFCLIPL
Clip count value for AF [7:0]
2DH
OAFCLIPH
Clip count value for AF [15:8]
2EH
OAF2WPKL
Peak integration value for window 2's each line for AF2 [7:0]
2FH
OAF2W2PKH
Peak integration value for window 2's each line for AF2 [15:8]
30H
OAF2W2L
Window 2's total integration value for AF2 [7:0]
31H
OAF2W2M
Window 2's total integration value for AF2 [15:8]
32H
OAF2W2H
Window 2's total integration value for AF2 [23:16]
33H
OAF1W2PKL
Window 2's total integration value for AF1 [7:0]
42
DATA SHEET
KS7333
Table 7. OPT_DET Output [239:0]-12byte (Continued)
Address
Function
34H
OAF1W2PKH
Window 2's total integration value for AF1 [15:8]
35H
OAF1W2L
Window 2's total integration value for AF1 [7:0]
36H
OAF1W2M
Window 2's total integration value for AF1 [15:8]
37H
OAF1W2H
Window 2's total integration value for AF1 [23:16]
38H
OAF2W1PKL
Peak integration value for window 1's each line for AF2 [7:0]
39H
OAF2W1PKH
Peak integration value for window 1's each line for AF2 [15:8]
3AH
OAF2W1L
Window 1's total integration value for AF2 [7:0]
3BH
OAF2W1M
Window 1's total integration value for AF2 [15:8]
3CH
OAF2W1H
Window 1's total integration value for AF2 [23:16]
3DH
OAF1W1PKL
Peak integration value for window 1's each line for AF1 [7:0]
3EH
OAF1W1PKH
Peak integration value for window 1's each line for AF1 [15:8]
3FH
OAF1W1L
Window 1's total integration value for AF1 [7:0]
40H
OAF1W1M
Window 1's total integration value for AF1 [15:8]
41H
OAF1W1H
Window 1's total integration value for AF1 [23:16]
43
KS7333
DATA SHEET
APPLICATION CIRCUIT
CDS
AGC
CCD
SI8
SI9
VDD
SI7
SI6
SI5
VSS
SI4
SI3
SI2
SI1
SI0
AD0
VDD
AD1
AD2
AD3
VSS
AD4
AD5
10 bit
ADC
VD
HD
RSTN
CLK
VSS
CLKO
SCNTST
CLK2
SCANEN
SCLK
SCSN
SMI
V1
VDD
CLK4
SMO
OSD
SO9
SO8
SO7
KS7333
Digital Image Stabilization
and Digital Zoom Processor
SO6
SO5
VSS
SO4
SO3
SO2
VDD
SO1
SO0
BA
WE
RAS
CAS
VSS
DQ15
DQ14
DQ13
VDD
DQ12
DQ11
System
Micom
AD6
AD7
VDD
AD8
AD9
AD10
VSS
DQ0
DQ1
DQ2
DQ3
DQ4
DQ5
VDD
DQ6
DQ7
DQ8
VSS
DQ9
DQ10
SDRAM
DCP
44