Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination

An automatic modeling and substation technology, applied in electrical components, circuit devices, electrical digital data processing, etc., can solve the problems of model complexity, low degree of automation, long project cycle, etc., to achieve strong scalability and operability The effect of strong performance and simplified system maintenance

Active Publication Date: 2010-05-12
0 Cites 72 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Since the implementation of IEC 61850 in China, most of the model generation still adopts manual modeling, and many links require manual intervention. Due to the participation of human factors, it is easy to make mistakes, and the project cycle is long, which limits the function of IEC 61850 At the same time, manual editing of intelligent electronic device capability description ICD model files also has the following disadvantages:
[0005] 1) It takes a lot of time to learn the substation configuration description language SCL
[0006] 2) The substation configuration description language SCL describes the model in a very flexible manner, and manual editing is not conducive to model standardization
[0007] 3) Due to the complexity of the model, the editing workload o...
View more

Method used

A. Standardize substation bay layer intelligent electronic equipment IED information, adopt XML serialization technology to reorganize above-mentioned information, generate automatic modeling standardization interface file, automatically match IED information by keyword, improve information processing efficiency. Define a dictionary template conforming to the instantiation name of IEC61850, which is used to quickly retrieve the name abbreviation of setting value and pressure plate;
[0037] The automatic modeling tool loads standardized interface files, fills in structural information bodies such as events, alarms, and input, and reflects these information on the tool interface for easy viewing and editing. At the same time, these information bodies that do no...
View more


The invention provides a method for realizing fast and automatic modeling of a transformer substation IEC 61850 by adopting XML information recombination, which is applied to IED modeling of space layers in a digital transformer substation and a traditional transformer substation by adopting IEC 61850 communication. The method comprises the following steps of: recombining the IED information by adopting XML, and providing an IED information standardization interface; editing and setting the standardized XML files; loading an embedded minimum model which accords to the IEC61850 standard; appointing an sAddr information format in advance, automatically adding sAddr information and leading out an ICD model file; analyzing the led-out ICD model file by the IED, and automatically extracting the sAddr information, and automatically mapping model leafage nodes to a real-time database according to the sAddr information; and enabling the information of the real-time database to normally communicate with station control layer equipment by the IED through adopting an IEC61850 protocol. The model collocation can be set by engineering personnel according to actual engineering. Therefore, the invention greatly shortens the time for generating the IEC61850 model, improves the efficiency of production and regulation and is convenient for 61850 engineered actualization and generalization.

Application Domain

Circuit arrangementsSpecial data processing applications

Technology Topic

CollocationDigitization +7


  • Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
  • Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination
  • Method for realizing fast and automatic modeling of transformer substation IEC 61850 by adopting XML information recombination


  • Experimental program(1)

Example Embodiment

