Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Functional Testing of IEC 61850

by Christian Brauner, OMICRON electronics GmbH, Austria and Eugenio Carvalheira,


OMICRON electronics Corp., USA
39

Substation Automation

Testing
Systems
Testing the protection element settings of IEDs and protection schemes are

Functional Testing
well established practices when testing a Protection, Automation and Control (PAC)
system. Tools and methods are available to support standardized and automated
protection testing routines. Test plans can be created for specific relay types and
schemes to be reused during distinct phases of a project, like Factory Acceptance
Tests (FAT), commissioning, Site Acceptance Tests (SAT) and maintenance.
Contrary, testing SAS-the Substa- This process, which is ideally Practical experience shows that Christian Brauner received his engi-
tion Automation Systems, which in- performed during FAT before de- the better the system is tested in neering degree at the polytechnical
volves many automation, control and livery and installation at site, re- the factory, the less problems oc- college St. Pölten/Austria in the field of
SCADA functionalities, is usually quires several weeks for a typical cur during installation and testing communication technology. In the last
performed manually. When looking substation and involves several on site, and the more efficient and 30 years he was employed by manufac-
at the time spent during commission- experienced control and SCADA smooth the project finally is. turers of substation automation (SAS),
ing, for example, testing the automa- engineers. During the testing procedure, control, protection and SCADA systems
tion and communication system is The following hardware, soft- bugs and errors in device param- for electric utilities. He started his ca-
reer as a technical sales expert in Aus-
currently more time consuming than ware and technical competencies eters but sometimes also in the
tria with VA TECH SAT (now Siemens),
testing the protection functions. Au- shall be available for system testing device’s firmware are detected and
later as sales manager with SPRECHER
tomation systems have become in- in the factory: fixed. But every update of firmware
AUTOMATION. He has been involved in
creasingly complex and the efforts for Ideally the entire SAS with all version and as well as any change
a variety if IEC 61850 related projects
testing communication, interlocking bay IEDs, networking equipment, of device settings requires at least
and frame contracts for large utilities all
logic, and proper operation of all sig- gateways, HMIs, etc. retesting of the involved function,
over Europe.
nals transmitted to SCADA systems A switchgear simulator ideally a retest of the entire system.
Since 2018 he has been working for
have grown dramatically. hardwired to the IEDs (can be This process is not efficient if
OMICRON Vienna as sales development
In substations, all connection in- simple switches and LED indica- manual testing is performed, there- manager. His special focus is on testing
terfaces between IEDs and primary tors up to sophisticated PLC based fore a new approach towards more and monitoring products and solutions
equipment need to be checked as simulators) automated and efficient system for substation automation systems.
part of the FAT and SAT. For hard- Control center simulator sup- testing is heavily needed. Such a so-
wired interfaces, as an example, this porting the used SCADA protocol lution is available today and based
is usually performed one-by-one in (e.g. IEC 60870-5-104, DNP3) on the SCL concept which is part of Eugenio Carvalheira received his B.Sc.
a manual process of “green marking” Network testing and IED spe- the IEC 61850 standard. in Electrical Engineering at UFPE in Bra-
all interfaces on printed functional cific maintenance tools IEC 61850 and the SCL zil and his M.Sc. in Computational En-
and wiring diagrams. Deep knowledge about the Concept gineering at the University of Erlangen
For testing the implemented logic implemented vendor products, IEC IEC 61850, the international in Germany. He has over 18 years of
functions such as command inter- 61850 and Ethernet networks standard for Communication net- experience in the design and commis-
lockings, many physical inputs need Well prepared test plans and works and systems for power util- sioning of power systems protection,
to be forced at the same time, and documentation (Signal spread- ity automation, defines not just automation and control systems. He
the logic verified by executing the sheet, interlocking logics and other communication protocols, but joined OMICRON in 2008 as an Applica-
related control operation. For testing test procedures) also data models for substation tion Engineer and is currently Engineer-
the SCADA signaling, an end-to-end Usually, not all components of equipment. ing Manager for North America based
in Houston, TX. He is also an active
check is performed by stimulating the SAS are available at the factory, Moreover, the standard also
member of IEEE PSRC working groups.
the signals directly at the equipment e.g. in cases where IEDs are part of specifies a common, vendor inde-
level in the switchyard or by forcing switchgear deliveries and shipped pendent, configuration concept.
them at the IED’s input terminals. directly to site without proper sys- Machine readable configuration
Additional documentation is typi- tem testing. In such cases, testing information in an XML based stan-
cally required, like a spreadsheet with must be exclusively performed on dardized format is used in this pro-
Remote Terminal Unit (RTU) signal site, with consequences in terms of cess - the System Configuration
and mappings list. efforts and costs. Language (SCL).

