Power transformation equipment layout verification method and device based on standard text understanding

By extracting rules from substation equipment specification texts and converting them into executable programs, combined with three-dimensional point cloud processing and topology map construction, the problem of low efficiency of traditional verification is solved, and efficient automatic compliance review of substation equipment layout is achieved, improving Improves verification efficiency and accuracy.

CN118607353APending Publication Date: 2024-09-06GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +3
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410640970.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Verification and correction during operation of traditional substations require a lot of manpower and are inefficient. Existing automatic design methods are difficult to effectively verify the compliance of substation equipment layouts, and are time-consuming, costly and error-prone.

Method used

Using a method based on normative text understanding, rules are extracted from the substation equipment layout specification text, and a deep learning model is used to perform semantic annotation and rule check tree generation, and then converted into an executable program; combined with three-dimensional point cloud preprocessing and topology map construction, the system automatically Extract the relationship between key equipment and building structures and conduct layout verification.

Benefits of technology

It realizes efficient automatic compliance review of substation equipment layout, improves verification efficiency, reduces manual error rate, and improves verification accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607353A
    Figure CN118607353A
Patent Text Reader

Abstract

The invention relates to a power transformation equipment layout verification method and device based on standard text understanding, and the method comprises the steps: extracting a power transformation equipment layout rule from a transformer substation equipment layout standard text, and converting the power transformation equipment layout rule into an executable program; the method comprises the following steps: acquiring a to-be-verified simulated three-dimensional point cloud, preprocessing the to-be-verified simulated three-dimensional point cloud, and extracting to-be-detected key equipment and a surrounding building structure body; and converting the relationship between the to-be-detected key equipment and the surrounding building structure into a topological graph, and performing layout verification on the to-be-detected key equipment by combining the topological graph with the executable program. According to the method, the key information in the specification file is automatically extracted and converted into the computer executable program, so that relation extraction between equipment and between the equipment and the building is realized, and high-efficiency verification on whether the substation equipment conforms to the specification or not is realized. The invention also relates to a device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to a method and device for verifying substation equipment layout based on understanding of specification texts. Background Art

[0002] Traditional substation operation verification and operation correction usually require a lot of manpower input. Manually checking the compliance of the substation equipment layout location against the specification text one by one leads to low efficiency. Similar problems also exist in the compliance check of computer-aided automatic design 3D models. One of the difficulties in substation equipment layout compliance verification is that the substation specifications still exist in text form, and compliance review is generally performed manually, which is time-consuming, costly and error-prone. Summary of the invention

[0003] In order to realize automatic compliance review and thus improve the efficiency of substation verification, the present invention provides a substation equipment layout verification method and device based on specification text understanding.

[0004] In a first aspect, the present invention provides a method for verifying substation equipment layout based on understanding of specification text, the method comprising:

[0005] Extracting substation equipment layout rules from substation equipment layout specification text, and converting the substation equipment layout rules into an executable program;

[0006] Acquire the simulated three-dimensional point cloud to be verified, and extract the key equipment to be inspected and the surrounding building structures after preprocessing the simulated three-dimensional point cloud to be verified;

[0007] The relationship between the key equipment to be detected and the surrounding building structures is converted into a topological map, and the topological map is combined with the executable program to perform layout verification on the key equipment to be detected.

[0008] Based on the above technical solution, further, extracting the substation equipment layout rules from the substation equipment layout specification text and converting the substation equipment layout rules into an executable program specifically includes:

[0009] Extract rule statements from the substation equipment layout specification text, and use the deep learning model BERT using transfer learning technology to semantically annotate the rule statements to obtain semantic labels for the rule statements;

[0010] Generate a rule checking tree according to the semantic tag, wherein the rule checking tree includes a node, and each leaf node is associated with a rule statement;

[0011] The rule checking tree is converted into executable statements in a preset format to obtain the executable program.

[0012] Based on the above technical solution, further, the acquisition of the simulated three-dimensional point cloud to be verified, preprocessing the simulated three-dimensional point cloud to be verified, and extracting the key equipment to be detected and the surrounding building structures, specifically includes:

[0013] A morphological asymptotic filtering method is used to remove ground point clouds in the simulated three-dimensional point cloud to be verified, and a principal component analysis method is used to remove power line point clouds in the simulated three-dimensional point cloud to be verified;

[0014] The processed simulated three-dimensional point cloud to be verified is clustered and segmented into single device point clouds of the substation equipment by using an octree connected grid marking method. After obtaining the single device point cloud, the wall in the single device point cloud is segmented by using a plane fitting method.

[0015] The ESF descriptors of each single device point cloud and the ESF descriptors of all models in the model library are compared for similarity, and the name of the model with the highest similarity is selected to name the single device point cloud, so as to obtain the key equipment to be detected and the surrounding building structure.

[0016] Based on the above technical solution, further, the PCA principal component analysis method is used to remove the power line point cloud in the simulated three-dimensional point cloud to be verified, specifically including:

[0017] Dividing the simulated three-dimensional point cloud to be verified into a plurality of horizontal slices at intervals of a second preset vertical height to obtain a plurality of layers with a thickness of the second preset vertical height;

[0018] Projecting the point cloud data points in the layer with a height greater than a third preset vertical height onto a two-dimensional horizontal plane, and extracting data therein by using a Hough transform;

[0019] In the two-dimensional horizontal plane, for a straight line whose calculated length is greater than a preset threshold, a straight line equation is calculated, and a preset length is extended on both sides of the straight line equation to determine the spatial region where the power line exists, and the point cloud data points in the spatial region are taken as candidate points;

[0020] The PCA eigenvalue and the corresponding eigenvector of each candidate point are obtained by principal component analysis, and it is judged whether the PCA eigenvalue and the corresponding eigenvector of the candidate point satisfy the judgment formula. If so, the candidate point is a power line point cloud data point and is removed; otherwise, the candidate point is not a power line point cloud data point;

[0021] The judgment formula is:

[0022] Wherein, λ1, λ2 and λ3 are the first PCA eigenvalue, the second PCA eigenvalue and the third PCA eigenvalue of the candidate point respectively, v1 is the eigenvector corresponding to the first PCA eigenvalue λ1, ||*|| is the modulus operator, ζ is the main direction threshold of the power line, and θ is the direction threshold of the power line.

[0023] Based on the above technical solution, further, the octree connected grid labeling method is used to cluster and segment the single device point cloud of the substation equipment for the processed simulated three-dimensional point cloud to be verified, so as to obtain the single device point cloud, which specifically includes:

[0024] Traverse the simulated three-dimensional point cloud to be verified after processing, obtain the maximum and minimum values ​​based on the x-axis, y-axis and z-axis directions, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and calculate the coordinates of the root node grid and each leaf node grid;

[0025] Perform Morton encoding on the coordinates of each leaf node grid;

[0026] The grid coordinates and Morton codes of each point cloud data point in the simulated three-dimensional point cloud to be verified after calculation, and the corresponding linear octree;

[0027] The linear octree is used to set the resolution of the linear octree according to the spacing distance between the substation equipment units, and the point clouds in the leaf node grids and the adjacent grids in the linear octree are marked as the same cluster. The processed point clouds of the individual equipment in the simulated three-dimensional point cloud to be verified are clustered and segmented to obtain the individual equipment point clouds.

[0028] Based on the above technical solution, further, converting the relationship between the key equipment to be detected and the surrounding building structures into a topological map specifically includes:

[0029] The key equipment to be detected and the surrounding building structures are used as topological nodes in the topological map, and the power line connection between the key equipment to be detected and the surrounding building structures is used as the topological connection in the topological map;

[0030] The attributes of the topological nodes are determined according to the device types of the key devices to be detected, and the distances between the key devices to be detected are used as the attributes of the topological edges in the topological graph.

[0031] Based on the above technical solution, further, combining the topology map with the executable program to perform layout verification on the key device to be detected specifically includes:

[0032] The topological nodes in the topological graph and the topological edges around the topological nodes are traversed, the verification rules corresponding to the topological nodes are generated by using the executable program, and the layout of the key equipment to be detected is verified by using the verification rules.

[0033] In a second aspect, the present invention further provides a substation layout verification device based on specification text understanding, the device comprising:

[0034] The first processing module is used to extract the substation equipment layout rules from the substation equipment layout specification text, and convert the substation equipment layout rules into an executable program;

[0035] The second processing module is used to obtain the simulated three-dimensional point cloud to be verified, and extract the key equipment to be detected and the surrounding building structures after pre-processing the simulated three-dimensional point cloud to be verified;

[0036] The third processing module is used to convert the relationship between the key equipment to be detected and the surrounding building structures into a topological map, and combine the topological map with the executable program to perform layout verification on the key equipment to be detected.

[0037] Based on the above technical solution, further, the first processing module is specifically used to extract rule statements from the substation equipment layout specification text, and use the deep learning model BERT of the transfer learning technology to semantically annotate the rule statements to obtain the semantic labels of the rule statements;

[0038] Generate a rule checking tree according to the semantic tag, wherein the rule checking tree includes a node, and each leaf node is associated with a rule statement;

[0039] The rule checking tree is converted into executable statements in a preset format to obtain the executable program.

[0040] Based on the above technical solution, further, the second processing module is specifically used to remove the ground point cloud in the simulated three-dimensional point cloud to be verified by using a morphological asymptotic filtering method, and to remove the power line point cloud in the simulated three-dimensional point cloud to be verified by using a PCA principal component analysis method;

[0041] The processed simulated three-dimensional point cloud to be verified is clustered and segmented into single device point clouds of the substation equipment by using an octree connected grid marking method. After obtaining the single device point cloud, the wall in the single device point cloud is segmented by using a plane fitting method.

[0042] The ESF descriptors of each single device point cloud and the ESF descriptors of all models in the model library are compared for similarity, and the name of the model with the highest similarity is selected to name the single device point cloud, so as to obtain the key equipment to be detected and the surrounding building structure.

[0043] Based on the above technical solution, further, the second processing module is specifically used to divide the simulated three-dimensional point cloud to be verified into multiple horizontal slices at intervals of a second preset vertical height to obtain multiple layers with a thickness of the second preset vertical height;

[0044] Projecting the point cloud data points in the layer with a height greater than a third preset vertical height onto a two-dimensional horizontal plane, and extracting data therein by using a Hough transform;

[0045] In the two-dimensional horizontal plane, for a straight line whose calculated length is greater than a preset threshold, a straight line equation is calculated, and a preset length is extended on both sides of the straight line equation to determine the spatial region where the power line exists, and the point cloud data points in the spatial region are taken as candidate points;

[0046] The PCA eigenvalue and the corresponding eigenvector of each candidate point are obtained by principal component analysis, and it is judged whether the PCA eigenvalue and the corresponding eigenvector of the candidate point satisfy the judgment formula. If so, the candidate point is a power line point cloud data point and is removed; otherwise, the candidate point is not a power line point cloud data point;

[0047] The judgment formula is:

[0048] Wherein, λ1, λ2 and λ3 are the first PCA eigenvalue, the second PCA eigenvalue and the third PCA eigenvalue of the candidate point respectively, v1 is the eigenvector corresponding to the first PCA eigenvalue λ1, ||*|| is the modulus operator, ζ is the main direction threshold of the power line, and θ is the direction threshold of the power line.

[0049] Based on the above technical solution, further, the second processing module is specifically used to traverse the processed simulated three-dimensional point cloud to be verified, obtain the maximum and minimum values ​​based on the x-axis, y-axis and z-axis directions, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and calculate the coordinates of the root node grid and each leaf node grid;

