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

TECHNICAL BROCHURE

401
WG
Functional Testing B5.32
of IEC 61850 based systems

Members:
Iony Patriota, Convener (BR), Aitzol García (ES),
Pascal Postec (FR), Marcelo Paulino (BR),
Alex Apostolov (US), Tetsuj Maeda (CH),
Dennis Holstein (US), Fred Steinhauser (AT),
Stephen Thompson (GB), Hyuk Soo Jang (KP),
Jian-cheng Tan (CA)

Corresponding Members:
Damien Tholomier (FR), Marcus Steel (AU),
Gareth Baber (GB), Benemar Alencar (BR),
Ubiratan Carmo (BR), Benton Vandiver (US),
Ricardo Cartaxo (PO), Allan Cascaes (BR),
Ren Yanming (CN), Sun Bo (CN), Byung-Tae, Jang (KR)

Over the last few years considerable work has been mal specification. As the IEC did not standardize func-
carried out in the development of a new standard IEC tions, a method is proposed based on UML and XML.
61850, “Communication Networks and Systems in UML Use Cases are suggested as suitable artifacts to
Substations”. Its introduction has raised questions on describe functions, from a user point of view. Other
how to test their functionality and performance, as UML diagrams are suggested to specify real-time per-
conformance and interoperability have already been formance requirements, and tools needed for func-
standardized. Contrary to previous “Substation tional testing. FMEA and HAZOP, as defined by IEC,
Automation Systems (SAS)” technologies, these sys- are suggested to verify the fault coverage of test plans.
tems use distributed hardware and software, with asyn-
chronous and real time behavior that challenge current
functional test practices.
F u n c t i o n a l R e q u i re m e n t s
To discuss these issues, Cigré WG B5.32 was commis-
sioned to produce a TB addressing the needs of utilities, Functional requirements express a specification
integrators and testers on functional testing of IEC 61850 from a user point of view, and as the standard against
based systems. IED (Intelligent Electronic Device) ven- which functional test results should be compared for
dors, tool suppliers, and system integrators can use it to approval. Traditionally, SAS functions have been
ensure their products and services provide the capabili- defined by utilities in a textual form, supplemented
ties needed and specified by users. It does not attempt to with tables and pictures, a method not yet formalized.
comprehensively address all possible testing scenarios, IEC 61850 does not define functions, only their inter-
such as non-functional requirements like maintainabil- face to the communication network. Functions are
ity, reliability, availability, (US)bility, security, etc. Only performed by the interaction of several Logical Nodes
functionality and performance are dealt with. (LNs), so the specification may require their definition
and exchanged messages. SAS functions are designed
Functional tests for any system must be designed to using SCL (Substation Configuration Language),
check its behavior, comparing with an accepted or for- which may differ from a user functional specifi-

No. 247 - December 2009 E L E C T R A 51


