IEC 61850: a complete guide to substation automation

IEC 61850: a complete guide to substation automation

In this guide we learn how IEC 61850 lets protection relays, controllers and SCADA from different makers share one network and one data model, with clear diagrams of every part.

Stationlevel Baylevel Processlevel station busprocess bus primary Station HMIoperator screens Gatewayto control centre GPS clocktime source Protection IEDvendor A · PTOC Bay controllervendor B · CSWI Merging unitsamples the CT Breaker IEDXCBR · trip coil CTcircuit breaker feeder ! 1 · Sample (SV) 2 · Decide 3 · Trip (GOOSE) 4 · Report (MMS)
One fault, four messages, no copper between the devices. Sampled values bring the current up from the process level. The protection IED decides. A GOOSE message trips the breaker. An MMS report tells the operator.

Quick answer: IEC 61850 is the international standard for communication in substation automation. It gives every device the same data model, so equipment from different makers understands each other. It defines three main services: MMS for monitoring and control, GOOSE for fast trip and interlock messages, and sampled values for streaming measurements. SCL configuration files describe the whole system. Ethernet networks then replace most of the copper wiring between devices.

Why IEC 61850 exists

A substation is full of intelligent electronic devices, or IEDs. An IED is a microprocessor-based device that protects, controls or measures part of the plant. Protection relays, bay controllers and meters are all IEDs.

For many years, each maker used its own protocol. A relay from one company could not easily talk to a controller from another. So utilities either bought everything from one vendor, or they added protocol converters and custom work.

Between the devices, most signals ran on copper. A trip, an alarm or an interlock each needed its own pair of wires. A large substation could have thousands of these wires. Each one had to be designed, drawn, installed and tested. And a broken wire often stayed hidden until the day it was needed.

So how can a relay from one maker trip a breaker controller from another maker, with no copper wire between them? This is the problem IEC 61850 solves. The figure below shows the change.

Hard-wired: one copper pair per signal IEC 61850: one network for all signals Relay ARelay BBay ctrl terminal block Change a signal: pull and land new wires IED AIED BBay ctrl Ethernet switch to station HMI and SCADA Change a signal: edit the configuration file
The same three devices, wired two ways. On the left, every trip, alarm and interlock needs its own copper pair. On the right, one network cable per device carries all of them as messages.

IEC 61850 is not one protocol. It is a family of standards, published by the International Electrotechnical Commission (IEC). Together they define three things:

  • A data model. Every function and every value has a standard name, the same for every maker.
  • Communication services. These are the ways devices exchange that data: MMS, GOOSE and sampled values.
  • A configuration language, called SCL. It is a set of files that describe the whole system, so engineering tools from different makers can share it.

The table below compares this approach with older hard-wired and serial systems.

FeatureHard-wired and serial systemsIEC 61850
Data modelDifferent for each makerOne standard model, the same for every maker
Wiring between devicesOne copper pair per signalMessages on a shared Ethernet network
Network speedSerial links, often 9.6–115 kbit/sEthernet, usually 100 Mbit/s or 1 Gbit/s
Multi-vendor systemsHard; often needs protocol convertersDesigned for it, and tested by certification
Changing a signalNew wires and new drawingsEdit the configuration file and reload
Supervision of the linkA broken wire may go unseenEach GOOSE subscriber raises an alarm within seconds if messages stop
Hard-wired and serial systems compared with IEC 61850.
Analogy

Before IEC 61850, each device spoke its own language. Engineers had to act as translators. IEC 61850 gives every device one shared language and one shared dictionary. A word like "breaker position" means the same thing everywhere.

The data model: from device to data attribute

The heart of IEC 61850 is its data model. It describes what is inside an IED as a tree of named parts. There are five levels in the tree. The figure below shows them as a cutaway.

