Novomorphic

Article

IEC 61850 at the edge

Why an industrial PC is not enough.

9 min read

An industrial PC and a modem will usually meet a protection-messaging timing requirement. The question a network operator has to answer is what “usually” costs.

Article by Novomorphic engineeringReviewed by Technical review, Novomorphic

LATENCY BUDGETTen milliseconds, hop by hopAn illustrative allocation for a protection class message, end to end.ILLUSTRATIVEA worked example,not a programme figureALLOCATED4 msFour hops, end to endHEADROOM6 msInside the class budgetLIMIT10 msProtection class messageDevice0.5 msAir interface2 msCore and edge1 msBackhaul0.5 ms6 ms headroom10 ms limit012345678910msDeviceAir interfaceCore and edgeBackhaulHeadroomBudget limit
Fig. 1: Timing budget

Summary

The number is easy. The tail is the cost.

A modern industrial PC running a real-time Linux kernel, with a 5G modem beside it, will carry IEC 61850 traffic and will meet a 10 ms transfer-time class most of the time. If the application is SCADA monitoring with a 100 ms class, it will meet it essentially all of the time, and it is the right answer. Nothing in this article argues otherwise.

The difficulty is the word “most”. Protection and automation messaging is specified by its worst case, not its average. A general-purpose software stack has a latency distribution with a long tail, and the tail is produced by things the application does not control: interrupt handling, driver behaviour, power management, a modem firmware doing housekeeping. An FPGA datapath has a timing that is fixed when the design is compiled. That difference is the whole argument, and it only matters for the classes of traffic where the tail is a safety or restoration problem.

This piece sets out what the standards actually ask for, where a 5G timing budget goes, what a PC and modem does well, and what we are building in GRID-5G to measure the difference rather than assert it.

What is actually required

The standards set the budget in milliseconds and microseconds

IEC 61850-5 defines transfer-time classes for messages between functions. The two that matter most for protection are TT6, 3 ms, for fast trips and blocking messages between IEDs inside a substation, and TT5, 10 ms, for trips and status changes between substations. Slower classes cover automation and SCADA traffic at tens and hundreds of milliseconds. The classes are transfer times from one application to another, so they include every hop and every piece of processing in between.

Sampled Values add a second requirement. A merging unit streams current and voltage samples several thousand times per second, and the receiving device aligns them by timestamp. IEC/IEEE 61850-9-3, the power utility profile of IEEE 1588 Precision Time Protocol, requires time accuracy better than 1 µs across a network of up to 15 transparent clocks, with each clock contributing no more than 50 ns. That accuracy is only achievable when timestamps are taken in hardware at the Ethernet interface.

On the 5G side, 3GPP TS 22.104 writes the grid requirement into the cyber-physical control tables. For distributed automated switching for isolation and service restoration, Table 5.2-1 asks for end-to-end latency below 5 ms and a communication service availability of 99.9999%. The radio access itself was designed against 3GPP TR 38.913, which targets 0.5 ms user-plane latency in each direction for URLLC and a reliability of 1 minus 10 to the power minus 5 for a 32 byte packet within 1 ms. Those are the targets a private 5G network can be engineered towards. They say nothing about the devices at either end.

Where the budget goes

The network takes most of it, so the endpoints must be predictable

  • Device modem and UE processingEncoding, scheduling grants and the modem stack. An illustrative allocation of about 0.5 ms in a well-configured URLLC slice.

  • Air interfaceRadio transmission including retransmission headroom. About 2 ms is a reasonable planning figure for a reliable private network; the 0.5 ms figure in TR 38.913 is a one-way target for a single transmission.

  • Core user-plane function and edge computeLocal break-out keeps this short. About 1 ms when the UPF sits at the site rather than in a distant data centre.

  • Backhaul to the control pointFibre or microwave to the SCADA ingest. About 0.5 ms within a site, much more if the traffic leaves it.

  • What is leftRoughly 6 ms of a 10 ms class for the IED, the edge device, the SCADA gateway and every queue in between. A software stack with a 1 ms tail has spent a sixth of what remains before the application runs.

These allocations are planning figures for a worked example. GRID-5G is designed to study the real figures on a live network.

The honest case for the PC

Real-time Linux is good, and its tail is still a tail

Real-time Linux has come a long way. The PREEMPT_RT patch set was merged into the mainline kernel in Linux 6.12 in late 2024 after twenty years out of tree, on x86, ARM64 and RISC-V. The Open Source Automation Development Lab runs a farm of dozens of systems under continuous latency measurement, and on a well-tuned machine the worst-case scheduling latency recorded by cyclictest over a five-hour run is in the region of 50 to 70 µs. That is a scheduling figure, not an end-to-end one, but it is a good one.

OSADL also documents what happens when the machine is not well tuned. A single kernel debug option left on by a distribution produced latencies above 300 µs on a system expected to stay below 60 µs. The cause was interrupts being disabled while debug data was collected. Nothing was broken. The tail simply appeared, and it would have stayed hidden until a bad day.

Add a 5G modem on USB or PCIe with its own firmware, a network stack, a container runtime and a security agent, and the end-to-end distribution grows a tail that nobody designed and nobody owns. For SCADA at 100 ms it does not matter. For a 10 ms protection class it consumes margin that the network already needed. For a 3 ms class it is the reason that traffic stays on the station bus today.

