Most of the time the message was not sent twice: GOOSE is retransmitted on purpose, and the fault is that the receiver reacts to every frame instead of to the state change. Other causes are a bounce on the sender's input, frames duplicated by the network, a sender that restarts, or two senders with the same identity. A traffic capture and the state counter tell them apart.
Symptom
A breaker receives two closing commands in a row, a trip counter goes up by two, a transfer sequence advances one step too many, or an interlocking function changes state and changes back. Whoever looks at the receiver’s log sees two events a few milliseconds or a few cycles apart and concludes that “the message arrived twice”. The conclusion is reasonable but incomplete. Before blaming the network, find out what arrived twice: the frame, the state change, or only the receiver’s reaction.
To understand how this type of message is protected and authenticated, see GOOSE and Sampled Values security: IEC 62351-6 and -9. This guide deals only with repeated execution.
What you should know before measuring
GOOSE (IEC 61850-8-1, Communication networks and systems for power utility automation – Part 8-1: Specific communication service mapping (SCSM) – Mappings to MMS (ISO 9506-1 and ISO 9506-2) and to ISO/IEC 8802-3) does not acknowledge reception: the sender repeats every message. After a change, the frame is resent at short intervals that lengthen up to a heartbeat period. Each frame carries two counters that are the basis of this diagnosis:
- stNum (state number): changes when the published data changes.
- sqNum (sequence number): counts the repetitions of the same state and restarts when the state changes.
It is therefore normal to receive several frames per change. A correct receiver reacts once per new stNum. If its logic counts or trips on every frame received, a single message will execute several times.
Likely causes, from most to least likely
| Cause | How to recognize it | What confirms it |
|---|---|---|
| The receiver reacts to every frame, not to the stNum change | Number of executions equal to the number of frames of one state | In the capture, one stNum with several sqNum values and one execution for each |
| Bounce or two real changes on the sender’s input | Two state changes very close together, sometimes with an intermediate value | stNum increases twice; the sender’s event log shows two changes |
| Duplication in the network | Identical frames a very short time apart | Same stNum and same sqNum repeated; appears when a link is connected or removed |
| Sender restarted or reconfigured | A “change” nobody caused, right after a restart or a configuration download | stNum returns to a low value; the configuration revision changes |
| Two senders with the same identity | Two sources (different device address) for the same message identifier | The capture shows two source addresses with the same identifier |
| Test or simulated message processed as real | Events that coincide with tests in progress | Simulation or test flag active in the frame |
How to diagnose it
- Freeze the symptom with a timestamp. Note the time of the double effect and the name of the message and the receiver. Without that, the capture has nowhere to look.
- Capture at the receiver’s port with a mirror port or a passive tap, filtering by the message multicast address. Start capturing before the operation and let it run for several seconds afterwards. To guide the reading, use IEC 61850 traffic analysis with Wireshark.
- Tabulate stNum, sqNum and time of each frame around the event. There are three possible patterns:
- One stNum with sqNum 0, 1, 2, 3… is normal retransmission: the cause is in the receiver.
- Two different stNum values, each with its own series of sqNum: the sender published two changes. The cause is in the sender’s input or its logic.
- Identical frames, with the same stNum and the same sqNum, very close together: duplication in the network.
- Compare with the sender’s event log. If it recorded two changes, the bounce or the logic is real. If it recorded one, the problem is in the receiver or the network.
- Check the receiver. Does its logic use the data value as a pulse, or the edge of a state change? Is there a timer or a counter fed directly by the virtual input? The conversion of messages to signals must filter by change, not by arrival.
- Look for two sources. With the capture filtered by the message identifier, count how many source addresses appear. One is normal.
Illustrative example
Generic situation with invented data. A receiver counts two trips after a single operation. The capture shows seven frames for the trip message: four with stNum 41 (sqNum 0 to 3) and three with stNum 42 (sqNum 0 to 2). There are two states, not seven events, and the receiver’s counter went up seven times: the logic counts every frame. There is also a second finding: state 42 is the value returning to false, which should not count as a trip. The receiver, which does not distinguish edge from level, added that transition as well. The fix has two parts: use only the rising edge of a state change, and discard repetitions of the same stNum.
What to do
- Receiver that counts frames: change the logic so that it reacts to the state change and not to arrival. If the device does not allow it, add a debounce timer with a value defined by the protection engineering, not one estimated “by eye”.
- Bounce on the sender’s input: adjust the filtering time of the binary input or the logic that generates the message. If the physical contact bounces because of moisture or wear, the contact is what needs repair.
- Network duplication: locate the loop, the mirror port that re-injects traffic, or the badly configured redundancy. Networks with deliberate duplication (PRP or HSR) require the end device to discard the copy. Check that it does, using the PRP and HSR comparison.
- Sender restarted: if a restart causes a spurious “change”, the receiver must ignore the first message after a loss of communication until it validates the state. Configuration changes must be made with the bay in maintenance.
- Repeated identities: correct the identifier and the address in the engineering. This is a configuration error, not a network error. To sort out the addresses use the GOOSE address configuration tool.
- Test or simulation: clear the flag after the test and record it in the test protocol.
Field checklist
- Time, message and receiver of the double effect noted.
- Sender’s event log checked: one or two changes?
- Capture at the receiver’s port with a multicast address filter.
- Table of stNum, sqNum and time around the event.
- Number of sources for the identifier counted.
- Receiver logic checked: edge, level, counter, timer.
- Loops and redundancy checked only if there are identical frames.
- Simulation flag and configuration revision verified.
- Final test: cause one change and verify a single execution.
What not to do
- Do not operate in-service equipment to “reproduce” the symptom if the message can trip or close a breaker. Reproduce it with the bay in test or with the control blocked.
- Do not disable the sender’s retransmission to avoid repetitions: it is the protection against lost frames.
- Do not raise filter times blindly: a long debounce delays a legitimate trip.
- Do not modify the engineering of a protected device without a prior backup of its configuration.
When to call us
If the capture shows two sources, stNum increases twice, or the receiver’s logic does not allow the filter, someone should review the engineering of the whole system, not a single device. We configure it remotely: request configuration support.
Related guides
- Parent guide: GOOSE and Sampled Values security
- GOOSE message not received or arrives late
- IEC 61850 GOOSE fundamentals
- SCADA command that executes twice
- Protection tests with GOOSE
References
- IEC 61850-8-1, Communication networks and systems for power utility automation – Part 8-1: Specific communication service mapping (SCSM) – Mappings to MMS (ISO 9506-1 and ISO 9506-2) and to ISO/IEC 8802-3.
- IEC 62351-6, Power systems management and associated information exchange – Data and communication security – Part 6: Security for IEC 61850 profiles.
- IEC 62439-3, Industrial communication networks – High availability automation networks – Part 3: Parallel Redundancy Protocol (PRP) and High-availability Seamless Redundancy (HSR).
Frequently asked questions
Is it normal for the same GOOSE message to arrive several times?
Yes. The sender repeats the frame after each change, at intervals that grow up to a heartbeat period, so that a lost frame does not go unnoticed. The receiver must act when the state number changes, not every time a frame arrives.
How do I know whether the sender issued two changes or just one retransmission?
With a traffic capture: if the state number (stNum) is the same and only the sequence number (sqNum) increases, it is retransmission. If stNum increases twice, the sender saw two changes and you must look at its input or its logic.
Can the network duplicate a GOOSE message?
Yes. A loop, a badly connected mirror port, or a redundant network whose devices do not discard the copy can deliver the same frame twice. The capture shows identical frames, with the same stNum and sqNum, a very short time apart.