TIDUF25 june   2023 ADS131M08 , MSPM0G1507

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 End Equipment
    2. 1.2 Electricity Meter
    3. 1.3 Power Quality Meter, Power Quality Analyzer
    4. 1.4 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 External Supply Voltage Supervisor (SVS) With TPS3840
      2. 2.2.2 Magnetic Tamper Detection With TMAG5273 Linear 3D Hall-Effect Sensor
      3. 2.2.3 Analog Inputs
        1. 2.2.3.1 Voltage Measurement Analog Front End
        2. 2.2.3.2 Current Measurement Analog Front End
    3. 2.3 Highlighted Products
      1. 2.3.1  ADS131M08
      2. 2.3.2  MSPM0G3507
      3. 2.3.3  MSP430FR4131 for Driving Segmented LCD Displays
      4. 2.3.4  TPS3840
      5. 2.3.5  THVD1400
      6. 2.3.6  ISO6731
      7. 2.3.7  ISO6720
      8. 2.3.8  TRS3232E
      9. 2.3.9  TPS709
      10. 2.3.10 TMAG5273
  9. 3System Design Theory
    1. 3.1  How to Implement Software for Metrology Testing
    2. 3.2  Clocking System
    3. 3.3  UART Setup for GUI Communication
    4. 3.4  Real-Time Clock (RTC)
    5. 3.5  LCD Controller in MSP430FR4131
    6. 3.6  Direct Memory Access (DMA)
    7. 3.7  ADC Setup
    8. 3.8  Foreground Process
      1. 3.8.1 Formulas
    9. 3.9  Background Process
    10. 3.10 Software Function per_sample_dsp()
      1. 3.10.1 Voltage and Current Signals
      2. 3.10.2 Frequency Measurement and Cycle Tracking
    11. 3.11 LED Pulse Generation
    12. 3.12 Phase Compensation
  10. 4Hardware, Software, Testing Requirements, and Test Results
    1. 4.1 Required Hardware and Software
      1. 4.1.1 Hardware
      2. 4.1.2 Cautions and Warnings
    2. 4.2 Test Setup
      1. 4.2.1  Connecting the TIDA-010243 to the Metering Test Equipment
      2. 4.2.2  Power Supply Options and Jumper Settings
      3. 4.2.3  Electricity Meter Metrology Accuracy Testing
      4. 4.2.4  Viewing Metrology Readings and Calibration
        1. 4.2.4.1 Viewing Results From LCD
        2. 4.2.4.2 Calibrating and Viewing Results From PC
      5. 4.2.5  Calibration and FLASH Settings for MSPM0+ MCU
      6. 4.2.6  Gain Calibration
      7. 4.2.7  Voltage and Current Gain Calibration
      8. 4.2.8  Active Power Gain Calibration
      9. 4.2.9  Offset Calibration
      10. 4.2.10 Phase Calibration
      11. 4.2.11 Software Code Example
    3. 4.3 Test Results
      1. 4.3.1 SVS Functionality Testing
      2. 4.3.2 Electricity Meter Metrology Accuracy Results
  11. 5Design and Documentation Support
    1. 5.1 Design Files
      1. 5.1.1 Schematics
      2. 5.1.2 BOM
      3. 5.1.3 PCB Layout Recommendations
      4. 5.1.4 Layout Prints
      5. 5.1.5 Gerber Files
    2. 5.2 Tools and Software
    3. 5.3 Documentation Support
    4. 5.4 Support Resources
    5. 5.5 Trademarks
  12. 6About the Author

Phase Calibration

After performing power gain correction, perform the phase calibration. Similar to active power gain calibration, to perform phase correction on one phase, the other two phases must be disabled. To perform phase correction calibration, complete the following steps:

  1. If the AC test source has been turned OFF or reconfigured, perform step 1 to step 3 from Voltage and Current Gain Calibration using the identical voltages and currents used in that section.
  2. Disable all other phases that are not currently being calibrated by setting the current of these phases to 0 A.
  3. Modify only the phase-shift to a non-zero value; typically, +60° is chosen. The reference meter now displays a different % error for active power measurement. This value can be negative.
  4. If the error from step 3 is not close to zero, or is unacceptable, perform phase correction by following these steps:
    1. Enter a value as an update for the Phase Correction field for the phase that is being calibrated. Usually, a small ± integer must be entered to bring the error closer to zero. Additionally, for a phase shift greater than 0 (for example: +60°), a positive (negative) error requires a positive (negative) number as correction.
    2. Click on the Update meter button and monitor the error values on the reference meter.
    3. If this measurement error (%) is not accurate enough, fine-tune by incrementing or decrementing by a value of 1 based on Step 4a and Step 4b. Note that after a certain point, the fine-tuning only results in the error oscillating on either side of zero. The value that has the smallest absolute error must be selected.
    4. Change the phase to −60° now, and check if this error is still acceptable. Ideally, errors must be symmetric for same phase shift on lag and lead conditions.

After performing phase calibration, calibration is complete for one phase. Gain calibration, offset calibration, and phase calibration must be performed for the other phases.

This completes calibration of voltage, current, and power for both phases. View the new calibration factors (see Figure 4-9) by clicking the Meter calibration factors button of the GUI metering results window in Figure 4-6. For these displayed calibration factors, note that the Voltage AC off parameter actually represents the active power offset (in units of mW) subtracted from each measurement and the Current AC offset parameter actually represents the reactive power offset subtracted (in units of mvar) from reactive power readings. Also, this shows example calibration factors for a meter that uses the two-voltage configuration. If the same meter is set for one-voltage configuration, the voltage and active power scaling factors are approximately half of what it is in Figure 4-6, since the line-to-line voltage measurement is used for the voltage readings of both phases instead of measuring the two line-to-neutral voltages. Under the best conditions for a split-phase system, the line-to-line voltage measurement has an RMS value that is twice each of the two line-to-neutral RMS measurements, which means that the voltage fed to the ADC is also twice as much when measuring line-to-line voltage compared to when measuring line-to-neutral voltage. As a result, for one-voltage configurations, the voltage and power readings have to be divided by an additional factor of two, which is automatically done by following the active power and voltage gain calibration steps.

GUID-FC0F04C3-7F19-44C3-8665-F0F1DA709863-low.png Figure 4-9 Calibration Factors Window

View the configuration of the system by clicking on the Meter features button (illustrated in Figure 4-6) to get to the window that Figure 4-10 shows.

GUID-52ABA76F-5866-4A64-99C1-2C1F76ADD85C-low.png Figure 4-10 Meter Features Window