Method and system for constructing physical wiring model of auxiliary control system of transformer substation based on XML (Extensible Markup Language)

By constructing a physical wiring model of the substation auxiliary control system using an XML-based method, the problem of the lack of unified standards in auxiliary control system modeling is solved. It realizes a structured description of equipment hierarchy and connection relationships, improves modeling efficiency and model reusability, and the generated XML format model supports data integration and information sharing.

CN120873235APending Publication Date: 2025-10-31STATE GRID JIANGSU ELECTRIC POWER CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510993142.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-18
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

In existing technologies, substation auxiliary control systems lack unified modeling standards, resulting in poor information transmission between design, construction and operation and maintenance stages, difficulty in effectively expressing equipment hierarchy and connection relationships, poor model reusability, low modeling efficiency and easy errors.

Method used

An XML-based approach is adopted to obtain the auxiliary equipment bill of materials, extract equipment objects and connection relationship objects, establish functional hierarchy nodes, realize the structured expression of equipment hierarchy and connection relationships, and integrate them into an XML file to form a unified physical wiring model.

Benefits of technology

The modeling of the auxiliary control system has been standardized and normalized, which has improved the reusability and system integration capabilities of the model, reduced the amount of repetitive modeling work, and generated XML format models with good machine readability, which facilitates data integration and information sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120873235A_ABST
    Figure CN120873235A_ABST
Patent Text Reader

Abstract

The invention discloses a transformer substation auxiliary control system physical wiring model description and construction technology based on XML. An auxiliary equipment material list is obtained, modeling objects are extracted from the auxiliary equipment material list, and the modeling objects comprise equipment object extraction and connection relation object extraction; performing hierarchical division on the equipment according to the functional structure of the auxiliary control system; establishing a point-to-point or point-to-multipoint equipment connection relationship according to the equipment terminal information and a design rule; according to a preset XML file structure, a standardized XML format model file is generated, and the model file comprises equipment information, a connection relation, hierarchical division and spatial position information. According to the method, the hierarchical relationship and wiring relationship expression of the auxiliary control system equipment is normalized, the modeling efficiency is improved, the model consistency is ensured, the modeling workload and information omission are reduced, and subsequent mapping, operation and maintenance and data integration with other systems are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power system automation modeling, and specifically relates to a method and system for constructing a physical wiring model of a substation auxiliary control system based on XML. Background Technology

[0002] In the design and construction of substations, auxiliary control systems such as fire protection, lighting, and environmental monitoring are important components, responsible for ensuring the operating environment of equipment and improving system safety. However, traditional modeling systems (such as IEC61850 SCD documents) are mainly geared towards main control systems such as protection and measurement and control. Auxiliary control systems have a wide variety of equipment and complex connection relationships, lacking unified modeling standards and information expression methods.

[0003] In current engineering practice, auxiliary control system modeling usually relies on CAD drawings, Excel lists, and manual judgment to describe equipment and its connection relationships, and a unified data format and modeling standard have not yet been formed.

[0004] The specific problems are as follows:

[0005] 1. Lack of a standardized modeling system leads to poor information flow between design, construction, and operation and maintenance stages, which can easily result in misunderstandings and data inconsistencies.

[0006] 2. The hierarchical and connection relationships of the equipment are difficult to express effectively. Physical wiring information is isolated and lacks a systematic description, which affects system integration, functional verification and subsequent operation and maintenance management.

[0007] 3. Poor model reusability: During the construction process, new and expanded projects often require reorganization and modeling, which results in low modeling efficiency, high manual input, and easy wiring errors, thus restricting the development of digital design and automatic generation technology. Summary of the Invention

[0008] To address the shortcomings of existing technologies, this invention provides a method and system for constructing a physical wiring model of a substation auxiliary control system based on XML. By establishing a scientific and unified mechanism for expressing physical wiring information of the auxiliary control system, the invention achieves standardized and structured expression of equipment hierarchical relationships and connection relationships, improves the reusability and system integration capabilities of the model, and overcomes the problems of lack of modeling standards and incomplete information expression in existing technologies.

[0009] To solve the above-mentioned technical problems, the present invention adopts the following technical solution.

[0010] This invention first discloses a method for constructing a physical wiring model of a substation auxiliary control system, which includes the following steps:

[0011] Obtain the auxiliary equipment bill of materials, and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects;

