Modeling method and device for protection logic diagram, equipment and medium

By establishing a modeling method for protection logic diagrams, defining model elements and associating them with IPD and ICD models, a structured data model for protection logic diagrams is realized, which solves the problem of lack of standardization of protection logic diagrams and improves the intelligence and digitalization of substation secondary systems.

CN120671328APending Publication Date: 2025-09-19NR ELECTRIC CO LTD +3
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510604293.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-12
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In the existing technology, the protection logic diagram lacks a standardized model, which makes it impossible to share data and limits the intelligence and digitalization of the substation secondary system.

Method used

By establishing a modeling method for protection logic diagram, defining protection logic diagram model elements, obtaining the association between protection logic diagram model and IPD model and ICD model, and using XML format to describe protection logic diagram, a structured data model of protection logic diagram is realized.

Benefits of technology

It realizes the structured data model of the protection logic diagram, breaks the black box status of the protection logic diagram, improves the intelligence and digitalization of the substation secondary system, and provides strong data support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120671328A_ABST
    Figure CN120671328A_ABST
Patent Text Reader

Abstract

The invention discloses a modeling method and device for a protection logic diagram, equipment and a medium, and the method comprises the steps: obtaining each logic symbol of the protection logic diagram, and building a symbol template of each logic symbol; defining protection logic diagram model elements; wherein the elements are used for representing a protection function logic scene, and the logic scene comprises a graph composed of logic symbols and a corresponding logic connection relation; extracting a corresponding relation between a device physical logic model IPD, a device IED capability description model ICD and a protection logic diagram model element, and establishing association between the protection logic diagram model and the IPD model and the ICD model; and establishing a protection logic diagram model based on the association according to the symbol template and the elements. According to the method, the problems that the protection logic diagram does not have a standardized model and data cannot be shared at present are solved, data channels with an IPD model and an ICD model are opened, and more comprehensive data support is provided for principle debugging, fault diagnosis, simulation test and the like of relay protection equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of transformer substation relay protection, and in particular relates to a protection logic diagram modeling method, device, equipment and medium. Background Art

[0002] Currently, the relay protection industry relies on internal protection logic schematics for device commissioning, digital twin applications, circuit query, fault diagnosis, and intelligent operation and maintenance. However, this content is still in black box form, without corresponding structured data. Back-end links can only carry out related applications based on the image information contained in the manual. At the same time, the lack of correlation with other models greatly limits the improvement of the intelligent and digital level of substation secondary systems. With the development of various simulation experiments, fault location, and fault diagnosis applications related to relay protection, the demand for this data is more urgent. Protection logic diagram data can be used to simulate the action logic of various protection circuits and has a close connection with physical nodes, internal fixed control words, etc.

[0003] In the related art, patents such as a method and system for testing the remote protection logic of a relay protection device (CN117856447A) only study the testing of protection logic. Summary of the Invention

[0004] The purpose of the present invention is to provide a modeling method, device, equipment and medium for a protection logic diagram, which solves the problem that the current protection logic diagram has no standardized model and data cannot be shared.

[0005] In order to achieve the above object, the solution of the present invention is:

[0006] A modeling method for protecting a logic diagram, comprising:

[0007] Acquire each logical symbol of the protection logic diagram and establish a symbol template for each logical symbol;

[0008] Define protection logic diagram model elements; wherein the elements are used to represent protection function logic scenarios, and the logic scenarios include graphics composed of logic symbols and corresponding logical connection relationships;

[0009] According to the corresponding relationship between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the IPD model and the ICD model is obtained;

[0010] According to the symbol template and elements, a protection logic diagram model is established based on the association.

[0011] Among them, the symbol templates of each logical symbol are established, including:

[0012] Use basic graphic elements to describe each logic symbol, create input and output connection point information for each logic symbol, and set the properties of each logic symbol;

[0013] Model elements are used to construct a symbol template to describe the logical symbols; wherein the symbol template includes an endpoint collection element, a title element, a graphic element and an attribute collection element.

[0014] Among them, the protection logic diagram model elements are defined, including:

[0015] The model element is used to represent the protection function logic scene, and the attributes of the logic scene include the scene name, size, and background color bkColor.

[0016] Wherein, according to the correspondence between the device physical logic model IPD and the protection logic diagram model elements, the association between the protection logic diagram model and the IPD model is obtained, including:

[0017] Associate the functional elements of the device physical logic model IPD with the input or output symbols of the protection logic diagram model elements. The input symbols are associated with the IPD model through the source attribute, and the output symbols are associated with the IPD model through the target attribute.

[0018] According to the corresponding relationship between the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the ICD model is obtained, including:

[0019] Associate GOOSE, SV, control word, and setting value in the intelligent electronic device IED capability description model ICD with the input or output symbols of the protection logic diagram model elements. The input symbol is associated with the ICD model through the source attribute, and the output symbol is associated with the ICD model through the target attribute.

[0020] According to the symbol template and elements, a protection logic diagram model is established, including:

[0021] The protection logic diagram is described in the protection logic diagram scenario using XML format, based on the position, size, and connection relationship of the protection logic symbols, using composite signal construction and symbol template reference.

[0022] Among them, the composite signal construction method includes, for a signal composed of many signals, synthesizing multiple signals to obtain a composite signal, and the composite signal is associated with the input symbol of the protection logic diagram through the source attribute to serve as the input of other logic configuration diagrams.

[0023] The method of using a symbol template reference includes referencing and instantiating the symbol template through the template id attribute of the model element when establishing the protection logic diagram model.

[0024] A modeling device for protecting a logic diagram, comprising:

[0025] A symbol template building module is configured to obtain each logical symbol of the protection logic diagram and build a symbol template of each logical symbol;

[0026] An element definition module is configured to define elements of a protection logic diagram model; wherein the elements are used to represent a protection function logic scenario, and the logic scenario includes a graph composed of logic symbols and corresponding logical connection relationships;

[0027] An association acquisition module is configured to acquire an association between the protection logic diagram model and the IPD model and the ICD model according to a correspondence between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements; and

[0028] The protection logic diagram model building module is configured to build a protection logic diagram model based on the association according to the symbol template and elements.

[0029] Among them, the symbol template construction module establishes the symbol template of each logical symbol, including:

[0030] Use basic graphic elements to describe each logic symbol, create input and output connection point information for each logic symbol, and set the properties of each logic symbol;

[0031] Model elements are used to construct a symbol template to describe the logical symbols; wherein the symbol template includes an endpoint collection element, a title element, a graphic element and an attribute collection element.

[0032] Among them, the element definition module defines the protection logic diagram model elements, including:

[0033] The model element is used to represent the protection function logic scene, and the attributes of the logic scene include the scene name, size, and background color bkColor.

[0034] The association acquisition module acquires the association between the protection logic diagram model and the IPD model according to the corresponding relationship between the device physical logic model IPD and the protection logic diagram model elements, including:

[0035] Associate the functional elements of the device physical logic model IPD with the input or output symbols of the protection logic diagram model elements. The input symbols are associated with the IPD model through the source attribute, and the output symbols are associated with the IPD model through the target attribute.

[0036] According to the corresponding relationship between the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the ICD model is obtained, including:

[0037] Associate GOOSE, SV, control word, and setting value in the intelligent electronic device IED capability description model ICD with the input or output symbols of the protection logic diagram model elements. The input symbol is associated with the ICD model through the source attribute, and the output symbol is associated with the ICD model through the target attribute.

[0038] The protection logic diagram model construction module establishes a protection logic diagram model according to the symbol template and elements, including:

[0039] The protection logic diagram is described in the protection logic diagram scenario using XML format, based on the position, size, and connection relationship of the protection logic symbols, using composite signal construction and symbol template reference.

[0040] Among them, the composite signal construction method includes, for a signal composed of many signals, synthesizing multiple signals to obtain a composite signal, and the composite signal is associated with the input symbol of the protection logic diagram through the source attribute to serve as the input of other logic configuration diagrams.

[0041] The method of using a symbol template reference includes referencing and instantiating the symbol template through the template id attribute of the model element when establishing the protection logic diagram model.

[0042] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the computer program, the steps of the aforementioned method for modeling a protection logic diagram are implemented.

[0043] A computer-readable storage medium stores a computer program; when the computer program is executed by a processor, the steps of the above-mentioned method for modeling a protection logic diagram are implemented.

[0044] After adopting the above scheme, the present invention has the following beneficial effects:

[0045] The present invention first extracts various logical symbols of the protection logic diagram and establishes a protection logic diagram functional symbol template. Secondly, it defines the model elements and attributes of the protection logic diagram scene, symbols and graphic connections. Then, it establishes the association between the protection logic diagram model and the device physical logic model (Individual physical description file, referred to as IPD model) and the IED (Intelligent Electronic Device) capability description model (IED Capability Description, referred to as ICD model). Finally, based on the integration of symbol templates, graphic connections, model associations and other aspects of logical symbols, the protection logic diagram model is established through composite signal construction and symbol template reference.

[0046] At present, the protection logic diagram of the relay protection industry has no structured data, and each link in the back end can only carry out related applications through the image information carried by the manual. At the same time, due to the lack of correlation with the IPD model and the ICD model, the internal principle of the device still exists as a black box in terms of device testing, on-site digital twins, integrated query of optoelectronic circuits, fault diagnosis, intelligent operation and maintenance, etc., which greatly limits the improvement of the intelligence and digitization of the secondary system of the substation. The present invention abstracts the symbols and attributes required for the protection logic diagram through an object-oriented method, breaking the black box status of the internal protection logic principle of the device for a long time, establishing a structured data model of the device protection logic, filling the gap in the modeling of the internal protection logic of the device, and connecting the IPD model, ICD model and the internal protection principle data of the device, realizing the "last mile" of substation relay protection, that is, the data connection of the internal protection logic of the device, which will provide strong data support for the debugging, fault diagnosis, simulation test, intelligent operation and maintenance of the relay protection equipment principle and other links. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a flow chart of the present invention;

[0048] Figure 2 It is a schematic diagram of the protection logic diagram model structure;

[0049] Figure 3 It is a schematic diagram of the relationship between the protection logic diagram and the ICD model and IPD model elements;

[0050] Figure 4 It is a schematic diagram for converting graphic symbols of protection schematic diagram;

[0051] Figure 5 is an example diagram of a composite signal;

[0052] Figure 6 This is an example diagram of a protection scenario. DETAILED DESCRIPTION

[0053] Research on related technologies has limited focus on testing protection logic. Currently, there is no technology for modeling and correlating relay protection logic diagrams. To address the challenges of standardizing protection logic diagram models and sharing data, and to provide robust data support for debugging, fault diagnosis, and intelligent operation and maintenance of relay protection equipment, a method for modeling and correlating protection logic diagrams is needed.

[0054] The present invention provides a protection logic diagram modeling and multi-model association method, including:

[0055] Acquire each logical symbol of the protection logic diagram and establish a symbol template for each logical symbol;

[0056] Define protection logic diagram model elements; wherein the elements are used to represent protection function logic scenarios, and the logic scenarios include graphics composed of logic symbols and corresponding logical connection relationships;

[0057] According to the corresponding relationship between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the IPD model and the ICD model is obtained;

[0058] According to the symbol template and elements, a protection logic diagram model is established based on the association.

[0059] Among them, the symbol templates of each logical symbol are established, including:

[0060] Use basic graphic elements to describe each logic symbol, create input and output connection point information for each logic symbol, and set the properties of each logic symbol;

[0061] Model elements are used to construct symbol templates to describe the logical symbols. Specifically, the SymbolTemplate element is used to construct the symbol template, which includes a Terminals element, a Caption element, a Shape element, and a Properties element. The SymbolTemplate element uniquely identifies the symbol using the id attribute, identifies the symbol type using the type attribute, and represents the height and width of the symbol using width and height.

[0062] Among them, the types of symbols include input and output symbols, logic symbols, triggers, comparison operators, mathematical operators, mathematical function operators, startup elements, etc. Among them, input and output symbols are used to associate IPD, ICD, constants, etc., logic symbols and trigger symbol types are used to process digital inputs, comparison operators, mathematical operators, and mathematical function operator symbols are used to process analog inputs, and the startup element, as a special element, represents whether the protection function of the device is activated.

[0063] Among them, the protection logic diagram model elements are defined, including:

[0064] The model element is used to represent the protection function logic scene, and the attributes of the logic scene include the scene name, size, and background color bkColor.

[0065] Specifically, the LogicScene element is used to represent the protection function logic scene. The LogicScene element includes attributes such as the scene name, size, and background color bkColor. The functional logic scene represents all graphics composed of a set of protection logic symbols and graphic attributes such as canvas, and also includes the corresponding logical connection relationships. Symbol is a symbol element, which is an instantiation of the SymbolTemplate element. The attributes are the same as the template by default, and can also be instantiated in a displayed manner. The Line element represents the connection, which graphically and logically expresses the connection of the protection logic diagram.

[0066] Furthermore, the LogicScene element contains two or more Symbol elements and one or more Line elements. Therefore, Symbol elements can be used to represent symbols, inputs, outputs, and various operators. The LogicScene element includes attributes such as the scene name, size, background color (bkColor), and type. When the Logic type is composite, it indicates a composite signal; when type is plg, it indicates a primary protection logic diagram.

[0067] Furthermore, the Symbol element contains attributes such as name, pos, size, template ID, target output information, and source input information. The ID attribute uniquely identifies the associated SymbolTemplate, the target attribute is used to output the symbol's associated IPD, ICD, constant, and other signals, and the source attribute is used to input the symbol's associated IPD, ICD, constant, and other signals.

[0068] Furthermore, the connection points of the protected logical diagram are represented by Line. The Line element contains the style attributes of the connection and the symbolic connection point information of the start and end points. Specifically, the startSymbolName, startSymbolPoint, endSymbolName, and endSymbolPoint attributes can be used to represent the symbolic information of the start and end points. The Line element contains style attributes such as size, linecolor wire color, linwidth wire width, and linstyle wire style. The style elements of Line generally use the default, and the corresponding attributes can be modified if there are special needs. Line contains two or more CornerPoint elements, and the coordinate information of Line is represented by the CornerPoint element. The CornerPoint element represents the path coordinates of the Line element from the start point to the end point, and contains two attributes, x and y.

[0069] Among them, the association between the protection logic diagram model and the IPD model and the ICD model refers to the association of the protection logic diagram model with the IPD model and the ICD model through input symbols or output symbols. The input symbol is associated with the IPD model and the ICD model through the source attribute, and the output symbol is associated with the IPD model and the ICD model through the target attribute.

[0070] Specifically, the correspondence between the device physical logic model (IPD) and the protection logic diagram model elements involves associating functional elements in the device physical logic model (IPD), such as switch outputs and analog quantities, with input or output symbols of the protection logic diagram model elements. The associated IPD information includes hard pressure plate signals, analog quantity signals, hard contact output signals, etc. The relative path of elements in the IPD model is used for association, such as device board / functional element, and this path can be used to index unique elements in the IPD model.

[0071] Specifically, the correspondence between the IED capability description model (ICD) and the protection logic diagram model elements involves associating GOOSE, SV, control words, and fixed values ​​in the ICD capability description model with the input or output symbols of the protection logic diagram model elements. Associated ICD model elements include fixed values, control words, soft pressure plates, functional status, and other objects. The physical addresses of ICD model elements are used for association, and the physical addresses can be used to index unique elements in the ICD model.

[0072] In particular, the input symbols of the protection logic diagram model can be associated with Boolean values, constants, and composite signals in addition to IPD model and ICD model elements.

[0073] The protection logic diagram model is established based on the symbol templates and elements, including using XML format, using defined symbols, connections, and other elements, and using composite signal construction, symbol template reference, and other methods to describe the protection logic diagram within the protection logic diagram scenario based on the position, size, and connection relationship of the protection logic symbols. The root element of the constructed protection logic diagram model is PLG, which contains one IED element and one SymbolTemplates element. The IED element contains one or more LogicSence elements, which contain two or more Symbol elements and one or more Line elements. The Line element contains two or more CornerPoint elements. The SymbolTemplates contains one or more SymbolTemplate elements.

[0074] The composite signal construction approach involves describing complex signals using the same methods as protection logic diagram models. The resulting output can be used as input for other protection logic diagram models. Complex signals, typically composed of multiple signals, such as CT disconnection or current flow, require synthesis. The resulting signal can then be used as input for other logic configuration diagrams, associating it with the input symbol of the protection logic diagram through the source attribute.

[0075] The symbol template reference method is used, including referencing and instantiating the SymbolTemplate symbol template through the template id attribute of the Symbol element when generating the protection logic diagram. Symbol contains all the properties of SymbolTemplate and has the project instantiation property.

[0076] The present invention is further described in detail below with reference to the accompanying drawings and examples.

[0077] The embodiment of the present invention provides a model construction and association method for protecting logic diagrams. Figure 1 Steps for its implementation.

[0078] Step 1: Extract various logical symbols from the protection logic diagram and create corresponding symbol templates.

