Method and system for generating SSD model corresponding to primary design drawing of transformer substation
The method and system automate the generation of SSD models from electrical station drawings by employing multi-modal data parsing and semantic mapping, addressing the inefficiencies and errors of existing methods, ensuring format flexibility and compliance with industry standards.
Patent Information
- Application Number
- CN202510359525.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-15
AI Technical Summary
The prior art is difficult to quickly and accurately extract equipment information and connection relationships in the substation one-time design drawings, resulting in large workloads in manual modeling and error-prone, and difficult to adapt to diverse drawing formats and equipment types.
Multimodal data analysis method is adopted to detect device symbols through YOLO model, extract text annotation areas through ResNet-50 network, and optical character recognition algorithm to identify text. Combined with the improved Bresenham algorithm, the cable path is tracked, structured design drawing data is constructed, and standard data models and logical node association relationships are generated using the preset dynamic semantic mapping rule library to perform syntax, topology and semantic verification.
It realizes automatic generation of SSD models, improves design efficiency and accuracy, supports multiple drawing formats, reduces manual intervention, complies with industry standards, and promotes intelligent upgrades of power systems.
Smart Images

Figure CN120316935A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital design of power systems, and particularly to a method and system for generating an SSD model corresponding to a primary design drawing of a substation. Background Art
[0002] In the design of power systems, the primary design drawings of substations are the basis for constructing substation models. Traditionally, these drawings need to be manually interpreted by professionals, and device information, connection relationships, etc. are input into modeling software. The process is cumbersome and error-prone. With the development of computer-aided design and artificial intelligence technologies, the need for automatically processing design drawings and generating SSD models has become increasingly urgent.
[0003] Especially in the case of complex design drawings and numerous device types, the workload of manual parsing and modeling is huge. Therefore, how to quickly and accurately extract device information, connection relationships from the primary wiring diagram design drawings of substations and automatically generate an SSD model has become an important issue for improving the work efficiency of power design institutes.
[0004] In the prior art, although there are some automated modeling methods, most of them rely on specific formats or tools and are difficult to adapt to diverse drawing formats and device types. Summary of the Invention
[0005] The purpose of the present invention is to provide a method and system for generating an SSD model corresponding to a primary design drawing of a substation in order to solve at least one of the above technical problems.
[0006] In a first aspect, an embodiment of the present invention provides a method for generating an SSD model corresponding to a primary design drawing of a substation, including: extracting device information and connection relationship information from the primary design drawing of the substation; the device information includes device names and attribute data; based on the device information and the connection relationship information, constructing structured design drawing data; based on a preset dynamic semantic mapping rule library, mapping the structured design drawing data into a standard data model and a logical node association relationship; based on the standard data model and the logical node association relationship, generating the SSD model of the substation.
[0007] Further, the primary design drawing of the substation includes a structured drawing; extracting device information and connection relationship information from the primary design drawing of the substation includes: extracting the attribute data of vector graphic elements and the wiring relationship between vector graphic elements in the primary design drawing of the substation to obtain the device information and connection relationship information in the primary design drawing.
[0008] Furthermore, the primary design drawings of the substation include unstructured drawings; extracting the equipment information and connection relationship information from the primary design drawings of the substation includes: detecting and positioning the equipment symbols in the primary design drawings of the substation based on the YOLO model, and extracting the equipment names; extracting the text annotation areas in the primary design drawings based on the ResNet-50 network; recognizing the text in the text annotation areas based on the optical character recognition algorithm, and extracting the attribute data; tracking the cable paths in the primary design drawings based on the improved Bresenham algorithm, and extracting the connection relationship information in the primary design drawings.
[0009] Furthermore, the storage format of the structured design drawing data includes the JSON format or the relational database table format.
[0010] Furthermore, the structured design drawing data includes an equipment list, a connection relationship table, and auxiliary tables; wherein, the equipment list includes the equipment names and equipment types; the connection relationship table includes the electrical connection relationships between the equipment; the auxiliary tables include an equipment attribute table and an equipment model table.
[0011] Furthermore, mapping the structured design drawing data to a standard data model and a logical node association relationship includes: mapping the equipment names and equipment types in the equipment list to the standard data model in the preset dynamic semantic mapping rule library; converting the attribute data in the equipment attribute table into the standard data of the standard data model; determining the logical node association relationship of the standard data model based on the connection relationship table.
[0012] Furthermore, the method further includes: performing compliance verification on the SSD model of the substation based on syntax verification, topology verification, and semantic verification.
[0013] In a second aspect, an SSD model generation system corresponding to the primary design drawings of a substation provided by an embodiment of the present invention includes: a multimodal parsing module, a structured storage module, a rule engine module, and a verification module; wherein, the multimodal parsing module is used to extract the equipment information and connection relationship information from the primary design drawings of the substation; the equipment information includes the equipment names and attribute data; the structured storage module is used to construct structured design drawing data based on the equipment information and the connection relationship information; the rule engine module is used to map the structured design drawing data to a standard data model and a logical node association relationship based on a preset dynamic semantic mapping rule library; the rule engine module is further used to generate the SSD model of the substation based on the standard data model and the logical node association relationship; the verification module is used to perform compliance verification on the SSD model of the substation based on syntax verification, topology verification, and semantic verification.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the method provided by the embodiment of the present invention is implemented.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method provided by the embodiment of the present invention is implemented.
[0016] The present invention provides a method and a system for generating an SSD model corresponding to a primary design drawing of a substation. Through multimodal data parsing, it is compatible with processing structured and unstructured primary design drawings, extracts key information from primary design drawings of different formats of substations, automatically constructs an SSD model of the substation, reduces manual intervention, improves design efficiency and accuracy, and alleviates the technical problem in the prior art that it is difficult to adapt to diverse drawing formats and device types due to dependence on specific formats or tools. Description of the Drawings
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0018] Figure 1 It is a flowchart of a method for generating an SSD model corresponding to a primary design drawing of a substation provided by an embodiment of the present invention;
[0019] Figure 2 It is a schematic diagram of a system for generating an SSD model corresponding to a primary design drawing of a substation provided by an embodiment of the present invention. Detailed Embodiments
[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0021] Embodiment 1
[0022] Figure 1It is a flowchart of a method for generating an SSD model corresponding to the primary design drawing of a substation according to an embodiment of the present invention. As Figure 1 shown, the method specifically includes the following steps:
[0023] Step S102, extract the device information and connection relationship information in the primary design drawing of the substation; the device information includes the device name and attribute data.
[0024] Step S104, construct structured design drawing data based on the device information and connection relationship information.
[0025] Step S106, map the structured design drawing data to a standard data model and logical node association relationship based on a preset dynamic semantic mapping rule library.
[0026] Step S108, generate the SSD model of the substation based on the standard data model and logical node association relationship. Among them, the SSD model of the substation includes information such as a single-line connection diagram, device layout, and connection relationship.
[0027] Specifically, when the primary design drawing of the substation is a structured drawing; step S102 specifically includes the following steps: extract the attribute data of the vector graphic elements in the primary design drawing of the substation and the wiring relationship between the vector graphic elements to obtain the device information and connection relationship information in the primary design drawing.
[0028] For example, if the primary design drawing is an AutoCAD file (such as DWG, DXF format), access the drawing data through the API interface of AutoCAD. Extract all graphic elements in the drawing, such as device symbols, wiring relationships, text annotations, etc., and obtain key information such as device names, models, specifications, and wiring information.
[0029] Specifically, when the primary design drawing of the substation is an unstructured drawing; step S102 specifically includes the following steps:
[0030] Step S1021, detect and locate the device symbols in the primary design drawing of the substation based on the YOLO model, and extract the device names; for example, use the YOLOv7 model for device symbol detection and location;
[0031] Step S1022, extract the text annotation area in the primary design drawing based on the ResNet-50 network;
[0032] Step S1023, recognize the text in the text annotation area based on the optical character recognition (OCR) algorithm, and extract the attribute data;
[0033] Step S1024, based on the improved Bresenham algorithm, trace the cable path in the primary design drawing and extract the connection relationship information in the primary design drawing.
[0034] Specifically, during the cable tracing process of the improved Bresenham algorithm:
[0035] Add a slope tolerance mechanism (±5°) to allow the recognition of non-strictly straight paths;
[0036] Use a multi-scale sliding window to detect cable intersections to avoid missing connection relationships.
[0037] For example, when the drawing is stored in an image file (such as JPG, PNG, etc.), use image intelligent recognition technology to process the drawing. Use computer vision algorithms (such as OCR, convolutional neural network, etc.) to recognize the device symbols and text in the drawing, and extract the device name, device attributes, and connection information.
[0038] Optionally, the storage format of the structured design drawing data includes JSON format or relational database table format.
[0039] Optionally, the structured design drawing data includes a device list, a connection relationship table, and auxiliary tables;
[0040] Among them,
[0041] The device list includes the device name and device type;
[0042] The connection relationship table includes the electrical connection relationships between devices;
[0043] The auxiliary tables include a device attribute table and a device model table to ensure the integrity of the data structure.
[0044] Specifically, step S106 also includes the following steps:
[0045] Step S1061, map the device name and device type in the device list to the standard data model in the preset dynamic semantic mapping rule library; for example, the standard data module includes IEC 61850 standard devices;
[0046] Step S1062, convert the attribute data in the device attribute table into the standard data of the standard data model;
[0047] Step S1063, based on the connection relationship table, determine the logical node association relationship of the standard data model. For example, convert the physical connection relationship in the connection relationship table into the association relationship of IEC 61850 logical nodes (LNs).
[0048] Specifically, in the embodiments of the present invention, first, a preset dynamic semantic mapping rule library is constructed, including: Data model definition: Define a unified data model that contains information such as device type, attributes, and connection relationships. This data model should follow the standards of the power industry and be universal and extensible.
[0049] Predefined mapping rules: According to factors such as device type and connection relationship, formulate predefined mapping rules. The mapping rules are used to map the data in the design drawings to the unified data model to ensure that the definitions of various devices are consistent with the standard data model.
[0050] Then, using the predefined mapping rules, map device information, connection relationships, etc. from the original drawing data to the standardized data model. This step involves operations such as standardizing device names and logically mapping connection relationships.
[0051] Optionally, the structured design drawing data further includes an adjacency matrix of device relationships, and the method provided by the embodiments of the present invention further includes: Based on syntax verification, topology verification, and semantic verification, perform compliance verification on the SSD model of the substation.
[0052] Specifically, syntax verification: Verify the format compliance of the SSD file based on the IEC 61850-6 standard XSD file;
[0053] Topology verification: Verify the integrity and connectivity of electrical connections by traversing the adjacency matrix;
[0054] Semantic verification: Check whether the device type and attribute parameters conform to the standard semantics defined in IEC 61850-7-4.
[0055] As can be seen from the above description, the present invention provides a method and system for generating an SSD model corresponding to a primary design drawing of a substation. Compared with the prior art, it has the following technical effects:
[0056] (1) Improve efficiency: Automated processing significantly shortens the time from the design drawing to the SSD model, reduces manual intervention, and improves work efficiency;
[0057] (2) Reduce error rate: Through intelligent recognition and parsing technology, reduce errors when manually interpreting drawings and improve the accuracy of the model;
[0058] (3) Enhance flexibility: Support input of drawings in multiple formats, adapt to the drawing standards of different design institutes, and improve the universality of the method;
[0059] (4) Data standardization: Through the standardized data model, ensure that device definitions, connection relationships, etc. are consistent with industry standards, which is conducive to subsequent data processing and device management;
[0060] (5) Promote intelligentization: It provides basic data support for the digital and intelligent operation and maintenance of substations, which is conducive to the intelligent upgrade of the power system.
[0061] Embodiment 2
[0062] Figure 2 It is a schematic diagram of a system for generating an SSD model corresponding to the primary design drawings of a substation provided according to an embodiment of the present invention. As Figure 2 shown, the system includes: a multimodal parsing module 10, a structured storage module 20, a rule engine module 30, and a verification module 40.
[0063] Specifically, the multimodal parsing module 10 is used to extract device information and connection relationship information from the primary design drawings of the substation; the device information includes device names and attribute data;
[0064] The structured storage module 20 is used to construct structured design drawing data based on the device information and connection relationship information;
[0065] The structured storage module 20 is also used to store the structured design drawing data into a structured database;
[0066] The rule engine module 30 is used to map the structured design drawing data into a standard data model and logical node association relationships based on a preset dynamic semantic mapping rule library;
[0067] The rule engine module 30 is also used to generate an SSD model of the substation based on the standard data model and logical node association relationships;
[0068] The verification module 40 is used to perform compliance verification on the SSD model of the substation based on syntax verification, topology verification, and semantic verification.
[0069] The present invention also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method provided in the embodiments of the present invention is implemented.
[0070] The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method provided in the embodiments of the present invention is implemented.
[0071] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention. Any reference signs in the claims should not be construed as limiting the claims involved.
[0072] In addition, it should be understood that although this specification is described according to embodiments, not every embodiment only contains an independent technical solution. This narrative manner of the specification is only for clarity. Those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A method for generating an SSD model corresponding to a primary design drawing of a substation, characterized in that, Including: Extracting device information and connection relationship information from the primary design drawings of a substation; The device information includes device name and attribute data; Based on the device information and the connection relationship information, constructing structured design drawing data; Based on a preset dynamic semantic mapping rule library, mapping the structured design drawing data into a standard data model and logical node association relationships; Based on the standard data model and the logical node association relationships, generating the SSD model of the substation.
2. The method according to claim 1, wherein: The primary design drawings of the substation include structured drawings; extracting device information and connection relationship information from the primary design drawings of the substation includes: Extracting the attribute data of vector graphic elements and the wiring relationship between vector graphic elements in the primary design drawings of the substation to obtain the device information and connection relationship information in the primary design drawings.
3. The method according to claim 1, wherein: The primary design drawings of the substation include unstructured drawings; extracting device information and connection relationship information from the primary design drawings of the substation includes: Detecting and locating device symbols in the primary design drawings of the substation based on the YOLO model and extracting the device names; Extracting the text annotation areas in the primary design drawings based on the ResNet-50 network; Identifying the text in the text annotation areas based on an optical character recognition algorithm and extracting the attribute data; Tracking the cable paths in the primary design drawings based on an improved Bresenham algorithm and extracting the connection relationship information in the primary design drawings.
4. The method according to claim 1, characterized in that: The storage format of the structured design drawing data includes JSON format or relational database table format.
5. The method according to claim 1, wherein: The structured design drawing data includes a device list, a connection relationship table, and auxiliary tables; among them, The device list includes device names and device types; The connection relationship table includes the electrical connection relationships between devices; The auxiliary tables include a device attribute table and a device model table.
6. The method according to claim 5, characterized in that: Mapping the structured design drawing data into a standard data model and logical node association relationships includes: Mapping the device names and device types in the device list to the standard data model in the preset dynamic semantic mapping rule library; Converting the attribute data in the device attribute table into the standard data of the standard data model; Based on the connection relationship table, determining the logical node association relationships of the standard data model.
7. The method according to claim 1, characterized in that: The method further includes: performing compliance verification on the SSD model of the substation based on syntax verification, topology verification, and semantic verification.
8. A system for generating an SSD model corresponding to a primary design drawing of a substation, characterized in that, Including: A multimodal parsing module, a structured storage module, a rule engine module, and a verification module; among them, The multimodal parsing module is used to extract device information and connection relationship information from the primary design drawings of the substation; the device information includes device name and attribute data; The structured storage module is used to construct structured design drawing data based on the device information and the connection relationship information; The rule engine module is used to map the structured design drawing data into a standard data model and logical node association relationships based on a preset dynamic semantic mapping rule library; The rule engine module is further configured to generate an SSD model of the substation based on the standard data model and the logical node association relationship. The verification module is configured to perform compliance verification on the SSD model of the substation based on syntax verification, topology verification, and semantic verification.
9. An electronic device, characterized in that, Including: A memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method according to any one of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by the processor, the method according to any one of claims 1-7 is implemented.
Citation Information
Cited By
Main wiring intelligent modeling method based on SSD graph-model integration and computer equipment
CN121435425A
