Texas Instruments

LM393APG4 - Dual Open-Collector Comparator, 8-PDIP | Texas Instruments

料号: LM393APG4 ✓ 量产中
2 V to 36 V Vdss 8-PDIP (0.300 inch, 7.62 mm) Package
最小起订量: 1 |

LM393APG4 概述

The Texas Instruments LM393APG4 is a dual differential comparator consisting of two independent voltage comparators in an 8-pin PDIP (0.300 inch, 7.62 mm) through-hole package with open-collector, open-emitter outputs and a common supply range of 2 V to 36 V.

A comparator is a differential amplifier whose output switches state whenever the voltage applied to its inverting input rises above or falls below the voltage on its non-inverting input. As a product type, the LM393 family sits in the hierarchy comparator -> differential comparator -> analog signal conditioning IC -> integrated circuit, and it is one of the most widely cloned analog building blocks in the industry. Because the output stage is open collector, the output node can pull only to a logic-low rail, which makes the part directly usable with pull-up resistors to any supply between 2 V and 36 V, including 3.3 V, 5 V and 24 V system levels.

Key features of the LM393APG4 include two independent comparator channels that can operate from a single supply or from split dual supplies, rail-to-rail input common-mode range as highlighted in distributor listings, and an open-collector output stage that supports wired-AND busing and level translation. The device is specified as a standard, general-purpose comparator, and the same die is offered in multiple package and temperature options under the LM393 and LM393A orderable part numbers.

Architecturally, each channel in the LM393 uses a differential input pair feeding an open-collector output stage, so the outputs are naturally slow but noise-tolerant; the design is intended for sensing thresholds rather than for high-speed signal conditioning. Because the output transistor is not driven above the low state, a pull-up resistor is mandatory, and any change in pull-up supply changes the output high level without affecting the input stage.

Typical applications include over-voltage and under-voltage protection in switching power supplies, window comparators for battery monitoring, temperature threshold detection with external sensors, zero-cross detection in AC line circuits, relay and solenoid drive, and general level translation between dissimilar logic families. Industrial control and instrumentation designs use the open-collector outputs to drive optocouplers, transistors, or LED indicators directly.

When designing around the LM393APG4, always place the pull-up resistor as close as practical to the output pin to limit stray capacitance-induced switching spikes, and note that the two channels share a common ground and a common supply pin. Because the output is open collector, the device cannot source current; any load must be referenced to the same ground as the device.

This page combines manufacturer specification details, package and pin-level guidance, drop-in replacement options, and practical design notes so that engineers can evaluate the LM393APG4 alongside modern low-power alternatives without re-reading multiple documents.

直接替换替代料: LM393APG4 ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: LM393APG4 (相同外形与封装尺寸) ——差异在于 Output Type, Package, RoHS Status, Comparator Type, Mounting Type.

Texas Instruments
Output Type: Open-Collector / Open-Drain (single-ended)
Package: 8-PDIP (DIP-8, through-hole)
RoHS Status: Non-RoHS (LM393N); RoHS on LM393N/NOPB variant
对比 LM393APG4 →
Texas Instruments
Output Type: Open-Collector
Package: 8-PDIP (P) through-hole
RoHS Status: Compliant
对比 LM393APG4 →

LM393AP

✅ 直接替换 ⚠️ 规格未核验
Texas Instruments
📦 PDIP-8 (0.300 inch, 7.62 mm)
Dual differential comparator · 2 channels · 2 V to 36 V · ±18 V · 300 ns · Open-collector · ±5 mV maximum · 0.4 mA drain current

联系询价

查看数据手册 →

LM393APE4

✅ 直接替换 ⚠️ 规格未核验
📦 PDIP-8 (0.300 inch, 7.62 mm)
Same LM393 die in 8-PDIP with E4 enhanced-device ordering suffix; supply range and pinout identical (0% difference)

📋 参考替代料(不在目录中)

LM393P

✅ 直接替换 ⚠️ 规格未核验
Texas Instruments
📦 PDIP-8 (0.300 inch, 7.62 mm)
Differential (general purpose) · 2 (dual) · Open-Collector · 2 V to 36 V · ±1 V to ±18 V · ±5 mV · 25 nA · 0.4 mA