[0079] Extract the input and output symbols, logical symbols, triggers, comparison operators, mathematical operators, mathematical function operators, and startup elements of the protection logic diagram, describe the symbols through basic graphic elements, create input and output connection point information for various symbols, and set the symbol's name, description, type and other attributes.

[0080] Unified construction rules are formulated for various graphic symbols to ensure the accuracy of coordinates and descriptions within the graphic symbols. Some examples of graphic symbol templates are shown in Table 1. The construction of symbol templates should comply with the following rules:

[0081] 1) Input / output graphic symbols default to 20cm high and 60cm wide. Symbols with two inputs and one output are 60cm high and 40cm wide, while symbols with three inputs are 80cm high and 40cm wide. The height increases by 20cm for each additional input or output, and so on.

[0082] 2) The coordinates of the connection points are located at equally spaced points on both sides of the symbol. For example, the two input connection points are located at the 1 / 3 and 2 / 3 positions, respectively, and the output connection point is located at the 1 / 2 position. The coordinates of the connection points are similar and are not described when describing graphic symbols.

[0083] 3) If the symbol types are the same but the number of connection points is different, the symbols are expanded according to the rules in 2) and 3). When building the library, the names are named in the format of "original name_input_output". For example, logic_gate_xor has two inputs and one output by default. If the symbol is expanded to 4 inputs and 1 output, the new symbol name is named "logic_gate_xor_4_1".

[0084] 4) The graphic center point of the symbol template should be at the geometric center point of the symbol, and should not be misplaced.

[0085] Table 1 Examples of some graphic symbol templates

[0086]

[0087] Step 2: Define the protection logic diagram scenario and attributes, and define the symbols and graphic connections of the protection logic diagram.

[0088] The protection logic diagram model expresses logical topology relationships by connecting Lines and Symbols. Line elements represent the start and end symbol information of a connection. Symbol elements and their connection points reference the SymbolTemplate through the ID attribute. Symbols contain all the properties of the SymbolTemplate and have project instantiation properties.

[0089] Protection scenarios are divided into two types: protection logic diagrams and composite signals. Both methods use the same description method: drawing the logic diagram through symbolic reference instantiation and connection. The default size of the logic scene is {800cm, 600cm}, and the default background color is (A:255, R:255, G:255, B:255). The protection logic diagram logic scene elements are constructed as follows:

[0090] <LogicScence name="Test Scenario" size="Size(800, 600)" bgColor="Color(255, 255, 255, 255)" type="plg">

[0091] When a connection element is created, the various style attributes are default. If there are special requirements, the style of the connection can be set by setting the corresponding attribute values. A connection is identified by two or more corner point coordinates for various turning points of the connection. The starting corner point coordinates identify the start of the connection, and the ending corner point coordinates identify the end of the connection. An example of creating a connection element is as follows:

[0092] <Line name="line1" pos="Point(0, 0)" size="Size(0, 0)" startSymbolName="S1" startSymbolPoint="1" endSymbolName="S4" endSymbolPoint="1">

[0093] <cornerpoint> Point(445,205)< / cornerpoint>

[0094] <cornerpoint> Point(500,205)< / cornerpoint> <s

[0095]

[0096] The symbol "Symbol" references the symbol template by its id, and determines the specific position of the symbol in the protection logic diagram by instantiating the coordinates. The coordinates are centered on the symbol's center, and the default size of the symbol is (60, 20). The output of the symbol is associated through the "target" attribute, and the input of the signal is associated through the "source" attribute. In addition to referencing IPD model elements, ICD model elements, boolean quantities, and analog quantities, the signals of the symbol can also be associated with the aforementioned composite signals. An example of creating a symbol is as follows:

[0097] <Symbol name="S2" id="io_dinput" pos="Point(325, 195)" size="Size(60, 20)" source="E[%type%]C1[%address%]A-phase current operation[%desc%]" / >

[0098] <Symbol name="S3" id="io_doutput" pos="Point(530, 205)" size="Size(60, 20)" target="B02.GSLogicLinkMult1.out1[%address%]Protection trip[%desc%]" / >

[0099] Step 3: Analyze the corresponding relationship between the IPD model, ICD model and protection logic graph model elements, and establish the association between the protection logic graph model (PLG) and the IPD model and ICD model.

[0100] The protection logic diagram model is based on the correspondence between the input or output symbols and the IPD model and ICD model, such as Figure 3 As shown in Figure 2. Input symbols are associated with other models through the source attribute, and output symbols are associated with other models through the target attribute.

