LM339ANSRG4 - 4x Open-Collector Comparator | Texas Instruments
Référence : LM339ANSRG4 ✗ Fin de vieLM339ANSRG4 Présentation
A voltage comparator is an analog integrated circuit that compares two input voltages and changes its output state when the non-inverting input rises above the inverting input. The LM339 belongs to the comparator IC hierarchy, where it combines differential analog input handling with digital-compatible open-collector outputs. Unlike a comparator with a fixed push-pull output, the open-collector architecture allows multiple outputs to be wired together when suitable pull-up circuitry is provided.
Each of the four comparator channels has independent inputs and output. Key operating characteristics include a maximum input offset voltage of 3 mV at 30 V, input bias current of 0.25 µA at 5 V, and typical output current of 20 mA. The wide supply range permits operation from a single 2 V to 36 V source or from dual rails spanning ±1 V to ±18 V. A nominal 800 µA supply-current drain supports low-power operation when the system does not require continuous high-current output sinking.
The open-collector output stage is the core architectural feature. Each transistor output can pull a logic net low while an external resistor supplies the high state, allowing interface with TTL, CMOS, MOSFET, relay, or other open-collector peripherals. This arrangement also permits wired-AND behavior across several channels. The output transistor must never be allowed to float because no internal pull-up resistor is present in the output path.
Typical uses include industrial threshold detection, sensor signal conditioning, battery monitoring, overvoltage detection, window comparators, oscillator and relaxation timing circuits, and control logic for relays or power stages. The broad supply range is particularly useful in 12 V or 24 V industrial systems where the comparator inputs can tolerate voltages above the logic supply level.
Layout should keep input traces short, maintain a stable ground reference, and place pull-up resistors close to the output nets. Because open-collector outputs can switch relatively large currents, check the absolute-maximum output voltage and current limits before driving a load. A pull-up resistor that is too large produces slow rising edges, while an undersized resistor can exceed the output-current limit.
This page organizes the electrical limits, pin mapping, drop-in alternatives, application guidance, and design trade-offs of the LM339ANSRG4. It also identifies the important distinction between the obsolete ordering code and currently documented alternatives before a PCB design is revised.
Alternatives de remplacement direct pour LM339ANSRG4 — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec LM339ANSRG4 (même facteur de forme et même empreinte) — différant par Package, Comparator Type, Supply Current, Output Type, Input Offset Voltage.
LM339DR2G
✅ Remplacement directContactez-nous pour le prix
Voir la fiche technique →LM339MX/NOPB
✅ Remplacement directContactez-nous pour le prix
Voir la fiche technique →LM339AM/NOPB
✅ Remplacement directContactez-nous pour le prix
Voir la fiche technique →LM339ANS
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
LP339MX/NOPB
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
LM339ANSRG4 Valeurs maximales et caractéristiques électriques
| Comparator Configuration | 4 independent differential comparators |
| Single Supply Voltage Range | 2 V to 36 V |
| Dual Supply Voltage Range | ±1 V to ±18 V |
| Tested Supply Limits | 30 V for non-V devices; ±15 V for non-V devices |
| Input Offset Voltage | 3 mV maximum at 30 V |
| Input Bias Current | 0.25 µA at 5 V |
| Supply Current Drain | 800 µA typical |
| Type de sortie | Open-collector |
| Typical Output Current | 20 mA |
| Compatible Logic Levels | TTL and CMOS |
| Plage de température de fonctionnement | 0 °C to 70 °C |
| Boîtier | 14-pin SOIC |
| Package Width | 5.30 mm |
| Type de montage | Surface mount |
| Statut RoHS | Compliant |
| Nombre de broches | 14 pins |
Configuration des broches de LM339ANSRG4
| Broche 1 | OUT 1 — Open-collector output of comparator 1 |
| Broche 2 | IN 1- — Inverting input of comparator 1 |
| Broche 3 | IN 1+ — Non-inverting input of comparator 1 |
| Broche 4 | GND — Ground reference |
| Broche 5 | IN 2+ — Non-inverting input of comparator 2 |
| Broche 6 | IN 2- — Inverting input of comparator 2 |
| Broche 7 | OUT 2 — Open-collector output of comparator 2 |
| Broche 8 | OUT 3 — Open-collector output of comparator 3 |
| Broche 9 | IN 3+ — Non-inverting input of comparator 3 |
| Broche 10 | IN 3- — Inverting input of comparator 3 |
| Broche 11 | VCC — Positive supply input |
| Broche 12 | IN 4+ — Non-inverting input of comparator 4 |
| Broche 13 | IN 4- — Inverting input of comparator 4 |
| Broche 14 | OUT 4 — Open-collector output of comparator 4 |
Applications typiques
LM339ANSRG4 convient pour 6 applications: Industrial Threshold Detection, Sensor Signal Conditioning, Battery Voltage Monitoring, Overvoltage and Undervoltage Protection, Relay and Solenoid Control, Oscillator and Timing Circuits.
Industrial Threshold Detection
The LM339ANSRG4 fits industrial threshold-detection circuits because its 2 V to 36 V single-supply range accommodates 12 V and 24 V control systems. Each of its four differential channels can compare a scaled sensor voltage with a reference and produce an open-collector alarm or logic transition. The 3 mV maximum input offset voltage at 30 V provides a defined starting point for error analysis, while the 0.25 µA input bias current at 5 V helps limit sensor-loading effects. Add a pull-up resistor to every output used as a logic signal, and ensure the resistor and wiring satisfy the 20 mA typical output-current capability of the device.
Recommandé
Sensor Signal Conditioning
The LM339ANSRG4 can condition slow sensor signals by comparing them against adjustable thresholds generated with resistor dividers. Its wide ±1 V to ±18 V dual-supply capability permits bipolar input arrangements when a sensor output crosses ground, while the four independent channels can implement hysteresis, upper-limit detection, lower-limit detection, and fault signaling. Input bias current of 0.25 µA at 5 V helps avoid excessive loading on high-impedance dividers, although the complete input-network resistance must be evaluated. Open-collector outputs simplify interfacing with 3.3 V or 5 V control logic because the pull-up supply can be selected independently from the comparator supply.
Recommandé
Battery Voltage Monitoring
The LM339ANSRG4 is suitable for battery-pack monitoring because its input range extends to 36 V and each channel can compare a divided battery voltage against a precise reference. Four channels allow separate supervision of individual cells, a pack maximum, and a pack minimum. The open-collector output can directly pull down a shared fault line when several protection events occur, although the line requires an external pull-up. Validate divider power dissipation at the highest pack voltage, include comparator offset in the protection margin, and confirm that the selected operating-temperature grade covers the battery application's environmental range.
Recommandé
Overvoltage and Undervoltage Protection
The LM339ANSRG4 can implement overvoltage and undervoltage protection in power systems by comparing divided rail voltages with reference levels. Its broad supply range permits operation near many industrial rails, while the four independent comparator channels support positive-limit, negative-limit, and combined fault outputs. The 3 mV maximum input offset voltage at 30 V contributes directly to the protection threshold uncertainty and must be combined with reference and resistor tolerances. Open-collector fault outputs can be wired together, but the shared pull-up resistor must be selected so that the worst-case sink current remains within the output rating.
Recommandé
Relay and Solenoid Control
The LM339ANSRG4 can control relay or solenoid drivers by comparing a command voltage with a feedback threshold and sinking the input current of an external transistor stage. The open-collector architecture works naturally with NPN transistor gates because the output must sink current to establish a low state. Its 20 mA typical output current provides the basis for sizing the transistor base or gate-bias network, while the wide supply range accommodates industrial control voltages. Keep relay-coil transients away from comparator inputs, provide adequate supply bypassing, and confirm the transistor's current and voltage ratings rather than relying on the comparator alone to absorb the coil energy.
Recommandé
Oscillator and Timing Circuits
The LM339ANSRG4 can form a relaxation oscillator or monostable timing circuit using its differential inputs and open-collector output. The feedback network determines the oscillation or delay interval, while an external pull-up produces a usable digital output waveform. Four channels allow independent timers or a combination of repetitive and one-shot functions. The 3 mV maximum offset voltage at 30 V affects switching thresholds, and the open-collector rise time depends on the external pull-up resistance and total capacitance. Test timing across the expected supply range and include transistor saturation delay when the comparator output drives additional circuitry.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour LM339ANSRG4 — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | LM339DR2G | LM339MX/NOPB | LM339AM/NOPB | LM339ANS | LP339MX/NOPB |
|---|---|---|---|---|---|---|
| Package | SOIC-14 | SOIC-14 - same package | SOIC-14 - same package | SOIC-14 - same package | SOIC-14 - same package | SOIC-14 - same package |
| Brand | Texas Instruments | Texas Instruments | Texas Instruments | Texas Instruments | Texas Instruments | Texas Instruments |
| Number of Comparators | 4 | 4 | 4 | 4 | 4 | 4 |
| Output Type | Open-collector | Open-collector | Open-collector | Open-collector | Open-collector | Open-collector |
| Number of Pins | 14 pins | 14 pins - same | 14 pins - same | 14 pins - same | 14 pins - same | 14 pins - same |
| Mounting Type | Surface mount | Surface mount | Surface mount | Surface mount | Surface mount | Surface mount |
Principaux différenciateurs
- Exact 14-pin SOIC footprint continuity (vs LM339DR2G)
- Broad industrial supply-voltage capability (vs LP339MX/NOPB)
- Defined offset performance at high supply voltage (vs LM339AM/NOPB)
Notes de conception
Never connect a pull-up resistor to ground on an open-collector output. The output transistor can sink current, but the high state is produced only when an external pull-up connects the node to a positive logic rail. Select the pull-up voltage to remain within the output pin's permitted voltage range, and choose a resistance that keeps worst-case sink current within the 20 mA typical output-current capability.
Connect the four differential inputs with short traces and maintain a low-impedance ground reference. Comparator input bias current of 0.25 µA at 5 V can shift thresholds when the source impedance is high, so use practical divider values rather than unnecessarily large resistors. Place the supply bypass capacitor close to pin 11 and connect ground return current directly to pin 4 to reduce supply and ground noise at the comparison inputs.
The open-collector architecture supports wired-AND operation, but every connected output must be capable of sinking the combined pull-up current. Check the maximum output-current limit, ensure only one output asserts the fault at a time when its state transition could create a large current spike, and include a suitable pull-up value for the total capacitance and required rise time.
Informations de conformité
RoHS compliance is explicitly identified for LM339ANSRG4. REACH, lead-free, halogen-free, and conflict-minerals status are not established by the current component records.