联系询价

查看数据手册 →

LM393N

✅ 直接替换 ⚠️ 规格未核验
Texas Instruments
📦 PDIP-8 (0.300 inch, 7.62 mm)
Dual General-Purpose Comparator · 2 (dual) · Open-Collector / Open-Drain (single-ended) · 5 mV (LM393N); 2 mV (LM193/LM393A grade) · 25 nA · 2 V to 36 V · ±1 V to ±18 V · 16 mA

联系询价

查看数据手册 →

TS393

✅ 直接替换
📦 PDIP-8
Pin-compatible CMOS comparator with about 9 uA per channel supply current versus tens of microamps for the bipolar LM393 (roughly 90% lower current), but supply range limited to 2.7 V to 16 V versus 2 V to 36 V, so it cannot replace the LM393 on 24 V or 36 V rails

📋 参考替代料(不在目录中)

LM393APG4 最大额定值与电气特性

Number of Comparators 2
Comparator Type Differential (general purpose)
输出类型 Open-Collector, Open-Emitter
Rail-to-Rail Input Yes (per distributor product description)
Single Supply Operating Range 2 V to 36 V
Dual Supply Operating Range Supply differential of 2 V to 36 V
封装 8-PDIP (0.300 inch, 7.62 mm)
引脚数量 8
安装类型 Through-hole (DIP)
Device Description IC DUAL DIFF COMPARATOR 8-DIP
Manufacturer Texas Instruments
Orderable Part Number Suffix G4 (RoHS-compatible green) in PDIP-8
RoHS 状态 unknown
REACH Status unknown
Automotive Qualification (AEC-Q100) unknown

LM393APG4 引脚配置

DIP-8 Package Pinout Diagram DIP-8 8-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 8 2 7 3 6 4 5 DIP-8
引脚 1 OUT1 — Comparator 1 output (open collector, requires pull-up)
引脚 2 IN1- — Comparator 1 inverting input
引脚 3 IN1+ — Comparator 1 non-inverting input
引脚 4 GND — Ground (common to both comparator channels)
引脚 5 IN2+ — Comparator 2 non-inverting input
引脚 6 IN2- — Comparator 2 inverting input
引脚 7 OUT2 — Comparator 2 output (open collector, requires pull-up)
引脚 8 VCC — Positive supply (common to both comparator channels)

典型应用

LM393APG4 适用于 6 应用s: Power Supply Over/Under-Voltage Protection, Battery Pack Window Monitoring, Industrial 24 V Sensing and Level Translation, Temperature Threshold Detection with External Sensor, Zero-Cross and AC Line Sensing, Relay, Solenoid and LED Driver Interface.

⚡

Power Supply Over/Under-Voltage Protection

The LM393APG4 is a natural fit for supervisory circuits because its 2 V to 36 V supply rating tolerates the same rails it is protecting, and its two independent channels let one comparator watch a 5 V output while the second watches the input rail. The open-collector outputs can pull a shutdown pin, an optocoupler LED or an NPN base low to disable a switching stage or trigger a crowbar, with a single pull-up resistor per output setting the logic level of the system it drives. Because the channels share pin 4 (GND) and pin 8 (VCC), both thresholds are referenced to the same supply, which keeps the protection window tight and self-consistent. The trade-off versus a modern supervisor IC is the absence of an internal reference and hysteresis on some variants, so the reference voltage and any hysteresis network must be added externally with a divider and feedback resistor.

🔋

Battery Pack Window Monitoring

In a multi-cell or single-cell battery management design, the LM393APG4 can watch both the upper and lower voltage limits of the pack with its two differential channels, using divider networks from the pack terminal to the inputs and a common reference at the non-inverting pins. Tying the two open-collector outputs to a single pull-up resistor produces a wired-AND fault flag that asserts whenever either limit is crossed, which is exactly the behavior a fuel-gauge system expects. Operating from 2 V minimum supply means the comparator can run directly from a discharged cell with minimal headroom loss. The limitation to plan for is the bipolar input stage's supply current, which matters most in always-on battery applications; for those, the low-power CMOS TS393 cited as a drop-in alternative offers roughly 9 uA per channel at the cost of a reduced 2.7 V to 16 V supply ceiling.

🏭

Industrial 24 V Sensing and Level Translation

The LM393APG4 remains standard in 24 V industrial sensing because its 36 V maximum supply voltage and open-collector output allow a 24 V sensor signal to be compared against a low-voltage reference while the output is pulled up to a 5 V or 3.3 V logic rail, accomplishing level translation without a dedicated translator IC. The open-collector stage can also directly drive a 24 V relay coil, a PLC digital input or an optocoupler, eliminating an intermediate driver transistor. Note that both channels share the supply pin, so the reference used for comparison must be referenced to the same ground as the 24 V return. For new designs where the system runs below 16 V and current budget is tight, the CMOS TS393 offers a lower-power path in the same pinout, but for genuine 24 V industrial loops the bipolar LM393 family is the safer, more widely supported choice.

🌡️

Temperature Threshold Detection with External Sensor

A thermistor or RTD can be monitored with one LM393APG4 channel by arranging the sensor in a divider and comparing the tap against a temperature-stable reference on the other input, while the second channel implements an independent alarm threshold or a hysteresis network. The bipolar input stage of the LM393 has a low offset relative to the millivolt-level signals typically present in thermistor dividers, which helps keep trip points repeatable over temperature. The open-collector output makes it straightforward to drive a relay, an LED indicator through a series resistor, or a fan enable stage without an additional driver. Design note: because the inputs are differential but both share the same supply, the sensor return must be tied to the comparator ground, and the pull-up resistor value determines how fast the alarm node rises when the fault clears.

💡

Zero-Cross and AC Line Sensing

In mains-derived sensing circuits, the LM393APG4 is frequently used to detect the zero crossing of an AC waveform so that a triac or SCR is triggered away from the transition. Its wide input bias current and open-collector output suit the noisy environment, and the wide supply range permits operation from auxiliary rails derived from the line. Modern designs often add hysteresis with a positive feedback resistor on the non-inverting input so that slow crossings do not chatter the output. When safety or isolation matters, the open-collector output is convenient because it can drive an optocoupler LED rather than coupling mains-referenced signals directly. Always observe the maximum total supply voltage of 36 V and the 2 V minimum operating supply, and remember the outputs sink current only, so every indicator or relay path needs a pull-up resistor to the appropriate logic rail.

🔧

Relay, Solenoid and LED Driver Interface

The open-collector output of the LM393APG4 can sink the base current of a switching NPN transistor that drives a relay coil, solenoid, buzzer or LED bar, which lets a low-current comparator output control a much larger load without a dedicated driver IC. Because the output can only pull down, the load sits between the load supply and the collector of the switching transistor, and the comparator ground is shared with the transistor emitter. This arrangement is widely used for fault-driven disconnect circuits where the comparator output must fail safe, since an open collector leaves the load de-energized if the comparator loses its supply. Keep the switching transistor's base resistor and any flyback diode close to the device for reliability, and remember that the comparator output pins share a common ground with pin 4, so any ground offset in the loop adds directly to the threshold error.

What is the LM393APG4 and what does it do?
The LM393APG4 is a dual differential voltage comparator from Texas Instruments containing two independent comparator channels in an 8-pin PDIP (0.300 inch, 7.62 mm) through-hole package. Each channel compares a non-inverting input against an inverting input and switches its open-collector output state when the two voltages cross. According to the Texas Instruments LM393 datasheet, the devices operate from a single supply over a wide voltage range and also support dual supplies as long as the difference between the two supplies is 2 V to 36 V, making the part a general-purpose building block for threshold detection, protection, and level shifting.
Why does the LM393APG4 output need a pull-up resistor?
The LM393APG4 output stage is open collector, meaning the output transistor can only sink current to the ground rail and cannot source current itself. A pull-up resistor from the output pin to a positive supply is therefore required to establish the logic-high state. The pull-up supply may be any voltage between the comparator's operating limits, from 2 V up to 36 V, which makes the LM393 useful for translating between logic families such as 5 V and 24 V. The distributor listing for this part describes the device as an open-collector, rail-to-rail standard general-purpose comparator.
What is the supply voltage range of the LM393APG4?
The LM393APG4 operates from a single supply of 2 V to 36 V, and in dual-supply configurations as long as the difference between the positive and negative supplies stays between 2 V and 36 V. This wide range means one part number covers everything from 3.3 V and 5 V logic to 24 V industrial rails and even 36 V automotive-style supplies, provided the input common-mode range and total supply limits are respected. Texas Instruments also lists a lower-voltage LM393LV variant for sub-2 V operation.
Where can I download the LM393APG4 datasheet PDF?
The LM393APG4 datasheet is published by Texas Instruments and is also mirrored as a PDF on the distributor network, including the copy hosted at worldwayelec.com for this exact orderable part number. The document covers the electrical characteristics, the pin configuration for the PDIP-8 package, the typical application circuits and the ordering information table that maps package and temperature codes to orderable part numbers. For the authoritative copy, open the Texas Instruments LM393 product page and follow the datasheet link for the LM393APG4 orderable part number.
What is the pinout of the LM393APG4?
In the 8-pin PDIP package, pin 1 is OUT1, pin 2 is IN1-, pin 3 is IN1+, pin 4 is GND, pin 5 is IN2+, pin 6 is IN2-, pin 7 is OUT2 and pin 8 is VCC. Both comparator channels share the single GND pin and the single VCC pin, which means the two channels cannot be used with independent supply rails. Use the pin description table in the manufacturer datasheet when assigning PCB tracks, and remember that each output needs its own pull-up resistor.
How does the LM393APG4 compare with the TI LM393AP and LM393APE4?
The LM393AP, LM393APE4 and LM393APG4 are all the same Texas Instruments comparator die in an 8-pin PDIP package with identical electrical characteristics and pin functions, so they are direct drop-in substitutes for one another on an existing PCB. The differences are ordering and marking conventions: the G4 suffix denotes the green (RoHS-compliant) finish, while the E4 suffix denotes the enhanced device ordering option. The LM393AP without a green suffix may carry a different environmental marking, which matters only for documents that require a certified green part number.
Is there a low-power drop-in replacement for the LM393APG4?
Yes, the CMOS TS393 from STMicroelectronics is widely cited as the lowest-power drop-in alternative to the classic LM393, drawing roughly 9 uA per channel versus the tens of microamps of the bipolar original while remaining pin compatible over a 2.7 V to 16 V supply range. The trade-off is that the TS393 supply ceiling is lower than the 36 V limit of the LM393, so it is suitable for low-voltage battery and 5 V systems but not for 24 V or 36 V rails. For 5 V-only systems the LMV393 is another common low-power choice.
What can replace the LM393APG4 in a 24 V industrial control board?
For 24 V industrial designs, the bipolar LM393 family itself remains the safest substitute because the TS393 CMOS part is limited to a 2.7 V to 16 V supply range and cannot tolerate a 24 V rail. Texas Instruments offers the LM393AP, LM393APE4 and LM393APG4 orderable part numbers in the same 8-pin PDIP footprint with the same 2 V to 36 V capability, so they can be fitted directly onto an existing board. If very low quiescent current is required in a 24 V design, a CMOS-input comparator in a different package with appropriate voltage rating should be evaluated instead.
When should I choose the LM393APG4 over a modern CMOS comparator?
Choose the LM393APG4 when your design runs on a wide supply range up to 36 V, when you need an input common-mode range that reaches close to both rails, or when you are maintaining an existing PCB and want a guaranteed in-stock, low-cost replacement with an open-collector output. Choose a CMOS-input comparator when battery life dominates, when quiescent current in the microamp range matters, or when you need rail-to-rail output drive without pull-up resistors. The LM393 remains the safer default for 24 V and 36 V industrial and automotive-adjacent rails.
Is the LM393APG4 suitable for window comparators and battery monitoring?
The LM393APG4 is well suited to window comparators because its two channels share a common supply and ground yet have fully independent inputs, allowing one channel to watch a high threshold and the other a low threshold with the outputs tied together for wired-AND behavior. Its open-collector outputs make this easy: pull both outputs up to a single resistor and the node goes low only when either channel trips. For battery monitoring on a single cell or 5 V pack, the 2 V minimum supply allows operation directly from the cell voltage with headroom for the comparator.
How do I protect a switching power supply with the LM393APG4?
A common technique is to compare the feedback-derived output voltage against a reference with one channel and to monitor the input rail with the second channel, using the open-collector outputs to pull down a shutdown or crowbar node. Because the outputs can only sink current, they can directly pull a logic gate, an optocoupler LED through a series resistor, or an NPN base to disable the switching stage. Texas Instruments application material on the LM393 family shows over-voltage and under-voltage protection examples built on exactly this open-collector action.
What is the maximum supply voltage for the LM393APG4?
The maximum total supply voltage for the LM393APG4 is 36 V, and in dual-supply operation the difference between the positive and negative supply rails must also remain within 2 V to 36 V. Exceeding these limits can damage the device regardless of whether the inputs are within range. This wide rating is one of the main reasons the LM393 remains common in 24 V industrial and 36 V automotive-style sensing circuits, where many modern CMOS comparators are limited to 5.5 V or 16 V.
How do I choose a pull-up resistor value for the LM393APG4 open-collector output?
Pick the pull-up resistor to balance output rise time against sink current capability of the open-collector stage. A common starting point is 1 kΩ to 10 kΩ when driving CMOS inputs, with 10 kΩ to 47 kΩ acceptable when driving slow CMOS or relay coils, and the value must be reduced when driving heavier loads. The slower the pull-up, the more susceptible the node is to noise spikes from stray coupling, so place the resistor close to the output pin. Keep the pull-up supply within the 2 V to 36 V device limit.
What are the key specifications of the LM393APG4 that engineers should know?
The LM393APG4 integrates two independent differential comparator channels in an 8-pin PDIP (0.300 inch, 7.62 mm) through-hole package. Key facts: open-collector open-emitter outputs requiring external pull-up resistors, operation from 2 V to 36 V on a single supply or across a 2 V to 36 V supply differential, rail-to-rail input capability per the distributor product description, and a device description of IC DUAL DIFF COMPARATOR 8-DIP from Texas Instruments. Both channels share pin 4 (GND) and pin 8 (VCC), which constrains them to a common supply.
Where can I buy the LM393APG4 and what is the lead time?
The LM393APG4 is stocked by multiple authorized distributors worldwide, and distributor listings show in-stock inventory in the thousands of pieces, so the part is generally available rather than allocated. Submit a request through the Request a Quote form on this page to confirm current stock, the exact packaging option and the production lead time for your volume, since pricing and lead time move with demand. Because this is an established, high-volume Texas Instruments orderable part number, supply is typically stable across industrial and automotive-adjacent programs.
What is the difference between the LM393 and the LM393B from Texas Instruments?
Texas Instruments markets the LM393 and the LM393B as closely related dual comparator families, with the LM393B generally offered with tighter characterization and additional automotive-qualified ordering options while the LM393 remains the classic general-purpose part. The LM393APG4 belongs to the LM393 family, and it is the LM393 ordering table that maps the PDIP-8 package to the AP suffix. For a like-for-like swap on an existing board, choose an LM393 or LM393B orderable part number with the identical PDIP-8 package and matching pinout rather than mixing families.

