KS7306 is a CCD digital signal processor.
The electronic video signal that passed the color
filter array(CFA) pattern of CCD is put to the process
of dual correlation sampling and then converted to
digital video signal by A/D converter.
Taking the digital video signal so processed as an
input, KS7306 performs luminance and chroma
signal process and finally outputs signals encoded to
NTSC/PAL broadcast standards, and generates
detection signals for AE/AF/AWB.
DevicePackage
KS7306100-QFP-1414
FEATURES
• Offers 10 bit input digital signal processing.
• Carries built-in 2H line memory.(10bit 1024)
• Performs Y signal processing.
• Performs C signal processing.
• Carries an encorder capable to NTSC/PAL dual form application.
• Carries built-in Y/C 2-channal DA converter.
• Carries built-in AE/AF/AWB detection system.
• Provides micom parallel interface.
• Micom capable to control variable parameters.
• Offers digital effects interfacing
• Suites Hi8/Normal CCD application.
• Suites 470K,520K,570K and 620K CCD controlled EIS system application.
• Supports 16:9 aspect wide TV (full mode) application.
APPLICATIONS
CCD camera ( camcorder, CCTV, digital still camera, etc.).
1BFIBurst Flag
2LALTILine Alternation for PAL System
3IDILine Identifer
4HDIHorizontal Driving Pulse
5VDDIPPower Supply for Internal Logic
6VDIVetical Driving Pulse
7LHLDILine Hold Signal
8PCLKISystem Clock
9PBLKIPre-Blanking Pulse
10VSSIGGround for Internal Logic
11NECIExt. Micom select (NEC/SAM 8*)
12ASIAddress Strobe for Micom I/F
13VSKIPIVertical Skip Pulse
14WRNIWrite Enable (Active Low) for Micom I/F
15VDDPOPPower Supply for Input & Output PAD
16RDNIRead Enable (Active Low) for Micom I/F
17MD7I/OMicom Address & Data Port 7
18MD6I/OMicom Address & Data Port 6
19MD5I/OMicom Address & Data Port 5
20VSSPOGGround for Input & Output Pad
21MD4I/OMicom Address & Data Port 4
22MD3I/OMicom Address & Data Port 3
23MD2I/OMicom Address & Data Port 2
24MD1I/OMicom Address & Data Port 1
25MD0I/OMicom Address & Data Port 0
26RSTNISystem Reset (Active Low)
27HCONIHorizontal Sync. Signal (S1,S2 Control)
28HSYNCOHorizontal Sync. Signal
29 VSYNCOVertical Sync. Signal
30TST3OTest Output 3
31AFZONEOAuto Focus Window Zone Pulse
32CSYNCOOComposite Sync. Output (Processor Delay Matched Signal)
33FSCOColor Subcarrier Signal
34BFOOBurst Flag Output (Processor Delay Matched Signal)
35VSSAAGAnalog Ground
VID-97-D004
February 1997
3
KS7306 DIGITAL CAMERA PROCESSOR
(Continued)
NO.SymbolI/ODescription
36VDDAAPAnalog Power
37AYOD/A Converted Luminance Signal
38BCAPIBypass Capacitor Port for D/A Converter
39IREFICurrent Source Reference Port D/A Converter
40VREFIVoltage Source Reference Port D/A Converter
41ACOD/A converted Chroma Signal
42VDDAAPAnalog Power
43VSSAAGAnalog Ground
44INDIRIInput Mode Select for I/O Bidirectional Pin
45TST4OTest Output 4
46XCKIExternal Clock for Multimedia PC
47UVCKOR-Y / B-Y Identifier
48DZCSYNCOI/O
49DZBFOI/O
50DZCBLKOI/O
51TST1I/OTest I/O
52DZCBLKII/O
53DZBFII/O
54DZCSYNCII/O
55VDDIPPower Supply for Internal Logic
56TST2I/OTest I/O
57YI7IDigital Zoom Processed Luminance Input 7
58YI6IDigital Zoom Processed Luminance Input 6
59YI5IDigital Zoom Processed Luminance Input 5
60VSSIGGround for Internal Logic
61YI4IDigital Zoom Processed Luminance Input 4
62YI3IDigital Zoom Processed Luminance Input 3
63YI2IDigital Zoom Processed Luminance Input 2
64YI1IDigital Zoom Processed Luminance Input 1
65VDDPOPPower Supply for Input / Output Pad
66YI0IDigital Zoom Processed Luminance Input 0
67YO7OLuminance Output 7 for Digital Zoom
68YO6OLuminance Output 6 for Digital Zoom
69TO5OLuminance Output 5 for Digital Zoom
70VSSPOGGround for Input & Output Pad
71YO4OLuminance Output 4 for Digital Zoom
72YO3OLuminance Output 3 for Digital Zoom
Delay Matched Composite Sync. Output for Digital Zoom or Test I/O
Delay Matched Burst Flag Output for Digital Zoom or Test I/O
Delay Matched Composite Blank Output for Digital Zoom or Test I/O
Delay Matched Composite Blank input for Digital Zoom or Test I/O
Delay Matched Burst Flag input for Digital Zoom or Test I/O
Delay Matched Composite Sync. input for Digital Zoom or Test I/O
VID-97-D004
February 1997
4
KS7306 DIGITAL CAMERA PROCESSOR
(Continued)
NO.SymbolI/ODescription
73YO2OLuminance Output 2 for Digital Zoom
74YO1OLuminance Output 1 for Digital Zoom
75YO0OLuminance Output 0 for Digital Zoom
76UVIO3I/ODigital Zoom Processed Chroma Input 3/4:2:2 Chroma Output 7
77UVIO2I/ODigital Zoom Processed Chroma Input 2/4:2:2 Chroma Output 6
78UVIO1I/ODigital Zoom Processed Chroma Input 1/4:2:2 Chroma Output 5
79UVIO0I/ODigital Zoom Processed Chroma Input 0/4:2:2 Chroma Output 4
80VDDIPPower for Internal Logic
81UVO3OChroma Output 3 for Digital Zoom / 4:2:2 Chroma Output 3
82UVO2OChroma Output 2 for Digital Zoom / 4:2:2 Chroma Output 2
83UVO1OChroma Output 1 for Digital Zoom / 4:2:2 Chroma Output 1
84UVO0OChroma Output 0 for Digital Zoom / 4:2:2 Chroma Output 0
85VSSIGGround for Iternal Logic
86CD9ICCD Data Input 9 Precessed ADC or FCM
87CD8ICCD Data Input 8 Precessed ADC or FCM
88CD7ICCD Data Input 7 Precessed ADC or FCM
89CD6ICCD Data Input 6 Precessed ADC or FCM
90VDDPOPPower Supply for Input & Output Pad
91CD5ICCD Data Input 5 Precessed ADC or FCM
92CD4ICCD Data Input 4 Precessed ADC or FCM
93CD3ICCD Data Input 3 Precessed ADC or FCM
94CD2ICCD Data Input 2 Precessed ADC or FCM
95VSSPOGGround for Input & Output Pad
96CD1ICCD Data Input 1 Precessed ADC or FCM
97CD0ICCD Data Input 0 Precessed ADC or FCM
98FSC4IColor Subcarrier x 4
99CBLKIComposite Blank Signal
100CSYNCIComposte Sync. Signal
VID-97-D004
February 1997
5
KS7306 DIGITAL CAMERA PROCESSOR
ABSOLUTE MAXIMUM RATINGS
CharacteristicsSymbolValueUnit
Supply VoltageV
Teminal input VoltageV
Power DissipationP
Ta = 25°C4.755.05.25V
Ta = 25°C0.7V
Ta = 25°C--0.3V
IOH = -1mA2.4--V
IOL = 1mA--0.4V
V
= 5V-140160mA
DD
VI = 0~V
VI = 0~V
DD
DD
-0.3 to 7V
-0.3 to VDD +0.3V
700mW
-40 ~ +125
100mA
DD
--V
DD
-10-10
-10-10
°C
°C
V
µA
µA
AC
CharacteristicsSymbolTest ConditionMinTyp.MaxUnit
Input Data Setup Time
T
SU
VDD = 5±5%,
5
-
-
Ta = 0 ~70°C
Input Data Hold Time
T
HD
VDD = 5±5%,
5
-
50
Ta = 0 ~70°C
PCLK
CD9~0
T
HD
T
SU
nsec
nsec
VID-97-D004
February 1997
6
KS7306 DIGITAL CAMERA PROCESSOR
MICOM INTERFACE
1. NEC MICOM INTERFACE
CharacteristicsSymbolMinTypMaxUnit
Address setup timeTast15--nsec
Address hold timeThat35--nsec
AS pulse widthTasw35--nsec
RDN pulse widthTrdw400--nsec
WRN pulse widthTwrw400--nsec
Data delay from RDN,WRNTd--100nsec
Data hold timeTdh0--nsec
MD7~0
AS
RDM
WRN
Tast
ADDRDATA
Tsaw
Taht
Td
Trdw
Twrw
Tdh
READ Mode
( WRN = ″1″)
WRITE Mode
( RDN = ″1″)
VID-97-D004
February 1997
7
KS7306 DIGITAL CAMERA PROCESSOR
2. SAM8 MICOM INTERFACE
CharacteristicsSymbolMinTypMaxUnit
Address setup timeTast15--nsec
Address hold timeThat35--nsec
AS pulse widthTasw35--nsec
RDN pulse widthTrdw400--nsec
WRN pulse widthTwrw400--nsec
Data delay from RDN,WRNTd--100nsec
Data hold timeTdh0--nsec
Tast
MD7~0
AS
RDM
WRN
ADDRDATA
TsawTaht
Twrw
TdTdh
Trdw
READ Mode
( WRN = ″1″ )
WRITE Mode
( RDN = ″1″ )
VID-97-D004
February 1997
8
KS7306 DIGITAL CAMERA PROCESSOR
SYSTEM DESCRIPTION
The video data output from CCD go through CDS IC (KA7307) and become quantized by 10 bit ADC.
For hand tremble correction in the CCD controlled gyro sensor method, the quatized video data are fed
to FCM in which effective pixel section of the data gets corrected and extended, then the data are
entered to the signal processor (KS7306) for YC coding so that the data are propely encoded to
conform with NTSC/PAL broadcasting method.
The encoded data is converted to analog signal by the built-in DAC and output Y.C signal finally.
The camera embodies current video status detection function needed for AE/AF/AWB function as an
automatic control provision of the camera system. The function of signal processing and video status
detection is implemented by data communication with the micom through the parallel interfaces to
allow setting of variable parameters, transmisson of detection signals, and reception of control signals
that are necessary in the signal processing. The clock used in IC' s is supplied by a separate IC, the
timining generator (KS7213). For the zooming, the Y,(R-Y)(B-Y) interface to the processing is
provided. And the interface allows interfacing with IC' s for the option of other digital effects.
The timing generator generates time pulse and video syncronizing signal required in all functional
block of the camera system. The clock supports the vertical expansion mode especially required in
CCD controlled gyro sensor and electronic zooming.
Using the clock furnished by the clock generator, the digital zoom (KS7314) performs zooming by
means of vertical interpolation of expanded CCD output and horizontal expansion and interpolation of
the output.
In this camera system, IC' s used for FCM, gyro, microcontroller, and DZ functions respectively are
the ones required only in the system that employs CCD controlled gyro sensor and electronic zooming
for optional funtions while a system pursuing electronic zooming alone requires employment of DZ IC
only to achieve the purpose. The CCDs of 510H (NTSC/PAL) and 760H (NTSC/PAL) allow a range of
system configurations that support 470K, 520K, and 620K (wobble correction CCD) pixels. The figure
below illustrates the camera system.
A/D; Analog to Digital
CCD; Charge Coupled Device
FCM; Frquency Converting Memory
DZ; Digital Camera Process
DCP; Digital Camera Process
CCD
CDS
KA7307
V-Driver
KS7221
A BLOCK DIAGRAM OF CAMERA SYSTEM CONFIGRATION
A/D
10bit
<OPTION>
Gyro
uCOM
FCM
KS7308
TG
KS7213
DZ
KS7314
DCP
KS7306
System
µCOM
Y
C
VID-97-D004
February 1997
9
KS7306 DIGITAL CAMERA PROCESSOR
OPD- PROCESSOR
CD9 ~ 0
YI7 ~ 0
YO7 ~ 0
AY
ENCODER
AY
IFEFFECTSFCBMDAC
CSUP
HUE &
MD7 ~ 0
MICOM
INTERFACE
INT. REGISTER
BF
LALT
FSCA
UVO3 ~ 0
UVIO3 ~ 0
AWB
INTEGRATOR
WRN
RDN
AS
LPFγDLYIFEFFECTBLKSYNCYDLDAC
Y PROCESSOR
DET
DEFECT
PREPROCESSOR
CLAMP
BLOCK DIAGRAM
PBLK
HAP
DEFECT
CORRECT
VSKIP
( - )
VAP
DET
HL / EDGE
LM
CDIFF
MATRIX
γ
W/B
RGB
MATRIX
B
/C
R
/C
LPF
L
Y
C PROCESSOR
LM
LHLD
AF ZONE
AE
INTEGRATOR
AF
INTEGRATOR
ID
HCON
TIMING
INTERFACE
HD
VD
PCLK
CBLK
CSYNC
RSTN
XCK
VID-97-D004
February 1997
10
KS7306 DIGITAL CAMERA PROCESSOR
Y
OMDL
OMDH
OA2W1L
OA1W1L
OA2W1M
OA1W1M
OA1W2L
OA2W2L
OA1W2M
OA2W2M
OAP2W1L
OAP1W2L
OAP1W1L
OWN
OAP2W2L
OWSH
OACCL
16
OACCM
OA2W1H
OA1W1H
24
INTEGRATOR
HPF
2
OA1W2H
OA2W2H
OAP2W1H
OAP1W2H
OAP1W1H
16
Peak & Hold
MUX
OAP2W2H
OPC1A
OPC1B
OPC2B
OPC2A
OWM
OWSV
8
Window Control
OPC1E
OPC1C
OPC1D
OPC2E
OPC2C
OPC2D
OPC1F
OPC1G
OPC2F
OPC2G
OACCH
24
INTEGRATOR
Detection
16
INTEGRATOR
MUX
6
SRAM
Memory
(16b *48w)
OADR
Memory Control
OYL
6
OBYTH
OADR
LPF
8
OPD-PROCESSOR BLOCK DIAGRAM
VID-97-D004
February 1997
Comparator
6
(R-Y)/(B-Y)
OYH
OADS
ORYTH
11
KS7306 DIGITAL CAMERA PROCESSOR
OPERATION OF BLOCKS
1. Preprocess
In case of signal processing of a camera with single CCD, before the performance of main processing,
it takes the optical black appearing before the real data among CCD data as the reference value and
the mean figure of it enables correct alignment of the black in the main processing, and in case of
defect found existing in CFA mode, it locates 4 errornous spots in maximum and processes to replace
the errors with two siding data by initial interpolation and then outputs line memory.
2. Line memory
Two built-in 10 bits line memories for 3 line color processing in 2H delay application, enable
simultaneous vision of 3 horizontal video lines, and in the processing of luminance signals, 1H delayed
signal, the H1D is offered, and in the chroma signal processing, HO2D or the luminance signal process
lines interpolated by two siding lines one in front and the other in the back are offered.
The line momory has 1024 depth for safe application to a CCD with 620 pixels, of 16:9 aspect.
For application to gyro sensor based and CCD controlled electronic image stabilizer system, it has the
functional capability to hold previous line at the blank signal line.
This is externally controlled by a LHLD signal.
3. Y processor
- LPF
The filter removes recurring pattern noise of single type CCD.
- Non-linear characteristics in H aperture application :
In order to reduce back noise caused by the noise of low luminance when H aperture is emphasized,
low luminance components are compressed before the aperture.
OUTPUT
BKG(X1)
BKG(X1/2)
BKTH
BKG(X1/4)
BKG(X0)
INPUT
VID-97-D004
February 1997
12
KS7306 DIGITAL CAMERA PROCESSOR
- H_Aperture
Horizontal and vertical outline portions are emphasized.
INPUT
HAFS<1:0> = ″00″
HAFS<1:0> = ″01″
HAFS<1:0>= ″10″
HAFS<1:0> = ″11″
- REGISTER
HAPG : Horizontal Aperture Gain Control
5bits (X0 ~ X0.96875)
VAPG : Vertical Aperture Gain Control
5bits (X0 ~ X1.9375)
APSC : Aperture Slice Level
6bits (0~63)
APCLP : Aperture Clip Level
2bits 0 0 OFF
0 1 256
1 0 128
1 1 64
OUT
-APSC
IN
OUT
-APCLP
IN
APSC
< Noise Slice >
VID-97-D004
February 1997
APCLP
< Aperture Clip >
13
KS7306 DIGITAL CAMERA PROCESSOR
- Gamma and knee
Adopting user defined variable gamma and knee in eight step piecewise linear method allows the user
free adjustment of the coefficient.
4. C-Processor
- S/H and interpolation LPF
With the input of HID and H02D signals from the line memory, C-Processor samples and holds S
and S2 for the generation of RGB chroma signals.
The band width of the signals so generated is limited by LPF.
- RGB matrix
Based on Cr, Cb and YC signals being the sum and balance components of S1 and S2, RGB chroma
signals are obtainable from the following matrix.
1
YC = S1 + S2, Cr = S2 - S1, Cb = S1 - S
2
R = Cr + CCOR X YC (or G)
G = YC - (Cr + Cb)
B = Cb + CCOB X G (or YC)
Register :
CCOR : Matrix coefficient for RED generation 6 bits (0-X0.25)
CCOB : Matrix coefficient for BLU generation 6 bits (0-X0.25)
CMATX : 2bits RED BLUE
0 0 Y
C
G
0 1 G G
1 0 G Y
1 1 YC Y
C
C
- White and black balance control :
Through interfacing with the micom, RB signal level is coordinated with G signal level.
Register :
* GWB : GREEN WHITE BALANCE CONTROL
8 bits (0~X4)
* RWB : RED WHITE BALANCE CONTROL
8 bits (0~X8)
* BWB : BLUE WHITE BALANCE CONTROL
8 bits (0~X8)
* GBLK : GREEN BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
* RBLK : RED BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
* BBLK : BLUE BLACK BALANCE CONTROL (2 ′S complement)
8 bits (-128 ~127)
VID-97-D004
February 1997
14
KS7306 DIGITAL CAMERA PROCESSOR
- Gamma correction :
The process is indentical to the variable gamma method employed in the process of Y signals.
Register :
CGM1 - CGM8 : C-Gamma Y fraction coefficient
8 bits (0~255)
- Chroma MATRIX
It generates R-Y and B-Y signals of basic color space used as NTSC/PAL broadcast standards.
- HUE and gain control
Micro adjustment can be made to coordinate the balance vector to its complement color vector.
Individual adjustment against +, - on the R-Y and B-Y vector space that color regeneration is enhanced.
Register :
R-Y
RHPN
BHPN
(-1~X1)
RHNP
BHNP
(-1~X1)
RHPP
BHPP
(-1~X1)
B-Y
RHNN
BHNN
(-1~X1)
- Chroma suppress
It supresses false chroma signal by horizontal outline and high luminance signal.
Supress level is adjustable by the mode data.
- Chroma signal interface
PLCK
UVO3 ~ 0
UVCK
..
RY0<7:4>RY0<3:0>BY0<7:4>BY0<3:0>RY1<7:4>RY1<3:0>
VID-97-D004
February 1997
.....
15
KS7306 DIGITAL CAMERA PROCESSOR
5. NTSC/PAL encoder
- Digital effects
It performs various digital effects and Mosaic, Art Freeze, and Posi/Nega inversion.
Register :
. Art 3 bit 000:normal 001:128 rep val* 010:64 rep val* 011:32 rep val*
100:6 rep val* 101:8 rep val* 110:4 rep val* 111:2 rep val*
( *Rep val stands for representative value.)
. Nega 1 bit 0:normal 1:negative
- Fade function
A smooth screen shift is available by Y/C gain control (8bit resolution)
Register :
. Ygain 8bits 0-X1
. Cgain 8bits 0-X1
- Set-up and white clip
It determines the set-up level that conforms to specific broadcast method (NTSC/PAL) and defermins
also adequate white clip level.
Register :
. Set-up 5bits 0-32
. WCLP 8bits 0-256
- BLK/SYNC mix
CBLK/CSYNC are mixed to conform specific broadcast method
- Sampling frequency converter
The chroma signal synchronized to PCLK is converted to 4FSC frequency for chroma modulation.
- Modulation
The chroma data synchronized to 4FSC is put to repeat R-Y,B-Y in 2FSC frequncy,and invert in 4FSC
frequncy and thus modulation of chroma signal is achieved. In this process the level of burst signal
applied by the EUSC/EVSC reg, can be controlled and by the adjustment of EUSC/EVSC, color phase
can
be rotated entirely.
- Delay
The delays developed in the signal processing path of luminance and chroma signals are compensated
and other delicate delays resultant from the external applications can also be compensated.
VID-97-D004
February 1997
16
KS7306 DIGITAL CAMERA PROCESSOR
* ORYTH
6. OPD Processor
The OPD Processor detects signals for AE/AF1/AF2/AWB and enters the detected signals to the
micom through the micom interface. The signals for AF1/AF2 can be detected simultaneously in one
filed for both of integral and peak values and the detection field can be set freely set by the user.
The peak value is, however, obtained by means of finding from a line in each field first and then
repeated by lines to fine the peak. The signals for AE/AWB can be detected by means of taking
integrated value of entire image or a sectional value of the image area divided in 48 sections.
- LPF; 6Tap FIR filter (-3db at 2 MHZ)
Signal band for input is limited for AE/AF.
- HPF; 3 Order IIR filter (HPF1:200KHZ, HPF2:600KHZ)
The filter suppresses low frequency components to enable detection of only the outline signal
selectively for AF1/AF2. Detection of AF1/AF2 is performed simultaneously for each horizontal line
that detection of AF1/AF2 singal in any one field is enabled.
The filter 3 order IIR filter is structured a hardware like, but coefficients are devised programmable
that the performance charactor can be adjusted by the user.
Mode settings command register
Integrated data of A area for AF1
Integrated data of A area for AF2
Integrated data of B area for AF1
Integrated data of B area for AF2
Peak data of A area for AF1
Peak data of A area for AF2
Peak data of B area for AF1
Peak data of B area for AF2
Peak data of full area for AE/AWB
Integrated of small image of sectioned area
Pixel number of small image of sectioned area
Line number of small image of sectioned area
Vertical start point of area A for AF
Horizontal start point of area A for AF
RAM start address (Write/Read)
It removes chroma signal from the high luminance and low luminance components in R-Y and B-Y signals
in order to limit the signal range suitable for input to AWB for the purpose of the signal detections.
Register
* OYH 6bits High luminance threshold level