SBOA444 November   2020 TMCS1100

 

  1.   Trademarks
  2. 1Introduction
  3. 2Implementation Block Diagram
  4. 3Hardware Implemenation
    1. 3.1 Analog Inputs
      1. 3.1.1 Voltage Measurement Analog Front End
      2. 3.1.2 Current Measurement Analog Front End
    2. 3.2 MSP432 LaunchPad Connections
    3. 3.3 PCB Layout Recommendations
  5. 4How to Implement Software for Metrology Testing
    1. 4.1 Setup
      1. 4.1.1 Clock
      2. 4.1.2 UART Setup for GUI Communication
      3. 4.1.3 Real-Time Clock (RTC)
      4. 4.1.4 Direct Memory Access (DMA)
      5. 4.1.5 ADC Setup
    2. 4.2 Foreground Process
      1. 4.2.1 Formulas
        1. 4.2.1.1 Standard Metrology Parameters
        2. 4.2.1.2 Power Quality Formulas
    3. 4.3 Background Process
      1. 4.3.1 per_sample_dsp( )
        1. 4.3.1.1 Voltage and Current ADC Samples
        2. 4.3.1.2 Pure Waveform Samples
        3. 4.3.1.3 Frequency Measurement and Cycle Tracking
      2. 4.3.2 LED Pulse Generation
      3. 4.3.3 Phase Compensation
  6. 5Metrology Accuracy Testing
    1. 5.1 Test Setup
    2. 5.2 Results
  7. 6Schematics
  8. 7References

Results

This section provides details of the test results.

Table 5-1 Voltage-Current A Mapping Active Energy % Error vs Current
CURRENT (A)60°–60°
0.050.0660.016–0.079
0.10.0620.03 –0.054
0.250.036–0.009 –0.074
0.5–0.036 –0.0230.033
1–0.0003 0.04–0.0637
2–0.0105 0.052 –0.059
5–0.0263 –0.011 –0.064
7.5–0.017–0.007–0.05
10–0.0273–0.022–0.056
12.5–0.072 –0.048–0.118
15–0.0923–0.075–0.124
17.5–0.121–0.094–0.136
20 –0.12 –0.117–0.117
GUID-20201005-CA0I-SHJB-TLPM-DQVSFW3PKP9J-low.gifFigure 5-1 Voltage-Current A Mapping Active Energy % Error vs Current

Table 5-2 Voltage-Current B Mapping Active Energy % Error vs Current
CURRENT (A)60°–60°
0.05–0.095–0.0670.037
0.1–0.066–0.102–0.054
0.25–0.0830–0.068
0.50.028–0.023–0.001
1–0.013–0.003–0.03
2–0.049–0.014–0.026
5–0.014–0.044–0.035
7.5–0.033–0.064–0.037
10–0.043–0.084–0.031
12.5–0.1–0.107–0.103
15–0.133–0.107–0.108
17.5–0.151–0.137–0.129
20–0.13–0.173–0.125
GUID-20201005-CA0I-THPN-PZDT-HDMKRKCCDHMJ-low.gifFigure 5-2 Voltage-Current B Mapping Active Energy % Error vs Current

Table 5-3 Voltage-Current C Mapping Active Energy % Error vs Current
CURRENT (A)60°–60°
0.050.0610.0490.112
0.1–0.020.139–0.062
0.25–0.0240.0580.111
0.5–0.030.039–0.065
1–0.016–0.0220
2–0.02430.027–0.08
5–0.02570.032–0.035
7.5–0.022–0.01–0.067
10–0.06230.011–0.062
12.5–0.0823–0.023–0.155
15–0.1–0.057–0.135
17.5–0.153–0.11–0.151
20–0.153–0.127–0.207

GUID-20201005-CA0I-F5RD-Q05P-ZXPS1V2HQVDC-low.gifFigure 5-3 Voltage-Current C Mapping Active Energy % Error vs Current

Table 5-4 RMS Current A % Error
CURRENT (A)GUI CURRENT READING (A)REFERENCE METER READING (A)% ERROR
0.10.1012190.100051.1684
0.250.250530.250010.2080
0.50.50020.500020.0360
11.000531.00010.0430
22.00082.00010.0350
54.999394.9996–0.0042
7.57.5017.49910.0253
109.9972710.001–0.0373
12.512.503112.507–0.0312
1514.997715.003–0.0353
17.517.493817.501–0.0411
2019.981620–0.0920
GUID-20201005-CA0I-TQ3C-VZJH-SFVBJW2XS9BR-low.gifFigure 5-4 RMS Current A % Error

Table 5-5 RMS Current B % Error
CURRENT (A)GUI CURRENT READING (A)REFERENCE METER READING (A)% ERROR
0.10.101180.0999741.2063
0.250.2506010.249960.2564
0.50.5006130.49990.1426
11.000361.00010.0260
22.000812.002–0.0594
55.000754.99880.0390
7.57.498467.49820.0035
109.997719.99770.0001
12.512.490212.504–0.1104
1514.991415–0.0573
17.517.48317.502–0.1086
2019.980220.002–0.1090

GUID-20201005-CA0I-ZRBK-7D8Z-T67JXJJWDPVB-low.gifFigure 5-5 RMS Current B % Error

Table 5-6 RMS Current C % Error
CURRENT (A)GUI CURRENT READING (A)REFERENCE METER READING (A)% ERROR
0.10.1012750.11.2750
0.250.250270.249960.1240
0.50.4997710.4999–0.0258
10.9995150.99991–0.0395
21.998212–0.0895
54.995694.9989–0.0642
7.57.495797.4988–0.0401
109.9894210–0.0938
12.512.485712.504–0.1464
1514.976815–0.1547
17.517.466417.499–0.1863
2019.947219.999–0.2590
GUID-20201005-CA0I-RW8N-FRJW-WQSDB4DBXDMN-low.gifFigure 5-6 RMS Current C % Error
Table 5-7 RMS Voltage % Error
VOLTAGE (V)GUI VOLTAGE READING (V)REFERENCE METER READING (V)% ERROR
99.0019.005–0.0444
101010.004–0.0400
3029.99630.003–0.0233
5049.99150.004–0.0260
7069.99570.012–0.0243
10099.983100.01–0.0270
120119.982120.02–0.0317
140139.99140.03–0.0286
160159.977160.01–0.0206
180179.992180.03–0.0211
200199.98200.03–0.0250
220219.978220.05–0.0327
230229.971230.05–0.0343
240239.993240.06–0.0279
270270270.08–0.0296
GUID-20201005-CA0I-VFD8-NKGX-SJTTQW443KKF-low.gifFigure 5-7 RMS Voltage % Error

Table 5-8 Voltage-Current A Mapping Active Power % Error vs Current, 0° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.123.04623.0160.1303
0.2557.48957.515–0.0452
0.5115.053115.020.0287
1230.021230.07–0.0213
2460.111460.12–0.0020
51149.751150.2–0.0391
7.51725.351725.20.0087
102299.412300.7–0.0561
12.52875.522877–0.0514
153449.553451.8–0.0652
17.54021.514026.2–0.1165
2045964601–0.1087
Table 5-9 Voltage-Current A Mapping Active Power % Error vs Current, 60° Voltage-Current B Mapping Active Power % Error vs Current, 0° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.111.4611.504–0.3825
0.2528.78328.7440.1357
0.557.53957.4910.0835
1115.137115.050.0756
2230.057229.950.0465
5574.89574.840.0087
7.5862.212862.39–0.0206
101150.51150.30.0174
12.51436.451437.7–0.0869
151724.551725–0.0261
17.52010.122012–0.0934
202297.692299.4–0.0744
GUID-20201005-CA0I-JKPR-ND68-ZQRPW1CK5KSV-low.gifFigure 5-8 Voltage-Current A Mapping Active Power % Error vs Current 90

Table 5-10 Voltage-Current B Mapping Active Power % Error vs Current, 0° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.123.02323.0020.0913
0.2557.4857.501–0.0365
0.5115.07114.990.0696
1230.017229.990.0117
2460.19284600.0419
51149.661149.8–0.0122
7.51724.51725–0.0290
102299.432299.9–0.0204
12.52873.592875.1–0.0525
153446.33450.6–0.1246
17.54020.24026.5–0.1565
2045954600–0.1087
Table 5-11 Voltage-Current B Mapping Active Power % Error vs Current, 60° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.111.54711.5010.4000
0.2528.7628.7450.0522
0.557.59457.5010.1617
1114.998115.01–0.0104
2230.049229.940.0474
5574.649574.99–0.0593
7.5862.059862.46–0.0465
101149.611150–0.0339
12.51435.721436.9–0.0821
1517221724.2–0.1276
17.52008.682010.9–0.1104
202295.412299.2–0.1648

GUID-20201005-CA0I-V228-NM5W-HNZMLLTC0RBB-low.gifFigure 5-9 Voltage-Current B Mapping Active Power % Error vs Current

Table 5-12 Voltage-Current C Mapping Active Power % Error vs Current,0° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.122.99923.005–0.0261
0.2557.557.4990.0017
0.5115114.990.0087
1229.914230.02–0.0461
2459.885460.1–0.0467
511501149.520.0418
7.51724.741725.1–0.0209
102299.22300.3–0.0478
12.52873.222876.2–0.1036
153447.223450.8–0.1037
17.54020.784025.5–0.1173
204590.424600.4–0.2169
Table 5-13 Voltage-Current C Mapping Active Power % Error vs Current, 60° Phase Shift
CURRENT (A)GUI ACTIVE POWER READING (W)REFERENCE METER READING (W)% ERROR
0.111.46911.498–0.2522
0.2528.72928.6870.1464
0.557.4757.4580.0209
1114.922114.99–0.0591
2229.8229.885–0.0370
5574.507574.61–0.0179
7.5862.051862.14–0.0103
101149.321149.8–0.0417
12.51434.671436.2–0.1065
151721.221723.1–0.1091
17.52007.752010.3–0.1268
202292.832297.1–0.1859

GUID-20201005-CA0I-MMDX-ZFW0-PCCLLKTVVFRS-low.gifFigure 5-10 Voltage-Current C Mapping Active Power % Error vs Current