CN106371869B - IEC61850 configuration software implementation method for bay level equipment of intelligent substation - Google Patents
IEC61850 configuration software implementation method for bay level equipment of intelligent substation Download PDFInfo
- Publication number
- CN106371869B CN106371869B CN201610768003.9A CN201610768003A CN106371869B CN 106371869 B CN106371869 B CN 106371869B CN 201610768003 A CN201610768003 A CN 201610768003A CN 106371869 B CN106371869 B CN 106371869B
- Authority
- CN
- China
- Prior art keywords
- file
- interface
- software
- equipment
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method for realizing IEC61850 configuration software of bay level equipment of an intelligent substation, which adopts a processing mode of combining files in several special formats with a software program; the file uses a custom format and is used for describing parameter attributes and a software interface in detail, a software program is used for processing internal logic, manufacturing the software interface and generating an SCL file conforming to the IEC61850 standard, and the bay level protection equipment can complete parameter configuration by loading the file; finally, IEC61850 configuration software is developed, IEC61850 parameters of the interlayer protection equipment in the intelligent substation can be flexibly configured, and the intelligent substation interlayer protection software has the advantages of convenience in maintenance, stability in operation, flexibility in configuration, simplicity, easiness in use, convenience in transplantation and the like.
Description
Technical Field
The invention relates to the technical field of power system automation and software, in particular to an IEC61850 configuration software implementation method for bay level equipment of an intelligent substation.
Background
The intelligent power grid is the direction of national power grid development in China at present, and the intelligent substation is an important component of the intelligent power grid. The intelligent transformer substation is built, firstly, high integration of a secondary system of the transformer substation is achieved, total-station information digitization is achieved, and total-station information sharing and advanced application are achieved. Therefore, the equipment at the bay level of the transformer substation, including the relay protection device, the measurement and control device, the metering device and the like, is required to have a unified communication network, a unified communication standard and interoperability.
IEC61850 is a new method for constructing substation automation systems, standardizes communication behaviors between intelligent electronic devices in substations and related system requirements, and is a key technology for digital and intelligent substations. The self-description of the equipment is realized by establishing a uniform and object-oriented hierarchical information model to adapt to the expansion of the automation function, the requirement of application opening interoperation is met, and the interoperation of IEDs (bay level protection equipment) of different manufacturers and different types can be realized.
IEC61850 establishes three types of information service models: MMS (manufacturing message specification), GOOSE (generic substation event object oriented) and SV (sampling value), provides six types of configuration description files: SSD (system specification description file), SCD (system configuration description file), SED (system exchange description file), ICD (IED capability description file), CID (description file after IED configuration), and IID (instantiated IED description file), requirements such as conformance test are made.
The specific implementation of IEC61850 is different for each manufacturer, and the equipment manufacturers develop their systems according to the architecture and characteristics of their products. Generally, all information services are realized by the IED, all parameter configurations and other auxiliary functions are realized by upper computer software, and the IED and the upper computer software interact through a configuration description file. The method is simple to operate and high in configuration efficiency, but has high requirements on developers of upper computer software, and the IEC61850 standard needs to be understood deeply.
Disclosure of Invention
According to the implementation mode, the invention provides the implementation method of the IEC61850 upper computer configuration software of the bay level equipment of the intelligent substation, so that the IEC61850 parameter configuration is simple, the configuration efficiency is high, and other auxiliary functions are easily added.
In order to achieve the purpose, the invention adopts the following technical scheme:
an IEC61850 configuration software implementation method for bay level equipment of an intelligent substation comprises the following steps:
1) three formats of files were made:
manufacturing a UDF file according to the interface and parameter design requirements of IEC 61850;
manufacturing an SCL template file according to the attribute of the IED and a configuration file format specified by an IEC61850 standard;
manufacturing an IEC file according to attributes of LD and LN in the SCL template file;
2) initializing an equipment pointer and interface parameters according to the attribute, the order code, the version number, the IID file stored in the equipment and the UDF file in the step 1) and generating a pull-down list corresponding to all the parameters;
3) generating a software interface according to the design of the UDF file;
4) after all parameters are configured in the interface, storing the parameters, generating a CID file according to the SCL template file and updating all parameter configuration contents to corresponding positions of the CID file;
5) and uploading the CID file to the IED and restarting the IED, wherein the IED automatically loads the CID file in the restarting process to obtain new configuration.
Preferably, the UDF file is divided into three parts: an enumeration type part, a data definition part and an interface design part; the enumeration type part defines all enumeration types required by the data, and an enumeration value and a meaning of each type; the data definition part defines all data and attributes thereof contained in the software interface; the structure of the interface design part is completely the same as the display structure of the software interface, and the interface design part comprises an interface tree structure, interface names and specific data contained in each interface.
Preferably, the IEC file defines attributes of all LNs, their DOs, and DAs in the SCL template file, and is used to analyze the SCL template file.
Preferably, step 2) specifically comprises the following steps:
2.1) initializing equipment according to the attribute, the order code and the version number of the equipment, wherein the equipment comprises an equipment initializing pointer, equipment memory mapping creation, equipment LN number determination, GOOSE sending data set list generation according to an IEC file, and flexible logic operand list generation;
2.2) loading all data in the UDF file into a memory, and generating a memory mapping corresponding to a software interface according to the definition of the UDF file;
2.3) judging whether the device is in an online mode, if so, directly reading the IID file from the device by using an FTP protocol, and if not, automatically generating the IID file corresponding to the device by using an SCL template file;
2.4) analyzing the IID file obtained in the last step according to the IEC file content, updating the file content obtained through analysis to the corresponding device memory mapping and interface memory mapping, and then storing the value of the interface memory mapping;
and 2.5) initializing a software interface, loading the content of the file saved in the previous step, and displaying the software interface after initialization is completed.
Preferably, step 4) specifically comprises the following steps:
4.1) updating the value configured on the interface to the device memory mapping and the memory mapping corresponding to the software interface;
4.2) if the file is in an online mode, the IID file exists, and the IID file is archived; if the file is in an off-line mode, automatically generating an IID file by using an SCL template file;
and 4.3) updating the value in the memory mapping corresponding to the software interface to the corresponding position in the IID file generated in the last step, namely generating the CID file.
Preferably, the software interface generated in step 3) is a tree structure, tree nodes of the tree structure include all configuration data, and the configuration data includes a data name and a data value, and the data value can be modified.
Preferably, the UDF file is a file in XML format; the SCL template file is a file in an XML format; the IEC file is a txt format file.
Compared with the prior art, the invention has the following beneficial effects:
the invention relates to a realization method of IEC61850 configuration software of bay level equipment of an intelligent substation, which is characterized in that parameters needing to be configured are processed by adopting a method of combining several self-defined files with special formats with a software program, firstly, a UDF file with a special format is self-defined, the file structure is highly matched with a software interface, and the readability is good, so that the addition and deletion of the software interface, the modification of the attributes of the parameters in the interface and the like only need to simply modify the UDF file, software codes do not need to be modified, and the maintenance is easy; secondly, by using the SCL template file, other files such as an ICD file, a CID file, an IID file and the like can share the SCL file, and codes for processing the files can also share the SCL file, so that the redundancy of the codes is reduced, and the execution efficiency is increased; finally, the software is compatible with various order codes and version numbers, has a self-adaptive function, and has strong functions, thereby completely meeting the requirements of one piece of configuration tool software. The IEC61850 configuration software obtained by the method can flexibly configure the IEC61850 parameters of the interlayer protection equipment in the intelligent substation, and has the performances of convenience in maintenance, stability in operation, flexibility in configuration, simplicity, easiness in use, convenience in transplantation and the like.
Furthermore, the self-defined UDF file has a very clear format and strong readability, if software interface contents need to be modified, for example, data contained in an interface or an interface is added, and data contained in the interface or the interface is deleted, only the corresponding part of the file needs to be modified, software codes do not need to be modified, and the maintenance is convenient.
Drawings
FIG. 1 is a flow chart of a method of implementing the present invention;
FIG. 2 is a UDF file made according to the method of the present invention;
FIG. 3 is an IEC document made in accordance with the method of the invention;
FIG. 4 is a flowchart of the process of step 2) of the present invention;
FIG. 5 is a software interface implemented in accordance with the method of the present invention;
FIG. 6 is a software process flow diagram of step 4) of the present invention.
Detailed Description
As shown in fig. 1, the method for implementing IEC61850 configuration software of bay level equipment of an intelligent substation of the present invention is implemented by combining files in several custom formats with software programs. The method specifically comprises the following steps:
1) three special formats of files were made:
1.1) manufacturing a UDF file according to the interface and parameter design requirements of IEC 61850;
1.2) preparing an SCL (substation configuration language) template file based on the attribute of the IED and a configuration file format specified by the IEC61850 standard;
1.3) manufacturing an IEC file according to attributes of LD (logic device) and LN (logic node) in the SCL template file;
2) initializing an equipment pointer and interface parameters according to the attribute, the order code, the version number, the IID file stored in the equipment and the UDF file in the step 1) and generating a pull-down list corresponding to all the parameters;
3) generating a software interface according to the design of the UDF file;
4) clicking and saving after all parameters are configured in the interface, generating a CID file according to the SCL template file and updating all parameter configuration contents to corresponding positions of the CID file;
5) uploading the CID file to the IED and restarting the IED, wherein the IED automatically loads the CID file in the restarting process to obtain new configuration;
wherein, the UDF file is a file in an XML format, and the suffix name is XML; the SCL template file is a file in an XML format, is completely manufactured according to the format required by IEC61850, and has a suffix name of x ml; the IEC file is a txt format file, and the suffix name is txt; the tool for manufacturing the software interface is Visual Studio 2003 and is realized based on MFC by using C + + language.
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The structure of the UDF file is shown in fig. 2.
The UDF file adopts an XML format and is divided into three parts: an enumeration type part, a data definition part and an interface design part. The enumeration type part defines all enumeration types required by the data and an enumeration value and meaning of each type; the data definition part defines all data contained in the software interface and attributes thereof, such as ID, name, type, maximum value, minimum value, default value, unit and the like; the structure of the interface design part is completely the same as the display structure of the software interface, and the interface design part comprises an interface tree structure, interface names and specific data contained in each interface. The self-defined file format is very clear and has strong readability, if the software interface content needs to be modified, such as adding an interface or data contained in the interface, deleting the interface or data contained in the interface, only the corresponding part of the file needs to be modified, software codes do not need to be modified, and the maintenance is convenient.
A total of 17 enumerated data types, 39468 data, and 388 software interfaces are defined in the UDF file in fig. 2.
The structure of the IEC file is shown in FIG. 3.
The IEC file defines attributes of all LNs and DO and DA thereof in the SCL template file, including names, prefixes, state values, default values and the like, and is used for analyzing the SCL template file.
The process flow of opening the software interface is shown in fig. 4.
The method comprises the steps of initializing equipment according to an order code and a version number of the equipment, wherein the equipment comprises the steps of initializing an equipment pointer, creating equipment memory mapping, determining the number of equipment LN, generating a GOOSE sending data set list according to an IEC file, generating a flexible logical operand list and the like.
And secondly, loading all data in the UDF file into a memory, and generating a memory mapping corresponding to the software interface according to the definition of the UDF file.
And thirdly, judging whether the device is in an online mode, if the device is in the online mode, directly reading the IID file from the device by using an FTP protocol, and if the device is in the offline mode, automatically generating the IID file corresponding to the device by using an SCL template file.
And fourthly, analyzing the IID file obtained in the previous step according to the IEC file content, updating the analyzed file content to the corresponding device memory mapping and interface memory mapping, and then storing the value of the interface memory mapping into the MMvalue.
And fifthly, initializing a software interface, loading the content of the MMvalue.
Software interface, as shown in fig. 5. The left side of the interface is a tree structure, and all configuration data contained in the tree node is displayed on the right side after clicking. The data is divided into two columns, the first column displays data names, and the second column displays data values, and the data values can be modified. Four buttons are distributed on the interface and respectively execute the functions of storing configuration data values, restoring data values, setting data default values and resetting data values.
All the configuration data can be saved after the setting is completed, and the processing flow of saving the configuration data is shown in fig. 6.
First, click save button on software interface.
And secondly, updating the numerical value configured on the interface to the device memory mapping and the memory mapping corresponding to the software interface.
Thirdly, if the file is in an online mode and the IID file exists, filing the IID file; and if the method is in an off-line mode, the SCL template file is used for automatically generating the IID file.
And fourthly, updating the value in the memory mapping corresponding to the software interface to the corresponding position in the IID file generated in the last step, namely generating the CID file.
Fifthly, the equipment is restarted after the CID file is uploaded to the equipment, and the equipment automatically analyzes the CID file to obtain the latest configuration.
In a word, the IEC61850 configuration software implementation method of the bay level equipment of the intelligent substation adopts a processing mode of combining files in several special formats with a software program; the file uses a custom format and is used for describing parameter attributes and a software interface in detail, a software program is used for processing internal logic, manufacturing the software interface and generating an SCL file conforming to the IEC61850 standard, and the bay level protection equipment can complete parameter configuration by loading the file; finally, IEC61850 configuration software is developed, IEC61850 parameters of the interlayer protection equipment in the intelligent substation can be flexibly configured, and the intelligent substation interlayer protection software has the advantages of convenience in maintenance, stability in operation, flexibility in configuration, simplicity, easiness in use, convenience in transplantation and the like.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (4)
1. An IEC61850 configuration software implementation method for bay level equipment of an intelligent substation is characterized in that: the method comprises the following steps:
1) three formats of files were made:
manufacturing a UDF file according to the interface and parameter design requirements of IEC 61850; the UDF file is a file in an XML format;
manufacturing an SCL template file according to the attribute of the IED and a configuration file format specified by an IEC61850 standard; the SCL template file is a file in an XML format;
manufacturing an IEC file according to attributes of LD and LN in the SCL template file; the IEC file is a txt format file;
2) initializing an equipment pointer and interface parameters according to the attribute, the order code, the version number, the IID file stored in the equipment and the UDF file in the step 1) and generating a pull-down list corresponding to all the parameters;
3) generating a software interface according to the design of the UDF file;
4) after all parameters are configured in the interface, storing the parameters, generating a CID file according to the SCL template file and updating all parameter configuration contents to corresponding positions of the CID file;
5) uploading the CID file to the IED and restarting the IED, wherein the IED automatically loads the CID file in the restarting process to obtain new configuration;
the step 2) specifically comprises the following steps:
2.1) initializing equipment according to the attribute, the order code and the version number of the equipment, wherein the equipment comprises an equipment initializing pointer, equipment memory mapping creation, equipment LN number determination, GOOSE sending data set list generation according to an IEC file, and flexible logic operand list generation;
2.2) loading all data in the UDF file into a memory, and generating a memory mapping corresponding to a software interface according to the definition of the UDF file;
2.3) judging whether the device is in an online mode, if so, directly reading the IID file from the device by using an FTP protocol, and if not, automatically generating the IID file corresponding to the device by using an SCL template file;
2.4) analyzing the IID file obtained in the last step according to the IEC file content, updating the file content obtained through analysis to the corresponding device memory mapping and interface memory mapping, and then storing the value of the interface memory mapping;
2.5) initializing a software interface, loading the content of the file saved in the previous step, and displaying the software interface after initialization is finished;
the step 4) specifically comprises the following steps:
4.1) updating the value configured on the interface to the device memory mapping and the memory mapping corresponding to the software interface;
4.2) if the file is in an online mode, the IID file exists, and the IID file is archived; if the file is in an off-line mode, automatically generating an IID file by using an SCL template file;
and 4.3) updating the value in the memory mapping corresponding to the software interface to the corresponding position in the IID file generated in the last step, namely generating the CID file.
2. The method for realizing IEC61850 configuration software of bay level equipment of an intelligent substation according to claim 1, wherein the method comprises the following steps: the UDF file is divided into three parts: an enumeration type part, a data definition part and an interface design part; the enumeration type part defines all enumeration types required by the data, and an enumeration value and a meaning of each type; the data definition part defines all data and attributes thereof contained in the software interface; the structure of the interface design part is completely the same as the display structure of the software interface, and the interface design part comprises an interface tree structure, interface names and specific data contained in each interface.
3. The method for realizing IEC61850 configuration software of bay level equipment of an intelligent substation according to claim 1, wherein the method comprises the following steps: and the IEC file defines the attributes of all LNs and DO and DA thereof in the SCL template file and is used for analyzing the SCL template file.
4. The method for realizing IEC61850 configuration software of bay level equipment of an intelligent substation according to claim 1, wherein the method comprises the following steps: the software interface generated in the step 3) is a tree structure, tree nodes of the tree structure contain all configuration data, and the configuration data comprise data names and data values and can modify the data values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610768003.9A CN106371869B (en) | 2016-08-29 | 2016-08-29 | IEC61850 configuration software implementation method for bay level equipment of intelligent substation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610768003.9A CN106371869B (en) | 2016-08-29 | 2016-08-29 | IEC61850 configuration software implementation method for bay level equipment of intelligent substation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106371869A CN106371869A (en) | 2017-02-01 |
CN106371869B true CN106371869B (en) | 2019-12-27 |
Family
ID=57901596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610768003.9A Active CN106371869B (en) | 2016-08-29 | 2016-08-29 | IEC61850 configuration software implementation method for bay level equipment of intelligent substation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371869B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542450B (en) * | 2018-11-08 | 2021-10-01 | 国网河南省电力公司电力科学研究院 | Method and device for realizing intelligent component of process layer of intelligent substation |
CN111026451A (en) * | 2019-10-31 | 2020-04-17 | 许昌许继软件技术有限公司 | Parameter configuration method and configuration tool for transformer substation terminal interval |
CN112104496B (en) * | 2020-09-10 | 2023-06-23 | 中国电力科学研究院有限公司 | Universal substation IED self-discovery and self-configuration method and device based on UPnP |
CN112328323B (en) * | 2020-10-27 | 2023-07-21 | 中国南方电网有限责任公司 | Relay protection device capability description file generation system |
CN112764800A (en) * | 2021-01-11 | 2021-05-07 | 南京汇创电力科技有限公司 | Construction method, device, equipment and storage medium for configuration tool software |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673199A (en) * | 2009-08-10 | 2010-03-17 | 厦门敏讯信息技术股份有限公司 | Terminal parameter configuration server and automatic generating method of software interface thereof |
CN105488305A (en) * | 2016-01-06 | 2016-04-13 | 国网上海市电力公司 | Intelligent substation SCD file configuration method based on graph and template integration |
-
2016
- 2016-08-29 CN CN201610768003.9A patent/CN106371869B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101673199A (en) * | 2009-08-10 | 2010-03-17 | 厦门敏讯信息技术股份有限公司 | Terminal parameter configuration server and automatic generating method of software interface thereof |
CN105488305A (en) * | 2016-01-06 | 2016-04-13 | 国网上海市电力公司 | Intelligent substation SCD file configuration method based on graph and template integration |
Non-Patent Citations (3)
Title |
---|
基于IEC 61850的IED配置器设计与实现;王洪炼 等;《电力系统》;20090531;第28卷(第9期);第36-38页 * |
智能电子设备面向对象的软件设计方法;范瑾 等;《电力系统及其自动化学报》;20150331;第27卷(第3期);全文 * |
采用IEC 6l850的变电站间隔层IED软件设计方案;童晓阳 等;《电气系统自动化》;20060725;第30卷(第14期);摘要,正文第1-3节 * |
Also Published As
Publication number | Publication date |
---|---|
CN106371869A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106371869B (en) | IEC61850 configuration software implementation method for bay level equipment of intelligent substation | |
CN102520899B (en) | Universal cockpit display management system | |
CN109542450B (en) | Method and device for realizing intelligent component of process layer of intelligent substation | |
KR101574524B1 (en) | Method and recording medium for compatibility between iec61850 and opc ua | |
CN114253228B (en) | Industrial equipment object modeling method and device based on digital twin | |
CN112328323B (en) | Relay protection device capability description file generation system | |
CN103914307A (en) | Interactive-interface fast implementation method based on reusable library | |
CN109445384B (en) | Multi-device control system | |
CN103593188A (en) | System and method for managing what-you-see-is-what-you-get menus of instrument | |
Jang et al. | IEC 61850 SCL validation using UML model in modern digital substation | |
CN116108740A (en) | Modeling method and device for power equipment | |
CN115629763A (en) | Target code generation method and NPU instruction display method and device | |
CN104615539A (en) | Measurement parameter processing method and system | |
CN114282029A (en) | Primitive management method and device, electronic equipment and storage medium | |
CN111026726A (en) | Method and system for comparing different versions of SCD file of intelligent substation and storage medium | |
CN112699117A (en) | Data transmission system, data transmission method, device and medium based on Internet of things | |
CN115906749B (en) | Data processing method, device, terminal equipment and storage medium | |
CN111459471B (en) | Information processing method, device and storage medium | |
CN117094284B (en) | Method for generating capability description file of intelligent equipment of transformer substation | |
Thramboulidis et al. | Field device specification for the development of function block oriented engineering support systems | |
CN111580941B (en) | Method for solving insufficient uploading address of wind power plant data through multiple ports | |
CN115081395B (en) | Kubernetes-based visual form and YAML bidirectional conversion method and device | |
CN112949018B (en) | System and method for creating and testing verification of direct-current transmission control and protection platform model | |
US20220019709A1 (en) | Method for updating a description of an automation system | |
Saeid et al. | IEC61850 implementation in localization of power substation automation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |