Thursday, August 25, 2011

61850 Learing and Practice

[1] Syscorp demo DLL
[2] Syscorp 61850 API on-line Manual
[3] Latest WinPcap download
[4] WinPcap/libpcap intro on WiKipedia
[5] Syscorp 61850 on youtube
[6] SISCO 61850 solution

NOTES FROM READING 61850 STANDARD
--------------------------------------------
1. IEC61850_QUALITY_XXXX in 61850-8-1 2004. section 8.2


Logical Device (LD)
Object representing a group of functions, each function is defined
as a logical node. A physical device consists of one or several
LDs.

Logical Node (LN)
An object defined by its data and methods. LN is the smallest
part of a function that exchanges data.

Data Object (DO)
A data object is an instance of one of the IEC 61850 Common
Data Classes, for example single point status, measured value
etc. Depending on the class, each data object has a set of
attributes for monitoring and controlling the object, for instance
value, quality and control.


Data Set (DS)
The data set is the content basis for reporting and logging. The
data set contain references to the data and data attribute values.

Report Control Block (RCB)
The report control block controls the reporting process for event
data as they occur. The reporting process continues as long as
the communication is available.



Attributes
Predefined object that contains items for controlling or retrieving
status information for the parent object. The parent object can
be the Server, a Subnetwork, or a Device object.

IEC 61850 Device (IEC 61850 IED)
Object representing a physical IEC 61850 protection and control
device. You should not have more than 30 devices per each
subnetwork.




Q&A
-------------------
1. How historical data from 61850 device are handled in 61850 stack?

2. When some LD/LN not installed how 61850 stack handle that? (new *.ICD file for each different installation?)

3. For DNP3 integration poll will find out all available points. How about 61850?





NOTES OF READING servermain.c, iec61850api.h
-------------------------------------------------
Customer need to maintain its own local data storage. 61850 stack just get
data dynamically from customer's local data stroage by loopback_read, and update customer's local data storage by loopback_write.

When there's new data updated in customer's local data storage, customer need use update() to get 61850 stack updated with new value. Then 61850 stack will do GOOSE,
buffered report, unbuffered report, sample value, log. See 61850 API user manual.


PRACTICE ENABLE LOG CONTROL
-----------------------------
When enabling log control, has to choose 'log name' and 'data set'.


PRACTICE ADD 'generic private id' WITH 5 fields
----------------------------------------------
Inside any DA, we can add 'generic private id' which will allow us to further define values of 5 fields. Those 5 fields will uniquely identify any DA ID. Thus, we use those 5 fields to interact with Syscorp 61850 stack.


PRACTICE GET DEMO RUN
-----------------------
If having -19 error reported when running ServerDemo61850.exe. Update of WinPcap to latest 4.1.2 version will solve the problem. [1]




TREE CHART OF DEMO SERVER 61850 ICD FILE
------------------------------------------









No comments: