Quad comparator · multi-channel threshold detection
LM339 / LM2901 Quad Comparator
Four independent open-collector comparators; a useful reference for interpreting multi-input threshold and protection paths without confusing a shared pull-down net with a bad chip.
Search problem: LM339 protection fault, LM2901 no output, comparator pinout and channel comparison.
Evidence boundary: This is a device-level reference derived from manufacturer documentation. Confirm the actual PCB, exact suffix and package before applying it to a welder.
Start from the measured symptom
Do not replace this IC because the machine has a no-output symptom alone. First choose the observed signal and compare it with the conditions below.
| Observed symptom | First useful check | Interpretation boundary |
|---|---|---|
| One output permanently low | Measure the associated two input pins, local pull-up and its shared downstream net. | A single threshold may be active; do not infer four bad channels. |
| All outputs remain low | Start with supply and shared references / external loading rather than replacing the entire IC. | Four independent channels can share one bad supply or reference. |
| An output floats or is weak | Check external pull-up continuity before suspecting the IC. | Open collector does not drive a logic high. |
| Fault appears at switching transition | Trace threshold dividers, hysteresis and PCB ground noise. | Inputs near the threshold can chatter. |
Pin functions and measurement references
Standard 14-pin DIP/SOIC/TSSOP top view. Channel names for comparators 1 and 2 are transposed by some manufacturers; trace the physical pin pairs. WQFN-16 uses a different pinout.
| Pin | Signal | Repair interpretation |
|---|---|---|
| 1 | OUT1 | Open-collector output; paired in standard TI table with IN1− pin 6 / IN1+ pin 7. |
| 2 | OUT2 | Open-collector output; paired with IN2− pin 4 / IN2+ pin 5. |
| 3 | VCC | Positive supply; use schematic and manufacturer grade limits. |
| 4 | IN2− | Second channel negative input. |
| 5 | IN2+ | Second channel positive input. |
| 6 | IN1− | First channel negative input. |
| 7 | IN1+ | First channel positive input. |
| 8 | IN3− | Third channel negative input. |
| 9 | IN3+ | Third channel positive input. |
| 10 | IN4− | Fourth channel negative input. |
| 11 | IN4+ | Fourth channel positive input. |
| 12 | GND | Ground / negative supply. |
| 13 | OUT4 | Fourth channel open-collector output. |
| 14 | OUT3 | Third channel open-collector output. |
Pin numbering is a component-package convention, not a verified connector position or a universal welding-machine test point. Never use a different package map by assumption.
Step-by-step decision sequence
- Confirm standard 14-pin package and locate the notch / dot; avoid accidentally using the WQFN-16 pin map.
- With power removed, inspect pull-ups, divider resistors, filter capacitors, corroded tracks and the comparator supply decoupling.
- At the low-voltage measurement reference, record pin 3 relative to pin 12; confirm the particular suffix supply range.
- Identify the affected comparator channel from the pin table, then measure the positive and negative input pair in the same state.
- Check that both inputs are inside the usable common-mode range, which does not normally extend to the positive supply rail.
- With a known-valid input difference, measure the associated output and the external pull-up, then follow any protection OR network.
- If several channels behave oddly, test common reference, negative return, shared input divider and actual power rail before claiming IC failure.
Record actual numbers, instrument reference, operating state and whether each check was with power isolated. An unrecorded voltage estimate cannot establish the fault.
How to interpret contradictory evidence
| Measured evidence | What it can mean | Next action |
|---|---|---|
| One comparator sinks low under a valid trip input | Likely proper protection action. | Trace sensed current, temperature or undervoltage input as appropriate. |
| All four outputs look low with correct inputs | Check shared supply/ground, clamp net, external loads or incorrect package numbering. | Do not replace all protection parts before checking common causes. |
| Output stuck high when valid negative input exceeds positive | Open sink, damaged channel or incorrect output/pull-up measurement. | Confirm output load and compare another channel. |
| Outputs chatter near threshold | Small input difference, no hysteresis or injected ripple. | Inspect RC filter, reference stability and layout coupling. |
Stop conditions and applicability limits
- LM339/LM2901 are voltage comparators, not linear op-amps; the output is an open-collector sink, not a push-pull stage.
- Legacy LM339/LM2901 and B-version supply, offset and temperature specifications differ; exact grades matter.
- Some manufacturer drawings interchange channel 1/2 labels while preserving the 14-pin electrical pinout.
- Do not assume every comparator on an unidentified board is wired to a welding protection function.
Safety stop: if the DC bus remains charged, isolation is uncertain, the gate lead or clamp is shorted, the output reference floats at high potential, or the circuit identity is unconfirmed, stop live testing. High-voltage inverter service requires qualified personnel and suitable isolated instrumentation.
Frequent repair questions
Is pin 1 the power supply on LM339?
No. On standard 14-pin LM339/LM2901, VCC is pin 3 and GND is pin 12; pin 1 is an output.
Why does an output fail to rise?
A pull-up resistor or a receiving circuit may be absent or defective; the IC only sinks the output.
Is LM339 interchangeable with LM393?
No. They have different pin counts and channel counts; they are not direct pin-for-pin substitutes.
Primary manufacturer sources
Source usage: manufacturer pinout, function, thresholds and device limitations. Diagnostic order and symptoms are WelderData technical interpretation, not a verbatim manufacturer repair procedure.