Bringup
Open the editor
SPICE subcircuitLM393DRlm393

LM393 (dual comparator)

Two comparators with open-collector outputs (pull-up required), response time ~300 ns, no hysteresis. Pinout as in the datasheet.

IN1+IN1−IN2+IN2−OUT1OUT2VCCGNDLM393DR
Schematic symbol

Key data

Category
ICs
Simulation model
SPICE subcircuit
Manufacturer part number
LM393DR
Reference prefix
U
Pins
8
Land pattern
SOIC-8_3.9x4.9mm_P1.27mm

Simulation model

The part is a small SPICE netlist (below), solved by the analog engine together with the rest of the circuit. Pin ids are the node names, {braces} are parameters.

SPICE netlist
U1 3 2 1 8 4 COMP TAU={TAU}
U2 5 6 7 8 4 COMP TAU={TAU}

Pins 8

PinNameUse
3IN1+Input pinComparator 1 non-inverting input
2IN1−Input pinComparator 1 inverting input
5IN2+Input pinComparator 2 non-inverting input
6IN2−Input pinComparator 2 inverting input
1OUT1Output pinOpen-collector output 1: pull-up resistor required
7OUT2Output pinOpen-collector output 2: pull-up resistor required
8VCCSupply pinSupply 2–36 V: 100 nF to GND
4GNDGround pinGround

Parameters 1

Response timeTAU
Default300n s

PCB

Verified land patternSOIC-8_3.9x4.9mm_P1.27mm