PAC.DECEMBER.2020
by Christian Brauner, OMICRON electronics GmbH, Austria and Eugenio Carvalheira,
OMICRON electronics Corp., USA
40
SCL Engineering Process: SCD (System Configuration and the SSD file can be imported into the SCT.
The SCL concept is defined in IEC Description): contains all config- The tool should allow the configuration of IEC
61850-6. Its main purpose is to al- ured IEDs, the communication 61850 related features of the IEDs, configuration
Testing

low the exchange of configuration configuration and all IEC 61850 of horizontal communication links (GOOSE and
data, in a compatible way, between aspects for a given system. It is cre- Sampled Values) and configuration of vertical
different configuration and testing ated by the System Configuration communication links (Client/Server Reports).
tools. Tool (SCT) By using data from the SSD file or by direct entry,
Figure 1 shows the general con- CID (Configured IED Descrip- the engineer can associate IED functions (Logical
cept of the engineering process of a tion): contains a subset of the SCD Nodes) to the single-line equipment and func-
substation automation system with file with all information related to tions. Ultimately, the SCD file, documenting the
the usage of SCL data exchange. one specific IED. Private extensions complete system, is generated by the SCT.
Increased Visibility

The following types of SCL files, are allowed SCL Content: The SCL language in its full
with different extensions, are speci- In principle, there are three scope allows to describe a model of the substation
fied for exchange of information: types of engineering tools in this comprising of three basic parts:
SSD (System Specification De- process: System Specification Tool Substation: describes the single line diagram
scription): describes the single line (SST), System Configuration Tool of the substation, primary equipment and func-
diagram of the substation, voltage (SCT) and IED Configuration Tool tions; The substation equipment such as a Circuit
levels, primary equipment and re- (ICT). Practically, an all-in-one tool Breaker is “connected” to the virtual logical nodes
quired logical nodes (LN) for imple- and no SSD is often used in case of contained in the IED
menting the substation functions. single-vendor systems. In multi- IED: describes all the hardware devices
The SSD file is generated by a System vendor installations with vendor (IEDs) used in the substation automation sys-
Specification Tool (SST) specific ICTs, typically a dedicated tem. The data model implemented in the IED
ICD (IED Capability Descrip- SCT is used. Today, more and more including its logical devices and logical nodes are
tion): describes the functional capa- users understand the need for stan- described in this part. IEDs are connected to the
bilities of an IED type. Each IED type dardization and use an SST for the communication system via its access-points
has its related ICD file. It contains specification process. Communication: describes logically possible
the IED logical nodes, data and sup- The SCT allows engineers to connections between IEDs in sub-networks by
ported services. It is generated by the design and configure the system- means of access-points (communication ports)
vendor specific IED Configuration wide IEC 61850 communication The content of a complete SCD file is com-
Tool (ICT) dataflow. ICD files from all IEDs prised of these three parts plus a section with data

1 SCL concept 3 SAS life-cycle


Engineering Commissioning Maintenance
Specification
FAT SAT Security Updates
SSD System
ICD Simulated equipment Testing with real equipment
Configuration Tool
(SCT)

4 SCL loaded into testing tool

SCD CID
SST ICT

2 SCL content
Substation
Voltage Conductive Subequip.
Substation Level Bay Equipment Phase

IEDs
Logical Logical
IED Server Device Node Data

Communication
Sub Access-Point
Network

