Analog Devices AD9807JS, AD9805JS Datasheet

Complete 12-Bit/10-Bit 6 MSPS
a
FEATURES Pin Compatible 12-Bit and 10-Bit Versions 12-Bit/10-Bit 6 MSPS A/D Converter Integrated Triple Correlated Double Sampler 3-Channel, 2 MSPS Color Mode 13 – 43 Analog Programmable Gain Amplifier Pixel-Rate Digital Gain Adjustment Pixel-Rate Digital Offset Adjustment Internal Voltage Reference No Missing Codes Guaranteed Microprocessor-Compatible Control Interface +3.3 V/+5 V Digital I/O Compatibility Low Power CMOS: 500 mW 64-Pin PQFP Surface Mount Package
PRODUCTION DESCRIPTION
The AD9807 and AD9805 are complete CCD/CIS imaging decoders and signal processors on a single monolithic integrated circuit. The input of the AD9807/AD9805 allows direct ac coupling of the charge-coupled device (CCD) or contact image sensor (CIS) output(s). The AD9807/AD9805 includes all the circuitry to perform three-channel correlated double sampling (CDS) and programmable gain adjustment of the CCD output; a 12-bit or 10-bit analog-to-digital converter (ADC) quantizes the analog signal. After digitization, the on-board digital signal processor (DSP) circuitry allows pixel rate offset and gain correc­tion. The DSP also corrects odd/even CCD register imbalance errors. A parallel control bus provides a simple interface to 8-bit microcontrollers. The AD9807/AD9805 comes in a space saving 64-pin plastic quad flatpack (PQFP) and is specified over the commercial (0°C to +70°C) temperature range. By disabling the CDS, the AD9807/AD9805 are also suitable for non-CCD applications, or applications that do not require CDS, such as CIS signal processing.

PRODUCT HIGHLIGHTS

The AD9807/AD9805 offers a complete, single chip CCD imaging front end in a 64-pin plastic quad flatpack (PQFP).
On-Chip PGA—The AD9807/AD9805 includes a 3-channel analog programmable gain amplifier; it is programmable from 1× to 4× in 16 increments.
CCD/CIS Signal Processors
AD9807/AD9805

FUNCTIONAL BLOCK DIAGRAM