① Physical device: one IED, named FDR1 ② Logical device PROT PTOC1overcurrentPTRC1trip logic P = protection ② Logical device CTRL CSWI1switch controlXCBR1circuit breakerXSWI1disconnector C = control · X = switchgear ② LD MEAS MMXU1V, I, P, Q, f M = metering ③ Logical nodes: standard four-letter functions Inside XCBR1 ④ Data objects Pos · position OpCnt · count BlkOpn · block open ⑤ Data attributes of Pos stVal = on/off q = quality t = time stamp stVal values: intermediate · off · on · bad Object reference FDR1CTRL/XCBR1.Pos.stVal
The data model as a cutaway. One physical IED holds logical devices. Each holds logical nodes. Each node holds data objects, and each object holds data attributes. The reference at the bottom is the full "address" of the breaker position.
  1. Physical device. This is the real IED box on the panel, with its own network address. In the figure it is named FDR1.
  2. Logical device (LD). This is a group of related functions inside the IED. A feeder IED might have one LD for protection (PROT), one for control (CTRL) and one for measurement (MEAS).
  3. Logical node (LN). This is one standard function. Each class has a fixed four-letter name. The first letter shows the group: P for protection, X for switchgear, C for control, M for measurement. For example, PTOC is time overcurrent protection, XCBR is a circuit breaker, XSWI is a disconnector or other switch, CSWI is a switch controller and MMXU is a set of measurements (voltage, current, power and frequency). A number marks each copy, as in XCBR1.
  4. Data object (DO). This is one piece of information inside a logical node. XCBR has Pos for the breaker position. PTOC has Op for "operate", which goes true when the protection trips.
  5. Data attribute (DA). This is one value inside a data object. Pos has stVal, the status value. It also has q for quality and t for the time stamp. So every value carries its own quality and time.

We join the names to make an object reference, the full address of a value. For example, FDR1CTRL/XCBR1.Pos.stVal is the position of breaker 1, in the control LD of IED FDR1.

The standard defines all of this in an abstract way, in IEC 61850-7-2, 7-3 and 7-4. The abstract services are called the ACSI, the abstract communication service interface. Other parts then "map" them to real protocols. This is why the model can outlive any one network technology.

Analogy

An object reference works like a postal address. Country, city, street, house number and flat number take us from the large to the small. FDR1, CTRL, XCBR1, Pos and stVal do the same inside a substation.

Front panel of an ABB RED615 line differential protection relay, an IEC 61850 IED, with a small single-line display, status LEDs and Close, Open and navigation keys
A real IED: a line differential protection relay for feeders, with IEC 61850 on board. Behind this front panel sit the logical devices and logical nodes described above. (Image: ABB)
Common mistake

A logical device is not the breaker or the transformer. It is a group of functions inside an IED. The breaker itself appears as an XCBR logical node. Also, IEC 61850 does not use the Common Information Model (CIM). CIM is a different standard, IEC 61970 and IEC 61968, for control-centre software. The two models can be mapped to each other, but they are separate.

MMS, GOOSE and sampled values

The data model says what the data is. The communication services say how it moves. IEC 61850 uses three main services. The figure below shows each one.

MMSclient/serverTCP/IP, station bus HMI (client)IED (server) request: read, set, operateresponse, reports, files Not time-critical: tens of milliseconds to seconds GOOSEpublisher/subscriberEthernet layer-2 multicast Publisher switch IED 1IED 2IED 3 Trips, interlocks, breaker failure SVsampled valuesprocess bus, multicast Merging unit Prot. IED 1Prot. IED 2 Currents and voltages, 4000–4800 per second
Three services, three jobs. MMS (blue) is a conversation between a client and a server. GOOSE (red) is one message copied to every subscriber at once. Sampled values (yellow) are a steady stream of measurements.

MMS, the Manufacturing Message Specification, is an older ISO standard (ISO 9506). IEC 61850-8-1 maps the abstract services onto it. MMS runs over TCP/IP on the station bus, the network at station level. It works as client/server. The client, such as the station HMI or the gateway, asks. The IED, the server, answers. MMS carries reports of changed values, control commands, settings, event logs and file transfers. A breaker command uses select-before-operate: the client first selects the breaker, then sends the operate command. This guards against a wrong command. MMS is reliable, but it is not built for millisecond timing.

