|
||||||||||||||||||||||||||
March 13, 1998CCDs inspire ADCs to embrace signal processingBill Schweber, Technical EditorYou need more than just a good A/D converter to effectively interface with a CCD image sensor. Newer converter architectures include signal-processing circuitry that simplifies the task while improving overall performance.The CCD image sensor is a ubiquitous photon-to-current transducer for applications ranging from relatively slow scanners to high-end, still and full-motion cameras. As with most real-world transducers, under this simple statement is a complex interfacing challenge. Although you can easily connect your system to a single-element CCD, this simple sensor would not have much practical use except in limited circumstances. As the CCD elements expand into a linear array, your interface challenge becomes more complex, and when you graduate to a 2-D CCD array, you have a complex design challenge. Among the unavoidable difficulties are pixel-to-pixel sensitivities, the need for higher scanning rates, per-pixel time-varying offset and noise, dynamic-range considerations, sensor saturation, and the need to maintain monochrome or color fidelity across the unevenly illuminated subject and CCD array.
CCD A/D converters must meet the customary speed and resolution criteria. In contrast to a conventional unipolar or symmetrical bipolar range of a sensor, the CCD yields an information-bearing signal of several volts with a dc offset of 7 to 9V. You need to use a capacitor to ac-couple the CCD signal, but this approach destroys important black-level information. For this reason, most CCD-specific front ends include dc-clamping to restore the black-level reference. You can relatively easily specify the first parameter, speed. You determine the number of pixels you have and how quickly you need to refresh the image and then do the standard calculation to yield the number of samples per second the converter needs to sustain. If you use a linear array for scanning an image, you have to work in the number of lines per image area; for a 2-D array, the number of pixels per image is self-evident. Although the requisite conversion rate can range from a few hundred kilosamples per second to megasamples per second, scanners and still cameras usually have conversions of 1 to 5M samples/sec, whereas full-motion video cameras convert at 10 to 20M samples/sec or even higher. Watch out for the "3×" rate factor between A/D converters for monochrome vs RGB CCDs: A single converter that handles all three inputs has an effective pixel-conversion rate only one-third that of a single-input converter. Resolution, however, is much more difficult to specify than sampling rate, because the number of bits the converter needs depends on many difficult-to-quantify factors, such as perceived appearance and image quality, in addition to conventional parameters, such as differential nonlinearity (DNL) and integral nonlinearity (INL). A basic low-end scanner for line art may be satisfied with an 8-bit converter, but many applications need at least 10 or even 12 bits. Even so, getting the most useful and representative signal from those 10 to 12 bits requires that you understand the nature of your target image as well as what types of image distortions are acceptable (see box "Can we resolve these issues?"). Scanners are available with 24-, 30-, or even 36-bit resolution. This description is just shorthand for a three-color (RGB) converter subsystem with 8, 10, or 12 bits/color, respectively, for red, green, and blue. Resolution is just part of the design perspective. CCDs, as with most analog sensor-based systems, require the most attention at the lower end of their signal ranges, corresponding to low-light conditions. Here, you need to consider dark current, offsets, readout noise, A/D front-end noise, and similar imperfections that reduce SNR and make assumed dynamic-range numbers too optimistic. A standard trade-off also exists between noise, corresponding to dynamic range, and speed, corresponding to bandwidth. Not surprisingly, much sophisticated CCD-A/D converter design-in activity now is in very-high-resolution devices. Converters with 14, 16, and even 18 bits target critical instrumentationlike applications, such as scanning photos, astronomy, spectroscopy, and micro-scopy. In these applications, video fidelity--roughly analogous to audio fidelity--is critical, and subtle intensity and color differences convey considerable information to the user. Also, small distortions or artifacts that occur may lead a user to incorrect conclusions when employing these converters in these applications. These higher resolution converters operate at lower speeds than their lower resolution siblings, but speed is usually not a primary consideration in these applications. At these higher resolutions, an integrated CCD-specific A/D-converter subsystem may be unavailable, and those that are available force you to make some undesirable performance trade-offs. You may have to build the A/D-conversion subsystem from functional building blocks with a high-performance A/D converter as its core. The CCD is one of the most fickle sensors to achieve mass-market acceptance. Even if your A/D subsystem--whether integrated or discrete--is near-perfect, you still need to accept that the signal that the CCD develops is imperfect. CCDs inherently produce a time-varying noise, gain, and offset in each cell, and your interface system must cancel these error sources in any application requiring moderate to high accuracy. Offset errors appear as variations in black level, whereas gain, or "shading," error appears as variations in white level. Fortunately, a complex but feasible technique of correlated double sampling (CDS) can significantly reduce these offset errors (see box "CDS overcomes sensor deficiencies"). Factors outside the CCD itself add to the difficulty. For example, uneven lighting across the image is unavoidable, and this fact compromises effective use of the converter's available bits. The CCD therefore requires extra resolution to maintain the desired dynamic-range goals because these factors shift the image-intensity signal within the available range. Most systems have a pixel-by-pixel or line-by-line calibration mode to correct for sources of error, such as pixel-response nonuniformity (PRNU), including scanning a fully illuminated white sheet for establishing a full-scale reference across the image. The pixel-by-pixel mode is more complex and more accurate than the line-by-line approach. Another technique you may use is to scan a checkerboard pattern, which exercises the slewing capability and large-signal bandwidth of the converter. Because adjacent dark and bright areas are common, the checkerboard-pattern scan is a realistic scenario. Note that many vendors specify frequency-domain specifications, such as THD, for their CCD ADCs. There's nothing inherently wrong with this approach, but some vendors feel that time-domain data-acquisition specifications, such as linearity, more suitably characterize electronic image capture. You should ask for and look at both frequency- and time-domain specifications in the context of your application. Unless you have a carefully controlled application, the CCD and analog front end may endure overload light conditions. Although most CCD front ends include a programmable- gain amplifier (PGA) to allow you to implement signal scaling and prevent saturation of the A/D converter, this scaling is sometimes unsuccessful or too slow. You need to look at recovery time for the converter and associated circuitry if overload and subsequent lost video signals are concerns. Also, check what overvoltage criteria your device is using. A 10% overvoltage is most common, but some vendors also specify recovery times for 20% overvoltage. Unlike temperature probes, CCDs are not simple one-point sensors, and they have more idiosyncrasies than just about any other sensor you encounter. However, CCDs and simpler, low-level sensors do share one mixed-signal feature: the importance of layout and grounding. These devices' high-speed digital clocks and circuitry reside near low-level analog signals. Follow the manufacturer's suggested layout guidelines. If the data sheet omits these guidelines, insist on seeing a layout from the manufacturer's lab evaluation board, and watch the analog and digital ground connections of the CCD IC and your system. Even though the CCD interface with an A/D-converter IC usually has separate analog and digital grounds, these grounds are for circuitry within the IC. Don't connect these two grounds to the relatively noisy system digital ground, which would allow digital system noise to couple to the IC's analog-signal sections. You may need to decouple the digital supply to the analog ground plane and connect the digital grounds of the IC to the analog ground; in some cases, using a separate digital-supply subsystem for the CCD ADC is a good idea. Again, check with the vendor for a sample layout that works. Your design may need timing flexibility, as well. CCDs have multiphase clocks, and the A/D subsystem by its nature samples the CCD signal to perform the conversion. Depending on the match between the CCD and the A/D subsystem, the CCD clocks may need some flexibility in timing when sampling occurs. Some CCD processors allow you to adjust the sampling time and other timing parameters via digital codes. Many CCD ADCs provide all needed clocks, derived from a master clock signal, to the CCD; these clocks may also need some provision for adjustment. About a dozen vendors offer A/D converters and subsystems that work well in CCD applications or are expressly designed for these sensors. First, the good news: Among the many offerings, you'll probably find one that has the combination of trade-offs that meets your needs. Now, the bad news: These components are only broadly comparable with each other and differ in their functions, package size and pinouts, architecture, and implementations, as well as detailed performance specifications. For example, some ADCs use digitally controlled PGAs, whereas others use analog-controlled PGAs. Digital control is more processor-friendly, but analog control is continuous over its range, and you can more easily use it in an autonomous closed-loop configuration. If your end product is a basic scanner, you might consider Maxim's 8-bit MAX1101 digitizer, which samples as fast as 1M sample/ sec. The device includes an input multiplexer with two auxiliary, non-CCD channels in addition to the primary CCD input, a 6-bit, digitally controlled PGA with gain range from 2 to 10, and clamp circuitry for black-level correction or CDS operation.
Among the members of Exar's CCD family, the triple-10-bit XRD4433 ADC offers 3M-sample/sec simultaneous sampling. Each channel has independent control for positive and negative DACs, which you use for per-channel offset and gain correction in place of CDS. The device also includes an internal clamp that allows for dc restoration of the analog-input black level. A pair of CCD interfaces from Texas Instruments illustrates how vendors are tailoring their devices to specific applications that require different amounts of resolution and presampling and postsampling pixel manipulation. The company's 12-bit, 6M-sample/sec TLC8044 has an input RGB multiplexer; it offers both DAC-referenced and CDS modes, per-pixel offset and shading compensation, digital-dc restoration, and global gain and offset ad-justment for each color channel. In contrast, the company's 10-bit TLC-8144 operates at the same sampling rate, has an input multiplexer, has CDS but not DAC sampling, and includes digital postprocessing to compensate for variance in offset and luminance. In addition to basic A/D converters that you can use as front ends for CCD imaging, Burr-Brown offers the more complete VSP2000 CCD signal processor. This 10-bit, 18M-sample/sec converter includes CDS, black-level clamping for accurate black-level reference, and an analog-controlled PGA with 34 dB of gain range. SNR is 55 dB, referred to full-scale input. Applications requiring higher resolutions further limit your choices and may require you to separate the A/D converter from the associated CCD signal-processing circuitry. Datel offers A/D converters plus a pair of pin-compatible CDS circuits commensurate with 10- to 14-bit applications. The CDS-1401 for 1.25 million-pixel/sec converters and CDS-1402 for 5 million-pixel/sec converters have gain-matched S/H amplifiers; the CDS-1401 operates with ±10V input and output signals, and the CDS-1402 operates with ±2.5 signals. Both devices, which precede the A/D converter, include independent offset adjustments for each S/H amplifier, as well as control lines for triggering their A/D converters. The standard integration path of adding more functions on a chip holds true for A/D front ends for CCDs. These complete CCD systems can cut board space and component count. They can also eliminate one of the messiest issues of dealing with CCDs and their related circuitry: the fact that the CCD, the converter and its optional multiplexers and correction circuitry, and the digital interface must share management of the CCD's fairly complex timing patterns. These highly integrated ICs can also embed sophisticated gain and offset adjustments that provide corrections for various CCD and image flaws to provide better data fidelity. However, although the IC itself can automatically correct some flaws, some require more intervention and work by your system processor and code. Consider ease of use, completeness, cost, flexibility, and optimization for a specific CCD. National's LM9812 represents the sophistication that CCD processors offer. National built this three-channel device around a 10-bit, 6M-sample/sec A/D converter, but that converter is only one of the many blocks within. Each input has independent PGAs for coarse balance among the red, green, and blue colors, as well as static-offset DACs to correct for color channel offsets. The company supplemented the device's circuitry with correction circuitry, which compensates for PRNU and illumination variations on a per-pixel basis. You can also adjust sampling points in 25-nsec increments to achieve the best performance.
Some applications need no flexible, universal front end but instead need to work with only one vendor's CCD device, or some applications have unique requirements that an integrated design cannot easily meet. In these cases, you may be satisfied with a more focused or easier-to-use configuration. Consider building your own carefully tailored CCD A/D subsystem using separate converters, multiplexers, and even CDS circuitry. For example, you can use a converter such as the LTC1415 from Linear Technology, which the company built around a converter that requires just 55 mW, as the core of a 12-bit, 1.25M-sample/sec system. The devices in Table 1 are just a small sampling of your choices. You can consider both CCD-specific ADCs and more highly integrated devices, and many choices are available. In addition, each vendor's portfolio includes devices with a range of functions and features beyond simple extensions of resolution and speed.
Acknowledgments Thanks to Erik Barnes of Analog Devices Inc, Patrick Kirk of Burr-Brown Corp, Chuck Sabolis of Datel Inc, Bill Levinson of Exar Corp, Todd Nelson of Linear Technology Corp, Tanja Hofner of Maxim Integrated Products, and Fred Hamilton of National Semiconductor Corp for their insight into CCD-A/D converter issues. |
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| EDN Access | Feedback | Table of Contents | |
||||||||||||||||||||||||||
| Copyright © 1997 EDN Magazine, EDN Access. EDN is a registered trademark of Reed Properties Inc, used under license. EDN is published by Cahners Publishing Company, a unit of Reed Elsevier Inc. | ||||||||||||||||||||||||||