PIXEL
OFFSET
8-10 12-10
MPU MPU
PORT PORT
PIXEL
GAIN
X
12-10
DOUT
CSB RD WR A2 A1 A0
VREF
AD9807/AD9805
RED
VINR
GREEN
VING
BLUE
VINB
PGA
CDS
PGA
PGA
CDS
PGA
PGA
CDS
CDSCLK1 CDSCLK2 ADCCLK
GAIN
GAIN
REGISTERS
REGISTERS
MUX ADC
MUX
INPUT
INPUT
OFFSET
OFFSET
CONFIG
CONFIG
REGS
REGS
REF
REF
ODD
ODD
EVEN
EVEN
On-Chip CDS—An integrated 3-channel correlated double sampler allows easy ac coupling directly from the CCD sensor outputs. Additionally, the CDS reduces low frequency noise and reset feedthrough.
On-Chip Voltage Reference—The AD9807/AD9805 includes a 2 V bandgap reference that allows the input range of the device to be configured for input spans up to 4 V.
6 MSPS A/D Converter—A highly linear 12-bit or 10-bit A/D converter sequentially digitizes the red, green and blue CDS outputs ensuring no missing code performance. The user may also configure the AD9807/AD9805 for single channel operation.
Digital Gain & Offset Correction—Pixel rate digital gain and offset correction blocks allow precise repeatable correction of imaging system error sources.
Digital I/O Compatibility—The AD9807/AD9805 offers +3.3 V/+5 V logic level compatibility.
Pin-Compatible 12-Bit and 10-Bit Versions—The AD9807 is also offered in a pin-compatible 10-bit version, the AD9805, allowing upgrade-ability and simplifying design issues across different scanner models.
REV. 0
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 which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
AD9807–SPECIFICA TIONS
(T
to T
with AVDD = +5.0 V, DVDD = +5.0 V, f
MAX

ANALOG SPECIFICATIONS

MIN
PGA Gain = 1 unless otherwise noted)
Parameter Min Typ Max Units
RESOLUTION 12 Bits CONVERSION RATE
3-Channel Mode With CDS 6 MSPS 1-Channel Mode With CDS
DC ACCURACY
Integral Nonlinearity (INL) Differential Nonlinearity (DNL)
1
2
2
6 MSPS
1.5 LSB
0.4 0.75 LSB No Missing Codes 12 Bits Guaranteed Unipolar Offset Error (@ +25°C) 0.4 % FSR Gain Error (@ +25°C) 1.2 % FSR
ANALOG INPUTS
Full-Scale Input Span 0.0625 4 V p-p Input Limits
3
AVSS – 0.3 V AVDD + 0.3 V Input Capacitance 10 pF Input Bias Current 0.01 µA Input Referred Noise 0.3 LSB rms
PSRR (AVDD = +5 V ± 0.25 V) 0.06 % FSR INTERNAL VOLTAGE REFERENCE
1 V Output Tolerance (@+25°C) ±15 mV 2 V Output Tolerance (@+25°C) ±30 mV
POWER SUPPLIES
Operating Voltages
AV DV
DD
DD
+4.75 +5.25 V
+4.75 +5.25 V Operating Current
AV DV
DD
DD
73 86 mA
16.6 20 mA POWER CONSUMPTION 450 530 mW TEMPERATURE RANGE
Operating 0 +70 °C
NOTES
1
Blue and green channels. Red channel conversion rate for 1-channel mode is 5 MSPS.
2
Measured with 4 V p-p input range.
3
Input signals exceeding these limits are subject to excessive overvoltage recovery times.
Specifications subject to change without notice.
ADCCLK
= 6 MSPS, f
CDSCLK1
= 2 MSPS, f
CDSCLK2
= 2 MSPS,
(T
to T

DIGITAL SPECIFICATIONS

MIN
with AVDD = +5.0 V, DVDD = +5.0 V, f
MAX
CL = 20 pF, unless otherwise noted)
ADCCLK
= 6 MSPS, f
CDSCLK1
= 2 MSPS, f
CDSCLK2
= 2 MSPS,
Parameter Symbol Min Typ Max Units
LOGIC INPUTS
High Level Input Voltage V Low Level Input Voltage V High Level Input Current I Low Level Input Current I Input Capacitance C
IH
IL IH IL
IN
2.0 V
0.8 V 10 µA 10 µA 10 pF
LOGIC OUTPUTS
High Level Output Voltage (I High Level Output Voltage (I Low Level Output Voltage (I Low Level Output Voltage (I Output Capacitance C
Specifications subject to change without notice.
= 50 µA) V
OH
= 0.5 mA) V
OH
= 50 µA) V
OL
= –0.6 mA) V
OL
OH OH OL OL OUT
–2–
4.5 4.9 V
2.4 V
0.1 V
0.4 V 5pF
REV. 0
AD9805–SPECIFICA TIONS
(T
to T
MIN
MAX
ANALOG SPECIFICATIONS
PGA Gain = 1 unless otherwise noted)
with AVDD = +5.0 V, DVDD = +5.0 V, f
ADCCLK
= 6 MSPS, f
CDSCLK1
AD9807/AD9805
= 2 MSPS, f
CDSCLK2
= 2 MSPS,
Parameter Min Typ Max Units
RESOLUTION 10 Bits CONVERSION RATE
3-Channel Mode With CDS 6 MSPS 1-Channel Mode With CDS
DC ACCURACY
Integral Nonlinearity (INL) Differential Nonlinearity (DNL)
1
2
2
6 MSPS
1.0 LSB
0.5 LSB No Missing Codes 10 Bits Guaranteed Unipolar Offset Error (@ +25°C) 0.6 % FSR Gain Error (@ +25°C) 1.2 % FSR
ANALOG INPUTS
Full-Scale Input Span 0.0625 4 V p-p Input Limits
3
AVSS – 0.3 V AVDD + 0.3 V Input Capacitance 10 pF Input Bias Current 0.01 µA Input Referred Noise 0.1 LSB rms
PSRR (AVDD = +5 V ± 0.25 V) 0.06 % FSR INTERNAL VOLTAGE REFERENCE
1 V Output Tolerance (@ +25°C) ±15 mV 2 V Output Tolerance (@ +25°C) ±30 mV
POWER SUPPLIES
Operating Voltages
AV DV
DD
DD
+4.75 +5.25 V
+4.75 +5.25 V Operating Current
AV DV
DD
DD
73 86 mA
16.6 20 mA POWER CONSUMPTION 450 530 mW TEMPERATURE RANGE
Operating 0 +70 °C
NOTES
1
Blue and green channels. Red channel conversion rate for 1-channel mode is 5 MSPS.
2
Measured with 4 V p-p input range.
3
Input signals exceeding these limits are subject to excessive overvoltage recovery times.
Specifications subject to change without notice.
(T
to T
DIGITAL SPECIFICATIONS
MIN
with AVDD = +5.0 V, DVDD = +5.0 V, f
MAX
CL = 20 pF, unless otherwise noted)
ADCCLK
= 6 MSPS, f
CDSCLK1
= 2 MSPS, f
CDSCLK2
= 2 MSPS,
Parameter Symbol Min Typ Max Units
LOGIC INPUTS
High Level Input Voltage V Low Level Input Voltage V High Level Input Current I Low Level Input Current I Input Capacitance C
IH
IL IH IL
IN
2.0 V
0.8 V 10 µA 10 µA 10 pF
LOGIC OUTPUTS
High Level Output Voltage (I High Level Output Voltage (I Low Level Output Voltage (I Low Level Output Voltage (I Output Capacitance C
Specifications subject to change without notice.
REV. 0
= 50 µA) V
OH
= 0.5 mA) V
OH
= 50 µA) V
OL
= –0.6 mA) V
OL
OH OH OL OL OUT
4.5 4.9 V
2.4 V
0.1 V
0.4 V 5pF
–3–
AD9807/AD9805
(T
to T

TIMING SPECIFICATIONS

MIN
Parameter Symbol Min Typ Max Units
CLOCK PARAMETERS
3-Channel Conversion Rate t 1-Channel Conversion Rate t CDSCK1 Pulse Width t CDSCK1 Pulse Width t CDSCK2 Pulse Width t CDSCK2 Pulse Width t CDS Clocks Digital Quiet Time t CDSCK2 Falling to CDSCK1 Rising t CDSCK2 Falling to CDSCK1 Rising t CDSCK1 Falling to CDSCK2 Rising t CDSCK1 Falling to CDSCK2 Rising t ADCCLK Rising to CDSCK1 Falling t ADCCLK Pulse Width t ADCCLK Period t ADCCLK Period (Red Single Channel Mode) t 3-Channel Settling Time t 1-Channel Settling Time (B and G Only) t ADCCLK Rising to Control Data Setup t ADCCLK Rising to Control Data Hold t STRTLN Rising, Falling Setup t STRTLN Rising, Falling Hold t Aperture Delay t
REGISTER WRITE/READ
Address Setup Time t Address Hold Time t Data Setup Time t Data Hold Time t Chip Select Setup Time t Chip Select Hold Time t Write Pulse Width t Read Pulse Width t Read To Data Valid t
DATA OUTPUT
Output Delay t 3-State to Data Valid t Output Enable High to 3-State t Latency 6 ADCCLK Cycles
with AVDD = +5.0 V, DVDD = +5.0 V, unless otherwise noted)
MAX
CRA CRB C1A C1B C2A C2B Q C2C1A C2C1B C1C2A C1C2B C1AD ACLK CP CP2 STL1 STL2 GOS GOH S H AD
AS AH DS DH CSS CSH PWW PWR DD
OD EDV HZ
500 ns 166 ns 30 ns 30 ns 30 ns 30 ns 20 ns 80 ns 40 ns 20 ns 20 ns 35 ns 50 ns 166 ns 200 ns 60 ns 30 ns 15 ns 15 ns 15 ns 15 ns 10 ns
15 ns 15 ns 15 ns 15 ns 15 ns 15 ns 25 ns 50 ns 40 ns
15 ns 15 ns 5ns
Table I. Output Controls
CSB 00000011 RDB 001111xx WRB 010011xx OEB xx010101
DOUT XQXDXZQZ
MPU MPU ADC
LEGEND:
x = Don't Care X = Unknown (Not Recommended) Q = Outputs D = Inputs Z = 3-State
–4–
REV. 0
AVDD AVSS CAPT CAPT CAPB CAPB VREF
CML
VINR
AVSS
VING
AVSS
VINB AVSS AVDD
STRTLN
PIN CONFIGURATION
GAIN<8>
GAIN<6>
GAIN<7>
GAIN<5>
AD9807
TOP VIEW
(Not to Scale)
OFFSET<5>
OFFSET<6>
OFFSET<4>
GAIN<4>
GAIN<3>
GAIN<2>
OFFSET<2>
OFFSET<3>
OFFSET<1>
GAIN<0>
GAIN<1>
DVSS
OFFSET<0>
GAIN<9>
GAIN<10>
GAIN<11>
64 63 62 61 60 55 54 53 52 51 50 4959 58 57 56
1
PIN 1
2
IDENTIFIER
3
4
5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
ADCCLK
CDSCLK1
CDSCLK2
OFFSET<7>
DVSS
DVDD
A2
DVDD
CSB
RDB
A1
48
A0 DOUT<11>
47
DOUT<10>
46
DOUT<9>
45
DOUT<8>
44
DOUT<7>/MPU<7>
43
DOUT<6>/MPU<6>
42
DRVDD
41 40
DRVSS DOUT<5>/MPU<5>
39 38
DOUT<4>/MPU<4>
37
DOUT<3>/MPU<3>
36
DOUT<2>/MPU<2> DOUT<1>/MPU<1>
35 34
DOUT<0>/MPU<0> OEB
33
WRB
AD9807/AD9805
PIN DESCRIPTIONS
Pin No. Pin Name Type Description
1, 15 AVDD P +5 V Analog Supply. 2, 10, 12, 14 AVSS P Analog Ground. 3, 4 CAPT AO Reference Decoupling. See Figure 22. 5, 6 CAPB AO Reference Decoupling. 7 VREF AO Internal Reference Output. Decouple with 10 µF + 0.1 µF. 8 CML AO Internal Bias Voltage. Decouple with 0.1 µF. 9 VINR AI Analog Input, Red. 11 VING AI Analog Input, Green. 13 VINB AI Analog Input, Blue. 16 STRTLN DI STRTLN. Indicates beginning of scan line. 17 CDSCLK1 DI CDS Reset Clock Pulse Input. 18 CDSCLK2 DI CDS Data Clock Pulse Input. 19 ADCCLK DI A/D Sample Clock Input. 28, 52 DVSS P Digital Ground. 29, 51 DVDD P +5 V Digital Supply. 20 OFFSET<7> DI Pixel Rate Offset Coefficient Inputs. Most Significant Bit. 21–26 OFFSET<6:1> DI Pixel Rate Offset Coefficient Inputs. 27 OFFSET<0> DI Pixel Rate Offset Coefficient Inputs. Least Significant Bit. 30 CSB DI Chip Select. Active Low. 31 RDB DI Read Strobe. Active Low. 32 WRB DI Write Strobe. Active Low. 33 OEB DI Output Enable. Active Low. 34 DOUT<0>/MPU<0> DIO Data Output LSB/Register Input LSB 35–39, 42 DOUT<1:6>/MPU<1:6> DIO Data Outputs/Register Inputs. 40 DRVSS P Digital Driver Ground 41 DRVDD P Digital Driver Supply 43 DOUT<7>/MPU<7> DIO Data Output/Register Input MSB. 44–46 DOUT<8:10> DO Data Outputs. 47 DOUT<11> DO Data Output MSB. 48, 49, 50 A0, A1, A2 DI Register Select Pins. 53 GAIN<0> DI Pixel Rate Gain Coefficient Input. LSB. 54–63 GAIN<1:10> DI Pixel Rate Gain Coefficient Inputs. 64 GAIN<11> DI Pixel Rate Gain Coefficient Input. MSB.
TYPE: AI = Analog Input; AO = Analog Output; DI = Digital Input; DO = Digital Output; DIO = Digital Input/Output; P = Power.
REV. 0
–5–
AD9807/AD9805
AVDD AVSS CAPT CAPT CAPB CAPB
VREF
CML
VINR
AVSS
VING
AVSS
VINB AVSS AVDD
STRTLN
NC = NO CONNECT
PIN CONFIGURATION
GAIN<8>
GAIN<6>
GAIN<7>
ADCCLK
OFFSET<7>
GAIN<4>
GAIN<5>
GAIN<3>
AD9805
TOP VIEW
(Not to Scale)
OFFSET<5>
OFFSET<6>
OFFSET<4>
GAIN<2>
GAIN<0>
GAIN<1>
OFFSET<2>
OFFSET<3>
OFFSET<1>
NC
DVSS
OFFSET<0>
GAIN<9>
64 63 62 61 60 55 54 53 52 51 50 4959 58 57 56
1
PIN 1
2
IDENTIFIER
3
4
5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
CDSCLK1
CDSCLK2
PIN DESCRIPTIONS
NC
DVSS
DVDD
A2
DVDD
CSB
RDB
A1
48
A0 DOUT<9>
47
DOUT<8>
46
DOUT<7>
45
DOUT<6>
44
DOUT<5>/MPU<7>
43
DOUT<4>/MPU<6>
42
DRVDD
41 40
DRVSS DOUT<3>/MPU<5>
39 38
DOUT<2>/MPU<4>
37
DOUT<1>/MPU<3>
36
DOUT<0>/MPU<2> MPU<1>
35 34
MPU<0> OEB
33
WRB
Pin No. Pin Name Type Description
1, 15 AVDD P +5 V Analog Supply. 2, 10, 12, 14 AVSS P Analog Ground. 3, 4 CAPT AO Reference Decoupling. See Figure 22. 5, 6 CAPB AO Reference Decoupling. 7 VREF AO Internal Reference Output. Decouple with 10 µF + 0.1 µF. 8 CML AO Internal Bias Voltage. Decouple with 0.1 µF. 9 VINR AI Analog Input, Red. 11 VING AI Analog Input, Green. 13 VINB AI Analog Input, Blue. 16 STRTLN DI STRTLN. Indicates beginning of scan line. 17 CDSCLK1 DI CDS Reset Clock Pulse Input. 18 CDSCLK2 DI CDS Data Clock Pulse Input. 19 ADCCLK DI A/D Sample Clock Input. 28, 52 DVSS P Digital Ground. 29, 51 DVDD P +5 V Digital Supply. 20 OFFSET<7> DI Pixel Rate Offset Coefficient Inputs. Most Significant Bit. 21–26 OFFSET<6:1> DI Pixel Rate Offset Coefficient Inputs. 27 OFFSET<0> DI Pixel Rate Offset Coefficient Inputs. Least Significant Bit. 30 CSB DI Chip Select. Active Low. 31 RDB DI Read Strobe. Active Low. 32 WRB DI Write Strobe. Active Low. 33 OEB DI Output Enable. Active Low. 34 MPU<0> DIO Register Input-Output LSB. 35 MPU<1> DIO Register Input-Output. 36 DOUT<0>/MPU<2> DIO Data Output LSB/Register Input-Output. 37–39, 42 DOUT<1:4>/MPU<3:6> DIO Data Output/Register Input-Output. 40 DRVSS P Digital Driver Ground. 41 DRVDD P Digital Driver Supply. 43 DOUT<5>/MPU<7> DIO Data Output/Register Input-Output MSB. 44–46 DOUT<6:8> DO Data Outputs. 47 DOUT<9> DO Data Output MSB. 48, 49, 50 A0, A1, A2 DI Register Select Pins. 53, 54 NC No Connection. 55 GAIN<0> DI Pixel Rate Gain Coefficient Input LSB. 56–63 GAIN<1:8> DI Pixel Rate Gain Coefficient Inputs. 64 GAIN<9> DI Pixel Rate Gain Coefficient Input MSB.
TYPE: AI = Analog Input; AO = Analog Output; DI = Digital Input; DO = Digital Output; DIO = Digital Input/Output; P = Power.
–6–
REV. 0
AD9807/AD9805
ABSOLUTE MAXIMUM RATINGS*
With Respect
Parameter to Min Max Units
AVDD AVSS –0.5 +6.5 Volts AVSS AVDD –6.5 +0.5 Volts DVDD DVSS –0.5 +6.5 Volts AGND DVSS –0.3 +0.3 Volts AVDD DVDD –6.5 +6.5 Volts Clock Input DVSS –0.5 DVDD + 0.5 Volts Digital Outputs DVSS –0.5 AVDD + 0.3 Volts AIN, VREF AVSS –0.3 AVDD + 0.3 Volts Junction Temperature +150 °C Storage Temperature –65 +150 °C Lead Temperature (10 sec) +300 °C
*Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above 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

