An Algorithm for Snake-Shaped Pipe Socketing
Through a systematic algorithm to calculate the straight segment and arc length of the serpentine tube, determine the splicing point and the length of the raw material pipe, the problem of complex calculation of the serpentine tube nesting in the prior art is solved, and high-precision manufacturing and effective utilization of raw materials are achieved.
Patent Information
- Application Number
- CN202411855038.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-01
AI Technical Summary
In the prior art, the calculation of serpentine tube nesting is complicated and easily leads to errors, resulting in the manufactured serpentine tubes that do not match the drawings and waste of raw materials.
It provides an algorithm for serpentine tube nesting. Through systematic steps and clear calculation logic, serpentine tubes are divided into straight sections and arc lengths, calculate the splicing point and the length of raw material pipes, generate a serpentine tube splicing diagram, and guide the pipe bending process.
减少了计算误差,提高了制造精度,确保了原材料的有效利用,最大限度地减少了原材料的浪费。
Smart Images

Figure CN119740339A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of serpentine tube sleeve materials, and in particular to an algorithm for serpentine tube sleeve materials. Background Art
[0002] Coiled tubes are often used in the convection heating surfaces of boilers, such as economizers, superheaters and reheaters. The required heating area needs to be calculated, and then the length and layout of the tubes are calculated based on the heating area. Due to space limitations, as many heating surfaces as possible must be arranged in a limited space. Therefore, the tubes are formed into longer tubes by winding straight tubes and elbows, so they are generally called coiled tubes.
[0003] When making serpentine tubes, pipe materials suitable for application requirements are usually selected from the raw material library. Some serpentine tubes are made by bending many straight tubes and then splicing them together. Some serpentine tubes are first spliced into a whole by straight tubes, and then the length of the straight tubes is input into the tube bending machine for automatic bending.
[0004] In the prior art, when the serpentine tube is sleeved, if the method of bending the tube first and then splicing is adopted, the staff needs to perform a large number of complex calculations to determine the length of the straight section after the multiple straight tubes are bent, that is, the multiple splicing points on the multiple raw material tubes, and input the data into the tube bending machine to guide the bending process of each tube. If the method of splicing the straight tubes first and then bending the tubes is adopted, since welding joints will be generated during the splicing process, the staff also needs to perform a large number of complex calculations. The number and position of these joints need to be accurately calculated and designed to ensure the welding quality and the overall performance of the serpentine tube. However, a large number of complex calculations are prone to calculation errors, resulting in the inability to manufacture the serpentine tube or the manufactured serpentine tube having a large error with the drawing, and at the same time, causing a waste of raw materials. Summary of the invention
[0005] The purpose of the present invention is to provide an algorithm for serpentine tube sleeve material to solve the problems mentioned in the above background technology.
[0006] In order to solve the above technical problems, the present invention provides an algorithm for serpentine tube sleeve material, which comprises the following steps:
[0007] S1. Divide each section of the serpentine tube into straight sections and arc lengths and sort them and name them Z i and H j , where i∈[1,u+1], j∈[1,u], the clamp position on the serpentine tube is the distance from the position that cannot be spliced to the starting point of the bend, and they are sorted and named A1~A a , sort the lengths of the raw material pipes and name them G1 to G n ;
[0008] S2, the minimum distance from the actual splicing point to the position that cannot be spliced is named D;
[0009] S2. Name the accumulated value of the serpentine tube segment as L e , where e∈[1,u+1];
[0010] S4, the length of the raw material pipe is cumulatively named B1~B n ;
[0011] S5. Name the multiple joint points on the raw material pipe as Y. If 0 m -L e <Z e+1 , where m represents the mth raw material pipe, then the splicing point Y of the mth raw material pipe is m In the straight segment Z e+1 At the same time, if B m -L e and Z e+1 -(B m -L e ) minus any one of A1 to A a The absolute value of is greater than D, then B m -L e and Z e+1 -(B m -L e ) are all Y m ;
[0012] S6, if any G1~G n If the value does not meet the conditions in S5, it is necessary to adjust G1~G n Repeat step S5 until all the values are qualified;
[0013] S7, according to the Y value and G1 ~ G n The value of is used for nesting.
[0014] Furthermore, if L e m <L e+1 , then the splicing point Y of the mth raw material pipe m In Z e+1 on straight segments and / or arcs.
[0015] Furthermore, if B m -L e ≥Z e+1 , then the splicing point Y m In H e+1 At the elbow, G1~G n Repeat step S5 according to the value of
[0016] Furthermore, the D value is determined by the boiler pressure and the quantity of raw material pipes.
[0017] Further, a worksheet is constructed with the values in steps S1 to S4. The worksheet includes a serial number column, a column Z named after the straight section of the serpentine tube, a column H named after the arc length of the serpentine tube, a column G named after the length of the raw material pipe, a column A named after the position of the pipe clamp on the serpentine tube, and a column D named after the minimum distance from the position of the actual splicing point to the non-splicable position.
[0018] A functional relationship is established between column Z and column H to form column L with the cumulative value of the serpentine tube segments.
[0019] A functional relationship is established for column G to form column B with the cumulative value of the lengths of the raw material pipes in sequence.
[0020] A functional relationship is established among column Z, column L, and column B, satisfying 0 < B m -L e < Z e+1 The splicing point column Y is formed under the condition.
[0021] A functional relationship is established among column Y, column A, and column D to form a status column for judging whether the value in column G is qualified.
[0022] Further, if the absolute value obtained by subtracting any A1 to A in the same row from any Y value is greater than the D value, the status bar of that row displays the number "0" indicating that the Y value of that row is qualified; otherwise, the status bar of that row displays the Chinese character "挨" and is marked in red indicating that the Y value of that row is unqualified. a
[0023] Further, a functional relationship is established between the last row of column L and the last row of column B to form a waste material column.
[0024] The beneficial effects of the present invention are as follows: Through systematic steps and clear calculation logic, the present invention reduces errors caused by a large number of complex calculations, while ensuring the accuracy and reliability of the calculations. According to the calculated splicing points, a splicing diagram of the serpentine tube can be generated, which can visually guide the bending process of each raw material pipe, further improving the manufacturing precision. This algorithm also finds the optimal combination of raw materials by accurately calculating the splicing points and the lengths of the raw material pipes, ensuring the effective utilization of the raw materials, thereby minimizing the waste of raw materials to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is an example diagram of Embodiment 1 of the present invention.
[0026] Figure 2 It is an example diagram of Embodiment 2 of the present invention.
[0027] Figure 3 It is an example diagram of the serpentine tube drawing of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiment is only one embodiment of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0029] In order to make the objectives, technical solutions and advantages of the present application more clear, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0030] In the following description, references to "one embodiment", "an embodiment", "an example", "an example", etc. indicate that the embodiment or example described in this way may include specific features, structures, characteristics, properties, elements or limitations, but not every embodiment or example necessarily includes the specific features, structures, characteristics, properties, elements or limitations. In addition, repeated use of the phrase "according to one embodiment of the present application" may refer to the same embodiment, but does not necessarily refer to the same embodiment.
[0031] like Figure 1-3 As shown, the present invention discloses an algorithm for serpentine tube sleeve material, which includes the following steps:
[0032] S1. Divide each section of the serpentine tube into straight sections and arc lengths and sort them and name them Z i and H j , where i∈[1,u+1], j∈[1,u], the clamp position on the serpentine tube is the distance from the position that cannot be spliced to the starting point of the bend, and they are sorted and named A1~A a The above data are obtained from the serpentine tube drawing. The lengths of the raw material tubes are sorted and named G1~G n ;
[0033] S2, the minimum distance from the actual splicing point to the position that cannot be spliced is named D;
[0034] S2. Name the accumulated value of the serpentine tube segment as L e , where e∈[1,u+1];
[0035] S4, the length of the raw material pipe is cumulatively named B1~B n ;
[0036] S5. Name the multiple joint points on the multiple raw material pipes as Y. If 0 m -L e <Z e+1 , where m represents the mth raw material pipe, then the splicing point Y of the mth raw material pipe is m In the straight segment Z e+1 At the same time, if Bm -L e and Z e+1 -(B m -L e ) minus any one of A1 to A a The absolute value of is greater than D, then B m -L e and Z e+1 -(B m -L e ) are all Y m ;
[0037] S6, if any G1~G n If the value does not meet the conditions in S5, it is necessary to adjust G1~G n Repeat step S5 until all the values are qualified;
[0038] S7, according to the Y value and G1 ~ G n The value of is used for nesting.
[0039] That is, steps S1 to S4 are all for inputting basic data. In practical applications, the following four tables are used:
[0040] Table 1:
[0041]
[0042] Table 2:
[0043]
[0044] Table 3:
[0045]
[0046]
[0047] Table 4:
[0048]
[0049] According to the data in the above table, take the mth raw material pipe as an example, if 0 m -L e <Z e+1 , where L e Represents the cumulative value of any serpentine tube segment, Z e+1 represents the next straight section of the serpentine tube segment, then the splicing point Y of the mth raw material tube is m In the straight segment Z e+1 On, if B m -L e and Z e+1 -(B m -Le ) minus any one of A1 to A a The absolute value of is greater than D, then B m -L e and Z e+1 -(B m -L e ) are all Y m B m -L e Y is the splicing point m1 , Z e+1 -(B m -L e ) is the splicing point Y m2 ; If any G1~G n If the value does not meet the above conditions, it is necessary to adjust G1~G n Repeat the above calculation steps until all the values are qualified, and calculate the G1-G that meet the conditions. n .
[0050] When the serpentine tube is made up of many bent tubes, all the splicing points Y are calculated to generate a serpentine tube splicing diagram to guide the bending process of each raw material tube.
[0051] The serpentine tubes are first assembled into a whole, and then G1~G n The pipe length is input into the turning machine of the serpentine pipe automatic line, and the turning machine adjusts the pipe length according to G1~G n Automatic material turning.
[0052] The present invention reduces the errors caused by large and complex calculations through systematic steps and clear calculation logic, while ensuring the accuracy and reliability of the calculations. A serpentine pipe splicing diagram can be generated based on the calculated splicing points, which can intuitively guide the bending process of each raw material pipe, further improving the manufacturing accuracy. The algorithm also finds the optimal raw material combination by accurately calculating the splicing points and the length of the raw material pipe, ensuring the effective use of raw materials, thereby minimizing the waste of raw materials.
[0053] In one embodiment, if L e m <L e+1 , then the splicing point Y of the mth raw material pipe m In Z e+1 When judging and accurately calculating the joint points of each raw material pipe, we can first use this interval to make a preliminary judgment on the length of the raw material pipe, and then make further accurate calculations on the raw material pipes that meet this condition. That is, the calculation of this step can provide a clear direction and range for our subsequent accurate calculation and optimization, reducing trial and error costs and repeated work.
[0054] In one embodiment, if B m -L e ≥Z e+1 , then the splicing point Y m In H e+1 At the elbow, G1~G n Repeat step S5 according to the value of
[0055] In one embodiment, the D value is determined by the boiler pressure and the number of raw material pipes. That is, the higher the boiler pressure is, the larger the D value is. For example, the D value of the export boiler should be larger. When the number of raw material pipes is large, the cumulative error of the length of the raw material pipes is large, and the D value should be larger. The purpose is to prevent the cumulative error of the pipe length from causing the welding head to be in a position where splicing is not allowed. In actual application, generally speaking, the pipe clamp is 100mm on each side, and 200mm or 250mm is filled in; the upper line is 200mm on each side, and 300mm or more is filled in; the machine bend is filled in 200mm or 250mm.
[0056] In one embodiment, a worksheet is constructed with the values in steps S1 to S4, the worksheet includes a number column, a serpentine tube straight section named as column Z, a serpentine tube arc length named as column H, a raw material tube length named as column G, a tube clamp position on the serpentine tube named as column A, and a minimum distance from the actual splicing point to the non-splicing position named as column D; that is, in actual applications, the above data can be made into an Excel worksheet.
[0057] A functional relationship is established between the Z column and the H column to form a column L of accumulated values of serpentine tube segments; in an embodiment, each segment of the serpentine tube may also include a material shrinkage amount, that is, the length of each segment of the serpentine tube is equal to the straight segment of this segment of the serpentine tube plus the arc length minus the shrinkage amount. When applied in a worksheet, an additive functional relationship can be established for each row of the Z column and the H column to calculate the length of each segment of the serpentine tube to form a length transition column, and then an additive functional relationship is established for the length transition columns of two adjacent rows in turn to form a column L of accumulated values of serpentine tube segments.
[0058] A functional relationship is established for column G to form column B, which is the cumulative value of the length of the raw material pipe; that is, an addition functional relationship is established for two adjacent rows in column G to form column B, which is the cumulative value of the length of the raw material pipe.
[0059] Establish a functional relationship between columns Z, L, and B to satisfy 0 m -L e <Z e+1 The conditions form the splicing point Y column; when applied in the table, it is to subtract the values of any row in column B from the values of each row in column L to form a difference transition column (not shown in the figure), and then establish an IF function for the difference transition column to determine the relationship between each row of the difference transition column and zero, and at the same time, establish an IF function for the difference transition column to determine the relationship between each row of the difference transition column and the Z value in the next row.
[0060] In this embodiment, the splicing point Y values of each row are set to have four, that is, the splicing point Y column includes four columns, namely, the splicing column 1, the splicing column 2, the splicing column 3 and the splicing column 4. When the values of any row in the difference transition column satisfy the two IF function relationships at the same time, the difference is the corresponding first Y value, which is mapped to the splicing column 1 of the next row corresponding to the difference row. The splicing column 4 value of the row is obtained by subtracting the splicing column 1 value of the same row from the Z column value of the same row, which is the second Y value. At the same time, when the value of the splicing column 1 is 0, the value of the splicing column 4 of the row is the value of the Z column of the straight section of the serpentine pipe in the row.
[0061] A functional relationship is established between the Y column, A column, and D column to form a status column, which is used to determine whether the value in the G column is qualified. An IF function can be established to determine whether the values in the first, second, third, and fourth columns meet the requirements. The judgment result is mapped to the status column, thereby determining whether the value in the G column of the row is qualified.
[0062] Example 1: Input the data into the corresponding position of the worksheet according to the drawing. For example, D=200, A1=1000, Z1=8368, Z2=7177, Z3=7177......
[0063] Then the worksheet automatically calculates the length of each segment and the cumulative value of each segment through the function: L1 = 8527, L2 = 16209, L3 = 23545......
[0064] The staff then enters the data of the existing raw material pipes into column G, and then the worksheet can calculate the corresponding splicing points and map them to column Y.
[0065] For example: G1 = 12000, G2 = 5995......
[0066] The worksheet automatically calculates the cumulative value of raw material pipes through functions: B1 = 12000, B2 = 17995......
[0067] The worksheet determines the relationship between B1-L1, B1-L2, etc. and zero based on the function and the relationship between the Z value of the straight section of the serpentine tube in the corresponding next row.
[0068] That is L1 <B1<L2,L2<B2<L3,
[0069] Therefore, the splicing point of the first raw material pipe is on the straight section or arc of the second serpentine pipe, and the splicing point of the second raw material pipe is on the straight section or arc of the third serpentine pipe.
[0070] B1 - L1 = 3473 < Z2 = 7177, so Y 11 = 3473, Y 12 = 7177 - 3473 = 3704,
[0071] B2 - L2 = 1786 < Z3 = 7177, so Y 21 = 1786, Y 22 = 7177 - 1786 = 5391,
[0072] From this, it can be obtained that the splicing point Y of the first raw material pipe 11 = 3473, Y 12 = 3704, and the splicing point Y of the second raw material pipe 21 = 1786, Y 22 = 5391.
[0073] Y 11 The value is mapped to the first column of the next row corresponding to the B1 value, and the value of Y 12 is mapped to the fourth column of the next row corresponding to the B1 value, and the value of Y 21 is mapped to the first column of the next row corresponding to the B2 value, and the value of Y 22 is mapped to the fourth column of the next row corresponding to the B2 value.
[0074] The worksheet determines through functions that 3473 - 1000 > 200, 3704 - 1000 > 200, 1786 - 1000 > 200, 5391 - 1000 > 200. Therefore, the above G values are all qualified, and the worksheet maps the qualified status to the corresponding status column.
[0075] Subsequent raw material pipes are input into the worksheet in the same way, and the corresponding splicing points and whether the splicing points are qualified can be calculated. By enabling the worksheet of the computer to automatically calculate the nesting size position of the serpentine pipe, the purpose of liberating manual calculation can be achieved, improving efficiency and reducing the error rate.
[0076] In other embodiments, when multiple Y values formed by differences in multiple different rows are mapped to the same row, these Y values form a difference alternative row (not shown in the figure). An LARGE function is established for this difference alternative row, such that the largest difference is mapped to the same column, that is, the difference corresponding to the row above this row is the value of the same column, and the value of the fourth column of this row is obtained by subtracting the value of the same column of this row from the Z column value of the same row. At the same time, an IF function nested with an OR function, an LARGE function, a COUNTIF function, and a MAX function is established for this difference alternative row for screening to map multiple Y values to the second or third column in sequence. That is, the values from the first column to the third column are all calculated through B m -L e Calculated. The order in which multiple Y values are mapped to the first column to the third column is that the Y value calculated later is located in the column before the previous calculated Y value, and the last calculated Y value is mapped to the first column. That is, multiple splicing points calculated in the order of B1 to B n Are filled into the Y column (the first column to the third column) in the order of B n ~B1 (in reverse order). The value of the fourth column is the length of the straight section of the serpentine tube of this row minus the value of the first column of this row.
[0077] Embodiment 2: Z1 = 91, Z2 = 581, Z3 = 227, Z4 = 6167, Z5 = 6350......
[0078] L1 = 120, L2 = 710, L3 = 946, L4 = 7288, L5 = 13813......
[0079] G1 = 2600, G2 = 1025......
[0080] B1 = 2600, B2 = 3625......
[0081] That is, L3 < B1 < L4, L3 < B2 < L4,
[0082] B1 - L3 = 1654 < Z4 = 6167, so Y 11 = 1654,
[0083] B2 - L3 = 2679 < Z4 = 6167, so Y 21 = 2679, Y 22 = 6167 - 2679 = 3488,
[0084] Y 21 = 2679 is mapped to the first column of the same row as Z4, Y 11 = 1654 is mapped to the second column of the same row as Z4, Y 22 = 3488 is mapped to the fourth column of the same row as Z4.
[0085] In addition, although Y 11 = 1654 does not meet the condition that the absolute value of the difference from any one of A1 to A a is greater than D, the status bar shows non-compliance. However, in actual production, in order to reduce costs, when an error is reported, manual review can be accepted and it can still be used.
[0086] In one embodiment, if the absolute value of the difference between any Y value in the same row and any one of A1 to A a is greater than the D value, the status bar of that row shows the number "0"; otherwise, the status bar of that row shows the Chinese character "挨" (ái) and is marked in red to indicate that the Y value of that row is unqualified. In this embodiment, an IF function is established to sequentially determine whether the absolute value of the difference between the values in the first, second, third, and fourth columns of any row and any one of A1 to A a is greater than the D value. If all the values in the first, second, third, and fourth columns of any row meet the requirements, the status bar of that row shows the number "0" indicating that the Y value of that row is qualified; if there is one value in that row that does not meet the requirements, the status bar of that row shows the Chinese character "挨" (ái) and is marked in red to indicate that the Y value of that row is unqualified.
[0087] In one embodiment, a functional relationship is established between the last row of column L and the last row of column B to form a remaining material column, which is convenient for staff to judge the relationship between the length of the raw material pipe and the total length of the serpentine pipe, so as to adjust the use of the raw material pipe.
[0088] Through systematic steps and clear calculation logic, the present invention reduces errors caused by a large number of complex calculations, and at the same time ensures the accuracy and reliability of the calculations. According to the calculated splicing points, a splicing diagram of the serpentine pipe can be generated, which can visually guide the bending process of each raw material pipe, further improving the manufacturing accuracy. This algorithm also finds the optimal combination of raw materials by accurately calculating the splicing points and the lengths of the raw material pipes, ensuring the effective utilization of the raw materials, and thus minimizing the waste of raw materials to the greatest extent.
[0089] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An algorithm for serpentine tube sleeve material, characterized in that: The following steps are involved: S1. Divide each section of the serpentine tube into straight sections and arc lengths and sort them and name them Z i and H j , where i∈[1,u+1], j∈[1,u], the clamp position on the serpentine tube is the distance from the position that cannot be spliced to the starting point of the bend, and they are sorted and named A1~A a , sort the lengths of the raw material pipes and name them G1 to G n ; S2, the minimum distance from the actual splicing point to the position that cannot be spliced is named D; S2. Name the accumulated value of the serpentine tube segment as L e , where e∈[1,u+1]; S4, the length of the raw material pipe is cumulatively named B1~B n ; S5. Name the multiple joint points on the raw material pipe as Y. If 0 m -L e <Z e+1 , where m represents the mth raw material pipe, then the splicing point Y of the mth raw material pipe is m In the straight segment Z e+1 At the same time, if B m -L e and Z e+1 -(B m -L e ) minus any one of A1 to A a The absolute value of is greater than D, then B m -L e and Z e+1 -(B m -L e ) are all Y m ; S6, if any G1~G n If the value does not meet the conditions in S5, it is necessary to adjust G1~G n Repeat step S5 until all the values are qualified; S7, according to the Y value and G1 ~ G n The value of is used for nesting.
2. The algorithm of a serpentine tube sleeve material according to claim 1, characterized in that: If L e m <L e+1 , then the splicing point Y of the mth raw material pipe m In Z e+1 on straight segments and / or arcs. 3. The algorithm of a serpentine tube sleeve material according to claim 2, characterized in that: If B m -L e ≥Z e+1 , then the splicing point Y m In H e+1 At the elbow, G1~G n Repeat step S5 according to the value of 4. The algorithm of the serpentine tube sleeve material according to claim 3 is characterized in that: The D value is determined by the boiler pressure and the quantity of raw material pipes.
5. The algorithm of the serpentine tube sleeve material according to claim 3 is characterized in that: Construct a worksheet with the values in steps S1 to S4, the worksheet including a number column, a serpentine tube straight section named as column Z, a serpentine tube arc length named as column H, a raw material tube length named as column G, a tube clamp position on the serpentine tube named as column A, and a minimum distance from the actual splicing point to the non-splicing position named as column D; Establish a functional relationship between the Z column and the H column to form the L column of serpentine tube segmented cumulative values; Establish a functional relationship for column G to form the length of the raw material pipe and the cumulative value of column B in sequence; Establish a functional relationship between columns Z, L, and B to satisfy 0 m -L e <Z e+1 The conditions form the splice point Y column; A functional relationship is established among columns Y, A, and D to form a status column, which is used to determine whether the value in column G is qualified.
6. The algorithm of the serpentine tube sleeve material according to claim 4, characterized in that: If the absolute value of the subtraction of any Y value in the same row from any of A1 to A a is greater than the D value, the status bar of this row displays the number "0", indicating that the Y value of this row is qualified; otherwise, the status bar of this row displays the Chinese character "挨" and is marked in red, indicating that the Y value of this row is unqualified.
7. The algorithm for the serpentine tube sleeve material according to claim 4 is characterized in that: Establish a functional relationship between the last row of column L and the last row of column B to form a remainder column.