PAC.DECEMBER.2020
41
type templates describing which data the SCD file. Topology information An innovative test approach
and attributes are used by the IEDs.
(see Figure 2).
in the substation section, for exam-
ple, is optional. Information in the
was presented for testing the
Substation Structure and Func- IED section depends on the capa- communication, automation, control
tional Naming: The substation struc- bilities of the specific IED products
ture represents the primary system used in the project. So, it is strongly and SCADA part of the SAS system,
architecture and describes which pri- recommended for substation own- which is based on
mary equipment functions are used, ers to include minimum require-
and how the equipment is connected. ments on the SCD file into SAS the SCD file information.
The objects in this section are hierar- specifications used for project ten-
chically structured and designated ac- ders and service contracts, such as: file is also highly supporting later extensions of Figure 5
cording to IEC 81346. Substation section must the station as described below.
The main purpose of this section is contain all voltage levels, bays and New SAS Testing approach based on illustrates an
to derive a clear functional designation CBs/disconnectors with their LN SCD Files
for the abstract logical nodes, which references (XCBR/XSWI, CSWI Test Approach: As mentioned, testing of the example where
are implemented in the IEDs to the and CILO) automation and control functionality are usually
primary equipment in the substation. Data Objects include "desc" performed in a manual way. Since many years, the GOOSE
Otherwise it might be difficult for the description attributes with signal tools are available offering testing capabilities on
system tester to find out which spe- text as defined by the owner a per IED basis, allowing manual test and simula- published by an
cific LN-instance in the IED is “con- GOOSE subscriptions use tion of individual IEDs.
nected” to which primary element in <IEDName> elements in the The method presented here extends the test IED is verified
the switchgear. <GSEControl> element, and use from single IED testing and simulation to testing
Content and Usage of SCD Files: <Inputs><ExtRef type="GOOSE"> of the entire Substation Automation System. The in the network,
As explained above, the SCD file elements test is entirely based on the SCD configuration
is the ultimate file resulting from a RTUs/Gateways or HMIs file. By importing the SCD file, the entire system but a problem
completed IEC 61850 system design. must be defined, have the Report can be visualized and all information available in
The SCD file is not only used by engi- Control Blocks in the IED reserved the SCD is used. The information in the substa- is identified
neering tools and for documentation and declared using <ClientLN> in tion section is used to place IEDs and switchgear
purposes, but also by testing tools. the <ReportControl> element equipment within their voltage levels and bays. at one of the
Testing tools can support a more effi- All data sets used in reports As can be seen in Figure 4, the tester gets to view
cient testing, taking advantage of the are of static type (dynamic data sets the system in a very similar way as the single-line subscribers
SCD file information about the sub- are not documented in the SCD) diagram or the local substation HMI, which he is
station under test. However, while the The better the quality and con- already familiar with. due to a
standard defines a clear concept for the tent of the substation’s SCD file, The method proposed is suitable for testing
engineering process, it does not define the higher the efficiency of system the SAS during its entire project lifecycle, which mismatch in the
a minimum content requirement for testing will be. A compliant SCD project phases are described at IEC 61850-4 and
illustrated in Figure 3. The tool using this method configuration
5 Check of GOOSE publisher-subscriber links should support both monitoring as well as simu-
lation of the system. When testing, the test set revision.
should have access to the GOOSE network traffic
and a MMS connection to the IEDs.
During the specification phase, the SCD file,
the signals and communication services can be
validated without the need of any physical device.
Later, testing of SCADA gateways and HMIs can
be performed by simulating the communication
behavior and signals of all IEDs - again without
any real IED. During the FAT, IEDs that are not
yet present can be simulated to test those ones
which are already available. As the project moves
into the commissioning stage, more monitor-
ing and testing of the real IEDs is done instead
of simulation. One of the key factors for an effi-
cient approach is the option to create test plans.
A test procedure can be documented and reused
throughout the SAS lifecycle. Test sequences can

PAC.DECEMBER.2020
by Christian Brauner, OMICRON electronics GmbH, Austria and Eugenio Carvalheira,
OMICRON electronics Corp., USA
42

6 Interlocking test results from the test tool To represent the result of interlocking
logic conditions, IEC 61850
defines the status of the release in the
Testing

logical node CILO.

CILO. For testing, a subset or ideally all possible


combinations of inputs can be tested, and the
logic output assessed by automatically reading the
CILO status values. (see Figures 6 and 7).
Troubleshooting by Tracing Signals: There
Functional Testing

are multiple transfers of messages and signals


within a SAS system. A signal passes multiple
steps until it arrives at the control center. If there is
an error in this communication, the commission-
ing engineer needs to follow the signal on its way
through the SAS. Finding such signal errors can
be very time consuming. Using the test method
described in this article, it is possible to follow
be performed and assessed auto- subscribing IED. Mismatches are how the signals propagate through the SAS.
matically. Some test cases related to also checked Testing RTU/Gateway and local HMI Config-
the SAS system are discussed in the Figure 5 illustrates an example uration: Gateways, RTUs and local HMIs usually
following sections. where the GOOSE published by communicate with almost all IEDs in the system,
Verification of Communication an IED is verified in the network, mainly via Reports, but also GOOSE. Typically,
Links: By loading the SCD file and but a problem is identified at one of several thousands of signals need to be tested.
having access to the network traffic the subscribers due to a mismatch During commissioning, at least the most critical
and MMS connection to the IEDs, in the configuration revision. The signals are tested point-to-point by stimulating
the testing tool can automatically connection link is highlighted in the signal in the switchyard. All other signals can
validate all GOOSE, Sampled Values yellow and warning signs are dis- be simulated by a testing tool. A test plan can be
and Report communication links. played to indicate the issue. built with the testing tool simulating all IEDs and
The test set can poll for attributes Testing Interlocking Logics: signals of the substation for a quicker verification.
in the IEDs and validate against the Logic is implemented in IEDs to Gateways/RTUs, HMIs and other IEDs in
model. It can check, for example, if cover many automation functions. general are often exposed to firmware updates
the Report Control Blocks are En- They can automatically be tested and security patches during their life time. The
abled and if the Owners of the Re- using this approach by simulating devices can be easily re-tested (sanity check) af-
ports are the Clients declared in the the inputs of the logic (either via ter the update by executing the test plan already
SCD file. GOOSE communication IED simulation or real switchgear prepared for that device before it is put back into
links can be verified for: status) and the result of the logic operation. Those tests can be performed in the
GOOSE mismatch on the send- can be assessed. One application substation with all other IEDs simulated by a
er side: by verifying Control Block example is the use of logics for modern test tool without affecting the devices in
settings interlocking schemes to ensure operation.
GOOSE publishing errors: by proper operation of disconnect and Practical Use Case: Extension of an ex-
sniffing on the network and compar- grounding switches. To represent isting substation
ing against SCD the result of interlocking logic con- For an important 20 kV Indoor Substation
GOOSE subscription errors: by ditions, IEC 61850 defines the sta- with around 55 IEDs, 3 busbars and two bus sec-
verifying the LGOS statuses at each tus of the release in the logical node tions in a large industrial complex, the owner de-

7 Interlocking logics and definition of test steps in spreadsheet


Signal Logics IEC Reference/Step in Testcase 1 2 3 4 5 6 7 8 9 10 11
BB11 No-Voltage ------ ------ ------ ------ ------ ------ ------ J1Q02R1LD0/MVGAPC2.Ind4.stVal TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE FALSE
Q02-QB1 Open ------ ------ ------ ------ ------ ------ & J1Q02R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN OPEN OPEN OPEN OPEN OPEN OPEN OPEN CLOSE OPEN
Q03-QB11 Open ------ ------ ------ ------ J1Q03R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN OPEN OPEN OPEN OPEN OPEN CLOSE CLOSE OPEN OPEN
Q08-QB1 Open ------ ------ >=1 J1Q08R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN OPEN OPEN OPEN OPEN CLOSE CLOSE OPEN OPEN OPEN
Q10-QB1 Open ------ & J1Q10R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN OPEN OPEN OPEN CLOSE CLOSE CLOSE OPEN OPEN OPEN
Q04-QB11 Open ------ ------ ------ >=1 ------ & J1Q04R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN OPEN CLOSE CLOSE OPEN OPEN OPEN OPEN OPEN OPEN
Q06-QB1 Open ------ ------ J1Q06R1CTRL/DCXSWI1.Pos.stVal OPEN OPEN CLOSE CLOSE OPEN OPEN OPEN OPEN OPEN OPEN OPEN
Q07-QB1 Open ------ & J1Q07R1CTRL/DCXSWI1.Pos.stVal OPEN CLOSE CLOSE CLOSE OPEN OPEN OPEN OPEN OPEN OPEN OPEN

