Texas Instruments

LM339DG4 - 4-Channel Open-Collector Comparator | TI

N.º de pieza: LM339DG4 ✓ Activo
2 V to 36 V Vdss 3.5 nA Id 14-pin SOIC Package
MOQ: 1 |

LM339DG4 Descripción general

The Texas Instruments LM339DG4 is a four-channel differential analog comparator with open-collector outputs, a 2 V to 36 V supply range, and a 14-pin SOIC package. Each channel compares two input voltages, making the device suitable for threshold detection, level sensing, and industrial control logic. Its low 0.37 mV input offset, 3.5 nA input bias current, 300 ns response time, and 200 uA supply current per comparator provide a practical balance of accuracy, speed, and low power consumption.

An analog comparator is an integrated circuit that evaluates a differential input and changes its output when the measured relationship crosses a defined threshold. The LM339 belongs to the comparator hierarchy, alongside general-purpose differential comparators and the broader semiconductor category. Four independent channels in one package reduce board area, while the open-collector architecture allows each output to be pulled up to a local supply voltage and used for wired logic, alarm signaling, or transistor-driver interfaces.

The LM339 family supports single-supply or split-supply operation, and its input common-mode range extends close to ground. The low offset voltage helps establish a stable switching threshold, while low input bias current limits disturbance in high-impedance sensing circuits. Its open-collector outputs require an external pull-up resistor and can sink current rather than source a full logic-high voltage. This behavior is useful when driving relays, lamps, or NPN transistors through an appropriate interface stage.

The LM339DG4 is a 14-pin SOIC device intended for the 0 °C to 70 °C commercial temperature range. Its four channels share power pins but retain separate input and output connections. The manufacturer identifies a maximum rating of up to 38 V, an ESD rating of 2 kV HBM, and the B-version family improvements include lower offset, lower supply current, faster response, and improved input ruggedness. These characteristics make the device suitable for general-purpose signal conditioning rather than precision instrumentation.

Typical applications include industrial sensor thresholds, overvoltage and undervoltage detection, temperature-control logic, battery monitoring, window or level comparators, and discrete transistor control. Because the outputs are open collector, the same package can support different logic families by selecting the pull-up voltage appropriately. The device is also useful in educational and prototype circuits where four comparison channels are needed without using four separate packages.

Design the pull-up resistor around the output-sink current, required rise time, and available supply voltage. Keep the comparator inputs away from switching nodes and use a stable reference near the threshold when input offset matters. Verify absolute maximum supply voltage, input common-mode limits, output-current limits, and thermal conditions before applying the part in a new design.

This page combines the device specifications, application guidance, pin assignment, qualification limits, and technically constrained replacement options for engineers evaluating the LM339DG4. It also identifies where a true same-package drop-in substitution should be reviewed rather than treating every similarly named LM339 variant as electrically identical.

Alternativas directas para LM339DG4 — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.

Variantes de esta serie

Modelos de la misma serie compatibles directamente con LM339DG4 (mismo factor de forma y huella) — difiere en Comparator Type, Package, Output Type, Operating Temperature Range, Supply Voltage Range.

Texas Instruments
Comparator Type: General-purpose differential comparator
Package: 14-SOIC, 3.90 mm width
Output Type: Open-collector
Comparar con LM339DG4 →
Texas Instruments
Comparator Type: General Purpose
Package: SOIC-14
Output Type: Open-Collector
Comparar con LM339DG4 →
Texas Instruments
Comparator Type: General Purpose
Output Type: Open-Collector
Supply Voltage Range: Approximately 36 V total, or approximately ±18 V
Comparar con LM339DG4 →

LM339DR

✅ Sustitución directa
Texas Instruments
📦 14-pin SOIC
4 (Quad) · General Purpose · Open-Collector · 2 V to 36 V · ±1 V to ±18 V · 5 mV · 25 nA · 5 nA

Consulte el precio

Ver hoja de datos →

LM339MX

✅ Sustitución directa
Texas Instruments
📦 14-pin SOIC
General Purpose · 4 · Approximately 36 V total, or approximately ±18 V · Supported · 1.3 µs · Open-Collector · TTL, CMOS, MOS, DTL, and ECL · 0 °C to 70 °C

Consulte el precio

Ver hoja de datos →

LM339ADG4

✅ Sustitución directa
Texas Instruments
📦 14-pin SOIC
General-purpose differential comparator · 4 channels · 2 V to 36 V · 300 ns · Open-collector · 0.8 mA · Equal to maximum-rated supply voltage, up to ±38 V

