LF2272 LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) Colorspace Converter/ Corrector (3 x 12-bits) DEVICES INCORPORATED FEATURES DESCRIPTION ❑ 50 MHz Data and Computation Rate ❑ Full Precision Internal Calculations with Output Rounding ❑ On-board 10-bit Coefficient Storage ❑ Overflow Capability in Low Resolution Applications ❑ Two’s Complement Input and Output Data Format ❑ 3 Simultaneous 12-bit Channels (64 Giga Colors) ❑ Applications: • Component Color Standards Translations (RGB, YIQ, YUV) • Color-Temperature Conversion • Image Capturing and Manipulation • Composite Color Encoding/ Decoding • Three-Dimensional Perspective Translation ❑ Replaces TRW/Raytheon/Fairchild TMC2272 ❑ 120-pin PQFP The LF2272 is a high-speed digital colorspace converter/corrector consisting of three simultaneous 12-bit input and output channels for functionality up to 64 Giga (236) colors. Some of the applications the LF2272 can be used for include phosphor colorimetry correction, image capturing and manipulation, composite color encoding/decoding, color matching, and composite color standards conversion/transcoding. The 3 x 3 matrix multiplier (triple dot product) allows users to easily perform three-dimensional perspective translations or video format conversions at real-time video rates. By using the LF2272, conversions can be made from the RGB (color component) format to the YIQ (quadrature encoded chrominance) or YUV (color difference) formats and vice versa (YIQ or YUV to RGB). Differing signal formats in each stage of a system can be disregarded. For example, using an LF2272 at each format interface allows each stage of a system to operate on the data while in the appropriate format. All inputs and outputs, as well as all control lines, are registered on the rising edge of clock. The LF2272 operates at clock rates up to 50 MHz over the full commercial temperature and supply voltage ranges. A narrower data path can be used to allow the LF2272 to work with many different imaging applications. DETAILS OF OPERATION All three input ports (A, B, C) and all three output ports (X, Y, Z) are utilized to implement a 3 x 3 matrix multiplication (triple dot product). Each truncated 12-bit output is the sum of all three input words multiplied by the appropriate coefficients (Table 1). The pipeline latency is five clock cycles. Therefore, the sum of LF2272 BLOCK DIAGRAM CLK DATA INPUTS COEFFICIENT INPUTS { { A11-0 B11-0 C11-0 KA9-0 KB9-0 KC9-0 2 12 12 12 12 12 12 X11-0 Y11-0 Z11-0 { CWEL1-0 DATA OUTPUTS 10 10 9-MULTIPLIER ARRAY 10 Video Imaging Products 1 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED products will be output five clock cycles after the input data has been registered. New output data is subsequently available every clock cycle thereafter. Colorspace Converter/ Corrector (3 x 12-bits) TABLE 1. DATA FORMATTING The data input ports (A, B, C) and data output ports (X, Y, Z) are 12-bit integer two’s complement format. The coefficient input ports (KA, KB, KC) are 10-bit fractional two’s complement format. Refer to Figures 1a and 1b. BIT WEIGHTING The internal sum of products of the LF2272 can grow to 23 bits. However, in order to keep the output format identical to the input format, the X, Y, and Z outputs are rounded to 12-bit integer words. The rounding is done only at the final output stage to allow accuracy, with correct rounding and overflow, for applications requiring less than 12-bit integer words. The user may adjust the bit weighting by applying an identical scaling correction factor to both the input and output data streams. LATENCY EQUATIONS X(n+4) = A(n)KA1(n) + B(n)KB1(n) + C(n)KC1(n) Y(n+4) = A(n)KA2(n) + B(n)KB2(n) + C(n)KC2(n) Z(n+4) + C(n)KC3(n) = A(n)KA3(n) + B(n)KB3(n) DATA OVERFLOW SYSTEMS SMALLER THAN 12-BITS Because the LF2272’s matched input and output data formats accommodate unity gain (0 dB), input conditions that could lead to numeric overflow may exist. To ensure that no overflow conditions occur, the user must be aware of the maximum input data and coefficient word sizes allowable for each specific algorithm being performed. Using a data path less than 12-bits requires the input data to be right justified and sign extended to 12-bits because the LF2272 carries out all calculations to full precision. Since all least-significant bits are used, the desired X, Y, and Z outputs are rounded correctly and upper-order output bits are used for overflow. FIGURE 1A. INPUT FORMATS Data Input 11 10 9 8 7 –211 210 29 28 27 6 5 4 3 2 1 0 26 25 24 23 22 21 20 (Sign) Coefficient Input 9 8 7 6 5 4 3 2 1 0 –20 2–1 2–2 2–3 2–4 2–5 2–6 2–7 2–8 2–9 (Sign) Internal Sum 20 19 18 17 –211 210 29 28 3 2 1 0 2–6 2–7 2–8 2–9 (Sign) FIGURE 1B. OUTPUT FORMAT Result 11 10 9 8 7 –211 210 29 28 27 6 5 4 3 2 1 0 26 25 24 23 22 21 20 (Sign) Video Imaging Products 2 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED SIGNAL DEFINITIONS Colorspace Converter/ Corrector (3 x 12-bits) TABLE 2. COEFFICIENT INPUTS TABLE 3. INPUT PORT REG. AVAILABLE CWEL1-0 VCC and GND KA KA1, KA2, KA3 00 Hold All Registers +5 V power supply. All pins must be connected. KB KB1, KB2, KB3 01 KA1, KB1, KC1 KC KC1, KC2, KC3 10 KA2, KB2, KC2 11 KA3, KB3, KC3 Power Clock CLK — Master Clock The rising edge of CLK strobes all enabled registers. All timing specifications are referenced to the rising edge of CLK. COEFF. REG. UPDATE COEFFICIENT SET Outputs X11-0, Y11-0, Z11-0 — Data Outputs X, Y, and Z are the 12-bit registered data output ports. Controls Inputs CWEL1-0 — Coefficient Write Enable A11-0, B11-0, C11-0 — Data Inputs The registered coefficient write enable inputs determine which internal coefficient register set to update (Table 3) on the next clock cycle. A, B, and C are the 12-bit registered data input ports. Data presented to these ports is latched into the multiplier input registers. KA9-0, KB9-0, KC9-0 — Coefficient Inputs KA, KB, and KC are the 10-bit registered coefficient input ports. Data presented to these ports is latched into the corresponding internal coefficient register set defined by CWEL1-0 (Table 3) on the next rising edge of CLK. Table 2 shows which coefficient registers are available for each coefficient input port. Video Imaging Products 3 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED FIGURE 2. Colorspace Converter/ Corrector (3 x 12-bits) DETAILED FUNCTIONAL DIAGRAM A 12 KA1 KA KA2 KA3 10 21 B 21 12 KB1 KB KB2 21 KC2 KC3 10 21 CWEL 21 12 KC1 KC KB3 10 21 C 21 21 21 2 12 (MSB) 12 (MSB) X 12 (MSB) Y Z Video Imaging Products 4 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) MAXIMUM RATINGS Above which useful life may be impaired (Notes 1, 2, 3, 8) Storage temperature ........................................................................................................... –65°C to +150°C Operating ambient temperature ........................................................................................... –55°C to +125°C VCC supply voltage with respect to ground ............................................................................ –0.5 V to +7.0 V Input signal with respect to ground ............................................................................... –0.5 V to V CC + 0.5 V Signal applied to high impedance output ...................................................................... –0.5 V to VCC + 0.5 V Output current into low outputs ............................................................................................................. 25 mA Latchup current ............................................................................................................................... > 400 mA OPERATING CONDITIONS To meet specified electrical and switching characteristics Mode Temperature Range (Ambient) Active Operation, Commercial Active Operation, Military Supply Voltage 0°C to +70°C 4.75 V ≤ VCC ≤ 5.25 V –55°C to +125°C 4.50 V ≤ VCC ≤ 5.50 V ELECTRICAL CHARACTERISTICS Over Operating Conditions (Note 4) Symbol Parameter Test Condition Min VOH Output High Voltage Vcc = Min., IOH = –2.0 mA VOL Output Low Voltage Vcc = Min., IOL = 4.0 mA VIH Input High Voltage VIL Input Low Voltage (Note 3) IIX Input Current IOZ Typ Max 2.4 Unit V 0.4 V 2.0 VCC V 0.0 0.8 V Ground ≤ VIN ≤ VCC (Note 12) ±10 µA Output Leakage Current (Note 12) ±40 µA ICC1 VCC Current, Dynamic (Notes 5, 6) 160 mA ICC2 VCC Current, Quiescent (Note 7) 12 mA CIN Input Capacitance TA = 25°C, f = 1 MHz 10 pF COUT Output Capacitance TA = 25°C, f = 1 MHz 10 pF Video Imaging Products 5 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) SWITCHING CHARACTERISTICS COMMERCIAL OPERATING RANGE (0°C to +70°C) Notes 9, 10 (ns) Symbol LF2272– 123456789012345678 123456789012345678 * 123456789012345678 33 25 123456789012345678 123456789012345678 Min Max Min Max 123456789012345678 123456789012345678 123456789012345678 33 25 123456789012345678 123456789012345678 123456789012345678 15 10 123456789012345678 123456789012345678 123456789012345678 10 10 123456789012345678 123456789012345678 123456789012345678 123456789012345678 8 6 123456789012345678 123456789012345678 123456789012345678 0 0 123456789012345678 123456789012345678 123456789012345678 18 16 123456789012345678 Parameter tCYC Cycle Time tPWL Clock Pulse Width Low tPWH Clock Pulse Width High tS Input Setup Time tH Input Hold Time tD Output Delay 20 Min Max 20 6 8 6 0 15 MILITARY OPERATING RANGE (–55°C to +125°C) Notes 9, 10 (ns) Symbol LF2272– 1234567890123456789012345678901212 1234567890123456789012345678901212 * 1234567890123456789012345678901212 33 25* 1234567890123456789012345678901212 1234567890123456789012345678901212 Min Max Min Max 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 33 25 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 15 10 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 10 10 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 12 9 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 0 0 1234567890123456789012345678901212 1234567890123456789012345678901212 1234567890123456789012345678901212 25 20 1234567890123456789012345678901212 Parameter tCYC Cycle Time tPWL Clock Pulse Width Low tPWH Clock Pulse Width High tS Input Setup Time tH Input Hold Time tD Output Delay SWITCHING WAVEFORM 1 2 3 4 6 5 7 8 CLK CWEL1-0 tPWL tPWH tS 01 10 11 Kx1 Kx2 Kx3 0 0 1.0 00 tH KA, KB, KC A, B, C 0 0 0 tD X11-0 KA1 + KB1 + KC1 Y11-0 KA2 + KB2 + KC2 Z11-0 KA3 + KB3 + KC3 123456789012345678901234 123456789012345678901234 123456789012345678901234 *DISCONTINUED SPEED GRADE Video Imaging Products 6 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) NOTES 1. Maximum Ratings indicate stress specifications only. Functional operation of these products at values beyond those indicated in the Operating Conditions table is not implied. Exposure to maximum rating conditions for extended periods may affect reliability. 9. AC specifications are tested with input transition times less than 3 ns, output reference levels of 1.5 V (except tDIS test), and input levels of nominally 0 to 3.0 V. Output loading may be a resistive divider which provides for specified IOH and IOL at an output voltage of VOH min and VOL max 2. The products described by this spec- respectively. Alternatively, a diode ification include internal circuitry de- bridge with upper and lower current signed to protect the chip from damag- sources of I OH and I OL respectively, ing substrate injection currents and ac- and a balancing voltage of 1.5 V may be cumulations of static charge. Neverthe- used. Parasitic capacitance is 30 pF less, conventional precautions should minimum, and may be distributed. be observed during storage, handling, and use of these circuits in order to This device has high-speed outputs caavoid exposure to excessive electrical pable of large instantaneous current stress values. pulses and fast turn-on/turn-off times. As a result, care must be exercised in the 3. This device provides hard clamping of testing of this device. The following transient undershoot and overshoot. In- measures are recommended: put levels below ground or above VCC will be clamped beginning at –0.6 V and a. A 0.1 µF ceramic capacitor should be VCC + 0.6 V. The device can withstand installed between VCC and Ground indefinite operation with inputs in the leads as close to the Device Under Test range of –0.5 V to +7.0 V. Device opera- (DUT) as possible. Similar capacitors tion will not be adversely affected, how- should be installed between device VCC ever, input current levels will be well in and the tester common, and device excess of 100 mA. ground and tester common. 4. Actual test conditions may vary from b. Ground and VCC supply planes those designated but operation is guar- must be brought directly to the DUT anteed as specified. socket or contactor fingers. 5. Supply current for a given applica- c. Input voltages should be adjusted to tion can be accurately approximated by: compensate for inductive ground and VCC noise to maintain required DUT input NCV2 F levels relative to the DUT ground pin. 4 where 10. Each parameter is shown as a min- 11. For the tENA test, the transition is measured to the 1.5 V crossing point with datasheet loads. For the tDIS test, the transition is measured to the ±200mV level from the measured steady-state output voltage with ±10mA loads. The balancing voltage, V TH , is set at 3.5 V for Z-to-0 and 0-to-Z tests, and set at 0 V for Zto-1 and 1-to-Z tests. 12. These parameters are only tested at the high temperature extreme, which is the worst case for leakage current. FIGURE A. OUTPUT LOADING CIRCUIT S1 DUT IOL VTH CL IOH FIGURE B. THRESHOLD LEVELS tENA OE Z tDIS 1.5 V 1.5 V 3.0V Vth 0 1.5 V 1.5 V Z 1 VOL* VOH* 0.2 V 0.2 V 0 Z 1 Z 0V Vth VOL* Measured VOL with IOH = –10mA and IOL = 10mA VOH* Measured VOH with IOH = –10mA and IOL = 10mA imum or maximum value. Input requirements are specified from the point of view of the external system driving the chip. Setup time, for example, is specified as a minimum since the exter6. Tested with all outputs changing ev- nal system must supply at least that ery cycle and no load, at a 20 MHz clock much time to meet the worst-case requirements of all parts. Responses from rate. the internal circuitry are specified from 7. Tested with all inputs within 0.1 V of the point of view of the device. Output VCC or Ground, no load. delay, for example, is specified as a 8. These parameters are guaranteed maximum since worst-case operation of any device always provides data within but not 100% tested. that time. N = total number of device outputs C = capacitive load per output V = supply voltage F = clock frequency Video Imaging Products 7 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) ORDERING INFORMATION 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 X7 X8 VCC X9 X10 X11 GND GND GND C11 C10 C9 C8 C7 GND C6 C5 C4 VCC C3 C2 C1 C0 B11 B10 B9 B8 B7 B6 B5 120-pin 1 2 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 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 Top View B4 B3 CLK B2 B1 B0 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 GND CWE0 CWE1 KA9 KA8 KA7 KA6 KA5 KA4 KA3 KA2 KA1 Z6 Z7 Z8 GND Z9 Z10 Z11 KC0 KC1 KC2 KC3 GND KC4 KC5 KC6 VCC KC7 KC8 KC9 KB0 KB1 KB2 KB3 KB4 KB5 KB6 KB7 KB8 KB9 KA0 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 X6 X5 X4 X3 X2 X1 X0 GND Y11 Y10 Y9 VCC Y8 Y7 Y6 GND Y5 Y4 Y0 VCC Y1 Y2 Y3 GND Z0 Z1 Z2 Z3 Z4 Z5 Plastic Quad Flatpack (Q1) Speed 0°C to +70°C — COMMERCIAL SCREENING 25 ns 20 ns LF2272QC25 LF2272QC20 –40°C to +85°C — COMMERCIAL SCREENING Video Imaging Products 8 08/16/2000–LDS.2272-I LF2272 DEVICES INCORPORATED Colorspace Converter/ Corrector (3 x 12-bits) ORDERING INFORMATION 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 120-pin 1 2 3 4 5 6 7 8 9 10 11 12 13 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 A 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 C8 C7 C5 C3 C1 B10 B7 B4 X7 X9 X10 GND C11 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 B 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 X11 GND C9 C6 C4 C2 X4 X5 X8 B11 B9 B6 B2 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 C 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 X1 X2 X6 VCC GND C10 GND VCC C0 B8 B5 B3 B1 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 D 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Y11 X0 X3 CLK B0 A10 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 KEY 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 E 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 A9 A8 A11 Y9 Y10 GND 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 F 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Top View 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Y7 Y8 VCC A7 A6 A5 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Through Package G 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Y5 Y6 GND A3 A2 A4 (i.e., Component Side Pinout) 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 H 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Y4 Y0 VCC GND A0 A1 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 J 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 KA8 CWEL1 CWEL0 Y1 Y2 GND 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 K 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 KA4 KA7 KA9 Z3 Y3 Z0 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 L 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Z1 Z4 Z6 GND KC0 GND VCC KB0 KB4 KB8 KA1 KA5 KA6 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 M 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Z11 KC2 KC4 KC6 KC9 KB2 KB5 KB9 KA2 KA3 Z2 Z7 Z9 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 N 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Z5 Z8 Z10 KC1 KC3 KC5 KC7 KC8 KB1 KB3 KB6 KB7 KA0 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Discontinued Package 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 1234567890123456789012345678901212345678901234567890123456789012123456789012345678901234567890121 Ceramic Pin Grid Array (G4) Speed 0°C to +70°C — COMMERCIAL SCREENING –55°C to +125°C — COMMERCIAL SCREENING –55°C to +125°C — MIL-STD-883 COMPLIANT Video Imaging Products 9 08/16/2000–LDS.2272-I