[0050] Perform Morton encoding on the coordinates of each leaf node grid;

[0051] The grid coordinates and Morton codes of each point cloud data point in the simulated three-dimensional point cloud to be verified after calculation, and the corresponding linear octree;

[0052] The linear octree is used to set the resolution of the linear octree according to the spacing distance between the substation equipment units, and the point clouds in the leaf node grids and the adjacent grids in the linear octree are marked as the same cluster. The processed point clouds of the individual equipment in the simulated three-dimensional point cloud to be verified are clustered and segmented to obtain the individual equipment point clouds.

[0053] Based on the above technical solution, further, the third processing module is specifically used to use the key equipment to be detected and the surrounding building structures as topological nodes in the topological map, and use the power line connection between the key equipment to be detected and the surrounding building structures as the topological connection in the topological map;

[0054] The attributes of the topological nodes are determined according to the device types of the key devices to be detected, and the distances between the key devices to be detected are used as the attributes of the topological edges in the topological graph.

[0055] Based on the above technical solution, further, the third processing module is specifically used to traverse the topological nodes in the topological graph and the topological edges around the topological nodes, use the executable program to generate verification rules corresponding to the topological nodes, and use the verification rules to perform layout verification on the key equipment to be detected.

[0056] In a third aspect, the present invention further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the substation equipment layout verification method based on specification text understanding described in any one of the above technical solutions is implemented.

[0057] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the substation equipment layout verification method based on specification text understanding as described in any one of the above technical solutions is implemented.

[0058] The present invention provides a method for verifying the layout of substation equipment based on the understanding of specification text, including extracting substation equipment layout rules from the substation equipment layout specification text, converting the substation equipment layout rules into an executable program; obtaining a simulated three-dimensional point cloud to be verified, pre-processing the simulated three-dimensional point cloud to be verified, and extracting key equipment to be detected and surrounding building structures; converting the relationship between the key equipment to be detected and the surrounding building structures into a topological map, combining the topological map with the executable program, and performing layout verification on the key equipment to be detected. The present invention automatically extracts key information from the specification file and converts it into a computer executable program, realizes the extraction of relationships between equipment and buildings, and realizes efficient verification of whether substation equipment complies with the specifications. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0060] Figure 1It is a flow chart of a method for verifying substation equipment layout based on understanding of specification text provided by an embodiment of the present invention;

[0061] Figure 2 A flow chart of a method for verifying substation layout based on specification text understanding provided by an embodiment of the present invention;

[0062] Figure 3 is a schematic diagram of a power line removal result provided by another embodiment of the present invention;

[0063] Figure 4 A schematic diagram of converting the standard text parsing provided by the embodiment of the present invention into a computer logic code;

[0064] Figure 5 is a schematic diagram of a substation equipment and a building point cloud segmentation result diagram provided by another embodiment of the present invention;

[0065] Figure 6 A schematic diagram of a wall point cloud segmentation result diagram in a substation provided by an embodiment of the present invention;

[0066] Figure 7 It is a schematic diagram of a substation equipment layout verification device based on specification text understanding provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0067] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0068] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present invention belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit the exemplary embodiments according to the present invention.

[0069] The following will be combined with the attached Figure 1 , a substation equipment layout verification method based on specification text understanding provided by an embodiment of the present invention is described, the method comprising:

[0070] 100. Extracting substation equipment layout rules from substation equipment layout specification text, and converting the substation equipment layout rules into an executable program;

[0071] 200. Obtain a simulated three-dimensional point cloud to be verified, and extract key equipment to be inspected and surrounding building structures after preprocessing the simulated three-dimensional point cloud to be verified;

[0072] 300. Convert the relationship between the key equipment to be detected and the surrounding building structures into a topological map, combine the topological map with the executable program, and perform layout verification on the key equipment to be detected.

[0073] Based on the above embodiment, further, step 100 specifically includes:

[0074] Extract rule statements from the substation equipment layout specification text, and use the deep learning model BERT using transfer learning technology to semantically annotate the rule statements to obtain semantic labels for the rule statements;

[0075] Generate a rule checking tree according to the semantic tag, wherein the rule checking tree includes a node, and each leaf node is associated with a rule statement;

[0076] The rule checking tree is converted into executable statements in a preset format to obtain the executable program.

[0077] Based on the above embodiment, further, step 200 specifically includes:

[0078] 210. Using a morphological asymptotic filtering method to remove ground point clouds in the simulated three-dimensional point cloud to be verified, and using a PCA principal component analysis method to remove power line point clouds in the simulated three-dimensional point cloud to be verified;

[0079] 220. Using an octree connected grid labeling method, cluster and segment the single device point cloud of the substation equipment for the processed simulated three-dimensional point cloud to be verified, and after obtaining the single device point cloud, use a plane fitting method to segment the wall in the single device point cloud;

[0080] 230. Compare the ESF descriptors of each single device point cloud with the ESF descriptors of all models in the model library for similarity, select the name of the model with the highest similarity to name the single device point cloud, and obtain the key equipment to be detected and the surrounding building structure.

[0081] Based on the above embodiment, further, in step 210, the power line point cloud in the simulated three-dimensional point cloud to be verified is removed by using the PCA principal component analysis method, which specifically includes:

[0082] Dividing the simulated three-dimensional point cloud to be verified into a plurality of horizontal slices at intervals of a second preset vertical height to obtain a plurality of layers with a thickness of the second preset vertical height;

[0083] Projecting the point cloud data points in the layer with a height greater than a third preset vertical height onto a two-dimensional horizontal plane, and extracting data therein by using a Hough transform;

[0084] In the two-dimensional horizontal plane, for a straight line whose calculated length is greater than a preset threshold, a straight line equation is calculated, and a preset length is extended on both sides of the straight line equation to determine the spatial region where the power line exists, and the point cloud data points in the spatial region are taken as candidate points;

[0085] The PCA eigenvalue and the corresponding eigenvector of each candidate point are obtained by principal component analysis, and it is judged whether the PCA eigenvalue and the corresponding eigenvector of the candidate point satisfy the judgment formula. If so, the candidate point is a power line point cloud data point and is removed; otherwise, the candidate point is not a power line point cloud data point;

[0086] The judgment formula is:

[0087] Wherein, λ1, λ2 and λ3 are the first PCA eigenvalue, the second PCA eigenvalue and the third PCA eigenvalue of the candidate point respectively, v1 is the eigenvector corresponding to the first PCA eigenvalue λ1, ||*|| is the modulus operator, ζ is the main direction threshold of the power line, and θ is the direction threshold of the power line.

[0088] Based on the above embodiment, further, step 220 specifically includes:

[0089] Traverse the simulated three-dimensional point cloud to be verified after processing, obtain the maximum and minimum values ​​based on the x-axis, y-axis and z-axis directions, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and calculate the coordinates of the root node grid and each leaf node grid;

[0090] Perform Morton encoding on the coordinates of each leaf node grid;

[0091] The grid coordinates and Morton codes of each point cloud data point in the simulated three-dimensional point cloud to be verified after calculation, and the corresponding linear octree;

[0092] The linear octree is used to set the resolution of the linear octree according to the spacing distance between the substation equipment units, and the point clouds in the leaf node grids and the adjacent grids in the linear octree are marked as the same cluster. The processed point clouds of the individual equipment in the simulated three-dimensional point cloud to be verified are clustered and segmented to obtain the individual equipment point clouds.

[0093] Based on the above embodiment, further, in step 300, the relationship between the key equipment to be detected and the surrounding building structures is converted into a topological map, which specifically includes:

[0094] The key equipment to be detected and the surrounding building structures are used as topological nodes in the topological map, and the power line connection between the key equipment to be detected and the surrounding building structures is used as the topological connection in the topological map;

[0095] The attributes of the topological nodes are determined according to the device types of the key devices to be detected, and the distances between the key devices to be detected are used as the attributes of the topological edges in the topological graph.

[0096] Based on the above embodiment, further, in step 300, the topology map is combined with the executable program to perform layout verification on the key device to be detected, which specifically includes:

[0097] The topological nodes in the topological graph and the topological edges around the topological nodes are traversed, the verification rules corresponding to the topological nodes are generated by using the executable program, and the layout of the key equipment to be detected is verified by using the verification rules.

[0098] The present embodiment provides a method for verifying the layout of substation equipment based on the understanding of specification text, including extracting substation equipment layout rules from the substation equipment layout specification text, converting the substation equipment layout rules into an executable program; obtaining a simulated three-dimensional point cloud to be verified, pre-processing the simulated three-dimensional point cloud to be verified, and extracting key equipment to be detected and surrounding building structures; converting the relationship between the key equipment to be detected and the surrounding building structures into a topological map, combining the topological map with the executable program, and performing layout verification on the key equipment to be detected. The present invention automatically extracts key information from the specification file and converts it into a computer executable program, realizes the extraction of relationships between equipment and buildings, and realizes efficient verification of whether substation equipment complies with the specifications.

[0099] It should be understood that some studies have established a query library of words and phrases in relevant sentences based on an automatic rule conversion method, extracted sentence information based on regular expression mapping rules and conflict resolution rules, and converted them into logical statements. However, this method is not highly automated, requires a lot of manual work to write query languages, and has low scalability and maintainability.

[0100] Another difficulty is how to check the equipment layout in the point cloud of the substation scene according to the generated rules. The conventional approach is to directly segment and identify the individual equipment and the buildings adjacent to it from the point cloud. However, it is inefficient to extract each device to be inspected from the point cloud one by one. Constructing a device topology map is an abstract representation of the equipment layout information contained in the point cloud. By extracting the equipment information from the point cloud at one time and abstracting the relationship between the equipment and the building into the topology map, the complex point cloud scene can be abstracted into a simple topology map structure, which can more intuitively reflect the layout of the substation equipment and facilitate the layout comparison of multiple devices.

[0101] The present invention provides a substation equipment layout verification method based on specification text understanding. The method can automatically extract key information in the specification file through natural language processing technology and convert it into a computer executable program; and through digital twin technology, the three-dimensional spatial information of the substation is efficiently obtained. Through point cloud clustering segmentation and point cloud retrieval, the point cloud data of the entire substation is divided according to equipment, and the relationship between equipment and buildings is extracted. The method of the present invention abstracts the relationship between equipment and buildings into a topological graph structure, and uses the computer executable program converted from the specification text as a reference, which can realize efficient verification of whether the substation equipment meets the specifications.

[0102] The present invention provides a method for verifying the layout of substation equipment based on understanding of specification text, comprising the following steps:

[0103] Step 1: input the natural language text of the substation equipment layout specification, perform preprocessing, semantic annotation, semantic parsing, and computer rule generation on it, so as to automatically extract the substation equipment layout rules and convert them into computer executable programs;

[0104] Step 2: Use laser radar scanning technology to obtain real-life 3D point clouds from the actual substation, or perform discrete sampling on the 3D design model to obtain simulated 3D point clouds. Preprocess the point cloud, and then use the point cloud processing algorithm to extract the key equipment and surrounding building structures to be tested for compliance;

[0105] Step three, abstract the relationship between the equipment and the building structure into a topological structure, and use the computer executable program converted from the standard text as a reference to achieve efficient verification of whether the substation equipment complies with the standards.

[0106] Furthermore, the automatic parsing method of the standard text described in step one includes the following contents: the preprocessing step is to manually select sentences with rule information and suitable for conversion into a format that can be processed by a computer from the substation design standard text; the semantic annotation step is to add labels to words or phrases in the sentence to express semantic information; the parsing step is to parse the semantic labels in the sentence into a logical tree structure; the rule generation step is to convert the structure of the parsing tree into a computer-processable language.

[0107] Furthermore, the substation real scene scanning point cloud preprocessing described in step 2 includes ground point cloud removal and power line point cloud extraction, wherein the ground point cloud removal adopts a morphological asymptotic filtering method, and the power line extraction adopts a PCA principal component analysis method.

[0108] Furthermore, the point cloud processing method described in step 2 includes clustering and segmenting the single device point clouds related to the substation equipment of the preprocessed substation site cloud using an octree-based connected grid labeling method to obtain several single device point clouds in the preprocessed substation site cloud.

[0109] Furthermore, the point cloud processing method described in step 2 includes segmenting each wall using a RANSAC plane fitting method. This method can effectively solve the problem of segmenting connected wall point clouds that cannot be achieved based on the octree connected grid marking method.

[0110] Furthermore, the point cloud processing method described in step 2 includes identification of substation equipment type, that is, obtaining each single device point cloud and the ESF descriptor of each device model in the preset device model library respectively, and for the single device point cloud, comparing its ESF descriptor with the ESF descriptors of all models in the model library for similarity, selecting the name of the three-dimensional model with the highest similarity and assigning it to the point cloud single body to complete the point cloud device shape retrieval.

[0111] Furthermore, the method of abstracting the relationship between devices and between devices and building structures into a topological graph structure as described in step three is to abstract the power equipment in the device cluster and the power line connections between buildings into topological nodes and topological connections, and assign topological node attributes according to the equipment type retrieved from the device model, and assign topological edge attributes to the distance between nodes.

[0112] Furthermore, the single power transformation equipment and building described in step three include transformers, circuit breakers, capacitors, gantry frames, walls and ground, etc.

[0113] It should be understood that the natural language text of the substation equipment layout specification is input, preprocessed, semantically annotated, semantically parsed, and computer rules are generated, so as to automatically extract the substation equipment layout rules and convert them into computer executable programs; the actual substation is subjected to laser radar scanning technology to obtain the real-life three-dimensional point cloud, or the three-dimensional design model is discretized and sampled to obtain the simulated three-dimensional point cloud. The point cloud is preprocessed, and then the point cloud processing algorithm is used to extract the key equipment and surrounding building structures to be tested for compliance; the relationship between the equipment and the building structure is abstracted into a topological structure, and the computer executable program converted from the specification text is used as a reference to achieve efficient verification of whether the substation equipment complies with the specification.

[0114] like Figure 2 As shown, this embodiment implements the substation equipment layout verification method based on specification text understanding of the present invention to a certain substation, in which the substation equipment and building include transformers, circuit breakers, capacitors, gantries, walls and ground.

[0115] Automatic parsing of standard text is mainly divided into the following four steps:

[0116] In the preprocessing step, we manually select sentences from the standard text that contain rule information and are suitable for conversion into a format that can be processed by computers.

[0117] In the semantic annotation step, words or phrases in the sentence are labeled to express semantic information. In order to improve the semantic recognition ability, this paper uses a deep learning model BERT combined with transfer learning technology for semantic annotation.

[0118] The parsing step is to parse the semantic tags in the sentence into a logical tree structure; the rule generation step is to convert the structure of the parse tree into a computer-processable language. Figure 4 shown.

[0119] The rule generation step converts the tree representation into a language with a specific format for rule execution, such as if-then statements, horn logic clauses, programming languages, etc. The specification text can be described by objects with many attributes, and this hierarchy can be represented by a tree structure. This paper uses the rule checking tree (RCTree): a tree structure that represents the object hierarchy, where only one tree node can have multiple child nodes, and each leaf node is connected to a requirement condition.

[0120] In this embodiment, the preprocessing includes removing the ground point cloud and power line point cloud in the substation cloud. The substation cloud contains a large number of ground point clouds and power line point clouds, which are interferences for subsequent point cloud clustering and segmentation and model matching. Therefore, before this, the ground point cloud and power line point cloud in the substation cloud need to be removed.

[0121] Among them, the removal of ground point cloud is carried out by morphological asymptotic filtering method:

[0122] Progressive morphological filtering is an effective method for extracting ground point clouds. The basic idea of ​​this method is to gradually reduce the impact on the ground through continuous iterative morphological operations, and finally achieve the purpose of extracting ground point clouds. Progressive morphological filtering can effectively filter out smaller objects in a specified window size through the process of corrosion and then expansion, thereby separating ground point clouds and non-ground point clouds. The characteristic of this method is that it gradually filters out non-ground points through iterative operations with continuously increasing windows, but it may also lead to erroneous filtering of the tops of some undulating terrain, forming a surface lower than the real ground. In order to solve potential problems, it is necessary to introduce a height difference threshold judgment mechanism to retain points less than the height difference threshold. The calculation formula of the height difference threshold is as follows:

[0123]

[0124] In the formula, c is the grid size, s is the terrain slope parameter, and w k is the window size of the kth filtering, h0 is the initial height difference threshold, h max is the maximum height difference threshold, h k It is the height difference threshold under the current filter window.

[0125] like Figure 3 As shown in the figure, power lines are an important component of power stations. Various power equipment are connected together through power lines, which are usually installed above the insulators of power equipment and on the sides of poles. The connection between various equipment makes it very difficult to cluster and segment the equipment. Therefore, power lines can be extracted before segmenting power equipment. Power lines usually have the following characteristics: (1) The projection of power lines on the XOY plane is distributed in a straight line (2) The shape of power lines is a linear structure and is smaller than other equipment. The removal of power line point cloud is carried out by the following method:

[0126] The candidate points of the substation cloud are obtained by using the linear fitting method, and the power line point cloud data points in the candidate points are screened out as the power line point cloud and removed by using the PCA principal component analysis method. The candidate point acquisition method is as follows:

[0127] The substation cloud is divided into several horizontal slices at the same vertical height interval h2 to obtain several layers with a thickness of h2; h2 is generally 0.3 meters.

[0128] Project the point cloud data points in the layer with a height greater than h3 onto a two-dimensional horizontal plane, and extract the line segments therein by Hough transform; h3 can be selected according to the height range of the overhead power line of the substation;

[0129] In the horizontal projection plane of this layer, the straight line equation is calculated for the straight line with a calculated length greater than the threshold h4, and 0.5m is extended on both sides of the straight line equation to determine the spatial area where the power lines exist in this layer. The point cloud data points in this spatial area are candidate points; h4 is generally taken as 1m.

[0130] The screening method of power line point cloud data points is as follows:

[0131] The PCA principal component analysis method is used to obtain the PCA eigenvalues ​​and corresponding eigenvectors of each candidate point. Since the power lines are small and linear, there is only one main direction in the neighborhood of the candidate point. Since the power lines are arranged horizontally, the eigenvector v1 corresponding to λ1 is approximately perpendicular to the Z axis. That is, if the PCA eigenvalues ​​and corresponding eigenvectors of the candidate point satisfy the following formula, it means that the candidate point is a power line point cloud data point, otherwise the candidate point is not a power line point cloud data point;

[0132]

[0133] Where λ1, λ2, λ3 are the first, second, and third PCA eigenvalues ​​of the candidate point, respectively; v1 is the eigenvector corresponding to the first PCA eigenvalue λ1; ||*|| is the modulus operator; ζ is the threshold of the main direction of the power line; θ is the threshold of the direction of the power line; as a preferred solution, ζ=1e3, θ=0.8, and the power line extraction can obtain better results;

[0134] In this embodiment, the octree connected grid marking method is described, that is, the point clouds in the octree grid and the adjacent grid are marked as the same cluster, thereby clustering and segmenting the single device point cloud related to the substation equipment on the pre-processed substation site cloud, and obtaining several single device point clouds in the pre-processed substation site cloud. The specific steps are as follows:

[0135] First, traverse the preprocessed substation cloud, obtain the maximum and minimum values ​​in the x, y and z axis directions respectively, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and thus calculate the coordinates of the root node grid and each leaf node grid;

[0136] Secondly, the coordinates of each leaf node grid are Morton encoded;

[0137] Then, the grid coordinates and Morton codes of each point cloud data point in the preprocessed substation site cloud are calculated, so as to construct a linear octree corresponding to the preprocessed substation site cloud;

[0138] Finally, using the constructed linear octree, the octree resolution n is set according to the spacing between the substation equipment monomers. According to the principle that the point clouds in the leaf node grid and the adjacent grid in the octree are marked as the same cluster, the clustering segmentation of the monomer equipment point cloud in the preprocessed substation site cloud is completed. The segmentation and clustering results are shown in Figure 2. Figure 5 shown.

[0139] The above algorithm is an extension of the image connected region labeling algorithm in three-dimensional space. Compared with point cloud clustering algorithms based on point cloud distribution, such as kmeans and DBSCAN, point cloud clustering based on octree connected grid labeling uses octree to rasterize three-dimensional space, avoiding calculations for each point. It has significant advantages in point cloud clustering speed and can ensure clustering correctness.

[0140] like Figure 6 As shown, the point cloud segmentation method in this embodiment adopts different segmentation methods for different scenarios. The point cloud clustering method based on octree connected grid labeling can segment out disconnected clusters, but when segmenting wall point clouds, each wall is connected, and this segmentation method cannot segment out each wall. In this case, the RANSAC plane fitting method is used to segment each wall point cloud. For the segmentation of point cloud devices or buildings that are not connected, the octree connected grid labeling method can achieve good results. For point clouds with different walls connected to each other, such as the wall of a substation, RANSAC plane fitting is used. Figure 4 shown.

[0141] In the retrieval process of the point cloud device type in this embodiment, the ESF descriptors of each individual device point cloud and each device model in the preset device model library are obtained respectively. For the individual device point cloud, its ESF descriptor is compared with the ESF descriptors of all models in the model library for similarity, and the name of the three-dimensional model with the highest similarity is selected and assigned to the point cloud individual to complete the point cloud device retrieval.

[0142] This embodiment is further designed on the basis of the first embodiment in that the method of abstracting the relationship between devices and buildings into a topological graph structure in this embodiment is to abstract the power equipment in the device cluster and the power line connections between buildings into topological nodes and topological connections, and assign topological node attributes according to the equipment type retrieved from the equipment model, and assign topological edge attributes to the distance between nodes.

[0143] In this way, the topology structure is established, and then the computer executable program converted from the standard text is loaded and read, that is, the XML file is used as a reference, and verification rules can be generated in the code to realize whether the substation equipment meets the standards. Here, the main transformer node in the topology diagram is taken as an example, and the topological edges around the node are traversed. The layout of the main transformer is verified by combining the substation rules generated by semantic analysis. The results are as follows Figure 5 As shown, the white arrows in the figure indicate that the equipment layout complies with the specifications.

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

[0145] The present invention provides a substation equipment layout verification method based on specification text understanding. The method can automatically extract key information in the specification file through natural language processing technology and convert it into a computer executable program; and efficiently obtain the three-dimensional spatial information of the substation through point cloud technology. Through point cloud clustering segmentation and point cloud retrieval, the point cloud data of the entire substation is divided according to the equipment, and the relationship between the equipment and the building is extracted. The method of the present invention abstracts the relationship between the equipment and the building into a topological graph structure, and uses the computer executable program converted from the specification text as a reference, which can realize efficient verification of whether the substation equipment meets the specifications.

[0146] like Figure 7 As shown, the present invention also provides a substation layout verification device based on specification text understanding, the device comprising:

[0147] The first processing module is used to extract the substation equipment layout rules from the substation equipment layout specification text, and convert the substation equipment layout rules into an executable program;

[0148] The second processing module is used to obtain the simulated three-dimensional point cloud to be verified, and extract the key equipment to be detected and the surrounding building structures after pre-processing the simulated three-dimensional point cloud to be verified;

[0149] The third processing module is used to convert the relationship between the key equipment to be detected and the surrounding building structures into a topological map, and combine the topological map with the executable program to perform layout verification on the key equipment to be detected.

[0150] Based on the above embodiment, further, the first processing module is specifically used to extract rule statements from the substation equipment layout specification text, and use the deep learning model BERT of the transfer learning technology to semantically annotate the rule statements to obtain the semantic labels of the rule statements;

[0151] Generate a rule checking tree according to the semantic tag, wherein the rule checking tree includes a node, and each leaf node is associated with a rule statement;

[0152] The rule checking tree is converted into executable statements in a preset format to obtain the executable program.

[0153] Based on the above embodiment, further, the second processing module is specifically used to remove the ground point cloud in the simulated three-dimensional point cloud to be verified by using a morphological asymptotic filtering method, and to remove the power line point cloud in the simulated three-dimensional point cloud to be verified by using a PCA principal component analysis method;

[0154] The processed simulated three-dimensional point cloud to be verified is clustered and segmented into single device point clouds of the substation equipment by using an octree connected grid marking method. After obtaining the single device point cloud, the wall in the single device point cloud is segmented by using a plane fitting method.

[0155] The ESF descriptors of each single device point cloud and the ESF descriptors of all models in the model library are compared for similarity, and the name of the model with the highest similarity is selected to name the single device point cloud, so as to obtain the key equipment to be detected and the surrounding building structure.

[0156] Based on the above embodiment, further, the second processing module is specifically used to divide the simulated three-dimensional point cloud to be verified into a plurality of horizontal slices at intervals of a second preset vertical height to obtain a plurality of layers with a thickness of the second preset vertical height;

[0157] Projecting the point cloud data points in the layer with a height greater than a third preset vertical height onto a two-dimensional horizontal plane, and extracting data therein by using a Hough transform;

[0158] In the two-dimensional horizontal plane, for a straight line whose calculated length is greater than a preset threshold, a straight line equation is calculated, and a preset length is extended on both sides of the straight line equation to determine the spatial region where the power line exists, and the point cloud data points in the spatial region are taken as candidate points;

[0159] The PCA eigenvalue and the corresponding eigenvector of each candidate point are obtained by principal component analysis, and it is judged whether the PCA eigenvalue and the corresponding eigenvector of the candidate point satisfy the judgment formula. If so, the candidate point is a power line point cloud data point and is removed; otherwise, the candidate point is not a power line point cloud data point;

[0160] The judgment formula is:

[0161] Wherein, λ1, λ2 and λ3 are the first PCA eigenvalue, the second PCA eigenvalue and the third PCA eigenvalue of the candidate point respectively, v1 is the eigenvector corresponding to the first PCA eigenvalue λ1, ||*|| is the modulus operator, ζ is the main direction threshold of the power line, and θ is the direction threshold of the power line.

[0162] Based on the above embodiment, further, the second processing module is specifically used to traverse the processed simulated three-dimensional point cloud to be verified, obtain the maximum and minimum values ​​based on the x-axis, y-axis and z-axis directions, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and calculate the coordinates of the root node grid and each leaf node grid;

[0163] Perform Morton encoding on the coordinates of each leaf node grid;

[0164] The grid coordinates and Morton codes of each point cloud data point in the simulated three-dimensional point cloud to be verified after calculation, and the corresponding linear octree;

[0165] The linear octree is used to set the resolution of the linear octree according to the spacing distance between the substation equipment units, and the point clouds in the leaf node grids and the adjacent grids in the linear octree are marked as the same cluster. The processed point clouds of the individual equipment in the simulated three-dimensional point cloud to be verified are clustered and segmented to obtain the individual equipment point clouds.

[0166] Based on the above embodiment, further, the third processing module is specifically used to use the key equipment to be detected and the surrounding building structures as topological nodes in the topological map, and use the power line connection between the key equipment to be detected and the surrounding building structures as the topological connection in the topological map;

[0167] The attributes of the topological nodes are determined according to the device types of the key devices to be detected, and the distances between the key devices to be detected are used as the attributes of the topological edges in the topological graph.

[0168] Based on the above embodiment, further, the third processing module is specifically used to traverse the topological nodes in the topological graph and the topological edges around the topological nodes, use the executable program to generate verification rules corresponding to the topological nodes, and use the verification rules to perform layout verification on the key equipment to be detected.

[0169] This embodiment provides a substation equipment layout verification device based on specification text understanding, including extracting substation equipment layout rules from substation equipment layout specification text, converting the substation equipment layout rules into an executable program; obtaining a simulated three-dimensional point cloud to be verified, pre-processing the simulated three-dimensional point cloud to be verified, and extracting key equipment to be detected and surrounding building structures; converting the relationship between the key equipment to be detected and the surrounding building structures into a topological map, combining the topological map with the executable program, and performing layout verification on the key equipment to be detected. The present invention automatically extracts key information from the specification file and converts it into a computer executable program, realizes the extraction of relationships between equipment and buildings, and realizes efficient verification of whether substation equipment complies with the specifications.

[0170] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements any one of the above-mentioned technical solutions including the method for verifying the layout of substation equipment based on the understanding of the specification text.

[0171] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the substation equipment layout verification method based on specification text understanding described in any one of the above technical solutions is implemented.

[0172] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for verifying substation equipment layout based on specification text understanding, characterized in that: The method comprises: Extracting substation equipment layout rules from substation equipment layout specification text, and converting the substation equipment layout rules into an executable program; Acquire the simulated three-dimensional point cloud to be verified, and extract the key equipment to be inspected and the surrounding building structures after preprocessing the simulated three-dimensional point cloud to be verified; The relationship between the key equipment to be detected and the surrounding building structures is converted into a topological map, and the topological map is combined with the executable program to perform layout verification on the key equipment to be detected.

2. The method according to claim 1, characterized in that The extracting of substation equipment layout rules from the substation equipment layout specification text and converting the substation equipment layout rules into an executable program specifically includes: Extract rule statements from the substation equipment layout specification text, and use the deep learning model BERT using transfer learning technology to semantically annotate the rule statements to obtain semantic labels for the rule statements; Generate a rule checking tree according to the semantic tag, wherein the rule checking tree includes a node, and each leaf node is associated with a rule statement; The rule checking tree is converted into executable statements in a preset format to obtain the executable program.

3. The method according to claim 1, characterized in that: The method of obtaining a simulated three-dimensional point cloud to be verified and preprocessing the simulated three-dimensional point cloud to be verified to extract key equipment to be detected and surrounding building structures specifically includes: A morphological asymptotic filtering method is used to remove ground point clouds in the simulated three-dimensional point cloud to be verified, and a principal component analysis method is used to remove power line point clouds in the simulated three-dimensional point cloud to be verified; The processed simulated three-dimensional point cloud to be verified is clustered and segmented into single device point clouds of the substation equipment by using an octree connected grid marking method. After obtaining the single device point cloud, the wall in the single device point cloud is segmented by using a plane fitting method. The ESF descriptors of each single device point cloud and the ESF descriptors of all models in the model library are compared for similarity, and the name of the model with the highest similarity is selected to name the single device point cloud, so as to obtain the key equipment to be detected and the surrounding building structure.

4. The method according to claim 3, characterized in that The method of removing the power line point cloud in the simulated three-dimensional point cloud to be verified by using the PCA principal component analysis method specifically includes: Dividing the simulated three-dimensional point cloud to be verified into a plurality of horizontal slices at intervals of a second preset vertical height to obtain a plurality of layers with a thickness of the second preset vertical height; Projecting the point cloud data points in the layer with a height greater than a third preset vertical height onto a two-dimensional horizontal plane, and extracting data therein by using a Hough transform; In the two-dimensional horizontal plane, for a straight line whose calculated length is greater than a preset threshold, a straight line equation is calculated, and a preset length is extended on both sides of the straight line equation to determine the spatial region where the power line exists, and the point cloud data points in the spatial region are taken as candidate points; The PCA eigenvalue and the corresponding eigenvector of each candidate point are obtained by principal component analysis, and it is judged whether the PCA eigenvalue and the corresponding eigenvector of the candidate point satisfy the judgment formula. If so, the candidate point is a power line point cloud data point and is removed; otherwise, the candidate point is not a power line point cloud data point; The judgment formula is: Wherein, λ1, λ2 and λ3 are the first PCA eigenvalue, the second PCA eigenvalue and the third PCA eigenvalue of the candidate point respectively, v1 is the eigenvector corresponding to the first PCA eigenvalue λ1, ||*|| is the modulus operator, ζ is the main direction threshold of the power line, and θ is the direction threshold of the power line.

5. The method according to claim 3, characterized in that: The method of using the octree connected grid marking method to cluster and segment the single device point cloud of the substation equipment on the processed simulated three-dimensional point cloud to be verified to obtain the single device point cloud specifically includes: Traverse the simulated three-dimensional point cloud to be verified after processing, obtain the maximum and minimum values ​​based on the x-axis, y-axis and z-axis directions, take the leaf node grid where the minimum value is located as the origin of the grid coordinates, obtain the coordinates of each leaf node grid, and calculate the coordinates of the root node grid and each leaf node grid; Perform Morton encoding on the coordinates of each leaf node grid; The grid coordinates and Morton codes of each point cloud data point in the simulated three-dimensional point cloud to be verified after calculation, and the corresponding linear octree; The linear octree is used to set the resolution of the linear octree according to the spacing distance between the substation equipment units, and the point clouds in the leaf node grids and the adjacent grids in the linear octree are marked as the same cluster. The processed point clouds of the individual equipment in the simulated three-dimensional point cloud to be verified are clustered and segmented to obtain the individual equipment point clouds.

6. The method according to claim 3, characterized in that: The converting the relationship between the key equipment to be detected and the surrounding building structures into a topological map specifically includes: The key equipment to be detected and the surrounding building structures are used as topological nodes in the topological map, and the power line connection between the key equipment to be detected and the surrounding building structures is used as the topological connection in the topological map; The attributes of the topological nodes are determined according to the device types of the key devices to be detected, and the distances between the key devices to be detected are used as the attributes of the topological edges in the topological graph.

7. The method according to claim 1, characterized in that The combining the topology map with the executable program to perform layout verification on the key device to be detected specifically includes: The topological nodes in the topological graph and the topological edges around the topological nodes are traversed, the verification rules corresponding to the topological nodes are generated by using the executable program, and the layout of the key equipment to be detected is verified by using the verification rules.

8. A substation equipment layout verification device based on specification text understanding, characterized in that: The device comprises: The first processing module is used to extract the substation equipment layout rules from the substation equipment layout specification text, and convert the substation equipment layout rules into an executable program; The second processing module is used to obtain the simulated three-dimensional point cloud to be verified, and extract the key equipment to be detected and the surrounding building structures after pre-processing the simulated three-dimensional point cloud to be verified; The third processing module is used to convert the relationship between the key equipment to be detected and the surrounding building structures into a topological map, and combine the topological map with the executable program to perform layout verification on the key equipment to be detected.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the substation equipment layout verification method based on specification text understanding described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the substation equipment layout verification method based on specification text understanding according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Three-dimensional point cloud processing method and system based on Kinect V2

    CN120031959A