Method and program for detecting piping design defects, method and program for constructing a database of past piping design defects, and system for detecting piping design defects
The conversion of CAD and system diagram data into directed graphs using past defect information allows for efficient detection and correction of piping design defects, addressing the limitations of current systems in identifying connection and flow direction errors.
Patent Information
- Application Number
- JP2021035363
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-05
- Publication Date
- 2025-01-23
- Estimated Expiration
- 2041-03-05
AI Technical Summary
Existing piping design systems fail to effectively detect defects such as incorrect connections and flow direction issues at pipe confluence points, despite advancements in automation and interference checking.
A method and system that convert design CAD data and system diagram data into a directed graph, utilizing past defect information to identify similarities and rank potential defects, allowing for quick detection and correction of piping design flaws.
Enables rapid identification and correction of piping design defects by leveraging past defect data, improving accuracy and reducing manual labor through automated detection and database construction.
Smart Images

Figure 0007620287000001 
Figure 0007620287000002 
Figure 0007620287000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a piping design defect detection method and detection program for detecting piping design defects by referring to past defects, a past piping design defect database construction method and construction program, and a piping design defect detection system. [Background technology]
[0002] In recent years, design lead times have tended to shorten, and automation in design work has become increasingly important. Especially in shipbuilding, where a wide variety of products are produced in small quantities, there are many new designs. Furthermore, piping design, which is an outfitting item, is often put off compared to hull design, making it an urgent issue. On the other hand, some automated functions, such as automatic interference checks, are becoming more and more available as CAD functions.
[0003] Patent Document 1 discloses a plant equipment layout design system that uses 3D CAD to three-dimensionally design the equipment layout of a multi-story plant, and that includes a standard layout rule database in which the positions in three-dimensional space of the equipment that constitutes the plant are determined in advance. Basic plant plan information such as plant output, height of each floor, equipment configuration, and building dimensions are input to a processing device, a reference coordinate system is set in three-dimensional space based on information on standard structural materials included in the basic plant plan information, and the equipment, piping, passageways, and virtual space of each floor on each floor are set as equipment layout positions on the coordinate system in accordance with the layout rules to perform the equipment layout design. Patent Document 2 also discloses a system for designing a building equipment system, the system comprising: at least one processor operative to execute at least one computer program; and at least one user interface connected to the at least one processor and operative to receive a plurality of data sets, the plurality of data sets comprising a first data set having locations of a plurality of component devices of the at least one building equipment system and a second data set having at least one operational parameter associated with at least one of the plurality of component devices. The at least one computer program uses the plurality of data sets to generate a plurality of design solutions, each of the plurality of design solutions comprising an arrangement of interconnections between the plurality of component devices. The at least one computer program operates to determine a construction cost associated with each of the plurality of design solutions. Patent Document 3 discloses a simulation device that creates a piping model, which is a model of a mesh piping circuit into which a fluid flows, based on input mesh coarseness, the piping model having a plurality of valves including a plurality of solenoid valves that can be opened and closed by control, and a plurality of pipes, the plurality of pipes being arranged in a mesh pattern by connecting the valves of each of the plurality of pipes, and creates a factory model, which is a model of a factory equipped with a mesh piping circuit and is a model to be simulated, by combining the created piping model with a factory layout model indicating a model of a factory using the mesh piping circuit; a construction cost calculation unit that calculates the construction cost of the factory indicated by the factory model; a production cost calculation unit that calculates the operating cost of the factory using the mesh piping circuit by simulating the factory model; and a mesh effect evaluation unit that evaluates the effect of the mesh piping circuit based on the construction cost and operating cost. Furthermore, Patent Document 4 discloses a design support device that performs a design rule check on design data of a board on which circuit elements are arranged, and includes a first DRC unit that performs a design rule check on the design data by geometric calculations, a generation unit that generates image data from the design data in which a portion determined to be an error by the first DRC unit is centered, a second DRC unit that performs a design rule check on the image data by artificial intelligence that has undergone deep learning, and a display control unit that causes a display unit to display first information indicating the results of the design rule check by the second DRC unit. Patent Document 5 also discloses a piping transport route search method in which, when transporting a fluid from its source to its destination, a computer searches for an optimal transport route from multiple piping systems between the source and destination. The method regards all system equipment that constitutes the piping system, except for valves and piping, as nodes in graph theory, and regards the valves and piping as lines connecting the nodes, thereby disclosing a network representation method for a piping system in which an actual piping system is represented as a network for transport route search. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2006-330887 A [Patent Document 2] Special Publication No. 2013-516007 [Patent Document 3] International Publication No. 2020 / 183647 [Patent Document 4] WO 2020 / 79810 [Patent Document 5] Japanese Patent Application Publication No. 7-225788 Summary of the Invention [Problem to be solved by the invention]
[0005] Patent Document 1 describes a system in which rules for the placement of equipment on each floor are established in advance based on past cases and the knowledge of experienced engineers, and equipment is automatically placed according to those placement rules. However, it does not detect design defects in piping. Patent Document 2 determines a minimum-cost solution that satisfies all necessary design parameters input into the system, but does not detect design flaws in piping. Patent Document 3 evaluates the effectiveness of a mesh piping circuit based on construction costs and operating costs, but does not detect design defects in the piping. Patent Document 4 aims to increase the efficiency of the task of checking whether an error determined by a design rule check is a true error, but does not detect design defects in piping. Patent Document 5 discloses a method for searching for an optimal transfer route by a computer, but does not detect design defects in piping. Therefore, an object of the present invention is to provide a piping design defect detection method, a detection program, a method for building a past piping design defect database, a construction program, and a piping design defect detection system that quickly detect defects in pipe connections or flow direction at pipe junctions. [Means for solving the problem]
[0006] A piping design defect detection method corresponding to the claim 1, which detects piping design defects by referring to past defects, is characterized by comprising a CAD data acquisition step of acquiring design CAD data related to the piping design, a system diagram data acquisition step of acquiring system diagram data of the piping, a directed graph conversion step of converting into a directed graph based on the design CAD data and the system diagram data, a defect information acquisition step of acquiring a past defect graph from a past piping design defect database, a candidate group generation step of generating a candidate group by subgraph isomorphism of the directed graph for the acquired past defect graph, a similarity calculation step of calculating the similarity between the candidate group and the past defect graph, and a ranking presentation step of arranging the candidate group and the past defect graph in order of similarity and presenting a ranking. According to the present invention as described in claim 1, by obtaining past similar defect information ranked based on similarity, it is possible to quickly detect piping design defects, such as pipes that are not connected or flow in the opposite direction at a pipe junction. In addition, if the design CAD data and the piping system diagram data are managed in an integrated manner in association with each other, it is also possible to integrate the CAD data acquisition step and the system diagram data acquisition step.
[0007] The present invention as described in claim 2 is characterized in that the design CAD data includes piping data expressed in line form and the coordinate values of the smallest rectangular parallelepiped of the shape parts, and the system diagram data includes the start and finish conditions of the piping flow. According to the present invention as set forth in claim 2, by using design CAD data and system diagram data that satisfy the necessary conditions for conversion into a directed graph, the design CAD data and system diagram data can be converted into a directed graph with high accuracy.
[0008] The present invention described in claim 3 is characterized in that the directed graph conversion step includes a definition step for defining graph nodes based on line-form piping data and rectangular prism coordinate value data, and defining edges connecting the nodes from the piping data expressed in line form, a contraction step for contracting the nodes, and a directed graph construction step for searching for nodes based on start and goal conditions, and constructing a directed graph by assigning the shortest path and flow direction. According to the present invention as defined in claim 3, it is possible to convert design CAD data and system diagram data into a directed graph efficiently and with high accuracy.
[0009] The present invention described in claim 4 is characterized in that the reduction step includes a first reduction step of reducing nodes for a point cloud represented by all nodes, taking into account a specified radius range, and a second reduction step of reducing the nodes of the shape parts and other internal point nodes into one, taking into account other points inside the rectangular prism. According to the present invention as defined in claim 4, the conversion to a directed graph can be more appropriately performed by contracting.
[0010] The present invention as recited in claim 5 is characterized in that a design defect of a piping is corrected based on the past defect graph presented as a ranking in the ranking presentation step. According to the present invention as defined in claim 5, design defects in piping can be appropriately corrected. In addition, correction of piping design defects can be performed manually or automatically by a computer, CAD system, etc.
[0011] A piping design defect detection program corresponding to the program described in claim 6 is a program for detecting piping design defects by referring to past defects, and is characterized in that it causes a computer to execute a CAD data acquisition step, a system diagram data acquisition step, a directed graph conversion step, a defect information acquisition step, a candidate group generation step, a similarity calculation step, and a ranking presentation step in a piping design defect detection method. According to the present invention as set forth in claim 6, a program causes a computer to execute detection of piping design defects by referring to past defects, thereby enabling piping design defects to be detected quickly and reducing labor.
[0012] A method for constructing a past piping design defect database corresponding to the method described in claim 7 is a method for constructing past piping design defects as a database, and is characterized by comprising a design defect information acquisition step for acquiring information on past piping design defects, a past CAD data acquisition step for acquiring past design CAD data related to the past piping design defects, a past system diagram data acquisition step for acquiring past system diagram data related to the past piping design defects, a past design directed graph conversion step for converting the past piping design defects into a directed graph based on the past design CAD data and the past system diagram data, and a storage step for storing the directed graphed design defects in the past piping design defect database as past defect graphs. According to the present invention as set forth in claim 7, by constructing a database in which past design CAD data and past system diagram data in which piping design defects have been found in the past are appropriately converted into directed graphs and stored, defects in the current piping design can be quickly identified based on the similarity of the directed graphs.
[0013] The present invention as described in claim 8 is characterized in that the past design CAD data includes piping data expressed in line form and coordinate values of the smallest rectangular parallelepiped of the shape parts, and the past system diagram data includes start and finish conditions of the past piping flow. According to the present invention as set forth in claim 8, by using past design CAD data and past system diagram data that satisfy the necessary conditions for conversion into a directed graph, the past design CAD data and the past system diagram data can be converted into a directed graph with high accuracy.
[0014] The present invention as described in claim 9 is characterized in that the past design directed graph conversion step includes a definition step of defining graph nodes based on line-form piping data and rectangular prism coordinate value data, and defining edges connecting the nodes from the piping data expressed in line form, a contraction step of contracting the nodes, and a directed graph construction step of searching for nodes based on start and goal conditions, and constructing a directed graph by assigning the shortest path and flow direction. According to the present invention as set forth in claim 9, previous design CAD data and system diagram data can be converted into a directed graph efficiently and with high accuracy.
[0015] The present invention described in claim 10 is characterized in that the reduction step includes a first reduction step of reducing nodes for a point cloud represented by all nodes, taking into account a specified radius range, and a second reduction step of reducing the nodes of the shape parts and other internal point nodes into one, taking into account other points inside the rectangular prism. According to the present invention as defined in claim 10, the conversion to a directed graph can be more appropriately performed by contracting.
[0016] A past piping design defect database construction program corresponding to the claim 11 is a program for constructing past piping design defects as a database, and is characterized in that it causes a computer to execute a design defect information acquisition step, a past CAD data acquisition step, a past system diagram data acquisition step, a past design directed graph conversion step, and a storage step in a past piping design defect database construction method. According to the present invention as set forth in claim 11, a program causes a computer to execute the construction of a database relating to past piping design defects, thereby making it possible to reduce the labor required for constructing a database that accumulates past piping design defects.
[0017] The piping design defect detection system according to claim 12 is a detection system that detects piping design defects by referring to past defects, and is characterized in comprising a defect detection means having a design means for designing piping using a CAD system, a past piping design defect database in which defect information of past piping designs is stored as a past defect graph, a design information acquisition unit for acquiring design CAD data and system diagram data of piping designed by the design means, a past defect information acquisition unit for acquiring past piping design defect information from the past piping design defect database, a similarity search unit for converting the design CAD data and system diagram data into a directed graph, calculating the similarity with the defect information of the past piping designs, and calculating a ranking, and a result presentation unit for presenting the ranking. According to the present invention as set forth in claim 12, by obtaining past similar defect information ranked based on similarity, it is possible to quickly detect piping design defects, such as pipes that are not connected or flow in the opposite direction at a pipe junction.
[0018] The present invention as set forth in claim 13 is characterized in that the similarity search unit has a directed graph conversion unit, a candidate group generation unit, a similarity calculation unit, and a ranking calculation unit. According to the present invention as set forth in claim 13, it is possible to accurately calculate the similarity between the directed graph of the current piping design and the directed graph of the past piping design, and perform a ranking calculation.
[0019] The present invention as set forth in claim 14 is characterized in that the past piping design defect database is constructed based on a method for constructing a past piping design defect database. According to the present invention as set forth in claim 14, by constructing a database in which past design CAD data and past system diagram data in which there have been piping design defects in the past are appropriately converted into directed graphs and stored, defects in the current piping design can be quickly identified based on the similarity of the directed graphs.
[0020] The present invention as recited in claim 15 is characterized in that the defect detection means is utilized in a method for detecting defects in piping design. According to the present invention as set forth in claim 15, design defects in piping can be detected promptly and accurately.
[0021] The present invention as set forth in claim 16 is characterized in that the rankings of the result presentation section are displayed on the design means together with related information. According to the present invention as set forth in claim 16, designers and the like can appropriately correct piping design defects by referring to highly similar defects and related information from the similarity results presented in a ranking format.
[0022] The present invention as set forth in claim 17 is characterized in that a design means, a past piping design defect database, and a defect detection means are arbitrarily combined and information is linked by utilizing an information communication network. According to the present invention as described in claim 17, it is possible for one company to distribute the various means and databases to multiple locations and use them, or for a design company to install design means and defect detection means and a database provider to install only a database of past piping design defects, so that each company can use the system according to their respective business operations. Effect of the Invention
[0023] According to the method for detecting piping design defects of the present invention, by obtaining past similar defect information ranked based on similarity, it is possible to quickly detect piping design defects, such as pipes that are not connected or flow in the opposite direction at a pipe junction.
[0024] In addition, when the design CAD data includes piping data expressed in line form and the coordinate values of the smallest rectangular prism of the shape parts, and the system diagram data includes the start and goal conditions of the piping flow, by using design CAD data and system diagram data that meet the necessary conditions for converting to a directed graph, the design CAD data and system diagram data can be accurately converted into a directed graph.
[0025] In addition, if the directed graph conversion step includes a definition step that defines graph nodes from line-form piping data and rectangular parallelepiped coordinate value data and defines edges connecting the nodes from the piping data expressed in line form, a contraction step that contracts the nodes, and a directed graph construction step that searches for nodes based on start and goal conditions and constructs a directed graph by assigning the shortest path and flow direction, the design CAD data and system diagram data can be converted into a directed graph efficiently and with high accuracy.
[0026] In addition, if the contraction step includes a first contraction step for contracting nodes for the point cloud represented by all nodes, taking into account a specified radius range, and a second contraction step for contracting the nodes of the shape parts and the internal other point nodes into one, taking into account other points inside the rectangular prism, the conversion to a directed graph can be more appropriately performed by contraction.
[0027] Furthermore, when a design defect of a piping is corrected based on the past defect graph presented as a ranking in the ranking presentation step, the design defect of the piping can be appropriately corrected.
[0028] In addition, according to the piping design defect detection program of the present invention, the program causes a computer to detect piping design defects by referring to past defects, thereby making it possible to quickly detect piping design defects and reduce labor.
[0029] Furthermore, according to the method for constructing a past piping design defect database of the present invention, by constructing a database in which past design CAD data and past system diagram data in which there have been past piping design defects are appropriately converted into directed graphs and stored, defects in the current piping design can be quickly identified based on the similarity of the directed graphs.
[0030] In addition, if the previous design CAD data contains piping data expressed in line form and the coordinate values of the smallest rectangular prism of the shape parts, and the previous system diagram data contains the start and finish conditions of the past piping flow, then by using the previous design CAD data and the previous system diagram data that meet the necessary conditions for converting them into a directed graph, it is possible to accurately convert the previous design CAD data and the previous system diagram data into a directed graph.
[0031] In addition, if the past design directed graph conversion step includes a definition step that defines graph nodes from line-form piping data and rectangular parallelepiped coordinate value data and defines edges connecting the nodes from the piping data expressed in line form, a contraction step that contracts the nodes, and a directed graph construction step that searches for nodes based on start and goal conditions and constructs a directed graph by assigning the shortest path and flow direction, the past design CAD data and system diagram data can be converted into a directed graph efficiently and with greater accuracy.
[0032] In addition, if the contraction step includes a first contraction step for contracting nodes for the point cloud represented by all nodes, taking into account a specified radius range, and a second contraction step for contracting the nodes of the shape parts and the internal other point nodes into one, taking into account other points inside the rectangular prism, the conversion to a directed graph can be more appropriately performed by contraction.
[0033] In addition, according to the past piping design defect database construction program of the present invention, the program causes a computer to execute the construction of a database related to past piping design defects, thereby reducing the labor required to construct a database that accumulates past piping design defects.
[0034] In addition, according to the piping design defect detection system of the present invention, by obtaining past similar defect information ranked based on similarity, it is possible to quickly detect piping design defects, such as pipes that are not connected or flow in the opposite direction at a pipe junction.
[0035] In addition, when the similarity search unit has a directed graph conversion unit, a candidate group generation unit, a similarity calculation unit, and a ranking calculation unit, it can accurately calculate the similarity between the directed graph of the current piping design and the directed graph of the past piping design, and perform ranking calculations.
[0036] In addition, in the case where the past piping design defect database is constructed based on the past piping design defect database construction method, by constructing a database in which past design CAD data and past system diagram data in which there have been past piping design defects are appropriately converted into directed graphs and stored, it is possible to quickly find defects in the current piping design based on the similarity of the directed graphs.
[0037] Furthermore, when the defect detection means is used in a method for detecting a piping design defect, it is possible to quickly and accurately detect a piping design defect.
[0038] Furthermore, when the rankings from the result presentation section are displayed on the design means together with related information, designers, etc. can appropriately correct piping design defects by referring to the defects with high similarity and related information from the similarity results presented in ranking format.
[0039] In addition, when design means, past piping design defect databases, and defect detection means are arbitrarily combined and information is linked using an information and communications network, it becomes possible for one company to distribute the means and databases to multiple locations and use them, or for a design company to install design means and defect detection means and a database provider to install only the past piping design defect database, and for each company to use the system according to their respective business operations. [Brief description of the drawings]
[0040] [Figure 1] 1 is a schematic diagram of a method for detecting piping design flaws according to an embodiment of the present invention; [Diagram 2] Flow chart of the method for detecting piping design defects [Diagram 3] Overview of how the non-graph structure data of the design CAD data is converted into directed graph structure data [Figure 4] Flow diagram of the conversion method to the directed graph [Diagram 5] FIG. 1 shows an example of data stored in the past piping design defect database. [Figure 6] Configuration diagram of the piping design defect detection system [Figure 7] FIG. 1 shows results obtained with an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] A piping design defect detection method, a detection program, a past piping design defect database construction method, a construction program, and a piping design defect detection system according to an embodiment of the present invention will be described.
[0042] Fig. 1 is a schematic diagram of a method for detecting piping design defects according to this embodiment. Fig. 2 is a flow diagram of a method for detecting piping design defects, in which Fig. 2(a) shows a design correction flow by subgraph isomorphic similarity search, and Fig. 2(b) shows a flow for building a past piping design defect database. Fig. 3 is a schematic diagram of a process up to the point where non-graph structure data of design CAD data is converted into directed graph structure data. The method for detecting piping design defects is a method for detecting piping design defects by referring to past defects, and includes a CAD data acquisition step S1 for acquiring design CAD data related to the piping design, a system diagram data acquisition step S2 for acquiring system diagram data of the piping, a directed graph conversion step S3 for converting into a directed graph based on the design CAD data and the system diagram data, a defect information acquisition step S4 for acquiring the past defect graph from a past piping design defect database 20, a candidate group generation step S5 for generating a candidate group by subgraph isomorphism of the directed graph for the acquired past defect graph, a similarity calculation step S6 for calculating the similarity between the candidate group and the past defect graph, a ranking presentation step S7 for arranging the candidate group and the past defect graph in order of similarity and presenting a ranking, and a design correction step S8. In addition, since design CAD data is often managed as three-dimensional data and piping system diagram data is often managed as two-dimensional data, CAD data acquisition step S1 and system diagram data acquisition step S2 are separated. However, if the data are managed in an integrated manner in association with each other, it is also possible to integrate CAD data acquisition step S1 and system diagram data acquisition step S2.
[0043] In the CAD data acquisition step S1, design CAD data related to the design of the piping, such as 3D CAD or 2D drawings currently being designed, is acquired. The design CAD data to be acquired includes the following data A and data B. Data A: Piping data expressed in line format for each pipe Data B: The coordinates of the center coordinate position and the smallest rectangular parallelepiped that includes the shape part Note that "piping data expressed in line format" refers to a single pipe represented by a line, with the center line representing the entire pipe. Data for a single pipe is represented by a line segment with two points, as shown in the upper part of Figure 3(b). Furthermore, "geometric parts" are flanges, valves, equipment, etc. other than piping. Geometric parts are represented by bounding boxes, which are rectangular frames, as shown in the lower part of Figure 3(b). In addition, in the system diagram data acquisition step S2, piping system diagram data is acquired. The acquired system diagram data includes the following data C. Data C: The names of the start and goal of the flow, and a list of the goals that can be reached from each start as a flow (see Figure 3(e)). The design CAD data contains piping data expressed in line format and the coordinate values of the smallest rectangular parallelepiped of the shape parts, while the system diagram data contains the start and goal conditions of the piping flow. In this way, by using design CAD data and system diagram data that meet the necessary conditions for converting to a directed graph, the design CAD data and system diagram data can be converted to a directed graph with high accuracy.
[0044] In the directed graph conversion step S3, the design CAD data, which is non-graph structure data, is converted into a directed graph based on the design CAD data and the system diagram data, so that the piping system is represented as a directed graph of nodes and edges. FIG. 4 is a flow diagram of a method for converting to a directed graph. The directed graph conversion step S3 includes a definition step S3-1 for defining graph nodes from line-format piping data and rectangular parallelepiped coordinate data, and defining edges connecting nodes from the line-format piping data, a contraction step S3-2 for contracting nodes, and a directed graph construction step S3-3 for searching for nodes based on start and goal conditions, and constructing a directed graph by assigning the shortest path and flow direction. This makes it possible to convert design CAD data and system diagram data into directed graphs efficiently and with greater accuracy.
[0045] In definition step S3-1, the nodes of the graph are defined from the above data A and data B. At this time, the position coordinates of both ends (start point and end point) of the pipe are defined as the attribute values of the node. In addition, the name of the node and the type of both ends are defined. For geometric parts other than the pipe, such as flanges, the node is defined with the center position as the attribute value, and the name of the geometric part is defined. Additionally, in definition step S3-1, edges that connect the nodes that represent both ends of the piping line are defined from data A. At this time, the line of a single pipe is defined as an edge, and the length and the local cylindrical coordinate system (r, θ, Φ) are defined as attribute values. In addition, edges are defined between the nodes of other pipes and shape parts that are connected to the shape parts.
[0046] The contraction step S3-2 includes a first contraction step S3-2-1 for contracting the nodes of the point group represented by all the nodes, taking into consideration the range of the specified radius, and a second contraction step S3-2-2 for contracting the nodes of the shape parts and the internal other point nodes into one, taking into consideration the other points inside the rectangular parallelepiped. By contracting, conversion to a directed graph can be performed appropriately. In the first contraction step S3-2-1, for the point group represented by all the nodes obtained in the definition step S3-1, nodes existing within a specified radius R are regarded as one node, and these nodes are contracted. In the second contraction step S3-2-2, if there is another point inside the rectangular parallelepiped in data B, the node representing the geometric part in data B and the node existing inside are contracted into one node. For example, in FIG. 3(c), points within a distance of 5 mm and points inside a bounding box and the bounding box are contracted into one node.
[0047] In the directed graph construction step S3-3, the undirected graph constructed in the definition step S3-1 and contraction step S3-2 is searched for nodes corresponding to the start point and goal point of data C, and the shortest path connecting the nodes between those two points is searched for using the Dijktra algorithm. The flow direction is assigned to the order of the resulting paths, and a directed graph is constructed. Bidirectional flows are also permitted. In this way, by converting the non-graph structure data of the design CAD into graph structure data, the input directed graph G is converted into an abstract model that reflects the partition, system, route (location information), flow rate, and distance to other components. i Figure 3(d) shows an example of this abstract model, a graph-style data structure with flow information.
[0048] 2(a), a past defect graph is acquired from the past piping design defect database 20. In the past piping design defect database 20, defect information of past piping designs is stored as a past defect graph. Here, a method for constructing the past piping design defect database 20 will be described. The method for constructing the past piping design defect database 20 is a method for constructing past piping design defects as a database, and includes a design defect information acquisition step S11 for acquiring information on past piping design defects in order to obtain information as the fact that there was a defect in the past piping design, a past CAD data acquisition step S12 for acquiring past design CAD data related to the past piping design defect according to the information as the fact, a past system diagram data acquisition step S13 for acquiring past system diagram data related to the past piping design defect, a past design directed graph conversion step S14 for converting the past piping design defects into a directed graph based on the past design CAD data and the past system diagram data, and a storage step S15 for storing the directed graphed design defects in the past piping design defect database 20 as a past defect graph. In this way, by constructing a database in which past design CAD data and past system diagram data that have had a piping design defect in the past are appropriately converted into a directed graph and accumulated, a defect in the current piping design can be quickly found based on the similarity of the directed graph.
[0049] The information on past piping design defects in the design defect information acquisition step S11 and the past design CAD data in the past CAD data acquisition step S12 are acquired from a performance database 50 in which performance data on past piping designs is accumulated. The performance database 50 records CAD data for each pipe system in each section for each ship. In the example shown in FIG. 1, for the drainage pipe system in section A of ship A, first review data, which is CAD data that has undergone a first design review, second review data, which is CAD data that has undergone a second design review, and completed CAD data, which is CAD data for which the design has been completed, are recorded along with information on "defects" or "no defects." The first review data and second review data are assigned information on "defects," and the completed CAD data is assigned information on "no defects." The past design CAD data may be obtained from a CAD system linked to information on past piping design defects. In addition, the information on design defects may include not only review information but also design-related defect information acquired during the manufacturing, trial operation, and service operations.
[0050] In the previous CAD data acquisition step S12, similarly to the CAD data acquisition step S1, the previous design CAD data to be acquired includes piping data expressed in line format and the coordinate values of the smallest rectangular parallelepiped of the shape parts. Furthermore, in past system diagram data acquisition step S13, similarly to system diagram data acquisition step S2, the past system diagram data to be acquired includes start and finish conditions of the piping flow in the past. The previous design CAD data contains piping data expressed in line format and the coordinate values of the smallest rectangular parallelepiped of the shape parts, while the previous system diagram data contains the start and finish conditions of the previous piping flow. In this way, by using the previous design CAD data and previous system diagram data that meet the necessary conditions for converting to a directed graph, the previous design CAD data and previous system diagram data can be converted to a directed graph with high accuracy.
[0051] The previous design directed graph conversion step S14 is the same as the directed graph conversion step S3. That is, as shown in Fig. 4, a definition step S3-1 is executed in which the nodes of the graph are defined from the line-format piping data and the coordinate value data of a rectangular parallelepiped, and the edges connecting the nodes are defined from the line-format piping data, a contraction step S3-2 is executed in which the nodes are contracted, and a directed graph construction step S3-3 is executed in which the nodes are searched for based on the start and goal conditions, and the shortest path and the flow direction are assigned to construct a directed graph. This makes it possible to convert the previous design CAD data and the system diagram data into a directed graph efficiently and with higher accuracy. The contraction step S3-2 includes a first contraction step S3-2-1 for contracting the nodes of the point group represented by all the nodes, taking into consideration the range of the specified radius, and a second contraction step S3-2-2 for contracting the nodes of the shape parts and the internal other point nodes into one, taking into consideration other points inside the rectangular parallelepiped. By contracting, conversion to a directed graph can be performed appropriately.
[0052] In the directed graph construction step S3-3, the undirected graph constructed in the definition step S3-1 and contraction step S3-2 is searched for nodes corresponding to the start point and goal point of data C, and the shortest path connecting the nodes between those two points is searched for using the Dijktra algorithm. The flow direction is assigned to the order of the resulting paths, and a directed graph is constructed. Bidirectional flows are also permitted. In this way, the design CAD data that had defects in past designs is transformed into a directed graph G f Convert to.
[0053] In the storage step S15, the directed graph G f The graphs of only the defective parts are stored in the database of defect graphs. 1 ,g 2 ,g 3 ,…}. FIG. 5 is a diagram showing an example of data stored in the past piping design defect database. The past piping design defect database 20 serves as defect dictionary data by accumulating past defect graphs such as those shown on the left side of Fig. 5. In addition, the past piping design defect database 20 also stores CAD data after past corrections and data on related documents (correction instructions, etc.) in association with defects, as shown on the right side of Fig. 5. Using these past defect graphs as search keys, the input directed graph G i Conduct a similarity search for .
[0054] From the candidate group generation step S5 to the ranking presentation step S7 shown in FIG. 2(a), the input directed graph G i For the past failure graph g j It is a computational procedure (similarity search method) for similarity search. First, in the candidate set generation step S5, a candidate set is generated by subgraph isomorphism. Let the input directed graph be G as a set of graph nodes and edges. i =(V i ,E i ), and past failure graphs j =(gV j ,gE j ), then g j For any two vertices u and v in g, if there exists a map f such that the following formula (1) holds, then j is G i is a subgraph isomorphism of {u,v}∈E i ⇒{f(u),F(v)}∈gE j (Number 1) We solve the problem of determining whether this subgraph isomorphism exists by using the method of Ullman et al. (The design and analysis of computer algorithms, Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman, Addison-Wesley Publishing, pp84-86,1974), and obtain the past failure graph g j The candidate set {G i,0 ,G i,1,G i,2 ,...}∈G i Create a.
[0055] Next, in a similarity calculation step S6, a rule-based similarity calculation is performed. Any candidate G obtained in the candidate group generation step S5 i,k =(V i,k ,E i,k ) and past defect graph g j =(gV j ,gE j ) between gV j From V i,k There exists a mapping f to gV j ,gE j Since the attribute values defined in the definition step S3-1 exist in f, rule-based similarity calculation is performed using the mapping f and the attribute values according to the type of defect. This is performed for all candidate groups.
[0056] Next, in a ranking presentation step S7, a ranking format display is performed. In the similarity calculation step S6, the past defect graph g j Candidate set for {G i,0 ,G i,1 ,G i,2 ,...}∈G i The similarity to the design can be obtained. Candidates with similarity equal to or greater than a specified threshold are sorted in descending order of similarity and presented in a ranked format. By obtaining past similar defect information ranked based on similarity, it is possible to quickly detect design defects in piping, such as pipes that are not connected or flow in the opposite direction at a pipe junction. In addition, in the design correction step S8 shown in Fig. 2(a), the designer or the like corrects the design by referring to defects with high similarity from the similarity results presented in a ranking format. This allows the piping design defects to be appropriately corrected. The correction of the piping design defects can be performed manually or automatically by a computer, CAD system, or the like.
[0057] The above-mentioned method for detecting piping design defects can also be performed using a program. A program for detecting piping design defects by referring to past defects causes a computer to execute a CAD data acquisition step S1, a system diagram data acquisition step S2, a directed graph conversion step S3, a defect information acquisition step S4, a candidate group generation step S5, a similarity calculation step S6, and a ranking presentation step S7 in a method for detecting piping design defects. The program causes a computer to detect piping design defects by referring to past defects, thereby enabling piping design defects to be detected quickly and reducing labor.
[0058] Also, the steps from the candidate group generation step S5 to the ranking presentation step S7 can be executed by an AI (artificial intelligence). In this case, the similar defect search AI unit calculates the identity of the partial graph of the piping system and the rule-based or machine learning-based similarity from the past piping design defect database 20, displays similar past defects in a ranking format in descending order of similarity, and presents the appearance of the past defects after correction and document data related to the past defects.
[0059] The method for constructing the past piping design defect database 20 can also be performed using a program. The program for constructing a database of past piping design defects causes a computer to execute a design defect information acquisition step S11, a past CAD data acquisition step S12, a past system diagram data acquisition step S13, a past design directed graph conversion step S14, and a storage step S15 in a method for constructing a past piping design defect database 20. By having the program execute the construction of a database relating to past piping design defects on a computer, it is possible to reduce the labor required for constructing a database that accumulates past piping design defects.
[0060] Figure 6 is a configuration diagram of a system for detecting piping design defects. The piping design defect detection system is a detection system that detects piping design defects by referring to past defects, and includes a design means 10 that designs piping using a CAD system 11, a past piping design defect database 20 that stores defect information of past piping designs as past defect graphs, and a defect detection means 30. The design means 10 includes a CAD system 11 and a display unit 12 such as a monitor. A designer uses the CAD system 11 to design piping. The past piping design defect database 20 is constructed based on a past piping design defect database construction method, and has a past design defect information acquisition unit 21, a past design directed graph conversion unit 22, a design defect storage unit 23, and a past defect memory unit 24. The past design defect information acquisition unit 21 is used to execute the design defect information acquisition step S11, the past CAD data acquisition step S12, and the past system diagram data acquisition step S13. The past-designed digraph conversion unit 22 is used to execute the past-designed digraph conversion step S14. The design defect storage unit 23 is used to execute the storage step S15, and stores the past defect graph converted into a directed graph as an abstract model in the past defect memory unit 24. By constructing a database in which past design CAD data and past system diagram data in which there was a piping design defect in the past are appropriately converted into a directed graph and stored, defects in the current piping design can be quickly found based on the similarity of the directed graph. Furthermore, the past piping design defect database 20 also stores corrected design CAD data and document data for piping systems that have had defects in the past in a corresponding manner.
[0061] The defect detection means 30 includes a design information acquisition unit 31 that acquires design CAD data and system diagram data of the piping designed by the design means 10, a past defect information acquisition unit 32 that acquires defect information of past piping designs from the past piping design defect database 20, a similarity search unit 33 that converts the design CAD data and the system diagram data into a directed graph, calculates the similarity with the defect information of the past piping designs, and calculates a ranking, and a result presentation unit 34 that presents the ranking. The design information acquisition unit 31 is used to execute the CAD data acquisition step S1 and the system diagram data acquisition step S2. The past defect information acquisition unit 32 is used to execute the defect information acquisition step S4. The similarity search unit 33 includes a digraph conversion unit 33A, a candidate group generation unit 33B, a similarity calculation unit 33C, and a ranking calculation unit 33D. The digraph conversion unit 33A is used to execute the digraph conversion step S3, the candidate group generation unit 33B is used to execute the candidate group generation step S5, and the similarity calculation unit 33C is used to execute the similarity calculation step S6. The ranking calculation unit 33D and the result presentation unit 34 are used to execute the ranking presentation step S7. The ranking calculation unit 33D calculates a ranking based on the similarity calculated by the similarity calculation unit 33C. This allows the ranking calculation to be performed by accurately calculating the ranking of the similarity between the digraph of the current piping design and the digraph of the past piping design. Based on the calculated ranking, the result presentation unit 34 presents candidates with similarity equal to or greater than the specified threshold in order of similarity. By obtaining past similar defect information ranked based on similarity, it is possible to quickly and accurately detect design defects in piping, such as pipes not being connected or flowing in the opposite direction at a pipe junction. The display unit 12 of the design means 10 displays the rankings presented by the result presentation unit 34 together with related information. The related information is, for example, the appearance after the defect is corrected and document data. From the similarity results presented in the form of a ranking, a designer or the like can appropriately correct piping design defects by referring to the defects with high similarity and the related information.
[0062] It is possible to install the design means 10, the past piping design defect database 20, and the defect detection means 30 all in the same location, but as shown in FIG. 6, the design means 10, the past piping design defect database 20, and the defect detection means 30 can be installed in separate locations, or, for example, the design means 10 and the past piping design defect database 20 can be installed in the same location and only the defect detection means 30 can be installed in a different location. In this way, the design means 10, the past piping design defect database 20, and the defect detection means 30 can be arbitrarily combined and information can be linked using the information communication network 40. This enables one company to distribute the various means and databases across multiple locations, or to install the design means 10 and defect detection means 30 at a design company and only the past piping design defect database 20 at a database provider, making it possible for each company to use the system according to their respective business operations. EXAMPLES
[0063] An example in which data is created that reproduces a defect that has been previously corrected by an expert and the present invention is applied will be described. In this example, a piping defect where fluids passing through the pipes merge in the opposite direction was created and stored in the past piping design defect database 20. As input, three reverse merging defects were artificially created in the drainage pipe system of one ship. In addition, a defect where two pipes have an overlapping portion was reproduced for the purpose of verifying the pipe connection check. This is difficult to judge by appearance alone. In addition, for reverse merging, the flow angle was taken as a parameter, and the reciprocal of the root mean square of the difference was defined as the similarity.
[0064] FIG. 7 shows the results obtained in this example. Figure 7(a) shows a defect detected by the pipe connection check. Figure 7(a) shows a piping system viewed from above, with the rectangular parallelepiped X being the bounding box of the shape part, the dotted line representing the centerline of the pipe on the upstream side of the flow, and the solid line representing the centerline of the pipe on the downstream side of the flow. In Figure 7(a), the pipes appear to be connected at first glance, but they overlap on the same straight line and are determined to be not directly connected. Naturally, conversely, if there is a gap, the pipes are also determined to be not connected. This pipe connection check is performed in the procedure for constructing a directed graph, which is a stage before similarity search.
[0065] 7(c) and 7(d) show the results of applying the present invention to the reverse junction pipe shown in FIG. 7(b) as the search target. Fig. 7(c) is an example of a pipe that was detected as having the third highest similarity. The solid line indicates the center line of the pipe, and the dotted line indicates the point where the similarity was determined to be high. The pipe joins the main flow that flows from the upper left to the lower right in the opposite direction, and as a result of calculation by the similarity calculation unit 33C, the pipe was detected with a high similarity of about 0.88. On the other hand, Figure 7(d) shows the result with a similarity of 0.67, but this is not a malfunction because the confluence is not in the reverse direction. In this way, in this example, it was possible to detect locations close to past defect examples with a high degree of similarity. [Industrial Applicability]
[0066] The present invention can be used to check for defects in piping design in shipbuilding. It can also be applied to wiring design and tube system design, as well as piping design. It can also be applied to other products such as floating bodies, offshore wind power generation facilities, underwater vehicles, and marine structures, where a similar analogy can be applied, as well as other industries such as the construction industry. When applied to these, the word "ship" in the claims can be replaced with words that apply to other products or other industries. [Explanation of symbols]
[0067] 10 Design Means 11 CAD System 20 Past Piping Design Defects Database 30. Fault detection methods 31 Design information acquisition section 32 Past defect information acquisition department 33 Similarity Search Section 33A Digraph Transformation Unit 33B Candidate group generation unit 33C Similarity calculation part 33D Ranking Calculation Department 34 Results presentation section 40 Information and Communication Network S1 CAD data acquisition steps S2 System diagram data acquisition step S3 Directed Graph Transformation Step S3-1 Definition step S3-2 Contraction step S3-2-1 First reduction step S3-2-2 Second reduction step S3-3 Directed graph construction steps S4: Fault information acquisition step S5 Candidate group generation step S6 Similarity calculation step S7 Ranking presentation step S11 Steps for obtaining design defect information S12 Steps to obtain past CAD data S13 Step to obtain past system diagram data S14 Previous design directed graph conversion step S15 Storage step
Claims
1. A method for detecting design defects in piping by referring to past defects, comprising: a CAD data acquisition step of acquiring design CAD data related to the design of the piping; A system diagram data acquisition step of acquiring system diagram data of the piping; a directed graph conversion step of converting the design CAD data and the system diagram data into a directed graph; A defect information acquisition step of acquiring a past defect graph from a past piping design defect database; a candidate set generation step of generating a candidate set based on a subgraph isomorphism of the directed graph for the acquired past failure graph; a similarity calculation step of calculating a similarity between the candidate group and the past failure graph; A method for detecting a fault in a piping design, comprising: a ranking presentation step of arranging the candidate group and the past fault graphs in order of similarity and presenting a ranking.
2. 2. The method for detecting piping design defects according to claim 1, wherein the design CAD data includes piping data expressed in line form and coordinate values of the smallest rectangular parallelepiped of the shape parts, and the system diagram data includes start and goal conditions of the flow of the piping.
3. 3. The method for detecting piping design defects according to claim 2, wherein the directed graph conversion step includes a definition step of defining graph nodes based on the piping data in line format and the coordinate value data of the rectangular parallelepiped, and defining edges connecting the nodes from the piping data expressed in line format, a contraction step of contracting the nodes, and a directed graph construction step of searching for the nodes based on the start and goal conditions, and constructing the directed graph by assigning a shortest path and the flow direction.
4. The method for detecting piping design defects as described in claim 3, characterized in that the contraction step includes a first contraction step of contracting the nodes for the point cloud represented by all of the nodes, taking into account a specified radius range, and a second contraction step of contracting the nodes of the shape parts and other internal point nodes into one, taking into account other points inside the rectangular parallelepiped.
5. The method for detecting piping design defects described in any one of claims 1 to 4, characterized in that the design defect of the piping is corrected based on the past defect graph presented as the ranking in the ranking presentation step.
6. A program for detecting piping design defects by referring to past defects, the program causing a computer to execute the CAD data acquisition step, the system diagram data acquisition step, the directed graph conversion step, the defect information acquisition step, the candidate group generation step, the similarity calculation step, and the ranking presentation step in the method for detecting piping design defects of any one of claims 1 to 4.
7. A method for constructing a database of past piping design defects, comprising: A design defect information acquisition step of acquiring information on the design defect of the past piping; A past CAD data acquisition step of acquiring past design CAD data related to the design defect of the past piping; A past system diagram data acquisition step of acquiring past system diagram data related to the design defect of the past piping; a past design directed graph conversion step of converting the design defects of the past piping into a directed graph based on the past design CAD data and the past system diagram data; A method for constructing a past piping design defect database, comprising: a storage step of storing the design defect converted into the directed graph as a past defect graph in a past piping design defect database.
8. 8. The method for constructing a past piping design defect database according to claim 7, wherein the past design CAD data includes piping data expressed in line form and coordinate values of the smallest rectangular parallelepiped of the shape parts, and the past system diagram data includes start and finish conditions of the past piping flow.
9. 9. The method for constructing a past piping design defect database according to claim 8, wherein the past design directed graph conversion step includes a definition step of defining graph nodes based on the piping data in the line format and the coordinate value data of the rectangular parallelepiped, and defining edges connecting the nodes from the piping data expressed in the line format, a contraction step of contracting the nodes, and a directed graph construction step of searching for the nodes based on the start and goal conditions, and constructing a directed graph by assigning a shortest path and the flow direction.
10. The method for constructing a past piping design defect database as described in claim 9, characterized in that the contraction step includes a first contraction step of contracting the nodes for the point cloud represented by all of the nodes, taking into account a specified radius range, and a second contraction step of contracting the nodes of the shape parts and other internal point nodes into one, taking into account other points inside the rectangular parallelepiped.
11. A program for constructing a database of past piping design defects, the program causing a computer to execute the design defect information obtaining step, the past CAD data acquiring step, the past system diagram data acquiring step, the past design directed graph converting step, and the storing step in the method for constructing a past piping design defect database according to any one of claims 7 to 10.
12. A detection system for detecting piping design defects by referring to past defects, comprising: a design means for designing the piping using a CAD system; a past piping design defect database in which defect information of past piping designs is stored as a past defect graph; a design information acquisition unit for acquiring design CAD data and system diagram data of the piping designed by the design means; a past defect information acquisition unit for acquiring the defect information of the past piping designs in the past piping design defect database; a similarity search unit for converting the design CAD data and the system diagram data into a directed graph, calculating a similarity with the defect information of the past piping designs, and calculating a ranking; and a result presentation unit for presenting the ranking.
13. 13. The piping design defect detection system according to claim 12, wherein the similarity search unit includes a directed graph conversion unit, a candidate group generation unit, a similarity calculation unit, and a ranking calculation unit.
14. The piping design defect detection system according to claim 12 or 13, characterized in that the past piping design defect database is constructed based on a past piping design defect database construction method according to any one of claims 7 to 10.
15. The system for detecting a piping design defect according to any one of claims 12 to 14, wherein the defect detection means is utilized in the method for detecting a piping design defect according to any one of claims 1 to 5.
16. 16. The system for detecting a fault in piping design according to claim 12, wherein the ranking of the result presentation section is displayed on the design means together with related information.
17. The piping design defect detection system according to any one of claims 12 to 16, characterized in that the design means, the past piping design defect database, and the defect detection means are arbitrarily combined and information is linked using an information communication network.
Citation Information
Patent Citations
Failure analysis method for numerically-controlled machine tool
CN103870659A
Network expressing method of piping system and searching method of piping carrier route
JP1995225788A
Predictive analyzing device for design defect
JP1996030670A
Plant equipment layout design system
JP2006330887A
Assembly model similar structure search system and assembly model similar structure search method
JP2013254269A