Temperature Package Package
Model Range Description Option*
AD9807JS 0°C to +70°C PQFP S-64 AD9805JS 0°C to +70°C PQFP S-64
*S = Plastic Quad Flatpack.
DEFINITIONS OF SPECIFICATIONS INTEGRAL NONLINEARITY
Linearity error refers to the deviation of each individual code from a line drawn from “negative full scale” through “positive full scale.” The point used as “negative full scale” occurs
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 code to the true straight line.
DIFFERENTIAL LINEARITY ERROR (DNL, NO MISSING CODES)
1/2 LSB
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. Guaranteed no missing codes to 12-bit resolution indicates that all 4096 codes, respectively, must be present over all operating ranges.
UNIPOLAR OFFSET ERROR
In the unipolar mode, the first transition should occur at a level 1/2 LSB above analog common. Unipolar offset is defined as the deviation of the actual from that point. The unipolar offset temperature coefficient specifies the maximum change of the transition point over temperature, with or without external adjustments.
GAIN ERROR
The last transition should occur for an analog value 1 1/2 LSB below the nominal full scale. Gain error is the deviation of the actual difference between first and last code transitions and the ideal difference between first and last code transitions.
POWER SUPPLY REJECTION
Power Supply Rejection specifies the maximum full-scale change from the initial value with the supplies at the various limits.
APERTURE DELAY
Aperture delay is a timing measurement between the sampling clocks and the CDS. It is measured from the falling edge of the CDSCLK2 input to when the input signal is held for conversion in CDS mode. In non-CDS mode, it is the falling edge of CDSCLK1.
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 AD9807/AD9805 feature 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.
WARNING!
ESD SENSITIVE DEVICE
REV. 0
–7–
AD9807/AD9805
ANALOG
INPUTS
STRTLN
CDSCLK1
CDSCLK2
ADCCLK
GAIN<n:0> OFFSET<m:0>
ANALOG
INPUTS
STRTLN
CDSCLK1
t
AD
t
t
C1A
t
C1AD
t
RGBRGBRGB
R0 G0 B0 R1 G1 B1
R0, G0, B0 R1, G1, B1 Rn, Gn, Bn
t
AD
t
C1C2A
ACLK
t
C2C1A
t
C2A
t
t
ACLK
t
CP2
STL1
CRA
t
GOS
Figure 1a. 3-Channel CDS-Mode Clock Timing
(0V)
R0, G0, B0 R1, G1, B1 Rn, Gn, Bn
t
AD
t
t
C2A
CRA
t
t
t
S
GOH
S
t
H
t
H
ADCCLK
GAIN<n:0> OFFSET<m:0>
ANALOG
INPUTS
STRTLN
CDSCLK1
CDSCLK2
ADCCLK
GAIN<n:0> OFFSET<m:0>
t
ACLK
t
ACLK
t
CP
t
STL1
t
GOS
t
GOH
Figure 1b. 3-Channel SHA-Mode Clock Timing
t
AD
t
C1B
t
C1C2B
t
ACLK
G0
PIXEL 0
t
AD
t
C2C1B
t
C2B
t
ACLK
t
CP
G1
PIXEL 1 PIXEL n
t
CRB
t
STL2
G2
t
GOS
tSt
H
t
GOH
Figure 1c. 1-Channel CDS-Mode Clock Timing (for B and G Only)
–8–
REV. 0
AD9807/AD9805
ANALOG
INPUTS
STRTLN
CDSCLK1
CDSCLK2
ADCCLK
GAIN<n:0> OFFSET<m:0>
ANALOG
INPUTS
STRTLN
CDSCLK1
ADCCLK
GAIN<n:0> OFFSET<m:0>
t
t
C1AD
C1B
t
ACLK
t
AD
t
C1C2B
G0
PIXEL 0
t
AD
t
C2C1B
t
C2B
t
ACLK
t
CP2
G1
PIXEL 1 PIXEL n
t
CRB
t
STL1
G2
Figure 1d. 1-Channel CDS-Mode Clock Timing (Red Channel)
R0, G0, B0 R1, G1, B1
(0V)
t
AD
t
ACLK
t
C2B
t
ACLK
t
CP
t
CRB
t
STL2
G1G0
G2
t
GOS
Rn, Gn, Bn
tSt
tSt
t
GOS
H
t
GOH
H
t
GOH
ANALOG
INPUTS
STRTLN
CDSCLK1
ADCCLK
GAIN<n:0> OFFSET<m:0>
Figure 1e. 1-Channel SHA-Mode Clock Timing (for Blue and Green Channels)
(0V)
R0, G0, B0 R1, G1, B1
t
AD
t
ACLK
t
C2B
t
CP2
t
STL1
t
ACLK
t
CRB
G1G0
Rn, Gn, Bn
tSt
t
GOS
Figure 1f. 1-Channel SHA-Mode Clock Timing (Red Channel)
H
t
GOH
REV. 0
–9–
AD9807/AD9805
ANALOG
INPUTS
STRTLN
CDSCLK1
CDSCLK2
ADCCLK
GAIN<n:0> OFFSET<m:0>
OEB
R0, G0, B0 R1, G1, B1
t
Q
t
Q
t
Q
Rn, Gn, Bn
RGBRGBRGB
t
Q
B1R0 G0 B0 R1 G1
t
GOS
t
GOH
Figure 1g. CDS Clocks Digital Quiet Time
CSB
A0, A1, A2
WRB
MPU<7:0>
CSB
A0, A1, A2
RDB
MPU<7:0>
t
AS
t
CSS
t
PWW
t
DStDH
Figure 2. Write Timing
t
AS
t
CSS
t
PWR
t
AH
t
CSH
t
AH
t
CSH
t
DH
t
DD
Figure 3. Read Timing
–10–
REV. 0
AD9807/AD9805
VREF
RED
VINR
GREEN
VING
BLUE
VINB
CDSCLK1 CDSCLK2
CDS
CDS
CDS
PGA
PGA
PGA
STRTLN ADCCLK
AD9807/AD9805
MUX
3
CONFIGURATION
R G B
REGISTER
CONFIGURATION
REGISTER
2
BANDGAP
REFERENCE
12-BIT/10-BIT
A/D
INPUT OFFSET
REGISTER
12
R G B
Figure 4. Block Diagram

REGISTER OVERVIEW

MPU Port Map
Table II shows the MPU Port Map. The MPU Port Map is accessed through pins A0, A1 and A2 of the AD9807/AD9805, and provides the decoding scheme for the various registers of the AD9807/AD9805. When writing or reading from any of the registers, the appropriate bits must be applied to A0–A2.
Table II. MPU Port Map Format
A2 A1 A0 Register
0 0 0 Configuration Register 0 0 1 Configuration Register 2 0 1 0 PGA Gain Register 0 1 1 Odd Offset Register 1 0 0 Even Offset Register 1 0 1 Input Offset Register 1 1 0 RESERVED 1 1 1 Bayer Mode
Configuration Register/AD9807
The Configuration Register controls three functions: a color pointer, gain and offset pin configurations, and digital gain scaling. Figure 5 shows the AD9807 Configuration Register. Bits 0–2 control the digital scaling function. Setting a bit makes the corresponding condition true. Resetting Bits 0–2 disables and bypasses the digital multiplier. Bits 3–5 control the gain and offset pin distribution. Resetting Bits 3–5 disables and bypasses the digital subtracter and sets the gain word width to
12. Setting any bit makes the corresponding condition true. For example, if Bit 3 is set, the 2 LSBs of the gain word become the 2 MSBs of the offset word. If Bit 4 is set, the LSB of the gain word becomes MSB of the offset word. Bits 6 and 7 direct register data written to the MPU<7:0> bus to the appropriate red, green or blue register.
OFFSET<M:0> GAIN<N:0>
8-10
DIGITAL
SUBTRACTOR
R
R G B
ODD ODD ODD
G B
EVEN EVEN EVEN
12
76543210
12-10/10-8
DIGITAL
X
MULTIPLIER
MPU
PORT
I/O
8
OEB
1212
DOUT<11:0>/MPU<7:0>
CSB RDB WRB A2 A1 A0
8X FULL SCALE 4X FULL SCALE 2X FULL SCALE 10-BIT GAIN, 10-BIT OFFSET 11-BIT GAIN, 9-BIT OFFSET 12-BIT GAIN, 8-BIT OFFSET COLOR0 COLOR1
Figure 5. AD9807 Configuration Register Format
Configuration Register/AD9805
The Configuration Register controls three functions: a color pointer, gain and offset pin configurations, and digital gain scaling. Figure 6 shows the AD9805 Configuration Register. Bits 0–2 control the digital scaling function. Setting a Bit makes the corresponding condition true. Resetting Bits 0–2 disables and bypasses the digital multiplier. Bits 3–5 control the gain and offset pin distribution. Resetting Bits 3–5 disables and bypasses the digital subtracter and sets the gain word width to 10. Setting any bit makes the corresponding condition true. If Bit 3 is set, the 2 LSBs of the gain word become the 2 MSBs of the offset word. If Bit 4 is set, the LSB of the gain word becomes MSB of the offset word. Bits 6 and 7 direct register data written to the MPU<7:0> bus to the appropriate red, green or blue register.
76543210
8X FULL SCALE 4X FULL SCALE 2X FULL SCALE 8-BIT GAIN, 10-BIT OFFSET 9-BIT GAIN, 9-BIT OFFSET 10-BIT GAIN, 8-BIT OFFSET COLOR0 COLOR1
REV. 0
Figure 6. AD9805 Configuration Register Format
–11–
AD9807/AD9805
Color Pointer
Both the AD9807 and the AD9805 use Bits 6 and 7 in the Configuration Register to direct data to the corresponding internal registers. Table III shows the mapping of Bits 6 and 7 to their corresponding color.
Table III. Color Pointer Map
Bit 7 Bit 6 Color Register
0 0 Red 0 1 Green 1 0 Blue 1 1 RESERVED
Configuration Register 2
Configuration Register 2 controls several functions: color/black and white selection, CDS enabling, A/D Reference Control and Input Clamp Mode. Figure 7 shows the AD9807 and AD9805 Configuration Register 2 format. Setting Bit 0 enables the three internal CDS blocks of the AD9807/AD9805. Reset­ting Bit 0 disables the internal CDS blocks, configuring the part for SHA operation. Setting Bit 1 places the AD9807/AD9805 in single-channel (black & white) mode. In this mode, only one of the three input channels is used. The color bits in the configu­ration register at the time of the last write indicate the particular channel used. Resetting Bit 1 places the AD9807/AD9805 in color mode and all three input channels are enabled. Bits 2-4 control the full-scale input span of the A/D. Setting Bit 2 results in a 4 V p-p input span. Setting Bit 3 results in a 2 V p-p full-scale input span. Setting Bit 4 results in a full-scale span set by an external reference connected to the VREF pin of the AD9807/ AD9805 (Full Scale = 2 × VREF). Resetting Bits 2, 3 or 4 disables that particular mode. Bits 6 and 7 select the desired clamp mode (see Figure 17). Table IV shows the truth table for clamp mode functionality. Line clamp mode allows control of the input switch (S1) via CDSCLK1 only while STRTLN is reset. Pixel clamp mode allows control of the input switch (S1) via CDSCLK1 regardless of the state of STRTLN. No clamp mode disables the input switch (S1) regardless of the selected mode of CDS operation.
Table IV. Clamp Mode Truth Table
Input Offset Registers
The Input Offset Registers control the amount of analog offset applied to the analog inputs prior to the PGA portion of the AD9807/AD9805; there is one Input Offset Register for each color. Figure 8 shows the Input Offset Register format. The offset range may be varied between –80 mV and 20 mV. The data format for the Input Offset Registers is straight binary coding. An all “zeros” data word corresponds to –80 mV. An all “ones” data word corresponds to 20 mV. The offset is variable in 256 steps. The contents of the color pointer in the Configuration Register at the time an Input Offset Register is written indicates the color for which that offset setting applies.
76543210
ANALOG OFFSET (LSB) ANALOG OFFSET ANALOG OFFSET ANALOG OFFSET ANALOG OFFSET ANALOG OFFSET ANALOG OFFSET ANALOG OFFSET (MSB)
Figure 8. Input Offset Registers Format
PGA Gain Registers
Bits 0–3 of the PGA Gain Registers control the amount of gain applied to the analog inputs prior to the A/D conversion portion of the AD9807/AD9805; there is one PGA Gain Register for each channel. Figure 9 shows the PGA Gain Register format. The gain range may be varied between 1 and 4. The data format for the PGA Gain Registers is straight binary coding. An all “zeros” data word corresponds to an analog gain of 1. An all “ones” data word corresponds to an analog gain of 4. The gain is variable in 16 steps (see Figure 16). The contents of the color pointer in the Configuration Register at the time a PGA Gain Register is written indicates the color for which that gain setting applies. Bits 4–7 of the PGA Gain Registers are reserved.
76543210
Bit 7 Bit 6 Clamp Mode
0 0 Line Clamp 0 1 Pixel Clamp 1 0 No Clamp 1 1 RESERVED
76543210
CDSEN BLACK & WHITE ADC FULL SCALE = 4V ADC FULL SCALE = 2V EXTERNAL REFERENCE SET TO 0 CLAMP MODE SELECT CLAMP MODE SELECT
Figure 7. AD9807/AD9805 Configuration Register 2 Format
PGA0 PGA1 PGA2 PGA3 RESERVED RESERVED RESERVED RESERVED
Figure 9. PGA Gain Registers Format
Odd, Even Offset Registers
The Odd and Even Offset Registers provide a means of digitally compensating the odd and even offset error (Register Imbal­ance) typical of multiplexed CCD imagers; there is one Odd and one Even Offset Register for each color. Figure 10 shows the AD9807/AD9805 Odd and Even Offset Register Formats. The data format for the Odd and Even Offset Registers is twos complement. The offsets may be varied between positive
–12–
REV. 0
AD9807/AD9805
127 LSBs and negative 128 LSBs. The offset is variable in 1 LSB increments (see Table V). The contents of the color pointer in the Configuration Register at the time an Odd or Even Register is written indicates the color for which that offset setting applies.
76543210
O/E OFFSET (LSB) O/E OFFSET O/E OFFSET O/E OFFSET O/E OFFSET O/E OFFSET O/E OFFSET O/E OFFSET (MSB)
Figure 10. Odd and Even Offset Registers Format
Table V. Odd/Even Offset Register Coding
Odd/Even Register Contents Offset Value
0111 1111 +127 LSB
.. ..
.. 0000 0001 +1 LSB 0000 0000 0 LSB 1111 1111 –1 LSB
..
..
.. 1000 0000 –128 LSB

DATA BUSES

GAIN<n:0>—The GAIN data bus gives the user access to the
internal digital multiplier. Data from the GAIN bus is latched into the appropriate internal registers in accordance with the timing shown in Figure 1. Note that the GAIN data must be valid on the rising edges of ADCCLK. The contents of the register become one multiplicand of the digital multiplier; the output data from the digital subtracter is the other multiplicand. The AD9807/AD9805 provide a variable word length for the GAIN data word. Based on the setting in the Configuration Register, the GAIN data word may be 10, 11 or 12 bits wide (8, 9 or 10 bits wide for the AD9805). The data format for the GAIN data bus is straight binary coding. An all “zeros” data word always corresponds to a gain setting of 1×. An all “ones” data word corresponds to a gain setting dependent on Bits 0–2 of the Configuration Register. The gain is variable in 1024, 2048, or 4096 (256, 512 or 1024 for the AD9805) increments depending on the width of GAIN data word.
OFFSET<m:0>
The OFFSET data bus gives the user access to the internal digital subtracter. Data from the OFFSET bus is latched into the appropriate internal registers in accordance with the timing shown in Figure 1. Note that the OFFSET data must be valid on the rising edges of ADCCLK. The contents of the register become the subtrahend; the output data from the A/D converter
(after odd/even correction) is the other input. The AD9807/ AD9805 provide a variable word length for the OFFSET data word. Based on the setting in the Configuration Register, the OFFSET data word may be 8, 9 or 10 bits wide. The data format for the OFFSET data bus is straight binary coding. An all “zeros” data word corresponds to an offset value of 0 LSBs. An all “ones” data word subtracts an offset value of 256, 512 or 1024 LSBs, depending on the width of OFFSET data word. The offset is variable in 256, 512 or 1024 increments.
DOUT<n:0>—The DOUT data bus is bidirectional. CMOS compatible digital data is available as an output on the DOUT bus. Data is coded in straight binary format. When CSB and either WRB or RDB are applied to the AD9807/AD9805, the DOUT data bus becomes an input/output port for the register data, shown as MPU<7:0>. The timing and latency for the DOUT data bus are given in Figures 11 through 15.

FUNCTIONAL OVERVIEW

It is possible to operate the AD9807/AD9805 in one of five modes: 3-Channel Operation with CDS, 3-Channel SHA Operation, 1-Channel Operation with CDS, 1-Channel SHA Operation and 2-Channel Bayer Mode. A description of each of the five modes follows.
3-Channel Operation with CDS
This mode of the AD9807/AD9805 enables simultaneous sampling of a triple output CCD. The CCD waveforms are ac coupled to the VINR, VING and VINB pins of the AD9807/ AD9805 where they are automatically biased at an appropriate voltage level using the on-chip clamp; the inputs may alterna­tively be dc coupled if they have already been appropriately level shifted. The internal CDSs take two samples of the incoming pixel data: the first samples (CDSCLK1) are taken during the reset time while the second samples (CDSCLK2) are taken during the video, or data, portion of the input pixels. The offsets of the three input channels are modified by the values stored in the input offset registers. The voltage differences of the reset levels and video levels are inverted and amplified by the PGAs; the settings in the corresponding PGA Gain Registers determine the gains of the PGAs. These outputs from the PGAs are then routed through a high speed multiplexer to a 12-bit A/D converter (10-bit for AD9805) for digitization; the multiplexer cycles between the red, green and then blue channels. After digitization, the data is modified by the amount indicated in the Odd and Even Offset Registers. A digital subtracter allows additional pixel rate offset modification of each color based on the values written to the OFFSET data bus. Finally, a digital multiplier allows pixel rate gain modification of each color based on the values written to the GAIN data bus. Latency for the red, green and blue channels is 6 ADCCLK cycles (9 cycles for the gain and offset bus; see Figure 12).
The STRTLN signal indicates the first red, green and blue pixels in a scan line, and the red channel is always the first pixel digitized. The state of STRTLN is evaluated on the rising edges of ADCCLK. When STRTLN is low, the internal circuitry is reset on the next rising edge of ADCCLK; the multiplexer is switched to the red channel and the odd/even circuitry is configured to expect even pixels. After STRTLN goes high, the first set of pixels is assumed to be even. Consecu­tive sets of pixels (red, green and blue) are assumed to alternate between odd and even pixel sets.
REV. 0
–13–
AD9807/AD9805
3-Channel SHA Operation
This mode of the AD9807/AD9805 enables 3-channel simulta­neous sampling; it differs from the CDS sampling mode in that the CDS functions are replaced with sample-and-hold amplifiers (SHAs). CDSCLK1 becomes the sample-and-hold clock; CDSCLK2 is tied to ground. The input is sampled on the falling edge of CDSCLK1. The input signals must be either dc coupled and level shifted, or dc restored prior to driving the VINR, VING, and VINB pins of the AD9807/AD9805 (clamp mode must be disabled). The input signal in this mode is ground-referenced. The offsets of the three input channels are modified by the values stored in the input offset registers. The part does not invert the input signals prior to amplification by the PGAs; the settings in the corresponding PGA Gain Registers determine the gains of the PGAs. These outputs from the PGAs are then routed through a high speed multiplexer to a 12-bit A/D converter (10-bit for AD9805) for digitization; the multiplexer cycles between the red, green and then blue channels. After digitization, the data is modified by the amount indicated in the Odd and Even Offset Registers. A digital subtracter allows additional pixel rate offset modification of each color based on the values written to the OFFSET data bus. Finally, a digital multiplier allows pixel rate gain modification of each color based on the values written to the GAIN data bus. Latency for the red, green and blue channels is 6 ADCCLK cycles (9 cycles for the gain and offset bus; see Figure 13).
The STRTLN signal indicates the first red, green and blue pixels in a scan line and the red channel is always the first pixel digitized. The state of STRTLN is evaluated on the rising edges of ADCCLK. When STRTLN is low, the internal circuitry is reset on the next rising edge of ADCCLK; the multiplexer is switched to the red channel and the odd/even circuitry is configured to expect even pixels. After STRTLN goes high, the first set of pixels is assumed to be even. Consecu­tive sets of pixels (red, green and blue) are assumed to alternate between odd and even pixel sets.
1-Channel Operation with CDS
This mode of the AD9807/AD9805 enables single-channel, or monochrome, sampling. The CCD waveform is ac coupled to either the VINR, VING, and VINB pin of the AD9807/AD9805 where it is biased at an appropriate voltage level using the on­chip clamp; the input may alternatively be dc coupled if it has already been appropriately level shifted. Bits 6 and 7 in the Configuration Register select the desired input. The internal CDS takes two samples of the incoming pixel data: the first sample (CDSCLK1) is taken during the reset time while the second sample (CDSCLK2) is taken during the video, or data, portion of the input pixel. The offset of the input signal is modified by the value stored in the input offset register. The voltage difference of the reset level and video level is inverted and amplified by the PGA; the setting in the corresponding PGA Gain Register determines the gain of the PGA. The output from the PGA is then routed through a high-speed multiplexer to a 12-bit A/D converter (10-bit for AD9805) for digitization; the multiplexer does not cycle in this mode. After digitization, the data is modified by the amount indicated in the Odd and Even Offset Registers. A digital subtracter allows additional pixel rate offset modification of the signal based on the values written to the OFFSET data bus. Finally, a digital multiplier allows pixel rate gain modification of the signal based on the
values written to the GAIN data bus. Latency is 6 ADCCLK cycles (7 cycles for the gain and offset bus; see Figure 14).
The state of STRTLN is evaluated on the rising edges of ADCCLK. When STRTLN is low, the internal circuitry is reset on the next rising edge of ADCCLK; the odd/even circuitry is configured to expect an even pixel. After STRTLN goes high, the first pixel is assumed to be even. Consecutive pixels (red, green or blue) are assumed to alternate between odd and even. The blue and green channels are recommended for single channel operation to achieve the maximum sampling rate; if using red, invert ADCCLK as shown in Figure 1d.
1-Channel SHA Operation
This mode of the AD9807/AD9805 enables single-channel, or monochrome sampling; it differs from the CDS monochrome sampling mode in that the CDS function is replaced with a sample-and-hold amplifier (SHA). CDSCLK1 becomes the sample-and-hold clock; CDSCLK2 is tied to ground. The input is sampled on the falling edge of CDSCLK1. The input waveform would typically be either dc coupled and level shifted, or dc restored prior to driving either the VINR, VING and VINB pins of the AD9807/AD9805 (clamp mode must be disabled).
Bits 6 and 7 in the Configuration Register select the desired input. The input signal in this mode is ground referenced. The input signal is not inverted prior to amplification by the PGA; the setting in the corresponding PGA Gain Register determines the gain of the PGA. The offset of the input signal is modified by the value stored in the input offset register. This signal is then routed through a high speed multiplexer to a 12-bit A/D converter (10-bit for AD9805) for digitization; the multiplexer does not cycle in this mode. After digitization, the data is modified by the amount indicated in the Odd and Even Offset Registers. A digital subtracter allows additional pixel rate offset modification of the signal based on the values written to the OFFSET data bus. Finally, a digital multiplier allows pixel rate gain modification of the signal based on the values written to the GAIN data bus. Latency is 6 ADCCLK cycles (7 cycles for gain and offset; see Figure 15).
The state of STRTLN is evaluated on the rising edges of ADCCLK. When STRTLN is low, the internal circuitry is reset on the next rising edge of ADCCLK; the odd/even circuitry is configured to expect an even pixel. After STRTLN goes high, the first pixel is assumed to be even. Consecutive pixels (red, green or blue) are assumed to alternate between odd and even. The blue and green channels are recommended for single channel operation to achieve the maximum sampling rate; if using red, invert ADCCLK as shown in Figure 1f.
2-Channel Bayer Mode Operation with CDS
This mode of the AD9807/AD9805 enables Bayer Mode. The CCD waveform is ac coupled to both the VING and VINB pins of the AD9807/AD9805 where it is biased at an appropriate voltage level using the on-chip clamp; the input may alterna­tively be dc coupled if it has already been appropriately level shifted. The internal CDS takes two samples of the incoming pixel data: the first sample (CDSCLK1) is taken during the reset time while the second sample (CDSCLK2) is taken during the video, or data, portion of the input pixel. The offset of the input signal is modified by the value stored in the input offset register. The voltage difference of the reset level and video level
–14–
REV. 0
AD9807/AD9805
is inverted and amplified by the PGA; the setting in the corre­sponding PGA Gain Register determines the gain of the PGA. The output from the PGA is then routed through a high speed multiplexer to a 12-bit A/D converter (10-bit for AD9805) for digitization; the multiplexer does cycle in this mode. After digitization, the data is modified by the amount indicated in the Even Offset Registers. A digital subtracter allows additional pixel rate offset modification of the signal based on the values written to the OFFSET data bus. Finally, a digital multiplier allows pixel rate gain modification of the signal based on the values written to the GAIN data bus. Latency is 6 ADCCLK cycles (7 cycles for the gain and offset bus; see Figure 14).
The state of STRTLN is evaluated on the rising edges of ADCCLK. When STRTLN is low, the internal circuitry is reset on the next rising edge of ADCCLK; the odd/even circuitry is configured to expect even pixels.
ADCCLK
t
OD
DATA<11:0>
This feature has been included to accommodate the use of the part with an area CCD (Bayer Mode). The mode is initiated by writing a one to the LSB of the register at Address 7 (see Figure
21). The write to enable the mode should be performed when the STRTLN input is inactive (low) and the ADCCLK is running. The first pixel after an active edge on STRTLN will be a green pixel. All pixels in Bayer Mode are even and use the even offset registers. The line will continue alternating GRGRGR pixels until STRTLN goes inactive. The next line will be BGBGBG pixels (the first pixel after the active STRTLN edge being blue). Line type will then alternate between GRGRGR and BGBGBG type. To reset the next line to GRGRGR type at the start of the next frame/image, rewrite the Bayer mode enable bit to a one during the inactive STRTLN period. All red and blue pixels pass through the blue channel of the part and use the blue PGA and offset registers. To use a different offset/PGA gain value the register must be written to between lines. Green pixels on either line type pass through the green channel.
t
HZ
t
EDV
OEB
RIN, GIN, BIN
CDSCLK1
CDSCLK2
ADCCLK
DATA<11:0>
GAIN<n:0> GAIN<m:0>
Figure 11. Digital Output Timing
PIXEL n PIXEL n+1 PIXEL n+2
R, G, BR, G, BR, G, B
RGBRGBRGB
R (n–2) G (n–2) B (n–2) R (n–1) G (n–1) B (n–1) R (n)
R (n) G (n) B (n) R (n+1)
G (n+1) B (n+1) R (n+2) G (n+2) B (n+2) R (n+3)
Figure 12. DOUT Latency, 3-Channel CDS Mode
REV. 0
–15–
AD9807/AD9805
PIXEL n PIXEL n+1 PIXEL n+2
RIN, GIN, BIN
CDSCLK1
CDSCLK2
ADCCLK
RIN, GIN, BIN
CDSCLK1
ADCCLK
DATA<11:0>
GAIN<n:0>
GAIN<m:0>
R, G, BR, G, BR, G, B
RGBRGBRGB
R (n–2) G (n–2) B (n–2) R (n–1) G (n–1) B (n–1)
R (n) G (n) B (n) R (n+1)
G (n+1) B (n+1) R (n+2) G (n+2) B (n+2) R (n+3)
Figure 13. DOUT Latency, 3-Channel SHA Mode
PIXEL n PIXEL n+1 PIXEL n+2
R (n)
DATA<11:0>
GAIN<n:0>
OFFSET<m:0>
RIN, GIN, BIN
CDSCLK1
ADCCLK
DATA<11:0>
GAIN<n:0>
OFFSET<m:0>
D (n–8)
G (n)
D (n–7) D (n–6)
G (n+1) G (n+2)
Figure 14. DOUT Latency, 1-Channel CDS Mode
PIXEL n PIXEL n+1 PIXEL n+2
D (n–7) D (n–6) D (n–5) D (n–4)
G (n)
G (n+1) G (n+2) G (n+3)
Figure 15. DOUT Latency, 1-Channel SHA Mode
D (n–5)
D (n–4)
G (n+3)
–16–
REV. 0
AD9807/AD9805
Calculating Overall Gain
The overall gain for the AD9807/AD9805 can accommodate a wide range of input voltage spans. The total gain is a composite of analog gain (from the PGAs), digital gain (from the digital multiplier) and the input span setting for the A/D (2 V or 4 V). To determine the overall gain setting for the AD9807/AD9805, always multiply the PGA gain setting by the digital gain setting. In addition, the 2 V/4 V reference option can effectively provide analog gain for input signals less than 2 V p-p.
Overall Gain = Analog Gain × Digital Gain
For example, with the PGA gain equal to 1 (gain setting equals all “zeros”) and the digital multiplier equal to 1, the minimum gain equals 1. With these settings, input signals can be as large as 2 V or 4 V depending on the reference setting. Alternatively, with the PGA gain equal to 4 (gain setting equals all “ones”) and the digital multiplier equal to 8, the maximum gain equals
32. With the A/D reference span set to 2 V, an input signal span as small as 62.5 mV p-p will produce a digital output spanning from all “zeros” to all “ones.” For ranges between 62.5 mV and 4 V, see the Digital Gain and Analog Gain sections of the data sheet.
Analog Gain
The transfer function of the PGA is:
1+ 3 ×
4
15x
15
 
