Strojniski vestnik - Journal of Mechanical Engineering 57(2011)4, 304-312 D01:10.5545/sv-jme.2008.029 Paper received: 12.03.2008 Paper accepted: 14.01.2011 Optimization of Trapezoidal Cross Section of the Truck Crane Boom by Lagrange's Multipliers and by Differential Evolution Algorithm (DE) Milomir M. Gasic - Mile M. Savkovic* - Radovan R. Bulatovic Faculty of Mechanical Engineering Kraljevo, University of Kragujevac, Serbia The cross sections of truck crane booms are complex box-like cross sections, which should provide continuous stress allocation. It is difficult to analytically determine optimal relations among geometric parameters of such cross sections. The paper deals with the method for determining relations among geometric parameters in order to achieve the optimal shape of the cross section. The method is based on Lagrange's multipliers used for determination of extreme values. The optimisation of geometric parameters has also been done with the method of differential evolution (DE). The optimisation of the cross section is based on the strength criterion. The results of the applied methods have been verified by means of numerical example for an existing solution. The comparative analysis of the results of both methods has also been done. ©2011 Journal of Mechanical Engineering. All rights reserved. Keywords: trapezoidal cross section, truck crane, boom, Lagrange's multipliers, differential evolution algorithm 0 INTRODUCTION The world's truck crane manufacturers have been giving significance to the design of the truck crane booms having box-like cross sections, which increase bending and torsion stiffness, and decrease the weight. Since the technology of box-like girders has been enhanced, the classic rectangular cross sections have been replaced with more complex polygonal ones [1] to [8]. The box-like girders are made of sheet metal of various thicknesses because of optimisation and material saving. Papers [1] and [9], which deal with the telescopic truck crane booms, have proved that there are some local peaks of stress at the areas where the members are in contact, so the cross sections must be made of thicker sheets at contact areas. These stress peaks are rather noticeable when the boom segments are on maximum reach [9]. Both local stresses and the stresses at the polygonal cross sections are smaller at the areas where external load is transmitted from one segment to another [1] and [9]. The research of the optimal parameters of trapezoidal cross section (Fig. 1) has been done by two methods. The results of the comparative analysis are also shown. The first method for cross section optimisation is based on Lagrange's multipliers [8] to [10]. This method provides optimal values of geometric parameters of the cross section in the explicit form and also their functional relations. The obtained relations of geometric parameters determine the minimal cross sectional area. The method is also suitable for forming the algorithms of the cross sectional area optimisation. The second method for cross section optimisation is based on the algorithm of differential evolution (DE). DE algorithm is efficient for solving optimisation problems where the objective function does not need to be continual in an area and where the values of design parameters do not need to be close to the initial values. Price and Storn [11] successfully applied DE algorithm during optimisation of certain well-known non-linear, non-differentiable and non-convex functions. The papers [12] to [16] give a detailed description of DE algorithm as well as its application to various optimisation problems. This paper proves that DE algorithm can be successfully applied to optimise the cross-sectional areas of the elements of supporting structures. 1 MATHEMATICAL FORMULATION OF OPTIMISATION PROBLEM The aim of the research is to define the geometric parameters of the cross section, as well as their relations, which will provide the minimum cross sectional area of the boom for defined load. The weight minimisation corresponds to the volume minimisation, i.e. to the cross sectional area minimisation, and it is determined from the condition that the stress at the appropriate cross section is less than or equal to the allowable stress. The allowable stress criterion only has been taken as boundary function AS it is typical for boom cranes [8] to [10]. The cross sectional area depends on the section height and width, sheet metal thickness, and relations among the parameters. If there are many optimisation parameters and if the optimisation of all parameters cannot be done, the dominant parameters need to be chosen. This is a general mathematical formulation of the above-defined optimisation problem: minimize fX), (1) subject to: gj(X) < 0, j = 1, ..., m, (2) where: fX) is the objective function, gj(X) < 0 represents the constraints defined by the search space, m is the total number of constraints. X = (xj, ..., xD}T is a design vector consisting of D design variables. The design variables are the values, which should be determined during the optimisation procedure. Each design variable is defined by its lower and upper boundaries. 2 OPTIMISATION DONE BY LAGRANGE'S MULTIPLIERS Generally, the truck crane boom is loaded by the longitudinal force N, the bending moments Mx, My, and the torsion moment T [1] to [9]. In order to determine the optimal values of geometric parameters by Lagrange's multipliers we started with the expression for cross-sectional area, which is selected for the objective function fX). Lagrange's function is defined as: 0(X) = fX) +Xg(X), where X is Lagrange's multiplier. (3) The following conditions need to be satisfied so the objective function has its minimum or maximum: d®(X ) dx, = 0, where i = 1,..., D. (4) Eq. (4) can be also written as: +amî)=o i=i.....d. dx, dx, (5) When the multiplier A is eliminated the equations that define the optimal values of parameters are obtained. 2.1 Objective Function and Boundary Function The optimisation of three parameters (H, B, b) is done for trapezoidal cross-section (Fig. 1). Other geometric parameters such as wall thicknesses t1, t2 and t3 are not treated in this method as optimisation parameters. Their values are taken according to manufacturers' recommendations and references [2], [5], [7] and [9]. Fig. 1. Trapezoidal cross section Below are the defined parameters: N axial force acting on the centre of the cross section, Mx and My bending moments for x and y axes, T torsion moment, o0 allowable stress of the basic boom material. The geometric parameters of the truck crane boom are: Wx and Wy resisting bending moments for x and y axes, Wt polar moment of resistance. The design parameters can be expressed in the form of design vector: X = (k, d, H)T Ô1 = 0.02 - 0.03, ö2 = 0.02 - 0.027, ö3 = 0.015 - 0.02. Conformably to the reference [17] the accepted values of these parameters are: S1 = 0.0273, S2 = 0.0221, S3 = 0.0175, (12) so the values of their ratio are: where: k = b, d = H. B B (6) The boundary function corresponds to the sum of normal and tangential stresses at the cross section [2]: gi (k, d, H ) = + 4 • f T, ^2 N Mx My — + —- + —- A Wx Wy . v x y J fr} v W J (7) -°0 = 0. Since the analysis of this problem includes the ratios between the sheet metal thicknesses and height [1], [5], [7] and [9]: öi = iL, s2 = — , S3 = iL, 1 H 2 H 3 H (8) the objective function, which stands for cross-section area, is: f (k,d,H ) = A = = H2 k s 5i * * f1 -k -d S2 + -f + Sj4 + 1 — (9) Tangential stresses are much smaller in comparison to normal stresses, so the member 4(T/Wt)2 of the boundary function, Eq. (7) can be ignored [3] to [10]: gi (k, d, H) = f t, ^2 N Mx My — + —- + —- A Wx Wy . v x y J (10) = a? -an2 = 0. The parameter values (8) of the trapezoidal cross section (Fig. 1) are within the following limits [5], [7] and [9]: S = 1.56, S = 1.26. S S (13) The accepted boundaries of defined parameters do not decrease the generality of the optimisation of the parameters H, B, b. The relation between the bending moments is defined in practice and references [2] to [9] as: My = yMx (14) where the value of y coefficient is within the limits [5], [7] and [9]: y = 0.4 to 0.75. The relation (14) can be expressed as: My = ^ y M (15) so the value of M coefficient is within the following boundaries: 1.3 to 2.5. Since the allowable stress depends on the used material, an arbitrary value of a0 = 100 MPa has been adopted, which does not affect the problem generality. 2.2 Optimisation of Geometric Parameters The objective function Eq. (9) is transformed into the following form: f (k, d, H ) = A = B2 +S1 +S2 k2 ] = B2 [R ] where: [R ] = d'S, +| ■ ( 1 - k S + (16) d2S3 +1 —- I S3 + Sl + S2k2 (17) The position of the centre of trapezoidal cross sectional area (Fig. 1) is expressed as: + 2 2 2 H yc = kS2 S3 d 2 4 + 1 - k ^ + k + s 4 + f ^ ! d d { d ) (18) The values of the moments of resistance for appropriate axes are: Wx (k, d, H ) = It f ».5-h )>+i 1 Wy (k, d, H ) = H3 k 3S2 S.. 6d2 6d2 (19) S (' - k >'f£Pj S (' + k >fiW " The expressions for moments of resistance (19) are not suitable for the application of Lagrange's multipliers. Thus, their approximation has been done providing that their accuracy is not reduced (the error at this approximation does not exceed the value of 5%). The simplified expression for the moment of resistance for x axis is: W'x (k,d,H) = Aha . (20) The graphic interpretation of the approximation can be seen in Fig. 2. Approximation coefficient value of a = 0.44 has been calculated from condition that the deviation between the values of the moments of resistance, stated in the Eqs. (19) and (20), does not exceed 5%. The expression for the moment of resistance for y axis can be also transformed into: W \ (k, d,H) = ßB3 1 + k d K + 2a 1 3 + 1 l—2k I + 5i +S2k2 = Iß ], where: S ]= — I S3 +1 —- I S3 + S, + S2k2 2a) 3 I 2 I 3 1 2 (22) ß= 2a = 0.: Fig. 2. Relation between the moments of resistance for x axis Considering the existing solutions of truck cranes, it has been noticed that the boom first segment height is not less than 300 mm. According to the above approximation, the boundary function (10) is: g=JL_ + Mx +_M__a = 0(23) 1 B2 [R] aB'd[R] aB3(l + k)[¿1] 0 In order to apply Lagrange's condition, it is necessary to differentiate the boundary function (23) and the objective function (16) with respect to the stated parameters, and then to find the following ratios: d gi d B df d B N 3M„ B4 [R] laB'd [R]2 3M aB5(i + k ) [Si ][R ]' 2 2 + + + diL d d df d d N Mx ([R] + 2d% ) B4 [R]2 2aB5dÔ3 [R]2 M (24) 2a3 B5(l + k ) [S ] d & d k df d k N M„ 54 [R ]2 5 d [R ]2 _ 2My [2 [5! ] + (1 + k) [ 2 - ¿>3 (1 - k)]] a2B5(1 + k)2 [5]2 [2 -¿3(1 -k)] ' Setting the first and second Eq. (24) equal to each other gives the following: d3 = M (1 + k ) 1 - k Y S s212 +k 2 S3 S3 (25) The following transformation can be done for defined parameter limits (11) and for defined optimization area (Fig. 3): \ 2 + ¿1 + . k 2 ¿3 ¿3 F = 1 - k 2 = 3 (i + k ). (26a) (26b) Fig. 3. Comparative values of F1 and F2 Fig. 3 shows that functions (26a) and (26b) have the same values within defined boundaries. Replacing Eqs. (26a) and (26b) into Eq. (25) and considering F1 = F2, the relation between parameters k and d is obtained: /4M„ fN2 d = -?/—(1 + k )2. If we equalize the first and third Eq. (24), by means of certain transformations, the following Eq. is obtained: [R ] __ C1 + k) [R] ,"[S ] (28) [4Ô2k + (k - 1)S3 ] 8a [S ] 8<53 ' Having (27) and ignoring the members of a very small value, Eq. (28) can be solved numerically. The solution, which is within the defining range of parameter k, is shown in Fig. 4. Fig. 4. Solution to Eq. (28) within the defining range Fig. 4 shows solutions of Eq. (28) only for the real world values of parameter k. Other solutions (k ^ 0, k > 0.8) are not considered because they are not of practical significance. If k ^ 1, the trapezoidal cross section becomes rectangular. If k < 0.4, the solution cannot be realized in practice. The trapeze height can be obtained from the boundary function (23) and relation (6), if the members of a very small value are ignored: h = 3 Mxd2 {2d [fl] + M(1 + k) [Si ]} 3 aM (1 + k) [S1 ][fl]o0 ' (29) 3 OPTIMISATION BY DE METHOD 3.1 Brief Description of DE Algorithm The DE algorithm is briefly described here, and the control parameters of the algorithm are also dealt with. A detailed description of DE algorithm can be seen in references [11] to [16]. DE is a simple, but still strong evolutionary algorithm used for realization of the global minimum in numerous real world optimisation problems. The DE algorithm has the following control parameters: the population size NP, the crossover constant CR and the mutation constant F. Coding of chromosomes with real numbers, i.e. presentation of chromosomes as vectors of real values, is used in numerical application of DE in optimisation processes. Generation of the initial population is performed stochastically. The population size NP is commonly ten times bigger than the number of design variables. At the beginning, each design variable is a random value which is found within the defined upper and lower boundaries. While defining the boundaries, attention should be paid to ensure that the values of design variables are not out of range which is really acceptable. The mutation constant in DE is a real parameter, which controls the increase of difference between two individuals in the search space. The difference between two randomly chosen vectors defines the magnitude and direction of mutation. When the difference is added to a randomly chosen vector, it becomes a mutant vector. The basic idea of DE is that mutation is self-adaptive in the search space and the current population. At the beginning of the optimisation process, the magnitude of mutation is large because the vectors in the population are far away from the search space. When the process starts to converge, the magnitude of mutation starts to decrease. The self-adaptive mutation in DE leads the solution of the optimisation process toward the global minimum [16]. There are some basic rules, which are defined in [14], for taking the best values for CR. High values are effective for all problems, but they are not always the fastest. The problems with heavy interaction between design variables generally require a high CR. However, if interaction between design variables is lower, a lower CR can be used, which results in obtaining a satisfactory solution with a smaller number of iterations (faster solution). According to reference [14], the values of control parameters are presented in Table 2. 3.2 Optimisation Done by DE Algorithm Design parameters can be expressed in the form of design vectorX = (k, d, ôj, ô2, ¿3, H). In addition to the variables k, d, H, which have been optimised by Lagrange's multipliers, the variables ôj, ô2 and ¿3, are also optimised. The objective function is: f (k, d ,8l,82,8î, H ) = A = = H2 k c S1 c —S 2 + —1 + 5, d d 3 4 J1 - k d (30) with the following boundaries: g1(k, d ,S1,S2,S3, H ) = \ N Mr My — + —- + —- A Wx Wy v x - J 100 < 0, h1(k, d ,S1,S2, S3, H ) = S1 -1.56<53 = 0, h2(k,d,S1,S2,S3,H) = S2 - 126S3 = 0. (31) The limit g1(k, d, Sl, S2, d3, H) results from (10) while the limits hj(k, d, d2, S3, H) and h2(k, d, £>j, 82, S3, H) result from (13). The boundaries of design variables 8X, d2, and d3 are defined by Eq. (11) and the boundaries of k, d, H are accepted according to references [5], [7] and [9]. Their upper and lower boundaries are shown in Table 1. Reference [14] proposes the constraints directly in the DE algorithm, which allow the values of design variables to remain within the mentioned boundaries during the whole optimisation process. The parameters related to DE algorithm are shown in Table 2. In Table 3 there are some final design variables for various accepted values M and Mx. On the basis of the final design variables, the values B, b, ae have been calculated as well as the numerical value of the objective function, i.e. the minimal trapezoidal cross sectional area of the truck crane boom has been obtained. Table 1. Initial values of design variables Boundary k d ¿2 ¿3 H [cm] Lower 0.4 1.2 0.02 0.02 0.015 60 Upper 0.8 2.2 0.03 0.027 0.02 90 2 Table 2. Parameters of DE algorithm NP (initial population) D (number of design variables) CR (crossover constant) F (mutation constant) itermax (maximum number of iterations) 60 6 0.5 0.5 1000 Table 3. Accepted, final and optimised values of design variables Accepted values M = 1.33 M 11 7 M = 2.5 M = 2.5 M 11 7 M = 2.5 Mx = 35000 [kNcm] Mx =40000 [kNcm] Mx =45000 [kNcm] Mx = 35000 [kNcm] Mx =45000 [kNcm] Mx =40000 [kNcm] Final values of design variables k 0.415 0.407 0.501 0.495 0.591 0.606 d 1.722 1.453 2.158 1.708 1.580 1.667 81 0.028 0.029 0.029 0.026 0.026 0.027 82 0.023 0.022 0.023 0.022 0.022 0.022 83 0.017 0.018 0.018 0.017 0.017 0.018 H [cm] 86.9 82.8 86.9 76.4 86.0 76.8 Number of iterations 27 22 13 34 26 39 Calculated values B [cm] 50.5 57.0 40.3 44.8 54.4 46.1 b [cm] 21.0 23.2 20.2 22.2 32.2 28.0 Amin [cm2] 428.3 425.2 412.9 352.1 441.1 356.0 oe [kN/cm2] 9.70 9.53 9.86 9.77 9.08 9.59 4 COMPARISON OF OBTAINED RESULTS Using Eqs. (9) and (29) the relation between the area and height of trapezoidal cross section as the function of external load and parameter M is obtained. The load values correspond to the load values of the truck cranes TD-16 made by [17]: IMK 14. oktobar - Krusevac and ADH-16 made by ILR - Belgrade. Using the data from Table 3, and the objective function (9), a comparative analysis of the obtained results of both methods (Fig. 5) can be made. However, the exact comparison of the methods is not possible because the number of considered parameters is different for the first and the second method. Analysing the obtained results (Fig. 5), it can be concluded that the results from both methods are in agreement, except for the case with values k = 0.6; Me 2 to 2.5 (Fig. 5c). In that case, the results obtained by DE method offer better solutions in terms of material saving. 5 CONCLUSION Both optimisation methods can be successfully applied to determine the relation between the geometric parameters of trapezoidal cross sections of the truck crane booms. The method of Lagrange's multipliers has advantages in defining the analytical form of the objective function, which is suitable for practical application. The achieved relations can be very useful for engineers, especially in the first phase of designing when facing the problems of defining the initial dimensions of the structure cross-sections, which should be close to the optimal ones. DE method does not provide dependence of the objective function in analytical form, but it does provide the use of a larger number of boundaries, a wider range of initial design variables and a larger number of solutions, which meet the boundaries defined. A \cm~ A [cm2 700 600 500 400 300 200 k 0.4 M 1.70 M 1.33 \ \ \M -2.5 r% I M 2.0 700 600 500 400 300 200 k 0.5 M 1.70 M 1.33 \ < ° % "(■■"""............""...... o , o > • .4/ 2.5 0 \M =2.0 20000 30000 40000 50000 aj Mx [kNcin] 20000 30000 40000 50000 fo j Mx [kNcra] A [cm 700 results obtained by Lagrange's multipliers -results obtained by DE methodM =2.5 gQ0 -results obtained by DE methodM =2.0 -results ob tained by DE method M 1.7 ^ ^^ -results obtained by DE method M~1.33 400 300 200 k- 0.6 M 1.70 : M- 1.33 S //g ■ x ■ k""' s : M 2.0 M --2.5 m S/ ♦ 0 0 20000 30000 40000 50000 cj Mx [kNcm] Fig. 5. Comparative illustration of the results of both methods a) parameter value k=0.4 b) parameter value k=0.5 c) parameter value k=0.6 DE method gives discrete values of the relation between some parameters as well as the minimal value of the objective function for defined load values. Apart from that, DE method has been applied in order to be compared to the first method. After comparing the results obtained by means of two considered methods, we can state that there is a significant agreement between them. However, better solutions can be obtained by DE method (Fig. 5), because six parameters have been considered, unlike the first method of Lagrange's multipliers by which three parameters have been considered within optimisation. If DE method is applied, solutions that are more accurate are reached for defined parameters k = 0.6,Me (2 to 2.5) (Fig. 5c). For defined values M e (1.33 to 2), k e (0.4 to 0.5) the agreement between the results is very good (Figs. 5a and b). Due to the fact that these ranges of values match with the real world ones, the method of Lagrange's multipliers can be successfully applied to the structure optimisation, especially in the first phase of design. However, cross-sections obtained should be further verified using other design criteria such as deflection of the boom structure and local stability of the metal sheets forming the trapezoidal cross-section. 6 REFERENCES [1] Andrienko, N.N., Hasilev, V.L. (1987). Bigger carrying capacity of auto cranes due to lower mass of the boom. Mechanical Engineering, vol. 5, p. 48-54. (in Russian) [2] Balovnev, V.I., Savellev, A.G., Moiseev, G.D. (1990). Calculation of dimensions by minimizing mass of building and mining machines. Construction and Mining Machinery, Mechanical Engineering, vol. 3, p. 72-80. (in Russian) [3] Savellev, A.G. (1998). Theoretical positioning by optimal calculation of support having thin wall and minimal mass. Interstojmeh 98, p. 162-165. [4] Šelmic, R., Mijailovic, R. (1998). Identification of dimensions of trapezoidal cross section in structures. Interstojmeh 98, p. 203-205. [5] Šelmic, R., Mijajlovic, R. (1998). Optimum dimensions of trapezium cross-section in structures. XV. ECPD International conference on material handling and warehousing, p. 3.49-3.54. [6] Savkovic, M., Gašic, M., Ostric, D. (1999). Optimization of geometry of pentagonal cross section of auto crane boom. The 3rd International Conference, HM-99, p. 6.126.15. (in Russian) [7] Mijajlovic, R., Marinkovic, Z., Jovanovic, M. (2000). Dynamics and optimisation of cranes. Faculty of Mechanical engineering Niš. (in Serbian) [8] Gašic, M., Rajovic, M., Savkovic, M. (2002). Contribution to the optimization of the box cross sections of the boom of the mobile hydraulic crane. The 4th International Conference HM-2002, p. A.55-A.57. [9] Gasic, M., Savkovic, M., Petkovic, Z. (2002). Contribution to determination of stress in the contact zone of segments of auto crane boom. XVII. ICMFMDI international conference on Material flow, machines and devices in industry, p. I.40-I.43. [10] Selmic, R., Cvetkovic, P., Mijajlovic, R., Kastratovic, G. (2006). Optimum dimensions of triangular cross-section in lattice structures. Meccanica, vol. 41, p. 391-406. [11] Storn, R., Price, K. (1997). Differential evolution - a simple and efficient heuristic for global optimization over continuous spaces. Journal of Global Optimization, vol. 11, no. 4, p. 341-359. [12] Storn, R., Price, K. (1997). A simple evolution strategy for fast optimization. Dr. Dobb's Journal, vol. 264, p. 18-24. [13] Storn, R. (1996). On the usage of differential evolution for function optimization. Biennial Conference of the North American Fuzzy Information Processing Society (NAFIPS), p. 519-523. [14] Price, K.V., Storn, R.M., Lampinen, J.A. (2005). Differential evolution - a practical approach to global optimization, Springer, Berlin Heidelberg. [15] Lampinen, J.A. (2001). Bibliography of differential evolution algorithm. Lappeenranta University of Technology. [16] Kukkonen, S., Lampinen, J. (2004). Comparison of generalized differential evolution to other multi-objective evolutionary algorithms, from http://www. imamod.ru/~serge/arc/conf/ECCOMAS_ 2004/ECCOMAS_V2/proceeding/pdf/716. pdf, accessed on 2004-07-24. [17] Catalogues of Serbian truck crane manufacturers (1996). imk 14. Oct., ILR.