[0029] The present invention provides a method for implementing IEC61850 automatic modeling of substations by adopting XML information reorganization, including ICD model file generation, IED automatic analysis processing, model and real-time database mapping, and the method has the following steps:
[0030] a. Standardize the IED information of intelligent electronic equipment in the substation bay level, use XML serialization technology to reorganize the above information, generate automatic modeling standardized interface files, and automatically match IED information through keywords to improve information processing efficiency. Define dictionary templates conforming to IEC61850 instantiation names, which are used to quickly retrieve the abbreviations of fixed values, pressure plates, etc.;
[0031] b. Load the model configuration template, load the embedded model, edit and configure the IED information through the automatic modeling tool, enrich the expression meaning of the model based on the embedded model, and encode the linear address of the internal data according to certain rules , Automatically added to the corresponding data attribute DAI (instantiated data attribute, hereinafter referred to as DAI) sAddr, automatically perform logical node operations, and export the correct ICD model file; the automatic modeling tool provides a friendly configuration editing interface, for 61850 The abstract concept is encapsulated, and only protection-related options and tags are provided to the outside, so that users will not feel that 61850 is being modeled. At the same time, it has an intelligent memory function for the content that is repeatedly edited in the modeling, and the common content is only entered once. , And then input to the historical template;
[0032] c. The intelligent electronic equipment IED of the substation bay layer automatically searches and analyzes the ICD model file generated by the automatic modeling tool, converts the tree model into a plane leaf node, automatically extracts sAddr information, and uses sAddr information as a bridge to integrate the model with the real-time database. One mapping to synchronize internal and external data.
[0033] The technical solution of the present invention will be further described below in conjunction with the drawings and specific embodiments of the specification.
[0034] Attached figure 1 The hierarchical model of IEC61850 automatic modeling is given. The specific implementation includes the following three parts: one is the reorganization and standardization of IED information; the second is the part of automatic modeling tools to export ICD model files; the third is IED parsing ICD model files and automatic Map the real-time database part. The following is an explanation of the realization of each part of the content: (1) IED information reorganization and standardization
[0035] There are multiple protection functions in the protection. Different protection functions can be flexibly turned on and off, and the configuration is rich. The IED information of each IED manufacturer is not completely the same. It mainly includes description and configuration information such as measurement quantities, events, and fixed values. This information needs to be standardized. The invention provides XML information reorganization methods and standardized interface files, adopts object-oriented technology, designs and configures base classes and derived classes, and uses XML serialization technology to load and store IED information. Each IED manufacturer can describe and configure according to their own debugging software The information is automatically converted into standardized interface files, and then modeling is carried out using automatic modeling tools.
[0036] (2) Automatic modeling tool to export ICD model file
[0037] The automatic modeling tool loads standardized interface files, fills in structural information bodies such as events, alarms, and inputs, and reflects this information on the tool interface for easy viewing and editing. At the same time, these information bodies that do not adopt object-oriented design can be configured and associated. The configuration interface has already encapsulated the IEC61850 functions, and users do not need to understand the IEC61850 standard, which can be used by protection engineers and automation engineers. Specifically, it includes two parts: one is information processing; the other is a generative model. The implementation of these two parts is explained below.
[0038] 1. Information processing
[0039] During the transition from a traditional substation to a digital substation, the internal data of the IED is not completely defined in accordance with the IEC61850 standard. Therefore, there is an asymmetry between the internal data of the IED and the IEC61850 protocol interface. In order to make up for the information difference between the two, it is necessary to perform the IED information. Processed to meet the requirements of IEC61850 for IED information integrity.
[0040] 1) Open entry, alarm, pressure plate
[0041] Use the instantiated name defined in the IEC61850 standard to faithfully reflect the IED input and output interface capabilities, and filter out unnecessary information.
[0042] 2), event
[0043] Use different protection function logic nodes for different protection functions, clarify the special setting items associated with events, and clarify whether the protection is activated or the ancillary information such as the protection of exports.
[0044] 3), fixed value
[0045] Use the instantiation name defined in the IEC61850 standard to fill in information such as the fixed value step, dimension, maximum value, and minimum value.
[0046] 4), measurement volume
[0047] According to the voltage and current channel attributes and channel phases, it automatically matches MMXU and MMXN logical nodes, and automatically performs grouping processing for MMXU logical nodes. For measurement quantities that do not meet the grouping conditions, MMXN or GGIO logical nodes are automatically used to fill in auxiliary information such as the dimension, upper and lower limits of the measurement volume.
[0048] 5) Wave recording
[0049] Fill in the information of recording start, recording completion, and grid fault number.
[0050] 2. Generate the model
[0051] The public information defined in the IEC 61850 standard is classified in the embedded model, as the public information of the automatic modeling tool, following the principle of small to large, that is, the model is explained from the bottom to the top. Including EnumType, DAType, DOType several categories.
[0052] As attached figure 2 As shown, after the automatic modeling tool runs, the automatic modeling instance object is generated, and the IED information is first standardized. In this process, if the standardization fails, the tool will give an error message; after the normalization is successful, the automatic modeling The tool loads the embedded model to determine whether the embedded model is valid, whether it conforms to the IEC61850 standard, and whether it has the basic model information of IEC61850. After confirming that the configuration is correct, enter the ready state for ICD model file generation. The automatic modeling tool automatically maps LD, Dataset, LNType, LN instance, DOI, DAI, automatically adds sAddr, cleans up useless node information, verifies the model, and then exports the correct ICD model file.
[0053] The automatic modeling tool is based on MSXML2.0 control and adopts object-oriented technology to encapsulate XML file operations and simplify XML file operations. Prepare for the subsequent addition and deletion of XML nodes. After the user issues the "Export Model" command, the automatic modeling tool performs the following steps:
[0054] 1) Add LD nodes. Some commonly used LD nodes are reflected in the embedded model by default. When generating the model, you can add and cut according to the actual configuration of the IED. When generating the model, you need to obtain the LD node handle first, clear the member information, and then Re-add it to ensure that unnecessary historical information remains.
[0055] 2) Add Dataset, add the point information of remote signaling, remote measurement and fixed value configuration of the model to the Dataset to form a data set to ensure the orderliness of the data.
[0056] 3) Add LN nodes, and automatically add Mod, Beh, and Health node information for each node to reflect the operation mode and quality of this logical node. The instance number of each LN node is automatically added, and prefix and lnClass are automatically added according to the model configuration.
[0057] 4) Add LNType, categorize logical nodes according to the standardized information in the model configuration, abstract logical node types, logical nodes with specific similar behaviors can share logical node types, and automatically add class member information to each logical node type .
[0058] 5) Add DOI, the point information in the model configuration needs to be instantiated through DOI, add data attributes, and data object nesting information.
[0059] 6) Add DAI to instantiate the data attributes of each member of DOI, for example, add the description of each information point to the ‘dU’ node in the form of UTF-8
[0060] 7) Add sAddr information. sAddr is located at the end leaf node of the model and is automatically added according to the model configuration. sAddr information is the information agreed upon between the automatic modeling tool and the IED server-side software event and is used for data mapping identification. sAddr information sample: "s1.s2.s3.s4...", where s1~s4 can be customized, for example, define s1 as the type identification to distinguish event and alarm information; define s2 as the CPU identification; define s3 as the ID Identification; define s4 as attribute identification (representing value, time, quality, etc.).
[0061] 8). Export the model file and automatically add the CRC check code of the model file for version identification.
[0062] (3) IED analysis of ICD model files and automatic mapping of real-time database
[0063] The database is the most important module among the functional modules of automatic modeling, because all implementations depend on the database structure. Use the database to store the information of the model-related files, mainly ICD information. The amount of information contained in ICD is very large, and all the information cannot be stored in the database. On the premise of ensuring that the necessary information is stored, the structure of the database should be as simple as possible, and at the same time, it should be convenient to use functional modules and interface modules to extract data.
[0064] The information contained in the ICD can be divided into two categories: mark and data. The marking part is standardized by IEC 61850-6, which is a constant part and does not need to be stored in the database. The data part needs to be established by the modeler according to the IED function and IEC61850 modeling method, which belongs to the uncertain part and needs to be entered into the database. One principle of storing information should be: not storing format information, only storing specific data information.
[0065] ICD mainly includes DataTypeTemplate section and IED section.
[0066] From the perspective of IEC 61850 engineering application, the LNType, DOType and other types in the DataTypeTemplate section are unified and standardized. Before starting to model the IED, the types used by each IED should be standardized and summarized into a basic type library. When building an IED model, the referenced type must be selected from the basic type library to ensure standardization. After a small amount of expansion, the information in the basic type library can meet the needs of new IED modeling and achieve information reuse. The basic types of data belong to system shared information, and data integrity and standardization must be guaranteed during maintenance.
[0067] The IED segment mainly describes information such as LN, DAI, DataSet and various control blocks of each IED function. IED model data belongs to IED specific data.
[0068] After the IED is powered on, it is initialized and a real-time database is created. After the creation is successful, 61850 real-time processing tasks are started.
[0069] After the IED enters the 61850 working state, it automatically searches for the model file with icd or cid as the suffix and performs verification. After searching for a valid model file, it starts to analyze the model, maps the tree model structure to the SCL information structure, and analyzes the data type template. Open up memory space, create logical devices, logical nodes, report control block information bodies, initialize report instances, and generate model leaf node arrays. After success, enter the 61850 model analysis completion state.
[0070] As attached image 3 As shown, IED obtains the model information structure, automatically searches for sAddr information, parses the tree-like nested structure layer by layer, starts from the LD root node, and traverses LD, LN, DO sequentially. For the DO nested SDO type, the FC character set is Empty, so you need to index to DA and then append the FC character set, and then search for the instantiated node where DAI is located, until the leaf node is counted as the end of the retrieval process. If the sAddr node is found and the content is valid, then sAddr and reference are shared Stored in a two-dimensional array, and output the configuration results to a file or global data structure. If there is anything that does not conform to the modeling specification in the recursive search process, the recursive process can be ended early. The process of finding an sAddr is described above, There are multiple sAddrs in the ICD model file, and the extraction process can repeat the above process.
[0071] Under the condition of ensuring that the sAddr information is valid, analyze the meaning of the sAddr information, establish a one-to-one correspondence between the model leaf nodes and the real-time database, and feed back the real-time database status to the model leaf node data buffer. In this way, the actual operation of the IED is Upload to the station control layer through the IEC61850 service method.
[0072] The specific implementation of the present invention in the IEC61850 automatic modeling process is described in detail above.
[0073] The scope of the present invention should not be limited to these descriptions. Any modification or improvement within the scope of the principle of the present invention belongs to the protection scope of the present invention.


