This is an example for implementing IEC 61850 GOOSE communication using Altus Xtorm CPUs. The objective of this guide is to ensure information is transmitted with integrity, handling quality flags both at the source (Publisher) and at the destination (Subscriber).
Components
- Software: MasterTool 3.71.
- Hardware: HX3040 - firmware 1.14.72.0.
Tutorial Sections
1. INTRODUCTION
2. THE CONCEPT: THE "MATHEMATICS" OF QUALITY
3. ON THE PUBLISHER: ENSURING QUALITY AT THE SOURCE
4. ON THE SUBSCRIBER: DECODING AND SAFETY FILTER
5. INTEGRATION IN MASTERTOOL 3.71
5.1 On the IED Publisher
5.2 On the IED Subscriber
1. INTRODUCTION
This example is based on the following tutorial: Hadron Xtorm Series - How to send and receive GOOSE messages with quality between Xtorm RTUs.
2. THE CONCEPT: THE "MATHEMATICS" OF QUALITY
The IEC 61850 standard does not only send "Good" or "Bad". It uses a 16-bit word where each bit represents a condition. The decimal value we see in MasterTool is the sum of these bits.
With this, we will create two function blocks to handle the quality values.
3. ON THE PUBLISHER: ENSURING QUALITY AT THE SOURCE
On the sending side, it is not enough to just set the flag (e.g.: FLAG_FAILURE). It is necessary for the .VALIDITY attribute of the quality structure to be updated so that the IEC 61850 driver assembles the packet correctly.
Function Block: fbEvaluateValidity
This block analyzes the internal flags and defines the validity priority: INVALID > QUESTIONABLE > GOOD.
4. ON THE SUBSCRIBER: DECODING AND SAFETY FILTER
The Subscriber receives the quality as a raw value (WORD). The block below performs two functions:
1. Decoding: Converts the raw number into readable boolean flags.
2. Safety (Latch): If the quality is bad, it locks the output value at the last known good state, preventing improper operations.
Function Block: fbDecoderQuality61850
5. INTEGRATION IN MASTERTOOL 3.71
5.1 On the IED Publisher:
1. In your program, call fbEvaluateValidity passing your quality variable before executing the driver.
5.2 On the IED Subscriber:
1. Instantiate fbDecoderQuality61850 to process this data.
With this, you have a functional example of IEC 61850 communication with quality sending and verification.
Comments
0 comments
Please sign in to leave a comment.