Method and system for automatically identifying primary equipment electrical main wiring diagram and generating scheduling number diagram, medium and processor

By automatically identifying and converting the main electrical wiring diagram and generating the scheduling number diagram, the time-consuming and error-prone problems caused by traditional power design relying on manual graph recognition are solved, and automated processing is realized, improving work efficiency and accuracy.

CN120047955APending Publication Date: 2025-05-27BEIJING LUYAO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510201931.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Traditional power design relies on manual graph recognition, which is time-consuming and error-prone, making it difficult to cope with the rapid iteration of complex power grids. Existing tools only support semi-automation and cannot be directly identified from the electrical main wiring diagram and converted into a scheduling number diagram.

Method used

Provides methods to automatically identify and generate scheduling number diagrams for primary equipment electrical main wiring diagrams, including drawing preprocessing, equipment and connection relationship identification, structured drawing generation, manual intervention verification and automatic numbering, realizing full automation, from the electrical main wiring diagram to the scheduling number diagrams.

Benefits of technology

It reduces the workload of manual topology identification, manual drawing and labeling, improves the efficiency of primary equipment numbering diagram drawing and numbering, realizes automated processing, and improves work efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120047955A_ABST
    Figure CN120047955A_ABST
Patent Text Reader

Abstract

The invention discloses a method for automatically identifying an electrical main wiring diagram of primary equipment and generating a scheduling number diagram, and relates to the technical field of drawing processing. Identifying the equipment and the connection relation according to the pre-processed drawing; generating a structured drawing according to the identification equipment and the connection relationship; performing manual intervention verification on the generated structured drawing; and automatically numbering the equipment in the structured drawing, and outputting a scheduling numbering graph. According to the method, the primary equipment electrical main wiring diagram is automatically identified and converted, the primary equipment dispatching number diagram is generated, the workload of manual topology identification and manual drawing and labeling is reduced, and the drawing and numbering efficiency of the primary equipment number diagram is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical equipment drawing processing, and particularly to a method, system, medium and processor for automatically identifying a primary equipment electrical main connection diagram and generating a dispatching number diagram. Background Art

[0002] The primary equipment electrical main connection diagram, also known as the primary system diagram or main connection diagram, is an electrical diagram used to represent the connection sequence of primary equipment (such as generators, transformers, circuit breakers, disconnectors, etc.) in a power system. These devices directly participate in the production, transmission and distribution of electric energy and constitute the electrical circuit of the power system.

[0003] The existing publication number is CN115690824A, and the patent name is an intelligent conversion method and device for wiring drawing files of power grid equipment, which is used to convert a graphic file into a graphic model file, identify the voltage level and the number of voltage levels in the graphic file; identify the wiring method of each voltage level; identify the power intervals of each voltage level; identify the bus-coupling equipment, generate topology description information, and draw the graphic model file according to the topology description information. The present invention can quickly identify and convert the graphic file in the power system into a graphic model file, so as to obtain a drawing that meets the new specifications, so as to be able to reuse historical drawings and improve the drawing management efficiency. The publication number is CN117113600A, and the patent name is an intelligent conversion method for wiring diagrams of power grid substations. By automatically identifying the wiring diagrams of power grid substations, information such as graphic elements, texts, connection lines, and topological relationships (including interval information) between graphic elements, and the corresponding relationships between graphic elements and texts are extracted, and automatically converted into CIM / G format files, which can greatly reduce the time for drawing wiring diagrams of power grid substations and improve work efficiency.

[0004] Traditional power design relies on manual drawing recognition, which is time-consuming and error-prone, and it is difficult to cope with the rapid iteration of complex power grids. Existing tools only support semi-automation, and still require manual intervention in topological analysis and number allocation; moreover, the existing recognition technologies of the above two methods are basically scanning diagrams of historical dispatching number diagrams, visio, and AutoCAD wiring diagrams recognized as SVG dispatching number diagrams that meet the specifications, and cannot directly identify and convert from the electrical main connection diagram to the dispatching number diagram.

[0005] In view of this, there is a need for a method, system, medium and processor for automatically identifying a primary equipment electrical main connection diagram and generating a dispatching number diagram. Summary of the Invention

[0006] In view of the problems existing in the prior art, the present invention provides a method, system, medium and processor for automatically identifying a primary equipment electrical main connection diagram and generating a dispatching numbering diagram, which can realize the automatic identification, conversion and generation of a primary equipment dispatching numbering diagram, reduce the workload of manual topology identification, manual drawing and annotation, and improve the drawing and numbering efficiency of the primary equipment numbering diagram. The specific technical solutions are as follows:

[0007] A method for automatically identifying a primary equipment electrical main connection diagram and generating a dispatching numbering diagram, comprising:

[0008] Inputting a drawing and preprocessing the drawing;

[0009] Identifying equipment and connection relationships based on the preprocessed drawing;

[0010] Generating a structured drawing according to the identified equipment and connection relationships;

[0011] Performing manual intervention verification on the generated structured drawing;

[0012] Automatically numbering the equipment in the structured drawing and outputting a dispatching numbering diagram.

[0013] Preferably, the preprocessing of the input drawing specifically includes:

[0014] Converting the color image in the drawing to gray to reduce color interference;

[0015] Enhancing the contrast between the lines and the background and adjusting the contrast and brightness;

[0016] Performing denoising processing on the drawing, enhancing the line edges and vectorizing the graphic contours;

[0017] Merging redundant nodes, correcting geometric shapes, separating layers, and converting to an SVG drawing;

[0018] Calibrating the drawing by setting a scale.

[0019] Preferably, the identifying equipment and connection relationships based on the preprocessed drawing specifically includes:

[0020] By collecting and sorting out the style information of the equipment, constructing a comprehensive equipment feature database;

[0021] Using the preprocessed drawing data, extracting the key features of the equipment, and matching these features with the information in the equipment feature database to identify the primary equipment in the drawing;

[0022] Extracting the text information in the drawing;

[0023] Make a comprehensive judgment by combining context information, the relative position relationship between the device and the text, and the specific layout rules of the device to achieve the correspondence between the device and the text information;

[0024] Conduct topological structure analysis through node analysis and line tracing, so as to realize the recognition of devices and connection relationships.

[0025] Preferably, generating a structured drawing according to the recognized device and connection relationship specifically includes:

[0026] Remove the devices and parameters that are not necessary to be displayed in the scheduling number drawing, reducing the complexity and redundancy of the drawing;

[0027] By analyzing the electrical characteristics of the devices and the logical relationship between them, re-verify and refine the connection relationship between the devices, and analyze and construct a complete topological structure that conforms to both physical connection and electrical logic;

[0028] Relying on the constructed complete topological structure, intelligently draw the corresponding wiring diagram on the drawing automatically according to the connection relationship between the devices;

[0029] Optimize the layout of the wiring diagram to form a structured drawing.

[0030] Preferably, the artificial intervention verification of the generated structured drawing specifically includes:

[0031] Provide a visual interface for users to browse the wiring diagram in the generated structured drawing;

[0032] If it is found that there are errors in the wiring diagram or the device layout needs to be adjusted, the user can directly modify it on the interface to manually verify and adjust the generated wiring diagram;

[0033] Respond and update the drawing in real time.

[0034] Preferably, automatically number the devices in the structured drawing and output a scheduling number drawing, specifically including:

[0035] According to the types of devices, their specific positions and voltage levels in the wiring diagram of the structure-optimized drawing, preset a set of numbering rules;

[0036] Based on the hierarchical relationship, topological structure and preset rules of the object, automatically achieve fast and accurate numbering of the devices, and generate an SVG drawing containing device numbers.

[0037] Preferably, denoise the drawing, enhance the line edges and vectorize the graphic contours, specifically:

[0038] Use the Otsu algorithm for adaptive threshold binary denoising processing;

[0039] Enhance the line edges using the Laplace operator;

[0040] Use the processed bitmap to create vectors of lines, curves, and complex graphic outlines.

[0041] An automatic recognition and generation system for the scheduling number diagram of the primary equipment electrical main wiring diagram, which applies the method described above, includes a drawing preprocessing module, an equipment and connection relationship recognition module, a structured drawing generation module, a manual intervention verification module, and a scheduling number diagram output module;

[0042] The drawing preprocessing module is used to preprocess the drawing;

[0043] The equipment and connection relationship recognition module is used to recognize the equipment in the drawing and the connection relationships between equipment;

