19-1958; Rev 2; 1/02 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators Features ♦ Guaranteed 1.8V to 5.5V Performance ♦ -40°C to +125°C Automotive Temperature Range ♦ Low Supply Current (60µA/Comparator at VDD = 5.0V) ♦ Input Common-Mode Voltage Range Includes Ground ♦ No Phase Reversal for Overdriven Inputs ♦ Low Output Saturation Voltage (100mV) ♦ Internal 2mV Hysteresis (LMX331H/LMX393H/LMX339H) ♦ 5-Pin SC70 Space-Saving Package (2.0mm ✕ 2.1mm ✕ 1.0mm) (LMX331/LMX331H) The LMX331/LMX393/LMX339 offer performance advantages such as wider supply voltage range, wider operating temperature range, better CMRR and PSRR, improved response time characteristics, reduced offset, reduced output saturation voltage, reduced input bias current, and improved RF immunity. Ordering Information PART PINPACKAGE TEMP RANGE -40°C to +125°C LMX331AXK-T 5 SC70-5 TOP MARK ACD LMX331AUK-T -40°C to +125°C 5 SOT23-5 LMX331HAXK-T -40°C to +125°C 5 SC70-5 LMX331HAUK-T -40°C to +125°C 5 SOT23-5 ADQS LMX393AKA-T -40°C to +125°C 8 SOT23-8 AAIF Mobile Communications Notebooks and PDAs LMX393AUA -40°C to +125°C 8 µMAX LMX393HAKA-T -40°C to +125°C 8 SOT23-8 Automotive Applications Battery-Powered Electronics General-Purpose Portable Devices General-Purpose Low-Voltage Applications LMX393HAUA -40°C to +125°C 8 µMAX — LMX339AUD -40°C to +125°C 14 TSSOP — LMX339ASD -40°C to +125°C 14 SO — LMX339HAUD -40°C to +125°C 14 TSSOP — LMX339HASD -40°C to +125°C 14 SO — Applications ADQR ACE — AAIG Pin Configurations TOP VIEW OUTB 1 LMX331/LMX331H IN+ 1 5 VDD VSS 2 1 INA- 2 4 OUT VSS LMX393/LMX393H A 3 4 VDD 7 OUTB 6 B 5 INBINB+ VDD 3 INA- 4 12 VSS A D INB+ 7 11 IND+ 10 IND- INA+ 5 INB- 6 SOT23/µMAX SC70/SOT23 8 14 OUTC 13 OUTD OUTA 2 OUTA INA+ IN- 3 LMX339/LMX339H B C 9 INC+ 8 INC- TSSOP/SO ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com. 1 LMX331/LMX393/LMX339 General Description The LMX331/LMX393/LMX339 single/dual/quad comparators are drop-in, pin-for-pin-compatible replacements for the LMV331/LMV393/LMV339. The LMX331H/ LMX393H/LMX339H offer the performance of the LMX331/LMX393/LMX339 with the added benefit of internal hysteresis to provide noise immunity, preventing output oscillations even with slow-moving input signals. Advantages of the LMX331/LMX393/LMX339 series include low supply voltage, small package, and low cost. The LMX331 is available in both 5-pin SC70 and SOT23 packages, LMX393 is available in both 8-pin µMAX and smaller SOT23 packages, and the LMX339 is available in 14-pin TSSOP and SO packages. They are manufactured using advanced submicron CMOS technology. Designed with the most modern techniques, the LMX331/LMX393/LMX339 achieve superior performance over BiCMOS or bipolar versions on the market. LMX331/LMX393/LMX339 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators ABSOLUTE MAXIMUM RATINGS Supply Voltage (VDD to VSS)...................................-0.3V to +6V All Other Pins .................................. (VSS - 0.3V) to (VDD + 0.3V) Continuous Power Dissipation (TA = +70°C) 5-Pin SC70 (derate 3.1mW/°C above +70°C) ..............247mW 5-Pin SOT23 (derate 7.1mW/°C above +70°C)............571mW 8-Pin SOT23 (derate 8.9mW/°C above +70°C)............714mW 8-Pin µMAX (derate 10.3mW/°C above +70°C) ...........825mW 14-Pin TSSOP (derate 9.1mW/°C above +70°C) .........727mW 14-Pin SO (derate 8.3mW/°C above +70°C).............666.7mW Operating Temperature Range .........................-40°C to +125°C Junction Temperature ......................................................+150°C Storage Temperature Range .............................-65°C to +150°C Lead Temperature (soldering, 10s) .................................+300°C Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. DC ELECTRICAL CHARACTERISTICS—2.7V OPERATION (VDD = 2.7V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) (Note 1) PARAMETER Input Offset Voltage SYMBOL CONDITIONS MIN VOS Input Voltage Hysteresis VHYST Input Offset Voltage Average Temperature Drift TCVOS LMX331H/LMX393H/LMX339H only TA = +25°C Input Bias Current IB Input Voltage Range Voltage Gain Output Saturation Voltage Output Sink Current IOS AV IO IS mV mV 5 µV/°C ±250 ±400 ±400 ±0.05 nA ±50 TA = -40°C to +85°C ±150 TA = -40°C to +125°C ±150 -0.1 nA V 2.0 LMX331/LMX393/LMX339 only 50 V/mV ISINK ≤ 1mA 50 mV VO ≤ 1.5V 5 37 50 mA 100 LMX393/LMX393H (both comparators) 70 140 LMX339/LMX339H (all four comparators) 140 200 TA = +25°C Output Leakage Current UNITS 2 TA = -40°C to +125°C LMX331/LMX331H Supply Current (Note 2) 7 TA = -40°C to +85°C VCM VSAT MAX 0.2 ±0.05 TA = +25°C Input Offset Current TYP µA 0.003 TA = -40°C to +85°C 1 TA = -40°C to +125°C 2 µA AC ELECTRICAL CHARACTERISTICS—2.7V OPERATION (VDD = 2.7V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL Propagation Delay Output High to Low tPHL Propagation Delay Output Low to High tPLH 2 CONDITIONS MIN TYP Input overdrive = 10mV (Note 3) 500 Input overdrive = 100mV (Note 3) 100 Input overdrive = 10mV (Note 3) 500 Input overdrive = 100mV (Note 3) 100 _______________________________________________________________________________________ MAX UNITS ns ns General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators (VDD = 5V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TA = +25°C Input Offset Voltage VOS Input Voltage Hysteresis Input Offset Voltage Average Temperature Drift 9 9 TCVOS Input Voltage Range Voltage Gain IOS AV Output Sink Current VSAT IO ±0.05 ±150 TA = -40°C to +125°C ±150 -0.1 ISINK ≤ 4mA TA = -40°C to +85°C 700 700 10 LMX339/LMX339H (all four comparators) 73 60 120 150 TA = -40°C to +125°C 170 TA = +25°C 100 200 TA = -40°C to +85°C 250 TA = -40°C to +125°C 300 TA = +25°C 170 mV mA TA = -40°C to +85°C µA 300 TA = -40°C to +85°C 350 TA = -40°C to +125°C 430 TA = +25°C Output Leakage Current V/mV 400 TA = -40°C to +125°C VO ≤ 1.5V LMX393/LMX393H (both comparators) 50 70 nA V 4.2 20 nA ±50 TA = -40°C to +85°C TA = +25°C IS ±250 ±400 LMX331/LMX331H Supply Current (Note 2) µV/°C ±400 TA = +25°C Output Saturation Voltage 5 TA = -40°C to +125°C LMX331/LMX393/LMX339 only mV mV TA = -40°C to +85°C VCM UNITS 2 ±0.05 TA = +25°C Input Offset Current 7 TA = -40°C to +125°C LMX331H/LMX393H/LMX339H only IB MAX TA = -40°C to +85°C TA = +25°C Input Bias Current TYP 0.25 0.003 TA = -40°C to +85°C 1 TA = -40°C to +125°C 2 µA AC ELECTRICAL CHARACTERISTICS—5.0V OPERATION (VDD = 5V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) (Note 1) PARAMETER SYMBOL Propagation Delay Output High to Low tPHL Propagation Delay Output Low to High tPLH CONDITIONS MIN TYP Input overdrive = 10mV (Note 3) 400 Input overdrive = 100mV (Note 3) 90 Input overdrive = 10mV (Note 3) 600 Input overdrive = 100mV (Note 3) 200 MAX UNITS ns ns _______________________________________________________________________________________ 3 LMX331/LMX393/LMX339 DC ELECTRICAL CHARACTERISTICS—5.0V OPERATION LMX331/LMX393/LMX339 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators DC ELECTRICAL CHARACTERISTICS—1.8V OPERATION (VDD = 1.8V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) PARAMETER Input Offset Voltage SYMBOL Input Voltage Hysteresis Input Offset Voltage Average Temperature Drift Input Bias Current Input Offset Current Input Voltage Range CONDITIONS MIN VOS LMX331H/LMX393H/LMX339H only TYP MAX 0.2 5 UNITS mV 2 mV TCVOS 5 µV/°C IB 0.05 nA IOS 0.05 nA -0.1 VCM Output Saturation Voltage VSAT ISINK ≤ 1mA Power-Supply Rejection Ratio PSRR VDD = 1.8V to 5.5V Output Sink Current IO Supply Current (Note 2) IS V 1 35 60 VO ≤ 1.5V mV 70 dB 15 mA LMX331/LMX331H 40 LMX393/LMX393H (both comparators) 65 140 LMX339/LMX339H (all four comparators) 120 200 Output Leakage Current 100 0.003 µA µA AC ELECTRICAL CHARACTERISTICS—1.8V OPERATION (VDD = 1.8V, VSS = 0, VCM = 0, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C.) PARAMETER SYMBOL Propagation Delay Output High to Low tPHL Propagation Delay Output Low to High tPLH CONDITIONS MIN TYP Input overdrive = 10mV (Note 3) 500 Input overdrive = 100mV (Note 3) 100 Input overdrive = 10mV (Note 3) 500 Input overdrive = 100mV (Note 3) 100 Note 1: All devices are production tested at +25°C. All temperature limits are guaranteed by design. Note 2: Supply current when output is high. Note 3: Input overdrive is the overdrive voltage beyond the offset and hysteresis-determined trip points. 4 _______________________________________________________________________________________ MAX UNITS ns ns General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators 70 60 50 40 TA = +25°C TA = -40°C 20 10 TA = +85°C 140 120 100 80 TA = +25°C 60 TA = -40°C 40 20 VOUT = HIGH VOUT = LOW 2 3 4 5 1 6 2 3 SUPPLY VOLTAGE (V) OUTPUT LOW VOLTAGE vs. SINK CURRENT LMX331 toc04 80 VDD = 1.8V 60 VDD = 5.0V IOUT = 4mA 0 110 100 90 80 100 75 tPHL 50 0 20 25 40 60 80 60 TEMPERATURE (°C) 80 100 120 60 80 100 120 400 tPLH 300 200 tPHL 0 40 60 80 100 PROPAGATION DELAY vs. INPUT OVERDRIVE (tPLH) PROPAGATION DELAY vs. INPUT OVERDRIVE (tPHL) 400 TA = -40°C 350 TA = +25°C 300 250 200 TA = +85°C 180 TA = -40°C 160 140 TA = +25°C 120 100 TA = +125°C 80 60 TA = +85°C 40 TA = +125°C 120 200 LMX331 toc08 450 150 20 CAPACITIVE LOAD (pF) 20 0 40 40 500 100 120 50 0 20 TEMPERATURE (°C) 100 20 0 PROPAGATION DELAY vs. CAPACITIVE LOAD PROPAGATION DELAY (ns) tPLH -20 500 PROPAGATION DELAY (ns) 150 0 -20 0 -40 4 LMX331 toc07 175 -20 VDD = 1.8V 100 PROPAGATION DELAY vs. TEMPERATURE -40 -0.5 600 60 2 3 SINK CURRENT (mA) 125 VDD = 2.7V TEMPERATURE (°C) 70 1 0 -40 PROPAGATION DELAY (ns) VDD = 2.7V 0 VDD = 5.0V 6 OUTPUT LOW VOLTAGE vs. TEMPERATURE 20 PROPAGATION DELAY (ns) 5 120 OUTPUT LOW VOLTAGE (mV) OUTPUT LOW VOLTAGE (mV) 120 40 0.5 SUPPLY VOLTAGE (V) 140 100 4 LMX331 toc05 1 1.0 -1.0 0 0 LMX331 toc03 160 1.5 LMX331 toc06 30 TA = +125°C INPUT OFFSET VOLTAGE (mV) TA = +85°C SUPPLY CURRENT (µA) SUPPLY CURRENT (µA) 80 LMX331 toc02 TA = +125°C 90 180 LMX331 toc01 100 INPUT OFFSET VOLTAGE vs. TEMPERATURE LMX331 SUPPLY CURRENT vs. SUPPLY VOLTAGE LMX331 toc09 LMX331 SUPPLY CURRENT vs. SUPPLY VOLTAGE 0 0 25 50 75 100 INPUT OVERDRIVE (mV) 125 150 0 25 50 75 100 125 150 INPUT OVERDRIVE (mV) _______________________________________________________________________________________ 5 LMX331/LMX393/LMX339 Typical Operating Characteristics (VDD = 5V, VSS = 0, VCM = 0, RL = 5.1kΩ, CL = 10pF, overdrive = 100mV, TA = +25°C, unless otherwise noted.) Typical Operating Characteristics (continued) (VDD = 5V, VSS = 0, VCM = 0, RL = 5.1kΩ, CL = 10pF, overdrive = 100mV, TA = +25°C, unless otherwise noted.) HYSTERESIS (mV) 4 2.0 1.5 1.0 0 (IN-) - IN+ 100mV/div 3 2 1 0.5 OUT 2V/div 0 20 40 60 80 100 120 1 2 3 4 SUPPLY VOLTAGE (V) PROPAGATION DELAY 10mV OVERDRIVE 500kHz RESPONSE 100mV OVERDRIVE (IN-) - IN+ 10mV/div OUT 2V/div 5 6 (IN-) - IN+ 100mV/div TIME (200ns/div) 500kHz RESPONSE 10mV OVERDRIVE LMX331 toc14 TEMPERATURE (°C) LMX331 toc15 0 (IN-) - IN+ 10mV/div OUT 2V/div OUT 2V/div TIME (500ns/div) 100kHz RESPONSE 100mV OVERDRIVE 100kHz RESPONSE 10mV OVERDRIVE POWER-UP RESPONSE (IN-) - IN+ 100mV/div OUT 2V/div (IN-) - IN+ 10mV/div VDD 2V/div OUT 2V/div OUT 2V/div TIME (2µs/div) LMX331 toc18 TIME (500ns/div) LMX331 toc16 TIME (200ns/div) LMX331 toc17 -20 LMX331 toc13 -40 6 LMX331 toc11 2.5 PROPAGATION DELAY 100mV OVERDRIVE 5 LMX331 toc10 3.0 LMX331H/LMX393H/LMX339H HYSTERESIS vs. SUPPLY VOLTAGE LMX331 toc12 LMX331H/LMX393H/LMX339H HYSTERESIS vs. TEMPERATURE HYSTERESIS (mV) LMX331/LMX393/LMX339 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators TIME (2µs/div) TIME (1µs/div) _______________________________________________________________________________________ General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators LMX331 1 2 3 4 5 — — — — — — — — — — — — PIN LMX393 — 4 — — 8 1 7 2 3 5 6 — — — — — — LMX339 — 12 — — 3 2 1 4 5 7 6 8 9 10 11 13 14 NAME IN+ VSS INOUT VDD OUTA OUTB INAINA+ INB+ INBINCINC+ INDIND+ OUTD OUTC FUNCTION Noninverting Input Negative Supply (Connect to GND) Inverting Input Comparator Output (Open-Drain) Positive Supply Comparator A Output (Open-Drain) Comparator B Output (Open-Drain) Comparator A Inverting Input Comparator A Noninverting Input Comparator B Noninverting Input Comparator B Inverting Input Comparator C Inverting Input Comparator C Noninverting Input Comparator D Inverting Input Comparator D Noninverting Input Comparator D Output (Open-Drain) Comparator C Output (Open-Drain) Detailed Description The LMX331/LMX393/LMX339 are single/dual/quad, low-cost, general-purpose comparators. They have a single-supply operating voltage of 1.8V to 5V. The common-mode input range extends from -0.1V below the negative supply to within 0.7V of the positive supply. They require approximately 60µA per comparator with a 5V supply and 40µA with a 2.7V supply. The LMX331H/LMX393H/LMX339H have 2mV of hysteresis for noise immunity. This significantly reduces the chance of output oscillations even with slow-moving input signals. The LMX331/LMX393/LMX339 and LMX331H/LMX393H/LMX339H are ideal for automotive applications because they operate from -40°C to +125°C (see Typical Operating Characteristics). Applications Information input voltage (Figure 1). The difference between the trip points is the hysteresis. When the comparator's input voltages are equal, the hysteresis effectively causes one comparator input to move quickly past the other, thus taking the input out of the region where oscillation occurs. This provides clean output transitions for noisy, slow-moving input signals. Additional hysteresis can be generated with two resistors, using positive feedback (Figure 2). Use the following procedure to calculate resistor values: THRESHOLDS IN+ INVHYST HYSTERESIS BAND VTH VTL Hysteresis Many comparators oscillate in the linear region of operation because of noise or undesired parasitic feedback. This tends to occur when the voltage on one input is equal or very close to the voltage on the other input. The LMX331H/LMX393H/LMX339H have internal hysteresis to counter parasitic effects and noise. The hysteresis in a comparator creates two trip points: one for the rising input voltage and one for the falling OUT Figure 1. Threshold Hysteresis Band (Not to Scale) _______________________________________________________________________________________ 7 LMX331/LMX393/LMX339 Pin Description LMX331/LMX393/LMX339 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators VDD RL R1 VDD R2 VREF IN+ OUT VIN VOUT IN- where R1 ≈ 100kΩ, VTH = 2.525V, and VTL = 2.475V. Choose R1 and R2 to be large enough as not to exceed the amount of current the reference can supply. The source current required is VREF / (R1 + R2). The sink current is (VOUT(HIGH) - VREF) ✕ (R1 + R2). Choose RL to be large enough to avoid drawing excess current, yet small enough to supply the necessary current to drive the load. RL should be between 1kΩ and 10kΩ. Board Layout and Bypassing LMX331 VSS Figure 2. Adding Hysteresis with External Resistors 1) Find output voltage when output is high: VOUT(HIGH) = VDD - ILOAD ✕ RL 2) Find the trip points of the comparator using these formulas: VTH = VREF + ((VOUT(HIGH) - VREF)R2) / (R1 + R2) VTL = VREF(1 - (R2 / (R1 + R2))) where VTH is the threshold voltage at which the comparator switches its output from high to low as VIN rises above the trip point, and VTL is the threshold voltage at which the comparator switches its output from low to high as VIN drops below the trip point. 3) The hysteresis band will be: Use 0.1µF bypass capacitors from VDD to VSS. To maximize performance, minimize stray inductance by putting this capacitor close to the VDD pin and reducing trace lengths. For slow-moving input signals (rise time > 1ms), use a 1nF capacitor between IN+ and INto reduce high-frequency noise. Chip Information LMX331/LMX331H TRANSISTOR COUNT: 112 LMX393/LMX393H TRANSISTOR COUNT: 211 LMX339/LMX339H TRANSISTOR COUNT: 411 VHYST = VTH - VTL = VDD(R2 / (R1 + R2)) In this example, let VDD = 5V, VREF = 2.5V, ILOAD = 50nA, RL = 5.1kΩ: VOUT(HIGH) = 5.0V - (50 ✕ 10-9 ✕ 5.1 ✕ 103Ω) ≈ 5.0V VTH = 2.5V + 2.5V(R2 / (R1 + R2)) VTL = 2.5V(1 - (R2 / (R1 + R2))) Select R2. In this example, we will choose 1kΩ. Select VHYST. In this example, we will choose 50mV. Solve for R1: VHYST = VOUT(HIGH)(R2 / (R1 + R2)) V 0.050V = 5(1000 / (R1 + 1000)) V 8 _______________________________________________________________________________________ General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators SC70, 5L.EPS SOT5L.EPS _______________________________________________________________________________________ 9 LMX331/LMX393/LMX339 Package Information General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators 8LUMAXD.EPS SOT23, 8L.EPS LMX331/LMX393/LMX339 Package Information (continued) 10 ______________________________________________________________________________________ General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators TSSOP,NO PADS.EPS ______________________________________________________________________________________ 11 LMX331/LMX393/LMX339 Package Information (continued) General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators SOICN.EPS LMX331/LMX393/LMX339 Package Information (continued) Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. 12 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 © 2002 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.