Consulte el precio

Ver hoja de datos →

LM339BDR

✅ Sustitución directa ⚠️ Especificaciones sin verificar
📦 14-pin SOIC
Same 14-pin SOIC footprint; B-version offsets, supply current, input bias current, and response performance are improved

📋 Alternativa de referencia (no en el catálogo)

LM2901BDR

✅ Sustitución directa ⚠️ Especificaciones sin verificar
📦 14-pin SOIC
Same 14-pin SOIC footprint; LM2901B-family B-version electrical and temperature characteristics require review

📋 Alternativa de referencia (no en el catálogo)

LM339DG4 Valores máximos y características eléctricas

Comparator Type 4-channel differential comparator
Tipo de salida Open collector
Supply Voltage Range 2 V to 36 V
Maximum Rating Up to 38 V
Number of Channels 4
Input Offset Voltage 0.37 mV
Input Bias Current 3.5 nA
Corriente de alimentación 200 uA per comparator
Response Time 300 ns
ESD Rating 2 kV HBM
Rango de temperatura de funcionamiento 0 °C to 70 °C
Encapsulado 14-pin SOIC
Tipo de montaje Surface mount
Single-Supply Operation Supported
Dual-Supply Operation Supported
Output Pull-Up Requirement External pull-up resistor required
Estado RoHS unknown
REACH Status unknown

Configuración de pines de LM339DG4

SOIC-14 (3.9mm) Package Pinout Diagram SOIC-14 14-pin small outline IC, 3.9x8.7mm, P1.27mm, JEDEC MS-012. Pin 1 by chamfer. 1 14 2 13 3 12 4 11 5 10 6 9 7 8 SOIC-14 (3.9mm)
Pin 1 1OUT — Open-collector output for comparator channel 1
Pin 2 1IN- — Inverting input for comparator channel 1
Pin 3 1IN+ — Noninverting input for comparator channel 1
Pin 4 GND — Ground connection
Pin 5 2IN+ — Noninverting input for comparator channel 2
Pin 6 2IN- — Inverting input for comparator channel 2
Pin 7 2OUT — Open-collector output for comparator channel 2
Pin 8 3OUT — Open-collector output for comparator channel 3
Pin 9 3IN- — Inverting input for comparator channel 3
Pin 10 3IN+ — Noninverting input for comparator channel 3
Pin 11 V+ — Positive power supply connection
Pin 12 4IN+ — Noninverting input for comparator channel 4
Pin 13 4IN- — Inverting input for comparator channel 4
Pin 14 4OUT — Open-collector output for comparator channel 4

Aplicaciones típicas

LM339DG4 es adecuado para 6 aplicacións: Industrial Sensor Threshold Detection, Battery Voltage Monitoring, Overvoltage and Undervoltage Protection, Temperature Control Logic, Relay and Discrete Transistor Control, Window and Level Comparators.

🏭

Industrial Sensor Threshold Detection

The LM339DG4 is well suited to comparing a conditioned sensor signal with a reference voltage because each channel provides 0.37 mV input offset and only 3.5 nA input bias current. Four channels can monitor temperature, pressure, level, or current-sensor outputs without requiring four separate comparator packages. Place the reference near the noninverting input and the sensed signal at the inverting input when a fault indication is required. Because the outputs are open collector, pull-up resistors establish the logic-high level and allow several comparator outputs to share a wired node. Keep sensor traces away from switching power nodes and verify the input common-mode limits before operation.

⚡

Battery Voltage Monitoring

A quad LM339DG4 can supervise multiple battery or power-rail thresholds when the sensing network keeps every input inside the comparator's common-mode range. Its 2 V to 36 V operating range supports low-voltage cells through higher-voltage industrial systems, while the 300 ns response permits rapid fault signaling. Use precision resistor dividers to scale each monitored node and include hysteresis to prevent repeated switching near the threshold. The open-collector outputs can pull up a fault line or drive an NPN stage, but a pull-up resistor is required on every output. Account for input bias current when selecting high-value dividers, and confirm the absolute maximum rating of up to 38 V against the highest possible transient.

🛡️

Overvoltage and Undervoltage Protection