GOOSE, the Generic Object-Oriented Substation Event, is for fast messages. It works as publisher/subscriber. One IED publishes a message, and every IED that needs it subscribes. GOOSE does not use TCP/IP. It goes straight into an Ethernet frame (layer 2) as a multicast, so one message reaches many devices at once. A VLAN priority tag lets switches send it ahead of normal traffic. Typical uses are trips, breaker-failure signals and interlocks.

IEC 61850-5 sets speed limits for each type of message. The limit is the transfer time: the time from the sending function to the receiving function, including both devices' communication processing and the network. A trip is a "type 1A" message. For the strictest class, TT6, its transfer time must be 3 ms or less. Some distribution uses allow 10 ms. This is the same speed range as a hard-wired contact.

GOOSE has no acknowledgement. The receiver never says "got it". So how does the publisher make sure the message arrives? It repeats it. The slider below shows the scheme.

Try it · GOOSE burst
02510204070100140 time after the trip decision (ms, square-root scale) state change: Trip = true → stNum + 1 copies keep the same stNum; sqNum counts 0, 1, 2 … GOOSEsqNum 0123456 then heartbeatone copy every 1 s
First gap: 2 ms Copies in first 100 ms: 6 Back to 1 s heartbeat after: 1.02 s

The gap doubles after each copy until it reaches the heartbeat time T0 = 1 s. This doubling curve is a common choice. The real values are set when the IED is configured.

When the data changes, the IED sends a new message at once. It adds one to the state number (stNum). Then it repeats the same message quickly, with a growing gap. Each copy adds one to the sequence number (sqNum). When things are quiet, it still sends a heartbeat copy every second or so. Each message also carries a "time allowed to live". If no new copy arrives in that time, the subscriber raises an alarm. So a broken link is found within seconds, not at the next fault.

Sampled values (SV) carry measurements. A merging unit sits near the current and voltage transformers. It samples the currents and voltages and publishes them as a stream on the process bus. Like GOOSE, SV is a layer-2 multicast. The first common profile, called 9-2LE, uses 80 samples per cycle for protection. That is 4000 samples per second at 50 Hz and 4800 at 60 Hz. The newer standard IEC 61869-9 uses 4800 samples per second for protection and general metering, at both 50 and 60 Hz, and 14,400 for power quality.

Each SV stream uses a few megabits per second. So a busy process bus needs careful network design.

Common mistake

Each level does not have "its own" protocol. MMS is not a process-level protocol, and sampled values are not a station-level protocol. MMS mainly runs on the station bus. Sampled values run on the process bus. GOOSE can run on both. Also, the standard's name for the measurement stream is "sampled values" (SV). "SMV" is an informal name.

Station, bay and process levels

IEC 61850 describes a substation in three levels. Two networks join them. The figure below shows a small substation with three bays. A bay is one circuit, such as a feeder or a transformer, with its own breaker and switches.

Station levelBaylevelProcess level Station HMIMMS client GatewayIEC 104 / DNP3 out Engineering PCSCL tools GPS clockPTP grandmaster station bus: MMS, GOOSE, PTP Feeder 1protection + control IEDMUCT/VT inBreakerIEDFeeder 2protection + control IEDMUCT/VT inBreakerIEDTransformerprotection + control IEDMUCT/VT inBreakerIED process bus (brown): sampled values, GOOSE, PTP PTP to IEC/IEEE 61850-9-3: better than 1 µs · SNTP: about 1 ms
The three levels in one picture. The station bus (blue) joins the station level to the bays. Each bay's process bus (brown) joins its IED to the merging unit and breaker IED. Green pulses show the clock keeping every device on one time.
  • Process level. This is the primary plant: breakers, disconnectors, and current and voltage transformers. In a digital substation, merging units and breaker IEDs sit here. They turn analogue signals and breaker contacts into network messages.
  • Bay level. This is where protection relays and bay controllers sit, one set per bay. They take decisions: when to trip, and whether a switch may move.
  • Station level. This is the station HMI, the gateway to the control centre and the engineering PC. The HMI, or human-machine interface, is the operator screen. The gateway passes data to the utility's SCADA system, often over IEC 60870-5-104 or DNP3.