[0101] The source attribute of the Symbol element cannot be empty when the symbol is of input type. The source attribute represents the association between the input symbol of the protection logic diagram model and various models. The specific association format of the source attribute is: "I[%type%]ZZZJ:B01.SyncTime.signal_err[%address%]0[%desc%]", which consists of four parts. The first part is the signal type, the identifier is [%type%], and the specific model type is the previous character. The signal type is an enumeration type: P process, I internal, constant C, startup element Q, L indicates reference to IPD model, D is reference to ICD model, and E is reference to other composite signals. The second part is the signal address, the identifier is [%address%], which represents the address of the signal. When referencing a composite signal, it is the name of the composite signal logic scenario; for the ICD model, it refers to the physical address of DO or DA; for the IPD model, it is the path address of IPD, referenced in the Device.SubDevice / Component format; for digital constants, it is generally an integer, and for analog quantities, it is generally a floating point type. The last identifier [%desc%] represents the Chinese description of the signal and can be empty.

[0102] The target attribute of the Symbol element cannot be empty when the symbol is of output type. The target attribute element represents the association between the output of the protection logic diagram model and various models. The specific association format of target is: "B01.C1R2.yk03.ind_close[%address%] remote control 03[%desc%]". The target signal consists of two parts. The first part is the signal address, and the identifier is [%address%]. When associated with the ICD model, it references the physical address of the DO or DA; when associated with the IPD model, it is the element relative path address, and is referenced in the Device.SubDevice / Component format. The second part is the signal description, identified by [%desc%], which can be empty.

[0103] Step 4: Based on the integration of symbol templates, graphic connections, model associations, etc., a protection logic diagram model is established through composite signal construction and symbol template reference.

[0104] The protection schematic model structure is as follows Figure 2 As shown, the root element is the PLG element, which contains 1 IED element and 1 SymbolTemplates element. The IED element contains 1 or more LogicSence elements, and the LogicSence element contains 2 or more Symbol elements and 1 or more Line elements. The Line element contains 2 or more CornerPoint elements. The SymbolTemplates element contains 1 or more SymbolTemplate elements, and the SymbolTemplate element contains 1 Terminals element, Shapes element, Caption element, and Properties element. The Terminals element contains 2 or more Terminals. The Shapes element contains 0 or more Rectangle elements and Polygon elements. The Polygon element contains 3 or more Point elements. The Caption element contains 0 or more Text elements. Properties contains 1 or more Property elements. All elements of the model can be extended and privately defined through the Private element.

[0105] For each protection schematic, all involved graphic symbols are transformed and the corresponding models in the symbol library are extracted, such as Figure 4 shown.

[0106] Some complex signals are composed of many signals, such as CT disconnection, flow or no flow, etc., which require the synthesis of multiple signals. The synthesized signal can be used as the input of other logic configuration diagrams. Figure 5 In the protection logic diagram model, the protection tripping signal is the output of the synthetic signal, and can also be used as the input of the protection logic diagram model and associated with other protection logic diagram models.

[0107] Based on symbol templates, connections, model associations, etc., the topological relationship of the protection schematic is expressed by connecting Line and Symbol types and connection points. The Line element expresses the starting and ending symbol connection information of the connection, such as Figure 6 As shown, Line 1 indicates a connection between point 1 of the S1:io_dinput element and point 1 of the S4:logic_gate_and element. S2:io_dinput is a composite signal, representing a reference to the composite signal of the phase A operating current. The Symbol element and its connection points reference a symbol template. Figure 6 The corresponding protection logic diagram model example is as follows:

[0108] <plg>

[0109] <IED name="3n">

[0110] <LogicScence name="Test Scenario" type="plg" size="Size(800,600)" bgColor="Color(255,255,255,255)">

[0111] <Line name="line1" pos="Point(0,0)" size="Size(0,0)" startSymbolName="S1" startSymbolPoint="1" endSymbolName="S4" endSymbolPoint="1">

[0112] <cornerpoint> Point(445,205)< / cornerpoint>

[0113] <cornerpoint> Point(500,205)< / cornerpoint>

[0114]

[0115] <Line name="line2" pos="Point(0,0)" size="Size(0,0)" startSymbolName="S2" startSymbolPoint="1" endSymbolName="S4" endSymbolPoint="2">

[0116] <cornerpoint> Point(355,215)< / cornerpoint>

