Note: The PMU Connection Tester was originally distributed via the Eastern Interconnection Phasor Project web site - the last publically distributed version of this older tool was 2.2.0.24862. The PMU Connection Tester is now its own stand-alone
open source project and has been versioned starting at 4.1.
Overview
The PMU Connection Tester verifies that the data stream from any known phasor measurement device is being received. Device types that can be tested through the PMU Connection Tester application may include:
- Phasor Measurement Unit (PMU)
- Phasor Data Concentrator (PDC)
- Digital Fault Recorder (DFR)
- Power Quality Meter (PQ)
Any device that supports one of the following phasor protocols may be tested:
- IEEE C37.118.2-2011
- IEEE C37.118-2005 (Version 1/Draft 7, Draft 6)
- IEC 61850-90-5 (starting with version 4.3)
- IEEE 1344-1995
- BPA PDCstream (Revisions 0, 1, and 2, including PDCxchng formatted data)
- UTK F-Net
- SEL Fast Message
- Macrodyne (M and G starting with version 4.3)
Navigation
Some portions of the screen can be opened by clicking the Expand button () and closed by clicking the Contract button ().
Other sections are accessed by clicking on named tabs ().
Configuration Frame
The Configuration Frame displays the relevant information from the configured elements in the connected device.
- PMU: Lists all of the configured devices that are connected to the tested device.
- ID Code: Displays the unique identifier of the tested device. This is populated from the Device ID Code entered on the Protocols tab in the Connection Parameters section.
- Phasor: Lists the labels of all phasors measured by the selected device.
- Phasors: Displays the total number of phasors in the selected device.
- Analogs: Displays the total number of measured analog values in the selected device.
- Digitals: Displays the total number of digital values in the selected device.
- Nominal Frequency:
- Power (MW): Displays the calculated megawatts, based on the Voltage Phasor and Current Phasor selections on the Settings tab.
- Vars (MVars): Displays the calculated megavars, based on the Voltage Phasor and Current Phasor selections on the Settings tab.
Connection Parameters
The Connection Parameters screen section displays the details concerning the connection between the PMU Connection Tester and the tested device. The details differ depending upon the communication protocol selected.
Tcp
- Host IP: The internet address of the device being tested.
- Port: The port number through which the PMU Connection Tester is connected to and receiving data from the tested device.
- Establish Tcp Server: Select to establish a TCP Server style connection to listen for remote device data streams, such as from FNet devices.
Udp
- Local Port: The port number through which the PMU Connection Tester is receiving data from the tested device.
- Enable Multicast / Remote Udp: If the tested device listens on UDP, select this check box which makes the following screen elements available.
- Host IP: The internet address of the device being tested.
- Remote Port: The port number on the tested device through which the PMU Connection Tester sends commands.
Serial
- Port: The local serial port through which the PMU Connection Tester is receiving data from the tested device.
- Baud Rate: Baud rate to use during transmission to the tested device.
- Parity: Parity to use during transmission to the tested device.
- Stop Bits: Number of stop bits to use during transmission to the tested device.
- Data Bits: Number of data bits to use during transmission to the tested device.
- DTR: Enables the Data Terminal Ready flag.
- RTS: Enables the Ready To Send flag.
File
- Filename: The name of the saved file created by recording data streams.
- Frame Rate: Number of frames per second the saved data streams are displayed.
- Auto-repeat captured file playback: Check this box to have the PMU Connection Tester return to the beginning of the sample file once it reaches the end.
Protocol and ID
- Protocol: Lists the available phasor data protocols.
- Device ID Code: Specifies the identification code often needed to establish a connection.
Command
- Command: Lists the available commands that the tested device will respond to.
- Send: Transmits the selected command to the device.
Graph Tab
Displays graphically the real-time data stream from the tested device.
The top graph shows the system frequency as measured by the tested device. The bottom graph displays the phase angles.
If the Phase Angle Graph Style (Settings tab) is set to
Relative, all the displayed phase angles will be relative to the selected device in the
Configuration Frame. If it is set to Raw, the phase angles are displayed as measured by the tested device.
The legend on the bottom right of the Graph tab displays the configured devices connected to the tested device, as listed in the Phasor box on the
Configuration Frame.
Messages Tab
The Messages tab displays any relevant information about, or errors generated by, the connection to the tested device.
Protocol Specific Tab
Displays a hierarchy of the last parsed protocol specific frames, and includes all data values relevant to the protocol.
This tab enables quick validation of protocol-specific properties of vendor implementation.
Settings Tab
The Settings tab allows the user to configure various settings related to the PMU Connection Tester display.
- Voltage Phasor: Lists the voltage phasor used in the megawatt and megavar calculation displayed on the Configuration Frame.
- Current Phasor: Lists the current phasor used in the megawatt and megavar calculation displayed on the Configuration Frame.
- Get Parsing Status: Displays the current connection status on the Messages tab.
- Application Settings: Defines general application settings.
- Attribute Tree: Defines settings associated with the attribute tree visible on the Protocol Specific tab.
- Chart Settings: Defines general chart-related settings.
- Frequency Graph: Defines settings related to the frequency graph.
- Phase Angle Graph: Defines settings related to the phase angle graph.
Application Settings
- AutoStartDataParsingSequence [Range: True/False]: Set to True to automatically send commands for ConfigFrame2 and EnableRealTimeData.
- ExecuteParseOnSeparateThread [Range: True/False]: Allows frame parsing to be executed on a separate thread (other than communications thread) - typically only needed when data frames are very large. This change will happen dynamically, even if a connection is active.
- MaximumConnectionAttempts [Range: 1-n]: Maximum number of times to attempt connection before giving up. Set the value to -1 to continue connection attempt indefinitely.
- MaximumFrameDisplayBytes [Range: 1-n]: Maximum encoded bytes to display for frames in the Real-time Frame Detail.
- RestoreLastConnectionSettings [Range: True/False]: Set to True to load previous connection settings at startup.
Attribute Tree
- ChannelNodeBackgroundColor: Defines the highlight background color for channel node entries on the attribute tree.
- ChannelNodeForegroundColor: Defines the highlight foreground color for channel node entries on the attribute tree.
- InitialNodeState [Range: Collapsed/Expanded]: Defines the initial state for nodes when added to the attribute tree. Note that a fully expanded tree will take much longer to initialize.
- ShowAttributesAsChildren [Range: True/False]: Set to True to show attributes as children of their channel entries.
Chart Settings
- BackgroundColor: Select the background color for the graph region.
- ForegroundColor: Select the foreground color for graph region (axes, legend border, text, etc.).
- RefreshRate [Range: 0.1-n]: Chart refresh rate in seconds. The typical setting is 0.1 , increase this number if the application runs slowly.
- ShowDataPointsOnGraphs [Range: True/False]: Set to True to show data points on graphs.
- TrendLineWidth [Range: 1-n]: Enter the trend line graphing width (in pixels).
Frequency Graph
- FrequencyColor: Foreground color for frequency trend.
- FrequencyPointsToPlot [Range: 1-n]: Sets the total number of frequency points to display.
Phase Angle Graph
- LegendBackgroundColor: Background color for phase angle legend.
- LegendForegroundColor: Foreground color for phase angle legend text.
- PhaseAngleColors [Range: Collection/]: Possible foreground colors for phase angle trends.
- PhaseAngleGraphStyle [Range: Raw/Relative]: Sets the phase angle graph to plot either raw or relative phase angles.
- PhaseAnglePointsToPlot [Range: 1-n]: Sets the total number of phase angle points to display.
- ShowPhaseAngleLegend [Range: True/False]: Set to True to show phase angle graph legend.
Header Frame
The Header Frame displays the user-configured information file, usually in the form of a text file, that is stored on the tested device.
Real-time Frame Detail
The Real-time Frame Detail section displays details about the measurements received from the tested device.
- Frame type: Displays the phasor protocol frame type of the frame received from the tested device.
- Time: Displays the time value parsed from the received frame, displayed in Universal Coordinated Time (UTC).
- Frequency: Displays the measured system frequency received in the frame.
- Angle: Displays the measured phase angle of the currently selected Phasor (Configuration Frame) received in the frame.
- Magnitude: Displays the measured magnitude of the currently selected Phasor (Configuration Frame) received in the frame (The parenthetical value is the calculated line-to-neutral value when the selected phasor is a voltage.).
- Display: Lists the various formats in which the binary data in the received frame can be shown.
Operations
Capturing Sample Frames
The PMU Connection Tester allows the user to debug and analyze protocol-specific phasor frames from the tested device. Note that only one of each type of frame can be collected during the capture sequence.
- From the File menu, point to Capture and then select the Capture Sample Frames menu option.
- In the displayed save screen, enter the desired File name of the output file.
- Click OK on the displayed message (Sample frame collection will complete upon reception of a configuration frame).
- The file will be displayed in a separate window as a .txt file.
Connecting to Devices
Connecting via TCP
- Click the Tcp tab.
- Enter the Host IP address of the device being tested.
- Enter the Port number through which the PMU Connection Tester is receiving the signal from the tested device.
- Click Connect.
Connecting via UDP
- Click the Udp tab.
- Enter the Local Port number through which the PMU Connection Tester is receiving the signal from the tested device.
- Click the Remote device listens on Udp check box, if applicable, and then enter the Host IP and Remote Port of the tested device.
- Click Connect.
Connecting via a Serial Port
- Click the Serial tab.
- Enter the Port through which the PMU Connection Tester is receiving the signal from the tested device.
- Enter the configuration details the data transfer between the PMU Connection Tester and the tested device.
- Click Connect.
Loading Configuration Files
- From the File menu, point to Config File and then select the Load menu option.
- In the displayed window, select the saved configuration file (XML format), and click Open.
Recording and Replaying Data Streams
The PMU Connection Tester allows the user to record all streaming data to a file for later playback and analysis.
- From the File menu, point to Capture and then select the Start Capture menu option.
- In the displayed save screen, enter the desired File name of the output file.
- The capture process will continue until you select the File > Capture > Stop Capture menu option.
To replay the data stream:
- Click the File tab.
- Enter or select the saved Filename.
- Select the Frame Rate for the display.
- Verify the Protocol on the Connection Parameters screen section.
- Click Connect.
Saving Configuration Files
To save a configuration (Only available when connected, and after a configuration frame has been received):
- From the File menu, point to Config File and then select the Save menu option.
- In the displayed save screen, enter the desired File name of the output file, and click Save.
Click to view a sample configuration file.
Using Previous Connections
The PMU Connection Tester automatically saves the last connection by default. To save a connection for later use:
- From the File menu, point to Connection and then select the Save menu option.
- In the displayed save screen, enter the desired File name of the output file, and click Save.
To use a previous connection:
- From the File menu, point to Connection and then select the Load menu option.
- In the displayed window, select the saved connection file, and click Open.
- Click Connect.
Connection files have a .PMUConnection extension. When installed, the PMU Connection Tester associates itself with files of that extension.
Stream Debug Capturing
The PMU Connection Tester is capable of capturing raw data to a CSV file for analysis. To capture data to a CSV file:
- From the File menu, point to Capture and then select the Start Stream Debug Capture... menu option.
- In the displayed save screen, enter the desired File name of the output file.
- The capture process will continue until you select the File > Capture > Stop Stream Debug Capture menu option.
Once you’ve captured the data, you can open the file using Microsoft Office Excel and follow these steps to format the timestamps to be human readable.
- Select the entire first column, right-click the column header, and select "Format Cells".
- In the "Category" list, select "Custom".
- Enter "mm/dd/yyyy h:mm:ss.000" into the "Type" text box and select the "OK" button.