Testing Ring Recovery When the Bus Is Already Busy

A redundant ring that heals in time on an idle bench can miss its deadline on a loaded plant network. The cause sits inside the remote I/O node, not on the cable. A qualification plan that breaks the ring without first loading the bus is measuring a system nobody will ever run.

Where the recovery time actually goes

The redundancy protocols standardised under IEC 62439 promise a bounded reconfiguration time, but that bound assumes each node handles the topology change frame promptly. Under load, the node's communication processor is also handling cyclic I/O, acyclic parameter reads, diagnostic polling and whatever multicast leaks in from the plant side. The frame that tells it to unblock its standby port waits in that same queue. Link loss detection slows down too when the PHY handling and the stack share a saturated CPU. Recovery is still fast, just not fast enough for the controller's connection watchdog, set at 100 ms in the configuration under qualification, and when that expires every module on the node drops to substitute values, so a single cable fault turns into a line stop.

The test that exposes it

Build the load first, then break something. Run the ring at the cyclic update rate and node count of the densest production cell, add acyclic traffic from an engineering station and an HMI polling diagnostics, and inject background multicast at the level a misconfigured plant switch would realistically pass. Then open the ring with a controlled fault injector at several positions, including the link next to the busiest node, and repeat it often enough to see a distribution rather than a single lucky figure. Measure at the terminals: have the controller toggle an output and capture it with a logic analyser triggered by the fault injector, so the result includes the stack, the watchdog and the output stage, the same things the process sees. Don't trust the nodes' own diagnostic timestamps for this, because the saturated CPU you are testing is the one writing them.

The acceptance rule

Accept the design only if the worst recovery observed under load stays below half the watchdog time, since the other half is reserved for traffic growth nobody has specified yet, which I estimate at roughly a third more cyclic load over the life of a line.

When the rule fails

Raising the watchdog is the cheap fix, and also the dangerous one: it slows the reaction to a real controller loss, and on outputs with a defined process safety time it may simply not be allowed. Prioritising traffic is usually better, putting cyclic and redundancy frames in a queue the acyclic and multicast traffic cannot block, and then the whole test is rerun because the queue behaviour has changed. If the margin still isn't there, zero recovery time redundancy sends every frame over two paths and removes the switchover entirely, at the cost of doubled bandwidth and dedicated hardware at every node. The AS-Interface edge needs the same treatment: a shorted slave on a segment already drawing full current can pull the supply down far enough to drop healthy slaves through the isolation stage, so the short is injected under full load and measured at a healthy actuator. Pick which of these trade-offs you accept before the first test runs, because that choice decides what a pass means.

Back to BusNodes · Domains

← Back to BusNodes
Engineering & Architecture Brief

Testing Ring Recovery When the Bus Is Already Busy

A redundant ring that heals in time on an idle bench can miss its deadline on a loaded plant network. The cause sits inside the remote I/O node, not on the cable. A qualification plan that breaks the ring without first loading the bus is measuring a system nobody will ever run.

Where the recovery time actually goes

The redundancy protocols standardised under IEC 62439 promise a bounded reconfiguration time, but that bound assumes each node handles the topology change frame promptly. Under load, the node's communication processor is also handling cyclic I/O, acyclic parameter reads, diagnostic polling and whatever multicast leaks in from the plant side. The frame that tells it to unblock its standby port waits in that same queue. Link loss detection slows down too when the PHY handling and the stack share a saturated CPU. Recovery is still fast, just not fast enough for the controller's connection watchdog, set at 100 ms in the configuration under qualification, and when that expires every module on the node drops to substitute values, so a single cable fault turns into a line stop.

The test that exposes it

Build the load first, then break something. Run the ring at the cyclic update rate and node count of the densest production cell, add acyclic traffic from an engineering station and an HMI polling diagnostics, and inject background multicast at the level a misconfigured plant switch would realistically pass. Then open the ring with a controlled fault injector at several positions, including the link next to the busiest node, and repeat it often enough to see a distribution rather than a single lucky figure. Measure at the terminals: have the controller toggle an output and capture it with a logic analyser triggered by the fault injector, so the result includes the stack, the watchdog and the output stage, the same things the process sees. Don't trust the nodes' own diagnostic timestamps for this, because the saturated CPU you are testing is the one writing them.

The acceptance rule

Accept the design only if the worst recovery observed under load stays below half the watchdog time, since the other half is reserved for traffic growth nobody has specified yet, which I estimate at roughly a third more cyclic load over the life of a line.

When the rule fails

Raising the watchdog is the cheap fix, and also the dangerous one: it slows the reaction to a real controller loss, and on outputs with a defined process safety time it may simply not be allowed. Prioritising traffic is usually better, putting cyclic and redundancy frames in a queue the acyclic and multicast traffic cannot block, and then the whole test is rerun because the queue behaviour has changed. If the margin still isn't there, zero recovery time redundancy sends every frame over two paths and removes the switchover entirely, at the cost of doubled bandwidth and dedicated hardware at every node. The AS-Interface edge needs the same treatment: a shorted slave on a segment already drawing full current can pull the supply down far enough to drop healthy slaves through the isolation stage, so the short is injected under full load and measured at a healthy actuator. Pick which of these trade-offs you accept before the first test runs, because that choice decides what a pass means.

Related Architecture Specifications (IND50): ambientmonitor.com · industrial50.com · ambientiotprotocol.com

More Technical Articles on busnodes.com

Thermal Dissipation and Reliability Derating in IP67 Washdown I/O Modules without Active Cooling →Factory Calibration Algorithms for 24-Bit Sigma-Delta ADCs in Precision Industrial Analog Input Modules →The Healthy Node That Trips: Testing Fault Containment on Loaded Remote I/O →Catching Asymmetric Fault Propagation in Loaded AS-Interface Remote I/O →