Texas Instruments LM311DG4
- Part No.:
- LM311DG4
- Manufacturer:
- Texas Instruments
- Category:
- Comparators
- Package:
- 8-SOIC (0.154", 3.90mm Width)
- Datasheet:
-
LM311DG4.pdf
- Description:
- IC COMPARATOR 1 GEN PUR 8SOIC
- Quantity:
- Payment:

- Shipping:

Inventory:2,408
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
LM311DG4 from Texas Instruments is a single high-speed voltage comparator with open-collector output, designed for precision level detection and signal conditioning in industrial and embedded systems. It delivers 165 ns response time, supports ±15 V or single 5-V supply operation, and features strobe control and offset balancing-enabling use in zero-crossing detectors, peak detectors, and oscillator circuits.
For engineers reviewing the LM311DG4 datasheet, LM311DG4 pinout, LM311DG4 application, or LM311DG4 equivalent, this page provides verified technical context, real-world design meaning for key specs, validated pin functions, confirmed alternatives, and supply-chain support tailored to production-grade analog signal conditioning.
Technical Context
The LM311DG4 uses a PNP input stage enabling input common-mode operation down to VCC−, and a high-gain internal amplifier optimized for fast differential voltage detection. Its output stage is an isolated-emitter NPN transistor, allowing flexible load referencing to ground, VCC+, or VCC−.
Strobe (BAL/STRB) and balance (BALANCE) pins enable external timing gating and offset trimming. The device supports wire-OR outputs and drives loads up to 40 V at 50 mA-verified under recommended operating conditions of 0°C to +70°C and 3.5–30 V supply range.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Response time | 165 ns high-to-low; enables sub-6 MHz comparator-based oscillators and fast edge detection |
| Input offset voltage | Max 7.5 mV at 25°C; defines minimum detectable voltage difference before output switching |
| Input bias current | Max 300 nA at full temperature range; ensures minimal loading on high-impedance sensor sources |
| Supply voltage range | 3.5 V to 30 V total; supports single 5-V logic rails or dual ±15-V op-amp supplies |
| Output capability | Open-collector, 40 V max collector-to-emitter; allows direct interface to TTL, MOS, relays, or lamps |
| Operating temperature | 0°C to +70°C; qualified for commercial-grade instrumentation and white goods control |
| Strobe input current | –3 mA to –5 mA sink; enables precise timing-gated comparison without external pull-down resistors |
Pinout & Package
LM311DG4 is housed in an 8-pin SOIC (Small Outline Integrated Circuit) package with 4.90 mm × 3.91 mm body size and standard JEDEC MS-012AC footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| 1: EMIT OUT | Emitter output terminal | Provides low-side reference point for collector output; enables floating-load drive referenced to VCC− or ground |
| 2: IN+ | Noninverting input | Accepts signal to be compared against IN−; operates within –14.7 V to +13.8 V common-mode range |
| 3: IN− | Inverting input | Reference or threshold input; differential voltage > VIO triggers output state change |
| 4: VCC− | Negative supply rail | Ground or negative bias source; all inputs/outputs isolated from this node |
| 5: BALANCE | Offset null adjustment | Connects to potentiometer wiper for trimming input offset voltage to <1 mV |
| 6: BAL/STRB | Strobe control input | Sink current to disable output regardless of input state-used for synchronized sampling or noise immunity |
| 7: COL OUT | Collector output | Open-collector NPN drain; requires external pullup; sinks up to 50 mA at VOL ≤1.5 V |
| 8: VCC+ | Positive supply rail | Primary power source; sets upper limit for output swing and input common-mode range |
Key Features
| Feature | Design Value |
|---|---|
| Strobe-enabled comparison | Hardware-gated decision window eliminates false triggers during noisy transients or power-up |
| Isolated emitter output | Enables load connection between COL OUT and EMIT OUT-supporting non-ground-referenced switching |
| Wide supply compatibility | Operates from 3.5 V to 30 V total supply; eliminates need for level-shifting in mixed-voltage systems |
| Wire-OR output capability | Multiple LM311DG4 outputs can share one pullup resistor-reducing component count in multi-threshold logic |
| High-voltage output drive | Supports 40 V collector-to-emitter swing-directly interfaces with industrial solenoids, optocouplers, and relay coils |
Applications
| Zero-Crossing Detection | Oscillator & Timing Circuits |
|---|---|
|
Use Scenario: Detecting AC line voltage polarity transitions in motor controllers and power inverters. IC Role / Device Role / Timing Role: Voltage comparator comparing sinusoidal input to 0 V reference with strobe-synchronized sampling. Use Value: 165 ns response ensures accurate zero-crossing capture at 50/60 Hz and harmonics up to 10 kHz. |
Use Scenario: Generating stable square-wave clocks in free-running multivibrators and crystal oscillators. IC Role / Device Role / Timing Role: Core timing element in feedback loop with RC or crystal network; BAL/STRB enables frequency modulation. Use Value: Open-collector output and wide supply range allow direct drive of logic gates or crystal load networks without buffering. |
| Peak Detection | TTL/MOS Interface Level Shifting |
|
Use Scenario: Capturing maximum amplitude of analog sensor signals in data acquisition front-ends. IC Role / Device Role / Timing Role: Comparator triggering sample-and-hold latch when input exceeds stored peak value. Use Value: Low input bias current (≤300 nA) prevents discharge of hold capacitor, preserving accuracy over milliseconds. |
Use Scenario: Converting 3.3 V or 5 V logic outputs to higher-voltage control signals for industrial I/O modules. IC Role / Device Role / Timing Role: Level translator with programmable threshold via BALANCE pin and configurable pullup voltage. Use Value: 40 V output swing and TTL/MOS-compatible output levels eliminate need for discrete level-shifter ICs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar voltage comparator applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| LM311DR | Same SOIC-8 package, identical electrical specs, but RoHS-compliant lead-free finish (LM311DG4 is leaded) | Identical functional behavior; suitable for new designs requiring RoHS compliance | Select LM311DR for lead-free manufacturing; LM311DG4 remains valid for legacy rework or leaded assembly lines |
| LM211D | Wider temperature range (–40°C to +85°C); otherwise identical pinout, speed, and output drive | Better suited for automotive body control or outdoor industrial enclosures where ambient exceeds 70°C | Choose LM211D when extended temperature operation is required; LM311DG4 is optimized for cost-sensitive commercial environments |
Compared with LM311DR and LM211D, the LM311DG4 offers identical performance in its specified 0°C to +70°C range while maintaining legacy leaded packaging for compatibility with existing wave-solder processes and reliability-critical rework scenarios.
Availability
LM311DG4 is available at Aetrix Electronics and suitable for industrial automation, white goods control, and building automation systems requiring stable component supply across long production lifecycles.
Supply support for LM311DG4 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Texas Instruments is a global semiconductor leader specializing in analog and embedded processing technologies, with decades of expertise in precision signal chain components.
The LM311DG4 belongs to TI's legacy high-speed comparator product line, engineered for robust, low-cost voltage comparison in commercial-grade instrumentation, power management, and control systems.
FAQ
What is the maximum supply voltage for LM311DG4?
The LM311DG4 supports a total supply voltage (VCC+ to VCC−) of up to 30 V, with absolute maximum ratings of ±18 V per rail. Operation beyond 30 V risks permanent damage, and recommended conditions specify 3.5 V to 30 V. This range allows direct use with ±15 V op-amp supplies or single 5-V logic rails-no external regulators needed for most applications.
Can LM311DG4 drive a relay directly?
Yes, the LM311DG4 can drive small to medium relays directly via its open-collector output. With a 40 V collector-to-emitter rating and 50 mA sink capability, it supports typical 5–24 V DC coil relays when paired with an appropriate pullup resistor and flyback diode. For example, a 12 V relay with 40 mA coil current operates reliably with a 220 Ω pullup to 12 V-verified in TI's Figure 31 application circuit.
How does the BAL/STRB pin function in LM311DG4?
The BAL/STRB pin on the LM311DG4 serves dual roles: as a strobe input (sinking –3 to –5 mA disables output regardless of input state) and as a balance control node when used with external resistors for offset trimming. When unused, it must be left open or tied to VCC+-never shorted to ground-to prevent unintended output disable or damage.
What is the input common-mode voltage range for LM311DG4?
The LM311DG4 has an input common-mode voltage range of –14.7 V to +13.8 V (at ±15 V supplies), extending to VCC– + 0.5 V and VCC+ – 1.5 V under other conditions. This allows operation near the negative rail-critical for detecting signals referenced to ground in single-supply configurations-and supports accurate comparison even with large input offsets.
Is LM311DG4 pin-compatible with LM311P or LM311PW?
Yes, LM311DG4 shares identical pinout and functionality with LM311P (PDIP-8) and LM311PW (TSSOP-8)-all are 8-pin packages with matching IN+, IN−, VCC+, VCC−, COL OUT, EMIT OUT, BALANCE, and BAL/STRB assignments. Mechanical differences (SOIC vs PDIP vs TSSOP) affect board layout and thermal performance but not schematic design or firmware logic.
LM311DG4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Texas Instruments
- Package/Case:
- 8-SOIC (0.154", 3.90mm Width)
- Series:
- -
- Packaging:
- Tube
- Product Status:
- Obsolete
- Type:
- General Purpose
- Number of Elements:
- 1
- Output Type:
- MOS, Open-Collector, Open-Emitter, TTL
- Voltage - Supply, Single/Dual (±):
- 3.5V ~ 30V, ±1.75V ~ 15V
- :
- 7.5mV @ ±15V
- Voltage - Input Offset (Max):
- 0.25µA @ ±15V
- Current - Input Bias (Max):
- -
- Current - Output (Typ):
- 7.5mA
- Current - Quiescent (Max):
- -
- CMRR, PSRR (Typ):
- -
- Propagation Delay (Max):
- -
- Hysteresis:
- 0°C ~ 70°C
- Operating Temperature:
- -
- Grade:
- -
- Qualification:
- Surface Mount
- :
- 8-SOIC
LM311DG4 FAQ
1.How can I place an order for LM311DG4 through Aetrix?
Please submit a Request for Quotation (RFQ) for LM311DG4 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for LM311DG4 reliable?
The price and inventory of LM311DG4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for LM311DG4 is usually 5 days.
3.What payment methods are accepted for LM311DG4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for LM311DG4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for LM311DG4?
LM311DG4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your LM311DG4 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for LM311DG4?
For technical support, including LM311DG4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your LM311DG4 requirements.
6.How does Aetrix verify that LM311DG4 is sourced from the original manufacturer or authorized distributors?
All LM311DG4 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that LM311DG4 meets industry standards.
7.What is the process for return or replacement of LM311DG4?
All LM311DG4 units undergo pre-shipment inspection (PSI). If there is an issue with LM311DG4, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The LM311DG4 part is unused and in its original packaging.
Return procedure for LM311DG4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
LM311DG4 Tags

-
LM2903DR
Texas Instruments
-
LM339DR
Texas Instruments

-
LM339PWR
Texas Instruments

-
LM393DT
STMicroelectronics

-
LM2901PWR
Texas Instruments

-
LM2903DT
STMicroelectronics

-
LM393DR
Texas Instruments
-
LM239DR
Texas Instruments

-
LM339APWR
Texas Instruments

-
LM2903P
Texas Instruments

-
LM393ADR
Texas Instruments

-
NCX2200GMAZ
NXP Semiconductors
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…