[0012] Based on the functional structure of the substation auxiliary control system, multiple independent functional level nodes are established and the corresponding level nodes are referenced in the equipment to divide each equipment object into the corresponding level nodes, thereby realizing the expression of equipment hierarchical relationships.

[0013] Based on the modeling objects extracted from the auxiliary equipment bill of materials and the equipment hierarchy, a structured model of the physical connection relationships between the various devices is completed.

[0014] The modeling objects, device hierarchy relationships, and modeled physical connection relationships are integrated into an XML file structure to obtain an XML-formatted physical connection model file.

[0015] The present invention further includes the following preferred embodiments:

[0016] The extraction device object further includes:

[0017] Based on the equipment number, equipment name and equipment type fields in the bill of materials of the auxiliary control system, the basic attributes of the equipment object are determined, and the basic attributes are defined as node elements in the model. The attributes include equipment ID, equipment name, equipment type, equipment level and installation location information.

[0018] The extraction of the connection relationship object further includes:

[0019] Based on the terminal number and loop number information in the bill of materials of the auxiliary control system, the point-to-point or point-to-multipoint connection relationships between devices are organized, and the connection relationships are defined as connection elements in the model. The attributes of the connection relationships include starting device ID, starting terminal, target device ID, target terminal, and connection type information.

[0020] The reference to the corresponding hierarchical node in the device further includes:

[0021] Each device object establishes a logical association with its corresponding functional level through the levelRef field.

[0022] The functional layer nodes include a data acquisition layer and an execution layer. The data acquisition layer contains various sensing and detection devices, which are responsible for collecting on-site environmental data, status information and alarm signals, and uploading the data to the system's upper-level platform. The execution layer contains various execution and control devices, which are responsible for receiving control commands and executing corresponding operations.

[0023] The modeling of the physical connection relationships between devices further includes:

[0024] Based on pre-defined design rules, semantic analysis and structural classification are performed on the connection fields to form a set of structured connection relationship objects C for modeling. model This serves as the input dataset for the subsequent model generation module;

[0025] Based on the collection of connection relationship objects C model Based on the preset connection rule set R, the feasibility and type of connection between devices are formally determined, and structured modeling is completed.

[0026] During the modeling process, the connection function is defined as follows:

[0027] For any two devices D i D j If there is a terminal pair (t) i m ,t j n ),but:

[0028]

[0029] Convert the modeling result of this function into an XML model file. <connection>Node group, its child nodes <source> and <target>The source device ID and terminal, and the target device ID and terminal are identified respectively, and the field content is automatically generated by the above mapping determination process;

[0030] The functional hierarchy of devices is defined through the mapping function LevelRef, which automatically determines the hierarchy based on the device type.

[0031] For the set of devices D = {D1, D2, ..., D...} n }, its hierarchical attribution function is defined as:

[0032]

[0033] Wherein: T 采集 Includes sensing devices; T 执行 Includes control devices.

[0034] The step of integrating the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure further includes:

[0035] Write the device object information sequentially according to the device ID, so that each device node can fully express the device attributes and spatial location coordinates;

[0036] Write the connection information one by one according to the connection relationship table so that the device connection relationship is reflected in the model;

[0037] The system automatically adds tags to device nodes based on hierarchical relationships, identifying the acquisition layer and execution layer to determine their hierarchical affiliation.

[0038] This invention also discloses a substation auxiliary control system physical wiring model construction system utilizing the aforementioned substation auxiliary control system physical wiring model construction method, comprising:

[0039] The modeling object extraction module is used to obtain the auxiliary equipment bill of materials and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects;

[0040] The hierarchical relationship construction module is used to establish multiple independent functional hierarchical nodes based on the functional structure of the substation auxiliary control system and reference the corresponding hierarchical nodes in the equipment, so as to divide each equipment object into the corresponding hierarchical nodes and realize the expression of equipment hierarchical relationship.

[0041] The connection relationship modeling module is used to complete the structured modeling of the physical connection relationship between each piece of equipment based on the modeling object extracted from the auxiliary equipment bill of materials and the equipment hierarchy relationship;

[0042] The XML file generation module is used to integrate the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure to obtain a physical connection model file in XML format.

[0043] The present invention further includes the following preferred embodiments:

[0044] The modeling object extraction module is further used for:

[0045] Based on the equipment number, equipment name and equipment type fields in the bill of materials of the auxiliary control system, the basic attributes of the equipment object are determined, and the basic attributes are defined as node elements in the model. The attributes include equipment ID, equipment name, equipment type, equipment level and installation location information.

[0046] The modeling object extraction module is further used for:

[0047] Based on the terminal number and loop number information in the bill of materials of the auxiliary control system, the point-to-point or point-to-multipoint connection relationships between devices are organized, and the connection relationships are defined as connection elements in the model. The attributes of the connection relationships include starting device ID, starting terminal, target device ID, target terminal, and connection type information.

[0048] The hierarchical relationship construction module is further used for:

[0049] Each device object establishes a logical association with its corresponding functional level through the levelRef field.

[0050] The functional layer nodes include a data acquisition layer and an execution layer. The data acquisition layer contains various sensing and detection devices, which are responsible for collecting on-site environmental data, status information and alarm signals, and uploading the data to the system's upper-level platform. The execution layer contains various execution and control devices, which are responsible for receiving control commands and executing corresponding operations.

[0051] The connection relationship modeling module is further used for:

[0052] Based on pre-defined design rules, semantic analysis and structural classification are performed on the connection fields to form a set of structured connection relationship objects C for modeling. model This serves as the input dataset for the subsequent model generation module;

[0053] Based on the collection of connection relationship objects C model Based on the preset connection rule set R, the feasibility and type of connection between devices are formally determined, and structured modeling is completed.

[0054] During the modeling process, the connection function is defined as follows:

[0055] For any two devices D i D j If there is a terminal pair (t) i m ,t j n ),but:

[0056]

[0057] Convert the modeling result of this function into an XML model file. <connection>Node group, its child nodes <source> and <target>The source device ID and terminal, and the target device ID and terminal are identified respectively, and the field content is automatically generated by the above mapping determination process;

[0058] The functional hierarchy of devices is defined through the mapping function LevelRef, which automatically determines the hierarchy based on the device type.

[0059] For the device set D = {D1, D2, ..., D...} n }, its hierarchical attribution function is defined as:

[0060]

[0061] Wherein: T 采集 Includes sensing devices; T 执行 Includes control devices.

[0062] The XML file generation module is further used for:

[0063] Write the device object information sequentially according to the device ID, so that each device node can fully express the device attributes and spatial location coordinates;

[0064] Write the connection information one by one according to the connection relationship table so that the device connection relationship is reflected in the model;

[0065] The device nodes are automatically tagged according to their hierarchical relationship to identify their respective acquisition and execution layers for hierarchical classification. Accordingly, this application also discloses a terminal, including a processor and a storage medium;

[0066] The storage medium is used to store instructions;

[0067] The processor is used to operate according to the instructions to execute the steps of the aforementioned substation auxiliary control system physical wiring model construction method.

[0068] Accordingly, this application also discloses a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the aforementioned method for constructing the physical wiring model of a substation auxiliary control system.

[0069] The beneficial effects of this invention are as follows: Compared with the prior art, this invention provides a method and system for constructing a physical wiring model of a substation auxiliary control system based on XML. It unifies the modeling standards for substation auxiliary control systems, effectively compensating for the shortcomings of existing SCD models in auxiliary control system modeling, ensuring a structured description of equipment hierarchical relationships and connection relationships, and significantly improving the integrity and standardization of the model. Simultaneously, the method of this invention has good reusability and scalability, and can be widely applied to various application scenarios such as new construction, renovation, and expansion of substations, reducing the workload of repetitive modeling. The generated XML format model has good machine readability, facilitating data integration and information sharing with other systems, and has high practical value and promising prospects for promotion. Attached Figure Description

[0070] Figure 1 This is a flowchart of the system modeling method provided by the present invention;

[0071] Figure 2 This is a schematic diagram of the physical wiring model structure of the XML-based auxiliary control system provided by the present invention;

[0072] Figure 3 This is a practical application example diagram of the auxiliary control system dynamic environment subsystem provided by the present invention;

[0073] Figure 4 This is a diagram illustrating a practical application of the security subsystem of the auxiliary control system provided by this invention. Detailed Implementation

[0074] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0075] The embodiments described in this application are merely some, not all, embodiments of the present invention. Based on the spirit of the present invention, other embodiments obtained by those skilled in the art without inventive effort are all within the protection scope of the present invention.

[0076] To address the shortcomings of existing technologies, this invention proposes a method and system for constructing a physical wiring model of a substation auxiliary control system based on XML. This method standardizes the modeling methods for describing auxiliary control system equipment, hierarchical relationships, and connection relationships, constructs a unified and standardized physical wiring model of the auxiliary control system, and realizes the integrated expression of information such as equipment hierarchy, connection relationships, and spatial layout. This improves the consistency, reusability, and automation application capabilities of auxiliary control system modeling.

[0077] See Figure 1 As shown, the method for constructing a physical wiring model of a substation auxiliary control system based on XML disclosed in this invention includes the following steps:

[0078] Step 1: Obtain the auxiliary equipment bill of materials, and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects.

[0079] The method first requires the extraction and definition of the modeling objects. To ensure the standardization and normalization of model construction, the modeling objects can be extracted based on the auxiliary equipment bill of materials provided by the design institute. This bill of materials generally contains basic information on all auxiliary equipment of the auxiliary control system, such as equipment number, equipment name, equipment type, installation location, hierarchical level, terminal information, and circuit information. By parsing the bill of materials, the various objects required for modeling can be accurately determined, specifically including:

[0080] (1) Extraction of device objects

[0081] Equipment objects refer to the various physical devices that actually exist in the auxiliary control system, including controllers, detectors, actuators, and environmental monitoring equipment.

[0082] In the actual modeling process, the basic attributes of the equipment objects are determined based on the equipment number, equipment name, and equipment type fields in the bill of materials of the auxiliary control system, and these basic attributes are defined as node elements in the model. The attributes of the equipment objects include: equipment ID, equipment name, equipment type, equipment level, and installation location information; where the equipment level is not an embedded attribute of the equipment node, but is referenced by the levelRef attribute to a separately defined hierarchical structure node, thus achieving decoupling modeling between equipment and functional levels.

[0083] (2) Extraction of connection relationship objects

[0084] Connection relationship objects describe the physical connection information between devices, mainly including terminal connections and wiring connections. In the actual modeling process, based on the terminal numbers and loop numbers in the auxiliary control system's bill of materials, point-to-point or point-to-multipoint connection relationships between devices are organized, and these connections are defined as connection elements in the model. The attributes of the connection relationship object include: starting device ID, starting terminal, target device ID, target terminal, and connection type information.

[0085] Step 2: Based on the functional structure of the substation auxiliary control system, establish multiple independent functional level nodes and reference the corresponding level nodes in the equipment to divide each equipment object into the corresponding level nodes, thereby realizing the expression of equipment hierarchical relationships.

[0086] Based on the functional structure of the auxiliary control system, multiple functional level nodes are systematically defined, such as the acquisition layer and the execution layer. The auxiliary control system is divided into acquisition and execution layers according to its functions, and these layers are modeled as independent elements in the model structure. Each device object establishes a logical association with its corresponding functional level through the levelRef field, thus explicitly expressing the device hierarchy.

[0087] Based on the extraction and definition of the modeling objects in step 1, the model hierarchy of each device object is divided to reflect the functional relationships and management logic of the devices within the auxiliary control system. Specifically, the devices in the auxiliary control system can be divided into two basic levels according to their functions: the acquisition layer and the execution layer.

[0088] (1) Equipment hierarchy

[0089] The acquisition layer mainly includes various sensing and detection devices, such as detectors and environmental monitoring equipment, which are responsible for collecting on-site environmental data, status information and alarm signals, and uploading the data to the upper-level platform of the system. The execution layer mainly includes various execution and control devices, such as actuators and control modules, which are responsible for receiving control commands and executing corresponding operations (such as starting, stopping, and adjusting).

[0090] Furthermore, during the modeling process, based on the equipment type, function, and relevant identification information in the bill of materials, corresponding functional levels are set for each equipment object, and these levels are then incorporated into the model structure. <level>Nodes are modeled independently. Device objects are referenced to their respective functional levels through the levelRef property, ensuring unified affiliation and supporting structured management.

[0091] (2) Establishing hierarchical relationships

[0092] Based on the hierarchical division, the subordinate relationships between each device object are further determined. For example, there may be a direct physical connection between the detector in the acquisition layer and the actuator in the execution layer (signal transmission is achieved through terminal connections or loop connections), and the corresponding association should be established in the model. The establishment of hierarchical relationships is not only reflected in the structured description in the model file, but also provides a basis for subsequent connection relationship modeling and spatial layout.

[0093] Step 3: Based on the modeling objects extracted from the auxiliary equipment bill of materials and the equipment hierarchy, complete the structured modeling of the physical connection relationships between each piece of equipment.

[0094] Based on the modeling object information extracted in step 1 and the device hierarchy established in step 2, the system further completes the structured modeling of the physical connection relationships between various devices. This process not only covers the parsing and classification of original fields, but also introduces rule-set-driven connection modeling functions and device hierarchy mapping functions to ensure that the modeling results are consistent, executable, and scalable. Specifically, it includes the following steps:

[0095] (1) Generate join relationship objects based on field parsing and rule application:

[0096] Based on the starting / target device ID, starting / target terminal, and connection type information extracted in step 1, and in accordance with preset design rules, semantic analysis and structural classification are performed on the connection fields to form a set of structured connection relationship objects C for modeling. model This dataset serves as the input for the subsequent model generation module. Each connection relationship object contains: starting device ID and terminal, target device ID and terminal, connection type, and other extended attributes. This dataset is used in conjunction with the final generated XML. <connection>The node structure maintains a one-to-one correspondence, ensuring structural closure and data consistency in the modeling process.

[0097] Specifically, the modeling system identifies and categorizes connected objects by recognizing the following typical structural patterns:

[0098] Terminal-to-terminal connection mode: If there is an explicit correspondence between the terminal numbers of two devices in the circuit number or naming rules, the system will resolve it as a "point-to-point connection" and establish a unique identifier;

[0099] Loop aggregation connection mode: If multiple target terminals belong to the same loop number, a "point-to-multipoint connection" structure is automatically constructed, and the source device connects to multiple target device terminals;

[0100] Handling of anomalies / missing information: If a device connection field contains identifiers such as "standby" or "unused", the system will automatically determine whether to remove the connection relationship based on rule set R.

[0101] The sources of R include, but are not limited to:

[0102] ① The "Equipment Terminal Connection Specifications", "Cable Wiring Manual", and control circuit diagram provided by the design unit;

[0103] ② Wiring templates that have been verified in the company's standard typical drawings;

[0104] ③ Industry standards (such as GB 50060-2018 and DL / T 860) specify the connection methods for fire protection, lighting and other systems.

[0105] Through the above analysis and rule matching, the system ultimately forms a set C of structured connection relationship objects. model This serves as the input basis for the subsequent model generation module.

[0106] (2) Modeling and Representation of Connection Relationships Based on Rule Sets

[0107] Based on the set of connection relationship objects C formed in step (1) model Furthermore, by combining the preset connection rule set R, the feasibility and type of connection between devices are formally determined, and structured modeling is completed.

[0108] During the modeling process, the connection function is defined as follows:

[0109] For any two devices D i D j If there is a terminal pair (t) i m ,t j n ),but:

[0110]

[0111] Convert the modeling result of this function into an XML model file. <connection>Node group, its child nodes <source> and <target>The source device ID and terminal, and the target device ID and terminal are identified respectively, and the field content is automatically generated by the above mapping determination process.

[0112] (3) Definition and mapping expression of equipment hierarchy attribution rules

[0113] The functional hierarchy of devices is defined using the mapping function LevelRef. This function automatically determines the device's hierarchy based on its type.

[0114] For the set of devices D = {D1, D2, ..., D...} n }, its hierarchical attribution function is defined as:

[0115]

[0116] Wherein: T 采集 Includes sensing devices such as detectors and environmental monitoring equipment; T 执行 It includes control devices such as actuators, electric valves, and control modules.

[0117] Device hierarchy information is displayed in an XML file via <auxdevice>The node's levelRef attribute describes the functional level ID to which it belongs, such as L1 (acquisition layer) or L2 (execution layer), and is used to implement device hierarchical management and logical attribution verification in mapping and structural analysis.

[0118] Step 4: Integrate the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure to obtain an XML format physical connection model file.

[0119] The XML model file records the physical wiring information of the auxiliary control system in a structured manner, covering equipment information, connection relationships, hierarchical division and spatial location. It has good readability, parsability and extensibility, and can be directly used for various application scenarios such as subsequent system integration, mapping and operation and maintenance management.

[0120] To more clearly illustrate the composition and structure of the physical wiring model of the auxiliary control system of this invention, such as Figure 2 As shown, the model structure includes four parts: device objects, connection relationships, hierarchical relationships, and spatial location information. This embodiment further transforms the established auxiliary control system physical wiring model into a standardized XML format file to achieve unified expression and machine-readable parsing of the model data.

[0121] The specific steps are as follows:

[0122] (1) Model data structure design

[0123] Based on the modeling characteristics of the auxiliary control system, a unified XML file structure was designed.

[0124] The XML file consists of the following core nodes:

[0125] Device object node (containing device ID, name, type, location coordinates, device description information, and referenced to its functional level via levelRef);

[0126] Hierarchical structure nodes (containing information that defines each functional level in the system, such as the acquisition layer and the execution layer, and each has a unique ID and a hierarchical name);

[0127] Connection relationship node (records connection pair information, i.e., source device ID + terminal, target device ID + terminal);

[0128] The structure follows the integrated design principle of "device object + connection relationship + hierarchical relationship + spatial location" to ensure the integrity and scalability of the model data.

[0129] (2) Model data generation and storage

[0130] After the model structure design is completed, an automated program outputs the aforementioned modeling objects, hierarchical divisions, and connection relationships as an XML file according to a preset format. The generation process mainly includes:

[0131] Write the device object information sequentially according to the device ID to ensure that each device node fully expresses the device attributes and spatial location coordinates;

[0132] Write the connection information one by one according to the connection relationship table to ensure that the device connection relationship is clearly reflected in the model;

[0133] The system automatically adds tags to device nodes based on hierarchical relationships, identifying their respective acquisition and execution layers for hierarchical affiliation.

[0134] The final generated XML file conforms to standard and universal XML syntax specifications, supporting multi-platform parsing and data interaction. To more intuitively illustrate the organization of each data item in the XML model file, this embodiment uses some typical auxiliary control devices and their connection relationships as examples to schematically list the data content in the model structure, as shown in Table 1 below:

[0135] Table 1

[0136]

[0137] This model structure adopts an integrated design of four elements: "device object + connection relationship + hierarchical relationship + spatial location," comprehensively expressing the physical connections and spatial distribution of various devices in the auxiliary control system, and possessing good model integrity and machine readability. Among them, the location coordinate information is used to support mapping and spatial layout management, while the connection relationship information provides a reliable basis for system integration and data interaction.

[0138] (3) Application and extension of model files

[0139] The following is a partial example of the generated XML model file:

[0140]

[0141]

[0142] The aforementioned XML model file can not only be used for long-term storage and version management of model data, but also directly as data input for auxiliary control system monitoring platforms, automatic mapping tools, etc., enabling various applications such as automatic mapping and system verification. In particular, the spatial coordinate information recorded in the model can directly support the spatial layout and connection drawing of equipment elements during the mapping process, improving the linkage and practicality between the model and the graphics. To further illustrate the practical application effects of this invention, the following description is based on the environmental and security subsystems of an actual auxiliary control system, such as... Figure 3 and Figure 4 As shown in the figure, the spatial layout, physical wiring relationships, and hierarchical information of each device in the system are clearly and systematically visualized, verifying the effectiveness and practical value of the method of this invention in the physical wiring modeling and mapping application of auxiliary control systems.

[0143] The beneficial effects of this invention are as follows: Compared with the prior art, this invention provides a method and system for constructing a physical wiring model of a substation auxiliary control system based on XML. It unifies the modeling standards for substation auxiliary control systems, effectively compensating for the shortcomings of existing SCD models in auxiliary control system modeling, ensuring a structured description of equipment hierarchical relationships and connection relationships, and significantly improving the integrity and standardization of the model. Simultaneously, the method of this invention has good reusability and scalability, and can be widely applied to various application scenarios such as new construction, renovation, and expansion of substations, reducing the workload of repetitive modeling. The generated XML format model has good machine readability, facilitating data integration and information sharing with other systems, and has high practical value and promising prospects for promotion.

[0144] The method of this invention is applicable to the physical layer model construction and structured representation of auxiliary control systems such as fire protection, security, lighting, and environmental monitoring in substations.

[0145] This invention can be a system, method, and / or computer program product. This invention also discloses an XML-based substation auxiliary control system physical wiring model construction system based on the aforementioned XML-based substation auxiliary control system physical wiring model construction method, comprising:

[0146] The modeling object extraction module is used to obtain the auxiliary equipment bill of materials and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects;

