Method and device for installing a side valve based on parametric modeling
By constructing a 3D model of the welded component using parametric modeling and generating an opening skeleton diagram, combined with the opening list and interface orientation information, the problem of low efficiency in traditional side valve installation drawing design is solved, and efficient and accurate side valve installation is achieved.
Patent Information
- Application Number
- CN202510450111.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2045-04-10
AI Technical Summary
Traditional side valve installation diagrams are generated by projection, resulting in poor design efficiency and quality, which affects the installation of side valves.
Using a parametric modeling approach, a 3D model of the welded component is constructed, a welded component opening skeleton model is generated, an opening diagram is drawn and an opening list is generated, the interface orientation and installation rules of the side valve are obtained, a side valve installation position diagram is generated, and it is overlaid with the ship's 3D model to form a comprehensive layout diagram. Finally, the side valve is generated and installed.
This improved the design efficiency and accuracy of the side valve installation diagram, and enhanced the accuracy and quality of the installation.
Smart Images

Figure CN120387233B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of side valve installation design, in particular to a side valve installation method and device based on parameterized modeling. BACKGROUND
[0002] A side valve, also known as a ship side valve or a side valve, is usually installed on the hull structure of a ship, and is located close to the side of the ship. It is a valve used to control the flow between the cabin and the outside seawater or other liquid medium on the ship. In the design and operation of the ship, the side valve plays a crucial role in controlling the liquid into or out of the side cabin of the ship, such as the ballast tank, the cooling water system, the sewage system, the fire water system, etc. The design of such a valve needs to take into account the special environment of the ship at sea, such as vibration, corrosion and high pressure water impact, etc. Therefore, the side valve is usually made of corrosion-resistant, pressure-resistant and strong materials, such as stainless steel, bronze or special alloy, to ensure its reliability and safety in harsh environments.
[0003] During the development of the ship, the installation of the side valve is carried out according to the side valve installation drawing. The expression methods of the past side valve installation drawings are not uniform among designers, and the most common way is to express the installation form through three-dimensional projection. The installation drawing drawn in the projection way contains elements such as rib position transverse section, partial view, detail table, technical requirements, etc. The transverse section is used to express the specific positioning information of the side valve, the partial view is used to express the installation direction of the side valve, the detail table is used to express the specific model and installation fastener information of the valve, and the technical requirements are used to express the installation requirements of the side valve. This type of view is usually drawn in units of cabins, and the rib position interval is manually divided. The installation form of each side valve is represented by multiple transverse sections and a large number of partial views. The drawing is complex, the design workload is huge, and it is easy to miss the view of individual valves, resulting in drawing rework. SUMMARY
[0004] The main purpose of the present application is to provide a side valve installation method and device based on parameterized modeling, which aims to solve the technical problem that the traditional side valve installation drawing is generated in the projection way, the design efficiency and quality are poor, and then the installation work of the side valve is affected.
[0005] To achieve the above-mentioned purpose, the present application provides a side valve installation method based on parameterized modeling, which comprises:
[0006] A three-dimensional model of a welded part is constructed, and a welded part opening skeleton model is generated based on the three-dimensional model of the welded part;
[0007] A welded part opening drawing is drawn according to the welded part opening skeleton model;
[0008] generating a welding piece opening list according to the welding piece opening map, wherein the welding piece opening list comprises a mapping relationship between the opening and the side valve;
[0009] obtaining interface orientation information and installation rules of each side valve;
[0010] generating a side valve installation position map according to the welding piece opening map, the welding piece opening list, the interface orientation information and the installation rules, wherein the side valve installation position map comprises a specific position and installation direction of each side valve in the ship structure;
[0011] superimposing the side valve installation position map and a three-dimensional model of the ship to form a ship comprehensive layout map comprising side valve installation information;
[0012] generating a side valve installation map according to the ship comprehensive layout map, and installing the side valve according to the side valve installation map, wherein the side valve installation map is marked with installation position, interface orientation, installation rule and size information of each side valve.
[0013] In an embodiment, the three-dimensional model of the welding piece is constructed, and a welding piece opening skeleton model is generated based on the three-dimensional model of the welding piece, comprising:
[0014] obtaining material information and size information of the welding piece;
[0015] drawing a two-dimensional sketch of the welding piece in a CAD software based on the material information and the size information, wherein the two-dimensional sketch is used to determine the shape and structure of the welding piece;
[0016] generating a three-dimensional model of the welding piece according to the two-dimensional sketch, wherein the three-dimensional modeling at least comprises stretching, rotating and sweeping operations;
[0017] determining positioning information of the welding piece opening based on the three-dimensional model of the welding piece;
[0018] generating a welding piece opening skeleton model according to the positioning information of the welding piece opening and the three-dimensional model of the welding piece.
[0019] In an embodiment, the positioning information of the welding piece opening is determined based on the three-dimensional model of the welding piece, comprising:
[0020] defining an opening curved surface and a welding piece center line in the three-dimensional model of the welding piece, wherein the opening curved surface is used to calculate the opening diameter on the ship structure, and the welding piece center line is used for calculation of opening positioning;
[0021] determining a normal vector of the opening curved surface, and calculating the intersection position of the welding piece center line and the opening curved surface according to the normal vector of the opening curved surface.
[0022] determine the positioning information of the welding piece opening according to the normal vector of the opening surface, and the intersection position of the welding piece center line and the opening surface;
[0023] The calculation formula of the positioning information of the welding piece opening is as follows:
[0024] (x hole ,y hole ,z hole ) = (x0, y0, z0) + D·n
[0025]
[0026] wherein (x hole ,y hole ,z hole ) is the positioning information of the opening, (x0, y0, z0) is the starting point of the welding piece center line, D is the offset from the welding piece center line to the opening, and n is the normal vector of the opening surface. represents gradient operation on the opening surface according to the point (x, y, z) of the point in the three-dimensional space, and f(x, y, z) is the opening surface.
[0027] In an embodiment, the welding piece opening skeleton model is generated according to the positioning information of the welding piece opening and the three-dimensional model of the welding piece, and the method comprises the following steps:
[0028] creating a blank skeleton model in CAD software;
[0029] marking the positions of the openings on the blank skeleton model according to the positioning information of the welding piece opening to obtain a marked skeleton model;
[0030] extracting structure features associated with the openings based on the three-dimensional model of the welding piece;
[0031] matching the structure features with the marked skeleton model to obtain a welding piece opening skeleton model, wherein the structure features at least include shape, size and position information of the openings.
[0032] In an embodiment, the welding piece opening drawing is drawn according to the welding piece opening skeleton model, and the method comprises the following steps:
[0033] determining welding piece opening information according to the welding piece opening skeleton model, wherein the welding piece opening information at least includes opening direction, opening area and opening gravity center;
[0034] unfolding the three-dimensional model of the welding piece into a planar development drawing;
[0035] obtain geometric information of the rib position, and calculate coordinates of the rib position in a planar development drawing according to the geometric information of the rib position and a development rule of the three-dimensional model of the welding piece;
[0036] generate a rib position line according to the coordinates of the rib position in the planar development drawing, wherein the rib position line is used to indicate a position of the welding piece opening in the ship structure;
[0037] draw a welding piece opening drawing according to the rib position line, the welding piece opening information and a positional relationship in the planar development drawing, wherein the welding piece opening drawing includes specific layout and size information of each opening in the ship structure.
[0038] In an embodiment, the generating of the side valve installation position drawing according to the welding piece opening drawing, the welding piece opening list, the interface orientation information and the installation rule includes:
[0039] matching the welding piece opening drawing with the welding piece opening list to determine target side valves corresponding to each opening in the welding piece opening drawing;
[0040] analyzing the installation rule to determine spatial limitation, installation direction, installation angle and allowable deviation of the installation position;
[0041] determining an interface orientation of the target side valve according to the interface orientation information, wherein the interface orientation is used to guide correct connection of the side valve in the ship structure;
[0042] drawing a preliminary layout drawing of the target side valve according to the welding piece opening drawing and the interface orientation of the target side valve within the spatial limitation of the installation position, wherein the preliminary layout drawing includes relative position and direction of the target side valve in the welding piece opening drawing;
[0043] optimizing the preliminary layout drawing to obtain an optimized preliminary layout drawing;
[0044] if the installation position of the target side valve in the optimized preliminary layout drawing meets requirements of the spatial limitation, the installation direction, the installation angle and the allowable deviation in the installation rule, then marking the installation position and the interface orientation of each target side valve in the optimized preliminary layout drawing to generate the side valve installation position drawing.
[0045] In an embodiment, the superimposing of the side valve installation position drawing with the three-dimensional model of the ship to form a ship comprehensive layout drawing including side valve installation information includes:
[0046] importing the three-dimensional model of the ship in a three-dimensional modeling software and importing the side valve installation position drawing as a reference layer;
[0047] aligning and matching the installation position of the target side valve in the side valve installation position map and the interface orientation with the three-dimensional model of the ship to obtain a matched three-dimensional layout;
[0048] In the matched three-dimensional layout, the position and orientation of the target side valve are adjusted according to the installation position in the side valve installation position map and the structural features of the three-dimensional model of the ship to obtain an adjusted target side valve;
[0049] The adjusted target side valve is fused with the three-dimensional model of the ship to form a ship comprehensive layout diagram containing side valve installation information, wherein the ship comprehensive layout diagram includes the specific position, installation direction and relative relationship with the surrounding structure of each side valve in the ship structure.
[0050] In an embodiment, after the ship comprehensive layout diagram is generated according to the ship comprehensive layout diagram, the method further comprises:
[0051] Edge detection is performed on the side valve installation diagram to identify problem area features;
[0052] The problem area features are converted into vector data;
[0053] The vector data is divided into a plurality of clusters, and a preset number of data points are randomly selected as initial centers of the clusters;
[0054] The distance of each data point to each cluster center is calculated, and each data point is assigned to the nearest cluster center;
[0055] The center of each cluster is updated to the average value of all data points in the cluster until the change of the cluster center is less than a preset threshold or the maximum number of iterations is reached, to obtain a clustering result;
[0056] The clustering result is input into a problem detection model, and the problem detection model detects based on the clustering result to generate classification information of the problem area;
[0057] The side valve installation diagram is optimized according to the classification information of the problem area to obtain an optimized side valve installation diagram.
[0058] In an embodiment, the clustering result is input into a problem detection model, and the problem detection model detects based on the clustering result to generate classification information of the problem area, comprising:
[0059] The clustering result is input into a problem detection model, and the problem detection model extracts features from the clustering result to obtain the dispersion of the cluster, and the calculation formula of the dispersion of the cluster is:
[0060]
[0061] wherein σ k is the spread of the cluster, x ki is the i-th data point in cluster k, c k is the center of cluster k n k is the number of samples in cluster k;
[0062] determining whether the spread of the cluster exceeds a spread threshold;
[0063] if the spread of the cluster exceeds the spread threshold, marking the cluster corresponding to the spread of the cluster as an abnormal cluster, wherein the abnormal cluster represents a problem area where there is an installation problem;
[0064] extracting feature information of the abnormal cluster, and inputting the feature information into a classifier, classifying the feature information through the classifier to obtain classification information of the problem area, wherein the classification information at least includes installation position error, interface orientation mismatch, installation rule violation, and size mismatch.
[0065] In addition, to achieve the above object, the application further provides a side valve installation device based on parameterized modeling, which comprises:
[0066] a generation module, configured to construct a three-dimensional model of a welding piece, and generate a welding piece opening skeleton model based on the three-dimensional model of the welding piece;
[0067] a drawing module, configured to draw a welding piece opening drawing according to the welding piece opening skeleton model;
[0068] the generation module is further configured to generate a welding piece opening list according to openings in the welding piece opening drawing, wherein the welding piece opening list comprises a mapping relationship between the openings and the side valves;
[0069] an acquisition module, configured to acquire interface orientation information and installation rules of each side valve;
[0070] the generation module is further configured to generate a side valve installation position drawing according to the welding piece opening drawing, the welding piece opening list, the interface orientation information and the installation rules, wherein the side valve installation position drawing comprises specific positions and installation directions of each side valve in a ship structure;
[0071] a superposition module, configured to superimpose the side valve installation position drawing and a three-dimensional model of the ship to form a ship comprehensive layout drawing containing side valve installation information;
[0072] The installation module is configured to generate a side valve installation map according to the comprehensive layout map of the ship, and install the side valve according to the side valve installation map, wherein the installation position, interface orientation, installation rule and size information of each side valve are marked in the side valve installation map.
[0073] The one or more technical solutions provided in the present application construct a three-dimensional model of a welded part, generate a welded part opening skeleton model based on the three-dimensional model of the welded part, draw a welded part opening map according to the welded part opening skeleton model, and generate a welded part opening list according to the openings in the welded part opening map, wherein the welded part opening list includes a mapping relationship between the openings and the side valves; obtain interface orientation information and installation rules of each side valve; generate a side valve installation position map according to the welded part opening map, the welded part opening list, the interface orientation information and the installation rules, wherein the side valve installation position map includes the specific position and installation direction of each side valve in the ship structure; superimpose the side valve installation position map and the three-dimensional model of the ship to form a comprehensive layout map of the ship containing side valve installation information; generate a side valve installation map according to the comprehensive layout map of the ship, and install the side valve according to the side valve installation map, wherein the installation position, interface orientation, installation rule and size information of each side valve are marked in the side valve installation map. In the above manner, the opening skeleton model is generated by parameterized modeling and the welded part opening map is drawn, and then the side valve installation position map is generated in combination with the welded part opening list, the interface orientation information and the installation rules, and is superimposed with the three-dimensional model of the ship, so that the side valve installation map is quickly generated and the side valve is installed, which effectively improves the design efficiency and accuracy of the side valve installation map, and further improves the accuracy of the side valve installation. BRIEF DESCRIPTION OF DRAWINGS
[0074] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.
[0075] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0076] Figure 1 The flowchart provided for the first embodiment of the parameterized modeling-based side valve installation method of the present application;
[0077] Figure 2 The schematic diagram of the welded part opening map provided for the first embodiment of the parameterized modeling-based side valve installation method of the present application;
[0078] Figure 3 The schematic diagram of the side valve pattern provided by the embodiment one of the side valve installation method based on the parametric modeling of the present application;
[0079] Figure 4 The schematic diagram of the process provided by the embodiment two of the side valve installation method based on the parametric modeling of the present application;
[0080] Figure 5 The schematic diagram of the curved surface and center line feature of the welding part provided by the embodiment one of the side valve installation method based on the parametric modeling of the present application;
[0081] Figure 6 The schematic diagram of the module structure of the side valve installation device based on the parametric modeling of the embodiment of the present application.
[0082] The purpose implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0083] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application, and are not used to limit the present application.
[0084] In order to better understand the technical solutions of the present application, the specific embodiments will be described in detail below with reference to the drawings and the specific embodiments.
[0085] The main solution of the embodiment of the present application is: constructing a three-dimensional model of a welding part, generating a welding part opening skeleton model based on the three-dimensional model of the welding part; drawing a welding part opening drawing according to the welding part opening skeleton model; generating a welding part opening list according to the opening in the welding part opening drawing, wherein the welding part opening list includes the mapping relationship between the opening and the side valve; obtaining the interface orientation information and the installation rule of each side valve; generating a side valve installation position drawing according to the welding part opening drawing, the welding part opening list, the interface orientation information and the installation rule, wherein the side valve installation position drawing includes the specific position and installation direction of each side valve in the ship structure; superimposing the side valve installation position drawing and the three-dimensional model of the ship to form a ship comprehensive layout drawing containing the side valve installation information; generating a side valve installation drawing according to the ship comprehensive layout drawing, and installing the side valve according to the side valve installation drawing, wherein the side valve installation drawing is marked with the installation position, interface orientation, installation rule and size information of each side valve.
[0086] The drawing elements contained in the installation drawing drawn in a projection mode include rib position transverse sectional view, partial view, detailed table, technical requirement, etc. The transverse sectional view is used to express the specific positioning information of the side valve, the partial view is used to express the installation direction of the side valve, the detailed table is used to express the specific model of the valve and the installation fastener information, and the technical requirement is used to express the installation requirement of the side valve. This type of view is often drawn in units of cabins, and the installation form of each side valve is embodied through multiple transverse sectional views and a large number of partial views. The drawing is complex, the design workload is huge, and it is easy to miss the view of individual valves, resulting in drawing rework.
[0087] The present application provides a solution, which generates an opening skeleton model of a welding piece through parameterized modeling and draws an opening drawing of the welding piece, and then generates a side valve installation position drawing in combination with an opening list of the welding piece, interface orientation information and installation rules and superimposes the drawing on a three-dimensional model of a ship, so as to quickly generate a side valve installation drawing and install the side valve, thereby effectively improving the design efficiency and accuracy of the side valve installation drawing and further improving the accuracy of the side valve installation.
[0088] It should be noted that the execution subject of the present embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a side valve installation device based on parameterized modeling, such as a drone control system, etc. In the following, the present embodiment and each of the following embodiments will be described by taking the drone control system as an example.
[0089] Based on this, the present embodiment provides a side valve installation method based on parameterized modeling, which refers to Figure 1 , Figure 1 The present embodiment provides a side valve installation method based on parameterized modeling.
[0090] In the present embodiment, the side valve installation method based on parameterized modeling includes steps S10-S70:
[0091] Step S10: constructing a three-dimensional model of a welding piece, and generating an opening skeleton model of the welding piece based on the three-dimensional model of the welding piece.
[0092] It should be noted that the three-dimensional model of the welding piece can be obtained by parameterized modeling. In the present embodiment, the welding piece refers to a structural piece connected with the side valve. In the process of shipbuilding, the welding piece is usually used to fix and support the side valve, so as to ensure the stability and functionality thereof. The side valve has a one-to-one corresponding relationship with the welding piece (except for the electrical welding piece) on the ship structure. By constructing the three-dimensional model of the welding piece, the actual shape and size of the welding piece can be accurately simulated, thereby providing accurate basic data for subsequent opening design and side valve installation.
[0093] It should be understood that the welding piece opening skeleton model is a simplified structure model which extracts the position and shape information of the key openings on the welding piece. The model retains all the opening features related to the installation of the side valve on the welding piece, such as the position, size and spatial relationship between the openings, and omits other non-critical details, thereby improving the processing efficiency and the clarity of the model.
[0094] Step S20: drawing a welding piece opening drawing according to the welding piece opening skeleton model.
[0095] It should be noted that the welding piece opening drawing is a detailed view generated based on the welding piece opening skeleton model, including the specific position and shape of all openings on the welding piece related to the installation of the side valve, and its form is a shell plate development drawing. The opening drawing uses standard engineering drawing symbols and annotations to clearly express the size, position and relationship with other openings and ship structures of each opening, such as Figure 2 as shown in Figure 2 is a schematic view of the welding piece opening drawing. Through accurate drawing and annotation, it is ensured that the side valve can be accurately installed at the predetermined position, avoiding installation errors and rework, and improving the installation efficiency and accuracy.
[0096] In a possible implementation, step S20 can include: determining welding piece opening information according to the welding piece opening skeleton model, wherein the welding piece opening information at least includes opening direction, opening area and opening barycenter; developing the three-dimensional model of the welding piece into a plane development drawing; obtaining the geometric information of the rib position, and calculating the coordinates of the rib position in the plane development drawing according to the geometric information of the rib position and the development rule of the three-dimensional model of the welding piece; generating a rib position line according to the coordinates of the rib position in the plane development drawing, wherein the rib position line is used to indicate the position of the welding piece opening in the ship structure; and drawing a welding piece opening drawing according to the position relationship of the rib position line, the welding piece opening information and the welding piece opening skeleton model in the plane development drawing, wherein the welding piece opening drawing includes the specific layout and size information of each opening in the ship structure.
[0097] It should be noted that the welding piece opening information refers to the specific parameters and characteristics of each opening on the welding piece, and these information is the basis for drawing the welding piece opening drawing. The opening direction refers to the orientation of the opening on the welding piece, which determines the installation direction of the side valve; the opening area reflects the size of the opening, which is crucial for selecting the appropriate side valve model; and the opening barycenter is the position of the geometric center of the opening, which helps to determine the accurate installation position of the side valve on the welding piece.
[0098] It should be understood that the rib position is a transverse member in the ship structure for positioning and supporting the structure, and its geometric information includes the shape, size, and position of the rib position, etc. When drawing the welding piece opening drawing, the influence of the rib position on the opening layout needs to be considered to ensure that the position and size of the opening match the rib position, thereby avoiding conflicts or interference during installation. By obtaining the geometric information of the rib position and according to the unfolding rules of the three-dimensional model of the welding piece, the coordinates of the rib position in the plane unfolding drawing can be calculated, and then the rib position line can be generated. As an important reference in the welding piece opening drawing, the rib position line clearly indicates the position of the welding piece opening in the ship structure.
[0099] Specifically, by unfolding the three-dimensional model of the welding piece into a plane unfolding drawing, it is more convenient to draw and label on the two-dimensional plane, which greatly reduces the complexity and difficulty of drawing. At the same time, considering the geometric information of the rib position and the unfolding rules of the three-dimensional model of the welding piece, the coordinates of the rib position in the plane unfolding drawing can be accurately calculated, thereby providing accurate data support for drawing the rib position line. The rib position line plays an important role in indicating the position of the opening in the ship structure in the welding piece opening drawing, which ensures the consistency of the opening drawing with the actual structure of the ship. Finally, according to the position relationship of the rib position line, the welding piece opening information, and the welding piece opening skeleton model in the plane unfolding drawing, a detailed and accurate welding piece opening drawing can be drawn.
[0100] Step S30: generating a welding piece opening list according to the openings in the welding piece opening drawing, wherein the welding piece opening list includes the mapping relationship between the openings and the side valves.
[0101] It should be noted that the welding piece opening list is an important document for counting and classifying all openings on the welding piece, which records the mapping relationship between each opening and the corresponding side valve, as well as the specific parameters and characteristics of the opening. This list is crucial for subsequent side valve selection and installation, as it ensures that each side valve can be accurately installed at the predetermined opening position, avoiding installation errors and rework. In the list, each opening is assigned a unique identifier to facilitate reference and tracking in subsequent design and installation processes. At the same time, the list also lists the position, size, shape, and relationship with other openings and ship structures of each opening in detail, providing strong support for the accurate installation of side valves. In addition, the welding piece opening list can also serve as a basis for quality control and inspection during shipbuilding, ensuring that each welding piece meets the design requirements, thereby ensuring the construction quality and safety of the entire ship.
[0102] Step S40: obtaining the interface orientation information and installation rules of each side valve.
[0103] It should be noted that the interface orientation information of the side valve refers to the specific orientation and position of each interface on the side valve, which is used to determine the installation direction of the side valve in the ship structure. The interface orientation information of the side valve indicates the orientation of each interface, such as the upward direction, downward, left or right, which is usually relative to the normal direction of the welding piece or the shell surface. The installation rules define the installation requirements of the side valve, including the spatial limitation of the installation position, the installation direction, the installation angle, the allowed deviation, etc., and may also include other requirements such as the alignment of the valve body and the interface, the minimum distance from other equipment, etc.
[0104] Step S50: generating a side valve installation position map according to the welding piece opening map, the welding piece opening list, the interface orientation information and the installation rules, wherein the side valve installation position map includes the specific position and installation direction of each side valve in the ship structure.
[0105] It should be noted that the side valve installation position map is a detailed view generated based on the welding piece opening map, the welding piece opening list, the interface orientation information of the side valve and the installation rules. This map not only includes the specific position of each side valve in the ship structure, but also clearly indicates its installation direction, ensuring that the side valve can be installed accurately according to the design requirements.
[0106] In the side valve installation position map, each side valve is clearly identified and associated with its corresponding opening, so that the construction personnel can quickly and accurately find the installation position. At the same time, considering the installation rules of the side valve, the important information such as the spatial limitation of the installation position, the installation angle, the allowed deviation, etc. is also marked in detail, providing comprehensive guidance for construction. The side valve installation position map not only improves the installation efficiency and accuracy, but also effectively avoids errors and rework during installation, which is of great significance to ensure the construction quality and safety of the ship.
[0107] Optionally, the side valve pattern is obtained, and the side valve pattern is drawn into the shell plate development drawing at one time. The size of the pattern is scaled in proportion to the size of the opening, and then the side valve installation position map is formed. The side valve pattern should be simple and have interface features, such as Figure 3 as shown, Figure 3 is a schematic diagram of the side valve pattern.
[0108] In an implementation, step S50 can include: matching the welding piece opening drawing with the welding piece opening list to determine the target side valve corresponding to each opening in the welding piece opening drawing; parsing the installation rule to determine the spatial limitation of the installation position, the installation direction, the installation angle, and the allowable deviation; determining the interface orientation of the target side valve according to the interface orientation information, wherein the interface orientation is used to guide the correct connection of the side valve in the ship structure; drawing a preliminary layout of the target side valve within the spatial limitation of the installation position according to the welding piece opening drawing and the interface orientation of the target side valve, wherein the preliminary layout includes the relative position and direction of the target side valve in the welding piece opening drawing; optimizing the preliminary layout to obtain an optimized preliminary layout; and if the installation position of the target side valve in the optimized preliminary layout meets the requirements of the spatial limitation, the installation direction, the installation angle, and the allowable deviation in the installation rule, marking the installation position and the interface orientation of each target side valve in the optimized preliminary layout to generate a side valve installation position drawing.
[0109] It should be noted that the process of matching the welding piece opening drawing with the welding piece opening list relies on the unique identifier and opening parameter provided in the opening list. By comparing the opening information on the welding piece opening drawing, the type and specification of the side valve to be installed for each opening can be accurately determined. After matching, further adjustment and optimization of the preliminary layout according to the actual size of the side valve and the installation requirements are needed to ensure that the best layout effect is achieved under the premise of meeting the installation rule.
[0110] It can be understood that in the present embodiment, the parsing of the installation rule includes the spatial limitation of the installation position (including the height and position of the valve installation, the spacing requirement of the valve and the surrounding equipment or structural member), the installation direction, the installation angle, and the allowable deviation (i.e. the maximum deviation limit during installation).
[0111] It should be understood that drawing the preliminary layout of the target side valve specifically includes: drawing the contour and interface position of the target side valve on a two-dimensional plane according to the scale of the welding piece opening drawing and the actual size of the target side valve in a 1:1 ratio. During the drawing process, sufficient consideration should be given to the spatial limitation of the installation position to ensure that the target side valve can be installed smoothly and does not interfere with the surrounding equipment or structural member. At the same time, the orientation of each interface of the target side valve should be clearly marked in the preliminary layout according to the interface orientation information to facilitate subsequent connection and debugging work.
[0112] The optimization of the preliminary layout includes adjusting the target side valve position, direction, and relative relationship with other equipment or structures in the preliminary layout to improve the overall effect of the layout and the convenience of installation. The optimization process may involve adjusting the installation position of the side valve to better meet the requirements of the actual installation environment, or adjusting the direction and angle of the side valve to reduce obstacles and conflicts during installation. Through continuous iteration and optimization, a side valve installation position map that meets the installation rules and has good practicality is finally obtained. The installation position of the target side valve in the optimized preliminary layout should meet the requirements of space limitation, installation direction, installation angle, and allowable deviation in the installation rules.
[0113] Step S60: superimpose the side valve installation position map on the three-dimensional model of the ship to form a comprehensive layout map of the ship containing side valve installation information.
[0114] It should be noted that the three-dimensional model of the ship can also be obtained by parameterized modeling, which contains all the structural information of the ship, such as decks, bulkheads, pipelines, etc. By superimposing the side valve installation position map on the three-dimensional model, the specific position of the side valve in the three-dimensional space of the ship and the relative relationship with other structures can be visually observed. This not only helps better understand the installation requirements, but also allows for virtual pre-installation before construction, enabling the identification and resolution of potential installation issues, thereby further improving installation efficiency and accuracy.
[0115] It can be understood that the comprehensive layout map of the ship should include side valve installation information, such as the model, specification, installation position coordinates, interface orientation, and installation angle of each side valve. By superimposing the side valve installation position map on the three-dimensional model of the ship, a comprehensive layout map of the ship is formed, which not only improves installation efficiency and accuracy, but also provides a strong guarantee for the quality and safety of shipbuilding.
[0116] In a feasible implementation, step S60 can include: importing the three-dimensional model of the ship into the three-dimensional modeling software and importing the side valve installation position map as a reference layer; aligning and matching the installation position and interface orientation of the target side valve in the side valve installation position map with the three-dimensional model of the ship to obtain a matched three-dimensional layout; adjusting the position and orientation of the target side valve in the matched three-dimensional layout based on the installation position in the side valve installation position map and the structural characteristics of the three-dimensional model of the ship to obtain an adjusted target side valve; and fusing the adjusted target side valve with the three-dimensional model of the ship to form a comprehensive layout map of the ship containing side valve installation information, wherein the comprehensive layout map of the ship includes the specific position, installation direction, and relative relationship with surrounding structures of each side valve in the ship structure.
[0117] It should be noted that during the superimposition of the side valve installation position diagram and the ship three-dimensional model, it is necessary to ensure that the scales and coordinate systems of the two are consistent to ensure the accuracy of the superimposition. In addition, the accuracy and detail level of the ship three-dimensional model also need to be considered to ensure that the superimposed ship comprehensive layout diagram can truly reflect the actual situation of the side valve in the ship structure.
[0118] In this embodiment, the precise alignment and fusion of the side valve installation position diagram and the ship three-dimensional model is achieved through three-dimensional modeling software, which can be professional three-dimensional design software such as SolidWorks, AutoCAD, etc. This alignment and fusion not only relies on advanced modeling technology, but also requires a deep understanding of the ship structure and the installation requirements of the side valve. Through the alignment process, it can be ensured that the position of the side valve in the three-dimensional model is completely consistent with the actual installation position, avoiding installation problems caused by position deviation. The fusion process further integrates the side valve into the ship structure, allowing construction personnel to perform pre-installation and debugging in a virtual environment, greatly improving installation efficiency and accuracy. The final ship comprehensive layout diagram not only contains detailed installation information of the side valve, but also intuitively includes the relative relationship between the side valve and other structural components of the ship.
[0119] Specifically, in the CAD software, the installation position and interface orientation of the target side valve in the side valve installation position diagram are precisely aligned with the corresponding positions in the ship three-dimensional model using the alignment and matching functions of the software. This process needs to ensure that the installation position, interface orientation, and relative relationship with other structural components of each side valve are accurately reflected in the three-dimensional model. Through the alignment operation, installation errors caused by deviations between the drawing and the model can be eliminated, improving the accuracy and reliability of the installation.
[0120] The matched three-dimensional layout includes a preliminary correspondence between the side valve and the three-dimensional model of the ship. However, due to various limiting factors in the actual installation environment, such as space limitations, installation angle requirements, etc., it is necessary to adjust the matched three-dimensional layout. The adjustment process includes fine-tuning the position and orientation of the target side valve according to the installation position in the side valve installation position map and the structural characteristics of the three-dimensional model of the ship to ensure that it meets the actual installation requirements. The correspondence between the adjusted target side valve and the three-dimensional model of the ship is more accurate and reasonable. At this time, the adjusted target side valve is fused with the three-dimensional model of the ship to form a comprehensive layout map of the ship containing side valve installation information. The fusion process uses the fusion function of the three-dimensional modeling software to seamlessly integrate the side valve into the three-dimensional model of the ship, making it part of the ship structure. The comprehensive layout map of the ship not only includes the specific position, installation direction, and relative relationship with the surrounding structure of each side valve in the ship structure, but also contains detailed installation information of the side valve, such as model, specification, installation position coordinates, interface orientation, installation angle, etc.
[0121] Step S70: generating a side valve installation map according to the comprehensive layout map of the ship, and installing the side valve according to the side valve installation map, wherein the installation position, interface orientation, installation rules and size information of each side valve are marked in the side valve installation map.
[0122] It should be noted that the side valve installation map is further refined based on the comprehensive layout map of the ship, which details the installation position, interface orientation, installation rules, and size information of each side valve. In the process of generating the side valve installation map, various limiting factors of the actual installation environment, such as space limitations, installation angle requirements, etc., need to be fully considered to ensure the accuracy and practicality of the installation map. According to the side valve installation map, the operation needs to be strictly carried out according to the markings and requirements in the map to ensure that each side valve can be correctly and firmly installed at the specified position. During installation, attention should also be paid to protecting the side valve and its interface from damage to avoid installation errors or omissions. By strictly following the side valve installation map for installation, the correct arrangement and effective operation of the side valve on the ship can be ensured, providing strong protection for the safe navigation and reliable operation of the ship.
[0123] In an implementable embodiment, after the step S70 of "generating a side valve installation map according to the comprehensive layout map of the ship", the following steps are further included: performing edge detection on the side valve installation map to identify problem area features; converting the problem area features into vector data; dividing the vector data into several clusters and randomly selecting a preset number of data points as initial centers of the clusters; calculating the distance of each data point to each cluster center and assigning each data point to the nearest cluster center; updating the center of each cluster to be the average of all data points in the cluster until the change in the cluster center is less than a preset threshold or the maximum number of iterations is reached, obtaining a clustering result; inputting the clustering result into a problem detection model, detecting based on the clustering result by the problem detection model, and generating classification information of the problem area; and optimizing the side valve installation map according to the classification information of the problem area to obtain an optimized side valve installation map.
[0124] It should be noted that the purpose of performing edge detection on the side valve installation map is to identify possible problem areas in the map, such as installation position conflicts, interface orientation errors, etc. By converting the problem area features into vector data, subsequent data processing and clustering analysis can be facilitated.
[0125] It should be understood that clustering analysis is a commonly used data mining technique that can group similar data points into the same cluster, thereby discovering potential patterns and rules in the data. In this embodiment, a K-means clustering algorithm is used to perform clustering analysis on the vector data, and the cluster centers are updated iteratively until the change in the cluster center is less than a preset threshold or the maximum number of iterations is reached, obtaining the final clustering result. The clustering result reflects the distribution of problem areas in the side valve installation map.
[0126] It is worth noting that the problem detection model is a machine learning-based prediction model that can automatically identify problem areas in the side valve installation map based on the input clustering result and generate classification information of the problem areas. The classification information includes the type, location, severity, and other key information of the problem areas. Based on the classification information of the problem areas, the side valve installation map can be optimized, such as adjusting the installation position, modifying the interface orientation, etc., to eliminate potential installation problems. The optimized side valve installation map is more accurate and practical, providing strong support for subsequent side valve installation work. Through this series of operations, the installation quality and efficiency of the side valve can be further improved, ensuring the safe navigation and reliable operation of the ship.
[0127] In an implementable embodiment, the inputting the clustering result into the problem detection model, detecting by the problem detection model based on the clustering result, and generating classification information of the problem area include: inputting the clustering result into the problem detection model, performing feature extraction on the clustering result by the problem detection model to obtain a scatter degree of the cluster; judging whether the scatter degree of the cluster exceeds a scatter degree threshold; if the scatter degree of the cluster exceeds the scatter degree threshold, marking the cluster corresponding to the scatter degree of the cluster as an abnormal cluster, wherein the abnormal cluster represents a problem area with installation problems; extracting feature information of the abnormal cluster, and inputting the feature information into a classifier to perform classification on the feature information by the classifier to obtain classification information of the problem area, wherein the classification information at least includes installation position error, interface orientation mismatch, installation rule violation, and size mismatch.
[0128] It should be noted that the problem detection model is pre-trained, and has mastered the ability to identify common problems in the side valve installation drawing through learning a large amount of historical data.
[0129] After the clustering result is input into the problem detection model, the model will perform feature extraction on the clustering result to calculate the scatter degree of each cluster. The scatter degree is an index for measuring the dispersion degree of data points in the cluster. When the scatter degree of the cluster exceeds a preset scatter degree threshold, it means that the cluster may represent a problem area with installation problems. At this time, the problem detection model will mark the cluster as an abnormal cluster and extract feature information of the abnormal cluster. The feature information includes various attributes of the data points in the abnormal cluster, such as installation position, interface orientation, installation rule, and size information. The extracted feature information is then input into a classifier for classification. The calculation formula of the scatter degree of the cluster is:
[0130]
[0131] wherein σ k is the scatter degree of the cluster, x ki is the i-th data point in the cluster k, c k is the center of the cluster k, n k is the number of samples in the cluster k.
[0132] The classifier is another machine learning-based model that can automatically determine the type of problem area based on the input feature information. In this embodiment, the problem area types that the classifier can identify include, but are not limited to, installation position error, interface orientation mismatch, installation rule violation, and size mismatch. Through the classification of the classifier, detailed classification information of the problem area can be obtained, which provides an important basis for subsequent optimization of the side valve installation drawing. According to the classification information, the side valve installation drawing can be adjusted and optimized in a targeted manner, such as adjusting the installation position, modifying the interface orientation or size, etc., to eliminate potential installation problems. The optimized side valve installation drawing is more accurate and practical, and can guide the construction personnel to correctly and efficiently complete the installation of the side valve.
[0133] The embodiment provides a side valve installation method based on parameterized modeling, a three-dimensional model of a welded part is constructed, a welded part opening skeleton model is generated based on the three-dimensional model of the welded part; the welded part opening drawing is drawn according to the welded part opening skeleton model; the welded part opening list is generated according to the opening in the welded part opening drawing, wherein the welded part opening list includes the mapping relationship between the opening and the side valve; the interface orientation information and the installation rule of each side valve are obtained; the side valve installation position drawing is generated according to the welded part opening drawing, the welded part opening list, the interface orientation information and the installation rule, wherein the side valve installation position drawing includes the specific position and installation direction of each side valve in the ship structure; the side valve installation position drawing is superimposed with the three-dimensional model of the ship to form a ship comprehensive layout drawing containing side valve installation information; the side valve installation drawing is generated according to the ship comprehensive layout drawing, and the side valve is installed according to the side valve installation drawing, wherein the installation position, interface orientation, installation rule and size information of each side valve are marked in the side valve installation drawing. In the above manner, the opening skeleton model is generated by parameterized modeling and the welded part opening drawing is drawn, and then the side valve installation position drawing is generated in combination with the welded part opening list, the interface orientation information and the installation rule, and is superimposed with the three-dimensional model of the ship, so that the side valve installation drawing is quickly generated and the side valve is installed, which effectively improves the design efficiency and accuracy of the side valve installation drawing, and further improves the accuracy of the side valve installation.
[0134] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as the above embodiment one can be referred to the above introduction, and will not be described in detail. On this basis, please refer to Figure 4 , step S10 includes steps S101-S105:
[0135] Step S101: Obtain material information and size information of the welded part.
[0136] It should be noted that the material information refers to the type of material used for the welded part (such as steel, stainless steel, aluminum alloy, etc.), and the size information refers to the length, width, thickness, etc. of the welded part.
[0137] Step S102: Based on the material information and size information, a two-dimensional sketch of the welded part is drawn in the CAD software, wherein the two-dimensional sketch is used to determine the shape and structure of the welded part.
[0138] It should be noted that the basic shape and size of the welded part are determined according to the material information and size information, and the appropriate drawing tool and command are selected in the CAD software, and the two-dimensional sketch of the welded part is drawn according to the proportion and size requirements. The two-dimensional sketch should clearly show the contour, hole position and size, etc. of the key information of the welded part.
[0139] It should be understood that during the drawing process, attention should also be paid to complying with relevant drawing standards and specifications to ensure the accuracy and standardization of the two-dimensional sketch, which is used to determine the shape and structure of the welded part (such as rectangle, circle, special shape, etc.).
[0140] Step S103: According to the two-dimensional sketch, a three-dimensional model of the welded part is generated, wherein the three-dimensional modeling at least includes stretching, rotating and sweeping operations.
[0141] It should be noted that the two-dimensional sketch is converted into a three-dimensional model through stretching, rotating, sweeping and other operations. During the three-dimensional modeling process, appropriate modeling methods and operations can be selected according to the specific shape and structure of the welded part. Stretching operation is usually suitable for welded parts with regular shapes such as rectangle and trapezoid, which generates a three-dimensional entity by stretching the two-dimensional sketch in a specified direction. Rotating operation is suitable for welded parts with rotational symmetry, which forms a three-dimensional entity by rotating the two-dimensional sketch around a specified axis. Sweeping operation is suitable for welded parts with complex shapes, which generates a three-dimensional entity by sweeping a two-dimensional cross section along a specified path.
[0142] After generating the three-dimensional model, necessary checks and corrections should be made to the model to ensure its accuracy and integrity. Through this series of operations, an accurate and required three-dimensional model of the welded part can be obtained.
[0143] Step S104: Based on the three-dimensional model of the welded part, the positioning information of the hole of the welded part is determined.
[0144] It should be noted that the positioning information of the hole of the welded part is determined through the geometric information and spatial relationship in the three-dimensional model.
[0145] Specifically, the structural characteristics and spatial layout in the three-dimensional model of the welding piece can be analyzed according to the installation requirements of the side valve to determine the position, shape and size of the opening. This process needs to consider the overall structure of the ship, the installation rules of the side valve, and the material and size of the welding piece, etc., to ensure the accurate and reasonable positioning of the opening. By determining the positioning information of the welding piece opening, accurate guidance is provided for subsequent opening operations, further improving the accuracy and efficiency of the side valve installation.
[0146] In an available implementation, step S104 can include: defining an opening curve surface in the three-dimensional model of the welding piece, the opening curve surface being used to calculate the opening diameter on the ship structure, and defining a welding piece center line, the welding piece center line being used for the calculation of opening positioning; determining the normal vector of the opening curve surface, and calculating the intersection position of the welding piece center line and the opening curve surface according to the normal vector of the opening curve surface; determining the positioning information of the welding piece opening according to the normal vector of the opening curve surface and the intersection position of the welding piece center line and the opening curve surface.
[0147] It should be noted that the opening curve surface is used to calculate the opening diameter on the ship structure, and the opening diameter is 4mm larger than the welding piece diameter. The welding piece center line is used for the calculation of opening positioning, and the positioning information of the welding piece opening can be obtained through the intersection of the center line and the structural curve, as shown in FIG. 4. Figure 5 Figure 5 FIG. 4 is a schematic diagram of the welding piece curve and center line features.
[0148] It can be understood that the normal vector of the opening curve surface is a vector perpendicular to the opening curve surface, which is used to determine the direction of the opening curve surface in space. By calculating the normal vector of the opening curve surface, the intersection position of the welding piece center line and the opening curve surface can be further determined, so that the positioning information of the welding piece opening can be accurately calculated. When determining the normal vector of the opening curve surface, a geometric analysis or numerical calculation method is usually used to calculate the direction and size of the normal vector according to the shape and size of the opening curve surface. In this embodiment, the gradient operation method is used to determine the normal vector of the opening curve surface.
[0149] The calculation formula of the positioning information of the welding piece opening is:
[0150] (x hole ,y hole ,z hole )=(x0,y0,z0)+Dn
[0151]
[0152] wherein (x hole ,y hole ,z hole ) is the positioning information of the opening, (x0, y0, z0) is the starting point of the center line of the welding piece, D is the offset from the center line of the welding piece to the opening, and n is the normal vector of the opening surface, represents performing gradient operation on the opening surface according to the point (x, y, z) of the point in the three-dimensional space, and f(x, y, z) is the opening surface.
[0153] It should be noted that after determining the positioning information of the opening of the welding piece, the opening information needs to be verified to ensure the accuracy of the opening position, shape and size. The verification process can be based on the installation rules of the side valve, the overall structure of the ship, the material and size of the welding piece and other factors. Through comparison and analysis, possible errors or unreasonable places can be found and corrected in time. The opening information after verification is more reliable and accurate.
[0154] Step S105: generating a welding piece opening skeleton model according to the positioning information of the opening of the welding piece and the three-dimensional model of the welding piece.
[0155] It should be noted that the welding piece opening skeleton model is a simplified three-dimensional model for describing the position, shape and size of all openings on the welding piece. By extracting the opening information from the three-dimensional model of the welding piece and representing it in the form of a skeleton, the spatial layout and mutual relationship of each opening on the welding piece can be clearly displayed. When generating the welding piece opening skeleton model, the accuracy and completeness of the model need to be ensured so that the welding piece opening drawing can be accurately drawn according to the opening skeleton model in the subsequent steps.
[0156] In a feasible implementation, step S105 can include: creating a blank skeleton model in CAD software; marking the positions of each opening on the blank skeleton model according to the positioning information of the opening of the welding piece to obtain a marked skeleton model; extracting structure features associated with the opening based on the three-dimensional model of the welding piece; matching the structure features with the marked skeleton model to obtain the welding piece opening skeleton model, wherein the structure features at least include the shape, size and position information of the opening.
[0157] It should be noted that in the process of creating the welding piece opening skeleton model, the selection of CAD software is crucial. Not only does it need to have powerful three-dimensional modeling functions, but it also needs to support accurate operations and modifications on the model. Common CAD software such as AutoCAD, SolidWorks, etc. can meet this demand. After creating a blank skeleton model, the positions of each opening can be accurately marked on the skeleton model according to the positioning information of the opening of the welding piece. This process needs to ensure the accuracy and consistency of the marking so that the opening information can be accurately identified and extracted subsequently.
[0158] Based on the three-dimensional model of the welded part, structural features associated with the openings are extracted. These features include the shape, size, and position information of the openings, which are crucial for describing the spatial layout and mutual relationship of the openings on the welded part. The method of extracting structural features can be selected according to specific needs and the functions of CAD software, such as obtaining size information of openings through measurement tools, determining the position of openings through selection tools, etc.
[0159] The extracted structural features are matched with the labeled skeleton model. This process needs to ensure the accuracy and completeness of the match, so as to generate a required welded part opening skeleton model. After the matching is completed, necessary checks and corrections can be made on the model to ensure its accuracy and usability. Through this series of operations, a clear, accurate and easy-to-understand welded part opening skeleton model can be finally obtained.
[0160] The embodiment constructs a three-dimensional model of the welded part through parametric modeling. Compared with traditional two-dimensional drawing design, the three-dimensional modeling method adopted makes the design process more intuitive and accurate, reduces design errors and installation problems. At the same time, through parametric modeling, the size of the welded part can be easily adjusted and optimized to adapt to the needs of different ships and side valves, and then the positioning information of the welded part openings is determined based on the three-dimensional model of the welded part, and the welded part opening skeleton model is generated combined with the positioning information of the welded part openings, further improving the design efficiency and reliability of the side valve installation drawing.
[0161] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the parametric modeling-based side valve installation method of the present application. More forms of simple transformation based on this technical concept are within the protection scope of the present application.
[0162] The present application also provides a parametric modeling-based side valve installation device, please refer to Figure 6 , the parametric modeling-based side valve installation device comprises:
[0163] The generation module 10 is used to construct a three-dimensional model of the welded part, and generate a welded part opening skeleton model based on the three-dimensional model of the welded part.
[0164] The drawing module 20 is used to draw a welded part opening drawing according to the welded part opening skeleton model.
[0165] The generation module 10 is also used to generate a welded part opening list according to the openings in the welded part opening drawing, wherein the welded part opening list includes the mapping relationship between the openings and the side valves.
[0166] The acquisition module 30 is used to acquire the interface orientation information and the installation rules of each side valve.
[0167] The generation module 10 is further configured to generate a side valve installation position map according to the welding piece opening map, the welding piece opening list, the interface orientation information and the installation rule, wherein the side valve installation position map comprises specific positions and installation directions of each side valve in the ship structure.
[0168] The superimposition module 40 is configured to superimpose the side valve installation position map and a three-dimensional model of the ship to form a ship comprehensive layout map comprising side valve installation information.
[0169] The installation module 50 is configured to generate a side valve installation map according to the ship comprehensive layout map, and install the side valve according to the side valve installation map, wherein the side valve installation map is marked with installation positions, interface orientations, installation rules and size information of each side valve.
[0170] The side valve installation device based on the parameterized modeling provided in the present application adopts the side valve installation method based on the parameterized modeling in the above embodiments, and can solve the technical problem that the traditional side valve installation map is generated in a projection manner, the design efficiency and quality are poor, and further the side valve installation work is affected. Compared with the prior art, the beneficial effects of the side valve installation device based on the parameterized modeling provided in the present application are the same as those of the side valve installation method based on the parameterized modeling provided in the above embodiments, and other technical features in the side valve installation device based on the parameterized modeling are the same as those disclosed in the above method embodiments, which will not be repeated here.
[0171] The above only describes some embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation, direct / indirect application in other related technical fields based on the technical concept of the present application, and the content of the specification and drawings of the present application are included in the patent protection scope of the present application.
Claims
1. A side valve installation method based on parametric modeling, characterized in that, The method includes: Construct a three-dimensional model of the welded component, and generate a hole skeleton model of the welded component based on the three-dimensional model of the welded component; Draw the opening diagram of the welded part based on the opening skeleton model of the welded part; A weldment opening list is generated based on the openings in the weldment opening diagram, wherein the weldment opening list includes the mapping relationship between the openings and the side valves; Obtain the interface orientation information and installation rules for each side valve; A side valve installation location diagram is generated based on the welded part opening diagram, the welded part opening list, the interface orientation information, and the installation rules. The side valve installation location diagram includes the specific location and installation direction of each side valve in the ship structure. The side valve installation location diagram is overlaid with the three-dimensional model of the ship to form a comprehensive ship layout diagram that includes side valve installation information; A side valve installation diagram is generated based on the ship's overall layout diagram, and the side valves are installed according to the side valve installation diagram. The side valve installation diagram shows the installation position, interface orientation, installation rules, and dimensional information of each side valve. The construction of a three-dimensional model of the welded component, and the generation of a welded component opening skeleton model based on the three-dimensional model of the welded component, includes: Obtain material and dimensional information of the welded parts; Based on the material and dimensional information, a two-dimensional sketch of the welded part is drawn in CAD software, wherein the two-dimensional sketch is used to determine the shape and structure of the welded part; Based on the two-dimensional sketch, a three-dimensional model is generated to produce a three-dimensional model of the weldment, wherein the three-dimensional modeling includes at least extrusion, rotation and sweep operations; The positioning information of the opening in the weldment is determined based on the three-dimensional model of the weldment. A skeleton model of the welded part opening is generated based on the positioning information of the opening and the three-dimensional model of the welded part. The determination of the positioning information of the opening in the welded part based on the three-dimensional model of the welded part includes: In the three-dimensional model of the welded part, the opening surface and the center line of the welded part are defined. The opening surface is used to calculate the opening diameter on the hull structure, and the center line of the welded part is used to calculate the opening positioning. Determine the normal vector of the opening surface, and calculate the intersection point of the weldment centerline and the opening surface based on the normal vector of the opening surface; The positioning information of the opening in the weldment is determined based on the normal vector of the opening surface and the intersection point of the center line of the weldment and the opening surface. The formula for calculating the positioning information of the opening in the welded component is as follows: in, This is the positioning information for the opening. Let D be the starting point of the weldment centerline, D be the offset from the weldment centerline to the opening, and n be the normal vector of the opening surface. Represents a point based on a point in three-dimensional space. Perform gradient calculations on the surface with the opening. It is a curved surface with an opening; The process of overlaying the side valve installation location diagram with the ship's three-dimensional model to form a comprehensive ship layout diagram containing side valve installation information includes: Import the ship's 3D model into the 3D modeling software, and import the side valve installation location diagram as a reference layer; Align and match the installation position and interface orientation of the target side valve in the side valve installation position diagram with the three-dimensional model of the ship to obtain the matched three-dimensional layout; In the matched 3D layout, the position and orientation of the target side valve are adjusted according to the installation position in the side valve installation position diagram and the structural features of the ship's 3D model to obtain the adjusted target side valve. The adjusted target side valves are integrated with the ship's three-dimensional model to form a comprehensive ship layout diagram that includes side valve installation information. The comprehensive ship layout diagram includes the specific location of each side valve in the ship's structure, its installation direction, and its relative relationship with the surrounding structure.
2. The method as described in claim 1, characterized in that, The step of generating a weldment opening skeleton model based on the positioning information of the opening and the three-dimensional model of the weldment includes: Create a blank skeleton model in CAD software; Based on the positioning information of the openings in the welded parts, the positions of each opening are marked on the blank skeleton model to obtain the marked skeleton model; Structural features associated with the openings were extracted based on the three-dimensional model of the welded component; The structural features are matched with the marked skeleton model to obtain the weldment opening skeleton model, wherein the structural features include at least the shape, size and position information of the opening.
3. The method as described in claim 1, characterized in that, The step of drawing the weldment opening diagram based on the weldment opening skeleton model includes: The opening information of the welded part is determined based on the opening skeleton model of the welded part, wherein the opening information of the welded part includes at least the opening direction, the opening area and the opening centroid; The three-dimensional model of the welded component is unfolded into a planar unfolded view; Obtain the geometric information of the ribs, and calculate the coordinates of the ribs in the planar unfolded diagram based on the geometric information of the ribs and the unfolding rules of the three-dimensional model of the welded part. Rib lines are generated based on the coordinates of the ribs in the planar unfolded diagram, wherein the rib lines are used to indicate the position of the welded openings in the ship structure; Based on the rib lines, the opening information of the welded parts, and the positional relationship of the opening skeleton model of the welded parts in the planar unfolded view, an opening diagram of the welded parts is drawn, wherein the opening diagram of the welded parts includes the specific layout and size information of each opening in the ship structure.
4. The method as described in claim 1, characterized in that, The step of generating the side valve installation position diagram based on the weldment opening diagram, the weldment opening list, the interface orientation information, and the installation rules includes: Match the weldment opening diagram with the weldment opening list to determine the target side valve corresponding to each opening in the weldment opening diagram; The installation rules are analyzed to determine the spatial limitations, installation direction, installation angle, and allowable deviations of the installation location; The interface orientation of the target side valve is determined based on the interface orientation information, wherein the interface orientation is used to guide the correct connection of the side valve in the ship structure; Based on the weldment opening diagram and the interface orientation of the target side valve, a preliminary layout diagram of the target side valve is drawn within the spatial constraints of the installation position, wherein the preliminary layout diagram includes the relative position and orientation of the target side valve in the weldment opening diagram; The preliminary layout diagram is optimized to obtain an optimized preliminary layout diagram; If the installation position of the target side valve in the optimized preliminary layout diagram meets the requirements of space constraints, installation direction, installation angle and allowable deviation in the installation rules, then the installation position and interface orientation of each target side valve are marked in the optimized preliminary layout diagram to generate a side valve installation position diagram.
5. The method as described in claim 1, characterized in that, After generating the side valve installation diagram based on the ship's overall layout diagram, the process further includes: Edge detection was performed on the side valve installation diagram to identify the features of the problem area; Convert the features of the problem area into vector data; The vector data is divided into several clusters, and a preset number of data points are randomly selected as the initial centers of the clusters; Calculate the distance from each data point to each cluster center, and assign each data point to the nearest cluster center; Update the center of each cluster to the average value of all data points in the cluster until the change in the cluster center is less than a preset threshold or the maximum number of iterations is reached, and obtain the clustering result. The clustering results are input into the problem detection model, which then performs detection based on the clustering results to generate classification information for problem regions. The side valve installation diagram is optimized based on the classification information of the problem area to obtain an optimized side valve installation diagram.
6. The method as described in claim 5, characterized in that, The step of inputting the clustering results into the problem detection model, and using the problem detection model to perform detection based on the clustering results to generate classification information for problem regions includes: The clustering results are input into a problem detection model, which then extracts features from the clustering results to obtain the cluster dispersion. The formula for calculating the cluster dispersion is as follows: in, The dispersion of the cluster, For the i-th data point in cluster k, The center n of cluster k k It is the number of samples in cluster k; Determine whether the cluster's scattering exceeds the scattering threshold; If the scattering degree of a cluster exceeds the scattering degree threshold, the cluster corresponding to the scattering degree of the cluster is marked as an abnormal cluster, wherein the abnormal cluster represents a problem area with installation problems; The feature information of the abnormal clusters is extracted and input into a classifier. The classifier classifies the feature information to obtain the classification information of the problem area. The classification information includes at least installation location error, interface orientation mismatch, installation rule violation, and size mismatch.
7. A side valve mounting device based on parametric modeling, using the mounting method as described in claim 1, characterized in that, The side valve mounting device includes: The generation module is used to construct a three-dimensional model of the welded part and generate a welded part opening skeleton model based on the three-dimensional model of the welded part. The drawing module is used to draw the opening diagram of the weldment based on the opening skeleton model of the weldment; The generation module is further configured to generate a weldment opening list based on the openings in the weldment opening diagram, wherein the weldment opening list includes the mapping relationship between the openings and the side valves; The acquisition module is used to acquire the interface orientation information and installation rules of each side valve; The generation module is also used to generate a side valve installation position diagram based on the welded part opening diagram, the welded part opening list, the interface orientation information and the installation rules, wherein the side valve installation position diagram includes the specific position and installation direction of each side valve in the ship structure; The overlay module is used to overlay the side valve installation location diagram with the three-dimensional model of the ship to form a comprehensive ship layout diagram containing side valve installation information. The installation module is used to generate a side valve installation diagram based on the ship's overall layout diagram, and to install the side valves according to the side valve installation diagram. The side valve installation diagram indicates the installation position, interface orientation, installation rules, and size information of each side valve.
Citation Information
Patent Citations
Integrated broadside valve
CN113137485A
Ship broadside connecting pipe trepanning positioning device and method on outer plate
CN113843474A