Analog Input =
where x is the decimal representation of the settings in the PGA gain register. Figure 16 shows the graph of this transfer function on both a linear and logarithmic scale. The transfer function is approximately linear in dB.
4.0
3.5
3.0
12
10
8
where GAIN<n:0> is the decimal representation of the GAIN bus data bits, Y = 4096 for the AD9807, Y = 1024 for the AD9805, and X equals 1, 3 or 7 depending on Bits 0–2 in the Configuration Register.
Overall Transfer Function
The overall transfer function for the AD9807 can be calculated as follows:
D
OUT
ADC
OUT
= [ADC
± InputOffset
V
()
IN
[]
=
+ Offset Register – Offset Bus][Digital Gain]
OUT
×PGAGain
2×V
REF
×4096
Choosing the Input Coupling Capacitors
Because of the dc offset present at the output of CCDs, it is likely that these outputs will require some form of dc restoration to be compatible with the input requirements of the AD9807/AD9805. To simplify input level shifting, a dc blocking capacitor may be used in conjunction with the internal biasing circuits of the AD9807/AD9805 to accomplish the necessary dc restoration.
Figure 17 shows the equivalent analog input for the VINR, VING and VINB inputs.
C
V
IN
CDSCLK1
STRTLN
CDSCLK2
AD9807/AD9805
CONFIG REG 2<7>
CONFIG REG 2<0>
CONFIG REG 2<6>
I
BIAS
5k
V
S1
BIAS
4pF
CDS
4pF
2.5
GAIN
2.0
1.5
1.0 013123456789101112 1415
GAIN (dB)
GAIN
PGA GAIN SETTING
6
GAIN – dB
4
2
0
Figure 16. PGA Transfer Function
Digital Gain
The digital multiplier section of the AD9807/AD9805 allows the user to apply gain in addition to that afforded by the analog PGA. The minimum gain of the digital multiplier is always 1. The user sets the maximum gain of the digital multiplier to be 8, 4, or 2 with Bits 0–2 in the Configuration Register. (The max gain is the same for all three channels.) The digital gain applied to the output from the digital subtracter is calculated using the equation:
REV. 0
Digital Gain = 1+
  
Gain <n:0>
Y
 
×X
  
