A secondary system drawing system based on graph code positioning full loop diagram

The secondary system drawing system based on the full circuit diagram of the diagram code location automatically parses the diagram code information and generates the circuit diagram, which solves the problems of low efficiency and frequent errors in the existing technology and realizes efficient and accurate circuit diagram drawing.

CN120510247BActive Publication Date: 2026-05-22CHINA SOUTHERN POWER GRID ENERGY STORAGE CO LTD WESTERN MAINTENANCE & TEST BRANCH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA SOUTHERN POWER GRID ENERGY STORAGE CO LTD WESTERN MAINTENANCE & TEST BRANCH
Filing Date
2025-05-12
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

Existing secondary drawing systems require a lot of manual operation and cannot directly convert graphic code information into circuit diagrams, resulting in low efficiency and problems such as missing or incorrect connections.

Method used

A secondary system drawing system based on full-loop diagram positioning using graphic codes is adopted. It includes a graphic code parsing module, a topology generation module, a loop identification drawing module, and a user interaction module. It automatically parses graphic code information, generates topological relationships between components and identifies loops, and automatically generates circuit diagrams. It includes graphic code recognition, topology relationship construction, loop classification, and user interaction functions.

Benefits of technology

It significantly reduces drawing design time, improves drawing efficiency, automatically identifies closed loops, avoids missing connections, incorrect connections and logical errors, and improves the engineering reliability of drawings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120510247B_ABST
    Figure CN120510247B_ABST
Patent Text Reader

Abstract

The application provides a secondary system drawing system based on a graph code positioning full-loop diagram, and relates to the field of electric digital data processing, and comprises a graph code analysis module, a topology generation module, a loop identification and drawing module and a user interaction module; the graph code analysis module is used for receiving graph code information and performing analysis processing, the topology generation module generates a topology relationship between elements based on an analysis result, the loop identification and drawing module identifies a loop based on the topology relationship and performs drawing, and the user interaction module is used for performing interactive operation and displaying a final drawing result; the system can automatically analyze and process graph codes, convert the graph codes into circuit diagrams with more intuitive information quantity, and improve work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic digital data processing, and specifically to a secondary system drawing system based on full-loop diagram positioning using graphic codes. Background Technology

[0002] The design of secondary circuits in power systems is a crucial link in ensuring the normal operation of the system's automated control, protection, and monitoring functions. Traditional secondary system drawings are mainly drawn manually, relying on engineers to manually organize a large amount of component information and connection logic. This is not only inefficient but also prone to problems such as missing or incorrect connections, leading to unclear logic and difficulty in positioning during subsequent construction or maintenance. Therefore, a drawing system that can automatically convert drawing code information into circuit diagrams is needed to improve work efficiency.

[0003] The foregoing description of the background art is intended only to facilitate understanding of the invention. This description does not endorse or acknowledge any common general knowledge in the materials mentioned.

[0004] Many secondary drawing systems have been developed. Extensive research and reference have revealed existing systems such as the one disclosed in publication number CN111522537B. These systems generally involve: analyzing the drawing patterns of electrical secondary circuit diagrams and identifying the drawing characteristics of different types of electrical components in the secondary circuit; defining custom function names based on the characteristics of each electrical component in the secondary circuit, and writing corresponding parametric drawing programs for the electrical components based on these custom function names; placing the parametric drawing program file in the installation directory of the drawing software, modifying the internal settings of the drawing software, and loading the parametric drawing program file into the software's startup items; starting the drawing software, inputting the custom drawing function in the command line, calling the parametric drawing program, and achieving parametric drawing to create the electrical secondary circuit diagram. However, this system still requires a significant amount of manual operation for drawing and cannot directly convert diagram information into circuit diagrams, thus its work efficiency needs further improvement. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings by proposing a secondary system drawing system based on full-loop diagram positioning using image codes.

[0006] The present invention adopts the following technical solution:

[0007] A secondary system drawing system based on image code positioning full-loop diagram includes an image code parsing module, a topology generation module, a loop identification drawing module, and a user interaction module;

[0008] The image code parsing module is used to receive image code information and perform parsing processing; the topology generation module generates the topological relationship between components based on the parsing result; the loop identification and drawing module identifies loops based on the topological relationship and draws them; and the user interaction module is used to perform interactive operations and display the final drawing result.

[0009] The image code parsing module includes an image code recognition unit, an information matching unit, and a location positioning unit. The image code recognition unit is used to identify the device type, number, and function identifier to which the image code belongs. The information matching unit is used to map the image code to standard device attributes in the database. The location positioning unit is used to determine the location and logical area to which the device belongs in the image.

[0010] The topology generation module includes a logical relationship construction unit, a connection template calling unit, and a structure verification unit. The logical relationship construction unit establishes the connection logic between devices based on device attributes and graphic code rules. The connection template calling unit is used to quickly construct local connections by referencing commonly used loop connection templates. The structure verification unit is used to monitor structural anomalies such as isolated points and redundant connections in the topology.

[0011] The circuit identification and drawing module includes a circuit classification unit, a path tracking unit, and a graphic generation unit. The circuit classification unit is used to identify types such as control circuits, trip and close circuits, and protection circuits. The path tracking unit is used to trace the closed path of the circuit and confirm the starting and ending components. The graphic generation unit draws equipment symbols and connection lines according to electrical diagram standards.

[0012] The user interaction module includes an input management unit, a drawing interaction unit, and a result output unit. The input management unit is used to support batch import of drawing codes and setting of circuit parameters. The drawing interaction unit is used to edit components and view their attributes. The result output unit is used to export the final drawing into a set file.

[0013] Furthermore, the logical relationship construction unit includes an attribute association processor, a connection path generation processor, and a priority judgment processor. The attribute association processor automatically determines the upstream and downstream components that the device may connect to based on the device's functions. The connection path generation processor generates connection paths based on the logical rules between components. The priority judgment processor is used to determine the key logical path that is prioritized among multiple connection options.

[0014] Furthermore, the connection path generation processor calculates the connection score S between the two elements according to the following formula. ij :

[0015] S ij =α·f(F i F j )+β·d(Pi P j )+γ·r(R i R j );

[0016] Where, f(F) i F j ) represents the upstream and downstream rating between the i-th component and the j-th component, d(P i P j ) represents the spatial distance between the i-th component and the j-th component, r(R) i R j ) represents the loop rule matching degree between the i-th element and the j-th element, where α, β, and γ are three weighting coefficients;

[0017] When the connection score is greater than the minimum connection threshold, it means that the two components can be connected.

[0018] Furthermore, the connection path generation processor calculates the spatial distance between the two elements according to the following formula:

[0019]

[0020] Among them, P i =(x i y i , z i ), representing the logical position of the i-th element;

[0021] The matching degree of the loop rule is obtained directly by calling the loop rule library.

[0022] Furthermore, the loop classification unit includes a loop rule base, a loop attribute analysis processor, and a loop identification processor. The loop rule base is used to store the identification logic for different loop types. The loop attribute analysis processor is used to analyze the connection relationship and determine the loop type. The loop identification processor is used to assign a unique ID and type label to the identified loop.

[0023] The beneficial effects achieved by this invention are:

[0024] This system automatically obtains equipment attributes, location, and function information through code parsing, eliminating the need for manual modeling and significantly reducing drawing design time. It is particularly suitable for the rapid drawing requirements of large-scale electrical engineering projects, improving drawing efficiency. Furthermore, the system automatically generates equipment topology and identifies closed loops, verifying connection logic based on loop rules to effectively avoid omissions, misconnections, and logical errors, thereby improving the engineering reliability of drawings and ensuring loop accuracy.

[0025] To further understand the features and technical content of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are for reference and illustration only and are not intended to limit the present invention. Attached Figure Description

[0026] Figure 1 This is a schematic diagram of the overall structural framework of the present invention;

[0027] Figure 2 This is a schematic diagram of the image code parsing module of the present invention;

[0028] Figure 3 This is a schematic diagram of the topology generation module of the present invention;

[0029] Figure 4 This is a schematic diagram of the circuit identification and drawing module of the present invention;

[0030] Figure 5 This is a schematic diagram of the user interaction module of the present invention;

[0031] Figure 6 This is a comparison diagram showing the effects of different drawing methods of the present invention. Detailed Implementation

[0032] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can understand the advantages and effects of the present invention from the content disclosed in this specification. The present invention can be implemented or applied through other different specific embodiments, and various details in this specification can also be modified and changed based on different viewpoints and applications without departing from the spirit of the present invention. Furthermore, the accompanying drawings of the present invention are for simple illustrative purposes only and are not depictions of actual dimensions; this is stated beforehand. The following embodiments will further describe the relevant technical content of the present invention in detail, but the disclosed content is not intended to limit the scope of protection of the present invention.

[0033] Example 1.

[0034] This embodiment provides a secondary system drawing system based on full-loop diagram positioning using image codes, combined with... Figure 1 It includes a code parsing module, a topology generation module, a loop identification and drawing module, and a user interaction module;

[0035] The image code parsing module is used to receive image code information and perform parsing processing; the topology generation module generates the topological relationship between components based on the parsing result; the loop identification and drawing module identifies loops based on the topological relationship and draws them; and the user interaction module is used to perform interactive operations and display the final drawing result.

[0036] The image code parsing module includes an image code recognition unit, an information matching unit, and a location positioning unit. The image code recognition unit is used to identify the device type, number, and function identifier to which the image code belongs. The information matching unit is used to map the image code to standard device attributes in the database. The location positioning unit is used to determine the location and logical area to which the device belongs in the image.

[0037] The topology generation module includes a logical relationship construction unit, a connection template calling unit, and a structure verification unit. The logical relationship construction unit establishes the connection logic between devices based on device attributes and graphic code rules. The connection template calling unit is used to quickly construct local connections by referencing commonly used loop connection templates. The structure verification unit is used to monitor structural anomalies such as isolated points and redundant connections in the topology.

[0038] The circuit identification and drawing module includes a circuit classification unit, a path tracking unit, and a graphic generation unit. The circuit classification unit is used to identify types such as control circuits, trip and close circuits, and protection circuits. The path tracking unit is used to trace the closed path of the circuit and confirm the starting and ending components. The graphic generation unit draws equipment symbols and connection lines according to electrical diagram standards.

[0039] The user interaction module includes an input management unit, a drawing interaction unit, and a result output unit. The input management unit is used to support batch import of drawing codes and setting of circuit parameters. The drawing interaction unit is used to edit components and view their attributes. The result output unit is used to export the final drawing into a set file.

[0040] The logical relationship construction unit includes an attribute association processor, a connection path generation processor, and a priority judgment processor. The attribute association processor automatically determines the upstream and downstream components that the device may connect to based on the device's functions. The connection path generation processor generates connection paths based on the logical rules between components. The priority judgment processor is used to determine the key logical path that is prioritized among multiple connection options.

[0041] The connection path generation processor calculates the connection score S between the two components according to the following formula. ij :

[0042] S ij =α·f(F i F j )+β·d(P i P j )+γ·r(R i R j );

[0043] Where, f(F) i F j) represents the upstream and downstream rating between the i-th component and the j-th component, d(P i P j ) represents the spatial distance between the i-th component and the j-th component, r(R) i R j ) represents the loop rule matching degree between the i-th element and the j-th element, where α, β, and γ are three weighting coefficients;

[0044] When the connection score is greater than the minimum connection threshold, it means that the two components can be connected.

[0045] The connection path generation processor calculates the spatial distance between the two components according to the following formula:

[0046]

[0047] Among them, P i =(x i y i , z i ), representing the logical position of the i-th element;

[0048] The matching degree of the loop rule is obtained directly by calling the loop rule library.

[0049] The loop classification unit includes a loop rule base, a loop attribute analysis processor, and a loop identification processor. The loop rule base is used to store the identification logic for different loop types. The loop attribute analysis processor is used to analyze the connection relationship and determine the loop type. The loop identification processor is used to assign a unique ID and type label to the identified loop.

[0050] Example 2.

[0051] This embodiment includes all the contents of Embodiment 1, and provides a secondary system drawing system based on image code positioning full loop diagram, including an image code parsing module, a topology generation module, a loop identification drawing module and a user interaction module;

[0052] The image code parsing module is used to receive image code information and perform parsing processing; the topology generation module generates the topological relationship between components based on the parsing result; the loop identification and drawing module identifies loops based on the topological relationship and draws them; and the user interaction module is used to perform interactive operations and display the final drawing result.

[0053] Combination Figure 2The image code parsing module includes an image code recognition unit, an information matching unit, and a location positioning unit. The image code recognition unit is used to identify the device type, number, and function identifier to which the image code belongs. The information matching unit is used to map the image code to standard device attributes in the database. The location positioning unit is used to determine the location and logical area to which the device belongs in the image.

[0054] Combination Figure 3 The topology generation module includes a logical relationship construction unit, a connection template calling unit, and a structure verification unit. The logical relationship construction unit establishes the connection logic between devices based on device attributes and graphic code rules. The connection template calling unit is used to quickly construct local connections by referencing commonly used loop connection templates. The structure verification unit is used to monitor structural anomalies such as isolated points and redundant connections in the topology.

[0055] Combination Figure 4 The circuit identification and drawing module includes a circuit classification unit, a path tracking unit, and a graphic generation unit. The circuit classification unit is used to identify types such as control circuits, trip and close circuits, and protection circuits. The path tracking unit is used to trace the closed path of the circuit and confirm the starting and ending components. The graphic generation unit draws equipment symbols and connecting lines according to electrical diagram standards.

[0056] Combination Figure 5 The user interaction module includes an input management unit, a drawing interaction unit, and a result output unit. The input management unit is used to support batch import of drawing codes and setting of circuit parameters. The drawing interaction unit is used to edit components and view their attributes. The result output unit is used to export the final drawing to a set file.

[0057] The image code recognition unit includes an image code receiving processor, a character parsing processor, and a semantic judgment processor. The image code receiving processor is used to receive image code information input by the user. The character parsing processor is used to split the image code according to a preset encoding rule. The semantic judgment processor is used to judge the semantic information of the split encoding.

[0058] The information matching unit includes a database retrieval processor, an attribute comparison processor, and a data encapsulation processor. The database retrieval processor matches device attributes by calling the database. The attribute comparison processor compares whether the attribute information extracted from the matched attribute information is consistent. The data encapsulation processor encapsulates the price matching results into structured data.

[0059] The location positioning unit includes a location identifier parsing processor, a graphic element positioning processor, and a spatial conflict detection processor. The location identifier parsing processor is used to identify the location code in the split encoding. The graphic element positioning processor is used to allocate the components to the corresponding logical regions. The spatial conflict detection processor is used to detect whether there is device overlap and layout conflict in the unified region.

[0060] The logical relationship construction unit includes an attribute association processor, a connection path generation processor, and a priority judgment processor. The attribute association processor automatically determines the upstream and downstream components that the device may connect to based on the device's functions. The connection path generation processor generates connection paths based on the logical rules between components. The priority judgment processor is used to determine the key logical path that is prioritized among multiple connection options.

[0061] The attribute association processor determines the upstream and downstream scores between two components according to the following formula:

[0062]

[0063] f(F i F j () represents the upstream and downstream rating between the i-th component and the j-th component;

[0064] The connection path generation processor calculates the connection score S between the two components according to the following formula. ij :

[0065] S ij =α·f(F i F j )+β·d(P i P j )+γ·r(R i R j );

[0066] Wherein d(P i P j ) represents the spatial distance between the i-th component and the j-th component, r(R) i R j ) represents the loop rule matching degree between the i-th element and the j-th element, where α, β, and γ are three weighting coefficients;

[0067] When the connection score is greater than the minimum connection threshold, it means that the two components can be connected.

[0068] The connection path generation processor calculates the spatial distance between the two components according to the following formula:

[0069]

[0070] Among them, Pi =(x i y i , z i ), representing the logical position of the i-th element;

[0071] The matching degree of the loop rule is obtained directly by calling the loop rule library;

[0072] The connection template calling unit includes a template matching processor, a template application processor, and a template adaptation processor. The template matching processor selects a suitable connection structure from the template library according to the device type. The template application processor applies the connection structure contained in the selected template to the current topology. The template adaptation processor is used to adjust the standard nodes in the template to adapt to the actually identified graphic information.

[0073] The structure verification unit includes a connectivity check processor, a redundant path identification processor, and a closure verification processor. The connectivity check processor is used to detect whether there is at least one valid connection among all devices. The redundant path identification processor is used to identify unnecessary duplicate connections and make deletion suggestions. The closure verification processor is used to check whether the loop forms a closed path and identify potential breakpoints.

[0074] The loop classification unit includes a loop rule base, a loop attribute analysis processor, and a loop identification processor. The loop rule base is used to store the identification logic for different loop types. The loop attribute analysis processor is used to analyze the connection relationship and determine the loop type. The loop identification processor is used to assign a unique ID and type label to the identified loop.

[0075] The path tracking unit includes a path search processor, a start and end point confirmation processor, and a path integrity check processor. The path search processor recursively searches for closed paths from the loop start point according to the connection relationship. The start and end point confirmation processor confirms the start and end points of the path based on the found closed paths. The path integrity check processor is used to verify whether the path is missing any critical equipment.

[0076] The graphics generation unit includes a symbol scheduling processor, an automatic layout processor, and a connection drawing processor. The symbol scheduling processor is used to call the standard symbol library to assign graphic symbols to each device. The automatic layout processor automatically arranges the positions of graphic elements according to the path direction and the area location. The connection drawing processor is used to draw the connecting lines between graphic elements.

[0077] The input management unit includes an import interface processor, an input verification processor, and a parameter configuration processor. The import interface processor is used to support the import of graphic code files. The input verification processor is used to detect the integrity and format correctness of the imported data. The parameter configuration processor is used to set parameter information such as voltage level and loop grouping.

[0078] The drawing interaction unit includes a preview display processor, a graphic editing processor, and an attribute viewing processor. The preview display processor is used to display image information during the drawing process, the graphic editing processor is used to operate and edit the displayed components, and the attribute viewing processor is used to click to display detailed information of each component.

[0079] The result output unit includes an unseen export processor, a project packaging processor, and a version management processor. The file export processor is used to export the drawing results to the required file format. The project packaging processor is used to package the drawings, drawing codes, and connection relationships as a complete project file for saving. The version management processor is used to save multiple historical version files and record change information for traceability.

[0080] The 'i' and 'j' mentioned above are ordinal numbers used to represent sequence numbers and have no actual meaning.

[0081] The following is a partial code description of this system:

[0082]

[0083]

[0084] Different drawing methods are used for different numbers of graphic codes, and the corresponding completion times are statistically analyzed, such as... Figure 6 As shown.

[0085] The content disclosed above is only a preferred and feasible embodiment of the present invention, and is not intended to limit the scope of protection of the present invention. Therefore, all equivalent technical changes made based on the content of the present invention specification and drawings are included within the scope of protection of the present invention. Furthermore, the elements therein can be updated as technology develops.

Claims

1. A secondary system drawing system based on full-loop diagram positioning using image codes, characterized in that, It includes a code parsing module, a topology generation module, a loop identification and drawing module, and a user interaction module; The image code parsing module is used to receive image code information and perform parsing processing; the topology generation module generates the topological relationship between components based on the parsing result; the loop identification and drawing module identifies loops based on the topological relationship and draws them; and the user interaction module is used to perform interactive operations and display the final drawing result. The image code parsing module includes an image code recognition unit, an information matching unit, and a location positioning unit. The image code recognition unit is used to identify the device type, number, and function identifier to which the image code belongs. The information matching unit is used to map the image code to standard device attributes in the database. The location positioning unit is used to determine the location and logical area to which the device belongs in the image. The topology generation module includes a logical relationship construction unit, a connection template calling unit, and a structure verification unit. The logical relationship construction unit establishes the connection logic between devices based on device attributes and graphic code rules. The connection template calling unit is used to quickly construct local connections by referencing commonly used loop connection templates. The structure verification unit is used to monitor anomalies such as isolated points and redundant connection structures in the topology. The circuit identification and drawing module includes a circuit classification unit, a path tracking unit, and a graphic generation unit. The circuit classification unit is used to identify the types of control circuits, trip and close circuits, and protection circuits. The path tracking unit is used to trace the closed path of the circuit and confirm the starting and ending components. The graphic generation unit draws equipment symbols and connection lines according to electrical diagram standards. The user interaction module includes an input management unit, a drawing interaction unit, and a result output unit. The input management unit is used to support batch import of drawing codes and setting of circuit parameters. The drawing interaction unit is used to edit components and view their attributes. The result output unit is used to export the final drawing to a set file. The logical relationship construction unit includes an attribute association processor, a connection path generation processor, and a priority judgment processor. The attribute association processor automatically determines the upstream and downstream components that the device may connect to based on the device's functions. The connection path generation processor generates connection paths based on the logical rules between components. The priority judgment processor is used to determine the key logical path that is prioritized among multiple connection options. The attribute association processor determines the upstream and downstream scores between two components according to the following formula: ; This represents the upstream and downstream rating between the i-th component and the j-th component; The connection path generation processor calculates the connection score S between the two components according to the following formula. ij : ; in, This represents the upstream and downstream rating between the i-th component and the j-th component. This represents the spatial distance between the i-th component and the j-th component. This represents the loop rule matching degree between the i-th element and the j-th element. , , There are 3 weighting coefficients; When the connection score is greater than the minimum connection threshold, it means that the two components can be connected. The connection path generation processor calculates the spatial distance between the two components according to the following formula: ; in, , representing the logical position of the i-th element; The matching degree of the loop rule is obtained directly by calling the loop rule library; The loop classification unit includes a loop rule base, a loop attribute analysis processor, and a loop identification processor. The loop rule base is used to store the identification logic for different loop types. The loop attribute analysis processor is used to analyze the connection relationship and determine the loop type. The loop identification processor is used to assign a unique ID and type label to the identified loop.