The station bus joins the station level and the bay level. It carries MMS and GOOSE. The process bus joins the bay level and the process level. It carries sampled values and GOOSE. Many substations today have a station bus but still use copper at the process level. Adding a process bus is the step that makes a substation fully "digital".

Substation control room with operator workstations showing single-line diagrams, IED panels along the wall and a large mimic diagram behind the desks
The station level in practice: operator screens (the HMI) in a substation control room, with the IED panels along the wall.

Time synchronisation

Every event needs a correct time stamp. Otherwise we cannot tell which relay tripped first. Sampled values need even better timing. A relay that compares currents from two merging units must know that the samples were taken at the same instant.

  • SNTP, the Simple Network Time Protocol, gives about 1 ms accuracy. That is enough for event time stamps.
  • PTP, the Precision Time Protocol of IEEE 1588, gives much better accuracy. IEC/IEEE 61850-9-3 is its "power utility profile". It aims for better than 1 µs, even after the time signal passes through 15 network switches. A GPS clock usually acts as the grandmaster, the master time source.

The figure below shows a real system from one vendor. It has the same three levels, with redundant parts at the station level.

Vendor drawing of a real substation automation system: redundant station HMIs, gateways to the network control centre, an SNTP time server and an engineering workstation on a redundant station LAN, with bay control and protection panels for 220 kV and 66 kV feeders connected by redundant Ethernet rings
A real IEC 61850 substation automation system for a 220/66 kV substation. Note the redundant HMIs and gateways, the time server, and the bay panels on Ethernet rings. Older IEC 60870-5-103 devices join through a proxy. (Image: ABB)

SCL files and the engineering workflow

The Substation Configuration Language (SCL) is defined in IEC 61850-6. It is a set of XML files. They describe the substation, the IEDs, the network and every message between them. Because the format is standard, a tool from one maker can read a file from another. The table below lists the file types.

FileFull nameWhat it holds
SSDSystem Specification DescriptionThe single-line diagram and the functions needed. No IEDs yet.
ICDIED Capability DescriptionWhat one type of IED can do. Supplied by the vendor.
SCDSubstation Configuration DescriptionThe whole substation: all IEDs, the network and every GOOSE and SV link.
CIDConfigured IED DescriptionOne IED's part of the SCD, ready to load into that IED.
IIDInstantiated IED DescriptionOne configured IED, sent back from the IED tool to the system tool (Edition 2).
SEDSystem Exchange DescriptionThe interface between two projects, such as both ends of a line (Edition 2).
The SCL file types defined in IEC 61850-6.

A project moves through these files in four steps.

PTOC XCBRPTOC XCBRSSD

1Specify the substation: SSD

We draw the single-line diagram and list the functions each bay needs. The tool saves this as an SSD file. It has no IEDs in it yet.

ICDICDvendor Avendor B

2Collect the ICD files

Each vendor supplies an ICD file for its IED. It lists everything the IED can do: its logical nodes, data and services.

SSDICDsystemtoolSCD

3Design the system: SCD

The system configurator joins the SSD and the ICD files. We name the IEDs, set IP addresses and draw the GOOSE and SV links. The result is one SCD file.

SCDIEDtoolCIDIID back

4Load each IED: CID

The vendor tool takes its IED's part of the SCD and makes a CID file for download. In Edition 2, changes made in the IED tool go back as an IID file.

The SCD file becomes the single record of the system. Later changes start from it, not from each IED. This is a big change from hard-wired work, where the drawings and the wiring could slowly drift apart.

Analogy

The ICD files are like product data sheets. The SSD is the architect's plan. The SCD is the full construction drawing, with every part placed and connected. Each CID is the work order for one installer.

Redundancy and cyber security

Once trips travel over Ethernet, the network becomes part of the protection system. It must not fail, and it must not be attacked.

