Abstract

Pipe routing and clamp layout for aeroengine are NP-hard computational problems and complex engineering design processes. Besides space constraints and engineering rules, there are assembly constraints between pipes and clamps, which usually lead to repeatedly modifications between pipe routing and clamp layout designs. In order to solve the problems of assembly constraints and design coupling between them, an integrated optimization method for pipe routing and clamp layout is proposed. To this end, the MOALO (multiobjective ant lion optimizer) algorithm is modified by introducing the levy flight strategy to improve the global search performance and convergence speed, and it is further used as a basic computation tool. The integrated optimization method takes pipe and clamp as a whole system and then solves the Pareto solution set of pipe-clamp layouts by using improved MOALO, where the pipe path, clamp position, and rotation angle are selected as decision variables and are further optimized. Inspired by engineering experience, a clamp-based pipe path mechanism considering regular nodes is established to deal with assembly constraint problem. The proposed method comprehensively considers engineering rules of pipe routing and clamp layout and realizes the overall layout optimization of pipe-clamp system while guaranteeing the assembly constraints between pipes and clamps. Finally, some numerical computations and routing examples are conducted to demonstrate the feasibility and effectiveness of the proposed method.

1. Introduction

The pipe system of aeroengine consists of a series of pipes fixed by clamps. As an important part of aeroengine, the quality and efficiency of pipe routing design have an important impact on the reliability and design cycle of the whole product. In the aspect of automatic pipe routing design, many scholars have carried out extensive research and put forward a series of optimization algorithms for automatic pipe routing, such as maze algorithm [1], heuristic algorithm [2, 3], algorithm [4], graph-based routing algorithms [5], branch pipe routing based on local twice learning probabilistic roadmap method (LTL-PRM) [6], and routing method based on intelligent optimization [714]. With the development of multiobjective optimization algorithm, some scholars began to explore the Pareto solution method of multiobjective pipe routing in recent years. Sui and others proposed an improved NSGA-II algorithm to find the best ship pipe [15]. Based on Kriging model and NSGA-II algorithm, Liu proposed a multiobjective pipe routing method with pipe length, smoothness, and natural frequency as optimization objectives [16]. Ahmed and others applied the NSGA-II algorithm to study the multiobjective path planning problem in two-dimensional (2D) space [17]. However, pipe routing involves a series of optimization objectives and constraints such as space and rules; the efficient routing algorithm and system still remain an open area.

In a pipe system, the clamp plays a supporting and fixing role on the pipe and has an important impact on the vibration performance and stability of the pipe. It is one of the important research directions to optimize the vibration performance of pipes by adjusting the position of clamps. Many references provide useful exploration for the arrangement of clamps [1822]. Due to the assembly constraint relationship between pipes and clamps, pipe routing and the clamp layout design further affect each other. Most existing research on pipe routing and clamp layout are performed independently, and the assembly constraints and design coupling relationship between them are rarely considered, which often leads to repeated modifications.

The pipe routing design is a classic 3D path planning problem with spatial constraints, which is a NP-hard computational problem. On the other hand, clamp layout is a optimization problem that needs to determine its installation location, which can be formulated as a classical location problem; in addition, it needs to determine its rotation angle, which is a pose optimization problem. Due to the assembly constraints between pipes and clamps, pipe routing and clamp layout designs are coupled with each other, which makes the design be more complex and leads to repeated modifications.

To deal with the coupling relationship between pipe routing and clamp layout, this paper treats them as a whole to optimize. The study is aimed at presenting a routing method that automatically generates pipe routing while considering clamp constraints, with respect to a series of engineering rules. The reminder of this paper is arranged as follows. Section 2 gives the problem description, engineering rules, and space modeling method. Section 3 proposed an improved MOALO by introducing levy flight strategy, which is further used to solve the pipe-clamp layout problem. Section 4 presents a multiobjective routing method to seek the optimal pipe and clamp layouts simultaneously by using improved MOALO, where the clamp-based pipe path mode, individual encoding design, objective function computations, constraints processing, routing system, and algorithm flowchart are discussed in detail. Section 5 performs some routing examples. Section 6 finally concludes this paper.

2. Problem Description and Spatial Modeling

2.1. Optimization Objectives and Constraints of Pipe Routing

As the core part of pipe system design, pipe routing mainly considers but is not limited to the following objectives and constraints:

Objective 1: the total length of pipe should be as short as possible.

Objective 2: the pipe path should be as smooth as possible to reduce flow resistance.

Constraint 1: the pipe should avoid obstacles and some specific areas.

Constraint 2: the pipe should bypass the accessories to avoid crossing.

Constraint 3: the bending angle of pipe should not be less than 90.

