CN112328323B - Relay protection device capability description file generation system - Google Patents

Relay protection device capability description file generation system Download PDF

Info

Publication number
CN112328323B
CN112328323B CN202011162181.XA CN202011162181A CN112328323B CN 112328323 B CN112328323 B CN 112328323B CN 202011162181 A CN202011162181 A CN 202011162181A CN 112328323 B CN112328323 B CN 112328323B
Authority
CN
China
Prior art keywords
data
relay protection
model file
protection device
matching
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
Application number
CN202011162181.XA
Other languages
Chinese (zh)
Other versions
CN112328323A (en
Inventor
彭业
刘宏君
丁晓兵
徐成斌
黄河
周冬红
张弛
刘千宽
徐鹏
陈旭
梁寿愚
李进
王熊平
苗建国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southern Power Grid Co Ltd
CYG Sunri Co Ltd
Original Assignee
China Southern Power Grid Co Ltd
CYG Sunri Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Southern Power Grid Co Ltd, CYG Sunri Co Ltd filed Critical China Southern Power Grid Co Ltd
Priority to CN202011162181.XA priority Critical patent/CN112328323B/en
Publication of CN112328323A publication Critical patent/CN112328323A/en
Application granted granted Critical
Publication of CN112328323B publication Critical patent/CN112328323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention discloses a relay protection device capability description file generation system, which aims to improve the efficiency of generating ICD files. The device comprises a standard specification offline configuration module, a standard specification online analysis module, a device capability online acquisition module, a device model file creation module and a device model file generation module. Compared with the prior art, the method has the advantages that the actual operation capability of the relay protection device is obtained on line, the standard specification format and the content requirement which need to be based on are obtained through analysis, the model file library of the relay protection device is created and generated according to the standard format requirement of the model file defined by IEC61850-6, and the device capability description file meeting the specification requirement and the engineering practice requirement is generated and output through an SCL generation rule which is designed independently. Meanwhile, the method has the characteristics of flexible configuration and quick response to changing requirements, greatly improves the generation efficiency and the standardization degree, and provides a standardized data base for subsequent equipment configuration and intelligent operation and maintenance.

Description

Relay protection device capability description file generation system
Technical Field
The invention relates to a power relay protection system, in particular to an automatic generation system of a relay protection device capacity description file.
Background
In recent years, the construction of the strong smart grid in China achieves great achievement, and provides powerful guarantee for the development of economy and society. The wide application of the intelligent electronic equipment relay protection device taking IEC61850 standard as the core greatly improves the level of digitalization, networking and intellectualization of the power grid while protecting the safety line for the power grid.
The IEC61850 standard is widely accepted in China by the characteristics of functional perfection and interoperability, the realization of the interoperability and information sharing among intelligent electronic devices is the final purpose of the IEC61850 standard, the core requirement for realizing the interoperability is the unification of an information model and an information exchange mode, and the accurate definition (standardization) of the information model determines the information exchange method to a great extent. Therefore, the information model of the relay protection device based on the IEC61850 standard and the modeling method thereof are the basis for realizing the digitization and the intellectualization of the relay protection device.
The information model of the relay protection device described based on IEC61850 standard is called an ICD file for describing the capability of the relay protection device. The ICD file describes the functions and engineering capabilities of the intelligent electronic device IED, including self-description information of the intelligent electronic device model. ICD files are modeled according to information models provided in IEC61850-7-4 and information parameters and model requirements refined in Q/GDW1396-2012 IEC61850 engineering relay protection application models, and are written according to SCL coding specifications defined in IEC61850-6, and finally a model description file representing the actual capacity of the relay protection device is formed. Relay protection device capability description file.
The capability description file of the relay protection device is used as a core file for realizing the digitization and the intellectualization of the intelligent electronic equipment, and the generation method in the prior art mainly comprises two types: manual writing and tool configuration generation. Manual writing is done by a developer using an XML editing tool such as notepad, xmlspy. Because ICD file structure is complicated, the content is numerous, and a conventional circuit protection intelligent electronic device usually has tens of thousands of lines of codes, millions of bytes, and manual writing is extremely complicated, easy to make mistakes, low in efficiency, needs to have very high professional level, and has high labor cost. And the tool configuration is generated, the model file configuration of the relay protection device is completed on a personal computer PC through an independent tool, and then the ICD file of the relay protection device is generated by the tool. The tool configuration generation has the advantages of avoiding manual writing and modification, having higher efficiency and being difficult to make mistakes, still requiring professional technicians to configure, being incapable of avoiding configuration and human intervention, and still having low efficiency. In addition, the configuration of the intelligent electronic equipment can only be completed offline, so that after the relay protection device is sent to the field instantiation, partial protection functions are required to be switched on and off due to different field operation modes, the ICD file configured offline is not completely always in the capacity of the equipment actually operated on the field, and the situation that the information is inconsistent exists, and the secondary modification is often required to be carried out manually on the field; in addition, under the condition of adopting tool configuration generation, if important basis of writing ICDs, such as revising Q/GDW1396-2012, format and content requirements of the ICDs are finally formed, a developer needs to synchronously upgrade the generation tools, the requirements of revised specifications can be met, but the code of the tools is complicated to modify, the change requirements of the specifications cannot be responded flexibly, ICD files meeting standard specification requirements and accurately expressing the capability of the relay protection device are generated rapidly.
Disclosure of Invention
The invention aims to provide a relay protection device capability description file generation system, which aims to solve the technical problem of improving the efficiency of generating an ICD file.
The invention adopts the following technical scheme: the system for generating the capacity description file of the relay protection device is provided with a standard specification offline configuration module, a standard specification online analysis module, a device capacity online acquisition module, a device model file creation module and a device model file generation module;
the standard specification offline configuration module sets standard specification requirements, file formats and content definitions required by generating the capacity description file of the relay protection device to form a data type template file and a normalized data structure table;
the standard specification online analysis module reads the data type template file and the normalized data structure table, analyzes and extracts data, and forms standard specification template data;
the device capacity online acquisition module acquires online capacity information of the relay protection device from the relay protection device actually configured by engineering to form a function data table of the relay protection device; the online capability information of the relay protection device is the object category, the object number and the object content protected by the relay protection device;
the device model file creation module acquires standard specification template data from the standard specification online analysis module, acquires a function data table from the device capacity online acquisition module and generates a device model file database;
the device model file generation module receives a device model file database according to the DL/T860 substation communication network and the 6 th part of the system: and the definition of the 9.1 th section to the 9.5 th section of the communication configuration description language in the transformer substation related to the intelligent electronic equipment generates a capacity description file of the relay protection device.
The standard specification offline configuration module is arranged on the personal computer, the standard specification online analysis module, the equipment capability online acquisition module, the equipment model file creation module and the equipment model file generation module are arranged on the relay protection device, and the personal computer is in wireless or wired communication connection with the relay protection device.
The standard specification offline configuration module of the invention is based on the DL/T860 substation communication network and System part 6: the format defined in section 9.5 of the in-substation communication configuration description language relating to intelligent electronic devices will be described in sections 7-4 of the DL/T860 substation communication network and system: the basic communication structures of the transformer substation and the feeder equipment are compatible with logical node types and logical node types LNodeType of annex A and annex B of the logical node types and data types in sections 5.1-5.15 of Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and System part 7-3: the data object types DOType, the data attribute types DAType and the enumeration types EnumType of annex C and annex D of the basic communication structure public data class of the transformer substation and the feeder equipment in the section 7.1-7.9 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model form a data type template file for the standard specification on-line analysis module to call;
the standard specification offline configuration module obtains Communication (Communication) configuration from section 6.5 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, obtains logic device LD configuration from section 7.1.3, and obtains logic node LN instantiation configuration from section 7.2 to form a normalized data structure table.
The standard specification online analysis module reads the data type template file, and restores the data type template file into a text of extensible markup language (XML) by using a TinyXml analysis library to form a database table structure with a fixed format;
the standard specification online analysis module reads the standardized data structure table, extracts a physical port PhysConn configuration table, a general object-oriented substation event GOOSE and sampling value SV communication configuration table, a communication Address (Address) configuration table, a communication connection access point ConnectAP configuration table, a subnet communication subnet configuration table, an instantiation device IED configuration table, a server access point configuration table, an instantiation logic device configuration table, an instantiation logic node configuration table, a data set configuration table, a report control block configuration table and a log control block configuration table in the standardized data structure table, and the structure and the content of the extracted standardized data structure table form standardized example configuration.
The device model file creation module forms a device model file database structure according to the standard specification template data and the function data table, and writes content into the device model file database by utilizing the standard specification template data and the function data table to create a tree structure database.
The device model file database structure is tree-shaped, the intelligent electronic equipment IED is a root node of the tree-shaped structure, and the name of the intelligent electronic equipment is a keyword of the root node of the tree-shaped structure;
the root node comprises at least one Server node, and the name of the Server access point is a keyword of the Server node;
the Server node comprises at least one logic device LD node, and the name of the logic device LD is a key word;
the logic device comprises a requisite management logic node zero LLN0, a requisite physical device information logic node LPHD and at least one application function logic node, wherein the names of the management logic node zero, the physical device information logic node and the application function logic node are key words;
the logic node comprises at least one data object DO, and the name of the data object is a key word thereof;
the data object contains at least one data attribute DA, the name of which is a key thereof.
The device model file creation module creates a device model file database of a tree structure, comprising the following steps:
(1) The names of the server access point configuration tables of the standardized data structure tables are used as keywords, the keywords are matched in the device model file database, and if the matching is successful, the next step is carried out; if the matching is unsuccessful, creating a Server object;
(2) The names of logic devices LD in a logic device configuration table of the normalized data structure table are used as keywords, the names are matched in a device model file database, and if the matching is successful, the next step is carried out; if the matching is unsuccessful, creating a logic device LD object, and synchronously creating a necessary logic node, creating a logic node type, creating a necessary data object and necessary attributes of the necessary data object;
(3) Taking the name of a logic node of the object content in the function data table of the relay protection device as a keyword, matching in a device model file database, and entering the next step after successful matching;
matching is unsuccessful, matching is performed in standard specification template data, matching is unsuccessful in standard specification template data, and a logic node type is created;
creating a logic node, and synchronously creating a necessary data object and necessary attributes of the necessary data object under the logic node;
(4) The data object names of the object contents in the function data table of the relay protection device are used as keywords, the matching is successful in the device model file database, and the next step is carried out;
the matching is unsuccessful, a template data object DO is created, and a necessary data object and necessary attributes of the necessary data object are synchronously created;
(5) Using public data class of object content in a function data table of the relay protection device as a key word, matching data attribute in a device model file database, and ending after successful matching;
judging whether the data attribute is a structural body or not if the matching is unsuccessful, and re-entering the flow of the step;
and creating data attributes for the structure body, storing the data attributes in a device model file database, and ending.
The device model file creation module creates a data set DataSet and a control block CB, comprising the following steps:
(1) Judging whether the data set names are empty character strings or not by using the data set names of the object contents in the functional data table of the relay protection device, wherein the character strings are empty, and ending;
the character string is not empty, the character string is matched in a device model file database, the matching is successful, and the next step is carried out;
if the matching is unsuccessful, creating a data set DataSet and a control block CB, storing the data set DataSet and the control block CB in a device model file database, and entering the next step;
(2) The data object names of the object contents in the function data table of the relay protection device are used as keywords, the matching is successfully performed in the data set of the device model file database, and the matching is finished;
judging the number of data object members in the data set of the device model file database, wherein the number of the members is more than 256, copying the data set and the copy control block, and creating the data set members;
creating data set members with the number of members not greater than 256;
and copying the data set and the control block, creating the data set members, storing the created data set members into a device model file database, and ending.
Compared with the prior art, the method has the advantages that the actual operation capability of the relay protection device is obtained on line, the standard specification format and the content requirement which need to be based on are obtained through analysis, the model file library of the relay protection device is created and generated according to the standard format requirement of the model file defined by IEC61850-6, and the device capability description file meeting the specification requirement and the engineering practice requirement is generated and output through an SCL generation rule which is designed independently. Meanwhile, the method has the characteristics of flexible configuration and quick response to changing requirements, greatly improves the generation efficiency and the standardization degree, and provides a standardized data base for subsequent equipment configuration and intelligent operation and maintenance.
Drawings
Fig. 1 is a diagram of a system for generating a capacity description file of a relay protection device according to the present invention.
Fig. 2 is a schematic diagram of the structure of the device model file database.
Fig. 3 is a schematic diagram of chinese of fig. 2.
Fig. 4 is a flow chart of the model file creation of the present invention.
Fig. 5 is a chinese flowchart of fig. 4.
FIG. 6 is a flow chart of the creation of a model file dataset and a control block of the present invention.
Fig. 7 is a chinese flowchart of fig. 6.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. The relay protection device capability description file is a text file describing that intelligent electronic equipment of the substation automation system executes substation automation functions through logic nodes. The generation of the capacity description file of the relay protection device comprises the acquisition of the operation data of the intelligent electronic equipment, the analysis of the standard specification version and the standard specification requirement, the creation of a model file and the output of the model file.
As shown in FIG. 1, the relay protection device capability description file generation system (system) of the invention is provided with a standard specification offline configuration module, a standard specification online analysis module, a device capability online acquisition module, a device model file creation module and a device model file generation module.
The system of the invention is arranged on a personal computer and a relay protection device. The personal computer establishes wireless or wired communication connection with the relay protection device.
The standard specification offline configuration module is arranged on the personal computer and used for performing offline setting of standard specifications, wherein the standard specifications are a logic node type LNodeType, a data object type DOType, a data attribute type DAType and an enumeration type EnumType, a standardized specification configuration file is formed, and the standard specification configuration file is transmitted into a storage device of the relay protection device according to a file transfer protocol FTP.
The standard specification online analysis module, the equipment capability online acquisition module, the equipment model file creation module and the equipment model file generation module are arranged on the relay protection device.
The standard specification offline configuration module sets standard specification requirements, file formats and content definitions required by generating the capacity description file of the relay protection device, and the standard specification requirements, the file formats and the content definitions are used as the basis for creating the model file by the device model file creation module.
The standard specification offline configuration module is implemented by a configurator on a personal computer by using an xmlspy or notpad text editing tool according to the DL/T860 substation communication network and the 6 th part of the system: the format defined in section 9.5 of the in-substation communication configuration description language relating to intelligent electronic devices will be described in sections 7-4 of the DL/T860 substation communication network and system: the basic communication structures of the transformer substation and the feeder equipment are compatible with logical node types and logical node types LNodeType of annex A and annex B of the logical node types and data types in sections 5.1-5.15 of Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and System part 7-3: and the 7.1-7.9 sections of the basic communication structure public data class of the transformer substation and the feeder equipment, namely, the data object types DOType, the data attribute types DATtype and the enumeration types EnumType of annex C and annex D of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, and writing and forming a data type template file DataTypeTemplates. The data type template file is used as an independent text file and stored on a disk of a computer for being called by a standard specification on-line analysis module.
The standard specification offline configuration module completes the setting of the data type template file and also completes the normalized data structure table. The normalized data structure table obtains Communication configuration from section 6.5 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, obtains logic device LD configuration from section 7.1.3, obtains logic node LN instantiation configuration from section 7.2, and forms the normalized data structure table by combining with the actual functions of a relay protection device.
Combining with the actual functions of the relay protection device refers to comparing the standard requirements of section 6.5, section 7.1.3 and section 7.2 of the "Q/GDW 1396-2012 relay protection IEC61850 engineering application model", and obtaining a standardized data structure table according to the following description:
physical port PhysConn configuration table: the configuration requirements for the physical ports in communication include port connection type, port number, interface type, cable type and plug type.
General object-oriented substation event GOOSE and sampling value SV communication configuration table: the configuration requirements for the G OOSE and the SV communication parameters in the communication comprise the communication type, the connection access point, the logic equipment, the control block, the physical address MAC address, the virtual local area network ID number, the virtual local area network priority, the application mark, the maximum allowable data change transmission delay and the heartbeat message time interval.
Communication Address configuration table: the configuration requirements for Address communication parameters in communication comprise an internet protocol Address IP Address, a subnet mask and a gateway.
Communication connection access point connectiap configuration table: the configuration requirement for the connection AP communication parameters in the communication comprises the logic device, the corresponding access point name and the communication subnet.
Subnet communication subnet configuration table: the configuration requirement for the subnet communication parameters in the communication comprises serial numbers, names, descriptions and types.
Instantiate a device IED configuration table: the requirements are configured for the instantiated physical device attributes including name, description, product type, manufacturer, configuration version.
Server access point configuration table: the configuration requirements for the Server and the access point in the IED comprise the name (such as PRS 7K) of the Server, description, whether the Server has a routing function or not, and whether the configuration requirements of the authenticated parameters of the security authentication are supported or not.
Instantiating a logical device configuration table: the configuration requirements of the logic device LD in the server comprise the name (such as PROT) of the logic device LD and the instance description.
Instantiating a logical node configuration table: the configuration requirements for instantiating the logical node LN in the logical device comprise a logical node prefix, a logical node type, a logical node suffix and whether to throw or drop.
Data set configuration table: the requirements are configured for the data set, including the name, description, logical node where the data set resides, data integrator's configuration, and associated control blocks.
Report control block configuration table: configuration requirements for reporting control blocks include the name of the control block, the associated data set, the integrity period, the report identification, the report configuration version, whether to cache, the time of cache, the trigger option, the selection field, the maximum instantiation number.
Log control block configuration table: the configuration requirements for the log control block comprise names, associated data sets, integrity periods, LD where the log is located and log enabling.
The normalized data structure table is stored on a disk of the computer in a text mode and is used by a standard specification on-line analysis module.
The standard specification online analysis module reads the data type template file and the normalized data structure table formed by the standard specification offline configuration module, analyzes and extracts data to form standard specification template data, and stores the standard specification template data into a memory database of the relay protection device for the device model file creation module to use. The standard specification template data is a database table structure and a normalized instance configuration.
The standard specification online analysis module reads the data type template file, and restores (analyzes) the data type template file into a text of extensible markup language (XML) by using a TinyXml analysis library to form a database table structure with a fixed format. The text of XML is a marked electronic file and the computer can understand the information symbols.
The database table structure is as follows: the logical node type LNodeType, the data object type DOType, the data attribute type DATtype and the enumeration type EnumType are database tables of the same hierarchy.
The logical node type LNodeType database table comprises a logical node class name lnClass, a logical node Chinese description desc, a logical node type unique identifier lnID, an intelligent electronic device type iedType and a data object member DO.
The DOType database table contains a common data class name cdc, a data object type unique identifier doID, and a data attribute member DA.
The datatype database table contains a data attribute type unique identifier daID, a basic data attribute BDA.
The EnumType database table contains an enumeration type unique identifier enumtid, an enumeration value enumtval.
The standard specification online analysis module reads the standardized data structure table, extracts a physical port PhysConn configuration table, a general object-oriented substation event GOOSE and sampling value SV communication configuration table, a communication Address configuration table, a communication connection access point ConnectAP configuration table, a subnet communication subnet configuration table, an instantiation device IED configuration table, a server access point configuration table, an instantiation logic device configuration table, an instantiation logic node configuration table, a data set configuration table, a report control block configuration table and a log control block configuration table in the standardized data structure table, displays the structure and the content of the extracted standardized data structure table to a configurator in an interface mode, and accepts the configuration of the content in the standardized data structure table by the configurator to form a standardized example configuration.
The device capacity online acquisition module acquires relay protection device online capacity information from the relay protection device actually configured by engineering to form a function data table of the relay protection device for the device model file creation module to use.
The online capability information of the relay protection device is the object category, the number and the content of the objects protected by the relay protection device. The device capability online acquisition module extracts the protected object types, the object numbers and the object contents from the database of the relay protection device to form a device function data table of the relay protection device, and the device function data table is stored in the database of the relay protection device for the device model file creation module to use.
The object categories are nine categories:
constant value constant class: and the relay protection device protects the fixed value information of the object.
Soft platen constants: the soft pressing plate configuration information for the relay protection device comprises a public soft pressing plate, a functional soft pressing plate, a GOOSE opening soft pressing plate, a GOOSE outlet soft pressing plate and an SV receiving soft pressing plate.
Analog constant class: the relay protection device protects the alternating current analog quantity channel and channel information, namely a sampling analog quantity channel and a calculating analog quantity channel.
Telemetry constant class: telemetry channel and channel information required by relay protection device: a telemetry AC channel, a telemetry DC channel, a telemetry power channel, a telemetry gear channel and a telemetry time scale channel.
Opening into a constant class: opening quantity channel and channel information required by relay protection device: single point remote signaling entry, double electric remote signaling entry and shaping remote signaling entry.
Export constant class: outlet channel and channel information required by relay protection device: a protection trip outlet channel, a remote control trip outlet channel, a signal opening and a standby opening outlet channel.
Alarm event class: alarm information required by the relay protection device: relay protection device alarm, GOOSE communication working condition alarm, SV communication working condition alarm and time setting abnormality alarm.
Self-checking event class: and the device health status information required by the relay protection device. The device health status information is normal, alarms and faults.
The number of objects refers to the number of objects in the object class, such as the number of constant values in the constant value class.
The object content is description of an object, the device capability online or the access module obtains the online object content description of the relay protection device actually configured by engineering, and the object content description is as follows: data channel number, data Chinese description, data object name, common data class and data attribute, data set name and logical node name.
The function data table structure of the relay protection device is as follows:
the device model file creation module acquires standard specification template data from the standard specification online analysis module, acquires a function data table from the device capability online acquisition module, generates a device model file database, and provides the device model file database to the device model file generation module.
First, the device model file creation module forms a device model file database structure (blank device model file database) based on the standard specification template data and the function data table.
As shown in fig. 2 and fig. 3, the device model file database structure is tree-shaped, the intelligent electronic device IED is a root node of the tree structure, one device model file database has only one root node, the name of the intelligent electronic device is a keyword of the root node of the tree structure, the keyword is a unique identification code in the device model file database, and the keyword is a character string which cannot be repeated.
The root node comprises at least one Server node, and the name of the Server access point is a keyword of the Server node.
The Server node comprises at least one logic device LD node, and the name of the logic device LD is a key word.
The logic device comprises a requisite management logic node zero LLN0, a requisite physical device information logic node LPHD and at least one application function logic node (the management logic node zero LLN0, the physical device information logic node LPHD and the application function logic node are collectively called as logic nodes), and the name of the logic node LN is a key word. The necessity means that the logic device exists, and the management logic node zero LLN0 and the physical device information logic node LPHD exist at the same time.
The logical node contains at least one data object DO whose name is its key.
The data object contains at least one data attribute DA whose name is its key.
And then, the device model file creation module writes contents in the device model file database by using the standard specification template data and the function data table to create a tree structure database.
As shown in fig. 4 and fig. 5, the device model file creation module starts a device model file database flow of creating a tree structure this time, and the name of a root node, that is, the name of an intelligent electronic device, is composed of a TEMPLATE and a time string at the current moment, for example, "TEMPLATE20200808143000000", and matches and creates according to keywords, including the following steps:
(1) The names of the server access point configuration tables of the standardized data structure tables are used as keywords, the keywords are matched in the device model file database, and if the matching is successful, the next step is carried out; if the matching is unsuccessful, a Server object, such as a protection integrated automation 7000PRS7K, is created and stored in a device model file database, and then the next step is performed. Successful matching means that the keywords are identical, unsuccessful matching means that the keywords are not identical.
(2) The name of the logic device LD in the instantiation logic device configuration table of the standardized data structure table is used as a keyword, the name is matched in the device model file database, and if the matching is successful, the next step is carried out; if the matching is unsuccessful, creating a logic device LD object, such as protecting PROT, and synchronously creating a necessary logic node, creating a logic node type, creating a necessary data object and necessary attributes of the necessary data object, storing the necessary data object and the necessary attributes of the necessary data object into a device model file database, and then entering the next step.
(3) Taking the name of a logic node of the object content in the function data table of the relay protection device as a keyword, matching in a device model file database, and entering the next step after successful matching;
matching in a device model file database, matching in standard specification template data, creating a logic node type, and storing the logic node type in the device model file database;
and successfully matching in the standard specification template data, creating a logic node LN, synchronously creating the necessary data object under the logic node and the necessary attribute of the necessary data object, storing the necessary data object and the necessary attribute into a device model file database, and entering the next step.
(4) The data object names of the object contents in the function data table of the relay protection device are used as keywords, the matching is successful in the device model file database, and the next step is carried out;
matching in the device model file database is unsuccessful, creating a template data object DO, synchronously creating a necessary data object and necessary attributes of the necessary data object, storing the necessary data object and the necessary attributes into the device model file database, and entering the next step.
(5) Using public data class of object content in a function data table of the relay protection device as a key word, matching data attribute in a device model file database, and ending the creation flow after successful matching;
and matching the data attribute in the device model file database, judging whether the data attribute is a structural body or not, and re-entering the flow of the step. The structure body is characterized in that the data attribute comprises 1-30 member objects.
And judging whether the data attribute is a structural body or not, if not, creating a data attribute DAI, storing the data attribute DAI in the device model file database, and ending the creation flow, namely ending the process of generating the device model file database.
As shown in fig. 6 and 7, the device model file creation module creates a data set DataSet and a control block CB, and the device model file creation module starts a flow of the device model file creation data set and the control block, performs matching and creation according to keywords, and includes the steps of:
(1) Judging whether the data set names are empty character strings or not by using the data set names of the object contents in the functional data table of the relay protection device, wherein the character strings are empty, and ending the creation flow; the empty string means that there is no character, i.e., the character length is 0;
the character string is not empty, the character string is matched in a device model file database, the matching is successful, and the next step is carried out;
matching in a device model file database, wherein the matching is unsuccessful, creating a data set DataSet and a control block CB, storing the data set DataSet and the control block CB in the device model file database, and entering the next step;
(2) The data object names of the object contents in the function data table of the relay protection device are used as keywords, the matching is successfully performed in the data set of the device model file database, and the creation flow is ended;
matching in the data set of the device model file database, judging the number of members of the data objects in the data set of the device model file database, copying the data set and the control block, and creating the data set members, wherein the number of members is more than 256.
Matching in a data set of the device model file database, judging the number of members of data objects in the data set of the device model file database, wherein the number of the members is not more than 256, and directly creating the members of the data set;
and (3) copying the data set and the control block, saving the created data set member in the device model file database, and ending the creation flow.
And the device model file database generated by the device model file creating module is stored in the memory database and is used by the device model file generating module.
The device model file generating module receives the device model file database generated by the device model file creating module according to the DL/T860 substation communication network and the 6 th part of the system: and the definition of the 9.1 th section to the 9.5 th section of the communication configuration description language in the transformer substation related to the intelligent electronic equipment generates a capacity description file of the relay protection device.
The capability description file generation system of the relay protection device solves the problems of low manual modification efficiency, high off-line configuration professional requirement and inconsistent actual operation capability of field equipment of the relay protection device while meeting the actual application requirement and standard specification detection requirement of engineering, greatly improves the quality, the digitalization and the standardization level of the relay protection device, is beneficial to improving the competitiveness, the high-efficiency configuration and the intelligent operation and maintenance level of an intelligent substation, and has very applicable engineering application value. The capability of the relay protection device is obtained on line, so that the generated capability description file of the relay protection device is kept consistent with the actual condition of the relay protection device, the capability of the relay protection device is truly embodied and reflected, and the standard and standard requirements of the standard and standard modification are met through the off-line configuration, and the digital and intelligent foundation is provided for the safe and stable operation of the relay protection device and the design, configuration and operation of an intelligent substation.
The system outputs the capacity description file of the relay protection device according to the following steps:
(1) And (5) analyzing the specification definition configuration file online to obtain modeling specification requirements.
(2) And acquiring the operation capacity of the device on line, and extracting capacity parameters required by modeling.
(3) And integrating the capability parameters and specification requirements required by modeling, and creating and generating a device capability description file data structure according to the model file structure level.
(4) And integrating the generated device capability description file data structure, generating a device capability description file, and completing the generation of the relay protection device capability description file.
The invention has the following advantages: (1) automatically generating without manual intervention: according to the method, the model file is automatically generated by one key on the relay protection device menu, and manual configuration is not needed; the generated file can completely meet the standard requirements and engineering actual needs without manual secondary modification. (2) wide application range, strong standard adaptability: the model file of the relay protection device is determined by two major factors, namely whether the function of the ICD file can faithfully reflect the capability of the relay protection device and whether the standardization of the ICD file meets various standard requirements. The invention can be compatible with various types of relay protection devices and platform types of relay protection devices, such as high-voltage line protection, element protection, low-voltage comprehensive self-protection, measurement and control devices and intelligent components, and compatible with vxWorks platform, linux platform and window platform by acquiring the capacity of the relay protection devices on line; through the realization of the standardized template library, the standard specification can be updated in real time, and the latest requirements of the standard specification are met. And (3) the system occupies small resources, and is safe and reliable: the invention is applied to the relay protection device and operates on the relay protection device. The modules of the invention are independent and do not influence each other before, so that the safety of operation equipment is ensured; meanwhile, a memory management module is adopted, equipment resource management is realized, memory fragmentation is prevented, a log recording module is adopted, error information in the generation process of the model file is tracked and recorded in real time, and quick problem positioning of staff is facilitated.

Claims (7)

1. A relay protection device capability description file generation system is characterized in that: the relay protection device capability description file generation system is provided with a standard specification offline configuration module, a standard specification online analysis module, a device capability online acquisition module, a device model file creation module and a device model file generation module;
the standard specification offline configuration module sets standard specification requirements, file formats and content definitions required by generating the capacity description file of the relay protection device to form a data type template file and a normalized data structure table;
the standard specification online analysis module reads the data type template file and the normalized data structure table, analyzes and extracts data, and forms standard specification template data;
the device capacity online acquisition module acquires online capacity information of the relay protection device from the relay protection device actually configured by engineering to form a function data table of the relay protection device; the online capability information of the relay protection device is the object category, the object number and the object content protected by the relay protection device;
the device model file creation module acquires standard specification template data from the standard specification online analysis module, acquires a function data table from the device capacity online acquisition module and generates a device model file database;
the device model file generation module receives a device model file database according to the DL/T860 substation communication network and the 6 th part of the system: definition of section 9.1 to section 9.5 of communication configuration description language in a transformer substation relevant to intelligent electronic equipment, and generating a relay protection device capacity description file;
the device model file creation module creates a dataset and a control block, comprising the steps of:
step S201, judging whether the data set names are empty character strings or not by using the data set names of the object contents in the function data table of the relay protection device, wherein the character strings are empty, and ending;
the character string is not empty, the character string is matched in a device model file database, the matching is successful, and the next step is carried out;
the matching is unsuccessful, a data set is created, a control block is created, and the data set and the control block are stored in a device model file database to enter the next step;
step S202, data object names of object contents in a function data table of the relay protection device are used as keywords, matching is successfully performed in a data set of a device model file database, and the matching is finished;
judging the number of data object members in the data set of the device model file database, wherein the number of the members is more than 256, copying the data set and the copy control block, and creating the data set members;
creating data set members with the number of members not greater than 256;
and (5) storing the copy data set, the copy control block and the creation data set member into the device model file database, and ending.
2. The relay protection device capability description file generation system of claim 1, wherein: the standard specification offline configuration module is arranged on the personal computer, the standard specification online analysis module, the equipment capacity online acquisition module, the equipment model file creation module and the equipment model file generation module are arranged on the relay protection device, and the personal computer is in wireless or wired communication connection with the relay protection device.
3. The relay protection device capability description file generation system of claim 2, wherein: the standard specification offline configuration module is based on the DL/T860 substation communication network and the 6 th part of the system: the format defined in section 9.5 of the in-substation communication configuration description language relating to intelligent electronic devices will be described in section 7-4 of the DL/T860 substation communication network and systems: the basic communication structures of the transformer substation and the feeder equipment are compatible with logical node types and logical node types LNodeType of annex A and annex B of the logical node types and data types in sections 5.1-5.15 of Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and System part 7-3: the data object types DOType, the data attribute types DAType and the enumeration types EnumType of annex C and annex D of the basic communication structure public data class of the transformer substation and the feeder equipment in the section 7.1-7.9 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model form a data type template file for the standard specification on-line analysis module to call;
the standard specification offline configuration module obtains communication configuration from section 6.5 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, obtains logic device LD configuration from section 7.1.3, obtains logic node LN instantiation configuration from section 7.2, and forms a normalized data structure table.
4. The relay protection device capability description file generation system of claim 3, wherein: the standard specification online analysis module reads a data type template file, and restores the data type template file into a text of an extensible markup language by using a TinyXml analysis library to form a database table structure with a fixed format;
the standard specification online analysis module reads the standardized data structure table, extracts a physical port configuration table, a general object-oriented substation event and sampling value communication configuration table, a communication address configuration table, a communication connection access point configuration table, a subnet communication configuration table, an instantiation device IED configuration table, a server access point configuration table, an instantiation logic device configuration table, an instantiation logic node configuration table, a data set configuration table, a report control block configuration table and a log control block configuration table in the standardized data structure table, and forms standardized example configuration according to the extracted standardized data structure table structure and content.
5. The relay protection device capability description file generation system of claim 4, wherein: the device model file creation module forms a device model file database structure according to the standard specification template data and the function data table, and then writes content in the device model file database by utilizing the standard specification template data and the function data table to create a tree structure database.
6. The relay protection device capability description file generation system of claim 5, wherein: the device model file database structure is tree-shaped, the intelligent electronic equipment is a root node of the tree-shaped structure, and the name of the intelligent electronic equipment is a keyword of the root node of the tree-shaped structure;
the root node comprises at least one server node, and the name of the server access point is a keyword of the server node;
the server node comprises at least one logic device node, and the name of the logic device is a keyword;
the logic device comprises a requisite management logic node zero, a requisite physical device information logic node and at least one application function logic node, wherein the names of the management logic node zero, the physical device information logic node and the application function logic node are key words;
the logical node comprises at least one data object, and the name of the data object is a key word of the data object;
the data object contains at least one data attribute, and the name of the data attribute is a key word thereof.
7. The relay protection device capability description file generation system of claim 6, wherein: the device model file creation module creates a device model file database of a tree structure, comprising the steps of:
step S101, using the name of a server access point configuration table of a normalized data structure table as a keyword, matching in a device model file database, and entering the next step if the matching is successful; if the matching is unsuccessful, creating a server object;
step S102, using the names of the logic devices in the logic device configuration table of the normalized data structure table as keywords, matching in a device model file database, and entering the next step if the matching is successful; if the matching is unsuccessful, creating a logic device object, and synchronously creating a necessary logic node, creating a logic node type, creating a necessary data object and necessary attributes of the necessary data object;
step S103, using the logical node name of the object content in the function data table of the relay protection device as a keyword, matching in a device model file database, and entering the next step after successful matching;
matching is unsuccessful, matching is performed in standard specification template data, matching is unsuccessful in standard specification template data, and a logic node type is created;
creating a logic node, and synchronously creating a necessary data object and necessary attributes of the necessary data object under the logic node;
step S104, using the data object names of the object contents in the function data table of the relay protection device as keywords, matching in the device model file database, and entering the next step after successful matching;
the matching is unsuccessful, a template data object is created, and the necessary data object and the necessary attribute of the necessary data object are synchronously created;
step S105, using public data class of object content in a function data table of the relay protection device as a keyword, matching data attribute in a device model file database, and ending after successful matching;
judging whether the data attribute is a structural body or not if the matching is unsuccessful, and re-entering the flow of the step;
and (5) creating data attributes for the structure body, storing the data attributes in a device model file database, and ending.
CN202011162181.XA 2020-10-27 2020-10-27 Relay protection device capability description file generation system Active CN112328323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011162181.XA CN112328323B (en) 2020-10-27 2020-10-27 Relay protection device capability description file generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011162181.XA CN112328323B (en) 2020-10-27 2020-10-27 Relay protection device capability description file generation system

Publications (2)

Publication Number Publication Date
CN112328323A CN112328323A (en) 2021-02-05
CN112328323B true CN112328323B (en) 2023-07-21

Family

ID=74312024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011162181.XA Active CN112328323B (en) 2020-10-27 2020-10-27 Relay protection device capability description file generation system

Country Status (1)

Country Link
CN (1) CN112328323B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800124B (en) * 2021-04-15 2021-09-10 成都赢瑞科技有限公司 Computer aided design model integration system and method based on interface control file
CN113515866A (en) * 2021-07-27 2021-10-19 南京国电南自电网自动化有限公司 Modeling method and device of relay protection device
CN117094284B (en) * 2023-10-17 2024-01-30 东方电子股份有限公司 Method for generating capability description file of intelligent equipment of transformer substation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646112A (en) * 2012-02-17 2012-08-22 南京南瑞继保电气有限公司 Visual modeling method for capability description file of direct-current protection control device
JP2015204112A (en) * 2014-04-11 2015-11-16 ゼネラル・エレクトリック・カンパニイ System and method for automated substation design and configuration
CN105184189A (en) * 2015-08-26 2015-12-23 国家电网公司 Online control and management system for intelligent substation SCD file
CN106371869A (en) * 2016-08-29 2017-02-01 西电通用电气自动化有限公司 Realizing method for IEC61850 configuration software of compartment equipment of intelligent substation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589866B2 (en) * 2007-08-29 2013-11-19 Ricoh Company, Ltd. Automatically generating capability-based computer peripheral device drivers
US10078316B2 (en) * 2015-09-02 2018-09-18 Honeywell International Inc. Pre-configuration and integration of IEDs in substation automation systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646112A (en) * 2012-02-17 2012-08-22 南京南瑞继保电气有限公司 Visual modeling method for capability description file of direct-current protection control device
JP2015204112A (en) * 2014-04-11 2015-11-16 ゼネラル・エレクトリック・カンパニイ System and method for automated substation design and configuration
CN105184189A (en) * 2015-08-26 2015-12-23 国家电网公司 Online control and management system for intelligent substation SCD file
CN106371869A (en) * 2016-08-29 2017-02-01 西电通用电气自动化有限公司 Realizing method for IEC61850 configuration software of compartment equipment of intelligent substation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ICD模型文件图形化配置形成与处理方案;陈宏君等;《智能电网》;20151110(第11期);第28-34页 *
智能变电站SCD/ICD标准化检验方法的研究;杜丽艳等;《华北电力技术》;20160625(第06期);第32-36页 *

Also Published As

Publication number Publication date
CN112328323A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN112328323B (en) Relay protection device capability description file generation system
CN101706773B (en) Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
CN102929911B (en) Substation and scheduling station method of integrated modeling
CN104699801B (en) A kind of method and device of secondary device associated configuration
CN104133953B (en) Intelligent substation secondary design system
CN104135069B (en) Method for configuring operating parameters of secondary equipment of intelligent substation
CN105354220B (en) A kind of application process of intelligent substation IED equipment user's custom profiles
CN104360844B (en) Protocol conversion server and ATS systems based on OPC UA standards
CN104123271B (en) Intelligent substation secondary design system based on Excel
CN104483842B (en) One kind regulation and control one automation main website comparison method
CN105207366B (en) Distribution terminal plug and play model configuration tool and its implementation based on IEC61850
CN108549650A (en) A kind of intelligent substation anti-misoperation locking logic rules source configuration method and system
CN106355305B (en) decoupling method and device for SCD model information section of intelligent substation
CN110766263B (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN106371869B (en) IEC61850 configuration software implementation method for bay level equipment of intelligent substation
CN106021203A (en) Intelligent substation misoperation-preventive locking logic imaging expressing method
CN106991482B (en) Intelligent substation IED (intelligent electronic device) interchange method and device
CN106528961A (en) Method for automatically generating secondary equipment associating configuration based on system description
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN111275210B (en) Method and device for sharing account information of auxiliary equipment of transformer substation
CN105243116A (en) Automatic generation method for electronic device capability description file of intelligent substation
CN111340253B (en) Analysis method and system for main network maintenance application form
CN105868410A (en) Model-driven intelligent SCD (substation configuration description) file and CIM/E (common information model/efficiency) file conversion tool and method
CN113553728A (en) Method and system for generating intelligent substation station control layer application system model
Li et al. Research on designing methods of the secondary system in digital substation

Legal Events

Date Code Title Description
PB01 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