工程参考数据: LM393APG4 ——对比、设计指导和合规信息。

选型指南

Choose the LM393APG4 when your circuit runs on a 24 V or 36 V rail, when you need an open-collector output for level translation, relay drive or wired-AND fault flags, or when you are maintaining an existing board and want a guaranteed in-stock, low-cost drop-in with a long supply history. If your supply is 16 V or below and battery life is the dominant constraint, the CMOS TS393 in the same pinout reduces supply current to roughly 9 uA per channel, at the cost of a lower voltage ceiling and different output labeling. Within the Texas Instruments family, pick LM393AP, LM393APE4 or LM393P when you need the same die without the green G4 environmental marking, and note that all variants share the same 8-PDIP footprint and pinout. Avoid the LM393LV and LMV393 families unless you specifically need sub-2 V or low-power operation, since they are not intended for high-voltage rails.

与替代料对比

参数 本产品 LM393AP LM393APE4 LM393P LM393N TS393
Package PDIP-8 (0.300 inch, 7.62 mm) PDIP-8 (0.300 inch, 7.62 mm) - same PDIP-8 (0.300 inch, 7.62 mm) - same PDIP-8 (0.300 inch, 7.62 mm) - same PDIP-8 (0.300 inch, 7.62 mm) - same PDIP-8 - same
Brand Texas Instruments Texas Instruments Texas Instruments Texas Instruments Texas Instruments STMicroelectronics
Number of Comparators 2 2 2 2 2 2
Output Type Open-Collector, Open-Emitter Open-Collector Open-Collector Open-Collector Open-Collector Open-Drain
Single Supply Operating Range 2 V to 36 V 2 V to 36 V 2 V to 36 V 2 V to 36 V 2 V to 36 V 2.7 V to 16 V

