Tiza Group

Home / Guides / Protection, control and communications

Redundant gateway and dual links to the control center

How the control center link is made redundant: hot or standby gateways, IEC 60870-5-104 redundancy groups, two control centers and separate physical paths.

By Shadai García, CEO and protection engineer at Tiza Group.

stationbusgateway Agateway Bsupervisionown fibermain centercarrier networkbackup centergateway Acentergateway BTESTFR actTESTFR conTESTFR actno responseSTARTDT actSTARTDT coninterrogationevents up to datet1 expires: center activates gateway BIEC 104: one active connection per redundancy groupLinkGatewayChannelRedundancy groupControl center© tizagrp.comstationbusgateway Agateway Bsupervisionown fibermain centercarrier networkbackup centergateway Acentergateway BTESTFR actTESTFR conTESTFR actno responseSTARTDT actSTARTDT coninterrogationevents up to datet1 expires: center activates gateway BIEC 104: one active connection per redundancy groupLinkGatewayChannelRedundancy groupControl center© tizagrp.com
Redundant gateway and links to the control center. Location in the system and operating principle. Illustrative: real values come from the nameplate and the manufacturer's manual.
Short answer

So that the substation does not go blind after a failure, the link to the control center is duplicated at three levels: two gateways (hot standby or standby), two channels over different physical routes and, often, two control centers, main and backup. IEC 60870-5-104 organizes redundant connections in groups with a single active connection. The delicate part is the switchover: if it is not designed well, events are lost or duplicated.

A substation that loses its link with the control center keeps operating: protection trips and local control works. But the system operator can no longer see it or control it. In transmission substations, the operator’s supervision requirements usually call for high link availability, and that is not achieved with a single device and a single channel.

Redundancy is built at three levels: the device that translates the data (the gateway or RTU), the communication channel and the control center.

Redundant gateways

There are two usual ways of duplicating the gateway:

  • Hot standby. Both gateways are powered, connected to the IEDs and with an up-to-date database. One is active toward the control center and the other is ready to take over. The switchover is fast because the backup already has the substation state.
  • Warm or cold standby. The backup is powered but not acquiring data, or it is off. On switchover it has to start, connect to the IEDs and rebuild the state, which takes longer.

In both cases a mechanism is needed to decide which one is active: a heartbeat between the two devices over a dedicated link, mutual supervision over the network or logic in the control center itself. The most serious design error is a configuration in which, when communication between the two gateways fails, both declare themselves active or neither does.

IEC 60870-5-104 redundancy groups

IEC 60870-5-104, in its edition 2 of 2006, has a chapter on redundant connections. It organizes them in redundancy groups: several TCP connections between one client (the control center) and its server (the gateway), of which only one is active and transfers data. How to test a link with a server or client simulator is described in IEC 104: Testing a Link with Client and Server Simulators.

  • The active connection is started with the STARTDT frame.
  • The others stay established and stopped, and are supervised with TESTFR.
  • If the active one fails, the client sends STARTDT over another connection of the group.

This mechanism covers redundancy of the channel and the network interface. If the server is also duplicated, each gateway can serve its own connection within the scheme, and coordination between them depends on the manufacturer.

With DNP3 (IEEE 1815), link redundancy is solved in practice by master and gateway logic, for example with alternate channels to the same outstation; how it switches over depends on each manufacturer and is verified during testing.

Timers and windows that decide how long it takes to detect a failure

How quickly the control center learns that a link has died, and switches over, depends on the IEC 104 timers more than on anything else. The parameters in the standard are:

  • t0: maximum time to establish the TCP connection.
  • t1: maximum time to wait for the response to a data frame or to a start, stop or test command (STARTDT, STOPDT, TESTFR). If it expires, the connection is considered down and is closed.
  • t2: maximum time to send the acknowledgement when there is no data to transmit; it must be shorter than t1.
  • t3: idle time after which a TESTFR test frame is sent to check that the link is alive.
  • k and w: the maximum number of unacknowledged information frames before the sender stops (k), and the number of frames received after which the receiver acknowledges (w). One manufacturer recommends that w not exceed two thirds of k.

As a reference, the Beckhoff implementation has default values of t0 30 s, t1 15 s, t2 10 s, t3 20 s, k 12 and w 8. These are one manufacturer’s values and not a requirement: the ones to use are those agreed between the operator and the integrator in the interoperability list. On a redundant link, the sum of t3 and t1 is, roughly, the minimum time in which a silent connection is declared lost and the link moves to another one in the group. A radio or cellular link, with high latency, may need longer times to avoid switching over without reason. A dedicated fiber link allows shorter ones.

