Steel pipe grouping method based on pipe end misalignment amount control
By acquiring the inner and outer radius distribution data of the steel pipe end face, calculating the misalignment amount and establishing an incompatibility graph, and using a graph coloring algorithm for grouping, the problem of misalignment control in steel pipe welding was solved, improving welding quality and engineering efficiency.
Patent Information
- Application Number
- CN202611389339.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies cannot effectively control the misalignment of the inner and outer walls before steel pipe welding, leading to deterioration of weld geometry and stress concentration, which affects the load-bearing capacity and service reliability of the welded joint. Furthermore, traditional methods are difficult to meet the timeliness and feasibility requirements of engineering sites.
By acquiring the full circumference inner and outer radius distribution data of the steel pipe end face, calculating the misalignment of the inner and outer diameters under different rotation angles, establishing a steel pipe incompatibility diagram, and using a graph coloring algorithm to group them, ensuring that the end face connection of any two steel pipes in the same group meets the preset misalignment threshold.
It enables precise control of misalignment at the end face of steel pipes, reduces the risk of weld morphology deterioration and stress concentration, improves the load-bearing capacity of welded joints and pipeline service reliability, and reduces the workload of on-site trial fitting.
Smart Images

Figure CN123159802A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of oil and gas pipeline manufacturing and welding assembly technology, and in particular to a steel pipe grouping method based on the control of pipe end misalignment. Background Technology
[0002] In long-distance oil and gas transportation, marine pipeline laying, and industrial pipeline construction, it is often necessary to weld a large number of steel pipes into continuous pipelines through circumferential welding. When two steel pipes are joined, due to factors such as forming, heat treatment, cutting, transportation, and assembly, the inner and outer radii of their end faces in the circumferential direction often differ, resulting in misalignment of the inner and outer walls. Excessive misalignment not only leads to a deterioration of the weld geometry but also causes localized stress concentration, thereby affecting the load-bearing capacity, fatigue life, and service reliability of the welded joint.
[0003] In current engineering practice, steel pipes are typically paired according to the order of arrival, manual experience, or average size. These methods usually rely on only a single statistical measure or local empirical rules, failing to fully consider the differences in connection quality across all combinations of double-end faces. Therefore, it is difficult to guarantee that any two steel pipes within the same group meet the same threshold requirement. On the other hand, if all steel pipes are directly and exhaustively grouped and paired, the computational scale increases rapidly with the number of pipes, making it difficult to meet the timeliness and feasibility requirements of engineering sites. Summary of the Invention
[0004] The main objective of this invention is to provide a steel pipe grouping method based on the control of pipe end misalignment, which aims to solve existing technical problems.
[0005] To achieve the above objectives, the present invention provides a method for grouping steel pipes based on the control of pipe end misalignment, comprising the following steps: S1. Obtain the inner radius distribution data and outer radius distribution data of the full circumference of each steel pipe in the set of steel pipes to be welded; S2. For any two end faces from different steel pipes, discretely enumerate the relative rotation angles, calculate the effective misalignment of the inner diameter and the effective misalignment of the outer diameter under each relative rotation angle, and determine the minimum comprehensive misalignment cost and the corresponding optimal relative rotation angle. S3. Calculate the feasibility of connecting any two steel pipes based on the preset misalignment threshold. Use steel pipes as graph nodes and determine whether nodes are connected based on whether steel pipes can be arbitrarily connected. Establish a steel pipe incompatibility graph. S4. Perform a coloring operation on the incompatible steel pipe diagram, and output the final pipe grouping based on the coloring results.
[0006] Furthermore, in step S1, the inner and outer radii of the end face are discretized in the circumferential direction with the center of the fitted circle of the end face as the origin of the polar coordinates and the circumferential angle as the independent variable, to form the inner radius sequence and the outer radius sequence of the end face.
[0007] Further, in step S2, for end face A and end face B, when the rotation angle of end face B relative to end face A is Ψ, the absolute value distribution of the inner radius deviation and the absolute value distribution of the outer radius deviation at each sampling point in the circumference are calculated respectively, and the maximum value in the distribution is taken as the effective misalignment of the inner diameter and the effective misalignment of the outer diameter respectively.
[0008] Furthermore, the comprehensive misalignment cost is obtained by weighting the effective misalignment amount of the inner diameter and the effective misalignment amount of the outer diameter, and is expressed as: C=w i HiLo i +w o HiLo o ; Among them, HiLo i HiLo is the effective misalignment of the inner diameter. o w is the effective misalignment of the outer diameter. i and w o Here are the weighting coefficients, and w i ≥0, w o ≥0.
[0009] Furthermore, by traversing all discrete relative rotation angles Ψ, the rotation angle corresponding to the minimum comprehensive misalignment cost C is taken as the optimal relative rotation angle between the two end faces, and the corresponding effective misalignment of the inner diameter and the effective misalignment of the outer diameter are taken as the inner diameter misalignment and the outer diameter misalignment between the two end faces of the steel pipe.
[0010] Furthermore, in step S3, each steel pipe is mapped to a node in the graph, and a steel pipe incompatibility graph is established based on the connection result between any two steel pipe end faces obtained in step S2 and the preset misalignment threshold.
[0011] Furthermore, when connecting any two steel pipes, there are four possible connection methods. Only when all connections meet the preset misalignment threshold can the two steel pipes be connected arbitrarily; otherwise, they cannot be connected arbitrarily. The nodes of the steel pipes that cannot be connected arbitrarily are taken as the connection relationship, and a steel pipe incompatibility diagram is established.
[0012] Furthermore, the coloring operation for the incompatible steel pipe diagram in step S4 includes: performing a graph coloring operation on the incompatible diagram, using the DSATUR coloring method, so that any two nodes connected by incompatible edges have different colors, and dividing nodes with the same color into the same group.
[0013] Furthermore, when using the DSATUR coloring method in step S4, the uncolored node with the highest current saturation is selected first for coloring. If the saturation is the same, the node with the higher degree is selected first, and then the minimum usable color is assigned to it.
[0014] Furthermore, the weighting coefficient w i and w o The preset threshold is set to achieve the purpose of joint control of the misalignment of the inner diameter and the misalignment of the outer diameter.
[0015] The beneficial effects of this invention are reflected in: This invention no longer relies solely on single statistical dimensions such as the average outer diameter and average inner diameter of steel pipes for pipe pairing. Instead, it performs circumferential discrete sampling on the left and right end faces of the steel pipes to obtain a complete circumferential distribution sequence of inner and outer radii, fully restoring the true geometric morphology of the steel pipe end faces, including roundness, ellipticity, and local concavity / convexity. By calculating the radius deviation of all circumferential sampling points under different relative rotation angles, and taking the maximum deviation as the effective misalignment of the inner and outer diameters, this invention can capture extreme misalignment risks at local circumferential locations, preventing excessive local misalignment from being masked by the average dimension. This ensures that the misalignment evaluation results are highly consistent with actual welding conditions, reducing weld morphology deterioration and stress concentration caused by excessive local misalignment from the source, and improving the load-bearing capacity of welded joints and the reliability of pipeline service.
[0016] This invention sets configurable inner diameter and outer diameter weights, and obtains a comprehensive misalignment cost through weighted average. The control priority of these two weights can be flexibly adjusted according to the engineering focus. When the project focuses more on the impact of inner wall misalignment on media flow and inner wall corrosion, the inner diameter weight can be increased; when the focus is on controlling outer wall welding formation and external stress, the outer diameter weight can be increased. It can also be combined with the design misalignment threshold to simultaneously constrain inner and outer misalignment, solving the problem that traditional methods cannot simultaneously control inner and outer wall misalignment, and adapting to the welding process specifications of different pipeline projects. At the same time, by traversing discrete rotation angles to search for the optimal relative rotation angle, the theoretically optimal docking posture that the two end faces can achieve is obtained, providing the optimal rotation docking benchmark for steel pipe pairing.
[0017] Existing manual sorting and material arrival sequence grouping methods cannot guarantee that all connection methods for any two steel pipes within the same group meet the misalignment limit. This invention abstracts each steel pipe as a graph node, fully considering the four possible end-face connection combinations between two steel pipes. Only when all connection methods meet the misalignment threshold is it determined that two steel pipes can be arbitrarily interconnected. Steel pipes that cannot be arbitrarily interconnected are constructed with incompatible edges to form an incompatible graph. Grouping is then achieved through graph coloring. Within the same color group, all connection combinations between any two steel pipes can meet the preset misalignment threshold. In engineering applications, steel pipes within the same group can be arbitrarily selected and connected without repeated on-site trial fittings, significantly reducing the workload of trial and error in on-site piping installation. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the steel pipe grouping method based on the control of pipe end misalignment according to the present invention. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] Please see Figure 1 This invention provides a method for grouping steel pipes based on the control of pipe end misalignment, comprising the following steps: Step S1 is used to obtain the inner radius distribution data and outer radius distribution data of the full circumference of each steel pipe in the set of steel pipes to be welded.
[0021] The set of steel pipes to be welded is denoted as P = {p1, p2, ..., p...} n}, where n is the total number of steel pipes, and n is a positive integer. Each steel pipe p k (k = 1, 2, ..., n) has a left end face and a right end face, denoted as E respectively. k L and E k R. For each end face, it is necessary to collect the inner radius distribution and outer radius distribution within its entire circumference.
[0022] Specifically, using the center of the end face fitting circle as the origin of the polar coordinates and the circumferential angle θ as the independent variable, circumferential discrete sampling is performed on the inner and outer radii of the end face. The center of the end face fitting circle can be obtained by performing least-squares circle fitting on the end face contour measurement points. Let the number of circumferential sampling points be M, and the sampling angle sequence be {θ1, θ2, ..., θ...} M}, where the interval between adjacent sampling angles is equal, i.e., θ {j+1} -θ j =2π / M (j = 1, 2, ..., M-1), the sampling angle range covers the complete circumference from 0 to 2π.
[0023] For end face E, at each sampling angle θ j At this angular location, the distances from the center of the fitted circle to the inner wall (i.e., the inner radius) and from the center of the fitted circle to the outer wall (i.e., the outer radius) are measured respectively, thus forming the end face inner radius sequence Ri(E)={ri1(E), ri2(E), …, ri M (E)} and the sequence of outer radii of the end face Ro(E)={ro1(E),ro2(E),…,roM (E)}. Where rij(E) represents the inner radius of end face E at the j-th sampling angle, and roj(E) represents the outer radius of end face E at the j-th sampling angle.
[0024] Through the aforementioned discrete sampling, the continuous distribution of end face radii is transformed into a discrete sequence of finite length, providing a data foundation for subsequent calculations of misalignment. The value of the number of sampling points M affects both the calculation accuracy and computational cost; a larger M results in higher accuracy but also a greater computational cost. The specific value can be determined based on engineering accuracy requirements and computational resources.
[0025] Step S2, for any two end faces from different steel pipes, calculates the effective misalignment of the inner diameter and the effective misalignment of the outer diameter under each relative rotation angle by discretely enumerating the relative rotation angle, and determines the minimum comprehensive misalignment cost and the corresponding optimal relative rotation angle.
[0026] Assume end face A originates from steel pipe p. a End face B originates from steel pipe pb, and p a ≠pb. End face A and end face B can be the left or right end face of their respective steel pipes, meaning there are four possible combinations of end faces: (E a L Eb L ), (E) a L Eb R ), (E) a R Eb L ), (E) a R Eb R Step S2 calculates each combination separately.
[0027] When end face B rotates by an angle Ψ relative to end face A, the sampling angle sequence of end face B undergoes an angular shift relative to end face A. Let the set of discrete rotation angles be Ψset={Ψ1,Ψ2,…,ΨQ}, where Q is the number of discrete rotation angles, and adjacent rotation angles are equally spaced, i.e., Ψ{q+1}-Ψq=2π / Q (q=1,2,…,Q-1), covering the range of rotation angles from 0 to 2π. The number of discrete rotation angles Q determines the resolution of the rotation angle search; the larger Q is, the higher the search accuracy of the optimal rotation angle, but the computational load also increases accordingly.
[0028] For a given relative rotation angle Ψ, the inner radius of end face B at the j-th sampling angle after rotation corresponds to the inner radius at its original sampling angle θj+Ψ. Since the sequence of inner radii of end face B is a discrete sequence, when θj+Ψ does not fall exactly on the sampling point, the inner radius value at the corresponding angle can be obtained by linear interpolation or nearest neighbor sampling.
[0029] Under a relative rotation angle Ψ, the distribution of the absolute value of the inner radius deviation at each sampling point in the circumferential direction is defined as: Δri(j,Ψ)=|riA(j)-riB(j,Ψ)|, j=1,2,...,M; Where riA(j) is the inner radius of end face A at the j-th sampling angle, and riB(j,Ψ) is the inner radius of end face B at the position corresponding to the j-th sampling angle under the relative rotation angle Ψ.
[0030] Similarly, the distribution of the absolute value of the outer radius deviation at each sampling point in the circumference is defined as: Δro(j,Ψ)=|roA(j)-roB(j,Ψ)|, j=1,2,...,M; The effective misalignment of the inner diameter, HiLoi(Ψ), is taken as the maximum value in the distribution of absolute values of the inner radius deviation: HiLoi(Ψ)=max{Δri(1,Ψ),Δri(2,Ψ),…,Δri(M,Ψ)}; The effective misalignment of the outer diameter, HiLoo(Ψ), is the maximum value among the absolute values of the outer radius deviation distribution. HiLoo(Ψ)=max{Δro(1,Ψ),Δro(2,Ψ),…,Δro(M,Ψ)}; The maximum value is used as the effective misalignment because when butt welding steel pipes, the position with the largest misalignment in the circumferential direction determines the most unfavorable geometric shape and stress concentration of the weld. Using the maximum value as the control index can ensure that the misalignment in the entire circumference does not exceed the allowable value.
[0031] The overall misalignment cost C(Ψ) is obtained by weighting the effective misalignment of the inner diameter and the effective misalignment of the outer diameter, and is expressed as: C(Ψ)=wi·HiLoi(Ψ)+wo·HiLoo(Ψ); Where HiLoi(Ψ) is the effective misalignment of the inner diameter under the relative rotation angle Ψ, HiLoo(Ψ) is the effective misalignment of the outer diameter under the relative rotation angle Ψ, and wi and wo are weighting coefficients, and wi≥0 and wo≥0.
[0032] The weighting coefficients wi and wo are set according to preset misalignment thresholds to achieve joint control of the inner diameter misalignment and the outer diameter misalignment. Specifically, when the control requirement for the inner diameter misalignment is stricter than that for the outer diameter misalignment, wi > wo can be set; when the control requirement for the outer diameter misalignment is stricter than that for the inner diameter misalignment, wo > wi can be set; when the control requirements for both are equivalent, wi = wo can be set. The specific values of the weighting coefficients can be determined according to the allowable limit ratio of inner wall misalignment and outer wall misalignment in the engineering specifications.
[0033] By traversing all discrete relative rotation angles Ψ∈Ψset, the comprehensive misalignment cost C(Ψ) under each rotation angle is calculated, and the rotation angle corresponding to the minimum comprehensive misalignment cost is taken as the optimal relative rotation angle Ψ between end face A and end face B. ,Right now: Ψ =argmin{Ψ∈Ψset} C(Ψ); The optimal relative rotation angle Ψ The corresponding effective misalignment of the inner diameter and the effective misalignment of the outer diameter are referred to as the inner diameter misalignment and outer diameter misalignment between end face A and end face B, respectively, and are denoted as HiLoi. (A, B) and HiLoo (A, B).
[0034] Using the above method, for any two end faces from different steel pipes, the misalignment of the inner diameter and the misalignment of the outer diameter under the optimal relative rotation angle can be determined, providing a basis for the subsequent feasibility assessment of steel pipe connections.
[0035] Step S3 calculates the feasibility of connecting any two steel pipes based on a preset misalignment threshold. Using the steel pipes as graph nodes, the connection condition is whether the steel pipes can be arbitrarily connected to determine whether the nodes are connected, thus establishing a steel pipe incompatibility graph.
[0036] Each steel pipe p in the set P of steel pipes to be welded k Each is mapped to a node v in graph G. k That is, the set of nodes V = {v1, v2, ..., v} n}, where node v k Corresponding steel pipe p k Graph G initially contains no edges.
[0037] The preset misalignment thresholds include the inner diameter misalignment threshold Ti and the outer diameter misalignment threshold To. When the inner diameter misalignment of a combination of two steel pipes at an optimal relative rotation angle does not exceed Ti and the outer diameter misalignment does not exceed To, the connection of that end-face combination is considered to meet the misalignment requirements. The specific values of the inner diameter misalignment threshold Ti and the outer diameter misalignment threshold To can be determined according to relevant engineering specifications or design requirements (the specific values are subject to confirmation by the applicant).
[0038] Any two steel pipes p a When connecting to pb (a≠b), since each steel pipe has a left end face and a right end face, there are four possible end face connection methods: Method 1: Steel pipe p a The left end face of is connected to the left end face of steel pipe pb, that is (E a L Eb L ); Method 2: Steel pipe p a The left end face of is connected to the right end face of steel pipe pb, that is (E a L Eb R ); Method 3: Steel pipe p a The right end face of is connected to the left end face of steel pipe pb, that is (E a R Eb L ); Method 4: Steel pipe p a The right end face of is connected to the right end face of steel pipe pb, that is (E a R Eb R ).
[0039] For each connection method, using the inner diameter misalignment and outer diameter misalignment of the corresponding end face combination obtained in step S2, it is determined whether the connection method meets the preset misalignment threshold, i.e., whether HiLoi is satisfied. (Corresponding end face combination) ≤ Ti and HiLoo Does (corresponding end face combination) ≤ To simultaneously hold true?
[0040] Only when all four connection methods mentioned above meet the preset misalignment threshold is the steel pipe p considered to be connected. a The connection between steel pipe pb and steel pipe pb can be arbitrary; otherwise, steel pipe pb is considered to be... a Arbitrary connections cannot be made between it and the steel pipe pb.
[0041] For steel pipe nodes that cannot be arbitrarily connected, a connection relationship is established by adding an edge between the corresponding two nodes. Specifically, if steel pipe p... a Since there cannot be arbitrary connections between the steel pipe pb and node v, then at node v... a Add an undirected edge e{a,b} between node vb and node vb. All such edges form the edge set E.
[0042] The resulting graph G = (V, E) is the incompatibility graph for steel pipes. In the incompatibility graph, two nodes connected by an edge indicate that the corresponding two steel pipes cannot be arbitrarily connected (i.e., at least one end-face connection method does not meet the misalignment threshold requirement); two nodes without an edge connection indicate that the corresponding two steel pipes can be arbitrarily connected (i.e., all four end-face connection methods meet the misalignment threshold requirement).
[0043] By constructing an incompatible graph, the steel pipe grouping problem is transformed into a graph coloring problem in graph theory, laying the foundation for subsequent grouping using mature graph coloring algorithms.
[0044] Step S4 performs a coloring operation on the incompatibility diagram of steel pipes and outputs the final pipe grouping based on the coloring results.
[0045] Graph coloring operations are performed on incompatible graph G using the DSATUR (Degree of Saturation) coloring method. The DSATUR coloring method is a heuristic graph coloring algorithm whose core idea is to prioritize coloring nodes with the highest saturation to reduce the possibility of color conflicts.
[0046] The specific steps of the DSATUR coloring method are as follows: (1) Initialization: All nodes are uncolored, the saturation of each node is initialized to 0, and the degree of a node is the number of its neighboring nodes in the incompatible graph.
[0047] (2) Node selection: Prioritize the uncolored node with the highest current saturation for coloring; if there are multiple uncolored nodes with the same saturation, prioritize the node with the higher degree; if the degrees are also the same, any one can be selected.
[0048] The saturation of a node is defined as the number of different colors used by its adjacent colored nodes. The higher the saturation, the more colors its adjacent nodes use, and the fewer colors the node itself can choose. Therefore, prioritizing coloring for a node helps reduce color conflicts.
[0049] (3) Color assignment: Assign the minimum available color to the selected node, that is, assign the minimum color number that the node has not yet been used by its colored neighboring nodes.
[0050] (4) Update: After a node is colored, update the saturation of all its uncolored neighboring nodes.
[0051] (5) Repeat: Repeat steps (2) to (4) until all nodes are colored.
[0052] The DSATUR coloring method described above ensures that any two nodes connected by incompatible edges have different colors, meaning that two steel pipes that cannot be arbitrarily connected are assigned to different groups.
[0053] Nodes with the same color are grouped together. If a total of K colors are used in the coloring result, the steel pipes are finally divided into K groups G1, G2, ..., GK, where group Gm (m = 1, 2, ..., K) contains all steel pipes assigned the m-th color.
[0054] Since there are no incompatible edges between any two steel pipes corresponding to the nodes within the same group, any two steel pipes within the same group can be connected arbitrarily. That is, all four end-face connection methods meet the preset misalignment threshold requirements. This ensures that, in actual welding construction, regardless of the end-face combination method used for butt welding, the misalignment of the pipe ends within the same group can be controlled within the preset threshold range.
[0055] The final output includes a list of steel pipe numbers for each group, as well as the optimal relative rotation angle information between any two steel pipes in each group, for reference during on-site welding construction.
[0056] The specific values of parameters involved in the above steps, such as the number of sampling points M, the number of discrete rotation angles Q, the weighting coefficients wi and wo, the inner diameter misalignment threshold Ti, and the outer diameter misalignment threshold To, can be determined based on factors such as the steel pipe specifications, welding process requirements, and computational resource conditions in the actual engineering scenario. This embodiment does not limit the specific values of the above parameters; those skilled in the art can choose them reasonably according to the specific application scenario.
[0057] It is understood that the systems, devices, and storage media provided in the embodiments of the present invention correspond to the methods provided in the embodiments of the present invention, and the explanations, examples, and beneficial effects of the relevant content can be referred to the corresponding parts of the above methods.
[0058] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0059] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0060] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0061] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A steel pipe grouping method based on pipe end misalignment control, characterized in that, Includes the following steps: S1. Obtain the inner radius distribution data and outer radius distribution data of the full circumference of each steel pipe in the set of steel pipes to be welded; S2. For any two end faces from different steel pipes, discretely enumerate the relative rotation angles, calculate the effective misalignment of the inner diameter and the effective misalignment of the outer diameter under each relative rotation angle, and determine the minimum comprehensive misalignment cost and the corresponding optimal relative rotation angle. S3. Calculate the feasibility of connecting any two steel pipes based on the preset misalignment threshold. Use steel pipes as graph nodes and determine whether nodes are connected based on whether steel pipes can be arbitrarily connected. Establish a steel pipe incompatibility graph. S4. Perform a coloring operation on the incompatible steel pipe diagram, and output the final pipe grouping based on the coloring results.
2. The steel pipe grouping method based on pipe end misalignment control according to claim 1, characterized in that, In step S1, the inner and outer radii of the end face are circumferentially discretely sampled with the center of the fitted circle of the end face as the origin of the polar coordinates and the circumferential angle as the independent variable, to form the inner radius sequence and the outer radius sequence of the end face.
3. The steel pipe grouping method based on pipe end misalignment control according to claim 1, characterized in that, In step S2, for end face A and end face B, when the rotation angle of end face B relative to end face A is Ψ, the absolute value distribution of the inner radius deviation and the absolute value distribution of the outer radius deviation at each sampling point in the circumference are calculated respectively, and the maximum value in the distribution is taken as the effective misalignment of the inner diameter and the effective misalignment of the outer diameter.
4. The steel pipe grouping method based on pipe end misalignment control according to claim 3, characterized in that, The comprehensive misalignment cost is obtained by weighting the effective misalignment amount of the inner diameter and the effective misalignment amount of the outer diameter, and is expressed as: C=w i ·Braided i +w o ·Braided o ; Among them, HiLo i HiLo is the effective misalignment of the inner diameter. o w is the effective misalignment of the outer diameter. i and w o Here are the weighting coefficients, and w i ≥0, w o ≥0.
5. The steel pipe grouping method based on pipe end misalignment control according to claim 4, characterized in that, By traversing all discrete relative rotation angles Ψ, the rotation angle corresponding to the minimum comprehensive misalignment cost C is taken as the optimal relative rotation angle between the two end faces, and the corresponding effective misalignment of the inner diameter and the effective misalignment of the outer diameter are taken as the inner diameter misalignment and the outer diameter misalignment between the two end faces of the steel pipe.
6. The steel pipe grouping method based on pipe end misalignment control according to claim 1, characterized in that, In step S3, each steel pipe is mapped to a node in the graph. Based on the connection result between any two steel pipe end faces obtained in step S2 and the preset misalignment threshold, a steel pipe incompatibility graph is established.
7. The steel pipe grouping method based on pipe end misalignment control according to claim 6, characterized in that, There are four possible connection methods between any two steel pipes. Only when all connections meet the preset misalignment threshold can the two steel pipes be connected arbitrarily; otherwise, they cannot be connected arbitrarily. The steel pipe nodes that cannot be connected arbitrarily are used as connection relationships to establish a steel pipe incompatibility diagram.
8. The steel pipe grouping method based on pipe end misalignment control according to claim 1, characterized in that, The coloring operation for the incompatible steel pipe diagram in step S4 includes: performing a graph coloring operation on the incompatible diagram, using the DSATUR coloring method to make any two nodes connected by incompatible edges have different colors, and dividing nodes with the same color into the same group.
9. The steel pipe grouping method based on pipe end misalignment control according to claim 8, characterized in that, In step S4, when using the DSATUR coloring method, the uncolored node with the highest current saturation is selected first for coloring. If the saturation is the same, the node with the higher degree is selected first, and then the minimum usable color is assigned to it.
10. The steel pipe grouping method based on pipe end misalignment control according to claim 4, characterized in that, The weighting coefficient w i and w o The preset threshold is set to achieve the purpose of joint control of the misalignment of the inner diameter and the misalignment of the outer diameter.
