1.3.1.3.3 Prepare the Board for the Meter Tester

DANGER: Live Voltages present.

Live voltages are connected to the Demo board. It results in potential hazardous voltages on the PCB board. Exercise extreme caution when handling the Demo board when it is connected to live voltages.

The PIC32CXMTx-DB boards are designed to support a variety of system configurations. The boards must be prepared according to the meter tester and current sensors in use.

Perform the following steps to prepare the board for a meter tester:

  1. Check that the voltage dividers and the current input networks are properly adjusted, as it is described in the previous chapter.
  2. Ensure all the jumpers are in the default position.
  3. Mount the board on the meter base.
  4. Connect the current sensor wires to the demo board for each phase, refer to the tables below.
    Note: If the CT or Rogowski coil has the third wire (shielded wire), connect the shield wires to GNDA on the Demo board.
    Table 1-2. PIC32CXMTSH-DB Current Sensor Connections
    Current Sensor PhaseConnectorPinSignal NameDescription
    L1J101IN1Current channel 1, negative input
    L1J102IP1Current channel 1, positive input
    L2J111IN2Current channel 2, negative input
    L2J112IP2Current channel 2, positive input
    Table 1-3. PIC32CXMTC-DB Current Sensor Connections
    Current Sensor PhaseConnectorPinSignal NameDescription
    NJ101IN0Current channel 0, negative input
    NJ102IP0Current channel 0, positive input
    L1J111IN1Current channel 1, negative input
    L1J112IP1Current channel 1, positive input
    L2J121IN2Current channel 2, negative input
    L2J122IP2Current channel 2, positive input
    L3J131IN3Current channel 3, negative input
    L3J132IP3Current channel 3, positive input
  5. Connect the voltage input wires to the board for each phase. See the tables below.
    Table 1-4. PIC32CXMTSH-DB Voltage Input Connections
    Voltage PhaseConnectorPinSignal Name
    NeutralJ11VN
    NeutralJ12VN
    Line 2J21V2
    Line 1J22V1
    Table 1-5. PIC32CXMTC-DB Voltage Input Connections
    Voltage PhaseConnectorPinSignal Name
    NeutralJ11VN
    Line 1J12V1
    Line 3J21V3
    Line 2J22V2
  6. Make sure that all the wires are correctly connected before the power source is turned on.
  7. To test the board with line voltage not in the AC/DC voltage input range of 85V ~ 264V AC or frequency, remove the AC/DC power supply module to avoid hardware damages when the line voltage is outside of the manufacturer’s recommended operating range.
  8. Connect the external 12V DC adapter to the board but not yet to the AC outlet.
    Note: The on-board AC/DC power supply included in the Demo boards is supplied only from line 1. This means that if line 1 is not powered, the on-board power supply will not work and the external 12V DC adapter will be needed. Of course, if the tests to be performed always apply voltages to line 1 in the input range of 85V ~ 264V AC and proper frequency, it is possible to work without using the external 12V DC adapter.
  9. Make sure the Meter Tester (WECO or equivalent) is not energizing the meter socket.
  10. Mount the meter base on the meter socket of the Meter Tester.
  11. Connect the USB cable from the Demo board to the PC.
  12. Power on the Demo board by plugging the 12V adapter to the AC outlet.
  13. Run PuTTy (or another serial terminal), then establish the connection as it is explained in Terminal Interface Setup section, on chapter Running Demonstration Steps.
  14. If, during voltage divider or current network adjustments, it is found that some metrology registers need to be changed, as explained in the previous chapter, ensure that the values were properly updated by using the DCW commands.
  15. Configure the Meter Tester (meter forms, meter constant, voltage, test current and IR pickup selection) according to the manufacturer’s instructions.
    Tip: The meter test constant is the amount of energy signified by one output pulse. The programmed values for the meter constants can be obtained by reading the control registers P_K_t, Q_K_t and I_K_t of the metrology library. The default values correspond to 3200 pulses/kWh (P_K_t), 3200 pulses/kVARh (Q_K_t), 3200 pulses/kAmp2-h (I_K_t) or to 0.3125 Wh/pulse (P_K_t), 0.3125 VARh/pulse (Q_K_t), 0.3125 Amp2-h/pulse (I_K_t).
  16. Use the Meter Tester to evaluate the metrology accuracy, using the pulse outputs. By default, the metrology library is configured to output active energy in pulse 0 and reactive energy in pulse 1. This configuration can be changed by means of the pulse control registers. Refer to the “PIC32CXMTx Metrology Data Sheet” for additional information.

The tests done in the previous steps will probably result in some accuracy errors because the system is not calibrated. Refer to the following section that describes how to calibrate the system.