Redundancy: PRP and HSR

Ordinary network recovery methods, such as the rapid spanning tree protocol, can take from milliseconds to seconds to reroute after a fault. That is too slow for a trip or a sampled-value stream. So IEC 62439-3 defines two methods with zero switch-over time. The figure below shows both.

PRP: two separate networksHSR: one ring, both directions LAN A LAN B S R R keeps the first copy, drops the duplicate switch-over time: zero SR each node forwards frames round the ring switch-over time: zero
Two ways to survive a broken link with zero switch-over time. PRP (left) sends every frame on two separate networks. HSR (right) sends every frame both ways round a ring. In both, the red cross does not stop the message.
  • PRP, the Parallel Redundancy Protocol, uses two separate networks, LAN A and LAN B. Each device sends every frame on both. The receiver keeps the first copy and drops the second.
  • HSR, High-availability Seamless Redundancy, uses a ring. Each device sends every frame both ways round the ring. If the ring breaks at one point, the other copy still arrives. HSR needs no separate switches, but each device must forward the ring traffic.

Devices without PRP or HSR can join through a RedBox, a redundancy box. PTP time sync can also run over PRP and HSR networks.

Cyber security: IEC 62351

Plain GOOSE and MMS were designed for closed networks. They had no built-in protection. A fake GOOSE message could, in principle, trip a breaker. The IEC 62351 series adds security to these protocols:

  • IEC 62351-3 and -4 secure MMS with TLS encryption and authentication.
  • IEC 62351-6 secures GOOSE and sampled values. It mainly adds an authentication code, so a receiver can reject a message that did not come from the real publisher.
  • IEC 62351-8 adds role-based access control, so each user can do only what their role allows.

Standards are only part of the answer. Good practice also needs network separation, firewalls at the gateway, strict control of engineering laptops and logging of every change.

Worked example: a feeder trip by GOOSE

Let us follow one fault through a real-looking scheme. An 11 kV feeder has a protection IED from vendor A. It holds PTOC (overcurrent) and PTRC (trip conditioning). The breaker is controlled by a breaker IED from vendor B, which holds XCBR. There is no copper trip wire between them, only the process bus.

Here is what happens, with typical times.

  1. The fault. A cable fault draws a large current. The merging unit streams the samples to the protection IED.
  2. Decide: about 20 ms. The instantaneous overcurrent element in PTOC1 operates. Op goes true, and PTRC1 sets its trip output, Tr. A fast element typically takes about one cycle, which is 20 ms at 50 Hz.
  3. Send by GOOSE: 3 ms or less. The IED publishes a GOOSE message with PTRC1.Tr.general = true and a new stNum. The frame is about 200 bytes. On a 100 Mbit/s link it takes only about 16 µs to send, so most of the 3 ms is processing inside the two IEDs.
  4. Act: about 4 ms. The breaker IED receives the message. Its output contact closes and energises the trip coil. We assume about 4 ms for a normal output contact. Fast solid-state outputs are quicker.
  5. Open the breaker: about 50 ms. A medium-voltage breaker typically opens and clears the arc in about 2.5 to 3 cycles.

So the GOOSE path takes about 20 + 3 + 4 + 50 = 77 ms. The figure below compares this with two hard-wired paths.

GOOSE tripnetwork, ≤3 msprotection 20breaker opens 5077 msHard-wired, directrelay contact to coilprotection 20breaker opens 5074 msHard-wired + auxtrip relay in the pathprotection 20aux 8breaker opens 5082 ms 0102030405060708090 milliseconds from fault to breaker open GOOSE 3 contact 4 decide network output contact breaker
The timing budget for the worked example. The GOOSE path (top) adds at most 3 ms of network time. That is less than a typical auxiliary trip relay (bottom). The breaker itself takes most of the time on every path.

A direct hard-wired trip, from the relay contact straight to the trip coil, takes about 20 + 4 + 50 = 74 ms. But many schemes put an auxiliary trip relay in the path, for example to trip several breakers at once. A fast auxiliary relay adds about 5 to 10 ms. With 8 ms, the total is about 82 ms.

