TIDUF72 August   2024

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
    2. 1.2 End Equipment
    3. 1.3 Electricity Meter
    4. 1.4 Power Quality Meter, Power Quality Analyzer
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Magnetic Tamper Detection With TMAG5273 Linear 3D Hall-Effect Sensor
      2. 2.2.2 Analog Inputs of Standalone ADCs
      3. 2.2.3 Voltage Measurement Analog Front End
      4. 2.2.4 Analog Front End for Current Measurement
    3. 2.3 Highlighted Products
      1. 2.3.1 AMC131M03
      2. 2.3.2 ADS131M02
      3. 2.3.3 MSPM0G1106
      4. 2.3.4 TMAG5273
      5. 2.3.5 ISO6731
      6. 2.3.6 TRS3232E
      7. 2.3.7 TPS709
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
      1. 3.1.1  Software Requirements
      2. 3.1.2  UART for PC GUI Communication
      3. 3.1.3  Direct Memory Access (DMA)
      4. 3.1.4  ADC Setup
      5. 3.1.5  Foreground Process
      6. 3.1.6  Formulas
        1. 3.1.6.1 Standard Metrology Parameters
        2. 3.1.6.2 Power Quality Formulas
      7. 3.1.7  Background Process
      8. 3.1.8  Software Function per_sample_dsp()
      9. 3.1.9  Voltage and Current Signals
      10. 3.1.10 Pure Waveform Samples
      11. 3.1.11 Frequency Measurement and Cycle Tracking
      12. 3.1.12 LED Pulse Generation
      13. 3.1.13 Phase Compensation
    2. 3.2 Test Setup
      1. 3.2.1 Power Supply Options and Jumper Setting
      2. 3.2.2 Electricity Meter Metrology Accuracy Testing
      3. 3.2.3 Viewing Metrology Readings and Calibration
        1. 3.2.3.1 Calibrating and Viewing Results From PC
      4. 3.2.4 Calibration and FLASH Settings for MSPM0+ MCU
      5. 3.2.5 Gain Calibration
      6. 3.2.6 Voltage and Current Gain Calibration
      7. 3.2.7 Active Power Gain Calibration
      8. 3.2.8 Offset Calibration
      9. 3.2.9 Phase Calibration
    3. 3.3 Test Results
      1. 3.3.1 Energy Metrology Accuracy Results
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
      3. 4.1.3 PCB Layout Recommendations
      4. 4.1.4 Layout Prints
      5. 4.1.5 Altium Project
      6. 4.1.6 Gerber Files
      7. 4.1.7 Assembly Drawings
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  11. 5About the Authors

Energy Metrology Accuracy Results

For the following test results, gain, phase, and offset calibration are applied to the meter. At higher currents, the % error shown is dominated by shunt resistance drift caused by the increased heat generated at high currents.

For cumulative active energy error, cumulative reactive energy error testing, and individual phase active energy testing, current is varied from 100mA to 100A. For cumulative active energy and individual phase error testing, a phase shift of 0° (PF = 1), PF = 0.5i (inductive) and PF = 0.8c (capacitive) is applied between the voltage and current waveforms fed to the reference design. Based on the error from the active energy output pulse, a plot of active energy % error versus current is created for the three PF values.

For cumulative reactive energy error testing, a similar process is followed except that a phase shift of 90° (sin ϕ = 1i), sin ϕ = 0.5i (inductive) and sin ϕ = 0.8c (capacitive) are used, and cumulative reactive energy error is plotted instead of cumulative active energy error.

In both cumulative active and reactive energy testing, the sum of the energy reading of each phase is tested for accuracy. In contrast, the individual phase energy readings (Phase A and Phase B, if split-phase mode is used) are tested for the individual phase active energy testing. When testing the individual energy accuracy of a phase, the other phase is disabled by providing 0A input for the current of this other phase so that the cumulative active energy reading is ideally equal to the individual phase voltage, which allows the cumulative energy pulse output to be used for testing individual phase accuracy. All these tests were run using the 4kSPS sample rate setting of the ADS131M02 and AMC131M03 devices.

For the VRMS accuracy test on both Phase A and B, the voltage was varied from 10V to 270V while current was held steady at 10A. Testing beyond 270V can also be done; however, this requires the 275V varistors to be removed from the design and replaced with varistors that are rated for a higher voltage.

