Basics of setting up IEC61850 communication for AQ-200 series IEDs

Basics of setting up IEC61850 communication for AQ-200 series IEDs

Introduction

To make IEC61850 configuration for AQ2xx series relay AQtivate setting tool is needed. It is possible to setup the IEC61850 configuration without a physical unit if you have an aqs configuration package. Other useful tools are e.g. an IEC61850 client like Omicron’s IEDScout and if really bit-by-bit information is needed an Ethernet traffic sniffer like Wireshark can be useful.

AQtivate

There are two ways to open an aqs package before you start setting up IEC 61850:
·         Open a previously read .aqs file using AQtivate.
·         Connect to a relay and use command ‘Get Aqs-file’ under Commands menu.

Enabling IEC61850

To activate IEC61850 in the device go to Communication à Protocols à IEC61850 and set IEC61850 enable to Enabled.  See picture below. Write this setting to the relay with Commands à Write settings command. Now the IEC61850 is activated and it is possible to connect to the device using an IEC61850 client. (As long as IP address information is setup). Upload this setting to the relay (CommandsàUpdate settings or enable Live-edit).


IEC61850 editor

The IEC61850 editor is the main tool for configuring IEC61850 for the AQ2xx series. The tool can be launched from Tools menu in AQtivate setting tool.




Open cid file



Open a cid file from the hard drive.





Save cid file



If cid file was saved to a folder on the computer this button updates that file.





Save to aqs.



Saves the cid file into the aqs-configuration file currently open.





Save cid file as



Save CID file in chosen directory with custom name.





Export DataSet info



Save dataset info into a .txt file in table form which can be opened with tools like Excel.





Configurations



Opens main configurations dialog





Edit datasets



Used to edit datasets. Opens new dialog.





Send to relay                



Sends currently open CID configuration to relay. Connection to relay required.





Import GOOSE settings



In case GOOSE publisher and subscriber settings have been made with third party software this tool can be used for importing those settings to relay.





Get default cid from relay



AQtivate will retrieve the factory default CID file from the relay. Command requires a connection to a relay.



Main view

The complete IEC61850 model for all AQ2xx series units is always available (opened aqs-file not required) and can be viewed using the editor. See picture below. All Logical Nodes with a short description can be seen in the left hand side tree-view.

Main configurations

The parameters visible in this dialog are actually part of the cid-file. This means that after editing any of these parameters the contents of the cid-file changes and should be written to the device.

Communication parameters


In the main configurations dialog on the left side are the MAIN parameters. First 5 parameters are upper layer addressing parameters. These are very seldom used. Check with client side implementation if these need to be changed.
IP setting with mask and gateway needs to be set to suite the system. These settings are crucial. The IP settings in the cid file must match the communication settings of the device. The MAC address is automatically set by the device when the configuration is written to the device.
The IED Name is usually used to identify the device in the IEC61850 world. The name should be unique in the system.
Object control model can be changed for the controllable Logical nodes, OBJ1CSWI to OBJ5CSWI. Possible modes are; Direct with normal security, SBO with normal security, Direct with enhanced security and SBO with enhanced security.

GOOSE publisher


On the right side in the configurations dialog are the 2 GOOSE control block parameters. These are used to configure GOOSE publisher.
App ID stands for Application Identification. This hexadecimal parameter defines the ID of published GOOSE data from this unit. There are 2 GOOSE control blocks available in the device. The App ID must be unique in the network. The App ID is used in the subscriber to identify the incoming GOOSE data frame.
VLAN Priority can together with VLAN ID parameter be used to build sub-networks in the system utilizing intelligent switches.
MAC-Address defines the multicast address to which the GOOSE publisher is sending its frames.
Conf Rev. stands for configuration revision. It can be considered to be the version number of the GOOSE dataset.

Datasets and control blocks


All data traffic commonly used in IEC61850 is related to datasets and report control blocks. In IEC61850, report control blocks in the server are reserved by the client when the client wants to get reports from the server. After the client has enabled a report control block, the server is responsible of data reporting to the client. Dataset configuration can consist of URCB- or BRCB report control blocks.
  • BRCB: Buffered report control block. Server collects, buffers, reports even if there is no subscription from the client.
  • URCB: Un-Buffered report control block. Reports only when there is a subscription from the client.

Dataset editor


When opening the Dataset editor you will most likely see some datasets already in the configuration. By default there are three unbuffered, three buffered datasets and two GOOSE datasets. Datasets can be added or removed with + or - buttons. The two GOOSE datasets are hard coded in AQ2xx series relays. It is not possible to add or remove GOOSE datasets.




It is possible to have a total of six datasets. When a new dataset has been added you need to choose if the dataset is buffered (BRCB) or unbuffered (URCB). The more RCB:s (clients) have been selected for the dataset the more clients can subscribe to the dataset. Maximum amount of subscribers per dataset is five.

Editing dataset

Contents of the dataset can be viewed and edited by selecting a dataset and clicking Edit-button.
In the datasets dialog each line represents a data entry in the dataset. Data items in datasets can be included on Data Object level or Data Attribute level. In this example all data is included as Data Objects which is also most common, the doName is Ind. A data object includes data attributes and in this example the Ind object contains attributes stVal, q and t. (value, quality and timestamp).


Pressing the ‘-‘ button at the end of the row deletes that entry from the dataset. Pressing the ‘+-‘ button opens a dialog where entries can be added and deleted. See picture below where DI1, 2, 3 and 4 have been selected in data object level which means that includes all data inside is included. Pressing the Select Active Stages button will include the start and trip information of all stages which are enabled in the relay configuration to this dataset.

Saving dataset to aqs package

To save the changes to the aqs file when IEC61850 configurations are completed click on the .CID/.ICD file and then save the aqs file (File à Save or Ctrl+S). Now when the aqs package is uploaded to the relay (Commands à Write all) it will also update the IEC61850 configurations as well.

Sending the CID to the relay

If you are connected to a relay you have the option to upload the new configurations straight away by clicking on the Send to relay button.

CID file used in the aqs file will also be sent to the relay when giving “Write all” command (Commands àWrite all).

DO vs DA

It is recommended that when adding entries to the URCB and BRCB datasets that this is done on Data object level. This way all attributes gets included, (value, quality and time).

The exception from this is when adding entries to the GOOSE datasets. The nature of GOOSE communication is such that same frame is repeatedly sent. The interval between frames is increasing until reaching 2 seconds, which is the keep-alive rate. If a data value in the GOOSE dataset changes the interval is reduced again. Timestamp information in this kind of communication is not relevant. In GOOSE datasets we recommend that only value and quality attributes are added. 




GOOSE publishing


Editing GOOSE publishing datasets work in the same way as editing the other datasets. The difference is that you may want to change the order of the selected signals so that the DataIndex is to your liking. In the list above you can see DI1s value (stVal) and quality of the signal (q) and the same for DI2. The AppID of these signals is 166 which is a hexadecimal number given in IEC61850 settings.

GOOSE subscriber

GOOSE subscriber is enabled setting a parameter under Communication à Protocols àIEC61850 view. There are 64 independent GOOSE inputs available in the device. For each of the inputs there are 5 settings: In use, AppId, ConfRev, DataIdx and NextIdx is quality. These settings are used to pair an input with single data in published frames in the system. In the picture below GOOSE Input 1 has been configured to receive the DI1 input value that was configured in the previous chapter’s configuration. NextIdx is quality has been enabled which means that relay will assume the next DataIdx (1) to be quality of the same Goose signal.

Now both the value and the quality have been configured and can be used in configuration. Goose input 1 is the signals value and Goose input 1 quality is the quality of the same signal. Below is an example application of both signals.

To change the name of the Goose input go to Control à DeviceIO à Logical Signals àGOOSE IN Description.

    • Related Articles

    • Modbus communication in AQ-200 series IEDs

      AQ-200 series devices can communicate using both Modbus RTU serial protocol and Modbus TCP protocol. Same data can be accessed using both these protocols. To use Modbus TCP it can be activated with parameter Modbus TCP enable in menu Communication à ...
    • Adding monitoring and communication to AQ-1xx series arc protection system

      Background The protective devices based on arc light sensors were first introduced in early eighties more than 30 years ago. Modern arc flash protection systems contain full self-supervision capabilities in order to provide highest level of ...
    • AQ-300 series relays protection and communication separation on CPUs

      AQ-300 series units have one CPU module with two processors on the PCB: RDSP, which is responsible for the sampling and for the protection, automation and control functions CDSP, which is responsible for the communication. In special cases there can ...
    • Troubleshooting communication issues with free AQwire software

      Arcteq Relays has released a new free software for testing communication protocols. AQwire is able to read all the signals reported by relay. This includes measurements, trip signals, logical signals and breaker statuses. Every communication ...
    • Communication protocol map resources

      In case you are using one of the following communication protocols (DNP, IEC103, IEC101, IEC104, Modbus or SPA) you can find the units signal mapping in the relays aqs-configuration file. The aqs file can be loaded and opened with AQtivate-setting ...