[0117] <cornerpoint> Point(405,215)< / cornerpoint>

[0118]

[0119] <Line name="line3" pos="Point(0,0)" size="Size(0,0)" startSymbolName="S3" startSymbolPoint="1" endSymbolName="S4" endSymbolPoint="3">

[0120] <cornerpoint> Point(355,195)< / cornerpoint>

[0121] <cornerpoint> Point(405,195)< / cornerpoint>

[0122]

[0123] <Symbol name="S1" id="io_dinput" pos="Point(325,215)" size="Size(60,20)" source="D[%type%]B02.BBP1.soft_bbp_en[%address%] Protection soft pressure plate input [%desc%]" / >

[0124] <Symbol name="S2" id="io_dinput" pos="Point(325,195)" size="Size(60,20)" source="E[%type%]C1[%address%] Phase A current operation [%desc%]" / >

[0125] <Symbol name="S3" id="io_doutput" pos="Point(530,205)" size="Size(60,20)" target="B02.GSLogicLinkMult1.out1[%address%] Protection trip [%desc%]" / >

[0126] <Symbol name="S4" id="logic_gate_and" pos="Point(425,205)" size="Size(60,20)" / >

[0127]

[0128] <LogicScence name="C1" type="composite" size="Size(1422.62,806.562)" bgColor="Color(255,255,255,255)">

[0129] <! -- Omitted, same structure above -- >

[0130]

[0131]

[0132] < / plg>

[0133] The embodiment of the present invention further provides a modeling device for a protection logic diagram, comprising:

[0134] A symbol template building module is configured to obtain each logical symbol of the protection logic diagram and build a symbol template for each logical symbol;

[0135] An element definition module is configured to define elements of a protection logic diagram model; wherein the elements are used to represent a protection function logic scenario, and the logic scenario includes a graph composed of logic symbols and corresponding logical connection relationships;

[0136] An association acquisition module is configured to acquire an association between the protection logic diagram model and the IPD model and the ICD model according to a correspondence between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements; and

[0137] The protection logic diagram model building module is configured to build a protection logic diagram model based on the association according to the symbol template and elements.

[0138] An embodiment of the present invention further provides another computer device, comprising a processor and a memory configured to store a computer program that can be run on the processor; wherein, when the processor is configured to run the computer program, the method steps in the aforementioned embodiment are executed.

[0139] In practical applications, the processor includes a field-programmable gate array (FPGA), and the processor may be a central processing unit (CPU) or a digital signal processor (DSP). It is understood that for different devices, the electronic components used to implement the above-mentioned processor functions may also be other, and the embodiments of the present invention are not specifically limited thereto.

[0140] The above-mentioned memory can be a volatile memory (volatile memory), such as a random-access memory (RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.

[0141] In an exemplary embodiment, the present invention further provides a computer-readable storage medium for storing a computer program.

[0142] Optionally, the computer-readable storage medium can be applied to any one of the methods in the embodiments of the present invention, and the computer program enables the computer to execute the corresponding processes implemented by the processor in each method in the embodiments of the present invention. For the sake of brevity, they are not repeated here.

[0143] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0144] It will be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of the present invention may be implemented in various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0145] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0146] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0147] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0148] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0149] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A modeling method for a protection logic diagram, characterized by: include, Acquire each logical symbol of the protection logic diagram and establish a symbol template for each logical symbol; Define protection logic diagram model elements; wherein the elements are used to represent protection function logic scenarios, and the logic scenarios include graphics composed of logic symbols and corresponding logical connection relationships; According to the corresponding relationship between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the IPD model and the ICD model is obtained; According to the symbol template and elements, a protection logic diagram model is established based on the association.

2. The method according to claim 1, wherein: Create symbol templates for each logical symbol, include, Use basic graphic elements to describe each logic symbol, create input and output connection point information for each logic symbol, and set the properties of each logic symbol; Model elements are used to construct a symbol template to describe the logical symbols; wherein the symbol template includes an endpoint collection element, a title element, a graphic element and an attribute collection element.

3. The method according to claim 1, wherein: Define protection logic diagram model elements, including, The model element is used to represent the protection function logic scene, and the attributes of the logic scene include the scene name, size, and background color bkColor.