The LM339DG4 supports multi-rail protection by using separate comparator channels for overvoltage and undervoltage thresholds. Its low offset voltage helps reduce the transition point error, while the 300 ns response time accelerates fault detection compared with slower monitoring loops. Scale protected rails with resistor dividers, clamp excessive input transients, and place the threshold reference on the low-impedance side of the input network. Because the output is open collector, multiple channels can indicate individual fault conditions through discrete pull-up nodes or a combined wired-alarm arrangement. Validate divider tolerance, input bias error, and comparator hysteresis before relying on the protection threshold for safety-related functions.

🌡️

Temperature Control Logic

The LM339DG4 can compare a temperature-sensor signal with upper and lower setpoints, providing independent digital indications for heating and cooling demands. Two channels can establish the control band while additional channels monitor related signals. The 0.37 mV offset and 3.5 nA input bias current are useful with high-impedance sensor networks, and the 200 uA per-comparator supply current supports low-power control systems. Place hysteresis resistors around the reference or feedback path to prevent relay or heater chatter. Because each output is open collector, use a pull-up resistor and add an appropriate transistor or driver when switching a heater, fan, or relay rather than loading the comparator output directly.

🔧

Relay and Discrete Transistor Control

The open-collector outputs of LM339DG4 are useful when a threshold decision must control an NPN transistor, relay driver, or indicator stage. The comparator pulls the output low only when its input condition is met, and the pull-up resistor sets the maximum logic-high voltage for the attached interface. This permits the pull-up to reference either the comparator supply or a separate compatible logic rail. Add a flyback diode across inductive loads and ensure the driver transistor's base current is compatible with the output sink capability. Keep high-current relay wiring separate from sensitive input traces. The 300 ns response makes the decision stage fast, although relay and mechanical delays will dominate the total switching time.

📏

Window and Level Comparators

A pair of LM339DG4 channels can establish upper and lower limits for a slowly varying level signal, creating a window indication without a microcontroller performing every comparison. The remaining channels can monitor a second level or provide separate alarm outputs. Low input bias current helps preserve the accuracy of high-impedance sensing networks, while the small input offset supports reasonably precise thresholds. Add controlled feedback to create hysteresis and prevent output chatter near either limit. The open-collector architecture supports a pull-up to the system logic voltage and permits wired combinations of alarm states. Verify that the sensor voltage remains within the comparator's input common-mode range throughout the complete measurement span.

