A multi-source model automatic mapping method, device and medium based on a source-end model

Through the multi-source model automatic diagramming method based on the source-side model, the SCD file is analyzed and the design drawing information is identified, and the device connection relationship is calculated, which solves the problem of repeated modeling in the power grid diagram and realizes efficient electrical wiring diagram generation.

CN116484558BActive Publication Date: 2025-07-25YANGZHOU POWER SUPPLY BRANCH OF STATE GRID JIANGSU ELECTRIC POWER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310503144.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-06
Publication Date
2025-07-25
Estimated Expiration
2043-05-06

AI Technical Summary

Technical Problem

The existing power grid diagram technology has a large number of duplicate equipment modeling work in the substation planning and design, communication networking, comprehensive backend website building and scheduling system website building, resulting in low graph formation efficiency and increased construction costs.

Method used

The multi-source model automatic diagramming method based on the source-end model is adopted to obtain the logical relationship between devices by analyzing the SCD file, identify the device primitives and scheduling numbers on the design drawings, calculate the connection relationship between devices, and form an electrical wiring diagram.

Benefits of technology

Automatically generate beautiful and compact electrical wiring diagrams, reduce duplicate work in project construction, improve the efficiency of drawing, and provide technical support for establishing a complete and accurate power system model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116484558B_ABST
    Figure CN116484558B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of automatic power grid mapping, and particularly relates to a multi-source model automatic mapping method, device and medium based on a source-end model. It includes: parsing the SCD file to extract device names and device types, using artificial intelligence algorithms to identify the positions of switch, disconnect switch, busbar and main transformer graphic elements on the design drawing; calculating the device graphic element numbers on the design drawing; and drawing a switch layout that conforms to the actual situation according to the device coordinate information on the drawing to achieve automatic mapping of the electrical wiring diagram. It solves the technical problems in the prior art that there is a large amount of repetitive device modeling work in the stages of substation planning and design, communication network construction, integrated background station construction and dispatching system construction, resulting in low mapping efficiency and a lot of unnecessary construction costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automatic power grid mapping, and particularly relates to a method for automatically mapping multi-source models based on a source-end model. Background Art

[0002] With the development of the power industry and the continuous expansion of the power grid scale, the amount of information in the power grid is increasing, and the analysis and calculation of the power system are becoming more and more complex. There is an urgent need to establish a complete and accurate power system model to simulate the actual power grid.

[0003] In the existing power grid mapping technology, it is necessary to draw the wiring diagram of primary equipment during the substation design stage, and use the wiring diagram to design the topological relationship between equipment; during the substation communication networking stage, use the SCD model configuration tool to configure the primary and secondary equipment models of the substation, including the basic information of primary equipment and the hierarchical information between equipment; during the comprehensive background station building and dispatching system station building stage, in the plant station monitoring and dispatching monitoring system, use the screen editing tool to draw the wiring diagram of primary equipment according to the design drawings. There is a lot of repetitive equipment modeling work in the above substation planning and design, communication networking, comprehensive background station building and dispatching system station building stages, which not only reduces the mapping efficiency but also generates a lot of unnecessary construction costs. Summary of the Invention

[0004] In view of the above technical problems, the present invention provides a method, device, and medium for automatically mapping multi-source models based on a source-end model.

[0005] The technical solution of the present invention is: a method for automatically mapping multi-source models based on a source-end model, including the following steps:

[0006] S01: Parse the SCD file to obtain the logical relationship between substation equipment;

[0007] S02: Identify the information in the design drawing picture to obtain the device graphic elements and dispatching number information in the drawing, and use the device information in the SCD file to correct the recognition result of the design drawing; calculate the connectivity relationship of the devices on the drawing to form the topological relationship of the devices in the design drawing;

[0008] S03: Calculate the device graphic elements and dispatching numbers, and associate the device graphic elements with the corresponding dispatching numbers to form a preliminary field diagram;

[0009] S04: Adjust the layout of the preliminary field diagram to realize automatic mapping of the electrical wiring diagram.

[0010] Preferably, parsing the SCD file in step S01 includes:

[0011] 1) Parse the SCD file to extract the device name and device type;

[0012] 2) Analyze the SCD file to extract connection point and end point information, and based on the principle that end points pointing to the same connection point are connected, determine the connection relationship of the devices to form the topological relationship diagram of the entire substation;

[0013] 3) Analyze the device dispatching numbers and create a set of dispatching numbers according to the device types.

[0014] Preferably, in step S01, the SCD file is the substation basic model information file specified by the IEC61850 standard.

[0015] Preferably, step S02 includes:

[0016] a) Identify the positions of switch, disconnector, busbar, and main transformer graphic elements on the design drawing;

[0017] b) Identify the dispatching numbers of the devices on the design drawing and the positions where the dispatching numbers are located.

[0018] Preferably, in a) of step S02, use object recognition technology to identify the positions of switch, disconnector, busbar, and main transformer graphic elements on the design drawing, and at the same time combine with manual confirmation.

[0019] Preferably, in b) of step S02, use character recognition technology to identify the dispatching numbers of the devices on the design drawing and the positions where the dispatching numbers are located.

[0020] Preferably, in step S02, use the accurate device numbers in the SCD file to correct the character recognition results of the picture,

[0021] Based on the rule that the same dispatching number will not appear in the wiring diagram, filter out the correct dispatching numbers in the character recognition results through the method of full-text matching, and use the text minimum similarity metric to correct the misrecognized numbers in the picture recognition.

[0022] Preferably, in step S03, identify and calculate the device graphic element numbers on the drawing according to the principle of proximity. The steps are as follows:

[0023] a) With the dispatching number as the center, associate the device graphic element with the closest distance;

[0024] b) With the device graphic element as the center, associate the dispatching number with the closest distance;

[0025] c) The dispatching number and the device graphic element are the closest to each other, and most of the device graphic elements and dispatching numbers are correctly recognized;

[0026] d) Identify the dispatching numbers of the remaining devices according to the device graphic elements with correct dispatching numbers, the topological relationship of the devices on the design drawing, the candidate devices of the dispatching numbers, and the candidate dispatching numbers of the devices;

[0027] e) Form all the equipment on the drawing and their scheduling numbers.

[0028] Preferably, in step S04, the layout is adjusted, including the following steps:

[0029] a) Replace the equipment on the drawing with the device primitives of the substation monitoring system, and at the same time adjust the width and height of the device primitives;

[0030] b) Statistically calculate the distances between the equipment on the drawing, including the distances between equipment of different voltage levels, in different intervals, the distances between intervals, the distances between main transformers, and the distances between busbars, and optimize the distances between the equipment on the drawing;

[0031] c) Vertically and horizontally center-align the equipment with connection relationships.

[0032] Provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it is based on any one of the above multi-source model automatic mapping methods based on the source-end model.

[0033] Also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is based on any one of the above multi-source model automatic mapping methods based on the source-end model as claimed in the claims.

[0034] The beneficial effects of the present invention are: Utilize the actual physical layout of the bus switches on the design drawing, combine the accurate device information and topological logical relationships in the SCD model, and automatically generate a beautiful and compact electrical wiring diagram. The automatic mapping technology greatly reduces the repetitive work in project construction, improves the overall efficiency, and provides strong technical support for establishing a complete and accurate power system model. Description of the Drawings

[0035] Figure 1 is the flowchart of the method of the present invention,

[0036] Figure 2 is the SCD device hierarchical structure diagram,

[0037] Figure 3 is the SCD file reference schematic Figure 1 ,

[0038] Figure 4 is the SCD file reference schematic Figure 2 ,

[0039] Figure 5 is an example diagram of the equipment layout and topological relationship diagram in the design drawing,

[0040] Figure 6 is an example diagram of the equipment recognition result of the design drawing,

[0041] Figure 7 This is an example diagram of the text recognition result of the design drawing.

[0042] Figure 8 This is an example diagram of the grayscale value histogram after binarization processing.

[0043] Figure 9 This is an example diagram of the electrical wiring diagram. Specific implementation manners

[0044] Next, the technical solution of the present invention will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. 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.

[0045] Refer to Figure 1 , this embodiment provides a multi-source model automatic mapping method based on a source model, including the following steps:

[0046] S01: Analyze the SCD file of the substation basic model specified by the IEC61850 standard to obtain the logical relationship between substation devices; the SCD model includes the basic information and topological information of primary substation equipment, the measurement access information of secondary equipment, and the network configuration of secondary equipment. The dispatching number, device name, and device type of the SCD file are edited by engineers through configuration tools, and the credibility is relatively high. The SCD device hierarchy diagram is as shown in Figure 2 , and the specific meanings in the figure are well-known to those skilled in the art and will not be elaborated here.

[0047] S01 includes:

[0048] 1) Analyze the SCD file to extract the device name and device type, and gradually analyze the information such as the substation, voltage level, interval, and device in the SCD file to obtain the device hierarchy relationship. Convert the hierarchy information into the attributes of the affiliated substation, affiliated voltage level, and affiliated interval of the device;

[0049] Refer to Figure 3 , and the example is the hierarchical structure of the substation, voltage level, interval, device, and terminal in the SCD file.

[0050] 2) Analyze the SCD file to extract the connection point and endpoint information, and calculate the connection relationship between devices according to the connection point and endpoint. The device model in the SCD file contains endpoint information and points to the affiliated connection point. Topologically, the endpoints pointing to the same connection point are equipotential, and the endpoints are interconnected;

