FEATURES
40 MSPS Correlated Double Sampler (CDS)
6 dB to 40 dB 10-Bit Variable Gain Amplifier (VGA)
Low Noise Optical Black Clamp Circuit
Preblanking Function
12-Bit 40 MSPS A/D Converter
No Missing Codes Guaranteed
3-Wire Serial Digital Interface
3 V Single-Supply Operation
Low Power: 140 mW @ 3 V Supply
Space-Saving 32-Lead 5 mm
5 mm LFCSP
APPLICATIONS
Digital Still Cameras
Digital Video Camcorders
PC Cameras
Portable CCD Imaging Devices
CCTV Cameras
FUNCTIONAL BLOCK DIAGRAM
AD9945
6dB TO 40dB
CCDIN
VGACDS
GENERAL DESCRIPTION
The AD9945 is a complete analog signal processor for CCD
applications. It features a 40 MHz single-channel architecture
designed to sample and condition the outputs of interlaced and
progressive scan area CCD arrays. The AD9945’s signal chain
consists of a correlated double sampler (CDS), a digitally controlled variable gain amplifier (VGA), a black level clamp, and a
12-bit A/D converter.
The internal registers are programmed through a 3-wire serial digital
interface. Programmable features include gain adjustment, black
level adjustment, input clock polarity, and power-down modes.
The AD9945 operates from a single 3 V power supply, typically dissipates 140 mW, and is packaged in a space-saving
32-lead LFCSP.
REFT
REFB
BAND GAP
REFERENCE
12-BIT
ADC
PBLK
DRVDD
DRVSS
12
DOUT
SL
10
CONTROL
REGISTERS
DIGITAL
INTERFACE
SDATASCK
AVDD
AVSS
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 owners.
High Level Input VoltageV
Low Level Input VoltageV
High Level Input CurrentI
Low Level Input CurrentI
Input CapacitanceC
IH
IL
IH
IL
IN
2.1V
0.6V
10µA
10µA
10pF
LOGIC OUTPUTS
High Level Output Voltage, I
Low Level Output Voltage, IOL = 2 mAV
Specifications subject to change without notice.
= 2 mAV
OH
OH
OL
2.2V
0.5V
REV. A–2–
Page 3
AD9945
SYSTEM SPECIFICATIONS
(T
to T
MIN
, AVDD = DVDD = DRVDD = 3.0 V, f
MAX
= 40 MHz, unless otherwise noted.)
SAMP
ParameterMinTypMaxUnitNotes
CDS
Maximum Input Range before Saturation*1.0Vp-p
Allowable CCD Reset Transient*500mVSee Input Waveform in Footnote
Maximum CCD Black Pixel Amplitude*100mV
VARIABLE GAIN AMPLIFIER (VGA)
Gain Control Resolution1024Steps
Gain MonotonicityGuaranteed
Gain Range
Minimum Gain5.3dBSee Figure 7 for VGA Gain Curve
Maximum Gain40.041.5dBSee Variable Gain Amplifier Section for
VGA Gain Equation
BLACK LEVEL CLAMP
Clamp Level Resolution256Steps
Clamp LevelMeasured at ADC Output
Minimum Clamp Level0LSB
Maximum Clamp Level255LSB
A/D CONVERTER
Resolution12Bits
Differential Nonlinearity (DNL)± 0.5LSB
No Missing CodesGuaranteed
Data Output CodingStraight Binary
Full-Scale Input Voltage2.0V
VOLTAGE REFERENCE
Reference Top Voltage (REFT)2.0V
Reference Bottom Voltage (REFB)1.0V
SYSTEM PERFORMANCESpecifications Include Entire Signal Chain
Gain Range
Low Gain (VGA Code = 0)5.3dB
Maximum Gain (VGA Code = 1023)40.041.5dB
Gain Accuracy1.0dB
Peak Nonlinearity, 500 mV Input Signal0.1%12 dB Gain Applied
Total Output Noise1.2LSB rmsAC Grounded Input, 6 dB Gain Applied
Power Supply Rejection (PSR)40dB
*Input Signal Characteristics defined as follows:
500mV TYP
RESET TRANSIENT
Specifications subject to change without notice.
100mV TYP
OPTICAL BLACK PIXEL
1V TYP
INPUT SIGNAL RANGE
REV. A
–3–
Page 4
AD9945
TIMING SPECIFICATIONS
(CL = 20 pF, f
= 40 MHz, CCD Mode Timing in Figures 8 and 9, Serial Timing in Figures 4 and 5.)
*Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent damage to the device. This is a stress rating only; functional operation of the
device at these or any other conditions outside of those indicated in the operational
sections of this specification is not implied. Exposure to absolute maximum ratings
for extended periods may affect device reliability.
ORDERING GUIDE
TemperaturePackagePackage
ModelRangeDescription1Option
AD9945KCP–20°C to +85°C LFCSPCP-32
AD9945KCPRL–20°C to +85°C LFCSPCP-32
AD9945KCPRL7–20°C to +85°C LFCSPCP-32
AD9945KCPZ
2
–20°C to +85°C LFCSPCP-32
AD9945KCPZRL72–20°C to +85°C LFCSPCP-32
1
LFCSP = Lead Frame Chip Scale Package
2
Z = Pb-free part.
THERMAL CHARACTERISTICS
Thermal Resistance
32-Lead LFCSP Package
= 27.7 °C/W
θ
JA
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
AD9945 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.
1 to 10, 31, 32D2 to D11, D0, D1DODigital Data Outputs
11DRVDDPDigital Output Driver Supply
12DRVSSPDigital Output Driver Ground
13DVDDPDigital Supply
14DATACLKDIDigital Data Output Latch Clock
15DVSSPDigital Supply Ground
16PBLKDIPreblanking Clock Input
17CLPOBDIBlack Level Clamp Clock Input
18SHPDICDS Sampling Clock for CCD’s Reference Level
19SHDDICDS Sampling Clock for CCD’s Data Level
20AVDDPAnalog Supply
21AVSSPAnalog Ground
22CCDINAIAnalog Input for CCD Signal
23REFTAOA/D Converter Top Reference Voltage Decoupling
24REFBAOA/D Converter Bottom Reference Voltage Decoupling
25SLDISerial Digital Interface Load Pulse
26SDATADISerial Digital Interface Data Input
27SCKDISerial Digital Interface Clock Input
28 to 30NCNCInternally Pulled Down. Float or connect to GND.
TYPE: AI = Analog Input, AO = Analog Output, DI = Digital Input, DO = Digital Output, P = Power.
REV. A
–5–
Page 6
AD9945
DEFINITIONS OF SPECIFICATIONS
Differential Nonlinearity (DNL)
An ideal ADC exhibits code transitions that are exactly 1 LSB
apart. DNL is the deviation from this ideal value. Thus, every
code must have a finite width. No missing codes guaranteed to
12-bit resolution indicates that all 4096 codes must be present
over all operating conditions.
Peak Nonlinearity
Peak nonlinearity, a full signal chain specification, refers to the
peak deviation of the output of the AD9945 from a true straight
line. The point used as zero scale occurs 1/2 LSB before the first
code transition. Positive full scale is defined as a level 1 1/2 LSB
beyond the last code transition. The deviation is measured from
the middle of each particular output code to the true straight line.
The error is then expressed as a percentage of the 2 V ADC fullscale signal. The input signal is always appropriately gained up to
fill the ADC’s full-scale range.
Total Output Noise
The rms output noise is measured using histogram techniques.
The standard deviation of the ADC output codes is calculated in
LSB and represents the rms noise level of the total signal chain
EQUIVALENT INPUT CIRCUITS
DVDD
at the specified gain setting. The output noise can be converted
to an equivalent voltage, using the relationship
1 LSB = (ADC Full Scale/2
N
codes)
where N is the bit resolution of the ADC. For the AD9945,
1 LSB is 0.5 mV.
Power Supply Rejection (PSR)
The PSR is measured with a step change applied to the supply
pins. This represents a very high frequency disturbance on the
AD9945’s power supply. The PSR specification is calculated
from the change in the data outputs for a given step change in
the supply voltage.
Internal Delay for SHP/SHD
The internal delay (also called aperture delay) is the delay that
occurs from the time when a sampling edge is applied to the
AD9945 until the actual sample of the input signal is held. Both
SHP and SHD sample the input signal during the transition from
low to high, so the internal delay is measured from each clock’s
rising edge to the instant the actual internal sample is taken.
Operation000D0Software Reset (0 = Normal Operation, 1 = Reset all registers to default)
D2, D1Power-Down Modes (00 = Normal Power, 01 = Standby, 10 = Total Shutdown)
D3OB Clamp Disable (0 = Clamp ON, 1 = Clamp OFF)
D5, D4Test Mode. Should always be set to 00.
D6PBLK Blanking Level (0 = Blank Output to Zero, 1 = Blank to OB Clamp Level)
D8, D7Test Mode 1. Should always be set to 00.
D11 to D9Test Mode 2. Should always be set to 000.
Control001D0SHP/SHD Input Polarity (0 = Active Low, 1 = Active High)
D1DATACLK Input Polarity (0 = Active Low, 1 = Active High)
D2CLPOB Input Polarity (0 = Active Low, 1 = Active High)
D3PBLK Input Polarity (0 = Active Low, 1 = Active High)
D4Three-State Data Outputs (0 = Outputs Active, 1 = Outputs Three-Stated)
D5Data Output Latching (0 = Latched by DATACLK, 1 = Latch is Transparent)
D6Data Output Coding (0 = Binary Output, 1 = Gray Code Output)
D11 to D7Test Mode. Should always be set to 00000.
VGA Gain011D9 to D0VGA Gain (0 = 6 dB, 1023 = 40 dB)
NOTE: All register values default to 0x000 at power-up except clamp level, which defaults to 128 decimal (128 LSB clamp level).
REV. A–8–
Page 9
SERIAL INTERFACE
SDATA
t
DS
SCK
TEST BIT
A20A0A1D0D1D2D3D4D5D6D7D8D9D10
t
DH
AD9945
D11
t
LS
SL
NOTES
1. SDATA BITS ARE INTERNALLY LATCHED ON THE RISING EDGES OF SCK.
2. SYSTEM UPDATE OF LOADED REGISTERS OCCURS ON SL RISING EDGE.
3. ALL 12 DATA BITS D0 TO D11 MUST BE WRITTEN. IF THE REGISTER CONTAINS FEWER THAN 12 BITS, ZEROS SHOULD BE
USED FOR THE UNDEFINED BITS.
4. TEST BIT IS FOR INTERNAL USE ONLY. MUST BE SET LOW.
Figure 4. Serial Write Operation
TEST
BIT
SDATA
A0 A1A2D0 D1 D2 D3D4 D5D10 D11
SCK
SL
1162345678910
NOTES
1. MULTIPLE SEQUENTIAL REGISTERS MAY BE LOADED CONTINUOUSLY.
2. THE FIRST (LOWEST ADDRESS) REGISTER ADDRESS IS WRITTEN, FOLLOWED BY MULTIPLE 12-BIT DATA-WORDS.
3. THE ADDRESS WILL AUTOMATICALLY INCREMENT WITH EACH 12-BIT DATA-WORD (ALL 12 BITS MUST BE WRITTEN).
4. SL IS HELD LOW UNTIL THE LAST DESIRED REGISTER HAS BEEN LOADED.
5. NEW DATA IS UPDATED AT THE NEXT SL RISING EDGE.
0
DATA FOR STARTING
REGISTER ADDRESS
...
...
...
15
DATA FOR NEXT
REGISTER ADDRESS
D0D1D10D11
18172827
Figure 5. Continuous Serial Write Operation to All Registers
...
...
...
t
LH
D0
D2D1
302931
...
...
...
REV. A
–9–
Page 10
AD9945
DC RESTORE
0.1F
CCDIN
CDS
6dB TO 40dB
VGA
10
VGA GAIN
REGISTER
Figure 6. CCD Mode Block Diagram
CIRCUIT DESCRIPTION AND OPERATION
The AD9945 signal processing chain is shown in Figure 6. 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 single supply
of the AD9945.
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 8 illustrates how the two CDS clocks, SHP and
SHD, are used to sample the reference level and data level of
the CCD signal, respectively. The CCD signal is sampled on the
rising edges of SHP and SHD. Placement of these two clock
signals is critical in achieving the best performance from the CCD.
An internal SHP/SHD delay (t
) of 3 ns is caused by internal
ID
propagation delays.
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 the
fixed black level reference, selected by the user in the clamp
level register. 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 postprocessing, the AD9945
optical black clamping may be disabled using Bit D3 in the
operation register (see the Serial Interface Timing and Internal
Register Description sections).
INTERNAL
V
REF
2V FULL SCALE
8
REGISTER
12
DOUT
CLPOB
8-BIT
DAC
12-BIT
ADC
OPTICAL BLACK
CLAMP
DIGITAL
FILTERING
CLAMP LEVEL
When the loop is disabled, the clamp level register may still be
used to provide programmable offset adjustment.
Horizontal timing is shown in Figure 9. The CLPOB pulse should
be placed during the CCD’s optical black pixels. It is recommended that the CLPOB pulse be used during valid CCD dark
pixels. The CLPOB pulse should be a minimum of 20 pixels wide
to minimize clamp noise. Shorter pulse widths may be used, but
clamp noise may increase and the loop’s ability to track low frequency variations in the black level will be reduced.
A/D Converter
The ADC uses a 2 V input range. Better noise performance results
from using a larger ADC full-scale range. The ADC uses a
pipelined architecture with a 2 V full-scale input for low noise
performance.
Variable Gain Amplifier
The VGA stage provides a gain range of 6 dB to 40 dB, programmable with 10-bit resolution through the serial digital interface.
The minimum gain of 6 dB is needed to match a 1 V input signal
with the ADC full-scale range of 2 V. A plot of the VGA gain curve
is shown in Figure 7.
VGA Gain dBVGA CodedBdB
42
36
30
24
VGA GAIN (dB)
18
12
6
0
=×
()
()
1272553835116397678951023
VGA GAIN REGISTER CODE
+0 0355 3..
Figure 7. VGA Gain Curve
REV. A–10–
Page 11
CCD MODE TIMING
CCD
SIGNAL
DATACLK
OUTPUT
DATA
t
ID
SHP
t
SHD
NOTES
1. RECOMMENDED PLACEMENT FOR DATACLK RISING EDGE IS BETWEEN THE SHD RISING EDGE AND NEXT SHP FALLING EDGE.
2. CCD SIGNAL IS SAMPLED AT SHP AND SHD RISING EDGES.
EFFECTIVE PIXELS
NN+1N+2 N+9N+10
t
ID
S1
t
OD
N–10N– 9N– 8N–1N
t
S2
t
CP
Figure 8. CCD Mode Timing
HORIZONTAL
OPTICAL BLACK PI XELS
BLANKIN G
DUMMY PIXELSEFFECTIVE PIXELS
AD9945
CCD
SIGNAL
CLPOB
PBLK
OUTPUT
DATA
EFFECTIVE PIXEL DATA
NOTES
1. CLPOB WILL OVERWRITE PBLK. PBLK WILL NOT AFFECT CLAMP OPERATION IF OVERLAPPING WITH CLPOB.
2. PBLK SIGNAL IS OPTIONAL.
3. DIGITAL OUTPUT DATA WILL BE ALL ZEROS DURING PBLK. OUTPUT DATA LATENCY IS NINE DATACLK CYCLES.
OB PIXEL DATADUMMY BLACKEFFECTIVE DATA
Figure 9. Typical CCD Mode Line Clamp Timing
REV. A
–11–
Page 12
AD9945
APPLICATIONS INFORMATION
The AD9945 is a complete analog front end (AFE) product for
digital still camera and camcorder applications. As shown in
Figure 10, the CCD image (pixel) data is buffered and sent to the
AD9945 analog input through a series input capacitor. The
AD9945 performs the dc restoration, CDS, gain adjustment, black
CCD
V-DRIVE
V
OUT
BUFFER
0.1F
TIMING
CCD
AD9945
CCDIN
GENERATOR
REGISTER-
TIMING
Figure 10. System Applications Diagram
level correction, and analog-to-digital conversion. The AD9945’s
digital output data is then processed by the image processing
ASIC. The internal registers of the AD9945—used to control
gain, offset level, and other functions—are programmed by the
ASIC or microprocessor through a 3-wire serial digital interface.
A system timing generator provides the clock signals for both the
CCD and the AFE.
DIGITAL
OUT
DATA
OUTPUTS
SERIAL
INTERFACE
DIGITAL IMAGE
PROCESSING
ASIC
ADC
CDS/CLAMP
TIMING
REV. A–12–
Page 13
AD9945
Internal Power-On Reset Circuitry
After power-on, the AD9945 will automatically reset all internal
registers and perform internal calibration procedures. This takes
approximately 1 ms to complete. During this time, normal clock
signals and serial write operations may occur. However, serial
register writes will be ignored until the internal reset operation
is completed.
Grounding and Decoupling Recommendations
As shown in Figure 11, a single ground plane is recommended for
the AD9945. This ground plane should be as continuous as
possible. This will ensure that all analog decoupling capacitors
provide the lowest possible impedance path between the power
3
30 NC
29 NC
28 NC
AD9945
TOP VIEW
(Not to Scale)
27 SCK
26 SDATA
D0
D1
D2 1
D3 2
D4 3
D5 4
D6 5
D7 6
D8 7
D9 8
SERIAL
INTERFACE
32
PIN 1
IDENTIFIER
31
and bypass pins and their respective ground pins. All decoupling
capacitors should be located as close as possible to the package
pins. A single clean power supply is recommended for the AD9945,
but a separate digital driver supply may be used for DRVDD
(Pin 11). DRVDD should always be decoupled to DRVSS (Pin 12),
which should be connected to the analog ground plane. Advantages of using a separate digital driver supply include using a
lower voltage (2.7 V) to match levels with a 2.7 V ASIC, reducing
digital power dissipation, and reducing potential noise coupling.
If the digital outputs (Pins 1 to 10, 31, and 32) must drive a
load larger than 20 pF, buffering is recommended to reduce
digital code transition noise. Alternatively, placing series resistors close to the digital output pins may also help reduce noise.
25 SL
24 REFB
23 REFT
22 CCDIN
21 AVSS
20 AVDD
19 SHD
18 SHP
17 CLPOB
1.0F
1.0F
0.1F
0.1F
CCDIN
3V
ANALOG
SUPPLY
9
D10
12
DATA
OUTPUTS
3V
DRIVER
SUPPLY
NOTE
THE EXPOSED PAD ON THE BOTTOM OF THE AD9945 SHOULD BE
SOLDERED TO THE GND PLANE OF THE PRINTED CIRCUIT BOARD
10
D11
0.1F
1213141516
11
DRVSS
DRVDD
Figure 11. Recommended Circuit Configuration for CCD Mode