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

Relay protection device capability description file generation system Download PDF

Info

Publication number
CN112328323A
CN112328323A CN202011162181.XA CN202011162181A CN112328323A CN 112328323 A CN112328323 A CN 112328323A CN 202011162181 A CN202011162181 A CN 202011162181A CN 112328323 A CN112328323 A CN 112328323A
Authority
CN
China
Prior art keywords
data
relay protection
matching
model file
protection device
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.)
Granted
Application number
CN202011162181.XA
Other languages
Chinese (zh)
Other versions
CN112328323B (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

Images

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Water Supply & Treatment (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Human Resources & Organizations (AREA)
  • Public Health (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a relay protection device capability description file generation system, which aims to improve the ICD file generation efficiency. The 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. Compared with the prior art, the method has the advantages that the actual operation capacity of the relay protection device is obtained on line, the standard format and the content requirement which need to be met are analyzed and obtained, 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 capacity description file meeting the standard requirement and the engineering practice requirement is generated and output through the SCL generation rule which is designed autonomously. Meanwhile, the method has the characteristics of flexible configuration and quick response to change 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 capability description file.
Background
In recent years, the strong smart grid construction in China has made great achievements, and powerful guarantee is provided for the development of the economic society. The intelligent electronic equipment relay protection device taking the IEC61850 standard as a core is widely applied, so that the digitization, networking and intelligence levels of a power grid are greatly improved while the power grid guards a safety defense line.
The IEC61850 standard is widely accepted in China due to the characteristics of functional perfection and interoperability, the realization of the interoperation and information sharing among intelligent electronic devices is the final purpose of the IEC61850 standard, the core requirement for realizing the interoperation is the unification of an information model and an information exchange mode, and an information exchange method is determined to a great extent by accurately defining (standardizing) the information model. Therefore, the information model of the relay protection device based on the IEC61850 standard and the modeling method thereof are the foundation for realizing interoperability and digitalization and intellectualization of the relay protection device.
An information model of the relay protection device described based on the IEC61850 standard is called an ICD (interface control document) file for describing the capability of the relay protection device. The ICD file describes the functional and engineering capabilities of the IED, including self-describing information of the intelligent electronic device model. The ICD file is 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 model, and is compiled according to SCL coding specifications defined in IEC61850-6, and finally a model description file for representing the actual capacity of the relay protection device is formed: and (5) a relay protection device capability description file.
The relay protection device capability description file is used as a core file for realizing digitization and intellectualization of intelligent electronic equipment, and the generation methods in the prior art mainly comprise two types: manual authoring and tool configuration generation. And manually writing by using an XML editing tool such as notepad and xmlspy by a developer. Because the ICD file has a complex structure and a plurality of contents, a conventional intelligent electronic device for line protection usually has tens of thousands of lines of codes and millions of bytes, and the manual writing is extremely complex, easy to make mistakes and low in efficiency, and needs to have a high professional level and high labor cost. And (4) tool configuration generation, namely, completing model file configuration of the relay protection device on a Personal Computer (PC) through an independent tool, and generating an ICD (interface control document) file of the relay protection device by the tool. The tool configuration generation has the advantages of no need of manual writing and modification, high efficiency, difficulty in error, configuration by professional technicians, no need of configuration and manual intervention and low efficiency. Moreover, since the configuration of the intelligent electronic device can only be completed offline, after the relay protection device is sent to a field for instantiation, partial protection functions need to be switched off due to different field operation modes, so that the ICD file configured offline is not completely consistent with the capability of the device actually operated on the field, information is inconsistent, and secondary modification is often performed manually on the field; in addition, under the condition of generating by adopting tool configuration, if important basis for writing ICD, such as revision of Q/GDW1396-2012, affects format and content requirements of finally formed ICD, developers need to synchronously upgrade the generating tool to meet the requirements of revised specifications, but the code of the tool is complex to modify, and cannot flexibly respond to the change requirements of the specifications, so that ICD files meeting the requirements of the standard specifications and accurately expressing the capacity of the relay protection device are rapidly generated.
Disclosure of Invention
The invention aims to provide a system for generating a capability description file of a relay protection device, and aims to improve the ICD file generation efficiency.
The invention adopts the following technical scheme: a 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 and file formats and content definitions required by the relay protection device capacity description file generation, and forms 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, and performs analysis and data extraction to form 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 in engineering to form a functional data table of the relay protection device; the online capacity information of the relay protection device is the object type, the object number and the object content protected by the relay protection device;
the device model file creating module acquires standard specification template data from the standard specification online analyzing module, acquires a function data table from the device capacity online acquiring module and generates a device model file database;
the device model file generation module receives a device model file database, and according to the part 6 of the DL/T860 transformer substation communication network and system: and (3) defining sections 9.1 to 9.5 of communication configuration description language in the transformer substation related to the intelligent electronic equipment to generate a relay protection device capacity description file.
The standard specification offline configuration module is arranged on a 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 a 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 DL/T860 substation communication network and system part 6: the format defined in section 9.5 of the intra-substation communication configuration description language relating to intelligent electronic devices, section 7-4 of the DL/T860 substation communication network and system: section 5.1-5.15 of the basic communication structure compatibility logic node class and data class of the transformer substation and the feeder equipment, annex A and logic node type LNodeType of annex B of the Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and system parts 7-3: section 7.1-7.9 of the common data class of the basic communication structure of the transformer substation and the feeder equipment, appendix C of the Q/GDW1396-2012 relay protection IEC61850 engineering application model and data object type DOType, data attribute type DAType and enumeration type EnumType of appendix D form a data type template file for a standard specification online analysis module to call;
the standard specification offline configuration module acquires Communication (Communication) configuration from section 6.5 of a Q/GDW1396-2012 relay protection IEC61850 engineering application model, acquires logic device LD configuration from section 7.1.3, and acquires logic node LN instantiation configuration from section 7.2 to form a normalized data structure table.
The standard specification online analysis module reads a 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 a normalized 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 SubNetwork 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 normalized data structure table, and extracts the structure and content of the normalized data structure table to form normalized instance configuration.
The device model file creating module forms a device model file database structure according to the standard template data and the function data table, and writes contents in the device model file database by using the standard template data and the function data table to create a tree structure database.
The device model file database structure is in a tree shape, the intelligent electronic device IED is a root node of the tree structure, and the name of the intelligent electronic device is a keyword of the root node of the tree structure;
the root node comprises at least one Server node, and the name of a 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 keyword thereof;
the logical device comprises a necessary management logical node zero LLN0, a necessary physical device information logical node LPHD and at least one application function logical node, and the names of the management logical node zero, the physical device information logical node and the application function logical node are keywords of the logical node;
the logical node comprises at least one data object DO, and the name of the data object is a key word of the data object DO;
the data object contains at least one data attribute DA, and the name of the data attribute is a keyword of the data attribute.
The invention relates to a device model file creating module for creating a tree-structured device model file database, which comprises the following steps:
(1) matching in a device model file database by taking the name of a server access point configuration table of the normalized data structure table as a keyword, and entering the next step if the matching is successful; if the matching is unsuccessful, a Server object is created;
(2) matching in a device model file database by taking the name of a logic device LD in a logic device configuration table of a normalized data structure table as a keyword, and entering the next step if the matching is successful; if the matching is unsuccessful, creating a logic device LD object, and synchronously creating a necessary logic node, a logic node type, a necessary data object and necessary attributes of the necessary data object;
(3) matching in a device model file database by using the name of a logical node of object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
matching unsuccessfully, matching in the standard specification template data, unsuccessfully matching in the standard specification template data, and creating a logic node type;
creating a logic node, and synchronously creating a necessary data object under the logic node and necessary attributes of the necessary data object;
(4) matching in a device model file database by taking the data object name of the object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
if 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) matching data attributes in a device model file database by taking the public data class of the object content in the functional data table of the relay protection device as a keyword, and finishing the matching if the matching is successful;
if the matching is unsuccessful, judging whether the data attribute is a structural body, if so, re-entering the flow of the step;
if not, data attributes are created, saved in the device model file database, and the process is terminated.
The device model file creating module of the invention creates a data set DataSet and a control block CB, and comprises the following steps:
(1) judging whether the data set name is an empty character string or not by using the data set name of the object content in the functional data table of the relay protection device, wherein the character string is empty, and ending;
if the character string is not empty, matching in the device model file database, and entering the next step if the matching is successful;
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) matching in a data set of a device model file database by taking the data object name of the object content in a functional data table of the relay protection device as a keyword, and finishing the matching if the matching is successful;
if the matching is unsuccessful, judging the number of members of the data objects 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 members of the data set;
the number of members is not more than 256, and a data set member is created;
and copying the data set and the control block, creating a data set member, storing the data set member in the device model file database, and ending.
Compared with the prior art, the method has the advantages that the actual operation capacity of the relay protection device is obtained on line, the standard format and the content requirement which need to be met are analyzed and obtained, 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 capacity description file meeting the standard requirement and the engineering practice requirement is generated and output through the SCL generation rule which is designed autonomously. Meanwhile, the method has the characteristics of flexible configuration and quick response to change 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 block diagram of a relay protection device capability description file generation system according to the present invention.
Fig. 2 is a schematic diagram of the structure of the device model file database.
Fig. 3 is a chinese schematic of fig. 2.
FIG. 4 is a model file creation flow diagram of the present invention.
FIG. 5 is the Chinese flow diagram of FIG. 4.
FIG. 6 is a flow diagram of the model file dataset and control block creation of the present invention.
FIG. 7 is the Chinese flow diagram of FIG. 6.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. The relay protection device capability description file is a text file describing that the intelligent electronic equipment of the substation automation system executes the substation automation function through the logic node. The generation of the relay protection device capability description file 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 system for generating a capability description file of a relay protection device (system) of the present invention includes 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 is in wireless or wired communication connection with the relay protection device.
The standard specification offline configuration module is arranged on a personal computer and used for performing standard specification offline setting, the standard specification is logic node type LNodeType, data object type DOType, data attribute type DAType and enumeration type EnumType, a standardized specification configuration file is formed, and the standardized 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 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 standard specification offline configuration module sets standard specification requirements and file format and content definitions required by the relay protection device capacity description file generation, and the standard specification requirements and the file format and content definitions are used as the basis for the device model file creation module to create the model file.
The standard specification offline configuration module is implemented by configuration personnel on a personal computer by using an xmlspy or statepad text editing tool according to DL/T860 substation communication network and system part 6: the format defined in section 9.5 of the intra-substation communication configuration description language relating to intelligent electronic devices, section 7-4 of the DL/T860 substation communication network and system: section 5.1-5.15 of the basic communication structure compatibility logic node class and data class of the transformer substation and the feeder equipment, annex A and logic node type LNodeType of annex B of the Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and system parts 7-3: section 7.1-7.9 of the common data class of the basic communication structure of the transformer substation and the feeder equipment, data object type DOType, data attribute type DAType and enumeration type EnumType of appendix C and appendix D of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, and compiling to form a data type template file DataTypetemplates. The data type template file is used as an independent text file and stored on a magnetic disk of a computer for being called by a standard specification online analysis module.
The standard off-line configuration module completes the setting of the data type template file and also completes the normalized data structure table. The standardized data structure table is obtained from section 6.5 of a Q/GDW1396-2012 relay protection IEC61850 engineering application model to Communication configuration, section 7.1.3 to logic device LD configuration, and section 7.2 to logic node instantiation LN configuration, and the standardized data structure table is formed by combining with the actual functions of the relay protection device.
The combination with the actual functions of the relay protection device refers to that the protection and safety automatic control functions of the relay protection device are compared with the standard requirements of section 6.5, section 7.1.3 and section 7.2 of the Q/GDW1396-2012 relay protection IEC61850 engineering application model, and a standardized data structure table is obtained 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.
A general object-oriented substation event GOOSE and sampling value SV communication configuration table: the configuration requirements for communication parameters of the G OOSE and the SV in communication comprise communication types, the affiliated connection access points, the affiliated logic devices, the affiliated control blocks, physical address MAC addresses, virtual local area network ID numbers, virtual local area network priorities, application marks, maximum allowable data change sending delay and heartbeat message time intervals.
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 connectictap configuration table: the configuration requirements for the Connect AP communication parameters in communication include the belonged logic device, the corresponding access point name and the belonged communication subnet.
Subnet communication subnet configuration table: the configuration requirements of the sub network communication parameters in communication comprise sequence numbers, names, descriptions and types.
Instantiating a device IED configuration Table: the configuration requirements for the instantiated physical device attributes include 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: PRS7K) of the Server, description, whether the Server has a routing function, and whether the configuration requirements for the authenticated parameters of security authentication are supported.
Instantiating a logical device configuration table: the configuration requirements for the logic device LD in the server include the name (e.g., PROT) and instance description of the logic device LD.
Instantiating a logical node configuration table: the configuration requirements for the instantiated logical node LN in the logical device include logical node prefix, logical node type, logical node suffix and whether to commit or not.
Data set configuration table: the data set configuration requirements comprise the name, description, the located logic node, data integration member configuration and the associated control block of the data set.
Report control block configuration table: the configuration requirements for reporting the control block comprise the name of the control block, the associated data set, the integrity period, the report identification, the report configuration version, whether to cache, the caching time, the triggering option, the selection field and the maximum instantiation number.
Log control block configuration table: the configuration requirements for the log control block include name, associated data set, integrity period, LD where the log is located, and log enable.
The normalized data structure table is stored on a magnetic disk of a computer in a text mode and is used by a standard normalized online analysis module.
And 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 the data to form standard specification template data, and stores the standard specification template data in a memory database of the relay protection device for the device model file creation module to use. The standard specification template data is configured for a database table structure and a normalized instance.
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 tagged electronic file, a symbol of information that a computer can understand.
The database table structure is: the logical node type LNodeType, the data object type DOType, the data attribute type DAType and the enumeration type EnumType are database tables of the same hierarchy.
The logical node type LNodeType database table comprises a logical node type 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 public data class name cdc, a data object type uniqueness identifier DoID, and a contained data attribute member DA.
The DAType database table contains a data attribute type unique identifier daID, a basic data attribute BDA.
The EnumType database table contains enumeration type unique identifiers (enumID) and enumeration values (EnumVal).
The standard specification online analysis module reads a normalized data structure table, extracts a physical port PhysConn configuration table, a transformer substation event GOOSE and sampling value SV communication configuration table facing a general object, a communication Address Address configuration table, a communication connection access point ConnectAP configuration table, a subnet communication SubNetwork 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 normalized data structure table, displays the structure and the content of the extracted normalized data structure table to a configuration worker in an interface mode, receives the setting of the content in the normalized data structure table by the configuration worker, and forms normalized instance configuration.
The device capacity online acquisition module acquires online capacity information of the relay protection device from the relay protection device actually configured in the engineering to form a functional data table of the relay protection device for the device model file creation module to use.
The online capacity information of the relay protection device comprises the object type, the object number and the object content protected by the relay protection device. The device capacity online acquisition module extracts the protected object types, object numbers and object contents from a 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 and used by the device model file creation module.
The object classes are the following nine classes:
constant value constant class: and the relay protection device protects the fixed value information of the object.
Soft platen constant class: the configuration information of the soft pressing plate of 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 is used for protecting the alternating current analog quantity channel and the channel information, and is a sampling analog quantity channel and a calculating analog quantity channel.
Telemetry constant class: telemetering channels and channel information required by the relay protection device are as follows: the system comprises a telemetering alternating current channel, a telemetering direct current channel, a telemetering electrical degree channel, a telemetering gear channel and a telemetering time mark channel.
Open into constant class: the input quantity channel and channel information required by the relay protection device are as follows: single-point telecommunication switching-in, double-electric telecommunication switching-in and shaping telecommunication switching-in.
Export constant class: the exit channel and channel information required by the relay protection device are as follows: the protection tripping outlet channel, the remote control tripping outlet channel and the signal outlet and standby outlet channels.
Alarm event class: warning information required by the relay protection device: the method comprises the following steps of relay protection device warning, GOOSE communication working condition warning, SV communication working condition warning and time synchronization abnormity warning.
Self-test event class: device health information required by the relay protection device. The device health information is normal, alarm and fault.
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 the description of an object, the device capacity online or acquisition module acquires the online object content description from the relay protection device actually configured in the engineering, and the object content description is as follows: data channel number, data Chinese description, data object name, public data class and its data attribute, data set name and logical node name.
The functional data table structure of the relay protection device is as follows:
Figure BDA0002744703750000131
Figure BDA0002744703750000141
the device model file creating module acquires standard specification template data from the standard specification online analyzing module, acquires a function data table from the device capacity online acquiring module, generates a device model file database and provides the device model file database for the device model file generating 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 3, the device model file database structure is a tree, 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, and the keyword is a unique identification code in the device model file database and is a non-repetitive character string.
The root node contains at least one Server node, and the name of the Server access point is a key word of the Server node.
The Server node comprises at least one logic device LD node, and the name of the logic device LD is the key word thereof.
The logical device comprises a necessary management logical node zero LLN0, a necessary physical device information logical node LPHD and at least one application function logical node (the management logical node zero LLN0, the physical device information logical node LPHD and the application function logical node are collectively called logical nodes), and the name of the logical node LN is a key word thereof. The mandatory means that a logical device exists, and a management logical node LLN0 and a physical device information logical node LPHD exist at the same time.
The logical node contains at least one data object DO, the name of which is its key.
The data object contains at least one data attribute DA, and the name of the data attribute is a keyword of the data attribute.
Then, the device model file creating module writes contents in the device model file database by using the standard specification template data and the function data table, and creates a tree structure database.
As shown in fig. 4 and 5, the device model file creating module starts a device model file database process for creating a tree structure this time, where the name of the root node, that is, the name of the intelligent electronic device, is composed of a TEMPLATE templet and a time string at the current time, such as "TEMPLATE 20200808143000000", and performs matching and creation according to keywords, and includes the following steps:
(1) matching in a device model file database by taking the name of a server access point configuration table of the normalized data structure table as a keyword, and entering the next step if the matching is successful; if the matching is unsuccessful, a Server object is created, such as the protection integrated automation 7000PRS7K, and saved to the device model file database, and the next step is entered. Successful matching means that the keywords are completely the same, and unsuccessful matching means that the keywords are not completely the same.
(2) Matching in a device model file database by taking the name of a logic device LD in an instantiation logic device configuration table of a normalized data structure table as a keyword, and entering the next step if matching is successful; if the matching is not successful, a logic device LD object is created, such as protection PROT, and necessary logic nodes, types of the logic nodes, necessary data objects and necessary attributes of the necessary data objects are created synchronously, stored in a device model file database, and then the next step is carried out.
(3) Matching in a device model file database by using the name of a logical node of object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
matching in the device model file database, wherein the matching is unsuccessful, matching in the standard specification template data, and the matching is unsuccessful in the 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 template data, creating a logic node LN, synchronously creating a necessary data object under the logic node and necessary attributes of the necessary data object, storing the necessary data object and the necessary attributes in an apparatus model file database, and entering the next step.
(4) Matching in a device model file database by taking the data object name of the object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
and matching in the device model file database, if the matching 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 in the device model file database, and entering the next step.
(5) Matching data attributes in a device model file database by using a public data class of object contents in a functional data table of the relay protection device as a keyword, wherein the matching is successful, and the creating process is finished;
and matching the data attributes in the device model file database, judging whether the data attributes are structural bodies if the data attributes are unsuccessful, and re-entering the flow of the step if the data attributes are structural bodies. The structure is a data attribute containing 1-30 member objects.
And judging whether the data attribute is a structural body or not, creating a data attribute DAI, storing the data attribute DAI into the device model file database, and ending the creation process, namely ending the process of generating the device model file database.
As shown in fig. 6 and 7, the device model file creating module creates a data set DataSet and a control block CB, and the device model file creating module starts a device model file creating data set and control block flow, and performs matching and creating according to keywords, including the following steps:
(1) judging whether the data set name is an empty character string or not by using the data set name of the object content in the functional data table of the relay protection device, wherein the character string is empty, and ending the creating process; an empty string means that there is no character, i.e., the character length is 0;
if the character string is not empty, matching in the device model file database, and entering the next step if the matching is successful;
matching in the device model file database, 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 the device model file database, and entering the next step;
(2) the data object name of the object content in the functional data table of the relay protection device is used as a keyword, the data object name is matched in a data set of a device model file database, the matching is successful, and the creating process is finished;
and matching in the data set of the device model file database, judging the number of the members of the data objects in the data set of the device model file database, wherein the number of the members is more than 256, copying the data set, copying the control block, and creating the members of the data set.
Matching in the 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 copying the data set, copying the control block, creating a data set member, storing the data set member in the device model file database, and ending the creating process.
And the device model file database generated by the device model file creating module is stored in the memory database and used by the device model file generating module.
The device model file generation module receives the device model file database generated by the device model file creation module, and according to the part 6 of the DL/T860 transformer substation communication network and system: and (3) defining sections 9.1 to 9.5 of communication configuration description language in the transformer substation related to the intelligent electronic equipment to generate a relay protection device capacity description file.
According to the capacity description file generation system of the relay protection device, the generated capacity description file of the relay protection device meets the actual engineering application requirements and the standard specification detection requirements, meanwhile, the problems that the capacity description file of the relay protection device is low in manual modification efficiency, high in offline configuration professional requirements and inconsistent with the actual operation capacity of field equipment are solved, the quality, the digitization and the standardization level of the relay protection device are greatly improved, the competitiveness of the relay protection device is improved, the high-efficiency configuration and the intelligent operation and maintenance level of an intelligent substation are improved, and the capacity description file generation system has a very applicable engineering application value. The capacity of the relay protection device can be obtained on line, the generated capacity description file of the relay protection device can be kept consistent with the actual situation of the relay protection device, the capacity of the relay protection device is really embodied and reflected, the standard change and the generated model file standardization and standardization requirements are quickly responded through the off-line configuration required by the standard specification, and a digital and intelligent basis 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 of the invention outputs the capability description file of the relay protection device according to the following steps:
(1) and (4) analyzing the specification definition configuration file on line to obtain the modeling specification requirement.
(2) And (4) acquiring the running capability of the device on line, and extracting capability parameters required by modeling.
(3) And integrating capability parameters and specification requirements required by modeling, and creating and generating a device capability description file data structure according to the structural hierarchy of the model file.
(4) And integrating the generated device capability description file data structure to generate a device capability description file, and finishing the generation of the relay protection device capability description file.
The invention has the following advantages: (1) automatic generation without manual intervention: according to the invention, 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 requirement and the actual engineering requirement without manual secondary modification. (2) The application range is wide, the standard adaptability is strong: the model file of the relay protection device is determined by two major factors, namely whether the function of the ICD file can truly reflect the capability of the relay protection device or not, and whether the ICD file is standardized and meets various standard requirements or not. The invention can be compatible with various relay protection device types and platform types of the relay protection device, such as high-voltage line protection, element protection, low-voltage comprehensive self-protection, measurement and control devices and intelligent components, and is compatible with a vxWorks platform, a Linux platform and a window platform; 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 can be met. (3) The system occupies small resources and is safe and reliable: the invention is applied to a relay protection device and operates on the relay protection device. The modules of the invention are mutually independent and do not influence each other, thus ensuring the safety of the running equipment; meanwhile, a memory management module is adopted, equipment resource management is realized, memory fragmentation is prevented, error information in the generation process of the model file is tracked and recorded in real time by adopting a log recording module, and the quick problem location of workers is helped.