–17–
Figure 17. Equivalent Analog Inputs (VINR, VING, and VINB)
Enabling CDS functionality and Line Clamp Mode with Bits 0, 6 and 7 in Configuration Register 2 allows switch S1 to turn on when STRTLN is low and CDSCLK1 goes high. This connects a 5 k biasing resistor to the inputs. This arrangement acts to bias the average level of the input signal at voltage, V voltage, V ting. Specifically, for gain settings from 0 to 5, V for gain settings from 10 to 15, V tings between 5 and 10, V
, changes depending on the selected PGA gain set-
BIAS
equals 3 V. For gain set-
BIAS
decreases linearly from 4 V to 3 V.
BIAS
BIAS
. The
BIAS
equals 4 V;
The size of the coupling capacitor is dependent on several factors including signal swing, allowable droop, and acquisition time. The following procedure shows how to determine the recommended range of capacitors.
Calculating C
MAX
The maximum capacitor value is largely dependent on the degree of accuracy and how quickly the input signal must be level-shifted into the valid input range of the degree of accuracy. Other factors affecting the speed of the capacitor charging or
AD9807/AD9805
discharging include the amount of time that input switch S1 is turned on, the input impedance of the AD9807/AD9805 and the output impedance of the circuit driving the coupling capacitor. The impedance of the drive circuit, R impedance of the AD9807/AD9805, R charging time, t
, are all known quantities. Note that t
ACQ
, and the desired
IN
, the input
OUT
ACQ
may not necessarily occur over a continuous period of time; it may actually be an accumulation of discrete charging periods. This is typical where CDSCLK1 is asserted only during the reset levels of the pixels. In this case, the quantity, m × T, may be substituted for t
, where m is the number of periods
ACQ
CDSCLK1 is asserted and T is the period of the assertion. Given these quantities, the maximum value for the input coupling capacitor is computed from the equation:
t
RIN+R
ACQ
OUT
C
MAX
/ln
V
C
V
E
where VC is the required voltage change across the coupling capacitor and V
is the maximum tolerable error voltage. VC is
E
calculated by taking the difference between the CCD’s reset level and the internal bias level of the AD9807/AD9805. V
is
E
the level of accuracy to which the input capacitor must be charged and is system dependent. Usually the allowable droop of the capacitor voltage is taken into account. This is discussed below. For example, if the CCD output can droop up to 1 volt without affecting the accuracy of the CDS, then clamping to within about one tenth of the allowable droop (100 mV) should be sufficient in most cases.
Calculating C
Determining C
MIN
is a function of the amount of allowable
MIN
voltage droop. It is important that the signals at the inputs of the AD9807/AD9805 remain within the supply voltage limits so the CDSs are able to accurately digitize the difference between the reset level and the video level. Assuming the input voltages are initially biased at the correct levels, the input bias current of the AD9807/AD9805 inputs will discharge the input coupling capacitors resulting in voltage droop. After taking into account any droop, the peaks of the input signal must remain within the required voltage limits of AD9807/AD9805 inputs.
Specifically, C
is a function of the maximum allowable
MIN
droop, dV, in one scan line, the number of pixels across one scan line, n, the period of one pixel, t, and the input bias current of the AD9807/AD9805, I
. C
BIAS
C
MIN
is calculated from the equation:
MIN
I
BIAS
=
dV
×n× t
Some examples are given below showing the typical range of capacitor values.
Example 1
A 5000 pixel CCD running at a 2 MHz (t = 500 ns) has a reset level of 4.5 volts and an output voltage of 1.8 volts. The number of optical black pixels available at the start of a line is 18. Using the AD9807/AD9805 with an input span of 4 volts and a PGA gain of 2 gives a V
of 3 volts. If the input signal is clamped
BIAS
to 3 volts during the optical black pixels, the required voltage change on the input capacitor, V
, equals (4.5 – 3) or 1.5 volts
C
and the maximum droop allowable during one line, dV, will be (3 – 1.8) or 1.2 volts before the signal droops below 0 volts.
With dV = 1.2 volts, a clamp accuracy of 100 mV should be sufficient (V
=100 mV), but this value can be adjusted. The
E
amount of time available to charge up the input capacitor, T
, will equal the period of CDSCLK1 (when the clamp
ACQ
switch is closed) times the number of optical black pixels. With a pixel rate of 2 MHz, CDSCLK1 would typically be around 100 ns wide, giving T
=1800 ns or
ACQ
1.8 µs. The input impedance of the AD9807 is 5K, and the input bias current is 10 nA. Assume the source impedance driving the AD9807 is low (R
= (1.8 µs/5K) × (1/ln (1.5/0.1)) = 133 pF
C
MAX
= (10 nA/1.2) × 5000 × 500 ns = 21 pF
C
MIN
OUT
= 0).
Note that a capacitor larger than 133 pF would still work, it would just take several lines to charge the input capacitor up to the full V
level. Another option to lengthen T
C
ACQ
is by clocking the CCD and CDSCLK1 while the transport motor moves the scanner carriage. This would extend T
ACQ
to several hundred µs or more, meaning that only very fine adjustment would be needed during the limited number of optical black pixels.
Example 2
A 7926 pixel CCD running at 2 MHz has a reset level of 6 volts, an output voltage of 2.9 volts and 80 optical black pixels. Using the AD9807 with an input span of 4 volts and a PGA gain of
1.25, V on the capacitor, V droop dV for one line is 1.1 volts. T µs, and V R
OUT
= 4 volts. The maximum required voltage change
BIAS
= 100 mV should be sufficient. Again, RIN = 5K,
E
= 0, and I
C
MAX
= (10 nA/1.1) × (7926) × (500 ns) = 36 pF
C
MIN
, is 2 volts and the maximum amount of
C
= 10 nA.
BIAS
will be 80 × 100 ns or 8
ACQ
= (8 µs/5K) × (1/ln (2/0.1)) 534 pF
Again, a larger capacitor may be used if several lines are allowed for to initially charge up the cap, or if the CCD and CDSCLK1 are clocked during the moving of the scanner carriage.
Generating 3-Channel Timing from a 16 3 Master Clock
Generating the required signals for CDSCLK1, CDSCLK2 and ADCCLK is easily accomplished with a master clock running 16 × the desired per channel pixel rate (i.e., 2 MSPS pixel rate requires 32 MHz master clock). The timing diagram shown in Figure 18 meets all the minimum and maximum timing specifications. Note that a 16 × master clock using only rising edges was chosen instead of using both edges of an 8 × rate clock to ensure immunity to duty cycle variations.
500ns
MASTER
(32MHz)
CDSCLK1
CDSCLK2
ADCCLK
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Figure 18. Timing Scheme Using 16 × Master Clock
–18–
REV. 0
AD9807/AD9805
Power-On Initialization and Calibration Sequence
When the AD9807/AD9805 is powered on, the following sequence should be used to initialize the part to a known state. The digital gain and offset buses are disabled until the calibra­tion sequence. The Bayer mode register must be written to and set to zero if this mode is not going to be used.
CHANGE POINTER
WRITE TO CONFIGURATION REGISTER
SET DIGITAL GAIN RANGE TO 000
SET GAIN/OFFSET BUS SIZE TO 000
SET COLOR POINTER
WRITE TO PGA GAIN REGISTER
SET TO GAIN OF ONE (0000)
WRITE TO INPUT OFFSET REGISTER
SET TO 0mV (11001100)
YES
WRITE TO CONFIGURATION 2 REGISTER
SET CDS OR SHA OPERATION
SET 3-CHANNEL OR 1-CHANNEL MODE
SET ADC FULL-SCALE RANGE
SET
ANOTHER
COLOR
?
NO
SET CLAMP MODE
To calibrate the AD9807/AD9805 for a particular scan, use the following sequence.
SET PGA GAIN(S)
(INPUT OFFSET = 0mV)
SCAN DARK LINE
COMPUTE PIXEL OFFSETS
SET INPUT OFFSET
SET ODD/EVEN OFFSET
YES
SET GAIN/OFFSET BUS SIZE
SET EXTERNAL PIXEL OFFSET VECTORS
SET
ANOTHER
COLOR
?
NO
WRITE TO BAYER MODE REGISTER
SET MODE ON OR OFF
OPTIONAL READBACK
FROM REGISTERS
Figure 19. Initialization
SCAN WHITE LINE
COMPUTE PIXEL GAINS
YES
ADJUST
PGA GAIN(S)
?
NO
SET DIGITAL GAIN RANGE
Figure 20. Calibration
REV. 0
–19–
AD9807/AD9805
SET PGA AND INPUT OFFSET FOR GREEN
PIXELS USING THE GREEN REGISTERS
SET PGA AND INPUT OFFSET FOR RED
PIXELS USING THE BLUE REGISTERS
BRING STRTLN LOW
WRITE A "1" TO THE LSB OF THE BAYER REGISTER
APPLY AT LEAST ONE ADCCLK CYCLE
BRING STRTLN HIGH
THE FIRST PIXEL IS GREEN
THE SECOND PIXEL IS RED, ALTERNATING GRGR...
BRING STRTLN LOW AT THE END OF THE LINE
NEXT LINE
YES
GRGR AGAIN
(NEW FRAME)
?
NO
CHANGE THE PGA AND INPUT OFFSET OF BLUE
REGISTERS FOR BLUE PIXELS
BRING STRTLN HIGH
THE FIRST PIXEL IS BLUE
THE SECOND PIXEL IS GREEN, ALTERNATING BGBG...
BRING STRTLN LOW AT THE END OF THE LINE
CHANGE GAIN AND OFFSET FOR RED PIXELS WITH BLUE REGISTERS
Grounding and Decoupling
Figure 22 shows the recommended decoupling capacitors and ground connections for the AD9807/AD9805. Notice that all of the power and ground connections are common for the analog and digital portions of the chip. This would be the best way to connect the device on a board containing a large number of digital components. By treating the AD9807/AD9805 as an analog component, the on-board digital circuitry is considered “quiet digital” and the digital supply pins are connected to the clean analog supply and analog ground plane. For this tech­nique to work well, it is important that the digital supply pins be well decoupled to the analog ground plane and that the digital outputs of the AD9807/AD9805 are buffered to minimize the digital drive current. The buffers would be referred to the digital supply and ground. This scheme is preferable to tying the digital portion of the AD9807/AD9805 to a noisy digital ground and power plane, capacitively coupling noise to the analog circuitry within the device. The AD9807/AD9805 evaluation boards use this grounding method, shown in Figures 26 and 27. If a minimum amount of digital circuitry exists on the board, it is possible that the power and ground connections of the AD9807 can be separated; be sure to maintain a single point connection between the two ground planes at the AD9807/AD9805.
+5
0.1µF
51
52 DVSS
DVSS DVDD
DVSS DVDD
28
29
0.1µF
+5
DRVDD
DRVSS
+5
41
0.1µF
40
10µF
0.1µF
0.1µF
0.1µF
+
+5
0.1µF
+
0.1µF
0.1µF
0.1µF
+5
10µF
1
AVDD
2
AVSS
3
CAPT
4
CAPT
5
CAPB
6
CAPB
7
REF
8
CML
10
AVSS
12
AVSS
14
AVSS
15
AVDD
AD9807/AD9805
(PINS OMITTED FOR CLARITY)
Figure 21. Bayer Mode Operation
–20–
Figure 22.
REV. 0
CIS Application
CIS START PULSE
CIS CLOCK
CIS OUTPUT
STRTLN
ADCCLK
CDSCLK1
Unlike many other integrated circuit CCD signal processors, the AD9807/AD9805 can easily be implemented in imaging systems that do not use a CCD. By disabling the input clamp and the CDS blocks, any dc coupled signal within the input limits of the part can be digitized. Figure 23 shows a typical block diagram of the AD9807 used with a color CIS module, in this case Dyna Image Corporation’s DL100*. The three color output signals are dc coupled into the AD9807. The Dyna CIS module’s output levels are around 70 mV to 500 mV dark to bright, well within the input range of the AD9807. The AD9807 is config­ured for 3-channel SHA operation through the MPU registers. Timing used with the Dyna DL100 is shown in Figure 24; the CIS output levels are sampled on the falling edge of CDSCLK1. The digital ASIC shown can be implemented in a variety of ways: it could include the MPU interface and timing generator, as well as memory for the output data and pixel gain and offset correction vectors.
PIXEL
12
GAIN
CORRECTION
CIS
CIS
CLOCKS
RED
GREEN
BLUE
VINR VING VINB
STRTLN, CDSCLK1, ADCCLK
TIMING
GENERATOR
GAIN<11:0>
AD9807
OFFSET<7:0>
83
DOUT<11:0>
MPU<7:0>
A2, A1, A0
OEB, WRB
RDB, CSB
PIXEL
OFFSET
CORRECTION
12
7
8
MPU
INTERFACE
DIGITAL
ASIC
OUTPUT
DATA
AD9807/AD9805
Figure 24. CIS Application Timing Signals

