Tmag 5231
Tmag 5231
Tmag 5231
1 Features 3 Description
• Low power consumption: The TMAG5231 is a 2nd-generation, low-power Hall-
– 10-Hz versions: 1.3 µA at 3 V effect switch sensor, specifically designed to optimize
– 20-Hz versions: 2 µA at 3 V the total system cost for compact, battery-operated
– 216-Hz versions: 16 µA at 3 V consumer and industrial applications.
• 1.65-V to 5.5-V operating VCC range When the applied magnetic flux density exceeds the
• Magnetic threshold option (typical BOP): operating point (BOP) threshold, the device outputs a
– 1.8 mT with 0.6-mT hysteresis low voltage. The output stays low until the flux density
– 2.85 mT with 1.35-mT hysteresis decreases to less than the release point (BRP), and
– 3 mT with 0.8-mT hysteresis then the device outputs a high voltage. Omnipolar
– 40 mT with 6.5-mT hysteresis magnetic response allows the output to be sensitive
• Omnipolar response to both north and south magnetic fields.
• Push-pull output
• Industry-standard package and pinout The TMAG5231 is able to operate at very low current
– SOT-23 package consumption. To achieve 2 μA of current consumption
– X2SON package the device is internally power cycled at a 20-Hz rate.
• Operating temperature range: –40°C to +125°C The TMAG5231 is available in the industry-standard
package and pinout SOT-23 as well as X2SON.
2 Applications
• Cell phones, laptops, or tablet case sensing The device operates at a VCC range of 1.65 V to 5.5 V
• Electricity meter tamper detection as well as an extended temperature range of –40°C to
• E-locks 125°C.
• Smoke detectors Package Information(1)
• Home appliance open/close detection PART NUMBER PACKAGE BODY SIZE (NOM)
• Medical devices SOT-23 (3) 2.92 mm × 1.30 mm
• IoT systems TMAG5231
X2SON (4) 1.10 mm × 1.40 mm
• Valve and solenoid position detection
• Contactless diagnostics or activation (1) For all available packages, see the orderable addendum at
the end of the data sheet.
VCC
Low-Power
VCC LDO
Oscillator
OUT
Output
X Amp
control
Chopper
stabiliza on
GND
Block Diagram
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
TMAG5231
SLYS042D – AUGUST 2021 – REVISED SEPTEMBER 2022 www.ti.com
Table of Contents
1 Features............................................................................1 8.1 Overview..................................................................... 8
2 Applications..................................................................... 1 8.2 Functional Block Diagram........................................... 8
3 Description.......................................................................1 8.3 Feature Description.....................................................8
4 Revision History.............................................................. 2 8.4 Device Functional Modes..........................................11
5 Device Comparison......................................................... 3 9 Application and Implementation.................................. 12
6 Pin Configuration and Functions...................................3 9.1 Application Information............................................. 12
7 Specifications.................................................................. 4 9.2 Typical Applications.................................................. 14
7.1 Absolute Maximum Ratings........................................ 4 9.3 Power Supply Recommendations.............................19
7.2 ESD Ratings............................................................... 4 9.4 Layout....................................................................... 19
7.3 Recommended Operating Conditions.........................4 10 Device and Documentation Support..........................21
7.4 Thermal Information....................................................4 10.1 Support Resources................................................. 21
7.5 Electrical Characteristics.............................................5 10.2 Trademarks............................................................. 21
7.6 Magnetic Characteristics.............................................5 10.3 Electrostatic Discharge Caution..............................21
7.7 Typical Characteristics................................................ 6 10.4 Glossary..................................................................21
8 Detailed Description........................................................8 11 Mechanical and Packaging Information.................... 21
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
5 Device Comparison
Table 5-1. Device Comparison
TYPICAL TYPICAL MAGNETIC OUTPUT SENSOR SAMPLING PACKAGES
VERSION
THRESHOLD HYSTERESIS RESPONSE TYPE ORIENTATION RATE AVAILABLE
Omnipolar SOT-23
TMAG5231A1C 1.8 mT 0.6 mT Push-pull Z 10 Hz
active Low X2SON
Omnipolar SOT-23
TMAG5231A2D 1.8 mT 0.6 mT Push-pull Z 20 Hz
active High X2SON
Omnipolar SOT-23
TMAG5231B1D 2.85 mT 1.35 mT Push-pull Z 20 Hz
active Low X2SON
Omnipolar SOT-23
TMAG5231C1D 3 mT 0.8 mT Push-pull Z 20 Hz
active Low X2SON
Omnipolar SOT-23
TMAG5231C1G 3 mT 0.8 mT Push-pull Z 216 Hz
active Low X2SON
Omnipolar SOT-23
TMAG5231H1D 40 mT 6.5 mT Push-pull Z 20 Hz
active Low X2SON
GND VCC
1 4
VCC 1
Thermal
3 GND Pad
2 3
OUT 2
NC OUT
Figure 6-2. DMR Package 4-Pin X2SON Top View
Figure 6-1. DBZ Package 3-Pin SOT-23 Top View
7 Specifications
7.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted)(1)
MIN MAX UNIT
Power Supply Voltage VCC –0.3 5.5
V
Output Pin Voltage OUT GND – 0.3 VCC + 0.3
Output Pin current OUT –5 5 mA
Magnetic Flux Density, BMAX Unlimited T
Junction temperature, TJ Junction temperature, TJ 150 °C
Storage temperature, Tstg –65 150 °C
(1) Operation outside the Absolute Maximum Ratings may cause permanent device damage. Absolute Maximum
Ratings do not imply functional operation of the device at these or any other conditions beyond those listed
under Recommended Operating Conditions. If used outside the Recommended Operating Conditions but within
the Absolute Maximum Ratings, the device may not be fully functional, and this may affect device reliability,
functionality, performance, and shorten the device lifetime.
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
(1) For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application
report.
1.5 1.5
0.5 0.5
-0.5 -0.5
-1.5 -1.5
-2.5 -2.5
-40 -25 -10 5 20 35 50 65 80 95 110 125 1.65 2.65 3.65 4.65 5.5
Temperature (C) Supply Voltage (V)
VCC = 3 V TA = 25°C
Figure 7-1. 1.8 mT Threshold vs. Temperature Figure 7-2. 1.8 mT Threshold vs. Supply Voltage
5 5
BOPS BOPN BRPS BRPN BOPS BOPN BRPS BRPN
3 3
1 1
-1 -1
-3 -3
-5 -5
-40 -25 -10 5 20 35 50 65 80 95 110 125 1.65 2.65 3.65 4.65 5.5
Temperature (C) Supply Voltage (V)
VCC = 3 V TA = 25°C
Figure 7-3. 2.85 mT Threshold vs. Temperature Figure 7-4. 2.85 mT Threshold vs. Supply Voltage
5 5
BOPS BOPN BRPS BRPN BOPS BOPN BRPS BRPN
4
3 3
Magnetic Threshold (mT)
Magnetic Threshold (mT)
2
1 1
0
-1 -1
-2
-3 -3
-4
-5 -5
-40 -25 -10 5 20 35 50 65 80 95 110 125 1.65 2.65 3.65 4.65 5.5
Temperature (C) Supply Voltage (V)
VCC = 3 V TA = 25°C
Figure 7-5. 3.0 mT Threshold vs. Temperature Figure 7-6. 3.0 mT Threshold vs. Supply Voltage
4 4
VCC = 1.65 V VCC = 1.65 V
VCC = 3 V VCC = 3 V
VCC = 5.5 V VCC = 5.5 V
3 3
Supply Current (A)
1 1
0 0
-40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C) Temperature (C)
Figure 7-7. ICC vs. Temperature Figure 7-8. ICC vs. Temperature
4 4
VCC = 1.65 V VCC = 1.65 V
VCC = 3 V VCC = 3 V
VCC = 5.5 V VCC = 5.5 V
3 3
Supply Current (A)
1 1
0 0
-40 -25 -10 5 20 35 50 65 80 95 110 125 -40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C) Temperature (C)
Figure 7-9. ICC vs. Temperature Figure 7-10. ICC vs. Temperature
4
VCC = 1.65 V
VCC = 3 V
VCC = 5.5 V
3
Supply Current (A)
0
-40 -25 -10 5 20 35 50 65 80 95 110 125
Temperature (C)
Magnetic Threshold = 3.0 mT
Magnetic Threshold = 40 mT
Sampling Rate = 216 Hz
Sampling Rate = 20 Hz
Figure 7-11. ICC vs. Temperature
Figure 7-12. ICC vs. Temperature
8 Detailed Description
8.1 Overview
The TMAG5231 device is a magnetic sensor with a digital output that indicates when the magnetic flux density
threshold has been crossed. The output consists of a push-pull turning low when a field is present or turning
high when no field is present. As an omnipolar switch the output is sensitive to both the South and the North
Pole. The device integrates a Hall Effect element, analog signal conditioning, and a low-frequency oscillator
that enables ultra-low average power consumption. To achieve low-power consumption the device periodically
measures magnetic flux density, updates the output, and enters into a low-power sleep state. With a supply
range of 1.65 V to 5.5 V, this device is designed for battery-operated applications.
8.2 Functional Block Diagram
VCC
Low-Power
VCC LDO
Oscillator
OUT
Output
X Amp
control
Chopper
stabiliza on
GND
8.3 Feature Description
8.3.1 Magnetic Flux Direction
Figure 8-1 shows that the TMAG5231 device is sensitive to the magnetic field component that is perpendicular to
the top of the package.
B
SOT-23
X2SON
PCB
Magnetic flux that travels from the bottom to the top of the package is considered positive in this data sheet. This
condition exists when a south magnetic pole is near the top of the package. Magnetic flux that travels from the
top to the bottom of the package results in negative millitesla values.
positive B negative B
N S
S N
PCB PCB
0V
B
north BOP BRP 0 mT BRP BOP south
Figure 8-3. Omnipolar Functionality
Output Output
Control
VCC
1.65 V
tON
time
tACTIVE
ICC tS tS
ICC(PK)
time
Output
VCC
GND
time
Figure 8-5. Timing Diagram
SOT-23
Side View
centered 650 µm
±70 µm ±80 µm
X2SON
Top View
X2SON
Side View
centered 250 µm
±60 µm ±50 µm
With each implementation, the objective is to design the system such that the spatial coordinates of the transition
region fall within the spatial coordinates associated with the BOP maximum and BRP minimum specifications.
Figure 9-2 shows a head-on example that shows how the location corresponding to the device BOPMAX
and BRPMIN fall within the desired transition region. To facilitate rapid design iteration, TI’s Magnetic Sensing
Proximity Tool is leveraged in the following design examples.
Figure 9-4. B-Field Hypothesis One Figure 9-5. B-Field Hypothesis Two
9.2.2 Head-On
Figure 9-8. B-Field Hypothesis One Figure 9-9. B-Field Hypothesis Two
9.2.3 Slide-By
VCC
GND
OUT
GND VCC
Thermal
Pad
NC OUT
10.4 Glossary
TI Glossary This glossary lists and explains terms, acronyms, and definitions.
www.ti.com 23-Jun-2023
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead finish/ MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) Ball material (3) (4/5)
(6)
TMAG5231A1CQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1A1C Samples
TMAG5231A1CQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 A1C Samples
TMAG5231A2DQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1A2D Samples
TMAG5231A2DQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 A2D Samples
TMAG5231B1DQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1B1D Samples
TMAG5231B1DQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 B1D Samples
TMAG5231C1DQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1C1D Samples
TMAG5231C1DQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 C1D Samples
TMAG5231C1GQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1C1G Samples
TMAG5231C1GQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 C1G Samples
TMAG5231H1DQDBZR ACTIVE SOT-23 DBZ 3 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 1H1D Samples
TMAG5231H1DQDMRR ACTIVE X2SON DMR 4 3000 RoHS & Green SN Level-1-260C-UNLIM -40 to 125 H1D Samples
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com 23-Jun-2023
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 2
PACKAGE MATERIALS INFORMATION
www.ti.com 4-Aug-2023
B0 W
Reel
Diameter
Cavity A0
A0 Dimension designed to accommodate the component width
B0 Dimension designed to accommodate the component length
K0 Dimension designed to accommodate the component thickness
W Overall width of the carrier tape
P1 Pitch between successive cavity centers
Sprocket Holes
Q1 Q2 Q1 Q2
Pocket Quadrants
Pack Materials-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 4-Aug-2023
Width (mm)
H
W
Pack Materials-Page 2
GENERIC PACKAGE VIEW
DMR 4 X2SON - 0.4 mm max height
1.1 x 1.4, 0.5 mm pitch PLASTIC SMALL OUTLINE - NO LEAD
This image is a representation of the package family, actual package may vary.
Refer to the product data sheet for package details.
4229480/A
www.ti.com
PACKAGE OUTLINE
DMR0004A SCALE 9.000
X2SON - 0.4 mm max height
PLASTIC SMALL OUTLINE - NO LEAD
1.15 A
B
1.05
1.45
1.35
(0.13) TYP
C
0.4 MAX
SEATING PLANE
0.05 NOTE 4
0.00 0.08 C
2X 0.5
SYMM
2 3
NOTE 4
EXPOSED
THERMAL PAD
5 SYMM
0.6 0.1
0.25
4X
PIN 1 ID 0.15
(OPTIONAL)
1 4
0.27
4X
0.17
0.8 0.1 0.1 C B A
0.05 C
4222825/B 05/2022
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. The package thermal pad must be soldered to the printed circuit board for thermal and mechanical performance.
4. Quantity and shape of side wall metal may vary.
www.ti.com
EXAMPLE BOARD LAYOUT
DMR0004A X2SON - 0.4 mm max height
PLASTIC SMALL OUTLINE - NO LEAD
2X (0.5)
4X (0.22)
(R0.05) TYP
1 4
4X (0.4)
5
SYMM
(0.6)
(1.4)
( 0.2) VIA
2 3
SYMM
(0.8)
SOLDER MASK
OPENING METAL UNDER
SOLDER MASK
NON SOLDER MASK SOLDER MASK
DEFINED DEFINED
(PREFERRED)
4222825/B 05/2022
NOTES: (continued)
5. This package is designed to be soldered to a thermal pad on the board. For more information, see Texas Instruments literature
number SLUA271 (www.ti.com/lit/slua271).
6. Vias are optional depending on application, refer to device data sheet. If all or some are implemented, recommended via locations are shown.
It is recommended that vias under paste be filled, plugged or tented.
www.ti.com
EXAMPLE STENCIL DESIGN
DMR0004A X2SON - 0.4 mm max height
PLASTIC SMALL OUTLINE - NO LEAD
2X (0.5)
4X (0.22)
(R0.05) TYP
1 4
4X (0.4)
5
SYMM
(0.57)
(1.4)
METAL
TYP
2 3
SYMM
(0.76)
EXPOSED PAD 5:
90% PRINTED SOLDER COVERAGE BY AREA
SCALE:50X
4222825/B 05/2022
NOTES: (continued)
7. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
design recommendations.
www.ti.com
PACKAGE OUTLINE
DBZ0003A SCALE 4.000
SOT-23 - 1.12 mm max height
SMALL OUTLINE TRANSISTOR
2.64 C
2.10
1.12 MAX
1.4
B A
1.2 0.1 C
PIN 1
INDEX AREA
0.95 (0.125)
3.04
1.9 2.80
3
(0.15)
NOTE 4
2
0.5
3X
0.3
0.10
0.2 C A B (0.95) TYP
0.01
0.25
GAGE PLANE 0.20
TYP
0.08
0.6
TYP SEATING PLANE
0 -8 TYP 0.2
4214838/D 03/2023
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. Reference JEDEC registration TO-236, except minimum foot length.
4. Support pin may differ or may not be present.
www.ti.com
EXAMPLE BOARD LAYOUT
DBZ0003A SOT-23 - 1.12 mm max height
SMALL OUTLINE TRANSISTOR
PKG
3X (1.3)
1
3X (0.6)
SYMM
3
2X (0.95)
(R0.05) TYP
(2.1)
SOLDER MASK
SOLDER MASK METAL METAL UNDER OPENING
OPENING SOLDER MASK
4214838/D 03/2023
NOTES: (continued)
www.ti.com
EXAMPLE STENCIL DESIGN
DBZ0003A SOT-23 - 1.12 mm max height
SMALL OUTLINE TRANSISTOR
PKG
3X (1.3)
1
3X (0.6)
SYMM
3
2X(0.95)
(R0.05) TYP
(2.1)
4214838/D 03/2023
NOTES: (continued)
6. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
design recommendations.
7. Board assembly site may have different recommendations for stencil design.
www.ti.com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated