19-1958; Rev 4; 5/11 General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators Features ♦ Guaranteed 1.8V to 5.5V Performance 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. ♦ -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 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. 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. ♦ 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) Ordering Information PART µMAX is a registered trademark of Maxim Integrated Products, Inc. Applications Mobile Communications Notebooks and PDAs Automotive Applications Battery-Powered Electronics General-Purpose Portable Devices General-Purpose Low-Voltage Applications PINPACKAGE TEMP RANGE TOP MARK LMX331AXK+T -40°C to +125°C 5 SC70 LMX331AUK+T -40°C to +125°C 5 SOT23 ACD LMX331HAXK+T -40°C to +125°C 5 SC70 LMX331HAUK+T -40°C to +125°C 5 SOT23 ADQS LMX393AKA+T -40°C to +125°C 8 SOT23 AAIF LMX393AUA+T -40°C to +125°C 8 µMAX — LMX393HAKA+T -40°C to +125°C 8 SOT23 AAIG LMX393HAUA+T -40°C to +125°C 8 µMAX — LMX339AUD+T -40°C to +125°C 14 TSSOP — LMX339ASD+T -40°C to +125°C 14 SO — LMX339HAUD+T -40°C to +125°C 14 TSSOP — LMX339HASD+T -40°C to +125°C 14 SO — ADQR ACE +Denotes a lead(Pb)-free/RoHS-compliant package. T = Tape and reel. Pin Configurations TOP VIEW + + IN+ 1 LMX331/LMX331H OUTB 1 5 VDD VSS 2 IN- 3 4 OUT + OUTA 1 INA- 2 INA+ 3 VSS 4 A B 8 VDD 7 OUTB 6 INB- 5 INB+ VDD 3 INA- 4 12 VSS A D 11 IND+ 10 IND- INA+ 5 INB- 6 INB+ 7 14 OUTC 13 OUTD OUTA 2 LMX393/LMX393H SOT23/μMAX SC70/SOT23 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 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 Soldering Temperature (reflow) .......................................+260°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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (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 IOS AV Output Sink Current IO Supply Current (Note 2) IS mV 2 mV 5 µV/°C ±250 ±400 TA = -40°C to +125°C ±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 ISINK ≤ 1mA 50 mV 37 mA VO ≤ 1.5V 5 V/mV LMX331/LMX331H 50 LMX393/LMX393H (both comparators) 70 140 LMX339/LMX339H (all four comparators) 140 200 TA = +25°C Output Leakage Current UNITS 7 ±0.05 VCM VSAT MAX 0.2 TA = -40°C to +85°C TA = +25°C Input Offset Current TYP 100 µ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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (Note 1) PARAMETER SYMBOL CONDITIONS MIN TA = +25°C Input Offset Voltage VOS TYP 0.25 TA = -40°C to +85°C Input Offset Voltage Average Temperature Drift TCVOS IB 2 mV 5 µV/°C ±0.05 TA = -40°C to +85°C ±0.05 TA = -40°C to +85°C Voltage Gain VSAT LMX331/LMX393/LMX339 only 20 ISINK ≤ 4mA 50 70 TA = -40°C to +85°C IO VO ≤ 1.5V TA = +25°C 73 60 TA = -40°C to +85°C IS LMX393/LMX393H (both comparators) LMX339/LMX339H (all four comparators) 170 TA = +25°C 100 200 TA = -40°C to +85°C 250 TA = -40°C to +125°C 300 TA = +25°C 170 µA 300 TA = -40°C to +85°C 350 TA = -40°C to +125°C 430 TA = +25°C Output Leakage Current mA 120 150 TA = -40°C to +125°C Supply Current (Note 2) mV 700 10 LMX331/LMX331H V/mV 400 700 TA = -40°C to +125°C Output Sink Current V 4.2 TA = +25°C Output Saturation Voltage nA ±150 -0.1 VCM AV ±50 ±150 TA = -40°C to +125°C Input Voltage Range nA ±400 TA = +25°C IOS ±250 ±400 TA = -40°C to +125°C Input Offset Current mV 9 LMX331H/LMX393H/LMX339H only TA = +25°C Input Bias Current UNITS 7 9 TA = -40°C to +125°C Input Voltage Hysteresis MAX 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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (Note 1) PARAMETER Input Offset Voltage SYMBOL Input Bias Current MIN VOS Input Voltage Hysteresis Input Offset Voltage Average Temperature Drift CONDITIONS LMX331H/LMX393H/LMX339H only TYP MAX 0.2 5 UNITS mV 2 mV TCVOS 5 µV/°C IB 0.05 nA Input Offset Current IOS 0.05 nA Input Voltage Range VCM -0.1 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 = 0V, VCM = 0V, RL = 5.1kΩ connected to VDD. Typical values are at TA = +25°C. Boldface limits apply at the defined temperature extremes.) (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) 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 60 50 40 TA = +25°C TA = -40°C 20 10 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 40 60 80 40 60 TEMPERATURE (°C) 80 100 120 LMX331 toc03 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 20 60 500 100 120 50 0 40 TEMPERATURE (°C) 100 25 20 PROPAGATION DELAY vs. CAPACITIVE LOAD PROPAGATION DELAY (ns) tPLH -20 500 PROPAGATION DELAY (ns) 150 0 0 0 -40 4 LMX331 toc07 175 -20 -20 100 PROPAGATION DELAY vs. TEMPERATURE -40 VDD = 1.8V 600 60 2 3 SINK CURRENT (mA) 125 -0.5 TEMPERATURE (°C) 70 1 VDD = 2.7V -40 PROPAGATION DELAY (ns) VDD = 2.7V 0 0 6 OUTPUT LOW VOLTAGE vs. TEMPERATURE 20 PROPAGATION DELAY (ns) 5 120 OUTPUT LOW VOLTAGE (mV) OUTPUT LOW VOLTAGE (mV) 120 40 VDD = 5.0V SUPPLY VOLTAGE (V) 140 100 4 LMX331 toc05 1 0.5 -1.0 0 0 1.0 LMX331 toc06 30 TA = +85°C 140 1.5 INPUT OFFSET VOLTAGE (mV) TA = +85°C 70 TA = +125°C 160 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 = 0V, VCM = 0V, RL = 5.1kΩ, CL = 10pF, overdrive = 100mV, TA = +25°C, unless otherwise noted.) Typical Operating Characteristics (continued) (VDD = 5V, VSS = 0V, VCM = 0V, 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: IN+ THRESHOLDS IN- HYSTERESIS BAND VHYST 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 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Ω. IN- 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: 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 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 Package Information For the latest package outline information and land patterns, go to www.maxim-ic.com/packages. Note that a “+”, “#”, or “-” in the package code indicates RoHS status only. Package drawings may show a different suffix character, but the drawing pertains to the package regardless of RoHS status. PACKAGE TYPE PACKAGE CODE DOCUMENT NO. LAND PATTERN NO. 5 SC70 X5+1 21-0076 90-0188 5 SOT23 U5+2 21-0057 90-0174 8 SOT23 K8F+4 21-0078 90-0176 8 µMAX U8+1 21-0036 90-0092 14 TSSOP U16M+1 21-0066 90-0117 14 SOIC S8+4 21-0041 90-0041 0.050V = 5(1000 / (R1 + 1000)) V 8 _______________________________________________________________________________________ General-Purpose, Low-Voltage, Single/Dual/Quad, Tiny-Pack Comparators REVISION NUMBER REVISION DATE 3 8/10 Added lead-free parts 4 5/11 Added thermal data DESCRIPTION PAGES CHANGED 1 2, 3, 4 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. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 _____________________ 9 © 2011 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc. LMX331/LMX393/LMX339 Revision History