So GOOSE is not slower than copper. It adds about 3 ms, about the same as one auxiliary relay. And it brings two things copper cannot. The link is supervised all the time, through the heartbeat. And one GOOSE message can reach many subscribers at once, such as breaker-failure protection and the bay controller, with no extra wiring.

Common mistake

The 3 ms limit is not the time to clear the fault. It is only the transfer time of the message. The protection decision and the breaker opening come on top. The breaker is still the slowest part of the chain.

Where IEC 61850 is used, and its editions

IEC 61850 began in substations, but it has grown well beyond them.

  • Transmission substations. Large multi-vendor sites gain the most from a common model. Many new transmission substations now use a station bus, and some also use a process bus.
  • Distribution substations. Utilities use GOOSE for fast schemes, such as busbar blocking and automatic transfer, and to cut wiring in small sites.
  • Power plants. Hydro plants have their own logical nodes in IEC 61850-7-410. Wind farms use IEC 61400-25, which is based on IEC 61850.
  • Distributed energy and the smart grid. IEC 61850-7-420 models solar, batteries and other distributed energy resources. This helps connect renewables to the grid.
  • Between substations and to the control centre. Technical reports IEC 61850-90-1 and 90-2 extend the standard to links between substations and to control centres.
  • Industry. Large plants, such as refineries, mines and data centres, use it for their high- and medium-voltage switchgear.

Take a typical upgrade of a large city substation. The utility replaces old relays and RTUs with IEC 61850 IEDs from more than one vendor. Operators get real-time data and remote control through the HMI and SCADA. Maintenance teams get detailed diagnostics, and they can find a failing device before it causes an outage. Copper wiring falls, and future changes become file edits.

There are challenges too. The first project needs new skills: networking, SCL tools and testing with GOOSE and SV simulators. Older devices must be joined through gateways or proxies. And a mixed-vendor system must be tested as a whole. The best way to learn is hands-on: configure two IEDs from different vendors in a small test project, and watch the GOOSE messages with a network analyser.

Edition 1, Edition 2 and Edition 2.1

  • Edition 1 was published from 2003 to 2005. Its title was "Communication networks and systems in substations". It set the data model, the services and SCL.
  • Edition 2 followed from about 2009 to 2011. Its title became "Communication networks and systems for power utility automation", because the scope now went beyond substations. It fixed many interoperability problems found in Edition 1. It added new logical nodes, test and simulation modes, and the IID and SED files.
  • Edition 2.1 is a set of amendments published around 2018 to 2020. It collects many corrections and clarifications. Most new IEDs today support Edition 2 or 2.1.

When we mix devices of different editions, we must check that the SCL tools and the IEDs can work together. This is one of the most common causes of trouble on site.

Key takeaways

  • IEC 61850 is a family of standards for substation automation. It lets IEDs from different makers work together and replaces most copper wiring with Ethernet.
  • The data model goes from physical device to logical device, logical node (such as XCBR or PTOC), data object and data attribute.
  • MMS is client/server for monitoring and control. GOOSE is fast layer-2 multicast for trips, limited to 3 ms for the strictest trip class. Sampled values stream measurements at 4000–4800 samples per second for protection.
  • GOOSE has no acknowledgement. It repeats each new message with a growing gap, then sends a heartbeat, so a lost link is detected.
  • SCL files (SSD, ICD, SCD, CID, IID, SED) describe the system. PRP and HSR give zero switch-over redundancy, PTP gives sub-microsecond time, and IEC 62351 adds security.
  • A GOOSE trip is as fast as a hard-wired one. The breaker itself is still the slowest part of fault clearing.

This guide gave the full picture of IEC 61850. To see where it fits, we suggest reading about the substation itself, the SCADA systems it reports to and the older serial protocols it replaces. The guides below go deeper.

1 thought on “IEC 61850: a complete guide to substation automation”

  1. Pingback: Smart grid vs traditional power system explained

Leave a Reply