Method and device for automatically designing gas path diagram

By automatically identifying and matching components in a 3D model, combined with databases and design standards, the problem of low efficiency in gas path diagram design is solved, achieving efficient and accurate gas path diagram generation that is suitable for various application scenarios.

CN120974674AActive Publication Date: 2025-11-18TIANJIN MASITE BODYWORK EQUIP TECH CO LTD

Patent Information

Application Number
CN202511505782.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2025-11-18
Estimated Expiration
2045-10-21

AI Technical Summary

Technical Problem

Existing pneumatic circuit diagram designs are inefficient and prone to errors. Manual operation can easily result in omissions or duplicate selections. Component connection relationships depend on the designer's experience, making it difficult to meet the design requirements of rapid iteration of new models and complex tooling fixtures.

Method used

By identifying components in a 3D model, selecting action groups based on component types and configuring action descriptions, performing legend matching and feature recognition, generating gas flow diagrams, and using a database to store legends and design standards, the system automatically connects and annotates the data.

Benefits of technology

It improves the efficiency of gas circuit diagram design, reduces manual operation steps, lowers labor costs, adapts to the personalized needs of different customers, and generates gas circuit diagrams that meet design standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120974674A_ABST
    Figure CN120974674A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for automatically designing a gas path diagram. The method comprises the following steps: carrying out element identification on an input three-dimensional model to obtain the element type of each element in the three-dimensional model; based on the element type, selecting elements contained in an action group through interaction setting of a client, and configuring corresponding action instructions for the action group to obtain action group configuration data; performing legend matching on elements contained in the action group to obtain model element legend data; and carrying out legend feature recognition on the model element legend data, and carrying out legend connection and content labeling on the basis of a legend feature recognition result and the action group configuration data so as to generate a gas path diagram. The technical problems that an existing gas circuit diagram is low in design efficiency and prone to errors are solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of intelligent design of automobiles, in particular, to a method and device for automatically designing a pneumatic circuit diagram. BACKGROUND

[0002] In the design process of automobile tooling fixtures, the drawing of a pneumatic circuit diagram is an essential link. In the prior art, a designer usually manually completes the construction of a pneumatic circuit diagram according to a process file, needs to sequentially load the legends of elements such as air sources, valve banks, solenoid valves, air cylinders, suction cups, and throttle valves, and determines the connection relationship of the elements and the division of action groups by means of manual operation. For example, an air cylinder needs to be classified into an action group controlled by a certain solenoid valve, and the configuration of the action group depends on the experience and judgment of the designer.

[0003] However, the above method has obvious defects: first, the selection of air cylinders in an action group completely depends on manual operation, and it is easy to miss or repeatedly select; second, the legends in the pneumatic circuit diagram need to be imported and repeatedly copied by the designer, which is low in efficiency; third, the connection relationship between different elements needs the designer to have a deep understanding of the principle of the fixture pneumatic circuit, and the dependence on personal experience is high. These problems result in low design efficiency and high error rate of the pneumatic circuit diagram, high labor cost, and difficulty in meeting the design requirements of new vehicle models, rapid iteration, and complex tooling fixtures.

[0004] At present, no effective solution has been proposed for the above problems. SUMMARY

[0005] The embodiments of the present application provide a method and device for automatically designing a pneumatic circuit diagram to at least solve the technical problems of low design efficiency and high error rate of the existing pneumatic circuit diagram.

[0006] According to an aspect of an embodiment of the present application, a method for automatically designing a pneumatic circuit diagram is provided, including: performing element recognition on an input three-dimensional model to obtain the element types of elements in the three-dimensional model; based on the element types, selecting the elements contained in an action group through interactive setting of a client, and configuring the corresponding action description for the action group to obtain action group configuration data; performing legend matching on the elements contained in the action group to obtain model element legend data; performing legend feature recognition on the model element legend data, and based on the result of the legend feature recognition and the action group configuration data, performing legend connection and content labeling to generate a pneumatic circuit diagram.

[0007] According to another aspect of the embodiments of the present application, the device for automatically designing a pneumatic circuit diagram is also provided, comprising: an identification module configured to perform element identification on an input three-dimensional model to obtain element types of elements in the three-dimensional model; a setting module configured to select elements contained in an action group based on the element types and through interactive setting of a client, and configure corresponding action descriptions for the action group to obtain action group configuration data; a matching module configured to perform legend matching on the elements contained in the action group to obtain model element legend data; and a generation module configured to perform legend feature identification on the model element legend data, and perform legend connection and content labeling based on a result of the legend feature identification and the action group configuration data to generate a pneumatic circuit diagram.

[0008] In the embodiments of the present application, element identification is performed on an input three-dimensional model to obtain element types of elements in the three-dimensional model, elements contained in an action group are selected based on the element types and through interactive setting of a client, and corresponding action descriptions are configured for the action group to obtain action group configuration data, elements contained in the action group are subjected to legend matching to obtain model element legend data, and legend feature identification is performed on the model element legend data, and legend connection and content labeling are performed based on a result of the legend feature identification and the action group configuration data to generate a pneumatic circuit diagram. Through the above method, the technical problem of low design efficiency and easy errors of the existing pneumatic circuit diagram is solved. BRIEF DESCRIPTION OF DRAWINGS

[0009] The accompanying drawings, which are included to provide a further understanding of the present application, constitute a part of the present application and illustrate the illustrative embodiments of the present application and their description serve to explain the present application, and do not constitute improper limitations on the present application. In the drawings:

[0010] Figure 1 is a flowchart of an optional method for automatically designing a pneumatic circuit diagram according to the embodiments of the present application;

[0011] Figure 2 is a flowchart of another optional method for automatically designing a pneumatic circuit diagram according to the embodiments of the present application;

[0012] Figure 3 is an optional legend processing schematic diagram according to the embodiments of the present application, wherein (a) is a variable schematic diagram, and (b) is a layer schematic diagram;

[0013] Figure 4 is an optional database building schematic diagram according to the embodiments of the present application;

[0014] Figure 5 is an optional design standard configuration schematic diagram according to the embodiments of the present application;

[0015] Figure 6 is a schematic diagram of an optional generated gas path diagram according to an embodiment of the present application;

[0016] Figure 7 is a flow chart of another optional method for automatically designing a gas path diagram according to an embodiment of the present application;

[0017] Figure 8 is a flow chart of an optional method for legend connection according to an embodiment of the present application;

[0018] Figure 9 is a structural schematic diagram of an optional device for automatically designing a gas path diagram according to an embodiment of the present application;

[0019] Figure 10 shows a structural schematic diagram of a computer device suitable for implementing embodiments of the present disclosure. DETAILED DESCRIPTION

[0020] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative work should fall within the scope of protection of the present application.

[0021] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product or device.

[0022] According to an embodiment of the present application, a method embodiment of a method for automatically designing a gas path diagram is provided. It should be noted that the steps shown in the flow chart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flow chart, in some cases, the steps shown or described herein can be executed in an order different from that shown herein.

[0023] Figure 1The method for automatically designing a pneumatic circuit diagram according to the embodiment of the present application is shown in FIG. 1. Figure 1 The method includes the following steps:

[0024] In step S102, element recognition is performed on the input three-dimensional model to obtain the element types of the elements in the three-dimensional model.

[0025] A pneumatic circuit diagram database is built on the server, and the pneumatic circuit diagram database stores various legends, pull number styles, annotation content rules, and design standards required by the pneumatic circuit diagram, wherein the connection points and annotation features are preset in each legend. The various legends and the pull number styles are preprocessed, and the preprocessing includes layer setting and / or variable name setting.

[0026] Then, the input three-dimensional model is obtained, and the numbers, attribute names, and specifications of the elements in the three-dimensional model are extracted; based on the extracted numbers, attribute names, and specifications, the element types of the elements are determined.

[0027] In step S104, based on the element types, the elements included in the action group are selected through the interactive setting of the client, and the corresponding action descriptions are configured for the action group to obtain action group configuration data.

[0028] Based on the element types, the elements included in the action group are selected through the interactive setting of the client, and the design standards of the elements included in the action group are obtained; the corresponding action descriptions are configured for the elements included in the action group, and the design standards are updated based on the action descriptions to obtain the action group configuration data.

[0029] In step S106, the elements included in the action group are matched with legends to obtain model element legend data.

[0030] In step S108, the model element legend data is subjected to legend feature recognition, and based on the results of the legend feature recognition and the action group configuration data, the legends are connected and the content is annotated to generate a pneumatic circuit diagram.

[0031] For example, the model element legend data is subjected to legend feature recognition to identify the connection points, positioning points, and annotation feature variables in the model element legend data to form legend feature data; the legend feature data is mapped with the action group configuration data, and based on the mapping results, the legends are connected and the content is annotated.

[0032] The embodiment of the application builds a complete gas circuit diagram legend standard library, each legend corresponds to a labeled feature variable, positioning point, connection point, etc.; when used, the user only needs to configure the legend type to be used under a certain standard, and then the software identifies the connection features and labeling features on the legend, connects and labels the associated legends. The elements embodied in the models of the cylinder, suction cup, etc. can be assigned by the designer. In this way, the efficiency of gas circuit diagram design can be improved.

[0033] Figure 2 Another method for automatically designing a gas circuit diagram according to the embodiment of the application. The method builds a complete set of legends and design standards on the server, and the user only needs to select the standard and interact with CATIA through the program interface to automatically generate the gas circuit diagram.

[0034] Specifically, as shown in Figure 2 , the method comprises the following steps:

[0035] Step S202, building a database.

[0036] The database contains various legends, pull number styles, labeling rules, etc. used in the gas circuit diagram, wherein the legends and pull number styles need to be preprocessed by the user according to the standard (processing methods are not limited to layer setting, variable name setting, etc.). The legend processing is as shown in Figure 3 , wherein, Figure 3 (a) is a variable schematic, and (b) is a layer schematic. The database building is as shown in Figure 4 , wherein, Figure 4 (a) is the server building the database by category, (b) is the program locally calling the database, and (c) is the correspondence between the model and the legend.

[0037] Step S204, configuring design standards.

[0038] The design standard configuration can be implemented on the server. The standard configured by the server is a general standard, and the special design requirements and standards of different customers can be set on the customer interface. The design standards are not limited to the position of the cylinder relative to the inlet and outlet air pipes in the gas circuit diagram, such as the cylinder being arranged on the left or right side of the inlet and outlet air pipes; whether a joint is needed, the type, specification of the joint, color labeling of the air pipe, etc. The design standard configuration can be as shown in Figure 5 .

[0039] Step S206, setting the action group and generating the gas circuit diagram.

[0040] The main content of the gas circuit schematic is the classification of the action group of the cylinder, suction cup, solenoid valve, sensor, etc. in the three-dimensional model.

[0041] The current program identifies the component type according to the characteristics of the model (part number, attribute name, specification and model, etc.). Then the designer can select the elements such as cylinders, suction cups, etc. contained in the action group through the interaction of the program interface. The program automatically detects the connection points through the layer setting on each element, and connects two elements with connection relationship with a line segment or a polyline segment. The generated air circuit diagram is shown in, for example, Figure 6

[0042] Compared with the prior art, the designer does not need to add legends one by one in the air circuit diagram, and does not need to consider the connection relationship between each legend, but only needs to realize the automatic generation of the air circuit diagram through the interface and the selection interaction of CATIA.

[0043] Figure 7 A flowchart of another method for automatically designing an air circuit diagram according to an embodiment of the present application is shown. As shown in Figure 7 , the method comprises the following steps:

[0044] Step S702, building a database.

[0045] First, a database is built on the server, which mainly includes a legend library, a design standard library, a recognition rule library and a marking content rule library.

[0046] The legend library is used to store all the legends needed in air circuit design, such as air source, valve row, solenoid valve, cylinder, suction cup, throttle valve, etc. Each legend needs to be preprocessed before being imported into the database to ensure that it has uniform layers, variable names and connection point identifiers. In addition to storing legends, the legend library also stores different customer and different vehicle required pull number styles, such as serial number pull number, grouping pull number, hierarchical pull number, etc. The pull number style can be automatically called when generating the air circuit diagram, and used to mark the action group or specific elements.

[0047] Before importing the legend into the database, preprocessing such as layer setting, variable name setting and connection point marking is needed. When setting the layers, different functions of the connection points or features use different layers. For example, the air inlet is set as IN_LAYER, the air outlet is set as OUT_LAYER, and the detection point is set as SENSOR_LAYER. When setting the variable name, a unique variable name is defined for the features in different legends, such as SHE representing the cylinder shell, QGpt1~QGpt5 representing different connection points on the cylinder, and CULR-TEXT representing the color marking of the air pipe.

[0048] The marking content rule library is used to define the marking method of different elements when generating the air circuit diagram. For example, the numbering rule of the cylinder, the port marking rule of the solenoid valve, the color and thickness marking rule of the air pipe, etc.

[0049] ​The recognition rule library is used to store the automatic recognition and classification rules of the elements in the pneumatic circuit diagram, so as to ensure that the program can accurately identify the type and characteristics of each part when reading the CAD or CATIA model file. Specifically, the recognition rule library contains rules for identifying element types by part number, attribute name or specification model, for example, parts whose numbers start with CYL are identified as cylinders, parts whose numbers start with VAL are identified as electromagnetic valves, and parts whose numbers start with SEN are identified as sensors.

[0050] The design standard library is used to store the specification rules of the pneumatic circuit diagram drawing and layout, so as to ensure that the generated pneumatic circuit diagram meets the general engineering standards and the personalized needs of customers. The design standard library includes design standards, such as the arrangement rules of cylinders on the left and right sides of the inlet and outlet air pipelines, the connection rules between electromagnetic valves and cylinders, and the type and specification requirements of joints.

[0051] Step S704, configure the design standard.

[0052] After the database is built, the design standard needs to be configured on the server. The design standard is used to standardize the arrangement method and connection rules of different elements in the pneumatic circuit diagram.

[0053] 1) Set the general design standard.

[0054] The general standard preset by the server mainly includes the following contents: the arrangement method of cylinders on the left and right sides of the inlet and outlet air pipelines; the connection rules between electromagnetic valves and cylinders; the use requirements and type specifications of joints; the numbering rules of action groups, such as numbering according to control sequence or grouping according to part number.

[0055] 2) Customer customized design standard.

[0056] For special requirements of different customers, personalized settings can be made through the client interface. For example: customer A requires that all cylinders must be configured with quick joints; customer B requires that the air path between the suction cup and the electromagnetic valve be marked with a dashed line; customer C requires that in the output of the drawing, the high-pressure air pipe uses thick lines and the low-pressure air pipe uses thin lines. In this way, both general design requirements and personalized requirements of different customers can be met.

[0057] Step S706, set the action group.

[0058] The setting of the action group is the core step of the pneumatic circuit design. The method for setting the action group provided in this embodiment includes the following steps:

[0059] 1) Identify the elements in the three-dimensional model.

[0060] Read the CATIA / CAD model file, and automatically identify the elements such as cylinder, suction cup, electromagnetic valve, sensor, etc. according to the part number, attribute name, specification and model information of the model. For example, the parts whose numbers start with CYL are identified as cylinders, the parts whose numbers start with VAL are identified as electromagnetic valves, and the parts whose numbers start with SEN are identified as sensors.

[0061] 2) Assign action groups.

[0062] After the identification is completed, the designer selects the action group through the interface, and automatically classifies the elements such as cylinder and suction cup into the action group controlled by the corresponding electromagnetic valve. For example, action group 1 includes two cylinders and one suction cup, which are controlled by electromagnetic valve A; action group 2 includes one cylinder and one sensor, which are controlled by electromagnetic valve B.

[0063] Step S708, generate the pneumatic circuit diagram.

[0064] After the action group setting is completed and repaired by the conflict detection, the pneumatic circuit diagram is automatically generated.

[0065] 1) Call the legend.

[0066] According to the action group information, the corresponding cylinder, suction cup, electromagnetic valve, etc. legends are called from the database, the legend features are identified, and the matching is performed according to the connection point information.

[0067] 2) Automatic connection.

[0068] By reading the connection points in the element layer, the connection relationship is automatically detected, and the connection is drawn in the form of a straight line or a polyline. For example, the inlet of the cylinder is automatically connected to the output end of the electromagnetic valve.

[0069] 3) Automatic labeling.

[0070] During the generation of the pneumatic circuit diagram, the following labeling is automatically completed according to the design standard: action group number, joint type and specification, air pipe color and thickness, sensor interface description.

[0071] 4) Output the drawing.

[0072] The finally generated pneumatic circuit diagram can be exported as a CAD format file for the production and assembly of tooling fixtures. The generated pneumatic circuit diagram not only reflects the logical relationship between all elements, but also strictly follows the design standard.

[0073] The process of automatic connection will be described in detail below, as shown in Figure 8 , including the following steps:

[0074] Step S7082, generate an initial layout.

[0075] According to the action group information, corresponding legends of cylinders, suction cups, electromagnetic valves, sensors and the like are called from the database, and the electromagnetic valve is set as a core node and initially placed on a reference layer of a drawing coordinate system. The cylinders and suction cups directly connected with the electromagnetic valve are placed on the left and right sides, and the sensors are placed near the output end of the cylinder. The initial position is converted from the spatial topological relationship of the three-dimensional model to maintain basic correspondence with the physical layout.

[0076] In step S7084, constraint conditions are set and conflict detection is performed.

[0077] Before layout optimization, various constraint conditions are established, including: the connected relationship between elements must be maintained and disconnection is not allowed; the bounding boxes of element legends cannot overlap and a minimum spacing is maintained; the path length of a single air pipe cannot exceed a set value; electromagnetic valves, cylinders and sensors must be distributed on preset levels; and the cylinders in the same action group are horizontally aligned.

[0078] The initial layout is scanned to calculate the number of intersections between the connections, the element density distribution in the unit area of the drawing, and the total pipe length. When the number of intersections is too large, the elements are too concentrated, or the path length is too long, it is determined that there is a conflict, and the layout optimization process is entered.

[0079] In step S7086, hierarchical arrangement is performed.

[0080] The electromagnetic valves are uniformly distributed to the first layer, the cylinders and suction cups are distributed to the second layer, and their left and right positions are automatically determined according to the connection relationship between the air inlet and the air outlet; the sensors are distributed to the third layer and located on the extension line of the cylinder output end. Hierarchical arrangement concentrates the main connections between layers and reduces unnecessary intersections.

[0081] In step S7088, the nodes are sorted and the legends are connected.

[0082] In each layer, the center of gravity of the nodes is calculated, which is determined by the average position of the connected nodes of the previous layer. The nodes in the same layer are sorted according to the center of gravity result. If the sorting result still causes intersection, a dynamic exchange strategy is used to try to exchange the positions of adjacent nodes, and the exchange result is only retained when the number of intersections is reduced.

[0083] After the order of the nodes is determined, the optimal path is selected for each connection path. Straight line connection is preferred, and if straight line connection causes intersection, broken line connection is used, but the number of broken line inflection points is not more than two.

[0084] In step S7089, local iterative optimization is performed.

[0085] When the local region still has a high number of crossings, the node ordering and path routing are re-performed for this local subgraph. For example, a simulated annealing method can be used for multiple iterations, in each iteration trying small-range swapping of node positions and deciding whether to accept the new layout according to the evaluation results of the cost function to jump out of the local optimum.

[0086] Specifically, after the node ordering and path routing are completed, if it is detected that the number of crossings in a certain region is still higher than a threshold (for example, the number of crossings within a cell exceeds 5, or the proportion of crossings around a node is greater than a preset proportion threshold), the local subgraph is subjected to focused optimization.

[0087] First, conflict hot spots are identified. The entire air route map is divided into grid cells, and the density of wire crossings in each cell is calculated. If the crossing density of a certain cell exceeds twice the global average, it is determined to be a conflict hotspot region. The components and wires in this region are extracted as a local subgraph for further optimization.

[0088] Next, candidate solutions are generated. In the conflict hotspot subgraph, the following adjustment operations are performed for the local nodes: swapping the positions of adjacent nodes in the same layer; moving the nodes slightly in the horizontal or vertical direction while maintaining the hierarchical constraints; inserting a virtual inflection point on two severely conflicting wires to temporarily bypass the path. Each adjustment generates a candidate solution, and the number of candidate solutions is controlled by a set parameter (for example, 10 candidate solutions can be generated per round).

[0089] Then, an adaptive cost function is evaluated. For each candidate solution, the cost function is calculated based on the number of crossings, the total path length, the number of polyline inflection points, and the congestion of local cells.

[0090] Cost = α × number of crossings + β × total path length + γ × number of polyline inflection points + δ congestion of local cells

[0091] Unlike the prior art method, the cost function of the embodiment adopts an adaptive weight adjustment strategy. In the initial stage, when the global conflict is significant, the weight factor a is maximized (for example, a = 0.6, β = 0.2, γ = 0.1, δ = 0.1) to quickly reduce the number of crossings. At this time, δ takes a small value to avoid premature constraint on node distribution. In the middle stage (when the number of crossings drops to the target interval), the proportion of a is gradually reduced, while the proportions of β and γ are increased (for example, a is gradually reduced from 0.6 to 0.3, β is increased to 0.3, and γ is increased to 0.2) to optimize the path length and the smoothness of the broken line. At this time, δ maintains a medium level (for example, about 0.2) to ensure that the local area is not excessively crowded. In the later stage (when the number of crossings basically meets the standard), a is further reduced (to about 0.2 or below), β and γ are kept balanced (for example, β = 0.3 and γ = 0.3), and the proportion of δ is gradually increased (up to 0.3-0.4) to shift the optimization focus to local uniformity and overall aesthetics. Through the gradual increase of δ, the final graph can be effectively prevented from having local node stacking or dense line bundles.

[0092] In the iteration process, if the cost function of the new solution is better than the current solution, it is directly accepted. If the cost of the new solution is higher, it is determined whether to accept according to the following probability function:

[0093]

[0094] where T is a temperature parameter that gradually decays with the number of iterations; f local is a local conflict factor, the value of which is determined by the crossing density of the region. The more serious the conflict, the larger f local , and the more likely it is to accept a poor solution in a high-conflict area, thereby exploring a wider solution space.

[0095] In addition, in addition to the simulated annealing iteration, a forced local balance operation is performed every N rounds, that is, it is checked whether the nodes in the same layer are too concentrated, the nodes are redistributed to approach uniform distribution, and the local connections are rerouted if necessary. In this way, it can be ensured that the local area will not fall into a high-density area, thereby improving the balance of the overall layout. When the cost function does not improve significantly after continuous M rounds of iteration, or the local number of crossings is lower than the preset threshold, the iteration is stopped, the local optimization result is output, and the global layout is merged.

[0096] In this embodiment, the initial layout diagram is divided into grid cells, and the crossover density of each grid cell is calculated. For cells with a crossover density exceeding a preset threshold, their constituent elements and connections are extracted to form a local subgraph. In the local subgraph, adjustments are performed on nodes, including swapping the positions of adjacent nodes on the same layer, slightly moving nodes horizontally or vertically, and inserting virtual inflection points on severely conflicting connections, to generate a set of candidate solutions. For each candidate solution in the set, a cost function is calculated based on the number of crossovers, total path length, number of inflection points on the broken line, and local cell congestion. The weights of each weight factor α, β, γ, and δ in the cost function are dynamically adjusted according to the optimization stage. Based on the cost function evaluation results, candidate solutions with better costs are directly accepted, while candidate solutions with higher costs are accepted based on a probability function related to temperature T and local conflict factors. During the iteration process, a local node balancing operation is performed every N rounds to redistribute node spacing and reroute local connections if necessary. When the cost function does not improve significantly or the number of local crossovers is lower than a preset threshold for M consecutive iterations, the iteration stops, the local optimization results are output, and the results are merged with the global layout to form the final optimized gas path diagram. The above method can make the generated gas flow diagram more accurate.

[0097] This application also provides an apparatus for automatically designing gas path diagrams, such as... Figure 9 As shown, the system includes: a recognition module 12, configured to identify components in an input 3D model to obtain the component types of each component in the 3D model; a setting module 14, configured to select components included in an action group based on the component types through client interaction settings, and configure corresponding action descriptions for the action group to obtain action group configuration data; a matching module 16, configured to perform legend matching on the components included in the action group to obtain model component legend data; and a generation module 18, configured to perform legend feature recognition on the model component legend data, and based on the results of the legend feature recognition and the action group configuration data, perform legend connection and content annotation to generate a gas path diagram.

[0098] It should be noted that the automatic gas path diagram design device provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the automatic gas path diagram design device and the automatic gas path diagram design method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0099] The application has the following beneficial effects: through the standardization and uniqueness verification of the database, the problem of component misconnection is effectively avoided; through the combination of general design standards and customer customization standards, various application scenarios can be flexibly adapted; through the introduction of action group conflict detection and adaptive repair mechanism, the reliability of action group setting is significantly improved; at the same time, the application reduces a large number of manual operation steps, reduces the dependence on the experience of designers, improves the design efficiency while effectively reducing the labor cost.

[0100] Figure 10 The structural schematic diagram of a computer device suitable for implementing the embodiments of the present disclosure is shown. It should be noted that, Figure 10 The computer device shown is only an example and should not impose any limitation on the functions and use range of the embodiments of the present disclosure.

[0101] As Figure 10 shown, the computer device includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage portion 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0102] The following components are connected to the I / O interface 1005: an input portion 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 1008 including a hard disk, and the like; and a communication portion 1009 including a network interface card such as a LAN card, a modem, and the like. The communication portion 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 1010 as necessary, so that a computer program read therefrom is installed in the storage portion 1008 as necessary.

[0103] The above is only the preferred embodiment of the present application, and it should be noted that those skilled in the art can make several improvements and refinements without departing from the principles of the present application, and these improvements and refinements should be considered as the protection scope of the present application.

Claims

1. A method for automatically designing gas path diagrams, characterized in that, include: Component identification is performed on the input 3D model to obtain the component type of each component in the 3D model; Based on the component type, the components included in the action group are selected through client interaction settings, and corresponding action descriptions are configured for the action group to obtain action group configuration data; The components contained in the action group are matched with legends to obtain model component legend data; The legend data of the model components is subjected to legend feature recognition, and legend connection and content annotation are performed based on the results of legend feature recognition and action group configuration data to generate gas path diagram.

2. The method according to claim 1, characterized in that, Component identification is performed on the input 3D model to obtain the component type of each component in the 3D model, including: Extract the number, attribute name, and specifications of each component in the 3D model; Based on the extracted number, attribute name, and specification model, the component type of each component is determined.

3. The method according to claim 1, characterized in that, Based on the component type, the components included in the action group are selected through client interaction settings, and corresponding action descriptions are configured for the action group to obtain action group configuration data, including: Based on the component type, the components included in the action group are selected through the client's interaction settings, and the design standards of the components included in the action group are obtained. Configure corresponding action descriptions for the components included in the action group, and update the design standard based on the action descriptions to obtain the action group configuration data.

4. The method according to claim 1, characterized in that, The legend data of the model components is subjected to legend feature recognition, and based on the results of the legend feature recognition and the action group configuration data, legend connections and content annotations are performed, including: Legend feature recognition is performed on the legend data of the model components to identify the connection points, positioning points and annotation feature variables in the legend data of the model components, thus forming legend feature data; The legend feature data is mapped to the action group configuration data, and legend connections and content annotations are performed based on the mapping results.

5. The method according to claim 4, characterized in that, Mapping the legend feature data to the action group configuration data, and performing legend connection and content annotation based on the mapping result, including: The legend feature data is mapped to the action group configuration data to generate an initial layout diagram; The initial layout diagram is subjected to conflict detection based on pre-set constraints. Based on the results of the conflict detection, the components contained in the action group are arranged in layers and connected by legend to obtain the initial layout diagram after legend connection. An adaptive cost function is used to locally optimize the initial layout diagram after legend connection, and content annotation is performed on the optimized initial layout diagram.

6. The method according to claim 1, characterized in that, Before performing component recognition on the input 3D model, the method further includes: building a gas flow diagram database on the server side, wherein the gas flow diagram database stores various legends, pull-up number styles, annotation content rules and design standards required for the gas flow diagram, wherein each legend in the various legends has preset connection points and annotation features, and the various legends and the pull-up number styles are preprocessed, wherein the preprocessing includes layer settings and / or variable name settings.

7. A device for automatically designing gas path diagrams, characterized in that, include: The identification module is configured to identify the components of the input 3D model and obtain the component type of each component in the 3D model. The settings module is configured to select the elements contained in the action group based on the element type through client interaction settings, and configure the corresponding action description for the action group to obtain action group configuration data; The matching module is configured to perform legend matching on the elements contained in the action group to obtain model element legend data; The generation module is configured to perform legend feature recognition on the legend data of the model components, and based on the results of the legend feature recognition and the action group configuration data, perform legend connection and content annotation to generate a gas path diagram.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 6.

9. A computer device, characterized in that, include: Memory and processor The memory stores computer programs; The processor is configured to execute a computer program stored in the memory, wherein when the computer program is executed, the processor performs the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and device for generating digital drawing of secondary complex loop model of power system

    CN118965469A

  • Engineering image-text cross-modal automatic reconstruction method based on large model

    CN120430135A

  • Anomaly detection in a pneumatic system

    US20200310405A1

Cited By

  • Method and device for automatically designing gas path diagram based on AI

    CN121167902A

  • Method and apparatus for automatically designing a pneumatic circuit based on ai

    CN121167902B