[0051] Refer to Figure 4, in the example, the "T1" end of the "Bus-tie 710" switch and the "T2" end of the isolating switch "Bus-tie 7102" both point to the connection point "XX Substation / 110 kV / 710 / C1". According to the above rules, it is calculated that the "Bus-tie 710" switch is connected to the "Bus-tie 7102" isolating switch.

[0052] 3) Analyze the equipment dispatching numbers and create a set of dispatching numbers according to the equipment types. See Figure 3 and Figure 4 The name attribute (name) of the bay and the equipment is the dispatching number, and the equipment type attribute (type) is the equipment type.

[0053] S02: See Figure 5 , identify the information in the design drawing picture, obtain the equipment graphic elements and dispatching number information in the drawing, use the equipment information in the SCD file to correct the recognition result of the design drawing, obtain the actual physical layout, and form the topological relationship of the equipment on the design drawing; The main wiring on the design drawing is carefully laid out by the designer. The arrangement order of the bus switches on the design drawing is consistent with the actual physical position, which is an excellent reference standard.

[0054] Among them, see Figure 6 , use object recognition technology to identify the positions of switch, isolating switch, bus and main transformer graphic elements on the design drawing. The artificial intelligence algorithm completes 99% of the recognition work, and combines a small amount of manual confirmation to further improve the accuracy of equipment object labeling.

[0055] See Figure 7 , use character recognition technology to identify the dispatching number of the equipment on the design drawing and the position where the dispatching number text is located. Before recognizing the characters, preprocess the drawing, delete the equipment graphic elements and the connections between the equipment to improve the accuracy of character recognition. See Figure 8 , the drawing is a black and white drawing. First, convert it to a grayscale image by grayscale conversion, then count the grayscale histogram, and automatically calculate the threshold for binarization processing.

[0056] Calculate the connectivity relationship of the equipment on the drawing to form the topological relationship of the equipment on the design drawing. If there is a connection between the equipment on the design drawing, the equipment is connected to each other. For example, there is a connection between the 710 switch and the 7101 isolating switch, and the 710 is connected to the 7101 switchgear.

[0057] Calibrate the text recognition result of the picture using the exact device number in the SCD file; there are certain errors in text recognition, and use the device number in the SCD file to calibrate the text recognition result. Parse and obtain the scheduling numbers of all devices in S02. The scheduling number recognized by text, such as the scheduling number "710" of the 710 bus-tie switch, should be consistent with the 710 scheduling number in the SCD file. Based on the rule that the same scheduling number will not appear in the wiring diagram, in the first step, filter out the correct scheduling numbers in the text recognition result through the method of full-text matching. The credibility of such scheduling numbers is 1.0. In the second step, use the text minimum similarity metric to calibrate the numbers with incorrect picture recognition. The credibility of the calibrated numbers is less than 1.0 and duplicate table numbers are allowed. Multiple candidate scheduling numbers can be retained according to the similarity during matching. The calibration tool marks the text position and content with different colors according to the text credibility for easy manual confirmation. Among them, the calibration tool is a conventional recognition software, and the specific working principle and usage method will not be elaborated.

[0058] S03: Calculate the device graphic elements and scheduling numbers according to the principle of proximity, associate the device graphic elements with the corresponding scheduling numbers, and form a preliminary field diagram. The steps in this embodiment are as follows:

[0059] a) Take the scheduling number as the center and associate the nearest device graphic element;

[0060] b) Take the device graphic element as the center and associate the nearest scheduling number;

[0061] c) The scheduling number and the device graphic element are the nearest to each other, and most of the device graphic elements and scheduling numbers are recognized correctly;

[0062] d) Identify the scheduling numbers of the remaining devices according to the device graphic elements with correct scheduling numbers, the topological relationship of the devices in the design drawings, the candidate devices of the scheduling numbers, and the candidate scheduling numbers of the devices;

[0063] e) Form all the devices and their scheduling numbers on the drawing.

[0064] S04: Adjust the layout of the preliminary field diagram to achieve automatic generation of the electrical wiring diagram (see Figure 9 ) including the following steps:

[0065] a) Replace the devices on the drawing with the device graphic elements of the substation monitoring system, and at the same time adjust the width and height of the device graphic elements;

[0066] b) Statistically calculate the distances between the devices on the drawing, including the distances between devices of different voltage levels, different intervals, the distances between intervals, the distances between main transformers, and the distances between busbars, and optimize the distances between the devices on the drawing;

[0067] c) Vertically and horizontally center-align the devices with connection relationships.

[0068] This embodiment provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it is based on the above-mentioned multi-source model automatic mapping method based on the source-side model.

[0069] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is based on the above-mentioned multi-source model automatic mapping method based on the source-side model.

[0070] In summary, in this embodiment, the models in the solution come from two places. One is the SCD model, which comes from the configuration tool during substation construction and mainly uses a hierarchical structure to describe the logical relationship between substation devices. The file format is a structured file form. The other is the design drawing, which includes the electrical wiring diagram and is in the form of a picture. It can utilize the actual physical layout of the bus switches on the design drawing and combine the accurate device information and topological logical relationship in the SCD model to automatically generate a beautiful and compact electrical wiring diagram. The automatic mapping technology greatly reduces the repetitive work in project construction, improves the overall efficiency, and provides strong technical support for establishing a complete and accurate power system model.

[0071] The present invention is not limited to the above embodiments. Based on the technical solutions disclosed in the present invention, those skilled in the art can make some substitutions and deformations of some technical features without creative labor according to the disclosed technical content, and these substitutions and deformations are all within the protection scope of the present invention.

Claims

1. A method for automatically generating maps of a multi-source model based on a source-end model, characterized in that It includes the following steps: S01: Parse the SCD file to obtain the logical relationship between substation devices; S02: Identify the information in the design drawing picture to obtain the device graphic elements and dispatching number information in the drawing, and use the device information in the SCD file to correct the recognition result of the design drawing; Calculate the connectivity relationship of the devices on the drawing to form the topological relationship of the devices in the design drawing; S03: Calculate the device graphic elements and dispatching numbers, associate the device graphic elements with the corresponding dispatching numbers to form a preliminary site diagram; In this step, calculate the device graphic element numbers on the drawing according to the principle of proximity. The steps are as follows: a) Centered on the dispatching number, associate the device graphic element with the closest distance; b) Centered on the device graphic element, associate the dispatching number with the closest distance; c) The dispatching number and the device graphic element are the closest to each other, and most of the device graphic elements and dispatching numbers are correctly recognized; d) Identify the dispatching numbers of the remaining devices according to the device graphic elements with correct dispatching numbers, the topological relationship of the devices in the design drawing, the candidate devices of the dispatching numbers, and the candidate dispatching numbers of the devices; e) Form all the devices and their dispatching numbers on the drawing; S04: Adjust the layout of the preliminary site diagram to achieve automatic generation of the electrical wiring diagram.

2. The multi-source model automatic mapping method based on the source model according to claim 1, characterized in that In step S01, parsing the SCD file includes: 1) Parse the SCD file to extract the device name and device type; 2) Parse the SCD file to extract the connection point and endpoint information, and based on the principle that the endpoints pointing to the same connection point are connected, judge the connection relationship of the devices to form the topological relationship diagram of the entire substation; 3) Parse the device dispatching numbers and create a dispatching number set according to the device type.

3. A multi-source model automatic mapping method based on a source model according to claim 1 or 2, characterized in that, In step S01, the SCD file is the substation basic model information file specified by the IEC61850 standard.

4. A method for automatically generating a multi-source model map based on a source model according to claim 1, characterized in that In step S02, it includes: a) Identify the positions of the switch, disconnecting switch, busbar, and main transformer graphic elements on the design drawing; b) Identify the dispatching numbers of the devices on the design drawing and the positions where the dispatching numbers are located.

5. The automatic mapping method of a multi-source model based on a source-end model according to claim 4, characterized in that, In a) of step S02, use object recognition technology to identify the positions of the switch, disconnecting switch, busbar, and main transformer graphic elements on the design drawing, and at the same time combine manual confirmation.

6. A method for automatically generating a multi-source model diagram based on a source model according to claim 4, characterized in that, In b) of step S02, use character recognition technology to identify the dispatching numbers of the devices on the design drawing and the positions where the dispatching number texts are located.

7. A multi-source model automatic mapping method based on a source model according to claim 1, characterized in that In step S02, use the accurate device numbers in the SCD file to correct the character recognition result of the picture: Based on the rule that the same dispatching number will not appear in the wiring diagram, filter out the correct dispatching numbers in the character recognition result through the method of full-text matching, and use the text minimum similarity metric to correct the misrecognized numbers in the picture recognition.

8. A method for automatically generating a multi-source model map based on a source-end model according to claim 1, characterized in that, In step S04, the layout is adjusted, including the following steps: a) Replace the devices on the drawing with the device graphic elements of the substation monitoring system, and at the same time adjust the width and height of the device graphic elements; b) Statistically calculate the distances between the devices on the drawing, including the distances between devices of different voltage levels, different intervals, the distances between intervals, the distances between main transformers, and the distances between busbars, and optimize the distances between the devices on the drawing; c) Vertically and horizontally center-align the devices with connection relationships.

9. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it is based on the multi-source model automatic mapping method based on the source-end model according to any one of claims 1-8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it is based on the multi-source model automatic mapping method based on the source-end model according to any one of claims 1-8.

Citation Information

Patent Citations

  • Method for automatically generating wiring diagram of power network plant substation

    CN107292003A

  • SSD-based main wiring automatic mapping method

    CN115937353A