Secondary circuit full-path drawing generation method and device, electronic equipment and storage medium

Through image recognition and computer vision technology, a primitive library is established and the objects and connection relationships in paper drawings are identified, standardized model files are generated and the full path drawing of secondary loops is drawn, which solves the problem of paper file modeling and improves operations Efficiency and accuracy.

CN119445607APending Publication Date: 2025-02-14TAIAN POWER SUPPLY CO OF STATE GRID SHANDONG ELECTRIC POWER CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411519095.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The prior art cannot effectively solve the secondary circuit modeling of substations in the case of only paper documents, and the traditional unstructured drawings operate inefficiently, prone to errors, and cannot quickly and accurately extract information from multiple drawings.

Method used

Through image recognition and computer vision technology, a primitive library is established, objects, types and connection relationships in paper drawings are identified, standardized model files are integrated and generated, and the full path drawing of secondary loops is drawn to realize digital and intelligent drawing management.

Benefits of technology

The conversion from traditional paper drawings to digital full-path drawings has been realized, the operation efficiency has been improved, manual errors have been reduced, and the problems of cumbersome review, inconsistent drawings and lack of intelligent means have been solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119445607A_ABST
    Figure CN119445607A_ABST
Patent Text Reader

Abstract

The invention provides a secondary circuit full-path drawing generation method and device, electronic equipment and a storage medium, and belongs to the field of image recognition and computer vision. The method comprises the steps that a primitive library is established according to objects in a secondary circuit paper drawing; carrying out classification, labeling and mother-child relationship setting on the primitives in the primitive library; identifying the paper graph by using a target detection technology, and obtaining the basic information, types, mother-child relationships and connection relationships among the primitives corresponding to the paper graph; integrating primitive basic information, types, mother-child relationships and connection relationships among primitives in all the secondary circuit paper diagrams to generate a standardized model file; and drawing a secondary circuit full-path drawing according to the standardized model file. The problem that modeling cannot be carried out according to paper drawings is solved, complete display of functional loops from the starting point to the ending point and digital and intelligent management of the drawings are achieved, and the consulting efficiency of operators is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method and device for generating a full-path drawing of a secondary circuit, electronic equipment and a storage medium, and belongs to the field of image recognition and computer vision. Background Art

[0002] The work content and working environment of professionals related to the secondary circuit of the substation, in addition to measuring or operating the actual primary and secondary equipment of the substation, is to consult the secondary circuit design drawings. The secondary circuit drawings are a two-dimensional display of the actual secondary circuit of the substation, which plays an important role in the learning of relevant professional and technical personnel and auxiliary analysis during troubleshooting. However, for a long time, the operation and design of the secondary system mainly rely on traditional unstructured drawings such as CAD. The secondary circuit design drawings of the actual substation are complicated and have a large number of components. There are dozens or even hundreds of interval drawings, and there are dozens or even hundreds of secondary circuit components (terminals, relays, contacts, wires, etc.) on each drawing. Therefore, when operators work on site, the workload of consulting the primary and secondary equipment drawings is huge and the efficiency is low. It is not only time-consuming, but also very easy to make mistakes or omissions.

[0003] For the above problem, patent CN104484499A performs substation secondary circuit modeling by parsing CAD files, thereby realizing rapid generation of dynamic simulation images of actual substation secondary circuits. However, this method is only for substation secondary circuit modeling with CAD files, and cannot solve the problem of substation secondary circuit modeling with only paper files.

[0004] Patent CN116702396A realizes the modeling of a single paper drawing by parsing a single drawing file. However, this method ignores the correlation between the secondary circuits of the same substation and fails to consider the connection between multiple drawings during the modeling process.

[0005] In addition, the existing patents CN104484499A and CN116702396A are drawn completely according to the drawing format, and reading the drawings requires certain professional knowledge, that is, the professional requirements are relatively high.

[0006] In summary, the substation secondary circuit modeling method in the prior art has many problems:

[0007] (1) Some existing stations only have paper secondary circuit diagrams, but no CAD electronic diagrams, and lack intelligent tools for modeling based on paper diagrams;

[0008] (2) When working on-site, operators often need to consult multiple related primary and secondary equipment drawings (including design institute drawings, primary manufacturer schematics, and secondary manufacturer schematics) at the same time. This process is time-consuming, labor-intensive, and inefficient. It is impossible to quickly and accurately extract information from multiple drawings and apply it to on-site operations. Summary of the invention

[0009] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method for generating a full-path drawing of a secondary circuit, thereby solving the existing problem that modeling cannot be performed based on paper drawings.

[0010] To achieve the above object, the present invention is implemented by adopting the following technical solutions:

[0011] In a first aspect, the present invention provides a method for generating a secondary circuit full path drawing, comprising:

[0012] Establish a graphic element library based on the objects included in the secondary circuit paper diagram within the target range;

[0013] Classifying, labeling and setting parent-child relationships for the graphics elements in the graphics element library;

[0014] Identify each paper map within the target range in turn, and obtain the basic information, type, parent-child relationship, and connection relationship between the corresponding elements of the paper map.

[0015] Integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file;

[0016] Drawing a full-path drawing of the secondary circuit within the target range according to the standardized model file;

[0017] The step of identifying each paper map within the target range includes:

[0018] Use target detection technology to identify objects in paper images and obtain basic information of corresponding primitives; the basic information includes: position, size and shape;

[0019] Use semantic segmentation technology to identify the names of objects in paper images and obtain the types and inclusion relationships of corresponding graphic elements;

[0020] Image analysis technology is used to identify the lines in paper drawings and obtain the connection relationship between the corresponding graphic elements.

[0021] Furthermore, the target detection technology adopts an improved yolov5 algorithm model, and the head part of the improved yolov5 algorithm model can realize the function of detecting multiple different sizes.

[0022] Furthermore, the sizes that can be detected by the head part include: 160×160, 80×80, 40×40 and 20×20.

[0023] Furthermore, the semantic segmentation technology adopts a CRNN algorithm model with an added attention mechanism layer.

[0024] Furthermore, the information describing the parent-child relationship includes: a parent graphic element and a corresponding child graphic element; the information describing the connection relationship includes: a connection type, a connection direction and a connection port between different graphic elements.

[0025] Furthermore, the drawing of the full path drawing of the secondary circuit within the target range includes: generating a panel cabinet layout; generating a node layout; connecting nodes with line segments; and framing nodes belonging to the same device.

[0026] Furthermore, the generation of the screen cabinet layout includes: determining the number of screen cabinets; determining the height of the screen cabinet according to the number of times the connection line passes through the screen cabinet; determining the width of the screen cabinet according to the maximum number of nodes that enter the screen cabinet at a single time;

[0027] The generating node layout includes: listing the nodes passing through the cabinet in a preset arrangement direction in the cabinet; if the same node passing through the same cabinet twice occurs, the cabinet is changed to a new row and the arrangement direction is adjusted to the opposite direction of the preset arrangement direction;

[0028] The method of connecting nodes with line segments includes: connecting the nodes according to the principle that the first row is arranged in a preset direction and the second row is arranged in the opposite direction of the preset direction; wherein, line segments of different colors are used for connection within the same screen cabinet and between different screen cabinets.

[0029] In a second aspect, the present invention provides a device for automatically generating a secondary circuit full path drawing, comprising:

[0030] Graphics library establishment module: used to establish a graphics library based on the objects contained in the secondary circuit related paper drawings within the target range;

[0031] Graphics library sorting module: used for classifying, labeling and setting parent-child relationships of graphics in the graphics library;

[0032] Paper image recognition module: used to identify each paper image within the target range in turn, and obtain the basic information, type, parent-child relationship and connection relationship between the corresponding image elements of the paper image.

[0033] Integration module: used to integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file;

[0034] Drawing module: used for drawing the full path drawing of the secondary circuit within the target range according to the standardized model file;

[0035] The paper image recognition module comprises:

[0036] Object detection module: used to identify the basic information of the corresponding primitives according to the objects in the paper image;

[0037] Semantic segmentation module: used to identify the type and inclusion relationship of corresponding primitives according to the object names in the paper map;

[0038] Image analysis module: used to identify the connection relationship between corresponding graphic elements based on the connecting lines in the paper diagram.

[0039] In a third aspect, the present invention provides an electronic device comprising: a processor and a memory; the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method for generating a full-path drawing of a secondary circuit as described in the first aspect is implemented.

[0040] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for generating a full path drawing of a secondary circuit as described in the first aspect is implemented.

[0041] Compared with the prior art, the present invention has the following beneficial effects:

[0042] (1) The method for generating a secondary circuit full-path drawing provided by the present invention, by applying image recognition and computer vision technology, automatically generates a complete path diagram spanning multiple power system secondary circuit diagrams based on traditional unstructured paper drawings. Through the concept of "one diagram to the end", it realizes the complete display of the functional circuit from the starting point to the end point, as well as the digitalization, intelligentization and efficient management of the drawings, improves the efficiency of operators' reference, reduces manual errors, and solves the problems of cumbersome reference, discrepancy between drawings and reality, and lack of intelligent means in the traditional drawing management mode.

[0043] (2) The secondary circuit full-path drawing generation method provided by the present invention can automatically connect the primary and secondary equipment related nodes such as measurement and control, operation box, circuit breaker mechanism, etc., and significantly improve the efficiency of drawing consultation and operation and maintenance operations. Compared with traditional paper or unstructured drawings, the digital and structured drawing generation method of the present invention not only improves the efficiency of operation and maintenance, but also promotes the efficiency of secondary system construction, convenient operation and inspection, and intelligent transformation. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flow chart of the method for generating a secondary circuit full path drawing provided in Example 1 of the present invention;

[0045] Figure 2 Schematic diagram of the detection process of the paper image in Example 1 of the present invention;

[0046] Figure 3This is a schematic diagram of a CRNN algorithm model including an attention mechanism layer in Embodiment 1 of the present invention;

[0047] Figure 4 This is an example diagram of a JSON file description in Example 1 of the present invention;

[0048] Figure 5 This is an example diagram of a secondary circuit for completing the layout of a panel cabinet in Example 2 of the present invention;

[0049] Figure 6 This is an example diagram of a secondary circuit for completing node layout in Example 2 of the present invention;

[0050] Figure 7 This is an example diagram of a secondary circuit in which node connections are completed in Embodiment 2 of the present invention;

[0051] Figure 8 This is an example diagram of a secondary circuit for completing the device frame in Example 2 of the present invention;

[0052] Fig. 9 It is a schematic diagram of objects in the design completion drawing and primary and secondary schematic diagrams of the substation in Example 1 of the present invention. DETAILED DESCRIPTION

[0053] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0054] Example 1

[0055] The present invention provides a method for generating a secondary circuit full path drawing, such as Figure 1 As shown, the method comprises the following steps:

[0056] Step 1: Create a graphic element library based on the objects included in the secondary circuit paper drawing within the target range.

[0057] Specifically, a general SVG graphic element library is designed according to the paper drawing. For example, each type of object such as terminals, ports, circuit breakers, circuit breakers, relays, etc. needs to design an SVG format graphic element to facilitate flexible application and expansion in the drawing of the secondary full path diagram. Fig. 9 It shows some object schematic diagrams in the design completion drawing and primary and secondary schematic diagrams of the substation.

[0058] Here is an example SVG file of a long closed node:

[0059] <svg width="138" height="26" viewbox="0 0 138 26" fill="none" xmlns="http: / / www.w3.org / 2000 / svg">

[0060] <path d="M98.5 20.5L49 1.5H0" stroke="#CFB8FF" stroke-width="2" / >

[0061] <path d="M91.5 26V1H138" stroke="#CFB8FF" stroke-width="2" / >

[0062] < / svg>

[0063] Step 2: Classify, label and set parent-child relationships for the graphics in the graphics library.

[0064] Specifically, the information describing the parent-child relationship includes: a parent graphic element and a corresponding child graphic element; for example: a graphic element of type terminal belongs to a panel cabinet, a node of type capacitor belongs to equipment, and equipment belongs to a panel cabinet, etc.

[0065] Step 3: Identify each paper image within the target range in turn to obtain the basic information, type, parent-child relationship, and connection relationship between the corresponding graphic elements of the paper image.

[0066] The identification of each paper map within the target range includes:

[0067] Step 31: Use target detection technology to identify objects in the paper image and obtain basic information of the corresponding image elements; wherein the basic information includes: position, size and shape.

