LMV7235/LMV7239 45ns, Ultra Low Power, Low Voltage, Rail-to-Rail Input Comparator with Open-Drain/Push-Pull Output General Description Features The LMV7235/39 are ultra low power, low voltage, 45ns comparators. They are guaranteed to operate over the full supply voltage range of 2.7V to 5V. These devices achieve a 45ns propagation delay while consuming only 65µA of supply current at 5V. The LMV7235/39 have a greater than rail-to-rail common mode voltage range. The input common mode voltage range extends 200mV below ground and 200mV above supply, allowing both ground and supply sensing. The LMV7235 features an open drain output. By connecting an external resistor, the output of the comparator can be used as a level shifter. The LMV7239 features a push-pull output stage. This feature allows operation without the need of an external pull-up resistor. The LMV7235/39 are available in the SC70-5 and SOT23-5 packages, which are ideal for systems where small size and low power is critical. (VS = 5V, TA = 25˚C, Typical values unless otherwise specified) n Propagation delay 45ns n Low supply current 65µA n Rail-to-Rail input n Open drain and push-pull output n Ideal for 2.7V and 5V single supply applications n Available in space saving packages: 5-pin SOT23-5 and 5-pin SC70-5 Applications n n n n n n n Portable and battery powered systems Scanners Set top boxes High speed differential line receiver Window comparators Zero-crossing detectors High speed sampling circuits Typical Application 10135902 © 2002 National Semiconductor Corporation DS101359 www.national.com LMV7235/LMV7239 45 nsec, Ultra Low Power, Low Voltage, Rail-to-Rail Input Comparator with Open-Drain/Push-Pull Output February 2002 LMV7235/LMV7239 Connection Diagram SC70-5/SOT23-5 10135903 Top View Ordering Information Package 5-pin SC70-5 5-pin SOT23-5 Part Number Marking Supplied as 1k Units Tape and Reel LMV7235M7 C21 LMV7235M7X C21 3k Units Tape and Reel LMV7239M7 C20 1k Units Tape and Reel LMV7239M7X C20 3k Units Tape and Reel LMV7235M5 C21A 1k Units Tape and Reel LMV7235M5X C21A 3k Units Tape and Reel LMV7239M5 C20A 1k Units Tape and Reel LMV7239M5X C20A 3k Units Tape and Reel NSC Drawing MAA05A MF05A Simplified Schematic 10135901 www.national.com 2 (Note 1) If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. ESD Tolerance (Note 2) Voltage at Input/Output Pins (V+) +0.3V (V−) −0.3V Current at Input Pin (Note 9) ± 10mA Operating Ratings Machine Body 100V Human Model Body Supply Voltages (V+ - V−) 1000V ± Supply Voltage Differential Input Voltage Output Short Circuit Duration (Note 3) Supply Voltage (V+ - V−) 5.5V Wave Soldering (10 sec) −40˚C to +85˚C Storage Temperature Range −65˚C to +150˚C Package Thermal Resistance Soldering Information Infrared or Convection (20 sec) 2.7V to 5V Junction Temperature Range (Note 4) 235˚C 260˚C (lead temp) SC70-5 478˚C/W SOT23-5 265˚C/W 2.7V Electrical Characteristics Unless otherwise specified, all limits guaranteed for TJ = 25˚C, VCM = V+/2, V+ = 2.7V, V− = 0V−. Boldface limits apply at the temperature extremes. Symbol Parameter Conditions Typ (Note 5) Limits (Note 6) Units VOS Input Offset Voltage 0.8 6 8 mV max IB Input Bias Current 30 400 600 nA max IOS Input Offset Current 5 200 400 nA max CMRR Common Mode Rejection Ratio 0V < VCM < 2.7V (Note 7) 62 52 dB min PSRR Power Supply Rejection Ratio V+ = 2.7V to 5V 85 65 dB min VCM Input Common-Mode Voltage Range CMRR > 50dB V+ +0.2 V+ +0.1 V+ V min −0.2 −0.1 0 V max IL = 4mA, VID = 500mV V+ −0.26 V+ −0.35 V min IL = 0.4mA, VID = 500mV V+ −0.02 IL = −4mA, VID = −500mV 230 IL = −0.4mA, VID = −500mV 15 mV max Sourcing, VO = 0V (LMV7239 only) (Note 3) 15 mA Sinking, VO = 2.7V (LMV7235 RL = 10k) (Note 3) 20 mA No load 52 VO Output Swing High (LMV7239 only) Output Swing Low (LMV7239/LMV7235) ISC IS Output Short Circuit Current Supply Current 3 V min 350 450 85 100 mV max µA max www.national.com LMV7235/LMV7239 Absolute Maximum Ratings LMV7235/LMV7239 2.7V Electrical Characteristics (Continued) Unless otherwise specified, all limits guaranteed for TJ = 25˚C, VCM = V+/2, V+ = 2.7V, V− = 0V−. Boldface limits apply at the temperature extremes. Symbol tPD Parameter Propagation Delay Conditions Typ (Note 5) Limits (Note 6) Units Overdrive = 20mV (Note 10) 68 ns Overdrive = 50mV (Note 10) 63 ns Overdrive = 100mV (Note 10) 50 ns 5 ns tSKEW Propagation Delay Skew (LMV7239 only) (Note 8) tr Output Rise Time LMV7239 10% to 90% 1.7 ns LMV7235 10% to 90% (Note 10) 112 ns 90% to 10% 1.7 ns 3 nA tf Output Fall Time ILEAKAGE Output Leakage Current (LMV7235 only) 5V Electrical Characteristics Unless otherwise specified, all limits guaranteed for TJ = 25˚C, VCM = V+/2, V+ = 5V, V− = 0V. Boldface limits apply at the temperature extremes. Symbol Parameter Conditions Typ (Note 5) Limits (Note 6) Units VOS Input Offset Voltage 1 6 8 mV max IB Input Bias Current 30 400 600 nA max IOS Input Offset Current 5 200 400 nA max CMRR Common Mode Rejection Ratio 0V < VCM < 5V 67 52 dB min PSRR Power Supply Rejection Ratio V+ = 2.7V to 5V 85 65 dB min VCM Input Common-Mode Voltage Range CMRR > 50dB V+ +0.2 V+ +0.1 V+ V min −0.2 −0.1 0 V max IL = 4mA, VID = 500mV V+ −0.15 V+ −0.25 V min IL = 0.4mA, VID = 500mV V+ −0.01 IL = −4mA, VID = −500mV 230 IL = −0.4mA, VID = −500mV 10 VO Output Swing High (LMV7239 only) Output Swing Low (LMV7239/LMV7235) www.national.com 4 V min 350 450 mV max mV max (Continued) Unless otherwise specified, all limits guaranteed for TJ = 25˚C, VCM = V+/2, V+ = 5V, V− = 0V. Boldface limits apply at the temperature extremes. Symbol ISC Parameter Output Short Circuit Current Conditions Typ (Note 5) Limits (Note 6) Units Sourcing, VO = 0V (LMV7239 only) (Note 3) 55 25 15 mA min Sinking, VO = 5V (LMV7235 RL = 10k) (Note 3) 60 30 20 mA min 95 110 µA max IS Supply Current No load 65 tPD Propagation Delay Overdrive = 20mV (Note 10) 62 ns max Overdrive = 50mV (Note 10) 57 ns max Overdrive = 100mV (Note 10) 45 ns max 5 ns tSKEW Propagation Delay Skew (LMV7239 only) (Note 8) tr Output Rise Time LMV7239 10% to 90% 1.2 ns LMV7235 10% to 90% (Note 10) 100 ns 90% to 10% 1.2 ns 3 nA tf Output Fall Time ILEAKAGE Output Leakeage Current (LMV7235 only) Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is intended to be functional, but specific performance is not guaranteed. For guaranteed specifications and the test conditions, see the Electrical characteristics. Note 2: Human body model, 1.5kΩ in series with 100pF. Machine model, 200pF. Note 3: Applies to both single-supply and split-supply operation. Continuous short circuit operation at elevated ambient temperature can result in exceeding the maximum allowed junction temperature of 150˚C. Output currents in excess of ± 30mA over long term may adversely affect reliability. Note 4: The maximum power dissipation is a function of TJ(max), θJA, and TA. The maximum allowable power dissipation at any ambient temperature is PD = (TJ(max) - TA)/θJA. All numbers apply for packages soldered directly into a PC board. Note 5: Typical Values represent the most likely parametric norm. Note 6: All limits are guaranteed by testing or statistical analysis. Note 7: CMRR is not linear over the common mode range. Limits are guaranteed over the worst case from 0 to VCC/2 or VCC/2 to VCC. Note 8: Propagation Delay Skew is defined as the absolute value of the difference between tPDLH and tPDHL. Note 9: Limiting input pin current is only necessary for input voltages that exceed absolute maximum input voltage ratings. Note 10: A 10k pull-up resistor was used when measuring the LMV7235. The rise time of the LMV7235 is a function of the R-C time constant. 5 www.national.com LMV7235/LMV7239 5V Electrical Characteristics LMV7235/LMV7239 Typical Performance Characteristics (Unless otherwise specified, VS = 5V, CL = 10pF, TA = 25˚C). Supply Current vs. Supply Voltage Sourcing Current vs. Output Voltage 10135904 10135905 Sourcing Current vs. Output Voltage Sinking Current vs. Output Voltage 10135906 10135907 Sinking Current vs. Output Voltage Input Bias Current vs. Input Voltage 10135909 10135908 www.national.com 6 (Unless otherwise specified, VS = 5V, CL = 10pF, TA = 25˚C). (Continued) Input Bias Current vs. Input Voltage Propagation Delay vs. Temperature 10135911 10135910 Propagation Delay vs. Capacitive Load Propagation Delay vs. Capacitive Load 10135912 10135913 Propagation Delay vs. Input Overdrive Propagation Delay vs. Input Overdrive 10135914 10135915 7 www.national.com LMV7235/LMV7239 Typical Performance Characteristics LMV7235/LMV7239 Typical Performance Characteristics (Unless otherwise specified, VS = 5V, CL = 10pF, TA = 25˚C). (Continued) Propagation Delay vs. Common Mode Voltage Propagation Delay vs. Common Mode Voltage 10135916 10135917 Application Section Comparator with Hysteresis The basic comparator configuration may oscillate or produce a noisy output if the applied differential input voltage is near the comparator’s offset voltage. This usually happens when the input signal is moving very slowly across the comparator’s switching threshold. This problem can be prevented by the addition of hysteresis or positive feedback. Inverting Comparator with Hysteresis The inverting comparator with hysteresis requires a three resistor network that is referenced to the supply voltage VCC of the comparator. When VIN at the inverting input is less than VA, the voltage at the non-inverting node of the comparator (VIN < VA), the output voltage is high (for simplicity assume VO switches as high as VCC). The three network resistors can be represented as R1//R3 in series with R2. The lower input trip voltage VA1 is defined as VA1 = VCCR2 / ((R1//R3) + R2) The LMV7235/LMV7239 are single supply comparators with 45ns of propagation delay and only 65µA of supply current. The LMV7235/LMV7239 are rail-to-rail input and output. The typical input common mode voltage range of −0.2V below the ground to 0.2V above the supply. The LMV7235/39 use a complimentary PNP and NPN input stage in which the PNP stage senses common mode voltage near V− and the NPN stage senses common mode voltage near V+. If either of the input signals falls below the negative common mode limit, the parasitic PN junction formed by the substrate and the base of the PNP will turn on resulting in an increase of input bias current. If one of the input goes above the positive common mode limit, the output will still maintain the correct logic level as long as the other input stays within the common mode range. However, the propagation delay will increase. When both inputs are outside the common mode voltage range, current saturation occurs in the input stage, and the output becomes unpredictable. The propagation delay does not increase significantly with large differential input voltages. However, large differential voltages greater than the supply voltage should be avoided to prevent damage to the input stage. The LMV7239 has a push-pull output. When the output switches, there is a direct path between VCC and ground, causing high output sinking or sourcing current during the transition. After the transition, the output current decreases and the supply current settles back to about 65µA at 5V, thus conserving power consumption. The LMV7235 has an open drain that requires a pull-up resistor to a positive supply voltage for the output to switch properly. When the internal output transistor is off, the output voltage will be pulled up to the external positive voltage. www.national.com When VIN is greater than VA (VIN > VA), the output voltage is low, very close to ground. In this case the three network resistors can be presented as R2//R3 in series with R1. The upper trip voltage VA2 is defined as VA2 = VCC (R2//R3) / ((R1+ (R2//R3) The total hysteresis provided by the network is defined as Delta VA = VA1- VA2 To assure that the comparator will always switch fully to VCC and not be pulled down by the load the resistors, values should be chosen as follow: RPULL-UP << RLOAD 8 LMV7235/LMV7239 Application Section (Continued) 10135924 10135919 FIGURE 1. 10135920 Non-Inverting Comparator with Hysteresis A non inverting comparator with hysteresis requires a two resistor network, and a voltage reference (VREF) at the inverting input. When VIN is low, the output is also low. For the output to switch from low to high, VIN must rise up to VIN1 where VIN1 is calculated by. VIN1 = R1*(VREF/R2) + VREF FIGURE 2. Non-Inverting Comparator with Hysteresis Circuit Layout and Bypassing The LMV7235/39 require high speed layout. Follow these layout guidelines: 1. Use printed circuit board with a good, unbroken lowinductance ground plane. 2. Place a decoupling capacitor (0.1µF ceramic surface mount capacitor) as close as possible to VCC pin. 3. On the inputs and the output, keep lead lengths as short as possible to avoid unwanted parasitic feedback around the comparator. Keep inputs away from output. 4. Solder the device directly to the printed circuit board rather than using a socket. 5. For slow moving input signals, take care to prevent parasitic feedback. A small capacitor (1000pF or less) placed between the inputs can help eliminate oscillations in the transition region. This capacitor causes some degradation to tPD when the source impedance is low. 6. The topside ground plane runs between the output and inputs. 7. Ground trace from the ground pin runs under the device up to the bypass capacitor, shielding the inputs from the outputs. When VIN is high, the output is also high, to make the comparator switch back to it’s low state, VIN must equal VREF before VA will again equal VREF. VIN can be calculated by VIN2 = (VREF (R1+ R2) - VCCR1)/R2 The hysteresis of this circuit is the difference between VIN1 and VIN2. Delta VIN = VCCR1/R2 9 www.national.com LMV7235/LMV7239 Application Section the inverting input node at an appropriate DC average level based on the output. The crystal’s path provides resonant positive feedback and stable oscillation occurs. The output duty cycle for this circuit is roughly 50%, but it is affected by resistor tolerances and to a lesser extent by the comparator offset. (Continued) Zero-Crossing Detector The inverting input is connected to ground and the noninverting input is connected to 100mVp-p signal. As the signal at the non-inverting input crosses 0V, the comparator’s output changes state. 10135918 10135922 FIGURE 3. Zero-Crossing Detector FIGURE 5. Crystal Oscillator Threshold Detector Instead of tying the inverting input to 0V, the inverting input can be tied to a reference voltage. The non-inverting input is connected to the input. As the input passes the VREF threshold, the comparator’s output changes state. IR Receiver The LMV7239 is an ideal candidate to be used as an infrared receiver. The infrared photo diode creates a current relative to the amount of infrared light present. The current creates a voltage across RD. When this voltage level cross the voltage applied by the voltage divider to the inverting input, the output transitions. 10135921 FIGURE 4. Threshold Detector Crystal Oscillator A simple crystal oscillator using the LMV7239 is shown below. Resistors R1 and R2 set the bias point at the comparator’s non-inverting input. Resistors R3, R4 and C1 sets 10135923 FIGURE 6. IR Receiver www.national.com 10 LMV7235/LMV7239 Physical Dimensions inches (millimeters) unless otherwise noted 5-Pin SC70-5 NS Package Number MAA05A 11 www.national.com LMV7235/LMV7239 45 nsec, Ultra Low Power, Low Voltage, Rail-to-Rail Input Comparator with Open-Drain/Push-Pull Output Physical Dimensions inches (millimeters) unless otherwise noted (Continued) 5-Pin SOT23-5 NS Package Number MF05A LIFE SUPPORT POLICY NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. National Semiconductor Corporation Americas Email: [email protected] www.national.com National Semiconductor Europe Fax: +49 (0) 180-530 85 86 Email: [email protected] Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Français Tel: +33 (0) 1 41 91 8790 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Asia Pacific Customer Response Group Tel: 65-2544466 Fax: 65-2504466 Email: [email protected] National Semiconductor Japan Ltd. Tel: 81-3-5639-7560 Fax: 81-3-5639-7507 National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.