[0044] The structured drawing generation module is used to generate a wiring diagram by removing unnecessary displayed equipment and parameters;

[0045] The manual intervention verification module is used to allow the user to view the drawing and edit the wiring diagram therein, and update the drawing in a timely manner;

[0046] The scheduling number diagram output module is used to number the wiring diagram and output the scheduling number diagram.

[0047] A computer-readable storage medium, which includes a stored program. When the program runs, it controls the device where the computer-readable storage medium is located to execute the method described above.

[0048] A processor, which is used to run a program. When the program runs, it executes the method described above.

[0049] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0050] 1. In the present invention, the whole process is automated. From the input of the primary equipment electrical main wiring diagram to the output of the scheduling number diagram, it is automatically carried out, enabling the automatic recognition, conversion, and generation of the primary equipment scheduling number diagram for the primary equipment electrical main wiring diagram, reducing the workload of manual topology recognition, manual drawing, and marking, and improving the drawing and numbering efficiency of the primary equipment number diagram.

[0051] 2. In the present invention, a visual interface is provided for the user to quickly correct recognition errors, improving usability. Brief Description of the Drawings

[0052] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.

[0053] Figure 1 It is the flowchart of the method of the present invention;

[0054] Figure 2 It is the schematic diagram of the system of the present invention. Specific embodiments

[0055] 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 some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0056] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.

[0057] It should also be understood that the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0058] It should be further understood that the term "and / or" used in the specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.

[0059] Embodiment 1

[0060] For the convenience of understanding the present invention, the following explanations are made for related terms:

[0061] Primary equipment: Equipment directly involved in the production, transmission and distribution of electric energy (such as circuit breakers, transformers, busbars).

[0062] Electrical main wiring diagram: A circuit diagram (electrical schematic diagram) showing the interconnection relationship of the main circuits of electrical equipment in a power plant, substation or distribution station.

[0063] Scheduling numbering diagram: A wiring diagram mainly used to identify and manage equipment such as circuit breakers, switches, disconnect switches, transformers, etc. and their connection relationships.

[0064] Equipment number: A unique identifier generated based on rules such as function and location.

[0065] Topological structure: The connection logic relationship between devices (such as series, parallel, star connection).

[0066] Please refer to Figure 1 As shown, the present invention discloses a method for automatically identifying and generating a scheduling numbering diagram for the primary equipment electrical main wiring diagram, including the following steps:

[0067] S1. Input the drawing and preprocess the drawing. The specific steps are as follows:

[0068] S11. Convert the color image to grayscale to reduce color interference;

[0069] S12. Enhance the contrast between the lines and the background, and adjust the contrast and brightness;

[0070] S13. Use the Otsu algorithm for adaptive threshold binaryzation for denoising processing;

[0071] S14. Use the Laplacian operator to enhance the line edges;

[0072] S15. Use the processed bitmap, and use various tools and methods to create lines, curves, and complex graphic contours for vectorization;

[0073] S16. Merge redundant nodes, correct geometries, separate layers, and convert to an SVG diagram;

[0074] S17. Calibrate the drawing by setting the scale to ensure consistency with the original file's scale.

[0075] S2. Identify the equipment and connection relationships based on the preprocessed drawing. The specific steps are as follows:

[0076] S21. By collecting and organizing the style information of the equipment, construct a comprehensive equipment feature database;

[0077] S22. Utilize the preprocessed drawing data, and through the HOG (Histogram of Oriented Gradients) feature extraction algorithm, extract the key features of the equipment, and match these features with the information in the equipment feature database to identify the primary equipment in the drawing (such as: circuit breakers, disconnect switches, transformers, voltage transformers, etc.);

[0078] S23. Adopt advanced OCR (Optical Character Recognition) technology to extract the text information in the drawing with high precision;

[0079] S24. Make a comprehensive judgment by combining context information, the relative position relationship between the device and the text, the specific layout rules of the device, etc., to achieve the correspondence between the device and the text information;

[0080] S25. Conduct topological structure analysis through node analysis and line tracing. Node analysis aims to identify each primary device node in the drawing; line tracing is to determine the connection relationship between each primary device node by analyzing the line direction in the drawing.

[0081] S3. Generate a structured drawing according to the identified device and connection relationship. The specific steps are as follows:

[0082] S31. Remove the devices and parameters that are not necessary to be displayed for the dispatching number drawing, reduce the complexity and redundancy of the drawing, which helps to improve the understanding and operation efficiency of the dispatching personnel, and ensure that the generated primary device dispatching number drawing is concise and clear, only containing the key information required for dispatching operation;

[0083] S32. Since some devices are removed, it is necessary to re-verify and refine the connection relationship between the devices by analyzing the electrical characteristics of the devices and the logical relationship between them, and analyze and construct a complete topological structure that conforms to the physical connection and satisfies the electrical logic;

[0084] S33. Relying on the constructed complete topological structure, intelligently draw the corresponding wiring diagram on the drawing according to the connection relationship between the devices, which greatly improves the drawing efficiency and reduces the error rate of manual drawing;

[0085] S34. Consider the layout and aesthetics of the devices, and perform optimization layout to ensure that the generated wiring diagram is both accurate and easy to understand.

[0086] S4. Conduct manual intervention verification on the generated structured drawing. The specific steps are as follows:

[0087] S41. Provide a visual interface. The user can easily browse the generated wiring diagram. Through simple drag and zoom operations, the user can view every detail in the drawing carefully;

[0088] S42. If it is found that there are errors in the wiring diagram or the device layout needs to be adjusted, the user can directly modify it on the interface to manually verify and adjust the generated wiring diagram;

[0089] S43. Respond and update the drawing in real time to improve the flexibility of verification and adjustment, and ensure the accuracy and practicality of the final drawing.

[0090] S5. Automatically number the devices in the structured drawing and output the dispatching number drawing. The specific steps are as follows:

[0091] S51. Preset a set of numbering rules according to the types of devices (such as circuit breakers, disconnectors, transformers, voltage transformers, etc.), their specific positions in the wiring diagram (such as busbars, feeders, etc.), voltage levels, etc.

[0092] S52. Automatically and accurately number the devices quickly according to the hierarchical relationship, topological structure of the objects and the preset rules, and generate an SVG drawing containing the device numbers according to the previous steps.

[0093] In summary, the construction of the device feature library in the present invention covers various drawing styles of mainstream primary devices (such as circuit breakers, earthing switches, oil-immersed transformers, etc.). Topological logic verification: Ensure that the connection relationship conforms to the physical constraints of the power system (such as circuit breakers must be connected in series in the branch). Number conflict detection: Verify the uniqueness of the numbers to avoid duplication. Human-machine collaboration: Provide a visual interface for users to check and quickly correct the recognition errors.

[0094] Embodiment 2

[0095] As Figure 2 shown, the automatic recognition and generation of the dispatching numbering diagram system for the primary device electrical main wiring diagram is applied to the above method, and includes a drawing preprocessing module, a device and connection relationship recognition module, a structured drawing generation module, an artificial intervention verification module, and a dispatching numbering diagram output module; the drawing preprocessing module is used to preprocess the drawing; the device and connection relationship recognition module is used to recognize the devices in the drawing and the connection relationship between the devices; the structured drawing generation module is used to generate the wiring diagram by removing unnecessary devices and parameters to be displayed; the artificial intervention verification module is used to show the drawing to the user and the wiring diagram therein can be edited, and the drawing is updated in time; the dispatching numbering diagram output module is used to perform exciting numbering on the wiring diagram and output the dispatching numbering diagram.

[0096] Embodiment 3

[0097] A computer-readable storage medium, the computer-readable storage medium includes a stored program, wherein when the program runs, it controls the device where the computer-readable storage medium is located to execute the above method.

[0098] Embodiment 4

[0099] A processor, the processor is used to run a program, wherein when the program runs, it executes the above method.

[0100] Those of ordinary skill in the art can realize that the units of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.

[0101] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored, etc.

[0102] In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0103] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs, etc., which can store program codes.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of each embodiment of the present invention, and they should all be covered by the scope of the claims and the description of the present invention.

Claims

1. A method for automatically identifying the electrical main wiring diagram of a primary device and generating a dispatch number diagram, characterized in that: include: Input drawings and pre-process them; Identify equipment and connection relationships based on pre-processed drawings; Generate structured drawings based on the identified equipment and connection relationships; Perform manual intervention verification on the generated structured drawings; Automatically number the equipment in the structured drawings and output the scheduling numbering diagram.

2. The method for automatically identifying the electrical main wiring diagram of a primary equipment and generating a dispatch number diagram according to claim 1 is characterized in that: The input drawing preprocessing specifically includes: Convert color images in drawings to gray to reduce color interference; Enhance the contrast between lines and background, adjust contrast and brightness; De-noise drawings, enhance line edges, and vectorize graphic outlines; Merge redundant nodes, correct geometric shapes, separate layers, and convert to SVG images; Calibrate the drawing by setting the scale.

3. The method for automatically identifying the electrical main wiring diagram of a primary equipment and generating a dispatch number diagram according to claim 1 is characterized in that: The identifying of the equipment and connection relationship according to the pre-processed drawings specifically includes: Build a comprehensive device feature database by collecting and organizing device style information; Using the preprocessed drawing data, the key features of the equipment are extracted and matched with the information in the equipment feature database to identify the primary equipment in the drawing; Extract text information from drawings; Combine context information, the relative position relationship between the device and the text, and the specific layout rules of the device to make a comprehensive judgment and achieve the correspondence between the device and the text information; Topological structure analysis is performed through node analysis and line tracing to identify devices and connection relationships.

4. The method for automatically identifying the electrical main wiring diagram of a primary equipment and generating a dispatch number diagram according to claim 1 is characterized in that: The generating of structured drawings according to the identification of devices and connection relationships specifically includes: Remove unnecessary equipment and parameters from the dispatch number diagram to reduce the complexity and redundancy of the diagram; By analyzing the electrical characteristics of the devices and their logical relationships, we can re-verify and refine the connection relationships between the devices, and analyze and build a complete topology structure that meets both physical connections and electrical logic. Relying on the complete topology structure that has been constructed, the corresponding wiring diagram is automatically drawn on the drawing based on the connection relationship between devices; Optimize the layout of the wiring diagram to form a structured drawing.

5. The method for automatically identifying the electrical main wiring diagram of a primary equipment and generating a dispatch number diagram according to claim 1 is characterized in that: The manual intervention verification of the generated structured drawings specifically includes: Provides a visual interface where users can browse the wiring diagram in the generated structured drawings; If errors are found in the wiring diagram or the equipment layout needs to be adjusted, the user can modify it directly on the interface and manually check and adjust the generated wiring diagram; Respond and update drawings in real time.

6. The method for automatically identifying the electrical main wiring diagram of a primary device and generating a dispatch number diagram according to claim 1 is characterized in that: The automatic numbering of the equipment in the structured drawing and output of the scheduling numbering diagram specifically includes: A set of numbering rules is pre-set based on the types of equipment, their specific locations in the wiring diagram of the structural optimization drawing, and voltage levels; According to the hierarchical relationship, topological structure and preset rules of the objects, the equipment can be numbered quickly and accurately automatically, and SVG drawings containing equipment numbers can be generated.

7. The method for automatically identifying the electrical main wiring diagram of a primary device and generating a dispatch number diagram according to claim 1 is characterized in that: The denoising process of the drawing, enhancing the line edges and vectorizing the outline of the graphic are specifically as follows: Use Otsu algorithm to perform adaptive threshold binarization denoising; Use Laplacian operator to enhance line edges; Use processed bitmaps to create lines, curves, and complex graphic outlines for vectorization.

8. The system for automatically identifying the electrical main wiring diagram of primary equipment and generating a dispatch number diagram is characterized by: The method applied to any one of claims 1 to 7, comprising a drawing preprocessing module, a device and connection relationship identification module, a structured drawing generation module, a manual intervention verification module, and a scheduling number diagram output module; The drawing preprocessing module is used to preprocess the drawings; The device and connection relationship identification module is used to identify the devices in the drawings and the connection relationship between the devices; The structured drawing generation module is used to generate the equipment and parameters without unnecessary display, and output the corresponding wiring diagram; The manual intervention verification module is used to allow users to view drawings and edit the wiring diagrams therein, and update the drawings in a timely manner; The dispatch number map output module is used to perform numbering on the wiring diagram and output the dispatch number map.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 7 when running.

Citation Information

Patent Citations

  • Intelligent conversion method and device for power grid equipment wiring drawing file

    CN115690824A

  • Intelligent conversion method for wiring diagram of power grid plant station

    CN117113600A