In the other direction, commands and start-of-transmission orders are the first to reveal a bad redundancy group configuration. If the backup connection accepts STARTDT without the main one having been stopped, the gateway can end up sending data over two channels at the same time.

What the wide-area network guide covers

IEC TR 61850-90-12, in its second edition of 2020, is the technical report in the IEC 61850 series on wide-area network engineering. It gives definitions, guidelines and recommendations for communications between substations, between a substation and a control center, and between control centers. It covers topologies, redundancy, latency and quality of service, traffic management, clock synchronization, security and network maintenance, and it is aimed at data network engineers and integrators. It is the reference when the link to the control center relies on an operator’s IP/MPLS network instead of a point-to-point channel.

Each TCP connection in the group follows the rules in port 2404 and TCP connections, and its state is monitored with the IEC 104 counters and SNMP.

Two control centers

Many operators have a main control center and a backup one, in another city or another building. The substation must be able to report to both. There are two schemes:

  • Both receive data all the time. Each center has its own connection or its own redundancy group. Commands are accepted only from the center that holds authority at that moment.
  • Only the active one receives data. When operation moves to the backup, it activates its connection and interrogates the substation.

Command authority is handled carefully: two centers able to issue commands to the same device at the same time are an operational risk.

  • Main and backup gateway: hot standby or standby, with mutual supervision.
  • Two channels over different routes: own fiber, carrier network, radio or cellular, with no common sections.
  • IEC 104 redundancy group: one active connection per control center, the others supervised.
  • Main and backup center: only one with command authority at a time.

Channels over different routes

Two channels that share a section are not redundant. Typical common-mode failures:

  • Both channels run in the same OPGW cable or the same duct into the substation.
  • Both use the same multiplexer, the same router or the same power supply.
  • The backup radio or cellular channel depends on the same tower or provider as the main one.

The design reviews the full path of each channel, from the gateway port to the control center, and looks for any shared element. The wide area network engineering guideline IEC TR 61850-90-12 treats redundancy between substation and control center as one of its topics.

What happens during the switchover

The switchover is the delicate moment. What can go wrong:

  • Lost events. The outgoing gateway had events in its buffer that it did not manage to send, and the incoming one does not know them.
  • Duplicated events. The new gateway resends events that the control center had already confirmed to the previous one.
  • Stale states. If the backup gateway was in cold standby, it presents old values until it reads the IEDs.
  • Commands in progress. A select-before-operate started with one gateway does not complete with the other.

That is why the control center usually runs a general interrogation after each switchover, and the redundancy test includes counting events on both sides. If the link drops repeatedly without switching over properly, the diagnosis is in DNP3 or IEC 104 link that keeps dropping. A concrete example of DNP3 and IEC 60870-5 points is the Eaton Form 6 control, in Eaton Form 6.

How it is tested

In general, the redundancy test checks every failure combination: turning off the active gateway, cutting each channel, causing loss of communication between the gateways and moving operation to the backup center. In each case the switchover time, event integrity, alarm status and acceptance of commands only from the center with authority are checked.

Tiza Group does the communications engineering of high and extra-high voltage substations and industrial plants: redundant architecture, channel routes, IEC 104 redundancy groups and the test plan with the control center. Gateway configuration can be done or reviewed through remote relay configuration, and tests with the control center are done in Colombia, or elsewhere on request. Contact us.

References

  • IEC 60870-5-104:2006 + Amd 1:2016, Network access for IEC 60870-5-101 using standard transport profiles, chapter on redundant connections.
  • IEEE 1815, Standard for Electric Power Systems Communications – Distributed Network Protocol (DNP3).
  • IEC TR 61850-90-12:2020, Wide area network engineering guidelines.

Frequently asked questions

What is a redundancy group in IEC 60870-5-104?

It is the set of TCP connections that one client keeps with its server for the same purpose. All of them stay established and supervised, but only one is active and transfers data, started with STARTDT. If the active one fails, the client activates another with STARTDT.

Why do repeated or missing events appear after a gateway switchover?

Because the gateway that takes over does not know exactly which events the control center managed to confirm with the previous one. Depending on how the buffers are synchronized between the two devices, it resends some or stops sending others. That is why the control center usually runs a general interrogation after each switchover.

Are two links over the same fiber cable redundant?

Not in practice. If both channels share a cable, duct, tower or transmission equipment, a single failure cuts both. Real redundancy requires different physical routes and, if possible, different providers or media.

WhatsApp