TECHNICAL BROCHURE
401
cation, as users are not expected to specify SAS directly states or results from system functions, varying from a
WG
in SCL. Being a design specification, SCL contains complete loss of the function, to a partial degradation
B5.32
details needed for functional testing, such as network of its expected performance level. Components are
addresses of logical nodes, servers and messages, and defined as any part of a system where failure modes can
points for signal injection and monitoring. It should be originate. Physically, SAS systems are composed mainly
available at the time of testing as a design specification. by IED servers and network components and function-
ally by sets of logical nodes, both connected by network
UML is a standard means by which complex con- components like switches, hubs, etc. Failure Modes
ceptual structure and functionality can be represented represent abnormal events that may occur on these
and communicated using easy to grasp diagrams and components and their connections. Failure modes of
tables. It is recommended that a subset of UML artifacts physical components are usually related to environ-
be used to describe SAS functions, including Use Case, mental or physical causes, like short-circuits, broken or
Communication, Sequence, Activity, Deployment and weary pieces, etc. Software components like logical
State diagrams. nodes may present novel failure modes, such as: wrong
parameters; wrong code or software bugs; wrong or
absence of input/output signal/messages; or wrong
timing (delay) for input/processing signals/messages.
Test Requirements For testing purposes, logical nodes are treated as black
boxes, so that their failure modes are limited to loss or
Once functions are specified, and before functional degradation of an expected external behavior.
tests are initiated, at least the following documentation
must be available: functional specification (FICS file)
supplemented optionally by other UML artifacts, sys-
tem specification (SCD file), IEDs configuration (CID Functional Test Tools
files), and conformance declarations (PICS, MICS and
PIXIT). In addition, all IED must have passed factory Testing tools must have the capability to exercise
acceptance, conformance and interoperability tests, as specific functional requirements of IEC 61850 based
required by IEC 61850-10. systems. The TB follows the UML Testing Profile to
model the required test components. Functional test-
Functional tests, being directed to users, shall com- ing tools should also support the principles of Black
ply with several additional requirements: they must be Box testing, where the internal logic of the components
simple, repeatable, documented, automatable, human is not known. They should also support tests per-
readable, customer oriented, tool independent, sup- formed in a top-down or bottom-up approach, to
plier independent, extensible, systematic, and stan- address the needs of integration and factory acceptance
dardized. In addition, the SUT must comply with testing. So, in addition to input and output
customer specifications and possibly with a mixing of
devices from different suppliers. To comply with all
these requisites, a standard method should be adopted
to guarantee that enough tests are performed to ascer-
tain desired test coverage.

Test Coverage
Test coverage is a measure of completeness of a test
plan, expressed by the set of features tested, like possi-
ble failures discovered or functions tested. FMEA and
HAZOP are two methods standardized by IEC to ana-
lyze possible failures a system may present, and to avail
the fault coverage of any proposed test plan. In these
methods, Functional Failures represent abnormal Functional Test Setup

No. 247 - December 2009 E L E C T R A 53


TECHNICAL BROCHURE
401
signals, they should be able to monitor and generate modules and connections to perform the test. In the
WG
messages between the different components of a dis- Test Setup phase, for each component needing initial-
B5.32
tributed function. Following these concepts, the next ization, a message is sent to the appropriate object,
picture shows a UML package diagram of a general instantiating a method of the process simulator class.
architecture for a test system, connected to an SAS. The Test Start phase applies analogue and digital sig-
nals to the SUT. The Test Stop phase removes all exter-
The SAS is seen as a network of logical nodes, nal signals to the SUT. Before Test Disconnection of all
linked to a substation process, and accessed by local components from SUT, the tool must collect all neces-
and remote operators. The package representing the sary events, reports, etc. Finally, the Test Verdict phase
Tester should be able to intercept the interfaces among checks all specified conditions from the records. A ver-
users and process equipment to the SAS, and to have dict is a pass or fail conclusion about some results col-
access to specific logical nodes through the station and lected from the test.
process networks, by importing the SCL files from the
SAS package. The following is a brief description of
each package forming the Tester.
Conclusions
Testing the functionality of IEC 61850 based sys-
Functional Test Specification tems requires techniques used mainly by distributed
software developers and maintenance engineers. In this
The proposed test architecture uses XML as the test report a method has been described using UML with
script language, associated to a user oriented test tem- XML, and IEC standards for FMEA and HAZOP. In the
plate (next Table). Any test is divided in six phases: TB, a complete example shows the proposed method
Connection, Setup, Start, Stop, Disconnection, and applied to a simple station with an IEC 61850 SAS.
Verdict. Each phase is described as a script, composed Appendices contain the suggested XML Schema and a
of commands sent to the test tools and from this to the Functional Test Specification Template to support its
SAS or SUT (System Under Test). Each command documentation. It is expected that this report will be
encodes a message sent to an object derived from a followed by additional refinements in the proposed
class of the test architecture. method, by its implementation by tool suppliers, and
In the first phase, Test Connections have to be to the standardization of methods of specifying SAS
declared so that the Test Tool can select the object functions and testing by IEC. ■

Table – Functional Test Case Template

No. 247 - December 2009 E L E C T R A 55

You might also like