no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Method for locally and automatically installing Redhat software packages in batches

InactiveCN105335202Aeasy to operateEasy system maintenance

Double-belt non-deflection rubber belt vacuum filter

InactiveCN102091459ASimple structureEasy system maintenance

Slave address allocation method for energy storage battery management system

PendingCN113037889ASolve the waste of resourcesEasy system maintenance

Pressure storage type fire extinguishing device and fire extinguishing method thereof

PendingCN110251870AEasy system maintenance

Classification and recommendation of technical efficacy words

  • Strong maneuverability
  • Easy system maintenance

Loach fish fry artificial propagation method

InactiveCN103109769AReasonable methodStrong maneuverability

Method for cultivating asparaguses in North China


Photovoltaic assembly with MPPT (Maximum Power Point Tracking) module

InactiveCN102025291AImprove efficiencyEasy system maintenance

Switching value output self-protection circuit

InactiveCN104765301AEasy system maintenance

Pressure storage type fire extinguishing device and fire extinguishing method thereof

PendingCN110251870AEasy system maintenance

Double-belt non-deflection rubber belt vacuum filter

InactiveCN102091459ASimple structureEasy system maintenance

Slave address allocation method for energy storage battery management system

PendingCN113037889ASolve the waste of resourcesEasy system maintenance
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products