TIDUEM8B March   2019  – February 2021

 

  1.   1
  2.   2
  3.   3
  4.   4
  5.   5
  6.   6
    1.     7
      1.      8
      2.      9
    2.     10
  7.   11
    1.     12
    2.     13
      1.      14
      2.      15
      3.      16
      4.      17
      5.      18
      6.      19
      7.      20
      8.      21
      9.      22
      10.      23
    3.     24
      1.      25
        1.       26
        2.       27
        3.       28
        4.       29
          1.        30
          2.        31
      2.      32
        1.       33
          1.        34
          2.        35
          3.        36
          4.        37
          5.        38
          6.        39
          7.        40
        2.       41
          1.        42
        3.       43
          1.        44
            1.         45
            2.         46
          2.        47
          3.        48
  8.   49
    1.     50
      1.      51
      2.      52
        1.       53
          1.        54
          2.        55
        2.       56
      3.      57
    2.     58
      1.      59
        1.       60
        2.       61
        3.       62
          1.        63
          2.        64
            1.         65
            2.         66
              1.          67
                1.           68
                2.           69
              2.          70
              3.          71
      2.      72
        1.       73
        2.       74
  9.   75
    1.     76
    2.     77
    3.     78
      1.      79
    4.     80
    5.     81
    6.     82
  10.   83
    1.     84
  11.   85
  12.   86
Viewing Results

To view the metrology parameter values from the GUI, perform the following steps:

  1. Select whether to use the RS-485 or RS-232 connection for communication to the PC GUI. This selection is done by placing 3 jumpers on jumper headers J19, J20, and J21. To select the RS-485 communication option, put the jumpers on the top two pins (labeled RS485 on the board) of these three headers. To select the RS-232 communication option, put the jumpers on the bottom two pins (labeled RS232 on the board) of the three headers.
  2. Connect the reference design to a PC
    • RS-232 option: Connect the reference design to a PC using a RS-232 cable. If the PC does not have a RS-232 adapter, a serial RS-232 adapter could be used. The RS-232 adapter should create a COM port on the PC when it is plugged in.
    • RS-485 option: A USB to RS-485 adapter can be used to communicate between the PC GUI and the RS-485 port on this design. The USB to RS-485 adapter should create a COM port on the PC when it is plugged in. The other end of the adapter should have wires for the RS-485 Data A and Data B connections as well as a GND connection and a 5-V power connection, which all should be connected to the J25 screw terminal block of the design according to the connection labels next to the terminal block pins. For testing this circuit, the following USB to RS-485 adapter is specifically used: http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_USB_RS485_CABLES.pdf. For this specific adapter, the Data A connection is orange, the Data B connection wire is yellow, the GND connection is black, and the 5-V power connection is red.
  3. Open the GUI folder and open calibration-config.xml in a text editor.
  4. Change the port name field within the meter tag to the COM port connected to the system. As Figure 3-10 shows, this field is changed to COM7.
    GUID-4BD8E210-C8EE-4BAE-9992-7E03167DA50D-low.pngFigure 3-10 GUI Configuration File Changed to Communicate With Energy Measurement System
  5. Run the calibrator.exe file, which is located in the GUI folder. If the COM port in the
    calibration-config.xml was changed in the previous step to the COM port connected to the reference design, the GUI opens (see Figure 3-11). If the GUI connects to the design properly, the top-left button is green. If there are problems with connections or if the code is not configured correctly, the button is red. Click the green button to view the results.
    GUID-FB87F440-EDF3-4822-9BDC-C2943888655B-low.gifFigure 3-11 GUI Startup Window

Upon clicking on the green button, the results window opens (see Figure 3-12). In the figure, there is a trailing "L" or "C" on the Power factor values to indicate an inductive or capacitive load, respectively.

GUID-6B952327-83B4-45B8-8314-0E2323CAF59D-low.pngFigure 3-12 GUI Results Window

From the results window, the total-energy consumption readings can be viewed by clicking the Meter Consumption button. After the user clicks this button, the Meter events and consumption window pops up, as Figure 3-13 shows.

GUID-B92CF546-B044-4C42-81AC-BD5A8C67592D-low.pngFigure 3-13 Meter Events and Consumption Window

From the results window, the user can also view the meter settings by clicking the Meter features button, view the system calibration factors by clicking the Meter calibration factors button, or open the window used for calibrating the system by clicking the Manual cal. button.