关键差异点

  • Operates up to 36 V on a single supply, far above typical CMOS-input comparators (对比 TS393)
  • Exact same-die drop-in options within the same orderable family (对比 LM393APE4)
  • Open-collector output enables level translation and wired-AND fault flags (对比 TS393)
  • Established, widely supported supply base for industrial programs (对比 TS393)

设计说明

The most common error with the LM393APG4 is forgetting that the open-collector output cannot source current. Every output node needs a pull-up resistor to a positive rail within the 2 V to 36 V device limit, and the pull-up rail may differ from the comparator supply, which is what makes level translation to 3.3 V or 5 V logic straightforward. A second common mistake is treating the two channels as independent supplies: pins 4 and 8 are shared, so both channels must run from the same supply and the same ground return. If the sensor to be sensed is referenced to a different ground, either isolate it with an optocoupler or translate it into the comparator ground domain.

Place the pull-up resistors directly at the output pins rather than at the connector or load, because the open-collector node is high impedance whenever the transistor is off and stray capacitance plus coupled noise will otherwise create slow edges and false triggers. Keep the input traces short and away from the relay or switching stage, and route the comparator ground pin with a low-impedance path to the system ground star point so that ground bounce in the relay loop does not shift the reference seen at the inputs. Through-hole PDIP-8 placement also benefits from a solid ground pour under the device to reduce coupling into the high-impedance input nodes.

Estimated: with a 24 V supply and both channels toggling continuously, the bipolar input and output stages consume roughly 1 mA of supply current per channel based on typical LM393-class device data, giving about 50 mW of dissipation in the 8-PDIP package at 24 V. In a through-hole DIP at 25 C ambient this is far below the device power rating, so no heatsinking is required. The same calculation at a 36 V rail gives roughly 72 mW total, still thermally trivial, but the higher rail does increase the voltage stress on the internal junctions, so 36 V should be treated as the absolute ceiling rather than a nominal operating point.

合规信息

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
无铅
Unknown
无卤
Unknown
冲突矿物
Unknown

The G4 ordering suffix on this Texas Instruments part denotes the green (RoHS-compliant) finish, but no explicit RoHS, REACH, AEC-Q100 or conflict-minerals statement was available for this orderable part number in the manufacturer or distributor pages reviewed. Treat all environmental compliance fields as unknown until the certificate of conformance for the specific lot is requested.

数据核验日期: 2026-11-02 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

LM393APG4 LM393APG4 datasheet LM393APG4 datasheet pdf LM393APG4 pinout LM393APG4 equivalent LM393APG4 replacement LM393APG4 price LM393APG4 stock Texas Instruments LM393APG4 LM393APG4 vs LM393AP LM393APG4 vs TS393 LM393 dual comparator 8-PDIP open collector LM393 open collector pull-up resistor circuit LM393 24V overvoltage protection circuit what is the difference between LM393 and LM393B

相关元器件 & 术语

Texas Instruments LM393APG4 LM393AP LM393APE4 LM393P LM393N LM393B TS393 STMicroelectronics comparator differential comparator open-collector output open-drain output voltage regulator category analog IC PDIP-8 DIP package through-hole package pull-up resistor wired-AND level translation over-voltage protection battery window monitoring zero-cross detection rail-to-rail input RoHS
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情