Constraint 4: the pipe should be arranged close to the casing surface to obtain better vibration and save space.

Constraint 5: the bending radius should match the pipe diameter.

Constraint 6: minimum length requirement of pipe straight section to meet manufacturability requirement.

2.2. Optimization Objectives and Constraints of Clamp Layout

The clamp is an important part of the aeroengine pipe system, which usually includes three types: the clamp based on mounting, the clamp based on mounting edge, and double-clamp, which plays a supporting and stabilizing role on the pipe. The type, size, and shape of the clamp are relatively fixed (although its supporting parts such as mounting base and bracket allow a certain range of size changes), which is different from the free configuration of the pipe. Figure 1 shows a simplified CAD simulation model of the clamp based on the mounting.

In terms of clamp arrangement, the following constraints are mainly considered:

Constraint 1: the clamp must be arranged in the designated area.

Constraint 2: according to engineering design experience, if the pipe exceeds a certain length , clamps should be installed to fix the pipe to improve the stability and vibration performance.

Constraint 3: the casing-clamp-pipe should conform to the assembly constraint relationship.

2.3. Coupling Relationship between Pipe Routing and Clamp Layout

The design process of pipe routing and clamp layout influence each other. Generally, the clamp should be arranged first, and then, the pipe should be designed based on the clamp. Due to the clamp can only be arranged in the designated area, and the shape and size of the clamp are relatively fixed, it is difficult to ensure that the clamp-pipe-casing meets the assembly constraints if the pipe is routed first. Obviously, the position of the clamp has an intuitive and important impact on the pipe path under the pipe routing based on the clamp. At the same time, when arranging the clamps, it is necessary to predict the general direction of the pipe in advance, so as to make the layout of the clamps in the best position, that is, the pipe direction also has an impact on the layout of the clamps.

Therefore, the pipe and clamp have assembly constraints, they interact with each other in design, and they have coupling relationship. Designers often need to modify many times according to experience to complete decoupling optimization.

2.4. Routing Space and Preprocessing

A series of space constraints are included in the aeroengine. Figure 2 shows the simplified CAD model of aeroengine pipe routing simulation. In the aspect of generatrix equation, Siemens/GRIP secondary development program can be used to extract some coordinate points on a certain generatrix on the casing surface, and then, the least square method is used to fit them. In terms of spatial geometry information and accessory obstacles, the grid method can be used to scan, and the convex hull model can be used to model and express the obstacle in MATLAB (as shown in Figure 3). This geometric information will be stored as input information of the algorithm.

3. Improved Multiobjective Ant Lion Optimizer (IMOALO)

3.1. MOALO Algorithm

The multiobjective ant lion optimizer [23] is a multiobjective version of ALO algorithm [24]. In order to mimic and model the interaction between ant lion and ant in the trap, ants are required to move over the search space, and antlions are allowed to hunt them and become fitter using traps. Since ants move stochastically in nature when searching for food, the mathematical expression of movement as follows: where is the cumulative sum, is the maximum number of iterations, is the current number of iterations, and is a stochastic function, which can be expressed by Equation (2).

Since each search space has a boundary (variable range), Equation (1) cannot be directly used to update the position of ants. In order to keep the random walks in the search space, the following equation is used to normalize them: where and represent the upper and lower bounds of the th variable, respectively; and represent the upper and lower bounds of the th variable at th iteration, which can be represented by Equation (4) and Equation (5): where is the position of the th ant lion at th iteration and and are the upper and lower bounds of all variables at th iteration, respectively, which can be represented by Equation (6) and Equation (7): where is the current iteration, is the largest iteration, and is a constant determined by and .

The best ant lion is selected as the elite ant lion, and the roulette selection ant lion is used to guide the ant position update; it can be expressed as follows:

The next step is to update the archive and deal with the situation of exceeding the archive capacity. The archive is the Pareto optimal solution set, which stores the ant’s position and fitness value in the Pareto optimal solution set. The archive needs to be updated after each update of ant’s position and fitness value in the iteration process. When archive is full, the solutions with most populated neighborhood are removed from the archive to accommodate new solutions. The probability of removal is expressed as follows:

If the ant falls to the bottom of the trap and is caught by the ant lion, the individual will be regarded as a new ant lion to rebuild the trap if the population contains an individual with higher fitness than the ant lion; it can be defined by Equation (10): where is the random walk around the antlion selected by the roulette wheel at th iteration, is the random walk around the elite at th iteration, and indicates the position of th ant at th iteration.

3.2. Improved MOALO Algorithm