QC11 EnableClose J1Q02R1CTRL/ESCIL02.EnaCls.stVal TRUE TRUE TRUE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE

PAC.DECEMBER.2020
43
cided to extend the existing substation
with several additional bays. The sub-
For each disconnector’s open/
close operation in the new bays,
9 Test setup of new IEDs in the factory
Test Tool Interlocking
station was commissioned around 10 test cases with >50 test steps have IED (spare)
years ago with a modern PAC system been defined as a permutation table
based on IEC 61850. Due to the opera- in spread sheet (Figure 7) and im-
tional constraints, the extension must plemented in the test tool. The test
be performed without de-energizing cases have been created just once
and during operation of the substa- for a typical bay and easily copied
Station LAN IEC 61850
tion. The command interlockings have for the others. Finally, those test
been implemented by PLC functions steps have been executed by simu-
in the IEDs and GOOSE is used for ex- lation of the existing IEDs and as-
change of the relevant signals between sessment of the relevant CILO data
the IEDs. objects in the new IEDs (Figure 6). Existing IEDs simulated new IEDs
The bay-related interlocks are im- This way, the correct implementa- by test tool
plemented in the respective bay de- tion of the interlocking scheme in
vice. In addition, a dedicated station the central interlocking IED as well
interlocking IED calculates the station- as in the new bay IEDs has been control center. Each gateway will be upgraded, Figure 8:
wide interlockings (see Figure 8). To verified. and a complete signal test will be performed by
realize this, the bay devices send their Testing of the updated gate- simulating all reports and SCADA signals with Benefit: If the
switch positions and other informa- ways: A second part of the exten- the test tool, verifying the correct function of the
tion via GOOSE to the interlocking sion project involves the update of gateway up to the control center. central device
IED, which calculates topological in- the existing gateways with latest Conclusion
formation such as "busbar 1 grounded" CPU hardware and firmware for An innovative test approach was presented fails, the bay-
and sends this information again via cybersecurity reasons. Consid- for testing the communication, automation, con-
GOOSE back to the bay devices, where ering the extensive evolution of trol and SCADA part of the SAS system, which related interlocks
the final command releases are cal- hardware and firmware during the is based on the SCD file information. Test plans
culated. Benefit: If the central device past 10 years, a complete retest of can now be created to automate the test and docu- remain available.
fails, the bay-related interlocks remain around 2.000 signals from the IEDs ment procedures that have been very time con-
available. And most important: Exist- to the Control Center after the up- suming until now.
ing bay IEDs are not affected in case of date was highly recommended. Automated test plans also enable a quick re-
extensions of the substation! As the station is equipped with test after security patches and firmware updates,
This way of implementation allows redundant gateways, one of the which are performed quite often nowadays. Test-
subsequent extension without retest- two gateways can be disconnected ing is becoming an integral part of the system and
ing the existing bays and – when us- from the Station LAN without dis- quickly evolving into a supervision and monitor-
ing modern testing tools - also during turbing remote control from the ing role.
operation.
Factory testing of the new IEDs:
As the majority of the IEDs are already
8 Principle system diagram of the SAS (Orange… Scope of extension project)

in operation, the IEDs for the new bays Control Center Reports
could not be factory tested together GOOSE
with the existing IEDs and station level Local HMI Gateways Interlocking
devices. Therefore, the owner decided A and B IED
to perform the test of the new IEDs
with a spare Interlocking IED and the
rest of the substation to be simulated
by the testing tool (Figure 9).
At first, the engineer imported the
existing SCD file into a new project da-
Station LAN IEC 61850
ta base, added the new IEDs, updated
the central interlocking IED, the HMI
and the gateways in order to incorpo-
rate the new bays and finally created a
new SCD file of the entire substation
(existing + extension). The existing bay
control and protection IEDs remained IEDs IEDs
unaffected and will not be loaded with MV Switchgear - Existing MV Switchgear - Extension
new parameter files.

PAC.DECEMBER.2020

You might also like