What are the key specifications of LM339DG4 that engineers should know?
The LM339DG4 is a four-channel differential analog comparator with open-collector outputs, a 2 V to 36 V supply range, and a 14-pin SOIC package. According to the Texas Instruments LM339 family documentation, it provides 0.37 mV low input offset, 3.5 nA low input bias current, 200 uA supply current per comparator, 300 ns response time, and a 2 kV HBM ESD rating. It operates from 0 °C to 70 °C and supports single or split-supply operation.
Where can I download the LM339DG4 datasheet PDF?
The official Texas Instruments LM339 family page at https://www.ti.com/lit/gpn/lm339 provides the manufacturer datasheet for LM339DG4 and its related family members. The document identifies the device as a quad differential comparator with open-collector outputs and includes the electrical characteristics, pin configuration, and application information. Use the pin-description table in that datasheet when assigning PCB tracks or checking the 14-pin SOIC footprint.
Where is the LM339DG4 pinout located?
The LM339DG4 pinout is defined by the pin-configuration section of the Texas Instruments LM339 family datasheet. The 14-pin SOIC arrangement provides four differential comparator channels, with pins 1, 7, 8, and 14 assigned to the open-collector outputs. The product pinout diagram on this page uses the same numbering convention. Verify every signal against the manufacturer pin-description table before layout release.
What is lm339dg datasheet used for?
The lm339dg datasheet describes a four-channel comparator used to compare two analog voltages and generate an open-collector logic indication. According to the Texas Instruments LM339 documentation, the device supports a 2 V to 36 V supply range and 300 ns response time. It is appropriate for sensor thresholding, overvoltage detection, industrial control logic, and other applications requiring more than one independent comparison function.
What is the supply voltage range of LM339DG4?
The LM339DG4 operates from 2 V to 36 V. According to the Texas Instruments LM339 family documentation, the same quad-comparator device can be powered from a single supply or from positive and negative supplies. The B-version family information also identifies a maximum rating of up to 38 V, but that value is a stress limit rather than the recommended operating supply range.
Why does the LM339DG4 output need a pull-up resistor?
Each LM339DG4 output is an open-collector transistor that can pull the output node toward ground but cannot actively drive it to the supply rail. A pull-up resistor is therefore required to establish a logic-high voltage. According to the Texas Instruments LM339 datasheet, this architecture also permits the output to be pulled to a selected local logic voltage and supports wired-interface applications.
How fast is the LM339DG4 response time?
The LM339DG4 has a nominal response time of 300 ns. According to the Texas Instruments LM339 family documentation, this specification makes the device suitable for threshold detection and moderate-speed control rather than only slow process-limit monitoring. Actual system delay also includes comparator propagation behavior, pull-up resistance, input capacitance, and the response time of any transistor or logic stage connected to the output.
Can LM339DG4 operate from a single supply?
Yes, the LM339DG4 can operate from a single supply and can also use positive and negative supply rails. According to the Texas Instruments LM339 family documentation, single-supply operation is useful when the signals remain within the device's input common-mode range and the open-collector outputs use a pull-up to the same supply. Confirm the required signal levels and rail limits in the datasheet for the selected operating configuration.
What is the best drop-in replacement for LM339DG4?
The closest supported replacements are same-brand LM339-family 14-pin SOIC devices whose functions and ratings have been checked against the LM339DG4, including LM339DR and LM339BDR. A valid drop-in candidate must retain the 14-pin SOIC footprint, four differential channels, and open-collector output arrangement. Review input common-mode range, offset voltage, supply current, response time, temperature grade, and pull-up behavior before approving a substitution.
Can LM339BDR replace LM339DG4?
LM339BDR can be considered for a pin-compatible redesign because it belongs to the same LM339 family and is offered in the 14-pin SOIC format. According to the Texas Instruments family documentation, the B version improves offset voltage, supply current, input bias current, propagation delay, supply-voltage capability, and 2 kV ESD performance. Confirm channel pinout, temperature grade, and open-collector output details against the manufacturer datasheet before substitution.
What is the best STMicroelectronics equivalent for LM339DG4?
An STMicroelectronics equivalent should be selected from a qualified 14-pin SOIC quad comparator with open-collector outputs and closely matched input, supply, and timing characteristics. The cross-reference material confirms that comparator substitutions exist, but it does not establish a specific STMicroelectronics MPN as a verified LM339DG4 drop-in equivalent. Use the Request a Quote form on this page for sourcing support, and validate the selected part against the Texas Instruments datasheet rather than relying only on its generic family name.
When should I choose LM339DG4 over a dual-channel comparator?
Choose LM339DG4 when the design requires four independent differential comparisons in one 14-pin SOIC package. Its four open-collector outputs can use separate pull-up networks where needed, while the 300 ns response time and 200 uA per-comparator supply current support low-power control systems. A dual-channel device may be preferable when the design uses only two channels, needs a different output architecture, or can reduce package count by combining functions in another device.
Is LM339DG4 suitable for industrial sensor threshold detection?
Yes, LM339DG4 is suitable for many industrial sensor-threshold circuits because it offers four channels, 0.37 mV input offset, 3.5 nA input bias current, and a broad 2 V to 36 V supply range. According to the Texas Instruments LM339 family documentation, the device also supports split supplies. For high-voltage sensors, add appropriate input attenuation and protection rather than allowing sensor nodes to exceed the specified common-mode limits.
What can replace LM339DG4?
The most defensible replacements are LM339-family devices in the same 14-pin SOIC package, including LM339DR and LM339BDR, because they preserve the quad-comparator and open-collector architecture. A replacement should also satisfy the original input common-mode range, supply-voltage range, response time, offset requirements, and temperature grade. Treat package-compatible parts with different output stages or voltage ratings as redesign candidates rather than automatic substitutions.
Is LM339DG4 the same as LM339MX?
LM339DG4 and LM339MX are both listed as 14-pin SOIC quad differential comparators with open-collector outputs, so their package and basic function align. The available comparison information does not establish every electrical limit as identical, including offset, bias current, supply current, and timing behavior. Compare the manufacturer data for both exact MPNs before treating LM339MX as a drop-in replacement for LM339DG4.

Datos de referencia de ingeniería para LM339DG4 — comparación, orientación de diseño e información de cumplimiento.

Guía de selección