In this section, we proposed an improved version of the MOALO algorithm (IMOALO) using levy flight. Levy flight strategy is used in PSO algorithm [25], which can prevent the decrease of population diversity and has good global search ability. Therefore, the combination of levy flight strategy and MOALO can effectively prevent it from falling into local optimum. The calculation formula of the step length of Mantegna’s algorithm simulating Levy flight is as follows: where is referred to as Levy index, where and are drawn from normal distributions, the definition are as follows: where where is the gamma function, then the step size is calculated by

Here, scale is an adjustable factor, which can be adjusted according to different problems or iteration process, so as to avoid flying step too large or too small and try to keep in an appropriate range for efficient search.

Therefore, the population renewal formula with levy flight is as follows: where is a random number between [0, 1].

The pseudocodes of the improved MOALO algorithm 1 is as follows.

Initial parameters of MOALO
Initial the primary population of ants
While the end condition is not met
Determine the new population size using Eq. (15)
If
Calculate the position of new members using elitism.
Else
Remove the failed members from the population.
End
For every ant
Select a random antlion from the archive
Select the elite using the roulette wheel from the archive
Create a random walk and normalize it
Update the position of ants
End for
Calculate the objective values of all ants
Update the archive
If the archive is full
Delete some solutions using the roulette wheel from the archive to accommodate new solutions.
End
End while
Return archive

4. Integrated Optimization of Pipe Routing and Clamp Layout Based on Improved MOALO

4.1. Clamp-Based Path Mode and Clamp Coordinate Transform

Due to the existence of assembly constraints between pipe and clamp, inspired by engineering and expert experience, this paper proposes to establish a routing path model based on clamp constraint. As shown in Figure 4, the pipe path nodes () are composed of the extension point of the pipe connector and the extension point of the axis in the clamp. In order to make the pipe path mode have stronger ability of obstacle avoidance, the regular nodes () can be inserted between the path nodes. In order to reduce the search space, the regular nodes are set in a certain distance from the casing surface.

Obviously, the path node is based on the design mode of clamp layout. Its advantage is that it can ensure that the clamp and the pipe meet the assembly constraint relationship and can be fixed on the clamp base accurately. At the same time, it can provide support for solving the coupling problem of pipe routing and clamp layout design.

In addition, considering the machinability and reducing the flow resistance of the pipe, arc processing is carried out at the bending position of the pipe, as shown in Figure 5, where point is the center coordinate of the arc; is the bending radius, and it has certain empirical mapping relationship with the pipe diameter.

This paper takes the clamp based on the mounting for example. Since the clamp needs to be fixed on the surface of the casing, the normal direction of the clamp base changes with the position of the mounting point. In order to calculate the clamp position, a relative coordinate system is constructed, where are unit vectors that satisfy the right-handed relationship, is the origin point, is the axis direction of the clamp base. The geometric coordinates of the clamp are calculated in this coordinate system. Finally, the coordinates are transformed into the absolute coordinate system by affine transformation.

Suppose and are the coordinates of a point in and , respectively, the relationship between them can be expressed by affine transformation in Equation (16): where matrix is the transition matrix, which satisfies:

4.2. Individual Encoding Design

The decision variables of pipe routing and clamp layout are coded as a whole and adopts fixed length coding to facilitate the design and implementation of the algorithm. In practical application, the number of clamps is 0-2. As shown in Figure 6, it takes the clamp position coordinate (), clamp rotation angle (), and extension length at both ends of the clamp point () as codes. At the same time, the regular nodes of the path are coded. In summary, the specific coding forms are as follows in Figure 7.

It should be noted that since the center point of the clamp base is located on the surface of the casing, and the surface equation of the casing can be obtained in 2.4, the two-dimensional coding of the center point of the clamp base can describe its three-dimensional position. Furthermore, the normal direction of the clamp base can be solved by the space geometry method and the surface equation of the casing. In order to calculate the regular node, according to the coding information to get the point coordinate of the casing surface first, and then, a distance is extended from the normal direction of the point, which is the coordinates of the regular nodes.

4.3. Objective Functions and Constraint Processing

This paper takes pipe length and pipe smoothness (bend angle) as optimization objectives. and can be calculated by Equations (18) and (19). where is the number of nodes in the path; is the node coordinate of the path; ,.

It should be noted that the objective functions will be converted into a minimum value for calculation, so formula (14) is the complementary angle of pipe angle.

For pipe routing constraints (1-3), penalty function method is used to deal with it; for pipe constraint (4), the algorithm solves the problem by limiting the distance between regular node and casing surface; for pipe constraint (5), the corresponding table of pipe diameter and bending radius will be established to solve it.

For the clamp layout constraint (1), it will be limited in the designed area during the population initialization. If the clamp deviates from the designed area in the iteration process, the algorithm will automatically adjust its position; for the clamp constraint (2), penalty function method is used to deal with it; for the clamp constraint (3), the “clamp-based path mode” established in 4.1 is adopted to solve it.

Considering the above factors, the objective functions considering the penalty term can be expressed using Equations (20) and (21). where and are the punishment terms corresponding to the pipe routing and the clamp layout, respectively, which are larger positive numbers; and are the coefficient of penalty term, and the value is 1 when the penalty is generated; otherwise, it is 0.

4.4. Routing System and Algorithm Flowchart

The routing system is constructed by using customized developments of MATLAB and Siemens NX systems, where data are transferred among these systems via TXT plain data files. More specially, in the aspect of modeling and preprocessing of routing model, the grid information of CAD model is extracted by the secondary development tool of Siemens/GRIP, and the TXT text is used as the input of algorithm. In order to speed up the operation, the TXT text data is converted to MAT format in MATLAB. In terms of routing algorithm, it is programmed in MATLAB platform to automatically calculate the pipe-clamp layouts, and the calculation results are saved as TXT text. Finally, the calculation results are returned to Siemens NX through GRIP secondary development program to realize the visualization of layout results. The overall flowchart of the presented routing optimization method is shown in Figure 8.

5. Numerical Computations and Routing Examples

5.1. Numerical Computation

The improved MOALO algorithm is tested and compared with the well-regarded multiobjective algorithm MOPSO and standard MOALO. The test functions are commonly used ZDT1~ZDT4, and GD (Generational Distance) is used as the metrics to measure the advantages and disadvantages of the two algorithms. Each algorithm runs 20 times, and the average value, variance, optimal value, and worst value of GD are calculated. The comparison data are shown in Table 1.

It can be seen from the above table that, as far as these test functions are concerned, the average value, variance, optimal value, and worst value of MOALO are better than MOPSO and standard MOALO. Therefore, this paper used the improved MOALO algorithm to optimize the layout of aeroengine pipes and clamps.

5.2. Routing Examples

The pipe routing and clamp layout algorithm is implemented on computer (Intel(R) CPU i7-6700 @3.40 GHz, 8 GB RAM), with customized developments of MATLAB and Siemens NX systems.

In this paper, the layout of pipes and clamps are optimized by using IMOALO, MOALO, and MOPSO under the same conditions. The parameters of IMOALO and MOALO are set as follows: , , and the . The parameters of MOPSO are set as follows: , , , , , and . Figure 9 shows the distribution of representative Pareto solutions of the three algorithms.

It can be seen from the figure above that the solution effect of IMOALO is better than MOALO and MOPSO according the Pareto optimal front. The eight Pareto solutions of IMOALO satisfy the constraint conditions and are evenly distributed in the target space. Taking one clamp as example, the routing results of three representative nondominated solutions on a simplified routing model are shown in Figure 10.

The above results show that the method can obtain collision-free pipe paths and appropriate clamp layouts while meeting certain engineering rules. In addition, pipe, clamp, and casing satisfied the assembly constraints as well. The obtained nondominated solutions provide designers with a variety of choices to meet the preferences and experience in engineering practice. Compared with existing pipe routing methods, such as [16, 26], the presented method not only solves the pipe routing but also solves the clamp layout problems.

Finally, in order to further verify the engineering application value of the algorithm, this paper optimizes the layout of 16 pipes in sequence (as shown in Figure 11). After the optimization of each pipe is completed, the algorithm automatically performs obstacle processing on it. The total running time is about 86.72 seconds, averaging about 5.42 seconds for routing one pipe.

6. Conclusion

In this paper, the design coupling and assembly constraint relationship between pipe routing and clamp layout are discussed, and a pipe routing method considering clamp constraints is presented by using improved MOALO. In particular, a clamp-based path mode is established, where the posture transformation calculation of clamp model is further given by using affine transformation method. The individual encoding, objective functions, and constraint processing method are given in detail.

Compared with the traditional pipe routing methods, the presented routing method comprehensively considers the relevant engineering rules of pipe routing and clamp layout and realizes the integrated optimization and automatic calculation of pipe path, clamp geometric position, and spatial posture parameters. The final routing examples demonstrate the presented routing method. In terms of considering the clamp layouts, the vibration performance is primarily considered from the perspective of geometric layout based on expert experience. Further study should be on extending the routing method to consider the pipe natural frequency and other types of clamps.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Acknowledgments

This study was supported in part by Major Basic Research Projects of Aeroengine and Gas Turbine (No. J2019-I-0008-0008) and Key Projects of Liaoning Provincial Natural Science Foundation (No. 20170540589).