[0068] In order to better identify the information in the drawings, the target detection technology uses the improved yolov5 algorithm model for detection, such as Figure 2 As shown, the specific detection process includes: terminal block area detection, device area detection, object text and object type detection and connection line detection.

[0069] It should be noted that, since there are various types of detection rectangles of different sizes in the detection of various element information areas, the improved yolov5 algorithm model refers to improving the head part of the yolov5 algorithm model, adding a detection head and the corresponding size of the detection head on the basis of the original yolov5, so that the head part of the improved yolov5 algorithm model can realize the function of detecting multiple different sizes. The improved yolov5 can adapt to targets of different sizes when checking targets of different sizes, wherein the detection sizes include: 160×160, 80×80, 40×40, 20×20.

[0070] Step 32: Use semantic segmentation technology to identify the object names in the paper image and obtain the types and inclusion relationships of the corresponding graphic elements.

[0071] In order to more accurately identify the content of the text area detected by the yolov5 algorithm model, an attention mechanism layer is added to the CRNN algorithm model. Figure 3As shown in the figure, an attention mechanism layer is added after the recurrent neural network layer, and the attention mechanism is used to perform feature screening on the features extracted by the recurrent neural network, screen useful information, and eliminate noise feature information. Finally, the extracted feature information is passed through the translation layer to output its recognition result.

[0072] Step 33: Use image analysis technology to identify the lines in the paper diagram and obtain the connection relationship between the corresponding graphic elements.

[0073] Specifically, the information describing the connection relationship includes: the connection type, connection direction and connection port between different graphic elements.

[0074] Step 4: Integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file.

[0075] Specifically, the information of the recognized image is described in a JSON file, which mainly includes:

[0076] Basic information of each object: Lists the basic properties of each object, such as ID, name, type, and description.

[0077] Object inclusion relationship: describes the sub-object information contained in each object.

[0078] Connection relationship between objects: describes the connection type, direction, port and other connection information between different objects.

[0079] Number of cabinets passed by the entire path: counts the number of cabinets involved in the entire path.

[0080] Number of devices involved in each cabinet: Count the number of devices contained in each cabinet.

[0081] More specifically, the JSON file description includes: root-level fields and data fields.

[0082] The root level fields include:

[0083] code: The value is 0, indicating that the request was processed successfully.

[0084] msg: The value is "success", indicating that the request status is successful.

[0085] data: Contains detailed data content related to device and port configuration.

[0086] The data field includes:

[0087] portRealFullInfos: is a multidimensional array containing sub-arrays, which describes the device and port information in detail. In this example, only one node is shown in the sub-array (a node represents a port or a terminal, or it can be an internal node of a device);

[0088] like Figure 4 The following is an example of a JSON file description. The following is an explanation of the example node fields:

[0089] loopId: "878" - Loop ID, identifying the loop to which this port belongs.

[0090] regionId: "2" - The region ID, indicating the region to which the device belongs.

[0091] cubicleId: "31" - cubicle ID, which indicates the unique identifier of the cubicle.

[0092] cubicleName: "Y02" - cubicle name, identifying the cubicle number.

[0093] cubicleDesc: "110kVXXⅠ line protection cabinet" - cabinet description, describing the purpose of the cabinet.

[0094] deviceId: "1281" - Device ID, which indicates the unique identifier of the device.

[0095] deviceName: "2-ZD" - Device name, e.g. "2-ZD" terminal strip.

[0096] deviceDesc: "Terminal strip 2-ZD" - Device description, further description of the device type or location.

[0097] boardId: "1522" - terminal board ID, indicating the terminal board to which it belongs.

[0098] boardSlot: "1" - Terminal board slot location.

[0099] portId: "23245" - Port ID, uniquely identifies the port.

[0100] portNo: "1" - Port number, identifies the port number.

[0101] portDesc: "B1" - Port description, indicating the specific location or purpose of the port.

[0102] portDirection: "B" - The port direction, which indicates the direction of the port connection (such as "A" or "B").

[0103] linkType: "INTCORE" - The connection type, indicating how the port is connected (such as internal to the device).

[0104] cableName: "190" - The cable name, identifying the cable connected to this port.

[0105] loopDesc: "110kVXXⅠ line remote control closing loop" - loop description, describing the function of the electrical loop to which this port belongs.

[0106] functionType: "Control loop" - Function type, describing the primary purpose of the port (e.g., control loop).

[0107] loopName: "137" - The loop name that uniquely identifies this electrical loop.

[0108] isdown: false - Indicates whether the port is facing down.

[0109] isbottom: false - Indicates whether the port is at the bottom.

[0110] cubDevSize: An object describing the number of devices contained in each cabinet.

[0111] Among them, "30": 3 means that the cabinet with cabinet ID 30 contains 3 devices, and "31": 5 means that the cabinet with cabinet ID 31 contains 16 devices.

[0112] Step 5: Based on the standardized model file, draw a full path drawing of the secondary circuit within the target range.

[0113] Example 2

[0114] Based on Example 1, this example provides a specific process of drawing a full path drawing of a secondary circuit within a target range.

[0115] Draw a full-path diagram of the secondary circuit within the target range, including:

[0116] Step 51: Generate screen cabinet layout.

[0117] Specifically, generating the screen cabinet layout includes:

[0118] Step 511: Determine the number of screen cabinets according to the recognition result;

[0119] Step 512: Determine the height of the screen cabinet according to the number of times the connection line passes through the screen cabinet; for example, if the number of times the connection line passes through the screen cabinet is twice, the height of the screen cabinet is 2×30x+20.

[0120] Step 513: Determine the width of the screen cabinet according to the maximum number of nodes that enter the screen cabinet at a single time; for example, if a maximum of 5 nodes pass through the screen cabinet at the same time, the width of the screen cabinet is 5×30x+20.

[0121] Figure 5 An example of a secondary circuit passing through two cabinets is shown: the line passes through the first cabinet twice, and the first time it passes through 5 nodes in the cabinet.

[0122] Step 52: Generate node layout.

[0123] Specifically, the generating node layout includes: arranging the nodes passing through the screen cabinet in a preset arrangement direction in the screen cabinet; Figure 6 As shown, if the same node belonging to the same cabinet is passed through twice, the line is changed in the cabinet and the arrangement direction is adjusted to the opposite direction of the preset arrangement direction.

[0124] Step 53: Connect the nodes with line segments.

[0125] Specifically, the connecting nodes with line segments includes: connecting the nodes according to the connection principle that the first row is arranged in a preset direction and the second row is arranged in the opposite direction of the preset direction; wherein, line segments of different colors are used for connection within the same screen cabinet and between different screen cabinets.

[0126] like Figure 7 As shown, in this embodiment, the first row is from left to right, and the second row is from right to left. The nodes are connected by line segments. The lines within the same screen cabinet are connected with blue line segments, and the lines between different screen cabinets are connected with yellow line segments.

[0127] Step 54: Frame the nodes belonging to the same device.

[0128] Specifically, Figure 8 As shown, the nodes belonging to a certain device are framed with color blocks for easy identification and distinction.

[0129] Example 3

[0130] This embodiment provides a device for automatically generating a secondary circuit full path drawing, including:

[0131] Graphics library establishment module: used to establish a graphics library based on the objects contained in the secondary circuit related paper drawings within the target range;

[0132] Graphics library sorting module: used for classifying, labeling and setting parent-child relationships of graphics in the graphics library;

[0133] Paper image recognition module: used to identify each paper image within the target range in turn, and obtain the basic information, type, parent-child relationship and connection relationship between the corresponding image elements of the paper image.

[0134] Integration module: used to integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file;

[0135] Drawing module: used for drawing the full path drawing of the secondary circuit within the target range according to the standardized model file;

[0136] The paper image recognition module comprises:

[0137] Object detection module: used to identify the basic information of the corresponding primitives according to the objects in the paper image;

[0138] Semantic segmentation module: used to identify the type and inclusion relationship of corresponding primitives according to the object names in the paper map;

[0139] Image analysis module: used to identify the connection relationship between corresponding graphic elements based on the connecting lines in the paper diagram.

[0140] Example 4

[0141] This embodiment provides an electronic device, including: a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method for generating a full-path drawing of a secondary circuit as described in Embodiment 1 or Embodiment 2 is implemented.

[0142] Example 5

[0143] This embodiment provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for generating a full path drawing of a secondary circuit as described in Example 1 or Example 2 is implemented.

[0144] The storage medium may include, for example, a storage component of a tablet computer, a hard disk of a computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer storage medium may be any combination of one or more computer storage media.

[0145] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a full-path drawing of a secondary circuit, characterized in that: include: Establish a graphic element library based on the objects included in the secondary circuit paper diagram within the target range; Classifying, labeling and setting parent-child relationships for the graphics elements in the graphics element library; Identify each paper map within the target range in turn, and obtain the basic information, type, parent-child relationship, and connection relationship between the corresponding elements of the paper map. Integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file; Drawing a full-path drawing of the secondary circuit within the target range according to the standardized model file; The step of identifying each paper map within the target range includes: Use target detection technology to identify objects in paper images and obtain basic information of corresponding primitives; the basic information includes: position, size and shape; Use semantic segmentation technology to identify the names of objects in paper images and obtain the types and inclusion relationships of corresponding graphic elements; Image analysis technology is used to identify the lines in paper drawings and obtain the connection relationship between the corresponding graphic elements.

2. The method for generating a secondary circuit full path drawing according to claim 1, characterized in that: The target detection technology adopts an improved yolov5 algorithm model, and the head part of the improved yolov5 algorithm model can realize the function of detecting multiple different sizes.

3. The method for generating a secondary circuit full path drawing according to claim 2, characterized in that: The head part can detect sizes including: 160×160, 80×80, 40×40 and 20×20.

4. The method for generating a secondary circuit full path drawing according to claim 2, characterized in that: The semantic segmentation technology adopts a CRNN algorithm model with an added attention mechanism layer.

5. The method for generating a secondary circuit full path drawing according to claim 1, characterized in that: The information describing the parent-child relationship includes: a parent primitive and a corresponding child primitive; The information describing the connection relationship includes: the connection type, connection direction and connection port between different graphic elements.

6. The method for generating a secondary circuit full path drawing according to claim 1, characterized in that: The drawing of the full path drawing of the secondary circuit within the target range includes: generating a panel cabinet layout; generating a node layout; connecting nodes with line segments; and framing nodes belonging to the same device.

7. The method for generating a secondary circuit full path drawing according to claim 6, characterized in that: The generation of the screen cabinet layout includes: determining the number of screen cabinets; determining the height of the screen cabinet according to the number of times the connection line passes through the screen cabinet; determining the width of the screen cabinet according to the maximum number of nodes that enter the screen cabinet at a single time; The generating node layout includes: listing the nodes passing through the cabinet in a preset arrangement direction in the cabinet; if the same node passing through the same cabinet twice occurs, the cabinet is changed to a new row and the arrangement direction is adjusted to the opposite direction of the preset arrangement direction; The method of connecting nodes with line segments includes: connecting the nodes according to the principle that the first row is arranged in a preset direction and the second row is arranged in the opposite direction of the preset direction; wherein, line segments of different colors are used for connection within the same screen cabinet and between different screen cabinets.

8. A device for automatically generating a secondary circuit full path drawing, characterized in that: include: Graphics library establishment module: used to establish a graphics library based on the objects contained in the secondary circuit related paper drawings within the target range; Graphics library sorting module: used for classifying, labeling and setting parent-child relationships of graphics in the graphics library; Paper image recognition module: used to identify each paper image within the target range in turn, and obtain the basic information, type, parent-child relationship and connection relationship between the corresponding image elements of the paper image. Integration module: used to integrate the basic information, type, parent-child relationship and connection relationship between the elements in all secondary circuit paper drawings within the target range to generate a standardized model file; Drawing module: used for drawing the full path drawing of the secondary circuit within the target range according to the standardized model file; The paper image recognition module comprises: Object detection module: used to identify the basic information of the corresponding primitives according to the objects in the paper image; Semantic segmentation module: used to identify the type and inclusion relationship of the corresponding primitives according to the object names in the paper map; Image analysis module: used to identify the connection relationship between corresponding graphic elements based on the connecting lines in the paper diagram.

9. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-readable instructions, which, when executed by the processor, implement the method for generating a secondary circuit full-path drawing as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a full-path drawing of a secondary circuit as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Dynamic simulation image rapid generation method for substation secondary circuit

    CN104484499A

  • Automatic mapping method for secondary circuit of power system and electronic equipment

    CN116702396A