[0147] The hierarchical relationship construction module is used to establish multiple independent functional hierarchical nodes based on the functional structure of the substation auxiliary control system and reference the corresponding hierarchical nodes in the equipment, so as to divide each equipment object into the corresponding hierarchical nodes and realize the expression of equipment hierarchical relationship.

[0148] The connection relationship modeling module is used to complete the structured modeling of the physical connection relationship between each piece of equipment based on the modeling object extracted from the auxiliary equipment bill of materials and the equipment hierarchy relationship;

[0149] The XML file generation module is used to integrate the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure to obtain a physical connection model file in XML format.

[0150] Based on the spirit of this invention, those skilled in the art will readily conceive that a computer program product can be obtained based on the aforementioned XML-based substation auxiliary control system physical wiring model construction method. The computer program product may include a computer-readable storage medium on which computer-readable program instructions are loaded to enable a processor to implement various aspects of this disclosure. That is, this application also includes a terminal, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the aforementioned XML-based substation auxiliary control system physical wiring model construction method.

[0151] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example, but not limited to, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0152] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0153] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" or similar languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.

[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.< / auxdevice> < / target> < / connection> < / connection> < / level> < / target> < / connection> < / target> < / connection>

Claims

1. A method for constructing a physical wiring model for a substation auxiliary control system, characterized in that, include: Obtain the auxiliary equipment bill of materials, and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects; Based on the functional structure of the substation auxiliary control system, multiple independent functional level nodes are established and the corresponding level nodes are referenced in the equipment to divide each equipment object into the corresponding level nodes, thereby realizing the expression of equipment hierarchical relationships. Based on the modeling objects extracted from the auxiliary equipment bill of materials and the equipment hierarchy, a structured model of the physical connection relationships between the various devices is completed. The modeling objects, device hierarchy relationships, and modeled physical connection relationships are integrated into an XML file structure to obtain an XML-formatted physical connection model file.

2. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 1, characterized in that, The extraction device object further includes: Based on the equipment number, equipment name and equipment type fields in the bill of materials of the auxiliary control system, the basic attributes of the equipment object are determined, and the basic attributes are defined as node elements in the model. The attributes include equipment ID, equipment name, equipment type, equipment level and installation location information.

3. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 2, characterized in that, The extraction of the connection relationship object further includes: Based on the terminal number and loop number information in the bill of materials of the auxiliary control system, the point-to-point or point-to-multipoint connection relationships between devices are organized, and the connection relationships are defined as connection elements in the model. The attributes of the connection relationships include starting device ID, starting terminal, target device ID, target terminal, and connection type information.

4. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 3, characterized in that, The reference to the corresponding hierarchical node in the device further includes: Each device object establishes a logical association with its corresponding functional level through the levelRef field.

5. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 4, characterized in that, The functional layer nodes include a data acquisition layer and an execution layer. The data acquisition layer contains various sensing and detection devices, which are responsible for collecting on-site environmental data, status information and alarm signals, and uploading the data to the system's upper-level platform. The execution layer contains various execution and control devices, which are responsible for receiving control commands and executing corresponding operations.

6. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 5, characterized in that, The modeling of the physical connection relationships between devices further includes: Based on pre-defined design rules, semantic analysis and structural classification are performed on the connection fields to form a set of structured connection relationship objects C for modeling. model This serves as the input dataset for the subsequent model generation module; Based on the collection of connection relationship objects C model Based on the preset connection rule set R, the feasibility and type of connection between devices are formally determined, and structured modeling is completed. During the modeling process, the connection function is defined as follows: For any two devices D i D j If there is a terminal pair (t) i m ,t j n ),but: Convert the modeling result of this function into an XML model file. <connection>Node group, its child nodes <source> and <target> The source device ID and terminal, and the target device ID and terminal are identified respectively, and the field content is automatically generated by the above mapping determination process;< / target> < / connection> The functional hierarchy of devices is defined through the mapping function LevelRef, which automatically determines the hierarchy based on the device type. For the set of devices D = {D1, D2, ..., D...} n }, its hierarchical attribution function is defined as: Wherein: T 采集 Includes sensing devices; T 执行 Includes control devices.

