Network Interface Card Requirements for VPR 

Kalkitech May 6, 2024

Learn about Virtual Protection Relays leverage Network Interface Controllers, and how various NICs compare on parameters like scalability, redundancy, etc.

by Toney Kurian |  AVP - Services Division, Kalkitech

What is VPR? 

Virtualised Protection Relaying is an innovative concept in Substation automation and Control. The basic idea is to decouple the protection algorithms from the relay hardware and deploy them in a software-defined environment. This is expected to make tremendous changes in the way substations are operated and maintained as evident from the below image:

Figure 1 Virtualisation can reduce the complexity of a substation control room 

It is possible that multiple instances of such virtualised protection algorithms can be deployed in separate containers/virtual machines hosted on the same physical server machine. Sampled value stream published by various Merging units in the field act as the primary input for most of these virtualised functions. IEC61850-based process bus plays an important role in delivering the process inputs to individual protection functions.  

Figure 2 Process bus network serving all the field data to the VPR server.

Internal networking of a Virtual Protection Relay 

How do we implement a system in which the process signals available in the process bus are delivered simultaneously to different applications running in multiple virtual machines? There are numerous ways to achieve this.  

Direct Passthrough 

This is the most straightforward approach in virtualisation, where we reserve a particular physical port to a virtual machine(VM). In this configuration, a selected physical network port will be visible only to a VM instance. Applications running in this VM can use this port exclusively. In this configuration, we must consider a system with multiple physical ports, and the network architecture can become complex.

Virtual Switch (vSwitch)

A virtual switch is a software program that emulates a switch which is a layer-2 network device. Virtual switches are used to ensure connections between virtual machines and connect virtual and physical networks. A virtual switch uses a physical network adapter (also called NIC – Network Interface Controller) of the host computer for connection to the physical network. 

Virtual switches from Broadcom (VMWare) are known as vSwitches whereas virtual switches from KVM are known as KVM bridge or KVM network bridge. 

Figure 3: VMWare ESXi with vSwitch mechanism

Single Root I/O Virtualisation (SRIOV)

The Single Root I/O virtualisation (SR-IOV) interface is an extension to the PCI Express (PCIe) specification. SR-IOV allows a device, such as a network adapter, to separate access to its resources among various PCIe hardware functions. SR-IOV extends the concept of virtualised functions down to the physical NIC. The single physical card is divided into partitions per physical NIC port that correspond to the virtual functions running at the higher layers. An SR-IOV-enabled NIC is a standard Ethernet port that provides the same physical bit-by-bit function of any network card. 

Figure 4: SRIOV-based NIC

Compared to direct pass-through option, the other options (SRIOV & vSwitch) offer excellent resource sharing between multiple VMs. However, there are a few points to be considered while selecting the network architecture. 

Support for redundancy 

PRP/HSR has been a standard requirement in modern substations. We need to ensure that the necessary support is available in the selected internal networking mode. The selection of the right networking approach depends on the capability of the physical NIC that is being used in the server.  

In case the NIC supports the handling of HSR/PRP redundancy, the virtual network switch need not distribute the redundant pair of packets coming from the network. The VMs and the applications running in the VM receive the redundancy resolved packets as the redundancy handling takes place in the NIC itself. 

In case the NIC does not support redundancy handling on board, the redundant set of packets need to be forwarded to the VM(s). It shall be the responsibility of the drivers running the VM to resolve the redundancy.  

Support for time synchronisation 

It is a mandatory requirement that accurate time synchronisation options are available to ensure all the devices are synchronised to a high precision clock. This requirement extends to virtual machines as well. The virtualisation solution shall ensure that all the VMs are synchronised to a grand master via IEEE1588. Selection of the networking architecture is important.  

One of the standard approaches is to have a dedicated VM to handle the time synchronisation. The time synch packets need to be delivered to other VMs. This can be achieved by configuring a dedicated NIC for the selected VM that handles the time synchronisation. This NIC need not be included in the virtual switch and can be a direct pass-through connection. It shall be the responsibility of the time synch VM to ensure all other VMs are synched to the same time source with necessary degree of accuracy. 

Conclusion 

This article tries to list out the standard networking options within the virtual machines We need to ensure that we consider support for essential features listed above when choosing the VPR system architecture, hardware components, and virtualisation application. 

DLMS GCP Implementation – An Overview

December 24, 2024

For decades, utility companies supplying electricity, gas, and water used manual meters to measure usage. The introduction of digital energy meters, liberalization of energy markets, and developments in communication technologies in the 1990s required a new open standard communication protocol…

Know More
Smart Meter Beyond Billing

December 24, 2024

Energy meters have been historically regarded as the cash box for power distribution utilities. All the major use cases in metering have been surrounding the measurement of energy being delivered,…

Know More
Digital Substations: Transforming the Connected Grid

December 24, 2024

As the world moves into a more connected, sustainable, and energy-efficient future, infrastructure plays a crucial role in enabling this transformation. One such transformative innovation – the digital substation -…

Know More