Claims (8)

1. A relay protection device capability description file generation system is characterized in that: the relay protection device capacity description file generation system 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 and file formats and content definitions required by the relay protection device capacity description file generation, and forms 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, and performs analysis and data extraction to form 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 in engineering to form a functional data table of the relay protection device; the online capacity information of the relay protection device is the object type, the object number and the object content protected by the relay protection device;
the device model file creating module acquires standard specification template data from the standard specification online analyzing module, acquires a function data table from the device capacity online acquiring module and generates a device model file database;
the device model file generation module receives a device model file database, and according to the part 6 of the DL/T860 transformer substation communication network and system: and (3) defining sections 9.1 to 9.5 of communication configuration description language in the transformer substation related to the intelligent electronic equipment to generate a relay protection device capacity description file.
2. The relay protection device capability description file generation system according to claim 1, characterized in that: the standard specification offline configuration module is arranged on a 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 according to claim 2, characterized in that: the standard specification offline configuration module is according to DL/T860 substation communication network and system part 6: the format defined in section 9.5 of the intra-substation communication configuration description language relating to intelligent electronic devices, section 7-4 of the DL/T860 substation communication network and system: section 5.1-5.15 of the basic communication structure compatibility logic node class and data class of the transformer substation and the feeder equipment, annex A and logic node type LNodeType of annex B of the Q/GDW1396-2012 relay protection IEC61850 engineering application model; DL/T860 substation communication network and system parts 7-3: section 7.1-7.9 of the common data class of the basic communication structure of the transformer substation and the feeder equipment, appendix C of the Q/GDW1396-2012 relay protection IEC61850 engineering application model and data object type DOType, data attribute type DAType and enumeration type EnumType of appendix D form a data type template file for a standard specification online analysis module to call;
the standard specification offline configuration module acquires Communication (Communication) configuration from section 6.5 of a Q/GDW1396-2012 relay protection IEC61850 engineering application model, acquires logic device LD configuration from section 7.1.3, and acquires logic node LN instantiation configuration from section 7.2 to form a normalized data structure table.
4. The relay protection device capability description file generation system according to claim 3, characterized in that: 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 a normalized 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 (SubNetwork) 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 normalized data structure table, and extracts the structure and content of the normalized data structure table to form normalized instance configuration.
5. The relay protection device capability description file generation system according to claim 4, wherein: the device model file creating module forms a device model file database structure according to the standard template data and the function data table, and writes contents in the device model file database by using the standard template data and the function data table to create a tree structure database.
6. The relay protection device capability description file generation system according to claim 5, characterized in that: the device model file database structure is in a tree shape, intelligent electronic equipment (IED) is a root node of the tree structure, and the name of the intelligent electronic equipment is a keyword of the root node of the tree structure;
the root node comprises at least one Server (Server) node, and the name of a 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 keyword thereof;
the logical device comprises a necessary management logical node zero (LLN0), a necessary physical device information logical node (LPHD) and at least one application function logical node, and the names of the management logical node zero, the physical device information logical node and the application function logical node are keywords of the logical node;
the logical node comprises at least one Data Object (DO), and the name of the data object is a key word of the data object;
the data object contains at least one Data Attribute (DA), the name of which is its key.
7. The relay protection device capability description file generation system according to claim 6, wherein: the device model file creating module creates a tree-structured device model file database, and includes the following steps:
(1) matching in a device model file database by taking the name of a server access point configuration table of the normalized data structure table as a keyword, and entering the next step if the matching is successful; if the matching is unsuccessful, creating a Server object;
(2) matching in a device model file database by taking the name of a Logic Device (LD) in a logic device configuration table of a normalized data structure table as a keyword, and entering the next step if matching is successful; if the matching is unsuccessful, creating a Logical Device (LD) object, and synchronously creating a necessary logical node, creating a logical node type, creating a necessary data object and necessary attributes of the necessary data object;
(3) matching in a device model file database by using the name of a logical node of object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
matching unsuccessfully, matching in the standard specification template data, unsuccessfully matching in the standard specification template data, and creating a logic node type;
creating a logic node, and synchronously creating a necessary data object under the logic node and necessary attributes of the necessary data object;
(4) matching in a device model file database by taking the data object name of the object content in a functional data table of the relay protection device as a keyword, and entering the next step after the matching is successful;
if 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) matching data attributes in a device model file database by taking the public data class of the object content in the functional data table of the relay protection device as a keyword, and finishing the matching if the matching is successful;
if the matching is unsuccessful, judging whether the data attribute is a structural body, if so, re-entering the flow of the step;
if not, data attributes are created, saved in the device model file database, and the process is terminated.
8. The relay protection device capability description file generation system according to claim 7, characterized in that: the device model file creation module creates a data set (DataSet) and a Control Block (CB), comprising the steps of:
(1) judging whether the data set name is an empty character string or not by using the data set name of the object content in the functional data table of the relay protection device, wherein the character string is empty, and ending;
if the character string is not empty, matching in the device model file database, and entering the next step if the matching is successful;
if the matching is unsuccessful, creating a data set (DataSet) and a Control Block (CB), storing the data set and the control block into a device model file database, and entering the next step;
(2) matching in a data set of a device model file database by taking the data object name of the object content in a functional data table of the relay protection device as a keyword, and finishing the matching if the matching is successful;
if the matching is unsuccessful, judging the number of members of the data objects 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 members of the data set;
the number of members is not more than 256, and a data set member is created;
and copying the data set and the control block, creating a data set member, storing the data set member in the 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 true CN112328323A (en) 2021-02-05
CN112328323B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800124A (en) * 2021-04-15 2021-05-14 成都赢瑞科技有限公司 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
CN117094284A (en) * 2023-10-17 2023-11-21 东方电子股份有限公司 Method for generating capability description file of intelligent equipment of transformer substation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063718A1 (en) * 2007-08-29 2009-03-05 Hitoshi Sekine Automatically generating capability-based computer peripheral device drivers
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
US20170063085A1 (en) * 2015-09-02 2017-03-02 Honeywell International Inc. PRE-CONFIGURATION AND INTEGRATION OF IEDs IN SUBSTATION AUTOMATION SYSTEMS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090063718A1 (en) * 2007-08-29 2009-03-05 Hitoshi Sekine Automatically generating capability-based computer peripheral device drivers
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
US20170063085A1 (en) * 2015-09-02 2017-03-02 Honeywell International Inc. PRE-CONFIGURATION AND INTEGRATION OF IEDs IN SUBSTATION AUTOMATION SYSTEMS
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
杜丽艳等: "智能变电站SCD/ICD标准化检验方法的研究", 《华北电力技术》 *
陈宏君等: "ICD模型文件图形化配置形成与处理方案", 《智能电网》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800124A (en) * 2021-04-15 2021-05-14 成都赢瑞科技有限公司 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
CN117094284A (en) * 2023-10-17 2023-11-21 东方电子股份有限公司 Method for generating capability description file of intelligent equipment of transformer substation
CN117094284B (en) * 2023-10-17 2024-01-30 东方电子股份有限公司 Method for generating capability description file of intelligent equipment of transformer substation