Choose LM339DG4 when a design needs four general-purpose differential comparisons, open-collector outputs, and operation across a broad 2 V to 36 V supply range. It is especially useful for sensor thresholds, window detection, battery supervision, and discrete transistor interfaces where multiple wired-alarm outputs are beneficial. Choose LM339BDR when your design can benefit from the B-version family's lower offset, lower bias current, lower supply current, faster response, and improved ESD ruggedity. Consider LM339DR or LM339MX only after checking their exact temperature grade and electrical limits against the LM339DG4 requirements. LM2901BDR may suit a related design, but its device-specific characteristics require review. No clearly qualified cross-brand 14-pin SOIC replacement is established here, so any competitor candidate should be treated as an engineering validation item rather than an automatic substitution.

Comparación con alternativas

Parámetro Este producto LM339DR LM339MX LM339ADG4 LM339BDR LM2901BDR
Package 14-pin SOIC 14-pin SOIC 14-pin SOIC 14-pin SOIC 14-pin SOIC 14-pin SOIC
Brand Texas Instruments Texas Instruments Texas Instruments Texas Instruments Texas Instruments Texas Instruments
Comparator Count 4 4 4 4 4 4

Diferenciadores clave

  • Four independent comparator channels in one 14-pin SOIC package (frente a LM2904P3)
  • Open-collector outputs support flexible pull-up voltage and wired logic (frente a TLV2402ID)
  • Low-power general-purpose threshold detection (frente a LM201AD)

Notas de diseño

Each open-collector output requires a pull-up resistor; omitting it leaves the output state undefined during normal operation. Select the resistor using the required output rise time, total output capacitance, available pull-up voltage, and maximum sink current. If multiple LM339DG4 outputs are wired together, ensure that only one output can actively pull the shared node low at a time, because a grounded output can prevent the remaining devices from establishing a valid logic-high state.

Route the four differential input pairs away from relay contacts, switching inductors, high-current transistor emitters, and power-supply switching nodes. Connect the ground reference to a low-impedance return path and place input compensation or filtering components close to the relevant pins. When sensitive high-impedance sensing is involved, keep the divider and feedback components close to the device and avoid long parallel traces that can capacitively inject noise into the threshold inputs.

The recommended operating supply range is 2 V to 36 V, while the family documentation identifies a maximum rating of up to 38 V. Do not treat the 38 V value as an operating target. Decouple the supply pins close to the device with the capacitance recommended by the manufacturer datasheet, and ensure any input or output transient remains within the absolute maximum limits. For single-supply operation, confirm that the measured input signals remain inside the permitted common-mode range.

Add hysteresis wherever the output can influence the compared input, because a small offset and 300 ns response may otherwise produce repeated switching near the threshold. For slow-moving sensor signals, intentional hysteresis normally reduces chatter more effectively than a faster comparator alone. Verify that the feedback network does not add excessive error to the required threshold, and keep pull-up capacitance low when fast output transitions are needed.

Información de cumplimiento

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Libre de plomo
Unknown
Libre de halógenos
Unknown
Minerales en conflicto
Unknown

The 0 °C to 70 °C commercial operating range indicates that this is not an AEC-Q100 automotive-qualified grade. RoHS, REACH, lead-free, halogen-free, and conflict-minerals status require confirmation from the manufacturer or current product documentation.

Datos verificados el: 2026-11-02 — datos verificados y seleccionados por el equipo de ingeniería de componentes de XAIPART

Búsquedas relacionadas

lm339dg datasheet LM339DG4 datasheet LM339DG4 datasheet pdf LM339DG4 pinout LM339DG4 SOIC-14 pinout LM339DG4 equivalent LM339DG4 replacement LM339DG4 drop-in replacement LM339DG4 vs LM339MX LM339DG4 supply voltage LM339DG4 open collector output LM339DG4 sensor threshold LM339DG4 price LM339DG4 stock Texas Instruments LM339DG4

Componentes & términos relacionados

Texas Instruments LM339DG4 LM339DR LM339MX LM339ADG4 LM339BDR LM2901BDR quad differential comparator analog comparator comparator IC open-collector output semiconductor low-dropout voltage input offset voltage input bias current common-mode voltage range single-supply operation dual-supply operation 14-pin SOIC SOIC package family surface-mount package SMD ESD RoHS REACH industrial sensor thresholding
RFQ de presupuesto rápido
Complete los detalles — nuestro equipo de ventas responderá en un plazo de 24 horas
Número de pieza Fabricante Encapsulado QTY Precio objetivo Total
✓
¡Presupuesto enviado!

Responderemos a su correo electrónico en un plazo de 24 horas

1
RFQ enviado
2
Presupuesto recibido
3
Pedido realizado
4
Pago
5
Enviado
6
Entregado
Ver detalles del RFQ