Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each slave has multiple parameters:

IDThis parameter is a unique identifier needed for each slave. The C37.118 master must use this identifier to connect with a given slave interface.
ProtocolSelect TCP, UDP or TCP and UDP depending on the desired behavior.

When using TCP or TCP and UDP protocols, the combination of the IP address and TCP port has to be unique for each slave.

...

Both ports must be different from one another.

TCP portSpecifies the TCP port used by the C37.118 master to establish a connection with the C37.118 slave.
UDP portSpecifies the UDP port used by the C37.118 master to establish a connection with the C37.118 slave.
NIC nameThe desired network interface name. The proper interface name should be selected based on the information given by the Linux command ifconfig.
IP addressThe IP aliasing functionality can be used to give each slave a different IP address even though the same network interface will be used.


Each slave will have its own IP alias (i.e. eth0:0, eth0:1 ...) and they should appear in the list displayed by the Linux command ifconfig.

Note: If the C37.118 master driver is used to connect to the slave running on the same target, the localhost address (127.0.0.1) must be used as well as the loopback network interface lo.


FrequencyThis parameter is the nominal frequency and can be either 50 or 60 Hz
Data rateThe data rate value (frames per sec.) depends on the frequency set above.

...

Custom

...

data rate

...

Custom data rate(Available only if data rate is set to custom) Specifies the custom data in frames per second from 1 to 512 included
Phasors representationCan be either POLAR or RECTANGULAR
Phasors formatCan be either INT16* or FLOAT
Analogs formatCan be either INT16 or FLOAT
Frequency formatCan be either INT16** or FLOAT
HeaderAdditional text information if required. This information will be returned to the C37.118 master after a 'Header frame' request command.
Round packet timestamp

By activating this option, the fraction of seconds written into the packet is rounded to simulate a timestamp perfectly aligned on the UTC time.

If an external synchronization source is used, the time quality indication code is set to 0 (normal operation)

However, if there is no external clock, the code is set to F (fault, clock failure, time not reliable) which is the standard behavior when the external clock is absent.

 *Following the standard, a scaling factor will be automatically applied. See  Phasor Configuration > Phasor unit for more information. 

**Following the standard, a scaling factor will be automatically applied. See Slave Connectable Points > Frequency Rate Of Change for more information. 

Phasor Configuration

Each slave contains a list of phasors to be configured depending on the desired name, type, and unit.

Each phasor has three parameters:

Phasor nameThis parameter helps the user to connect signals to the model through auto-naming, meaning it has to be unique for each signal.
Phasor typeSelect the type of each phasor between CURRENT and VOLTAGE.
Phasor unitSpecifies the unit of each phasor measurement. If the data format is INT16, each unit has a conversion factor of 10^-5 Volts or Amperes on the phasor magnitude.


For example, if the signal connected to the phasor input has a magnitude of 11 000 and the specified unit for this phasor is 100, the value will be interpreted as (11 000 * 100 * 10^-5) = 11 by the C37.118 master.

...

Each analog has three parameters:

Analog nameThis parameter helps the user to connect signals to the model through auto-naming, meaning it has to be unique for each signal.
Analog typeSelect the type of each analog between SINGLE POINT, PEAK, and RMS.
Analog unitSpecifies the unit of each analog measurement. It is a user-defined scaling that must be part of the reported data frame in order for the C37.118 master to interpret it.

Digital configuration

Each slave contains a list of digitals that are to be configured depending on the desired name and unit.

Each digital has two parameters:

Digital nameThis parameter helps the user to connect signals to the model through auto-naming, meaning it has to be unique for each signal.
Digital unitSpecifies the mask of each digital. Two 16-bit words are provided for each digital word.


  • The first word is used to indicate the normal status of the digital input by returning a 0 on a logic (XOR) with the corresponding digital input (also referred to as status word).
  • The second word indicates the current valid inputs to the PMU by setting the bit in the binary position corresponding to the digital input to 1 and all other bits to 0.
  • If the digital status words are used for something different than a Boolean status indication, the use of masks is left to the user, such as min or max settings.

...

Once the driver has been configured as desired, the user will have to connect points in the model to points in the driver by using the designated RT-LAB GUI. This connection panel will show all the driver's and model's connectable points, once the model has been compiled. It is also possible to make connections to LabVIEW Dashboards panels.

The driver's connectable points depend on the number of slaves and on the number of phasors, analogs, and digitals of each slave. Saving the configuration will automatically update the list of connections available. 

The following lists the driver connectable points for the monitoring queues, a slave, a phasor, an analog, a digital and the external clock signals.

Monitoring Queues Connectable Points

Connectable NameDescriptionDirection
Main QueueUtilization rate (%) of the main processing queue of the driverTo model
PMU QueuesUtilization rate (%) of the processing queue of each slaveTo model

Slave Connectable Points

...

Connectable NameDescriptionDirection
Frequency ROC

Frequency Rate Of Change value (in hertz per second Hz/s)

  • If the stream is configured in INT16, the value will be multiplied by 100 by the driver. 
  • If the stream is configured in FLOAT, the value is sent as is. 
From model
Frequency deviation

Frequency deviation value (in millihertz mHz)

  • If the stream is configured in INT16, the value will be sent as is.
  • If the stream is configured in FLOAT, the actual frequency value will be sent. In other words, the driver will add the nominal frequency and the frequency deviation (divided by 1000 to have the same units) together.
From model


Phasor Connectable Points

If the phasor representation is POLAR, the phasor connectable points are:

Connectable NameDescriptionDirection
MagnitudeMagnitude valueFrom model
AngleAngle value in
degreesFrom model
radians*From model

*Note regarding the angle: if the phasor format is INT16, the driver will automatically apply a scaling factor of 104. For example, if the signal connected to the phasor input has a an angle of 3.1222 radians and the phasor format is INT16, the value sent will be (3.1222 * 104) = 31222. Most third party tools (such as PMU Connection Tester and Wireshark) automatically apply the inverse factor and convert to degrees. 

This scaling feature is defined by the standard. If the data format is FLOAT, this scaling does not apply.



If the phasor representation is RECTANGULAR, the phasor connectable points are:

Connectable NameDescriptionDirection
Real partReal part valueFrom model
Imaginary partImaginary part valueFrom model

Analog and Digital Connectable Points

...

If the general parameter Use external clock is set to true and Auto-connect to external synchronization if present is set to false, additional connectable points appear:

Connectable NameDescriptionDirection
SynchronizedBoolean indicating the external clock is properly synchronizedFrom model
EpochExternal clock epoch time valueFrom model
NanosecondsExternal clock nanoseconds valueFrom model


The example model provided with RT-LAB is already packaged with connections between the driver and the model. It can be used to understand how the connections between the model and the driver should be done.

...