Also Published As

Publication number Publication date
CN112328323B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN101706773B (en) Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
CN105354220B (en) A kind of application process of intelligent substation IED equipment user's custom profiles
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
CN112328323B (en) Relay protection device capability description file generation system
CN106355305B (en) decoupling method and device for SCD model information section of intelligent substation
CN115858796A (en) Fault knowledge graph construction method and device
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN106021203A (en) Intelligent substation misoperation-preventive locking logic imaging expressing method
CN112287648A (en) SCD-based substation monitoring system data point table generation and synchronization method
CN106371869B (en) IEC61850 configuration software implementation method for bay level equipment of intelligent substation
CN113691651A (en) Top-level planning visualization management method, system and storage medium based on IPv6 network
CN110766263A (en) Automatic acceptance method for secondary equipment of transformer substation and terminal equipment
CN111275210B (en) Method and device for sharing account information of auxiliary equipment of transformer substation
CN101470607A (en) Data normalization method
CN113987815A (en) Method and system for checking converter station model
CN111340253B (en) Analysis method and system for main network maintenance application form
Hong et al. Standardization of power system protection settings using IEC 61850 for improved interoperability
CN114124859B (en) Intelligent customer service robot of network maintenance platform and maintenance method
CN114500324B (en) Integrated access system for industrial Internet simulation test bed
CN113553728A (en) Method and system for generating intelligent substation station control layer application system model
CN111352818B (en) Application program performance analysis method and device, storage medium and electronic equipment
CN109062639B (en) Method and system for displaying upgrading information of SCD (substation configuration description) file of transformer substation
Jang et al. Design of an Algorithm for the Validation of SCL in Digital Substations
CN112364427A (en) Building construction supervision method based on BIM

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