Side by side

Where each approach is strong

Timing

How the transfer time is set.

Industrial PC and modem
Statistical. Measured as a distribution with a tail set by software and firmware
FPGA edge platform
Structural. Fixed by the design at compile time, verified by simulation and measurement

Timestamping

Needed for Sampled Values and event ordering.

Industrial PC and modem
Software or NIC-assisted, typically tens of microseconds
FPGA edge platform
Hardware at the MAC, sub-microsecond, as IEC/IEEE 61850-9-3 assumes

Protocol handling

GOOSE publish and subscribe, SV streams, PTP.

Industrial PC and modem
Library in user space, shares the CPU with everything else
FPGA edge platform
Dedicated logic per stream, runs in parallel with the host

Cost and availability

What procurement sees first.

Industrial PC and modem
Low unit cost, many suppliers, short lifecycles
FPGA edge platform
Higher unit cost, long device availability, bespoke firmware

Change

Patching and feature updates.

Industrial PC and modem
Frequent, easy, and each one can move the tail
FPGA edge platform
Infrequent, signed bitstream updates, timing re-verified

Evidence

What a procurement team can be shown.

Industrial PC and modem
Histograms from a test campaign, valid for that configuration
FPGA edge platform
Timing analysis plus histograms, valid by construction for the datapath

Neither column is “better”. The right column earns its cost only where the left column’s tail is a safety or restoration problem.

How we make timing a design property

Five things the fabric does that a stack cannot

  1. Hardware timestamps at the Ethernet interface

    PTP event messages and Sampled Values are stamped as they cross the MAC, which is where the IEC/IEEE 61850-9-3 accuracy budget assumes they are stamped.

  2. A GOOSE engine per subscription

    Each subscribed GOOSE stream has its own decoder and state machine. A burst on one does not delay another, and the worst-case latency is a count of clock cycles.

  3. Bounded datapaths

    Fixed-depth buffers and static scheduling. There is no allocator, no scheduler and no interrupt priority to get wrong, so the tail has nowhere to come from.

  4. Measurement built in

    Timestamp counters at the ingress and egress of every stage. The latency histogram is a by-product of running, not a test campaign.

  5. The host does the slow work

    Configuration, logging, model updates and management traffic run on the processor. They can be as rich as they need to be because they cannot touch the deterministic path.

What GRID-5G will measure

Against the PC and modem, on a live network

GRID-5G is an Innovate UK funded programme, with £3m of grant over 18 months across seven partners, led by PNDC at the University of Strathclyde. It integrates a multi-vendor private 5G standalone non-public network for energy OT and will trial it on PNDC’s 11 kV-to-LV distribution network against real IEDs, RTUs and SCADA gateways. Radio coverage options include 3.8 GHz and 450 MHz.

Novomorphic leads the Secure Edge AI hardware work package. The platform is designed to process IEC 61850 GOOSE and Sampled Values deterministically in hardware, with timestamps taken at the Ethernet interface, and the programme sets out to show that this works on a live grid network rather than only on a bench.

The programme deliberately runs a second SCADA use case over 5G using an industrial PC and modem, an approach PNDC has already demonstrated. That gives the comparison this article has been describing: the same network, the same grid assets, two endpoint architectures, with latency, jitter, power, footprint and recovery studied side by side.

What this does not prove

A deterministic endpoint does not make the network deterministic

An FPGA at the edge fixes the endpoint’s share of the budget. It does nothing for the air interface, the core or the backhaul. If the network is engineered for best effort, the endpoint’s determinism is wasted. That is why the network is a consortium deliverable with its own assurance, and why Novomorphic does not supply the RAN or the core.

A timing analysis is also not a conformance certificate. Formal IEC 61850 conformance testing is how a protocol implementation earns the right to use the name, and it belongs in the plan for any new device. Nor does a low latency figure on a bench say anything about behaviour at minus 25 degrees with a disconnector switching next door; that is the subject of a separate article on the substation environment.

When the PC is the right answer

Three questions settle it in an hour

  • Which transfer-time class does the traffic actually carry? If it is SCADA at 100 ms, buy the PC.

  • What happens on the worst day? If a late message degrades a report, the tail is a nuisance. If it delays a trip or a restoration step, the tail is the requirement.

  • Who owns the evidence? If procurement will accept a histogram from a test campaign, a PC can be qualified. If it needs timing that holds by construction, the datapath has to be hardware.

The regulatory direction is clear enough: the UK Wireless Infrastructure Strategy commits to standalone 5G coverage of all populated areas by 2030, Ofgem’s RIIO-ED2 price control runs from 2023 to 2028, and the Cyber Security and Resilience Bill raises the bar for operators of essential services. The engineering question is which traffic needs which endpoint.

Sources (13)Every external fact above is cited here so it can be checked rather than believed.

Keep reading

More on Edge AI hardware

All insights

Talk to the engineer, not the account manager

Tell us what you are building. We will put you in front of whoever actually knows the answer.

What happens next

1

An engineer reads it

Not a form-handler. Whoever owns the relevant discipline.

2

We come back with a technical view

Including if we think you do not need us.

3

If it looks like a fit, a short technical call

Then, if it is useful, a scoped workshop, feasibility study or evaluation.