EVALUATION BOARDS

The AD9807 and AD9805 evaluation boards are designed to provide an easy interface to a standard PC, simplifying the task of evaluating the performance of the AD9807/AD9805 with an existing imaging system. The system level block diagram shown in Figure 25 illustrates the basic evaluation setup for the AD9807 (the AD9805 is the same). The user needs to supply the analog input signals (such as outputs from a CCD), the AD9807/AD9805’s clock signals, a power supply and a printer cable to connect the evaluation board to the PC’s parallel port. Software is included to allow the user to easily accomplish three major tasks: first, configure the AD9807/AD9805 in one of several operating modes (1 Channel, 3 Channel, CDS or SHA mode, etc.), second, acquire output data from the part and third, down­load pixel gain and offset correction data to the evaluation board and enable pixel rate shading and offset correction.
Figures 26 and 27 show the signal routing and decoupling for the AD9807 evaluation board.
The evaluation boards are designated with the part numbers AD9807-EB and AD9805-EB.
Figure 23. CIS Application Diagram (Power, Ground, and Decoupling Omitted)
+5V VOLT
AD9807 EVALUATION BOARD
ANALOG INPUTS
RED
GREEN
BLUE
CLOCK INPUTS
STRTLN CDSCLK1 CDSCLK2
ADCCLK
VINR VING VINB
CLOCKS
4
OFFSET
AD9807
MPU I/O
MPU CONTROL
GAIN
DOUT
Figure 25. Evaluation System Block Diagram
*All trademarks are properties of their respective holders.
REV. 0
POWER
SUPPLY
8
–21–
12
8
12
7
FIFO BUFFERS, LATCHES,
AND CONTROL
LOGIC
PRINTER
8
CABLE
PC PARALLEL PORT
AD9807/AD9805
AVDD
DVDD
+
C21
0.1µF
C18 10µF
AVSS
TP14TP13 TP16TP15
+
C28
10µF
STARTLINE B1
CDS1
B2
CDS2
B3
ADC
B4
50
50
50
50
R4
R3
R2
R1
C27
0.1µF
TP5
C26
0.1µF
B5
B6
B7
PL
PL
PL
PL
50
50
50
+5VD
+
C25 10µF
AVDD
C8
0.1µF
C10
0.1µF
C1
0.01µF
R7
PL
JP1
C2
0.01µF
R6
JP2
PL
C3
0.01µF
R5
PL
JP3
TP5
AVDD
STARTLINE
+
C7
0.1µFC610µF
0.1µF
TP6
TP7
C11
0.1µF
TP9
TP10
TP11
TP12
ADCCLK
C12
0.1µF
C4
G(9)
G(8)
G(7)
G(6)
G(5)
G(4)
G(3)
G(2)
OFF(3)
OFF(2)
G(1)
OFF(1)
OFF(0)
G(11)
G(10)
1
AVDD
2
AVSS
3
CAPT
4
CAPT
5
CAPB
6
CAPB
7
REF
8
CML
9
VINR
10
AVSS
11
VING
12
AVSS
13
VINB
14
AVSS
15
AVDD
16
ST_LIN
CDS1
CDS2
ADCLK
OFF(7)
OFF(6)
AD9807
OFF(5)
OFF(4)
G(0)
DVSS
C14
DVSS
DVDD
0.1µF
DVDD
DVDD
CSB
C15
0.1µF
A2
D(11) D(10)
D(9) D(8) D(7) D(6)
DRVDD
DRVSS
D(5) D(4) D(3) D(2) D(1) D(0)
OEB
RDB
49505152535455565758596061626364
A1
A0
WRB
32313029282726252423222120191817
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
DVDD
GAIN12
A2 A1
AD9807 DATABUS
D11 D10
D9 D8 D7 D6
DVDD
C13
0.1µ
OEB
8
D5 D4 D3 D2 D1 D0
OFFSET
Figure 26. AD9807 Evaluation Board (Digital Circuitry Omitted)
–22–
REV. 0
AD9807/AD9805
+C6
+C28
C8 C10
C27
C12
C7
C4 C11
C15
C13
C14
Figure 27. Suggested Capacitor Placement for Single-Side Component Layout
REV. 0
–23–
AD9807/AD9805
0.041 (1.03)
0.029 (0.73)
SEATING
PLANE
STANDOFF
0.010 (0.25)
0.009 (0.23)
0.005 (0.13)
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
64-Terminal PQFP
(S-64)
0.687 (17.45)
0.667 (16.95)
64
1
16
17
0.031 (0.80)
PIN 1
0.555 (14.10)
0.547 (13.90)
0.472 ( 12. 0) BSC
TOP VIEW
(PINS DOWN)
0.018 (0.45)
BSC
0.012 (0.30)
49
48
33
32
0.093 (2.35) MAX
0.083 (2.10)
0.077 (1.95)
0.555 (14.10)
0.547 (13.90)
0.472 (12. 0) BSC
7° 0°
0.687 (17.45)
0.667 (16.95)
C2196–12–1/97
–24–
PRINTED IN U.S.A.
REV. 0
Loading...