TIDUF25
june 2023
ADS131M08
,
MSPM0G1507
1
Description
Resources
Features
Applications
6
1
System Description
1.1
End Equipment
1.2
Electricity Meter
1.3
Power Quality Meter, Power Quality Analyzer
1.4
Key System Specifications
2
System Overview
2.1
Block Diagram
2.2
Design Considerations
2.2.1
External Supply Voltage Supervisor (SVS) With TPS3840
2.2.2
Magnetic Tamper Detection With TMAG5273 Linear 3D Hall-Effect Sensor
2.2.3
Analog Inputs
2.2.3.1
Voltage Measurement Analog Front End
2.2.3.2
Current Measurement Analog Front End
2.3
Highlighted Products
2.3.1
ADS131M08
2.3.2
MSPM0G3507
2.3.3
MSP430FR4131 for Driving Segmented LCD Displays
2.3.4
TPS3840
2.3.5
THVD1400
2.3.6
ISO6731
2.3.7
ISO6720
2.3.8
TRS3232E
2.3.9
TPS709
2.3.10
TMAG5273
3
System Design Theory
3.1
How to Implement Software for Metrology Testing
3.2
Clocking System
3.3
UART Setup for GUI Communication
3.4
Real-Time Clock (RTC)
3.5
LCD Controller in MSP430FR4131
3.6
Direct Memory Access (DMA)
3.7
ADC Setup
3.8
Foreground Process
3.8.1
Formulas
3.9
Background Process
3.10
Software Function per_sample_dsp()
3.10.1
Voltage and Current Signals
3.10.2
Frequency Measurement and Cycle Tracking
3.11
LED Pulse Generation
3.12
Phase Compensation
4
Hardware, Software, Testing Requirements, and Test Results
4.1
Required Hardware and Software
4.1.1
Hardware
4.1.2
Cautions and Warnings
4.2
Test Setup
4.2.1
Connecting the TIDA-010243 to the Metering Test Equipment
4.2.2
Power Supply Options and Jumper Settings
4.2.3
Electricity Meter Metrology Accuracy Testing
4.2.4
Viewing Metrology Readings and Calibration
4.2.4.1
Viewing Results From LCD
4.2.4.2
Calibrating and Viewing Results From PC
4.2.5
Calibration and FLASH Settings for MSPM0+ MCU
4.2.6
Gain Calibration
4.2.7
Voltage and Current Gain Calibration
4.2.8
Active Power Gain Calibration
4.2.9
Offset Calibration
4.2.10
Phase Calibration
4.2.11
Software Code Example
4.3
Test Results
4.3.1
SVS Functionality Testing
4.3.2
Electricity Meter Metrology Accuracy Results
5
Design and Documentation Support
5.1
Design Files
5.1.1
Schematics
5.1.2
BOM
5.1.3
PCB Layout Recommendations
5.1.4
Layout Prints
5.1.5
Gerber Files
5.2
Tools and Software
5.3
Documentation Support
5.4
Support Resources
5.5
Trademarks
6
About the Author
5.3
Documentation Support
Texas Instruments,
ADS131M08 8-Channel, Simultaneously-Sampling, 24-Bit, Delta-Sigma ADC
Data Sheet
Texas Instruments,
MSPM0G110x Mixed-Signal Microcontrollers
Data Sheet
Texas Instruments,
TPS3840 Nano Power, High Input Voltage Supervisor With MR and Programmable Delay
Data Sheet
Texas Instruments,
THVD1400, THVD1420 3.3-V to 5-V RS-485 Transceivers in Small Package with ±12-kV IEC ESD Protection
Data Sheet
Texas Instruments,
ISO6731 General-Purpose Triple-Channel Digital Isolator with Robust EMC
Data Sheet
Texas Instruments,
TPS709 150-mA, 30-V, 1-μA I
Q
Voltage Regulators With Enable
Data Sheet
Texas Instruments,
TRS3232E 3- to 5.5-V Multichannel RS-232 Line Driver/Receiver With ±15-kV ESD Protection
Data Sheet
Texas Instruments,
Magnetic Tampering Detection video