LM331

General-Purpose High-Voltage Open-DrainOutput Single Comparator
1 FEATURES
Supply Range: +3V to +32V

Low Supply Current
65μA (TYP) per channel at VS = 5V

Low Output Saturation Voltage

Open-Drain Output for Maximum Flexibility



SPECIFIED UP TO +125°C

Micro SIZE PACKAGES: SOT23-5

2 APPLICATIONSHysteresis Comparators



Factory Automation & ControlIndustrial Equipment



Test and MeasurementCordless Power Tool

Vacuum Robot

Wireless Infrastructure

3 DESCRIPTIONSThe LM331 is the single comparator version, and theoutputs can be connected to other open-collector
outputs to achieve wired-AND relationships. It canoperate from 3V to 32V, and have low power consuming
65uA (TYP) per channel.
The LM331 consist one voltage comparators that aredesigned to operate from a single power supply over awide range of voltages. Quiescent current isindependent of the supply voltage. The device is themost cost-effective solutions for applications where lowoffset voltage, high supply voltage capability, low supply
current, and space saving are the primary specifications
in circuit design for portable consumer products.
The LM331 is available in Green SOT23-5 packages. It
operates over an ambient temperature range of -40°C
to +125°C.

Device Information (1)PARTNUMBER
LM331
(1)

REV A.2.1

PACKAGEBODY SIZE (NOM)

SOT23-52.90mm×1.60mm

For all available packages, see the orderable addendum at theend of the data sheet.

1 / 14www.run-ic.com

LM331
Table of Contents
1 FEATURES .......................................................................................................................................................1
2 APPLICATIONS ................................................................................................................................................1
3 DESCRIPTIONS ................................................................................................................................................1
4 Revision History ..............................................................................................................................................35 PACKAGE/ORDERING INFORMATION (1) ......................................................................................................4
6 Pin Configuration and Functions (Top View) ...............................................................................................57 SPECIFICATIONS ............................................................................................................................................67.1 Absolute Maximum Ratings ........................................................................................................................67.2 ESD Ratings................................................................................................................................................67.3 Recommended Operating Conditions .........................................................................................................67.4 Thermal Information: LM331 .......................................................................................................................77.5 ELECTRICAL CHARACTERISTICS ...........................................................................................................87.6 TYPICAL CHARACTERISTICS ..................................................................................................................98 Detailed Description ..................................................................................................................................... 108.1 Overview .................................................................................................................................................. 109 Application and Implementation ................................................................................................................. 11
9.1 Application Information ............................................................................................................................ 11
9.2 Typical Application ................................................................................................................................... 11
9.3 Detailed Design Procedure ...................................................................................................................... 119.4 Input Voltage Range ................................................................................................................................ 1110 PACKAGE OUTLINE DIMENSIONS ........................................................................................................... 1211 TAPE AND REEL INFORMATION .............................................................................................................. 132 / 14

www.run-ic.com

LM331
4 Revision History
Note: Page numbers for previous revisions may different from page numbers in the current version.
VERSION

Change Date

Change Item

A.0

2020/02/11

A.1

2022/02/23

A.2

2022/07/15

Pre version completed
1.Modify ELECTRICAL CHARACTERISTICS and TYPICAL CHARACTERISTICS
2.Add TAPE AND REEL INFORMATION
Change Supply Range: +3V to +32V

A.2.1

2024/02/23

Modify packaging naming

3 / 14www.run-ic.com

LM331
5 PACKAGE/ORDERING INFORMATION (1)OrderableDevice
LM331BXF
LM331CXF-40°C ~+125°C

DeviceMarking (2)331B

Tape and Reel,3000-40°C ~+125°C

331C

Tape and Reel,3000

Package Type

PinChannel

Op Temp(°C)

SOT23-5

51

SOT23-55

1

Package Qty

NOTE:(1) This information is the most current data available for the designated devices. This data is subject to change without notice and revisionof this document. For browser-based versions of this data sheet, refer to the right-hand navigation.
(2) There may be additional marking, which relates to the lot trace code information(data code and vendor code)，the logo or theenvironmental category on the device.

4 / 14www.run-ic.com

LM331
6 Pin Configuration and Functions (Top View)
LM331CLM331B

V-2-IN

35V+-IN

1-V-

24OUT+IN

3SOT23-5

5V+

4OUT

-+

1++IN

SOT23-5

Pin Description
PIN SOT23-5

I/O (1)DESCRIPTION

3I

Noninverting input

2P

Negative (lowest) power supply

31I

Inverting input

OUT

44O

OutputV+

55P

Positive (highest) power supply

NAME(1)

LM331B

LM331C+IN

1V-

2-IN

I=Input, O=Output, P=Power5 / 14www.run-ic.com

LM3317 SPECIFICATIONS
7.1 Absolute Maximum Ratings
Over operating free-air temperature range (unless otherwise noted) (1)
MINMAX

Supply, VS=(V+) - (V-)
Voltage

Current

36

Input pin (IN+, IN-) (2)(V-)-0.3(V+) +0.3

Signal output pin (3)(V-)-0.3(V+) +0.3

Signal input pin (IN+, IN-) (2)

-10

10mA

Signal output pin (3)

-55

55mA

Output short-circuit (4)Junction, TJ

VContinuous

Operating range, TA
Temperature

UNIT

(5)

Storage, Tstg

-40

125-40150-65150°C(1) Stresses above these ratings may cause permanent damage. Exposure to absolute maximum conditions for extended periods may
degrade device reliability. These are stress ratings only, and functional operation of the device at these or any other conditions beyond
those specified is not implied.
(2) Input terminals are diode-clamped to the power-supply rails. Input signals that can swing more than 0.3V beyond the supply rails should
be current-limited to 10mA or less.
(3) Output terminals are diode-clamped to the power-supply rails. Output signals that can swing more than 0.3V beyond the supply rails
should be current-limited to ±55mA or less.
(4) Short-circuit from output to VS can cause excessive heating and eventual destruction.
(5) The maximum power dissipation is a function of TJ(MAX), RθJA, and TA. The maximum allowable power dissipation at any ambient
temperature is PD = (T J(MAX) - TA) / RθJA. All numbers apply for packages soldered directly onto a PCB.

7.2 ESD Ratings
The following ESD information is provided for handling of ESD-sensitive devices in an ESD protected area only.
VALUEV(ESD)Electrostatic discharge

Human-Body Model (HBM), per ANSI/ESDA/JEDEC JS001, all pins (1)Charged Device Model (CDM), per JEDEC specification
JESD22-C101, all pins (2)

UNIT

±2000
V±1000(1) JEDEC document JEP155 states that 500V HBM allows safe manufacturing with a standard ESD control process.
(2) JEDEC document JEP157 states that 250V CDM allows safe manufacturing with a standard ESD control process.

ESD SENSITIVITY CAUTION
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may
be more susceptible to damage because very small parametric changes could cause the device not to meet its publishedspecifications.

7.3 Recommended Operating Conditions
Over operating free-air temperature range (unless otherwise noted)
MIN
Supply voltage，VS= (V+) - (V-）

NOM

MAX

Single-supply

332

Dual-supply±1.5±16

6 / 14UNIT
V

www.run-ic.com

LM331
7.4 Thermal Information: LM331
LM331
THERMAL METRIC (1)

5PINS

UNIT

SOT23-5
RϴJA

Junction-to-ambient thermal resistance

273.8°C/W

RϴJC(top)

Junction-to-case(top) thermal resistance

126.8°C/W

RϴJB

Junction-to-board thermal resistance

85.9°C/W

ѰJT

Junction-to-top characterization parameter

10.9°C/WѰJB

Junction-to-board characterization parameter

84.9°C/W

RϴJC(bot)

Junction-to-case(bottom) thermal resistance

N/A°C/W(1) Thermal resistance varies with operating conditions.

7 / 14www.run-ic.com

LM331
7.5 ELECTRICAL CHARACTERISTICS(At TA = +25ºC, VCM=(VS/2), VS=5V, unless otherwise noted.)
LM331
PARAMETERCONDITIONS

UINTS
MIN

VS

Operating Voltage RangeIQQuiescent Current

VOS

Input offset voltage

IBInput Bias Current

TYP

3
VS=5V, no load
VS=32V, no load,
TA=-40C to +125C
VS=5V to 32V
VS=5V to 32V
TA=-40C to +125C
TA=25C

32
65-7.5±5-10

10TA=25C

Input Offset Current

VCM

Common-Mode Voltage Range

AVD

Large signal differential voltage
amplification

VOL

Low-Level output voltage

IOL

Output Current(sinking)

ILEAK

High-Level Output Leakage Current

TA=-40C to +125C
VS=3V to 32V
VS=3V to 32V
TA=-40C to +125C
VS=15V, Vo=1.4V to11.4V
RL≥15k to (V+)
Isink≤4mA, VID=-1V
VO=1.5V; VID=-1V;
VS=5V(V+) =Vo=5V; VID=1V(V+) =Vo=32V; VID=1VuA
7.51010pA

100nA50pA

100nA(V+)-1.5(V-)+0.5(V+)-2.0200
300mV

50(V-)+0.550

V

100

100

TA=-40C to +125C

IOS

MAX

V

V/mV
360

15mVmA

220nA

450nA

Switching Characteristics
VS=5V
TPHL

Propagation Delay H To L
VS=32V

VS=5V
TPLH

Propagation Delay L To H
VS=32V

RPU=5.1KΩ, Overdrive=10mV
RPU=5.1KΩ, Overdrive=100mV
RPU=5.1KΩ, Overdrive=10mV
RPU=5.1KΩ, Overdrive=100mV
RPU=5.1KΩ, Overdrive=10mV
RPU=5.1KΩ, Overdrive=100mV
RPU=5.1KΩ, Overdrive=10mV
RPU=5.1KΩ, Overdrive=100mV

8 / 14

0.5
0.3
0.64
0.5
us
1.5
0.3
1.5
0.25

www.run-ic.com

LM331
7.6 TYPICAL CHARACTERISTICS

Input Bias Current(pA)

Total Supply Current(uA)

NOTE: The graphs and tables provided following this note are a statistical summary based on a limited number of samples
and are provided for informational purposes only.
At TA = +25C, VS=5V, RPULLUP=5.1K VCM = Vs/2, CL=15pF, VOVERDRIVE=100mV, unless otherwise noted.
100K90No Load,Output High80
10K706050403020-40°C
25°C
125°C

1002581010.1-40 -20

Supply Voltage(V)020 40 60 80 100 120 140

Temperature(℃)

Figure 2. INPUT BIAS CURRENT vsTEMPERATURE

0.6

3.5
VS=5V

VS=5V

30.5

2.5

Time(us)0.4Time(us)100

11 14 17 20 23 26 29 32

Figure 1. Total Supply Current vs Supply
Voltage

0.30.221.510.1

0.50000

50 100 150 200 250 300 350 400

Overdrive(mV)Figure 3. Response Time vs Input Overdrives
Negative Transition

50100 150 200 250 300 350 400

Overdrive(mV)Figure 4. Response Time vs Input Overdrives
Positive Transition
3.5

0.8
VS=32V

0.7

VS=32V

3

0.6

2.5

0.5

Time(us)

Time(us)

1K

0.4
0.3

2
1.5
1

0.2

0.5

0.1

0000

50 100 150 200 250 300 350 400

Overdrive(mV)Figure 5. Response Time vs Input Overdrives
Negative Transition

50 100 150 200 250 300 350 400

Overdrive(mV)Figure 6. Response Time vs Input Overdrives
Positive Transition
9 / 14www.run-ic.com

LM3318 Detailed Description
8.1 Overview
The LM331 family of comparators can operate up to 32V on the supply pin. This standard device has provenubiquity and versatility across a wide range of applications. This is due to its low power and high speed. The
open-drain output allows the user to configure the output's logic low voltage (VOL) and can be utilized to enable
the comparator to be used in AND functionality.

V+

IN+

IN-+

OUT

VFigure 7. Functional Block Diagram

10 / 14www.run-ic.com

LM331
9 Application and Implementation
Information in the following applications sections is not part of the RUNIC component specification, and RUNIC
does not warrant its accuracy or completeness. RUNIC’s customers are responsible for determining suitabilityof components for their purposes. Customers should validate and test their design implementation to confirm
system functionality.

9.1 Application Information
LM331 is typically used to compare a single signal to a reference or two signals against each other. Many users
take advantage of the open drain output (logic high with pull-up) to drive the comparison logic output to a logicvoltage level to an MCU or logic device. The wide supply range and high voltage capability makes thiscomparator optimal for level shifting to a higher or lower voltage.

9.2 Typical Application
VLOGICVLOGIC
VSUP
VIN+

VSUP
RPULLUP

VIN+

LM331

Vref

RPULLUP+
LM331

CL

VIN-

CLFigure 8. Single-Ended and Differential Comparator Configurations

9.3 Detailed Design Procedure
When using the device in a general comparator application, determine the following:• Input Voltage Range• Minimum Overdrive Voltage• Output and Drive Current• Response Time

9.4 Input Voltage Range
When choosing the input voltage range, the input common mode voltage range (VICR) must be taken in toaccount. If temperature operation is below 25°C the VICR can range from 0 V to V S– 2.0 V. This limits the input
voltage range to as high as VS– 2.0 V and as low as 0 V. Operation outside of this range can yield incorrectcomparisons.

11 / 14www.run-ic.com

LM331
10 PACKAGE OUTLINE DIMENSIONSSOT23-5
D1.90b2.59

E1E
0.99
0.95

0.69ee1RECOMMENDED LAND PATTERN (Unit: mm)

0.2
A A2c

θ
L

A1Dimensions In Millimeters

Dimensions In Inches

SymbolMinMax

Min

Max

A

1.050

1.250

0.041

0.049

A1

0.000

0.100

0.000

0.004

A2

1.050

1.150

0.041

0.045

b0.300

0.500

0.012

0.020

c

0.100

0.200

0.004

0.008

D

2.820

3.020

0.111

0.119

E

1.500

1.700

0.059

0.067

E1

2.650

2.950

0.104

0.116

e0.950(BSC)

0.037(BSC)

e1

1.800

2.000

0.071

0.079

L

0.300

0.600

0.012

0.024

θ

0°

8°

0°8°

NOTE:A. All linear dimension is in millimeters.
B. This drawing is subject to change without notice.
C. Body dimensions do not include mold flash or protrusion. Mold flash and protrusion shall not exceed 0.15 per side.
D. BSC: Basic Dimension. Theoretically exact value shown without tolerances.

12 / 14www.run-ic.com

LM331
11 TAPE AND REEL INFORMATIONREEL DIMENSIONSTAPE DIMENSION

Reel
DiameterReel Width(W1)

DIRECTION OF FEEDNOTE: The picture is only for reference. Please make the object as the standard.

KEY PARAMETER LIST OF TAPE AND REELPackageTypeReel
Diameter

SOT23-57’’

Reel
Width(mm)9.5A0(mm)B0(mm)

K0(mm)

P0(mm)

P1(mm)

P2(mm)

W(mm)

Pin1Quadrant

3.20

3.20

1.40

4.0

4.0

2.0

8.0

Q3

NOTE:
1. All dimensions are nominal.
2. Plastic or metal protrusions of 0.15mm maximum per side are not included.

13 / 14www.run-ic.com

LM331
IMPORTANT NOTICE AND DISCLAIMER
Jiangsu RUNIC Technology Co., Ltd. will accurately and reliably provide technical and reliability data (includingdata sheets), design resources (including reference designs), application or other design advice, WEB tools,safety information and other resources, without warranty of any defect, and will not make any express or impliedwarranty, including but not limited to the warranty of merchantability Implied warranty that it is suitable for a
specific purpose or does not infringe the intellectual property rights of any third party.
These resources are intended for skilled developers designing with RUNIC products You will be solely
responsible for: (1) Selecting the appropriate products for your application; (2) Designing, validating and testing
your application; (3) Ensuring your application meets applicable standards and any other safety, security orother requirements; (4) RUNIC and the RUNIC logo are registered trademarks of RUNIC INCORPORATED. All
trademarks are the property of their respective owners; (5) For change details, review the revision history included
in any revised document. The resources are subject to change without notice. Our company will not be liable forthe use of this product and the infringement of patents or third-party intellectual property rights due to its use.

14 / 14www.run-ic.com