FEATURES
Correlated Double Sampler (CDS)
–2 dB to +10 dB Pixel Gain Amplifier (
2 dB to 36 dB 10-Bit Variable Gain Amplifier (VGA)
10-Bit 40 MHz A/D Converter
Black Level Clamp with Variable Level Control
Complete On-Chip Timing Driver
Precision Timing
™ Core with 500 ps
Resolution at 40 MSPS
On-Chip 5 V Horizontal and RG Drivers
48-Lead LQFP Package
APPLICATIONS
Digital Still Cameras
®
PxGA
)
FUNCTIONAL BLOCK DIAGRAM
with Integrated Timing Driver
AD9847
GENERAL DESCRIPTION
The AD9847 is a highly integrated CCD signal processor for
digital still camera applications. The AD9847 includes a complete analog front end with A/D conversion, combined with
a programmable timing driver. The Precision Timing core allows
adjustment of high speed clocks with approximately 500 ps
resolution at clock speeds of 40 MHz.
The AD9847 is specified at pixel rates of 40 MHz. The analog
front end includes black level clamping, CDS, PxGA, VGA, and a
10-bit A/D converter. The timing driver provides the high speed
CCD clock drivers for RG and H1–H4. Operation is programmed
using a 3-wire serial interface.
Packaged in a space-saving 48-lead LQFP, the AD9847 is specified over an operating temperature range of –20°C to +85°C.
VRB
VRT
CCDIN
RG
H1–H4
4
AD9847
CDS
HORIZONTAL
DRIVERS
CLAMP
4 6dB
PxGA
2dB TO 36dB
VGA
INTERNAL
CLOCKS
PRECISION
TIMING
CORE
SYNC
GENERATOR
HD VD
VREF
ADC
CLAMP
INTERNAL
REGISTERS
SL
10
DOUT
CLPOB
CLPDM
PBLK
CLI
SDATASCK
REV. A
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices. Trademarks and
registered trademarks are the property of their respective companies.
Reference Top Voltage (VRT)2.0V
Reference Bottom Voltage (VRB)1.0V
SYSTEM PERFORMANCESpecifications Include Entire
Gain AccuracyGain Includes 4 dB Default PxGA
Low Gain (91)567dB
Max Gain (1023)38dB
Peak Nonlinearity, 500 mV Input Signal0.2%12 dB Gain Applied
Total Output Noise0.25LSB rmsAC Grounded Input, 6 dB Gain Applied
Power Supply Rejection (PSR)40dBMeasured with Step Change on Supply
*Input signal characteristics defined as follows:
= 40 MHz, unless otherwise noted.)
CLI
Med Gain (4 dB) Is Default Setting
Signal Chain
500mV TYP
RESET
TRANSIENT
Specifications subject to change without notice.
150mV MAX
OPTICAL
BLACK PIXEL
1V MAX
INPUT
SIGNAL RANGE
REV. A
–3–
Page 4
AD9847
TIMING SPECIFICATIONS
(CL to 29 pF, f
= 40 MHz, Serial Timing in Figures 3a and 3b, unless otherwise noted.)
CLI
ParameterSymbolMinTypMaxUnit
MASTER CLOCK (CLI)
CLI Clock Periodt
CLI High/Low Pulsewidtht
CLI
ADC
25ns
12.5ns
Delay from CLI to Internal Pixel
Period Positiont
CLIDLY
6ns
EXTERNAL MODE CLAMPING
CLPDM Pulsewidtht
CLPOB Pulsewidth*t
CDM
COB
410Pixels
220Pixels
SAMPLE CLOCKS
SHP Rising Edge to SHD Rising Edget
S1
10ns
DATA OUTPUTS
Output Delay from Programmed Edget
OD
6ns
Pipeline Delay9Cycles
SERIAL INTERFACE
Maximum SCK Frequencyf
SL to SCK Setup Timet
SCK to SL Hold Timet
SDATA Valid to SCK Rising Edge Setupt
SCK Falling Edge to SDATA Valid Holdt
SCK Falling Edge to SDATA Valid Readt
*Maximum CLPOB pulsewidth is for functional operation only. Wider typical pulses are recommended to achieve low noise clamp reference.
Specifications subject to change without notice.
SCLK
LS
LH
DS
DH
DV
10MHz
10ns
10ns
10ns
10ns
10ns
–4–
REV. A
Page 5
AD9847
ABSOLUTE MAXIMUM RATINGS
AVDD1, 2, 3 to AVSS . . . . . . . . . . . . . . . . . . . –0.3 to +3.9 V
DVDD1, 2 to DVSS . . . . . . . . . . . . . . . . . . . . –0.3 to +5.5 V
DVDD3, 4 to DVSS . . . . . . . . . . . . . . . . . . . . –0.3 to +3.9 V
Digital Outputs to DVSS3 . . . . . . . . –0.3 to DVDD3 + 0.3 V
CLPOB, CLPDM, BLK to DVSS4 . –0.3 to DVDD4 + 0.3 V
CLI to AVSS . . . . . . . . . . . . . . . . . . . –0.3 to AVDD + 0.3 V
SCK, SL, SDATA to DVSS4 . . . . . –0.3 to DVDD4 + 0.3 V
VRT, VRB to AVSS . . . . . . . . . . . . . –0.3 to AVDD + 0.3 V
BYP1–3, CCDIN to AVSS . . . . . . . . –0.3 to AVDD + 0.3 V
AD9847AKST–20°C to +85°CThin Plastic Quad Flatpack (LQFP)ST-48
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection. Although
the AD9847 features proprietary ESD protection circuitry, permanent damage may occur on
devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are
recommended to avoid performance degradation or loss of functionality.
MSB)
13, 14H1, H2DOHorizontal Clocks (to CCD)
15DVSS1PDigital Ground 1—H Drivers
16DVDD1PDigital Supply 1—H Drivers
17, 18H3, H4DOHorizontal Clocks (to CCD)
19DVSS2PDigital Ground 1—RG Driver
20RGDOReset Gate Clock (to CCD)
21DVDD2PDigital Supply 2—RG Driver
22AVSS1PAnalog Ground 1
23CLIDIMaster Clock Input
24AVDD1PAnalog Supply 1
25AVSS2PAnalog Ground 2
26AVDD2PAnalog Supply 2
27BYP1AOBypass Pin (0.1 µF to AVSS)
28BYP2AOBypass Pin (0.1 µF to AVSS)
29CCDINAIAnalog Input for CCD Signal
30BYP3AOBypass Pin (0.1 µF to AVSS)
31AVDD3PAnalog Supply 3
32AVSS3PAnalog Ground 3
33CMLEVELAOInternal Bias Level Decoupling (0.1 µF to AVSS)
34REFBAOReference Bottom Decoupling (1.0 µF to AVSS)
35REFTAOReference Top Decoupling (1.0 µF to AVSS)
36SLDI3-Wire Serial Load (from µP)
37SDIDI3-Wire Serial Data Input (from µP)
38SCKDI3-Wire Serial Clock (from µP)
39CLPOBDIOptical Black Clamp Pulse
40CLPDMDIDummy Black Clamp Pulse
41HBLKDIHCLK Blanking Pulse
42PBLKDIPreblanking Pulse
43VDDIVertical Sync Pulse
44HDDIHorizontal Sync Pulse
45DVSS4PDigital Ground 4—VD, HD, CLPOB, CLPDM, HBLK, PBLK, SCK, SL, SDATA
46DVDD4PDigital Supply 4—VD, HD, CLPOB, CLPDM, HBLK, PBLK, CK, SL
47, 48NCNCInternally Not Connected
*Type: AI = Analog Input, AO = Analog Output, DI = Digital Input, DO = Digital Output, P = Power
–6–
REV. A
Page 7
Equivalent Input/Output Circuits
AD9847
DATA
AVDD2
R
AVSS2
Circuit 1. CCDIN (Pin 29)
AVDD1
330
CLI
25k
1.4V
AVSS1
Circuit 2. CLI (Pin 23)
DVDD4DVDD3
AVSS2
DVDD4
330
DVSS4
Circuit 4. Digital Inputs (Pins 36–44)
DVDD1
DATA
ENABLE
DVSS1
Circuit 5. H1–H4 and RG (Pins 13, 14, 17, 18, 20)
OUTPUT
THREE-
STATE
DVSS4DVSS3
DOUT
Circuit 3. Data Outputs D0–D9 (Pins 1–5, 8–12)
Typical Performance Characteristics
0.50
0.25
0
–0.25
–0.50
0
200600800
400
TPC 1. Typical DNL
1000
4
3
2
OUTPUT NOISE – LSB
1
0
0
200
400
VGA GAIN CODE – LSB
600800
TPC 2. Output Noise vs. VGA Gain Setting
1000
REV. A
–7–
Page 8
AD9847
SYSTEM OVERVIEW
Figures 1a and 1b show the typical system application diagrams
for the AD9847. The CCD output is processed by the AD9847’s
AFE circuitry, which consists of a CDS, PxGA, VGA, black
level clamp, and A/D converter. The digitized pixel information is
sent to the digital image processor chip, where all post-processing
and compression occurs. To operate the CCD, CCD timing parameters are programmed into the AD9847 from the image processor
through the 3-wire serial interface. From the system master clock,
CLI, provided by the image processor, the AD9847 generates
the high speed CCD clocks and all internal AFE clocks. All
AD9847 clocks are synchronized with VD and HD.
V-DRIVER
V1–V4, VSG1–VSG8, SUBCK
H1–H4, RG
DOUT
CCD
CCDIN
INTEGRATED
SERIAL
INTERFACE
AD9847
AFE + TD
HD, VD
CLI
DIGITAL IMAGE
PROCESSING
ASIC
V-DRIVER
V1–V4, VSG1–VSG8, SUBCK
H1–H4, RG
DOUT
CLPOB
CCD
CCDIN
INTEGRATED
SERIAL
INTERFACE
AD9847
AFE + TD
CLPDM
PBLK
HBLK
HD, VD
CLI
DIGITAL IMAGE
PROCESSING
ASIC
Figure 1b. Typical Application (External Mode)
Figure 2 shows the horizontal and vertical counter dimensions for
the AD9847. All internal horizontal clocking is programmed using
these dimensions to specify line and pixel locations.
MAXIMUM FIELD DIMENSIONS
12-BIT HORIZONTAL = 4096 PIXELS MAX
Figure 1a. Typical Application (Internal Mode)
Figure 1a shows the AD9847 used in internal mode, in which all
the horizontal pulses (CLPOB, CLPDM, PBLK, and HBLK)
are programmed and generated internally. Figure 1b shows the
AD9847 operating in external mode, in which the horizontal
pulses are supplied externally by the image processor.
The H-drivers for H1–H4 and RG are included in the AD9847,
allowing these clocks to be directly connected to the CCD. The
AD9847 supports H-drive voltage of 5 V.
12-BIT VERTICAL = 4096 LINES MAX
Figure 2. Vertical and Horizontal Counters
–8–
REV. A
Page 9
SERIAL INTERFACE TIMING
AD9847
SDATA
SCK
SDATA
SCK
A0 A1 A2A4 A5 A6 A7
t
DS
t
LS
SL
VD
HD
NOTES
1. SDATA BITS ARE LATCHED ON SCK RISING EDGES.
2. 14 SCK EDGES ARE NEEDED TO WRITE ADDRESS AND DATA BITS.
3. FOR 16-BIT SYSTEMS, TWO EXTRA DUMMY BITS MAY BE WRITTEN. DUMMY BITS ARE IGNORED.
4. NEW DATA IS UPDATED EITHER AT THE SL RISING EDGE OR AT THE HD FALLING EDGE AFTER THE NEXT VD FALLING EDGE.
5. VD/HD UPDATE POSITION MAY BE DELAYED TO ANY HD FALLING EDGE IN THE FIELD USING THE UPDATE REGISTER.
A3
t
DH
D1 D2 D3 D4 D5 XX XX
D0
t
LH
SL UPDATED
Figure 3a. Serial Write Operation
DATA FOR STARTING
REGISTER ADDRESS
A0 A1 A2A4 A5 A6 A7 D0 D1 D2 D3 D4 D5
A3
DATA FOR NEXT
REGISTER ADDRESS
D0 D1 D2 D3 D4 D5
VD/HD UPDATED
D0
...
D2D1
...
SL
NOTES
1. MULTIPLE SEQUENTIAL REGISTERS MAY BE LOADED CONTINUOUSLY.
2. THE FIRST (LOWEST ADDRESS) REGISTER ADDRESS IS WRITTEN, FOLLOWED BY MULTIPLE 6-BIT DATA-WORDS.
3. THE ADDRESS WILL AUTOMATICALLY INCREMENT WITH EACH 6-BIT DATA-WORD (ALL SIX BITS MUST BE WRITTEN).
4. SL IS HELD LOW UNTIL THE LAST DESIRED REGISTER HAS BEEN LOADED.
5. NEW DATA IS UPDATED EITHER AT THE SL RISING EDGE OR AT THE HD FALLING EDGE AFTER THE NEXT VD FALLING EDGE.
Figure 3b. Continuous Serial Write Operation
COMPLETE REGISTER LISTING
Table I. SL Updated Registers
RegisterDescriptionRegisterDescription
oprmodeAFE Operation Modes
ctlmodeAFE Control Modes
preventpdatePrevents Loading of VD-Updated Registers
readbackEnables Serial Register Readback Mode
vdhdpolVD/HD Active Polarity
fieldvalInternal Field Pulse Value
hblkretimeRetimes the H1 hblk to Internal Clock
tgcore_rstbReset Bar Signal for Internal TG Core
h12polH1/H2 Polarity Control
h1poslocH1 Positive Edge Location
h1drvH1 Drive Current
h2drvH2 Drive Current
h3drvH3 Drive Current
h4drvH4 Drive Current
rgpolRG Polarity
rgposlocRG Positive Edge Location
rgneglocRG Negative Edge Location
rgdrvRG Drive Current
shpposlocSHP Sample Location
shdposlocSHD Sample Location
h1neglocH1 Negative Edge Location
NOTES
All addresses and default values are expressed in hexadecimal.
All registers are VD/HD updated as shown in Figure 3a, except for those that are SL updated.
...
REV. A
–9–
Page 10
AD9847
Accessing a Double-Wide Register
There are many double-wide registers in the AD9847, e.g.,
oprmode, clpdmtog1_0, and clpdmscp3, and so on. These registers are configured into two consecutive 6-bit registers with the
least significant six bits located in the lower of the two addresses
and the remaining most significant bits located in the higher of
the two addresses. For example, the six LSBs of the clpdmscp3
register, clpdmscp3[5:0], are located at address 0x81. The most
significant six bits of the clpdmscp3 register, clpdmscp3[11:6],
are located at Address 0x82. The following rules must be followed when accessing double-wide registers:
1. When accessing a double-wide register, BOTH addresses
must be written to.
2. The lower of the two consecutive addresses for the double-
wide register must be written to first. In the example of the
00[5:0]600oprmode[5:0]AFE Operation Mode (See AFE Register Breakdown)
01[1:0]200oprmode[7:6]
02[5:0]616ccdgain[5:0]VGA Gain
03[3:0]402ccdgain[9:6]
04[5:0]600refblack[5:0]Black Clamp Level
05[1:0]202refblack[7:6]
06[5:0]600ctlmodeControl Mode (See AFE Register Breakdown)
07[5:0]600pxga gain0PxGA Color 0 Gain
08[5:0]600pxga gain1PxGA Color 1 Gain
09[5:0]600pxga gain2PxGA Color 2 Gain
0A[5:0]600pxga gain3PxGA Color 3 Gain
clpdmscp3 register, the contents of Address 0x81 must be
written first, followed by the contents of Address 0x82. The
register will be updated after the completion of the write to
Register 0x82, either at the next SL rising edge or the next
VD/HD falling edge.
3. A single write to the lower of the two consecutive addresses
of a double-wide register that is not followed by a write to the
higher address of the registers is not permitted. This will not
update the register.
4. A single write to the higher of the two consecutive addresses of a
double-wide register that is not preceded by a write to the lower
of the two addresses is not permitted. Although the write to the
higher address will update the full double-wide register, the
lower six bits of the register will be written with an indeterminate value if the lower address was not written to first.
Miscellaneous/Extra # Bits 26
0F[5:0]600INITIAL2See Recommended Power Up Sequence Section. Should be
set to “4” decimal (000100).
16[0]100out_contOutput Control (0 = Make All Outputs DC Inactive)
17[5:0]600update[5:0]Serial Data Update Control (Sets the line within the field
18[5:0]600update[11:6]for serial data update to occur)
19[0]100preventupdatePrevent the Update of the VD/HD Updated Registers
1B[5:0]600doutphaseDOUT Phase Control
1C[0]100disablerestoreDisable CCDIN DC Restore Circuit During PBLK
(1 = Disable)
1D[0]100vdhdpolVD/HD Active Polarity (0 = Low Active, 1 = High Active)
1E[0]101fieldvalInternal Field Pulse Value (0 = Next Field Odd,
1 = Next Field Even)
1F[0]100hblkretimeRe-Sync hblk to h1 Clock
20[5:0]600INITIAL1See Recommended Power Up Sequence. Should be set to
“53” decimal (110101).
26[0]100tgcore_rstbTG Core Reset_Bar (0 = Hold TG Core in Reset,
64[0]101clpdmdirCLPDM Internal/External (0 = Internal, 1 = External)
65[0]100clpdmpolCLPDM External Active Polarity (0 = Low Active, 1 = High Active)
66[0]101clpdmspol0Sequence #0: Start Polarity for CLPDM
67[5:0]62Cclpdmtog1_0[5:0]Sequence #0: Toggle Position 1 for CLPDM
68[5:0]600clpdmtog1_0[11:6]
69[5:0]635clpdmtog2_0[5:0]Sequence #0: Toggle Position 2 for CLPDM
6A[5:0]600clpdmtog2_0[11:6]
6B[0]101clpdmspol1Sequence #1: Start Polarity for CLPDM
6C[5:0]63Eclpdmtog1_1[5:0]Sequence #1: Toggle Position 1 for CLPDM
6D[5:0]602clpdmtog1_1[11:6]
6E[5:0]616clpdmtog2_1[5:0]Sequence #1: Toggle Position 2 for CLPDM
6F[5:0]603clpdmtog2_1[11:6]
70[0]100clpdmspol2Sequence #2: Start Polarity for CLPDM
71[5:0]63Fclpdmtog1_2[5:0]Sequence #2: Toggle Position 1 for CLPDM
72[5:0]63Fclpdmtog1_2[11:6]
73[5:0]63Fclpdmtog2_2[5:0]Sequence #2: Toggle Position 2 for CLPDM
74[5:0]63Fclpdmtog2_2[11:6]
75[0]101clpdmspol3Sequence #3: Start Polarity for CLPDM
76[5:0]63Fclpdmtog1_3[5:0]Sequence #3: Toggle Position 1 for CLPDM
77[5:0]63Fclpdmtog1_3[11:6]
78[5:0]63Fclpdmtog2_3[5:0]Sequence #3: Toggle Position 2 for CLPDM
79[5:0]63Fclpdmtog2_3[11:6]
000 clpdmscp0CLPDM Sequence-Change-Position #0 (Hardcoded to 0)
7A[1:0]200clpdmsptr0CLPDM Sequence Pointer for SCP #0
7B[5:0]63Fclpdmscp1[5:0]CLPDM Sequence-Change-Position #1
7C[5:0]63Fclpdmscp1[11:6]
7D[1:0]200clpdmsptr1CLPDM Sequence Pointer for SCP #1
7E[5:0]63Fclpdmscp2[5:0]CLPDM Sequence-Change-Position #2
7F[5:0]63Fclpdmscp2[11:6]
80[1:0]200clpdmsptr2CLPDM Sequence Pointer for SCP #2
81[5:0]63Fclpdmscp3[5:0]CLPDM Sequence-Change-Position #3
82[5:0]63Fclpdmscp3[11:6]
83[1:0]200clpdmsptr3CLPDM Sequence Pointer for SCP #3
84[0]101clpobdirCLPOB Internal/External (0 = Internal, 1 = External)
85[0]100clpobpolCLPOB External Active Polarity (0 = Low Active, 1 = High Active)
86[0]101clpobpol0Sequence #0: Start Polarity for CLPOB
87[5:0]60Eclpobtog1_0[5:0]Sequence #0: Toggle Position 1 for CLPOB
88[5:0]600clpobtog1_0[11:6]
89[5:0]62Bclpobtog2_0[5:0]Sequence #0: Toggle Position 2 for CLPOB
8A[5:0]600clpobtog2_0[11:6]
8B[0]101clpobpol1Sequence #1: Start Polarity for CLPOB
8C[5:0]62Bclpobtog1_1[5:0]Sequence #1: Toggle Position 1 for CLPOB
8D[5:0]606clpobtog1_1[11:6]
8E[5:0]63Fclpobtog2_1[5:0]Sequence #1: Toggle Position 2 for CLPOB
8F[5:0]63Fclpobtog2_1[11:6]
90[0]100clpobspol2Sequence #2: Start Polarity for CLPOB
91[5:0]63Fclpobtog1_2[5:0]Sequence #2: Toggle Position 1 for CLPOB
92[5:0]63Fclpobtog1_2[11:6]
93[5:0]63Fclpobtog2_2[5:0]Sequence #2: Toggle Position 2 for CLPOB
94[5:0]63Fclpobtog2_2[11:6]
95[0]101clpobspol3Sequence #3: Start Polarity for CLPOB
96[5:0]63Fclpobtog1_3[5:0]Sequence #3: Toggle Position 1 for CLPOB
97[5:0]63Fclpobtog1_3[11:6]
98[5:0]63Fclpobtog2_3[5:0]Sequence #3: Toggle Position 2 for CLPOB
99[5:0]63Fclpobtog2_3[11:6]
000clpobscp0CLPOB Sequence-Change-Position #0 (Hardcoded to 0)
9A[1:0]203clpobsptr0CLPOB Sequence Pointer for SCP #0
9B[5:0]601clpobscp1[5:0]CLPOB Sequence-Change-Position #1
9C[5:0]600clpobscp1[11:6]
9D[1:0]201clpobsptr1CLPOB Sequence Pointer for SCP #1
9E[5:0]602clpobscp2[5:0]CLPOB Sequence-Change-Position #2
9F[5:0]600clpobscp2[11:6]
A0[1:0]200clpobsptr2CLPOB Sequence Pointer for SCP #2
A1[5:0]637clpobscp3[5:0]CLPOB Sequence-Change-Position #3
A2[5:0]603clpobscp3[11:6]
A3[1:0]203clpobsptr3CLPOB Sequence Pointer for SCP #3
1 = Mask H1 and H3 High)
A7[0]101hblkmask0Sequence #0: Masking Polarity for HBLK
A8[5:0]63Ehblktog1_0[5:0]Sequence #0: Toggle Low Position for HBLK
A9[5:0]600hblktog1_0[11:6]
AA[5:0]60Dhblkbtog2_0[5:0]Sequence #0: Toggle High Position for HBLK
AB[5:0]606hblkbtog2_0[11:6]
AC[0]101hblkmask1Sequence #1: Masking Polarity for HBLK
AD[5:0]638hblktog1_1[5:0]Sequence #1: Toggle Low Position for HBLK
AE[5:0]600hblktog1_1[11:6]
AF[5:0]63Chblktog2_1[5:0]Sequence #1: Toggle High Position for HBLK
B0[5:0]602hblktog2_1[11:6]
B1[0]100hblkmask2Sequence #2: Masking Polarity for HBLK
B2[5:0]63Fhblktog1_2[5:0]Sequence #2: Toggle Low Position for HBLK
B3[5:0]63Fhblktog1_2[11:6]
B4[5:0]63Fhblktog2_2[5:0]Sequence #2: Toggle High Position for HBLK
B5[5:0]63Fhblktog2_2[11:6]
B6[0]101hblkmask3Sequence #3: Masking Polarity for HBLK
B7[5:0]63Fhblktog1_3[5:0]Sequence #3: Toggle Low Position for HBLK
B8[5:0]63Fhblktog1_3[11:6]
B9[5:0]63Fhblktog2_3[5:0]Sequence #3: Toggle High Position for HBLK
BA[5:0]63Fhblktog2_3[11:6]
000hblkscp0HBLK Sequence-Change-Position #0 (Hardcoded to 0)
BB[1:0]200hblksptr0HBLK Sequence Pointer for SCP #0
BC[5:0]63Fhblkscp1[5:0]HBLK Sequence-Change-Position #1
BD[5:0]63Fhblkscp1[11:6]
BE[1:0]200hblksptr1HBLK Sequence Pointer for SCP #1
BF[5:0]63Fhblkscp2[5:0]HBLK Sequence-Change-Position #2
C0[5:0]63Fhblkscp2[11:6]
C1[1:0]200hblksptr2HBLK Sequence Pointer for SCP #2
C2[5:0]63Fhblkscp3[5:0]HBLK Sequence-Change-Position #3
C3[5:0]63Fhblkscp3[11:6]
C4[1:0]200hblksptr3HBLK Sequence Pointer for SCP #3
C5[0]101pblkdirPBLK Internal/External (0 = Internal, 1 = External)
C6[0]100pblkpolPBLK External Active Polarity (0 = Low Active, 1 = High Active)
C7[0]101pblkspol0Sequence #0: Start Polarity for PBLK
C8[5:0]63Dpblktog1_0[5:0]Sequence #0: Toggle Position 1 for PBLK
C9[5:0]600pblktog1_0[11:6]
CA[5:0]62Apblkbtog2_0[5:0]Sequence #0: Toggle Position 2 for PBLK
CB[5:0]606pblkbtog2_0[11:6]
CC[0]100pblkspol1Sequence #1: Start Polarity for PBLK
CD[5:0]62Apblktog1_1[5:0]Sequence #1: Toggle Position 1 for PBLK
CE[5:0]606pblktog1_1[11:6]
CF[5:0]63Fpblktog2_1[5:0]Sequence #1: Toggle Position 2 for PBLK
D0[5:0]63Fpblktog2_1[11:6]
D1[0]100pblkspol2Sequence #2: Start Polarity for PBLK
D2[5:0]63Fpblktog1_2[5:0]Sequence #2: Toggle Position 1 for PBLK
D3[5:0]63Fpblktog1_2[11:6]
D4[5:0]63Fpblktog2_2[5:0]Sequence #2: Toggle Position 2 for PBLK
D5[5:0]63Fpblktog2_2[11:6]
D6[0]101pblkspol3Sequence #3: Start Polarity for PBLK
D7[5:0]63Fpblktog1_3[5:0]Sequence #3: Toggle Position 1 for PBLK
D8[5:0]63Fpblktog1_3[11:6]
D9[5:0]63Fpblktog2_3[5:0]Sequence #3: Toggle Position 2 for PBLK
DA[5:0]63Fpblktog2_3[11:6]
000pblkscp0PBLK Sequence-Change-Position #0 (Hardcoded to 0)
DB[1:0]202pblksptr0PBLK Sequence Pointer for SCP #0
DC[5:0]601pblkscp1[5:0]PBLK Sequence-Change-Position #1
DD[5:0]600pblkscp1[11:6]
DE[1:0]201pblksptr1PBLK Sequence Pointer for SCP #1
DF[5:0]602pblkscp2[5:0]PBLK Sequence-Change-Position #2
E0[5:0]600pblkscp2[11:6]
E1[1:0]200pblksptr2PBLK Sequence Pointer for SCP #2
E2[5:0]637pblkscp3[5:0]PBLK Sequence-Change-Position #3
E3[5:0]603pblkscp3[11:6]
E4[1:0]202pblksptr3PBLK Sequence Pointer for SCP #3
2'h3Total Shutdown
[2]disblackDisable Black Loop Clamping (High Active)
[3]test modeTest Mode—Should Be Set Low
[4]test modeTest Mode—Should Be Set High
[5]test modeTest Mode—Should Be Set Low
[6]test modeTest Mode—Should Be Set Low
[7]test modeTest Mode—Should Be Set Low
3'h7Four-Color II
[3]enablepxgaEnable PxGA (High Active)
[4]1'h0outputlatLatch Output Data on Selected DOUT Edge
1'h1Leave Output Latch Transparent
[5]1'h0tristateoutADC Outputs Are Driven
1'h1ADC Outputs Are Three-Stated
PRECISION TIMING HIGH SPEED TIMING
GENERATION
The AD9847 generates flexible high speed timing signals using
the Precision Timing core. This core is the foundation for generating
the timing used for both the CCD and the AFE, the reset gate RG,
horizontal drivers H1–H4, and the SHP/SHD sample clocks.
A unique architecture makes it routine for the system designer to
optimize image quality by providing precise control over the horizontal CCD readout and the AFE correlated double sampling.
POSITION
CLI
t
CLIDLY
1 PIXEL
PERIOD
NOTES
1. PIXEL CLOCK PERIOD IS DIVIDED INTO 48 POSITIONS, PROVIDING FINE EDGE RESOLUTION FOR HIGH SPEED CLOCKS.
2. THERE IS A FIXED DELAY FROM THE CLI INPUT TO THE INTERNAL PIXEL PERIOD POSITIONS (
P[0]P[48]=P[0]
P[12]P[24]P[36]
...
Figure 4. High Speed Clock Resolution from CLI Master Clock Input
Timing Resolution
The Precision Timing core uses a 1⫻ master clock input (CLI) as
a reference. This clock should be the same as the CCD pixel clock
frequency. Figure 4 illustrates how the internal timing core
divides the master clock period into 48 steps or edge positions.
Therefore, the edge resolution of the Precision Timing core is
/48). For more information on using the CLI input, see the
(t
CLI
Applications Information section.
...
t
= 6 ns TYP).
CLIDLY
REV. A
–15–
Page 16
AD9847
High Speed Clock Programmability
Figure 5 shows how the high speed clocks RG, H1–H4, SHP,
and SHD are generated. The RG pulse has programmable rising
and falling edges and may be inverted using the polarity control.
The horizontal clocks H1 and H3 have programmable rising and
falling edges and polarity control. The H2 and H4 clocks are
always inverses of H1 and H3, respectively. Table II summarizes
the high speed timing registers and their parameters.
(3)
CCD SIGNAL
RG
H1/H3
H2/H4
(1)(2)
(5)(6)
NOTES
PROGRAMMABLE CLOCK POSITIONS:
(1) RG RISING EDGE AND (2) FALLING EDGE
(3) SHP AND (4) SHD SAMPLE LOCATION
(5) H1/H3 RISING EDGE POSITION AND (6) FALLING EDGE POSITION (H2/H4 ARE INVERSE OF H1/H3)
(4)
Figure 5. High Speed Clock Programmable Locations
The edge location registers are 6 bits wide, but there are only 48
valid edge locations available. Therefore, the register values are
mapped into four quadrants, with each quadrant containing 12 edge
locations. Table III shows the correct register values for the
corresponding edge locations. Figure 6 shows the range and
default locations of the high speed clock signals.
Table II. H1–H4, RG, SHP, SHD Timing Parameters
Register NameLengthRangeDescription
POL1bHigh/LowPolarity Control for H1, H3, and RG (0 = No Inversion, 1 = Inversion)
POSLOC6b0–47 Edge LocationPositive Edge Location for H1, H3, and RG
Sample Location for SHP, SHD
NEGLOC6b0–47 Edge LocationNegative Edge Location for H1, H3, and RG
DRV3b0–7 Current StepsDrive Current for H1–H4 and RG Outputs (3.5 mA per Step)
Table III. Precision Timing Edge Locations
QuadrantEdge Location (Decimal)Register Value (Decimal)Register Value (Binary)
I0 to 110 to 11000000 to 001011
II12 to 2316 to 27010000 to 011011
III24 to 3532 to 43100000 to 101011
IV36 to 4748 to 59110000 to 111011
–16–
REV. A
Page 17
AD9847
POSITION
PIXEL
PERIOD
RG
H1/H3
CCD SIGNAL
NOTES
1. ALL SIGNAL EDGES ARE FULLY PROGRAMMABLE TO ANY OF THE 48 POSITIONS WITHIN ONE PIXEL PERIOD.
2. DEFAULT POSITIONS FOR EACH SIGNAL ARE SHOWN ABOVE.
P[0]
RGr[0]
Hr[0]
P[12]
RGf[12]
Figure 6. High Speed Clock Default and Programmable Locations
H-Driver and RG Outputs
In addition to the programmable timing positions, the AD9847
features on-chip output drivers for the RG and H1–H4 outputs.
These drivers are powerful enough to directly drive the CCD
inputs. The H-driver current can be adjusted for optimum rise/fall
time into a particular load by using the DRV registers. The RG
drive current is adjustable using the RGDRV register. Each 3-bit
DRV register is adjustable in 3.5 mA increments, with the minimum setting of 0 equal to OFF or three-state and the maximum
setting of 7 equal to 24.5 mA.
As shown in Figure 7, the H2/H4 outputs are inverses of H1/H3.
The internal propagation delay resulting from the signal inversion
is less than 1 ns, which is significantly less than the typical rise
time driving the CCD load. This results in a H1/H2 crossover
voltage at approximately 50% of the output swing. The crossover
voltage is not programmable.
t
RISE
P[48] = P[0]
SHD[48]
H1/H3
t
PD
H2/H4
Hf[24]
H1/H3
H2/H4
P[24]
SHP[28]
t
RISE
P[36]
t
S1
t
<<
PD
FIXED CROSSOVER VOLTAGE
Figure 7. H-Clock Inverse Phase Relationship
Digital Data Outputs
The AD9847 data output phase is programmable using the
DOUTPHASE register. Any edge from 0 to 47 may be programmed,
as shown in Figure 8.
REV. A
1 PIXEL PERIOD
CLI
DOUT
P[0]
t
OD
NOTES
1. DIGITAL OUTPUT DATA (DOUT) PHASE IS ADJUSTABLE WITH RESPECT TO THE PIXEL PERIOD.
2. WITHIN 1 CLOCK PERIOD, THE DATA TRANSITION CAN BE PROGRAMMED TO ANY OF THE 48 LOCATIONS.
P[12]
P[24]
P[36]
P[48] = P[0]
Figure 8. Digital Output Phase Adjustment
–17–
Page 18
AD9847
HORIZONTAL CLAMPING AND BLANKING
The AD9847’s horizontal clamping and blanking pulses are fully
programmable to suit a variety of applications. As with the vertical
timing generation, individual sequences are defined for each
signal and are then organized into multiple regions during image
readout. This allows the dark pixel clamping and blanking patterns
to be changed at each stage of the readout, in order to accommodate different image transfer timing and high speed line shifts.
Individual CLPOB, CLPDM, and PBLK Sequences
The AFE horizontal timing consists of CLPOB, CLPDM, and
PBLK, as shown in Figure 9. These three signals are independently programmed using the registers in Table IV. SPOL is the
start polarity for the signal, and TOG1 and TOG2 are the first
HD
CLPOB
(1)
CLPDM
PBLK
NOTES
PROGRAMMABLE SETTINGS:
(1) START POLARITY (CLAMP AND BLANK REGION ARE ACTIVE LOW)
(2) FIRST TOGGLE POSITION
(3) SECOND TOGGLE POSITION
(3)(2)
CLAMP
Figure 9. Clamp and Preblank Pulse Placement
and second toggle positions of the pulse. All three signals are
active low and should be programmed accordingly. Up to four
individual sequences can be created for each signal.
Individual HBLK Sequences
The HBLK programmable timing shown in Figure 10 is similar to
CLPOB, CLPDM, and PBLK. However, there is no start polarity
control. Only the toggle positions are used to designate the start
and the stop positions of the blanking period. Additionally, there
is a polarity control, HBLKMASK, that designates the polarity of
the horizontal clock signals H1–H4 during the blanking period.
Setting HBLKMASK high will set H1 = H3 = low and H2 =
H4 = high during the blanking, as shown in Figure 11. Up to
four individual sequences are available for HBLK.
. . .
. . .
CLAMP
. . .
HD
(1)
HBLK
NOTES
PROGRAMMABLE SETTINGS:
(1) FIRST TOGGLE POSITION = START OF BLANKING
(2) SECOND TOGGLE POSITION = END OF BLANKING
Register NameLengthRangeDescription
SPOL1bHigh/LowStarting Polarity of Clamp and Blanking Pulses for Sequences 0–3
TOG112b0–4095 Pixel LocationFirst Toggle Position within the Line for Sequences 0–3
TOG212b0–4095 Pixel LocationSecond Toggle Position within the Line for Sequences 0–3
Register NameLengthRangeDescription
HBLKMASK1bHigh/LowMasking Polarity for H1 for Sequences 0–3 (0 = H1 Low, 1 = H1 High)
HBLKTOG112b0–4095 Pixel LocationFirst Toggle Position within the Line for Sequences 0–3
HBLKTOG212b0–4095 Pixel LocationSecond Toggle Position within the Line for Sequences 0–3
Table IV. CLPOB, CLPDM, PBLK Individual Sequence Parameters
Table V. HBLK Individual Sequence Parameters
. . .
–18–
REV. A
Page 19
HBLK
H1/H3
AD9847
. . .
HD
. . .
THE POLARITY OF H1 DURING BLANKING IS PROGRAMMABLE (H2 IS OPPOSITE POLARITY OF H1)
. . .
H1/H3
H2/H4
. . .
Figure 11. HBLK Masking Control
Horizontal Sequence Control
The AD9847 uses sequence change positions (SCP) and sequence
pointers (SPTR) to organize the individual horizontal sequences.
Up to four SCPs are available to divide the readout into four
separate regions, as shown in Figure 12. The SCP 0 is always
hard-coded to line 0, and SCP1–3 are register programmable.
During each region bounded by the SCP, the SPTR registers
designate which sequence is used by each signal. CLPOB, CLPDM,
SEQUENCE CHANGE OF POSITION #0
SEQUENCE CHANGE OF POSITION #1
SEQUENCE CHANGE OF POSITION #2
(V-COUNTER = 0)
SINGLE FIELD (1 VD INTERVAL)
PBLK, and HBLK each have a separate set of SCP. For example,
CLPOBSCP1 will define Region 0 for CLPOB, and in that region
any of the four individual CLPOB sequences may be selected
with the CLPOBSPTR registers. The next SCP defines a new
region, and in that region each signal can be assigned to a different
individual sequence. The sequence control registers are summarized
in Table VI.
CLAMP AND PBLK SEQUENCE REGION 0
CLAMP AND PBLK SEQUENCE REGION 1
CLAMP AND PBLK SEQUENCE REGION 2
SEQUENCE CHANGE OF POSITION #3
UP TO FOUR INDIVIDUAL HORIZONTAL CLAMP AND BLANKING REGIONS MAY BE
PROGRAMMED WITHIN A SINGLE FIELD, USING THE SEQUENCE CHANGE POSITIONS.
CLAMP AND PBLK SEQUENCE REGION 3
Figure 12. Clamp and Blanking Sequence Flexibility
Table VI. Horizontal Sequence Control Parameters for CLPOB, CLPDM, PBLK, and HBLK
Register NameLengthRangeDescription
SCP1–SCP312b0–4095 Line NumberCLAMP/BLANK SCP to Define Horizontal Regions 0–3
SPTR0–SPTR32b0–3 Sequence NumberSequence Pointer for Horizontal Regions 0–3
REV. A
–19–
Page 20
AD9847
H-Counter Synchronization
The H-Counter reset occurs on the sixth CLI rising edge following
the HD falling edge. The PxGA steering is synchronized with the
reset of the internal H-Counter (see Figure 13).
POWER-UP PROCEDURE
Recommended Power-Up Sequence
When the AD9847 is powered up, the following sequence is
recommended (refer to Figure 14 for each step).
1. Turn on power supplies for AD9847.
2. Apply the master clock input CLI, VD, and HD.
3. The Precision Timing core must be reset by writing a “0” to the
TGCORE_RSTB Register (Address x026) followed by writing a “l” to the TGCORE_RSTB Register. This will start the
internal timing core operation. Next, initialize the internal
VD
3ns MIN
HD
3ns MIN
CLI
H-COUNTER
RESET
circuitry by first writing “110101” or “53” decimal to the
INITIAL1 Register (Address x020). Finally, write “000100”
or “4” decimal to the INITIAL2 Register (Address x00F).
4. Write a “1” to the PREVENTUPDATE Register (Address x019).
This will prevent the updating of the serial register data.
5. Write to the desired registers to configure high speed timing
and horizontal timing.
6. Write a “1” to the OUT_CONT Register (Address x016).
This will allow the outputs to become active after the next
VD/HD rising edge.
7. Write a “0” to the PREVENTUPDATE Register (Address x019).
This will allow the serial information to be updated at the
next VD/HD falling edge.
8. The next VD/HD falling edge allows register updates to occur,
including OUT_CONT, which enables all clock outputs.
H-COUNTER
(PIXEL COUNTER)
PxGA GAIN
REGISTER
VDD
(INPUT)
CLI
(INPUT)
SERIAL
WRITES
VD
(OUTPUT)
HD
(OUTPUT)
XXXXXXX
X
X
XXXXXXX
NOTES
1. INTERNAL H-COUNTER IS RESET ON THE SIXTH CLI RISING EDGE FOLLOWING THE HD FALLING EDGE.
2. PxGA STEERING IS SYNCHRONIZED WITH THE RESET OF THE INTERNAL H-COUNTER (MOSAIC SEPARATE MODE IS SHOWN).
3. VD FALLING EDGE SHOULD OCCUR ONE CLOCK CYCLE BEFORE HD FALLING EDGE FOR PROPER PxGA LINE SYNCHRONIZATION.
012345678910111214150123
0001121110031100
023
Figure 13. H-Counter Synchronization
t
PWR
1V
***
ODD FIELDEVEN FIELD
1 H
***
***
***
5
4
23
DIGITAL
OUTPUTS
H2/H4
H1/H3, RG
CLOCKS ACTIVE WHEN OUT_CONT REGISTER IS
UPDATED AT VD/HD EDGE
Figure 14. Recommended Power-Up Sequences
–20–
REV. A
Page 21
AD9847
ANALOG FRONT END DESCRIPTION AND OPERATION
The AD9847 signal processing chain is shown in Figure 15.
Each processing step is essential in achieving a high quality
image from the raw CCD pixel data.
DC Restore
To reduce the large dc offset of the CCD output signal, a
dc-restore circuit is used with an external 0.1 µF series coupling
capacitor. This restores the dc level of the CCD signal to approximately 1.5 V, to be compatible with the 3 V analog supply of the
AD9847.
Correlated Double Sampler
The CDS circuit samples each CCD pixel twice to extract the video
information and reject low frequency noise. The timing shown
in Figure 6 illustrates how the two internally generated CDS
clocks, SHP and SHD, are used to sample the reference level and
data level of the CCD signal, respectively. The placement of the
SHP and SHD sampling edges is determined by the setting of
the SHPPOSLOC and SHDPOSLOC registers located at
Addresses 0xF0 and 0xF1, respectively. Placement of these two
clock signals is critical in achieving the best performance from
the CCD.
Input Clamp
A line-rate input clamping circuit is used to remove the CCD’s
optical black offset. This offset exists in the CCD’s shielded black
reference pixels. The AD9847 removes this offset in the input
stage to minimize the effect of a gain change on the system black
level, usually called the “gain step.”
Another advantage of removing this offset at the input stage is to
maximize system headroom. Some area CCDs have large black
level offset voltages, which, if not corrected at the input stage, can
significantly reduce the available headroom in the internal circuitry
when higher VGA gain settings are used.
Horizontal timing examples are shown on the last page of the
Applications Information section. It is recommended that the
CLPDM pulse be used during valid CCD dark pixels. CLPDM
may be used during the optical black pixels, either together with
CLPOB or separately. The CLPDM pulse should be a minimum
of four pixels wide.
PxGA
The PxGA provides separate gain adjustment for the individual
color pixels. A programmable gain amplifier with four separate
values, the PxGA has the capability to “multiplex” its gain value
on a pixel-to-pixel basis (see Figure 17). This allows lower output color pixels to be gained up to match higher output color
pixels. Also, the PxGA may be used to adjust the colors for white
balance, reducing the amount of digital processing that is needed.
The four different gain values are switched according to the
Color Steering circuitry. Seven different color steering modes
for different types of CCD color filter arrays are programmed
the AD9847 AFE Register, ctlmode, at Address 0x06
in
(see Figures 16a to 16g for timing examples). For example,
Mosaic Separate steering mode accommodates the popular
“Bayer” arrangement of red, green, and blue filters (see Figure 18).
0.1F
0.1F
0.1F
0.1F
CCDIN
BYP1
BYP 2
BYP 3
DC RESTORE
1.5V
SHP
CDS
0.1F
CML
INTERNAL
BIASING
SHD
–2dB TO +10dB
PxGA
CLPDM
INPUT OFFSET
CLAMP
SHP
0dB TO 36dB
VGA
VGA GAIN
REGISTER
DOUT
PHASE
SHD
PRECISION
TIMING
GENERATION
10
8-BIT
DAC
CLPDM
CLPOB
V- H
TIMING
GENERATION
Figure 15. Analog Front End Block Diagram
1.0V2.0V
AVD D
2
INTERNAL
10-BIT
OPTICAL BLACK
CLAMP
DIGITAL
FILTER
PBLK
1.0F1.0F
REFTREFB
V
REF
2V FULL SCALE
ADC
CLAMP LEVEL
CLPOB
8
REGISTER
AD9847
OUTPUT
DATA
LATCH
PBLK
DOUT
PHASE
10
DOUT
REV. A
–21–
Page 22
AD9847
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “0101” AND “2323” LINES.
3. FLD STATUS IS IGNORED.
0
110XX
ODD FIELDEVEN FIELD
0
2203311
02203311
110
Figure 16a. Mosaic Separate Mode
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. FLD FALLING EDGE (START OF ODD FIELD) WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. FLD RISING EDGE (START OF EVEN FIELD) WILL RESET THE PxGA GAIN REGISTER STEERING TO “2323“ LINE.
3. HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO EITHER “0” (FLD = ODD) OR “2” (FLD = EVEN).
0
110XX
ODD FIELDEVEN FIELD
2
0001111
02223333
332
Figure 16b. Mosaic Interlaced Mode
00
20
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “0101” AND “1212” LINES.
3. ALL FIELDS WILL HAVE THE SAME PxGA GAIN STEERING PATTERN (FLD STATUS IS IGNORED).
110XX
0
ODD FIELDEVEN FIELD
110
1102211
01102211
0
Figure 16c. Mosaic Repeat Mode
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. EACH LINE FOLLOWS “012012” STEERING PATTERN.
2. VD AND HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO “0.”
3. FLD STATUS IS IGNORED.
0
102XX
ODD FIELDEVEN FIELD
0
0201001
20201001
102
Figure 16d. Three-Color Mode
00
20
–22–
REV. A
Page 23
AD9847
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “012012” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER, STEERING BETWEEN “012012” AND “210210” LINES.
3. FLD STATUS IS IGNORED.
0
102XX
ODD FIELDEVEN FIELD
0
2001201
22001201
102
Figure 16e. Three-Color Mode II
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. EACH LINE FOLLOWS “01230123” STEERING PATTERN.
2. VD AND HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO GAIN REGISTER “0.”
3. FLD STATUS IS IGNORED.
0
132XX
ODD FIELDEVEN FIELD
0
0201331
20201331
132
Figure 16f. Four-Color Mode
20
20
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “01230123” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “01230123” AND “23012301” LINES.
3. FLD STATUS IS IGNORED.
0
132XX
ODD FIELDEVEN FIELD
0
2003131
22003131
132
Figure 16g. Four-Color Mode II
20
REV. A
–23–
Page 24
AD9847
SHP/SHD
CDS
VD
HD
6
PxGA
COLOR
STEERING
CONTROL
2
4:1
MUX
VGA
PxGA STEERING
3
SELECTION
GAIN0
GAIN1
GAIN2
GAIN3
MODE
PxGA GAIN
REGISTERS
CONTROL
REGISTER
BITS D0–D2
Figure 17. PxGA Block Diagram
CCD: PROGRESSIVE BAYER MOSAIC SEPARATE COLOR
RGr RGr
GbBGbB
RGr RGr
GbBGbB
STEERING MODE
GAIN0, GAIN1, GAIN0, GAIN1...LINE0
GAIN2, GAIN3, GAIN2, GAIN3...LINE1
GAIN0, GAIN1, GAIN0, GAIN1...LINE2
Figure 18a. CCD Color Filter Example: Progressive Scan
CCD: INTERLACED BAYER
EVEN FIELD
RGr RGr
RGr RGr
RGr RGr
RGr RGr
VD SELECTED COLOR
STEERING MODE
GAIN0, GAIN1, GAIN0, GAIN1...LINE0
GAIN0, GAIN1, GAIN0, GAIN1...LINE1
GAIN0, GAIN1, GAIN0, GAIN1...LINE2
10
8
6
4
PxGA GAIN – dB
2
0
–2
40485808162431
32
PxGA GAIN REGISTER CODE
(011111)(100000)
Figure 19. PxGA Gain Curve
Variable Gain Amplifier
The VGA stage provides a gain range of 2 dB to 36 dB, programmable with 10-bit resolution through the serial digital interface.
Combined with 4 dB from the PxGA stage, the total gain range
for the AD9847 is 6 dB to 40 dB. The minimum gain of 6 dB is
needed to match a 1 V input signal with the ADC full-scale
range of 2 V. When compared to 1 V full-scale systems (such as
ADI’s AD9803), the equivalent gain range is 0 dB to 34 dB.
The VGA gain curve is divided into two separate regions. When
the VGA gain register code is between 0 and 511, the curve follows
a (1 + x)/(1 – x) shape, which is similar to a linear-in-dB characteristic. From code 512 to code 1023, the curve follows a linear-in-dB
shape. The exact VGA gain can be calculated for any gain register
value by using the following two equations:
Code Range Gain Equation (dB)
0–511Gain = 20 log
([658 ⫹ code] / [658 – code]) – 0.4
10
512–1023Gain = (0.0354)(code) – 0.04
ODD FIELD
GbBGbB
GbBGbB
GbBGbB
GbBGbB
GAIN2, GAIN3, GAIN2, GAIN3...LINE0
GAIN2, GAIN3, GAIN2, GAIN3...LINE1
GAIN2, GAIN3, GAIN2, GAIN3...LINE2
Figure 18b. CCD Color Filter Example: Interlaced
The same Bayer pattern can also be interlaced, and the VD selected
mode should be used with this type of CCD (see Figure 18b).
The color steering performs the proper multiplexing of the R, G,
and B gain values (loaded into the PxGA gain registers) and is
synchronized by the user with vertical (VD) and horizontal (HD)
sync pulses. For more detailed information, see the PxGA Timing
section. The PxGA gain for each of the four channels varies from
–2 dB to +10 dB, controlled in 64 steps through the serial interface. The PxGA gain curve is shown in Figure 19.
–24–
36
30
24
18
VGA GAIN – dB
12
6
0
0
1272553835116397678951023
VGA GAIN REGISTER CODE
Figure 20. VGA Gain Curve (Gain from PxGA Not Included)
REV. A
Page 25
AD9847
Optical Black Clamp
The optical black clamp loop is used to remove residual offsets in
the signal chain and to track low frequency variations in the CCD’s
black level. During the optical black (shielded) pixel interval on
each line, the ADC output is compared with a fixed black level
reference, selected by the user in the clamp level register. The
value can be programmed between 0 LSB and 63.75 LSB with
8-bit resolution. The resulting error signal is filtered to reduce noise,
and the correction value is applied to the ADC input through a
D/A converter. Normally, the optical black clamp loop is turned
on once per horizontal line, but this loop can be updated more
slowly to suit a particular application. If external digital clamping
is used during the post processing, the AD9847 optical black
clamping may be disabled using Bit D2 in the OPRMODE
register. When the loop is disabled, the clamp level register may
still be used to provide programmable offset adjustment.
The CLPOB pulse should be placed during the CCD’s optical
black pixels. It is recommended that the CLPOB pulse duration
be at least 20 pixels wide to minimize clamp noise. Shorter pulsewidths may be used, but clamp noise may increase, and the
ability to track low frequency variations in the black level will be
reduced. See the section on Horizontal Clamping and Blanking
and also the Applications Information section for timing examples.
A/D Converter
The AD9847 uses a high performance 10-bit ADC architecture,
optimized for high speed and low power. Differential nonlinearity
(DNL) performance is typically better than 0.4 LSB. The ADC
uses a 2 V input range. Better noise performance results from
using a larger ADC full-scale range. See TPC 1 and TPC 2 for
typical linearity and noise performance plots for the AD9847.
APPLICATIONS INFORMATION
External Circuit Configuration
The AD9847 recommended circuit configuration for external
mode is shown in Figure 21. All signals should be carefully
routed on the PCB to maintain low noise performance. The CCD
output signal should be connected to Pin 29 through a 0.1 µF
capacitor. The CCD timing signals H1–H4 and RG should be
routed directly to the CCD with minimum trace lengths, as shown
in Figures 22a and 22b. The digital outputs and clock inputs are
located on Pins 1–12 and Pins 36–44 and should be connected
to the digital ASIC, away from the analog and CCD clock signals.
The CLI signal from the ASIC may be routed under the package
to Pin 23. This will help separate the CLI signal from the H1–H4
and RG signal routing.
Grounding and Decoupling Recommendations
As shown in Figure 21, a single ground plane is recommended
for the AD9847. This ground plane should be as continuous as
possible, particularly around Pins 25 – 35. This will ensure that
all analog decoupling capacitors provide the lowest possible
impedance path between the power and bypass pins and their
respective ground pins. All decoupling capacitors should be located
as close as possible to the package pins. Placing series resistors
close to the digital output pins (Pins 1–12) may help reduce
digital code transition noise. If the digital outputs must drive a
load larger than 20 pF, buffering is recommended to minimize
additional noise.
Power supply decoupling is very important in achieving low noise
performance. Figure 21 shows the local high frequency decoupling
capacitors, but additional capacitance is recommended for lower
frequencies. Additional capacitors and ferrite beads can further
reduce noise.
DRIVER
SUPPLY
3V
DATA
OUTPUTS
0.1F
3V
DIGITAL
SUPPLY
NC
NC
DVDD4
DVSS4HDVD
PBLK
HBLK
CLPDM
CLPOB
SCK
AVSS1
DVDD2
CLI
SDI
AVDD1
0.1F
SL
36
REFT
35
REFB
34
CMLEVEL
33
AVSS3
32
AVDD3
31
BYP3
30
CCDIN
29
BYP2
28
BYP1
27
AVDD2
26
AVSS2
25
3V
ANALOG
SUPPLY
5
0.1F 0.1F
CLOCK
INPUT
HIGH-SPEED
CLOCKS
0.1F
48 47 46 45 4439 38 3743 42 41 40
(LSB) D0
(MSB) D9
10
H DRIVER
SUPPLY
RG DRIVER
SUPPLY
DVSS3
DVDD3
D1
D2
D3
D4
D5
D6
D7
D8
1
2
3
4
5
6
7
8
9
10
11
12
PIN 1
IDENTIFIER
13 14 15 16
H2
H1
DVSS1
0.1F
AD9847
TOP VIEW
(Not to Scale)
17 18 19 20 21 22 23 24
H4
H3
RG
DVSS2
DVDD1
0.1F
Figure 21. Recommended Circuit Configuration for External Mode
6
3
1F
1F
0.1F
CLOCK
INPUTS
SERIAL
INTERFACE
0.1F
0.1F
0.1F
3V
ANALOG
SUPPLY
0.1F
3V
ANALOG
SUPPLY
CCD
SIGNAL
REV. A
–25–
Page 26
AD9847
AD9847
CCDIN
29
AD9847
17
1813 1420
H2RGH3 H4H1
H2
H1RG
CCD IMAGER
SIGNAL
OUT
Figure 22a. CCD Connections (2 H-Clock)
CCDIN
SIGNAL
OUT
H2H1
29
AD9847
131420
H1 H2
18
17
H2H1RG
CCD IMAGER
RGH3 H4
ASIC
MASTER
CLOCK
CLI
23
1nF
LPF
Figure 23b. CLI Connection, AC-Coupled
Internal Mode Circuit Configuration
The AD9847 may be used in internal mode using the circuit
configuration of Figure 24. Internal mode uses the same circuit as
Figure 21, except that the horizontal pulses (CLPOB, CLPDM,
PBLK, and HBLK) are internally generated in the AD9847.
These pins may be grounded when internal mode is used. Only
the HD and VD signals are required from the ASIC.
2
HD/VD
INPUTS
HD
VD
PBLK
HBLK
CLPOB
CLPDM
42
443943
AD9847
40
41
Figure 22b. CCD Connections (4 H-Clock)
Driving the CLI Input
The AD9847’s master clock input (CLI) may be used in two
different configurations, depending on the application. Figure 23a
shows a typical dc-coupled input from the master clock source.
When the dc-coupled technique is used, the master clock signal
should be at standard 3 V CMOS logic levels. As shown in
Figure 23b, a 1000 pF ac-coupling capacitor may be used between
the clock source and the CLI input. In this configuration, the CLI
input will self-bias to the proper dc voltage level of approximately
1.4 V. When the ac-coupled technique is used, the master clock
signal can be as low as ±500 mV in amplitude.