For the IRMS accuracy test on both Phase A and B, the voltage was kept steady at 120V, while current was varied from 0.1A to 100A.

The following 4 plots for Active and Reactive Power for Star and Delta Configurations are per IEC 62053-22 limits for class 0.2 S accuracy, assuming Inominal = 15A, hence the 5% point of Inominal is at 750mA.

The average error for each measurement is calculated from five test series, taken sequentially for each current value, and the maximum deviation from these five measurements is calculated (not shown in the plots below) to confirm the stability of this metrology subsystem being below 10% of the maximum error allowed.

Table 3-1 ACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) Configuration
CURRENT (A)AVG ERROR %

PF = 1,
cos ϕ = 0°

LIMIT (%) [CLASS 0.2]

IEC 62053-22
(PF 0.5i/0.8c)

LIMIT (%) [CLASS 0.5]

IEC 62053-22
(PF 0.5i/0.8c)

AVG ERROR %

PF = 0.5i,
cos ϕ = 60°

LIMIT (%) [CLASS 0.2]

IEC 62053-22
(PF 0.5i/0.8c)

LIMIT (%) [CLASS 0.5]

IEC 62053-22
(PF 0.5i/0.8c)

AVG ERROR %

PF = 0.8c,
cos ϕ = –36.87°

0.1

0.198

0.4

1.0

0.143

0.5

1.0

0.125

0.5

0.0574

0.4

1.0

–0.014

0.5

1.0

–0.0356

0.75

0.0416

0.4

1.0

–0.053

0.5

1.0

0.0344

1.5

0.038

0.2

0.5

–0.085

0.3

0.6

0.0678

3

0.0042

0.2

0.5

–0.081

0.3

0.6

0.085

7.5

0.0098

0.2

0.5

–0.105

0.3

0.6

0.1116

15

0.0174

0.2

0.5

–0.061

0.3

0.6

0.1406

30

0.017

0.2

0.5

–0.078

0.3

0.6

0.0476

60

–0.016

0.2

0.5

–0.076

0.3

0.6

0.1118

75

–0.0778

0.2

0.5

–0.151

0.3

0.6

0.0774

100

–0.0144

0.2

0.5

–0.2

0.3

0.6

–0.0968

TIDA-010944 ACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) ConfigurationFigure 3-17 ACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) Configuration
Table 3-2 REACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) Configuration
CURRENT (A)

AVG ERROR %

sin ϕ = 1i (90°)

AVG ERROR %

sin ϕ = 0.5i (30°)

AVG ERROR %

sin ϕ = 0.8c (–53.13°)

0.1

0.1

0.25

0.07

0.5

0.05

0.26

0.08

0.75

–0.09

0.32

0.09

1.5

0.06

0.28

0.08

3

0.04

0.28

0.11

7.5

0.04

0.29

0.09

15

0.07

0.28

0.1

30

0.07

0.27

0.09

60

0.02

0.27

0.08

75

–0.06

0.21

0.02

100

–0.38

–0.15

–0.12

TIDA-010944 REACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) ConfigurationFigure 3-18 REACTive Energy % Error Versus Current, 200μΩ Shunts, Star (Wye) Configuration
Table 3-3 ACTive Energy % Error Versus Current, 200μΩ Shunts, Delta Configuration
CURRENT (A)

AVG ERROR %

PF = 1,
cos ϕ = 0°

LIMIT (%) [CLASS 0.2]

IEC 62053-22
(PF 0.5i/0.8c)

LIMIT (%) [CLASS 0.5]

IEC 62053-22
(PF 0.5i/0.8c)

AVG ERROR %

PF = 0.5i,
cos ϕ = 60°

LIMIT (%) [CLASS 0.2]

IEC 62053-22
(PF 0.5i/0.8c)

LIMIT (%) [CLASS 0.5]

IEC 62053-22
(PF 0.5i/0.8c)

AVG ERROR %

PF = 0.8c,
cos ϕ = –36.87°

0.1

0.240

0.4

1.0

0.381

0.5

1.0

0.307

0.5

0.073

0.4

1.0

0.059

0.5

1.0

0.1

0.75

0.091

0.4

1.0

0.042

0.5

1.0

0.122

1.5

0.09

0.2

0.5

0.016

0.3

0.6

0.064

3

0.082

0.2

0.5

0.025

0.3

0.6

0.098

7.5

0.074

0.2

0.5

0.001

0.3

0.6

0.055

15

0.049

0.2

0.5

0.017

0.3

0.6

0.086

30

0.106

0.2

0.5

0.032

0.3

0.6

0.127

60

0.083

0.2

0.5

0.031

0.3

0.6

0.145

75

0.089

0.2

0.5

–0

0.3

0.6

0.081

100

0.037

0.2

0.5

–0.04

0.3

0.6

0.011

TIDA-010944 ACTive Energy % Error Versus Current, 200μΩ Shunts, Delta ConfigurationFigure 3-19 ACTive Energy % Error Versus Current, 200μΩ Shunts, Delta Configuration
Table 3-4 REACTive Energy % Error Versus Current, 200μΩ Shunts, Delta Configuration
CURRENT (A)

AVG ERROR %

sin ϕ = 1i (90°)

AVG ERROR %

sin ϕ = 0.5i (30°)

AVG ERROR %

sin ϕ = 0.8c (–53.13°)

0.1–1.93–3.35.14
0.50.54–1.341.11
0.75–0.19–0.80.75
1.5–0.06–0.350.39
30.02–0.10.22
7.50.060.080.1
150.080.130.07
300.080.110.06
600.07–0.010.01
750.01–0.17–0.02
100–0.15–0–0.12
TIDA-010944 REACTive Energy % Error Versus Current, 200μΩ Shunts, Delta ConfigurationFigure 3-20 REACTive Energy % Error Versus Current, 200μΩ Shunts, Delta Configuration

Figure 3-21 through Figure 3-24 show the IRMS and VRMS per each phase, where the % error column is generated by comparing the respective MTE Reading and the GUI reading. For these plots single measurements were recorded.

Table 3-5 VRMS % Error at 10A, 200μΩ Shunts, Phase A
VOLTAGE (V)% ERROR
10–0.013
30–0.01
500.003
70–0.017
90–0.025
100–0.005
120–0.013
140–0.040
160–0.015
180–0.028
200–0.022
220–0.022
230–0.027
240–0.029
260–0.019
270–0.022
TIDA-010944 VRMS % Error at 10A, 200μΩ Shunts, Phase AFigure 3-21 VRMS % Error at 10A, 200μΩ Shunts, Phase A
Table 3-6 IRMS % Error at 120V, 200μΩ Shunts, Phase A
CURRENT (A)% ERROR
0.01–36.318
0.025–14.410
0.05–3.246
0.1–0.751
0.25–0.107
0.5–0.030
1–0.053
2–0.049
5–0.038
10–0.039
20–0.056
30–0.041
40–0.028
50–0.003
60–0.011
70–0.015
800.020
900.029
1000.071
TIDA-010944 IRMS % Error at 120V, 200μΩ Shunts, Phase AFigure 3-22 IRMS % Error at 120V, 200μΩ Shunts, Phase A
Table 3-7 VRMS % Error at 10A, 200μΩ Shunts, Phase B
VOLTAGE (V)% ERROR
90.253
100.070
30–0.034
50–0.012
70–0.026
90–0.016
1000.009
120–0.013
140–0.036
160–0.024
180–0.036
200–0.033
220–0.035
230–0.036
240–0.045
260–0.049
270–0.025
TIDA-010944 VRMS % Error at 10A, 200μΩ Shunts, Phase BFigure 3-23 VRMS % Error at 10A, 200μΩ Shunts, Phase B
Table 3-8 IRMS % Error at 120V, 200μΩ Shunts, Phase B
CURRENT (A)% ERROR
0.01–32.557
0.025–13.645
0.05–5.802
0.1–0.323
0.25–0.199
0.5–0.117
1–0.057
2–0.051
5–0.028
10–0.046
20–0.034
30–0.037
40–0.035
50–0.034
60–0.013
700.018
800.035
900.106
1000.189
TIDA-010944 IRMS % Error at 120V, 200μΩ Shunts, Phase BFigure 3-24 IRMS % Error at 120V, 200μΩ Shunts, Phase B