7. The method for constructing a physical wiring model for a substation auxiliary control system according to claim 6, characterized in that, The step of integrating the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure further includes: Write the device object information sequentially according to the device ID, so that each device node can fully express the device attributes and spatial location coordinates; Write the connection information one by one according to the connection relationship table so that the device connection relationship is reflected in the model; The system automatically adds tags to device nodes based on hierarchical relationships, identifying the acquisition layer and execution layer to determine their hierarchical affiliation.

8. A system for constructing a physical wiring model for a substation auxiliary control system based on XML, characterized in that, include: The modeling object extraction module is used to obtain the auxiliary equipment bill of materials and extract the modeling objects of the auxiliary control system based on the auxiliary equipment bill of materials, including extracting equipment objects and extracting connection relationship objects; The hierarchical relationship construction module is used to establish multiple independent functional hierarchical nodes based on the functional structure of the substation auxiliary control system and reference the corresponding hierarchical nodes in the equipment, so as to divide each equipment object into the corresponding hierarchical nodes and realize the expression of equipment hierarchical relationship. The connection relationship modeling module is used to complete the structured modeling of the physical connection relationship between each piece of equipment based on the modeling object extracted from the auxiliary equipment bill of materials and the equipment hierarchy relationship; The XML file generation module is used to integrate the modeling objects, device hierarchy relationships, and modeled physical connection relationships into an XML file structure to obtain a physical connection model file in XML format.

9. The substation auxiliary control system physical wiring model construction system according to claim 8, characterized in that, The modeling object extraction module is further used for: Based on the equipment number, equipment name and equipment type fields in the bill of materials of the auxiliary control system, the basic attributes of the equipment object are determined, and the basic attributes are defined as node elements in the model. The attributes include equipment ID, equipment name, equipment type, equipment level and installation location information.

10. The substation auxiliary control system physical wiring model construction system according to claim 9, characterized in that, The modeling object extraction module is further used for: Based on the terminal number and loop number information in the bill of materials of the auxiliary control system, the point-to-point or point-to-multipoint connection relationships between devices are organized, and the connection relationships are defined as connection elements in the model. The attributes of the connection relationships include starting device ID, starting terminal, target device ID, target terminal, and connection type information.

11. The substation auxiliary control system physical wiring model construction system according to claim 10, characterized in that, The hierarchical relationship construction module is further used for: Each device object establishes a logical association with its corresponding functional level through the levelRef field.

12. The substation auxiliary control system physical wiring model construction system according to claim 11, characterized in that, The functional layer nodes include a data acquisition layer and an execution layer. The data acquisition layer contains various sensing and detection devices, which are responsible for collecting on-site environmental data, status information and alarm signals, and uploading the data to the system's upper-level platform. The execution layer contains various execution and control devices, which are responsible for receiving control commands and executing corresponding operations.

13. The substation auxiliary control system physical wiring model construction system according to claim 12, characterized in that, The connection relationship modeling module is further used for: Based on pre-defined design rules, semantic analysis and structural classification are performed on the connection fields to form a set of structured connection relationship objects C for modeling. model This serves as the input dataset for the subsequent model generation module; Based on the collection of connection relationship objects C model Based on the preset connection rule set R, the feasibility and type of connection between devices are formally determined, and structured modeling is completed. During the modeling process, the connection function is defined as follows: For any two devices D i D j If there is a terminal pair (t) i m ,t j n ),but: Convert the modeling result of this function into an XML model file. <connection>Node group, its child nodes <source> and <target> The source device ID and terminal, and the target device ID and terminal are identified respectively, and the field content is automatically generated by the above mapping determination process;< / target> < / connection> The functional hierarchy of devices is defined through the mapping function LevelRef, which automatically determines the hierarchy based on the device type. For the set of devices D = {D1, D2, ..., D...} n }, its hierarchical attribution function is defined as: Wherein: T 采集 Includes sensing devices; T 执行 Includes control devices.

14. The substation auxiliary control system physical wiring model construction system according to claim 13, characterized in that, The XML file generation module is further used for: Write the device object information sequentially according to the device ID, so that each device node can fully express the device attributes and spatial location coordinates; Write the connection information one by one according to the connection relationship table so that the device connection relationship is reflected in the model; The system automatically adds tags to device nodes based on hierarchical relationships, identifying the acquisition layer and execution layer to determine their hierarchical affiliation.

15. A terminal, comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the substation auxiliary control system physical wiring model construction method according to any one of claims 1-7.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the steps of the substation auxiliary control system physical wiring model construction method according to any one of claims 1-7.