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. 

Kalki.io Data Hub, a SaaS Platform for DER Aggregation in Australia & New Zealand

February 20, 2024

Kalki.io DER Aggregator is available now in Australia & New Zealand! Australia – Feb 20, 2024 – Kalkitech, a leading provider of distributed energy resources (DER) Integration solutions, today announced…

Know More
Ensuring 29% of Energy Saving for International Telecom Service Provider by using Energy Management modules…

December 25, 2023

Customer: Europe Based International Telecom Service provider  Industry: Metering / Energy Monitoring and Accounting Solutions:  Kalki.io platform, hosted on a public cloud service provided the necessary applications to connect to smart meters,…

Know More
Enabling Interoperability in Global Meter by incorporating DLMS-COSEM Protocol

December 25, 2023

Customer: US-based multinational conglomerate Industry: Metering Business Case: The US-based client operated in several geographies. However, its metering portfolio comprised ANSI meters conforming to the requirements of the North American market. With extensive rollouts of the smart grid in…

Know More