4. The method according to claim 1, wherein: According to the corresponding relationship between the device physical logic model IPD and the protection logic diagram model elements, the association between the protection logic diagram model and the IPD model is obtained, including: Associate the functional elements of the device physical logic model IPD with the input or output symbols of the protection logic diagram model elements. The input symbols are associated with the IPD model through the source attribute, and the output symbols are associated with the IPD model through the target attribute. According to the corresponding relationship between the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the ICD model is obtained, including: Associate GOOSE, SV, control word, and setting value in the intelligent electronic device IED capability description model ICD with the input or output symbols of the protection logic diagram model elements. The input symbol is associated with the ICD model through the source attribute, and the output symbol is associated with the ICD model through the target attribute.

5. The method according to claim 1, wherein: According to the symbol template and elements, a protection logic diagram model is established, including: The protection logic diagram is described in the protection logic diagram scenario using XML format, based on the position, size, and connection relationship of the protection logic symbols, using composite signal construction and symbol template reference.

6. The method according to claim 5, wherein: The composite signal construction method includes synthesizing multiple signals to obtain a composite signal for a signal composed of many signals. The composite signal is associated with the input symbol of the protection logic diagram through the source attribute to serve as the input of other logic configuration diagrams.

7. The method according to claim 5, wherein: The symbol template reference method is adopted, including referencing and instantiating the symbol template through the template id attribute of the model element when establishing the protection logic diagram model.

8. A modeling device for a protection logic diagram, characterized in that: include, A symbol template building module is configured to obtain each logical symbol of the protection logic diagram and build a symbol template of each logical symbol; An element definition module is configured to define elements of a protection logic diagram model; wherein the elements are used to represent a protection function logic scenario, and the logic scenario includes a graph composed of logic symbols and corresponding logical connection relationships; An association acquisition module is configured to acquire an association between the protection logic diagram model and the IPD model and the ICD model according to a correspondence between the device physical logic model IPD, the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements; and The protection logic diagram model building module is configured to build a protection logic diagram model based on the association according to the symbol template and elements.

9. The device according to claim 8, characterized in that: The symbol template construction module creates the symbol template of each logical symbol. include, Use basic graphic elements to describe each logic symbol, create input and output connection point information for each logic symbol, and set the properties of each logic symbol; Model elements are used to construct a symbol template to describe the logical symbols; wherein the symbol template includes an endpoint collection element, a title element, a graphic element and an attribute collection element.

10. The device according to claim 8, characterized in that: The element definition module defines the protection logic diagram model elements, including, The model element is used to represent the protection function logic scene, and the attributes of the logic scene include the scene name, size, and background color bkColor.

11. The device according to claim 8, wherein: The association acquisition module acquires the association between the protection logic diagram model and the IPD model according to the corresponding relationship between the device physical logic model IPD and the protection logic diagram model elements, including: Associate the functional elements of the device physical logic model IPD with the input or output symbols of the protection logic diagram model elements. The input symbols are associated with the IPD model through the source attribute, and the output symbols are associated with the IPD model through the target attribute. According to the corresponding relationship between the intelligent electronic device IED capability description model ICD and the protection logic diagram model elements, the association between the protection logic diagram model and the ICD model is obtained, including: Associate GOOSE, SV, control word, and setting value in the intelligent electronic device IED capability description model ICD with the input or output symbols of the protection logic diagram model elements. The input symbol is associated with the ICD model through the source attribute, and the output symbol is associated with the ICD model through the target attribute.

12. The device according to claim 8, wherein: The protection logic diagram model construction module establishes a protection logic diagram model according to the symbol template and elements, including: The protection logic diagram is described in the protection logic diagram scenario using XML format, based on the position, size, and connection relationship of the protection logic symbols, using composite signal construction and symbol template reference.

13. The device according to claim 12, wherein: The composite signal construction method includes synthesizing multiple signals to obtain a composite signal for a signal composed of many signals. The composite signal is associated with the input symbol of the protection logic diagram through the source attribute to serve as the input of other logic configuration diagrams.

14. The device according to claim 12, wherein: The symbol template reference method is adopted, including referencing and instantiating the symbol template through the template id attribute of the model element when establishing the protection logic diagram model.

15. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; characterized in that: When the processor executes the computer program, the steps of the method for modeling a protection logic diagram according to any one of claims 1 to 7 are implemented.

16. A computer-readable storage medium storing a computer program; wherein: When the computer program is executed by a processor, the steps of the method for modeling a protection logic diagram according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Remote whole-group protection logic test method and system for relay protection device

    CN117856447A