Method for mapping transformer substation secondary system logic signal to 3D model optical port
By parsing GIM files into XML format and using unique identifiers to map GOOSE signals to 3D ports, the method addresses manual mapping challenges, improving efficiency and reducing errors in substation maintenance.
Patent Information
- Application Number
- CN202411257344.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2024-12-31
AI Technical Summary
Existing methods fail to efficiently map logic signals from substation secondary systems to 3D models, leading to cumbersome and error-prone manual processes for maintenance engineers, who must manually correlate 2D CAD drawings with SCD files to identify GOOSE signals, causing inefficiencies and potential errors.
A method involving parsing GIM files into XML format, using unique identifiers to associate port nodes with SDD and SCD files, enabling automatic mapping of GOOSE signals to 3D fiber ports by querying FCDA and ExtRef nodes for signal addresses.
Automated signal mapping reduces manual effort, enhances accuracy, and minimizes errors, ensuring precise connections and improved safety and stability during maintenance operations.
Smart Images

Figure CN119227162A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of substation modeling; in particular, it relates to a method for mapping logic signals of a substation secondary system to optical ports of a 3D model. Background Art
[0002] The secondary system plays an important role in the smart substation to ensure its intelligent performance and safe operation. The logical, physical and three-dimensional model design results of the secondary system are stored in the form of SCD, SDD and GIM files respectively.
[0003] The logical design model of the secondary system describes the functions of monitoring, protecting and controlling smart substations and the signal transmission paths between them. In order to achieve interoperability of the design, the International Electrotechnical Commission (IEC) has released the IEC 61850 standard, in which Part 6 defines the Substation Configuration Language (SCL) for expressing the logical design model of the secondary system. Accordingly, the design results of the logical system are usually stored and exchanged in the format of the Substation Configuration Description (SCD). The SCD file is a special XML file format with a data structure such as Figure 2 As shown. IED (Intelligent Electronic Device) and communication part are two key data nodes in the SCD file. The communication part describes the topology of the entire substation communication system, protocol configuration, and communication interactions between various devices. Specifically, the subnet node under the communication part consists of dozens of connected access point (ConnectedAP) nodes, which describe the communication endpoints. Each ConnectedAP can be mapped to multiple physical connections (PhysConn) through a generic substation event (GSE). At the same time, the IED part provides a comprehensive description of the functional performance, data structure, and communication services of various intelligent devices in the substation. This information is essential for the engineering, configuration, and integration of substation automation systems. In addition, each IED part is further described by lower-level nodes such as logical devices (LDevice), logical nodes (LN), data object instances (DOI), and data attribute instances (DAI).
[0004] The physical loop model abstractly describes the physical subsystems or components of the secondary system and the topological connections between these components. Generally speaking, the secondary system can be decomposed hierarchically into areas, bays, cabinets, devices, boards, and ports. Connecting components usually refer to cables, wires, and optical fiber cores. In practice, equipment manufacturers need to configure the equipment, which includes describing the circuit boards and physical ports in the IED. Then, the designer models physical objects such as compartments and cabinets. Finally, the designer lays out the optical fiber cores or cables between the equipment, switches, and optical distribution frames. Figure 3The configuration of the devices in the secondary system and their connections in the SDD file are shown. The Substaion element in the figure represents the entire secondary system, which is decomposed into a hierarchy with multiple nodes such as areas, cabinets, devices, boards, and ports. Each port has multiple port attribute instances (PAIs) that can be described by multiple values (Val). Similarly, each device or board also uses element attribute instances (EAIs) to describe their properties.
[0005] With the widespread application of building information modeling (BIM) technology in China's power grid industry, 3D BIM design has been used in substation projects. At present, the Industry Foundation Class (IFC) format is usually used to store design models of disciplines such as architecture, structure, water supply and drainage, fire protection, and site planning. At the same time, the design of the primary and secondary systems of the substation adopts the GIM (Grid Interconnection and Interaction Model) standard.
[0006] Compared to the IFC standard, the GIM standard is more concise and easy to understand, and reduces the complexity of the geometric description of the equipment, because the GIM standard provides primitives with more complex shape styles, such as insulator strings and terminal boards. In addition to using IFC in general building and infrastructure design, the adoption of the GIM standard can also achieve more seamless integration and interoperability between grid-specific systems and general infrastructure information models.
[0007] Figure 4 The structure of the GIM file is shown. It is a compressed file consisting of four folders, namely CBM, DEV, PHM and MOD. Each folder contains a set of files. The CBM file describes the structure of the components in the secondary system, while the DEV file can be used to describe the panel cabinet, board or port. Therefore, one CBM file can reference multiple DEV files. The MOD file describes the geometry of a specific component. Multiple components form an assembly, which is represented by the PHM file. In addition, the *.fam file in the CBM or DEV folder describes the engineering and material properties of the equipment or device. In addition, the MOD file contains two types of data: geometric primitives (such as cubes, cylinders, spheres, etc.) and their initial placement represented by the transformation matrix. Generally speaking, a DEV file representing a device with a complex shape can reference multiple PHM files.
[0008] The above models describe the substation automation system from multiple perspectives, and together provide basic information for downstream testing and maintenance work. It is often a challenge for field operators to obtain detailed signal information from 2D drawings or 3D models. In current practice, maintenance engineers need to manually refer to the 2D CAD drawings of the physical loop, while using a dedicated SCD file browser to find the corresponding GOOSE signal, and then manually combine the two types of information in their minds. This process is not only cumbersome, but also requires repeated retrieval of data, which is prone to errors and omissions. Few studies provide detailed methods for mapping signals in SCD models to port components in GIM models. Summary of the invention
[0009] The technical problem to be solved by the present invention is to provide a method for mapping the logic signal of the secondary system of a substation to the optical port of a 3D model, so as to solve the problem that the prior art does not realize the method for mapping the signal in the SCD model to the port component in the GIM model, which causes the maintenance engineer to manually refer to the two-dimensional CAD drawing of the physical circuit, and use a special SCD file browser to find the corresponding GOOSE signal, and then manually combine the two kinds of information in his mind. This process is not only cumbersome, but also requires repeated retrieval of data, which is prone to technical problems such as errors and omissions.
[0010] Technical solution of the present invention: A method for mapping a substation secondary system logic signal to a 3D model optical port, the method comprising: Step 1: Parse the GIM compressed file and reorganize the MOD, PHM, DEV and CBM files into an XML file named GIM-Model.XML; Step 2: Locate all port nodes in the GIM-Model through the unique identifier gridID attribute. Through these unique identifier gridID data, query the SDD file to obtain the Port ID of the studied port and the iedName of the IED where the port is located; Step 3: Use the data in the SDD file to query the FCDA and ExtRef nodes in the SCD file, obtain the addresses of the output GOOSE signal and the input GOOSE signal respectively, and parse each signal address step by step to obtain the engineering significance of the signal, thus completing the process of mapping the signal to the 3D fiber port.
[0011] The "cbm" node in the GIM-Model.XML file describes the entire secondary system. <dev>"The subnodes are used to describe different types of devices. The geometry of each device is described by " <phm>" represents the shape of the component, " <mod>” nodes are used to represent general shapes; Each" <device>The "devType" attribute in " indicates the category of the secondary system device; the "gridID" attribute of the port node is the bridge between the GIM file and the SDD file.
[0012] The unique identifier "gridID" attribute value of the fiber port extracted from GIM-Model.XML is used to locate the corresponding <port>node, and then further search in the SDD file <port>The node's "id" attribute and parent node <device>The "iedName" attribute of
[0013] Locate the IED node in the SCD file based on the "iedName" value obtained from the SDD file. Each IED node in the SCD file has one or more<Access Point> Node,name is the connection between SCD logical design and SDD physical design.
[0014] Locate the "LN0" logical node in the SCD file. The "LN0" logical node has two child nodes. <dataset>"and" <inputs> ”," <dataset>"Contains a set of <fcda>Node, each node describes the address of the virtual terminal that outputs the GOOSE signal, " <inputs>"Have a group <extref>Node, each <extref>The node contains the "intAddr" attribute, which describes the internal address of the virtual terminal that receives the external input GOOSE signal; <extref>The remaining attributes of the node are combined into the external address of the output GOOSE signal sent by another IED, that is, <extref>The logical path from the source address of the virtual terminal to the research IED is described by "IntAddress".
[0015] pass <fcda>The attributes in the node further determine the engineering description of the GOOSE signal, thereby generating the address of the virtual terminal. <fcda>The reference lines in the Node to XML file diagram represent the corresponding FCDA attributes to the SCD file. <lndevice>Node and its subnodes <ln>and <dai>A map of node attributes.
[0016] Beneficial effects of the present invention: The present invention integrates SCD files, SDD files and GIM files, and finds out the association between each signal object and the three-dimensional component from the integrated model. These mapping information can help maintenance engineers make decisions in fault diagnosis and maintenance operations. By automatically mapping the GOOSE signal in the SCD file to the physical port in the three-dimensional GIM model, the tedious steps of manual signal matching by maintenance personnel are reduced, and the operating efficiency is greatly improved. The method integrates the information of logical loops, physical loops and three-dimensional model designs, and can accurately and automatically identify and map signal paths, reducing the risk of errors and omissions in manual operations, and improving the accuracy and reliability of signal paths. Through accurate signal mapping, the precise connection of each component and signal in the system is ensured, reducing system failures caused by mismatching or wrong connection, and improving the overall safety and stability of GOOSE signal fiber pulling by maintenance engineers during the maintenance process.
[0017] The present invention first extracts the unique identifier gridID of the optical fiber port from the GIM file, and then queries the port ID according to its GIM unique identifier gridID; then uses these data to determine the name of the IED where the studied port is located, and obtains the virtual terminal address for the GOOSE signal in the SCD file; finally, further queries the relationship between each signal and the virtual terminal address and its meaning. These mapping information can help maintenance engineers make decisions in fault diagnosis and maintenance operations. The mapping of signals on the physical ports of the secondary panel cabinet is realized, and the 3D port is associated with the input and output GOOSE signals (represented by virtual terminals); these mapping information can help maintenance engineers make decisions in fault diagnosis and maintenance operations.
[0018] The existing technology does not implement a method to map the signals in the SCD model to the port components in the GIM model, which causes maintenance engineers to manually refer to the 2D CAD drawings of the physical circuit, use a dedicated SCD file browser to find the corresponding GOOSE signals, and then manually combine the two types of information in their heads. This process is not only cumbersome, but also requires repeated retrieval of data, which is prone to technical problems such as errors and omissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 This is a schematic diagram of the SCD file data structure; Figure 3 It is the configuration of the equipment in the secondary system and the connection diagram in the SDD file; Figure 4 This is a schematic diagram of the structure of the GIM file; Figure 5 This is a schematic diagram of a portion of the GIM-Model.XML file containing the port gridID; Figure 6 This is a schematic diagram of a partial SDD file containing Port ID and iedName information; Figure 7 This is a schematic diagram of the FCDA and ExtRef nodes in the SCD file; Figure 8 This is a schematic diagram of signal description in the SCD file; Fig. 9 It is a schematic diagram of the 3D model of the 110kv line protection cabinet in the application case of the specific implementation method; Fig.10 It is a schematic diagram of sending and receiving signals by the G1 optical port in the application case of the specific implementation method. DETAILED DESCRIPTION
[0020] Figure 1 The process of mapping GOOSE signals to 3D port models in GIM files is explained. First, the GIM compressed file is parsed and the MOD, PHM, DEV and CBM files therein are reorganized into an XML file named GIM-Model.XML. Subsequently, all port nodes are located in the GIM-Model by their unique identifier gridID attribute. Through these unique identifier gridID data, the SDD file is queried to obtain the "Port ID" of the port under study and the "iedName" of the IED where the port is located. Finally, combined with the data in the SDD file, the FCDA and ExtRef nodes in the SCD file are queried to obtain the addresses of the output GOOSE signal and the input GOOSE signal, respectively. By resolving each signal address step by step and obtaining the engineering significance of the signal, the process of mapping the signal to the 3D fiber port is completed. The specific method flow will be explained in detail with reference to the XML file.
[0021] Figure 5 shows the key part of a typical GIM-Model.XML file with the unique identifier gridID for the port. The "cbm" node in the file describes the entire secondary system. <dev>" sub-nodes can be used to describe different types of equipment, such as cabinets, boards, and terminals. Figure 5 The hierarchy from the higher level cabinet to the lowest level port element is also shown. The geometric description of each device is represented by " <phm>" represents the shape of its components, further including multiple " <mod>" nodes are used to represent general shapes.
[0022] Each" <device>The "devType" attribute in " indicates the category of the secondary system device. Among them, the "gridID" attribute of the port node is the key bridge between the GIM file and the SDD file. For example, Figure 5 The "gridID" value in "A0AFC020-EZR201-AN401-AA0401" indicates the combination of type code, system hierarchy, device code, and part code.
[0023] Using the unique identifier "gridID" attribute value of the fiber port extracted from GIM-Model.XML (see Figure 5 ), can be located in the corresponding SDD file <port>node. This will then be searched further in the SDD file <port>The "id" attribute of a node and its parent node <device>The "iedName" attribute, such as Figure 6 shown.
[0024] Based on the "iedName" value obtained from the SDD file, the IED node can be located in the SCD file (see Figure 7 Each IED node in the SCD file has one or more<Access Point> Nodes, whose names (such as "G1") are the key link between the SCD logical design and the SDD physical design. In this case, the name "G1" of the access point in the SCD refers to the <port>The node's "id" value is "G1", such as Figure 6 shown.
[0025] Then, locate the "LN0" logical node in the lower level of the SCD file. This node has two child nodes" <dataset>"and" <inputs>The former contains a set of <fcda>Nodes, each of which describes the address of the virtual terminal that outputs the GOOSE signal, and the latter has a set of <extref>Node. Each <extref>The node contains the "intAddr" attribute, which describes the internal address of the virtual terminal that receives the external input GOOSE signal. <extref>The remaining attributes of the node can be combined into the external address of the outgoing GOOSE signal sent by another IED. In other words, <extref>The logical path from the source address of the virtual terminal to the research IED is described by "IntAddress".
[0026] pass <fcda>The properties in the node can further determine the engineering description of the GOOSE signal, thereby generating the address of the virtual terminal (see Figure 8 ). <fcda>The reference lines from the nodes to the XML file diagram above represent the corresponding FCDA attributes to the SCD file. <lndevice>Node and its subnodes <ln>and <dai>A map of node attributes. In this example, <fcda>The value "stVal" of the "daName" attribute in the node refers to <dai>The "name" attribute in the node. In the same node, the engineering meaning of "stVal" is described by its "desc" attribute, whose value is "Protection Action". In this way, engineers can easily understand the purpose or content of the GOOSE signal sent by the virtual terminal.
[0027] Next, we select a panel cabinet for 110kV substation line protection for case study. The GIM file of this panel cabinet is analyzed as follows: Fig. 9 As shown. This panel cabinet is built with standard dimensions, it is 80 mm wide, 60 mm deep and 2260 mm high. It includes three key components: a printer and two line differential protection devices of the same type "PCS-934A-DG-N". These two protection devices are named "P_L1101X" and "P_L1102X" in the SCD file. These two protection devices send GOOSE signals to the intelligent terminal through the connected switch and receive GOOSE signals.
[0028] When a fault occurs, maintenance engineers usually need signal data to make further decisions, such as unplugging the fiber core at the fiber port "G1" on the "CPU plug-in" board located in the fourth slot of the "P_L1101X" (see Fig.10 ).
[0029] Using the signal mapping method detailed in the previous article, there are 5 input GOOSE signals and 7 output GOOSE signals mapped to the G1 port. Specifically, the IED "P_L1101X" receives five input GOOSE signals from the intelligent terminal "I-L1101X", including circuit breaker position, blocking reclosing, blocking reclosing when the pneumatic device pressure is low, KKJ relay position, and blocking reclosing when the control circuit is disconnected.
[0030] Based on the data in these output GOOSE signals, "P-L1101X" sends 3 output GOOSE signals to the IED "I_L1101X", from which the sending device "P-L1101X" obtains the switch status information. Fig.10 It shows that these three output GOOSE signals indicate that the intelligent terminal will perform three operations. These three output GOOSE signals are protection action, blocking reclosing and reclosing. Similarly, there are another 4 output GOOSE signals sent to the measurement and control device "C_L1101X" for protection, reclosing and alarm.< / dai> < / fcda> < / dai> < / ln> < / lndevice> < / fcda> < / fcda> < / extref> < / extref> < / extref> < / extref> < / fcda> < / inputs> < / dataset> < / port> < / device> < / port> < / port> < / device> < / mod> < / phm> < / dev> < / dai> < / ln> < / lndevice> < / fcda> < / fcda> < / extref> < / extref> < / extref> < / extref> < / inputs> < / fcda> < / dataset> < / inputs> < / dataset> < / device> < / port> < / port> < / device> < / mod> < / phm> < / dev>
Claims
1. A method for mapping logic signals of a substation secondary system to a 3D model optical port, characterized in that: The method comprises: Step 1: Parse the GIM compressed file and reorganize the MOD, PHM, DEV and CBM files into an XML file named GIM-Model.XML; Step 2: Locate all port nodes in the GIM-Model through the unique identifier gridID attribute. Through these unique identifier gridID data, query the SDD file to obtain the Port ID of the studied port and the iedName of the IED where the port is located; Step 3: Use the data in the SDD file to query the FCDA and ExtRef nodes in the SCD file, obtain the addresses of the output GOOSE signal and the input GOOSE signal respectively, and parse each signal address step by step to obtain the engineering significance of the signal, thus completing the process of mapping the signal to the 3D fiber port.
2. According to claim 1, a method for mapping a substation secondary system logic signal to a 3D model optical port is characterized by: The "cbm" node in the GIM-Model.XML file describes the entire secondary system. <dev>"The subnodes are used to describe different types of devices. The geometry of each device is described by " <phm>" represents the shape of the component, " <mod> ” nodes are used to represent general shapes;< / mod> < / phm> < / dev> Each" <device> The "devType" attribute in " indicates the category of the secondary system device; the "gridID" attribute of the port node is the bridge between the GIM file and the SDD file.< / device> 3. The method for mapping a substation secondary system logic signal to a 3D model optical port according to claim 1, characterized in that: The unique identifier "gridID" attribute value of the fiber port extracted from GIM-Model.XML is used to locate the corresponding <port>node, and then further search in the SDD file <port>The node's "id" attribute and parent node <device> The "iedName" attribute of< / device> < / port> < / port> 4. The method for mapping a substation secondary system logic signal to a 3D model optical port according to claim 1, characterized in that: Locate the IED node in the SCD file based on the "iedName" value obtained from the SDD file. Each IED node in the SCD file has one or more<Access Point> Node,name is the connection between SCD logical design and SDD physical design.
5. The method for mapping a substation secondary system logic signal to a 3D model optical port according to claim 1, characterized in that: Locate the "LN0" logical node in the SCD file. The "LN0" logical node has two child nodes. <dataset>"and" <inputs> ”," <dataset>"Contains a set of <fcda>Node, each node describes the address of the virtual terminal that outputs the GOOSE signal, " <inputs>"Have a group <extref>Node, each <extref>The node contains the "intAddr" attribute, which describes the internal address of the virtual terminal that receives the external input GOOSE signal; <extref>The remaining attributes of the node are combined into the external address of the output GOOSE signal sent by another IED, that is, <extref> The logical path from the source address of the virtual terminal to the research IED is described by "IntAddress".< / extref> < / extref> < / extref> < / extref> < / inputs> < / fcda> < / dataset> < / inputs> < / dataset> 6. The method for mapping a substation secondary system logic signal to a 3D model optical port according to claim 1, characterized in that: pass <fcda>The attributes in the node further determine the engineering description of the GOOSE signal, thereby generating the address of the virtual terminal. <fcda>The reference lines in the Node to XML file diagram represent the corresponding FCDA attributes to the SCD file. <lndevice>Node and its subnodes <ln>and <dai> A map of node attributes.< / dai> < / ln> < / lndevice> < / fcda> < / fcda>