AD9888 Data Sheet
Rev. C | Page 12 of 36
DESIGN GUIDE
GENERAL DESCRIPTION
The AD9888 is a fully integrated solution for capturing analog
RGB signals and digitizing them for display on flat panel monitors
or projectors. The circuit is ideal for providing a computer interface
for HDTV monitors or for serving as the front end of high perfor-
mance video scan converters.
Implemented in a high performance CMOS process, the interface
can capture signals with pixel rates of up to 170 MHz, or of up
to 340 MHz with an alternate pixel sampling mode.
The AD9888 includes all necessary input buffering, signal dc
restoration (clamping), offset and gain (brightness and contrast)
adjustment, pixel clock generation, sampling phase control, and
output data formatting. All controls are programmable via a
2-wire serial interface. Full integration of these sensitive analog
functions makes system design straightforward and less sensitive to
the physical and electrical environment.
With a typical power dissipation of only 920 mW and an operating
temperature range of 0°C to 70°C, the device requires no special
environmental considerations.
INPUT SIGNAL HANDLING
The AD9888 has six high impedance analog input pins for the
red, green, and blue channels. They accommodate signals ranging
from 0.5 V p-p to 1.0 V p-p.
Signals are typically brought onto the interface board via a
digital visual interface integrated (DVI-I) connector, a 15-pin
D connector, or BNC connectors. The AD9888 should be
located as close as possible (or as close as is practical) to the
input connector. Signals should be routed via matched
impedance traces (normally 75 Ω) to the IC input pins.
At this point, the signal should be resistively terminated (to the
signal ground return) and capacitively coupled to the AD9888
inputs through 47 nF capacitors. These capacitors form part of
the dc restoration circuit.
If it were possible to have perfectly matched impedances, the
best performance would be obtained with the widest possible
signal bandwidth. The ultrawide bandwidth inputs of the
AD9888 (500 MHz) would track the input signal continuously
as it moved from one pixel level to the next, and then digitize
the pixel during a long, flat pixel time. In real-world conditions,
however, there are mismatches, reflections, and noise, which
can result in excessive ringing and distortion of the input
waveform. This makes it more difficult to establish a sampling
phase that provides good image quality. The AD9888 can
digitize graphics signals over a very wide range of frequencies
(10 MHz to 170 MHz). Often, characteristics that are beneficial
at one frequency can be detrimental at another. Analog
bandwidth is one such characteristic. For UXGA resolutions
(up to 170 MHz), a very high analog bandwidth is desirable
because of the fast input signal slew rates. For VGA and lower
resolutions (down to 12.5 MHz), a very high bandwidth is not
desirable because it allows excess noise to pass through. To
accommodate these varying needs, the AD9888 includes a
variable analog bandwidth control. Four settings are available
(75 MHz, 150 MHz, 300 MHz, and 500 MHz), allowing the
analog bandwidth to be matched with the resolution of the
incoming graphics signal.
RGB
INPUT
R
AIN
G
AIN
B
AIN
47n
F
75
02442-003
Figure 4. Analog Input Interface Circuit
SYNC PROCESSING OVERVIEW
The AD9888 circuitry enables it to accept composite sync
inputs, such as sync-on-green or the trilevel sync inputs found
in digital TV signals. A complete description of the sync
processing functionality is found in the Sync Slicer and the Sync
Separator sections.
HSYNC AND VSYNC INPUTS
The interface can also accept a horizontal sync signal, which is
used to generate the pixel clock and clamp timing. It is possible
to operate the AD9888 without applying HSYNC (that is, by
using an external clock, external clamp, and single port output
mode), but a number of features of the chip will be unavailable;
therefore, it is recommended that HSYNC be provided. This
can be either a sync signal directly from the graphics source or a
preprocessed TTL- or CMOS-level signal.
The HSYNC input includes a Schmitt-trigger buffer for
immunity to noise and signals with long rise times. In typical
PC-based graphics systems, the sync signals are simply TTL-
level drivers feeding unshielded wires in the monitor cable.
Therefore, no termination is required or desired.
SERIAL CONTROL PORT
The serial control port is designed for 3.3 V logic. If there are
5 V drivers on the bus, these pins should be protected with
150 Ω series resistors placed between the pull-up resistors and
the input pins.
OUTPUT SIGNAL HANDLING
The digital outputs are designed and specified to operate from a
3.3 V power supply (V
DD
). They can also work with a V
DD
as low
as 2.5 V for compatibility with other 2.5 V logic.
CLAMPING
RGB Clamping
To digitize the incoming signal properly, the dc offset of the
input must be adjusted to fit the range of the on-board ADCs.
Most graphics systems produce RGB signals with black at
ground and white at approximately 0.75 V. However, if sync
signals are embedded in the graphics, the sync tip is often at
Data Sheet AD9888
Rev. C | Page 13 of 36
ground, black is at 300 mV, and white is at approximately 1.0 V.
Some common RGB line amplifier boxes use emitter-follower
buffers to split signals and increase drive capability. This
introduces a 700 mV dc offset to the signal, which must be
removed for proper capture by the AD9888.
The key to clamping is to identify a time when the graphics system
is known to be producing black. An offset is then introduced,
which results in the ADCs producing a black output (Code 0x00)
when the known black input is present. The offset then remains
in place when other signal levels are processed, and the entire
signal is shifted to eliminate offset errors.
In most graphics systems, black is transmitted between active video
lines. In CRT displays, when the electron beam has completed
writing a horizontal line on the right side of the screen, the
beam is deflected quickly to the left side of the screen (called
horizontal retrace), and a black signal is provided to prevent the
beam from disturbing the image.
In systems with embedded sync, a blacker-than-black signal
(HSYNC) is produced briefly to signal the CRT to begin a
retrace. It is important to avoid clamping on the tip of HSYNC.
Fortunately, there is almost always a period following HSYNC,
called the back porch, when a good black reference is provided.
This is the time when clamping should be performed.
The clamp timing can be established by simply exercising the
CLAMP pin at the appropriate time with external clamp
selected (clamp input signal source bit = 1). The polarity of this
signal is set by the clamp polarity bit (Register 0x0F, Bit 6).
A simpler method of clamp timing employs the AD9888
internal clamp timing generator. The clamp placement register
(Register 0x05) is programmed with the number of pixel times
that should pass after the trailing edge of HSYNC before clamping
begins. A second register (clamp duration, Register 0x06) sets
the duration of the clamp. Both registers are 8-bit values,
providing considerable flexibility in clamp generation. The
clamp timing is referenced to the trailing edge of HSYNC,
because, though HSYNC duration can vary widely, the back
porch (black reference) always follows HSYNC. A good starting
point for establishing clamping is to set the clamp placement to
Value 0x08 (providing eight pixel periods for the graphics signal
to stabilize after sync) and set the clamp duration to Value 0x14
(giving the clamp 20 pixel periods to reestablish the black
reference).
Clamping is accomplished by placing an appropriate charge on the
external input coupling capacitor. The value of this capacitor affects
the performance of the clamp. If it is too small, there is a significant
amplitude change during a horizontal line time (between clamping
intervals). If the capacitor is too large, it takes an excessively long
time for the clamp to recover from a large change in incoming
signal offset. The recommended value (47 nF) results in recovering
from a step error of 100 mV to within 1/2 LSB in 10 lines with a
clamp duration of 20 pixel periods on a 60 Hz SXGA signal.
YUV Clamping
YUV graphics signals are slightly different from RGB signals in
that the dc reference level (black level in RGB signals) can be at
the midpoint of the video signal rather than at the bottom. For
these signals, it might be necessary to clamp to the midscale of
the ADC range (Value 0x80) rather than to the bottom of the
ADC range (Value 0x00).
Clamping to midscale rather than to ground can be accomplished
by setting the clamp select bits in Register 0x10. The red and
blue channels each have their own selection bit so that they can
be clamped to either midscale or ground independently. The
clamp controls are located in Register 0x10, Bit 1 and Bit 2. The
midscale reference voltage that each ADC clamps to is provided
independently on the RMIDSCV and BMIDSCV pins. These
two pins should be bypassed to ground using a 0.1 μF capacitor,
even if midscale clamping is not required.
GAIN AND OFFSET CONTROL
The AD9888 can accommodate input signals with inputs
ranging from 0.5 V to 1.0 V full scale. The full-scale range is set
in three 8-bit registers (red gain, green gain, and blue gain;
Register 0x08, Register 0x09, and Register 0x0A, respectively).
Increasing the gain setting results in an image with less contrast.
The offset control shifts the entire input range, resulting in a
change in image brightness. Three 7-bit registers (red offset,
green offset, blue offset; Register 0x0B, Register 0x0C, and
Register 0x0D, respectively) provide independent settings for
each channel.
The offset controls provide a ±63 LSB adjustment range. This
range is connected with the full-scale range. Therefore, if the
input range is doubled (from 0.5 V to 1.0 V), the offset step size
is also doubled (from 2 mV per step to 4 mV per step).
Figure 5 illustrates the interaction of gain and offset controls. The
magnitude of an LSB in offset adjustment is proportional to the
full-scale range; therefore, changing the full-scale range also
changes the offset. The change is minimal if the offset setting is
near midscale. When changing the offset, the full-scale range is
not affected, but the full-scale level is shifted by the same
amount as the zero-scale level.
AD9888 Data Sheet
Rev. C | Page 14 of 36
GAIN
0x
FF
0x
00
INPUT RANGE (V)
1.0
0.5
0
OFFSET = 0x00
OFFSET = 0x3F
OFFSET = 0x7F
OFFSET = 0x00
OFFSET = 0x7F
OFFSET = 0x3F
02442-004
Figure 5. Gain and Offset Control
SYNC-ON-GREEN INPUT
The sync-on-green input operates in two steps. First, with the
aid of a negative peak detector, it sets a baseline clamp level from
the incoming video signal. Second, it sets the threshold level
(nominally 150 mV above the negative peak). The exact threshold
level is variable and can be programmed via Register 0x10. The
sync-on-green input must be ac-coupled to the green analog
input through its own capacitor, as shown in Figure 6. The value
of the capacitor must be 1 nF ± 20%. If sync-on-green input is
not used, this connection is not required and the SOGIN pin
should be left unconnected. (Note that the sync-on-green signal
is always negative polarity.) For more details, see the Sync
Processing Overview section.
G
AIN[1:0]
SOGINx
1nF
R
AIN[1:0]
47n
F
B
AIN[1:0]
47nF
47nF
02442-005
Figure 6. Typical Clamp Configuration for RGB/YUV Applications
CLOCK GENERATION
A PLL is employed to generate the pixel clock. The HSYNC
input provides a reference frequency to the PLL. A voltage
controlled oscillator (VCO) generates a much higher pixel clock
frequency. This pixel clock is divided by the PLL divide value
(Register 0x01 and Register 0x02), and the phase is compared
with the HSYNC input. Any error is used to shift the VCO
frequency and maintain lock between the two signals.
The stability of this clock is very important for providing the
clearest and most stable image. During each pixel time, there is
a period during which the signal is slewing from the old pixel
amplitude and settling to a new value. Then, the input voltage is
stable until the signal slews to a new value (see Figure 7). The
ratio of the slewing time to the stable time is a function of the
bandwidth of the graphics DAC, the bandwidth of the trans-
mission system (cable and termination), and the overall pixel
rate. Therefore, if the dynamic characteristics of the system
remain fixed, the slewing and settling times are likewise fixed.
These times must be subtracted from the total pixel period to
determine the stable period. At higher pixel frequencies, both
the total cycle time and stable pixel time are shorter.
PIXEL CLOCK
INVALID SAMPLE TIMES
02442-006
Figure 7. Pixel Sampling Times
Any jitter in the clock reduces the precision with which the
sampling time can be determined, and must be subtracted from
the stable pixel time. The AD9888 clock generation circuit is
designed to minimize jitter to less than 9% of the total pixel
time in all operating modes, making its effect on valid sampling
time negligible (see Figure 8).
02442-007
PIXEL CLOCK (MHz)
25.2
31.5
31.5
36.0
36.0
50.0
40.0
49.5
56.3
65.0
75.0
78.8
85.5
94.5
108.0
135.0
160.0
162.0
170.0
JITTER PEAK-TO-PEAK (%)
14
12
10
8
6
4
2
0
Figure 8. Pixel Clock Jitter vs. Frequency
The PLL characteristics are determined by the loop filter design,
the PLL charge pump current, and the VCO range setting. The
loop filter design is illustrated in Figure 9.
Recommended settings of VCO range and charge pump current
for VESA standard display modes are listed in Table 5.
C
P
0
.0039µF
C
Z
0.039µF
R
Z
3.3k
FILT
PV
D
02442-008
Figure 9. PLL Loop Filter Detail

AD9888KSZ-140

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Display Interface IC 140MHz Analog Graphics Interface
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet