SLAA517F May   2012  – August 2021 MSP430F6720A , MSP430F6720A , MSP430F6721A , MSP430F6721A , MSP430F6723A , MSP430F6723A , MSP430F6724A , MSP430F6724A , MSP430F6725A , MSP430F6725A , MSP430F6726A , MSP430F6726A , MSP430F6730A , MSP430F6730A , MSP430F6731A , MSP430F6731A , MSP430F6733A , MSP430F6733A , MSP430F6734A , MSP430F6734A , MSP430F6735A , MSP430F6735A , MSP430F6736 , MSP430F6736 , MSP430F6736A , MSP430F6736A

 

  1.   Trademarks
  2. 1Introduction
  3. 2System Diagrams
  4. 3Hardware Implementation
    1. 3.1 Power Supply
      1. 3.1.1 Resistor Capacitor (RC) Power Supply
    2. 3.2 Analog Inputs
      1. 3.2.1 Voltage Inputs
      2. 3.2.2 Current Inputs
  5. 4Software Implementation
    1. 4.1 Peripherals Setup
      1. 4.1.1 SD24 Setup
    2. 4.2 Foreground Process
      1. 4.2.1 Formulas
        1. 4.2.1.1 Voltage and Current
        2. 4.2.1.2 Power and Energy
    3. 4.3 Background Process
      1. 4.3.1 Voltage and Current Signals
      2. 4.3.2 Phase Compensation
      3. 4.3.3 Frequency Measurement and Cycle Tracking
      4. 4.3.4 LED Pulse Generation
  6. 5Energy Meter Demo
    1. 5.1 EVM Overview
      1. 5.1.1 Connections to the Test Setup for AC Voltages
      2. 5.1.2 Power Supply Options and Jumper Settings
    2. 5.2 Loading the Example Code
      1. 5.2.1 Opening the Project
  7. 6Results and Calibration
    1. 6.1 Viewing Results
    2. 6.2 Calibrating the Meter
      1. 6.2.1 Gain Correction
      2. 6.2.2 Phase Correction
      3. 6.2.3 Metrology Results
  8. 7References
  9. 8Schematics
  10. 9Revision History

Phase Correction

Phase correction has to be done differently and the following is the procedure.

  1. Set voltage and current values to the same as Gain correction and introduce a known phase shift between voltage and current to +60°.
  2. See % error on the test setup. If errors are not acceptable, enter correction factors in the Phase (low) field. Only increments and decrements should be entered in this field and preferably start with 1 or -1 to determine the direction of correction. Click "Update meter".
  3. Measure error again to see if error has increased or decreased. If error has decreased, continue to add desired increments until you arrive at an error close to zero, else add decrements.
  4. Click on "Update meter" every time a modification is made to this field.
  5. Change the phase now to -60° and check if this error is still acceptable. If not, fine tune the values of Phase (low) again. Ideally, errors should be symmetric for same phase shift on lag and lead conditions.

After the meter has been calibrated, it is possible to see these calibrated values for reference. Click "Meter calibration factors" to open this screen (sample values only).

GUID-9797CACD-15F5-471B-AF0B-645FA7B25501-low.gifFigure 6-5 Meter Calibration Factors

If the calibration procedure goes wrong, such that the calibration values are either negative or zero, further calibration of the meter should be stopped and code must be reloaded on to the device and the calibration routine repeated.