Professional Documents
Culture Documents
Multi-Speed Gearbox Design Using Multi-Objective Evolutionary Algorithms
Multi-Speed Gearbox Design Using Multi-Objective Evolutionary Algorithms
Using Multi-Objective
Kalyanmoy Deb
e-mail: deb@iitk.ac.ub Evolutionary Algorithms
Sachin Jain Optimal design of a multi-speed gearbox involves different types of decision variables and
objectives. Due to lack of efficient classical optimization techniques, such problems are
Kanpur Genetic Algorithms Laboratory usually decomposed into tractable subproblems and solved. Moreover, in most cases the
(KanGAL), explicit mathematical expressions of the problem formulation is exploited to arrive at the
Department of Mechanical Engineering, optimal solutions. In this paper, we demonstrate the use of a multi-objective evolutionary
Indian Institute of Technology Kanpur, algorithm, which is capable of solving the original problem involving mixed discrete and
Kanpur, PIN 208 016, India real-valued parameters and more than one objectives, and is capable of finding multiple
http://www.iitk.ac.in/kangal/pub.htm nondominated solutions in a single simulation run. On a number of instantiations of the
gearbox design problem having different complexities, the efficacy of NSGA-II in handling
different types of decision variables, constraints, and multiple objectives are demon-
strated. A highlight of the suggested procedure is that a post-optimal investigation of the
obtained solutions allows a designer to discover important design principles which are
otherwise difficult to obtain using other means. 关DOI: 10.1115/1.1596242兴
Journal of Mechanical Design Copyright © 2003 by ASME SEPTEMBER 2003, Vol. 125 Õ 609
冑
ations. Finding a feasible design satisfying all the above con-
straints is by itself a difficult task. However, it is often desired to 0.59共 r i ⫹1 兲 97500pk c k d E 共 r i ⫹1 兲
wi⫽ , (2)
find a solution which is not only feasible but also optimizes an r ia i i t i sin 2 
objective of design. In this problem, a number of such objectives
are possible: 共i兲 minimization of overall gear material used 共which where k c (⫽1.5) is the stress concentration factor and k d (⫽1.1) is
is directly related to the weight and cost of the gearbox兲, 共ii兲 the dynamic load factor. The parameter r i is the transmission ratio
maximization of power delivered by the gearbox, 共iii兲 minimiza- defined as the ratio of the number of teeth (n w i ) in wheel to the
tion of the center distance between input and output shafts, and number of teeth (n p i ) in pinion 共or, n w i /n p i ) for the i-th gear-pair.
共iv兲 minimization of error between achieved and desired output The parameter i is the speed of the wheel in rpm, a i is the center
shaft speeds. When multiple conflicting objectives are considered distance for the corresponding gear-pair 共calculated as m(n w i
共such as 共i兲 and 共ii兲兲, there are usually more than one optimal ⫹n p i )/2, where m is the module兲 in cm and t i is the thickness of
solution to the resulting problem. Such solutions are called Pareto- the gear-pair in cm. The parameter y i is the form factor defined as
optimal solutions or efficient solutions or non-inferior solutions follows: y i ⫽0.52(1⫹20/n w i ), where n w i is the number of teeth
关11兴. Although only one of the solutions have to be recommended
for fabrication, one approach to multi-objective problem solving for the wheel in the corresponding gear-pair. The pressure angle is
is to first find a widely distributed set of Pareto-optimal solutions  共⫽20 degrees兲 and the parameter E is the Young’s modulus of
before making any particular choice on the importance of one the gear material in kgf/cm2. The complete optimization problem
objective over the other. Thereafter, one solution can be picked is given below:
冧
using some higher-level decision-making criteria. Here, we would Maximize f 1 ⫽p,
not like to belabor the discussion on what higher-level decision- G
m2
兺 共n
making criteria will be the best for a gearbox design problem, as
such a discussion would be subjective to the user and would de- Minimize f 2 ⫽ p i ⫹n w i 兲 t i
2 2
,
4 i⫽1
pend on many non-technical aspects which are beyond the scope
of the present discussion. Instead, we argue that such a decision- Subject to b i ⭐S b , for i⫽1,2, . . . ,G,
making becomes easier and more pragmatic than the usual prac-
tice of optimizing a single-objective function derived by prefixing w i ⭐S w , for i⫽1,2, . . . ,G,
a relative preference factor of each objective. As a by-product of 共L兲 共U兲
t ⭐t i ⭐t , for i⫽1,2, . . . ,G,
our approach, we shall demonstrate how an analysis of multiple
p 共 L 兲 ⭐p⭐p 共 U 兲 .
(3)
Thus, for the gear layout shown in Fig. 1, there are a total of 10
real-valued decision variables and 38 inequality constraints. The
problem can be made more complex by treating the module 共m兲
also as a decision variable. Since any arbitrary module is not
desired for difficulties in fabrication, the module can be treated as
a discrete-valued variable taking only a few selected values.
2.2 Number of Teeth Varying. When the number of teeth
in gears are also kept as decision variables, the resulting problem
must involve additional constraints considering the following
three aspects:
1. The center distance between two shafts must be maintained
by all corresponding gear-pairs,
2. No gear should interfere with any shaft. These constraints
arise because we have considered a two-dimensional layout of the
gears having extended shafts. Some of these constraints can be
eliminated by using a three-dimensional gearbox. However, here
Fig. 1 Schematic of a gear train we consider the two-dimensional gearbox shown in Fig. 1.
再冉
compute the overall constraint violation, and 共iii兲 between two
共 2u i 兲 1/ c ⫹1 , if u i ⭐0.5; feasible solutions, the usual domination principle is used.
 qi⫽ 1
2 共 1⫺u i 兲 冊 1/ c ⫹1
, otherwise.
(18)
4 Computational Results
In this section, we investigate the efficacy of NSGA-II in opti-
The parameter c is the distribution index of the SBX operator. mizing the gear-train design problem depicted in Fig. 1. We
For handling bounded variables, Eq. 共18兲 is slightly modified 关11兴, present a total of five cases, starting from a two-objective, 10-
so that there is zero probability of creating a solution outside the variable, 38-constraint real-parameter gearbox optimization prob-
variable bounds. For variables coded in binary strings, a single- lem and ending with a four-objective, 29-variable, 101-constraint,
point recombination, which swaps the bits on the right side of a mixed-integer gearbox optimization problem. In all cases, the
randomly chosen cross-site along the string 关12兴, is used here. same NSGA-II code 共A C code implementation which can be
9 3
cm 2 p cm 2 n 3 ⫽n 1 ⫹⌬n 1,3 , n 5 ⫽n 1 ⫹⌬n 1,3⫹⌬n 3,5 .
兺 兺 共n
(23)
f 1⫽ 共 n w2 i ⫹n 2p i 兲 ⫹ w i ⫹n p i 兲 0.5,
2 2
4 i⫽1 m 2 4 i⫽2 By restricting these incremental variables (⌬n i ) to be greater than
i⫽2,3
zero, we ensure that n 5 ⬎n 3 ⬎n 1 . With these considerations, the
⫽D 1 p⫹D 2 m 2 . total number of independent variables kept for representing num-
ber of gear teeth are 13, thereby making the total number of vari-
Since, there is only one module for the entire gear system, the ables to 23, causing a reduction of five integer variables. In the
module m at a particular power p must satisfy Eq. 共21兲, leading to NSGA-II implementation, we allow these incremental variables
p⬀m 2 or, m 2 ⬀p. The exponent of the polynomial variation of (⌬n i ) to vary in 关1,31兴 in steps of one and n i variables to vary in
module with power as observed in Fig. 5 is close to 0.5, thereby 关18,81兴 in steps of one. The recombination and mutation operators
supporting the above argument2. Therefore, the above equation treat these variables as real-valued at first. Before the objective
yields f 1 ⬀p. Figure 3 verifies that the relationship between ob- functions and constraints are evaluated, they are rounded to their
jectives for the Pareto-optimal solutions 共passing through the ori- nearest integers. For these integer variables, we use c ⫽2 and
gin, if extrapolated兲 is linear, thereby supporting our argument m ⫽50 in Eqs. 18 and 20, respectively. Figure 7 shows the ob-
above. tained nondominated solutions for ⑀⫽0.05 and 0.10. It is clear
It is important to mention that such mixed-integer programming from the figure that if a large error 共⑀兲 in the output shaft speeds
problems 共having both discrete and continuous decision variables兲 from the ideal is permitted, better nondominated solutions are
are difficult to handle using classical optimization methods. Since expected. The figure also marks the four Pareto-optimal solutions
evolutionary algorithms require only function information for any reported elsewhere 关2兴 obtained by using a fixed number of teeth
given solution and are flexible in handling mixed types of vari- and module in gears 共Case I兲. Since the number of teeth in gears
able, such problems are comparatively easier to handle. are also kept as variables here, a more flexible search is permitted,
4.3 Case III: Varying Gear Teeth and Thickness. Next, thereby obtaining a better set of nondominated solutions. Table 2
we vary the number of teeth in all 18 gears 共nine gear-pairs兲, in shows the gear teeth and thickness of four selected solutions 共uni-
addition to the nine gear-pair thicknesses and power delivered. We formly spaced across the obtained front兲. It is clear from the table
fix the module at 0.28 cm. In order to handle the constraints given that for gearboxes with a large delivered power, thickness and
in equations 4 to 6, we use following two strategies with NSGA- teeth in gears are also large. The table also shows the correspond-
II: ing gear details for ⑀⫽0.05. For the gear sizes, a trend similar to
Variable elimination: We use the first three linear equality con- that found in the ⑀⫽0.10 case is also observed here. Although the
straints to eliminate five decision variables. For example, the first latter solutions cause a maximum of ⑀⫽0.05 error in the output
equation can be used to eliminate two variables as follows: speeds from the desired, each of four solutions tabulated above
found a somewhat similar yet different gear teeth combination to
n 4 ⫽n 1 ⫹n 2 ⫺n 3 , n 6 ⫽n 1 ⫹n 2 ⫺n 5 . (22) achieve the same objective. In order to investigate the efficacy of
Redundancy reduction: The redundancy in solutions is reduced NSGA-II in handling constraints, we calculate the percentage
by prefixing an order of gear sizes in a gear-pair cluster. For maximum error in the output shaft speed for each obtained non-
example, the redundancy in solutions can be reduced by assuming dominated solution. Figure 8 shows the proportion of obtained
that n 5 ⬎n 3 ⬎n 1 . By this way several permutations of these gear nondominated solutions having different percentage maximum er-
sizes will not be reconsidered during optimization. ror. For clarity, all solutions with a percentage maximum error in
The latter condition is further made simpler by using a different a block of 0.25% are grouped together. The figure shows that a
set of decision variables. For example, instead of using n 1 , n 3 , large proportion of nondominated solutions maintain a percentage
and n 5 as decision variables, we may use n 1 , ⌬n 1,3 , and ⌬n 3,5 as maximum error close to the maximum permissible value. This
decision variables and derive n 3 and n 5 as follows: indicates that the constraint handling strategy used in NSGA-II is
effective in exploiting the chosen maximum error limit in the
2
It is also interesting to note that for a single bevel or hypoid gear-pair, Krenzer
output speeds.
and Hotchkiss 关13兴 have also suggested the use of gear diameters increasing polyno- With a specific number of gear teeth used in Case I, it was
mially with transmitted torque having an exponent of 0.34. observed that the bending stress constraints are always more criti-
1.29共1.29兲
1.78共1.65兲
1.82共1.82兲
9
23共23兲
28共30兲
24共18兲
37共47兲
24共27兲
49共58兲
31共36兲
72共72兲
0.51共0.50兲
1.88共1.80兲
2.46共2.30兲
2.50共2.49兲
8
18共18兲
33共35兲
18共22兲
43共30兲
18共20兲
55共65兲
23共27兲
80共81兲
Gear details of four selected solutions in Case III with a maximum of 10% error. The results with at most 5% error are shown in brackets.
0.50共0.50兲
0.92共1.10兲
1.06共1.25兲
1.08共1.30兲
7
18共18兲
32共28兲
19共22兲
38共29兲
20共22兲
39共35兲
30共36兲
47共45兲
0.50共0.50兲
0.50共0.55兲
0.66共0.67兲
0.72共0.91兲
20共22兲
21共24兲
25共29兲
32共32兲
26共28兲
39共36兲
33共39兲
42共42兲
cal than the wear stress constraints. However, in this case 共when
Gear-Pair Number
the number of gear teeth are also kept as decision variables兲, the
0.50共0.50兲
0.51共0.59兲
0.66共0.70兲
0.75共0.95兲
19共21兲
22共25兲
26共30兲
31共31兲
27共30兲
38共34兲
35共40兲
40共41兲
0.55共0.64兲
0.68共0.73兲
0.79共1.07兲
figure that the ratio B i /C i is more than one for small values of p
indicating that wear stress constraints are more critical than bend-
4
18共19兲
23共27兲
28共28兲
29共33兲
29共32兲
36共32兲
37共37兲
38共44兲
ing stress constraints. Using the wear stress constraints, the para-
metric relationship of the Pareto-optimal front can be written as
follows:
9
n w i n 2p i
0.50共0.50兲
0.50共0.50兲
0.50共0.50兲
0.50共1.57兲
f 2⫽ ␥ 兺
i⫽1
共 n 2p i ⫹n w2 i 兲 t i , p⫽ ␣ i t i
n p i ⫹n w i
.
3
18共18兲
37共38兲
18共19兲
42共41兲
18共18兲
43共50兲
19共24兲
54共57兲
0.50共0.50兲
0.50共0.50兲
0.50共1.25兲
2
27共28兲
28共28兲
28共30兲
32共30兲
28共30兲
33共38兲
31共39兲
42共42兲
0.50共0.50兲
0.50共0.50兲
0.75共0.50兲
1.01共0.93兲
1
18共18兲
37共38兲
21共19兲
39共41兲
22共25兲
39共43兲
29共27兲
44共54兲
Table 2
n wi
n wi
n wi
n wi
n pi
n pi
n pi
n pi
ti
ti
ti
共381.95兲
共941.52兲
共1718.20兲
共3537.46兲
1443.68
2712.36
Volume
355.03
846.52
共cc兲
共1.050兲
共5.547兲
共9.094兲
共11.720兲
12.262
Power
1.040
5.503
9.008
共kW兲
冉 冊
NSGA-II with a relaxed upper bound 共module varying in the
9
n 2p i 20 range 共0.10,0.73兲 cm兲. The corresponding nondominated front ob-
f 2⫽ ␥ 兺
i⫽1
共 n 2p i ⫹n w2 i 兲 t i , p⫽  i t i
n wi
1⫹
n wi
.
tained after 10,000 generations are shown using triangles in Fig.
10. It is evident that now the obtained front remains linear till the
As can be seen from these equations, for an increase in the num- module of the gearbox becomes equal to the chosen upper limit
ber of gear teeth and thickness the rate of change of f 2 is more 共0.73 cm兲. Figure 11 also shows that the corresponding module
here than that in the former case. Figure 7 depicts this non-linear increases monotonically and in a very similar manner (m⬀ 冑p) as
relationship among the obtained solutions for large-powered gear- that obtained in the earlier case 共with m ( U ) ⫽0.41 cm).
boxes.
4.5 Case V: Three Objectives. To investigate further the
4.4 Case IV: Varying Gear Module, Teeth and Thickness. performance of NSGA-II on more than two objectives, we formu-
Next, we make the gearbox design problem even more flexible by late a third objective function of minimizing the center distance
allowing the module also as a decision variable. The range and between input and output shafts. This objective function can be
step used for this variable are kept the same as those used in Case written as follows:
II (m苸 关 0.10,0.41兴 cm in steps of 0.01 cm兲. This increases the m
total number of variables to 29. An ⑀⫽0.10 is used in this study. f 3⫽ 关共 n 1 ⫹n 2 兲 ⫹ 共 n 7 ⫹n 8 兲 ⫹ 共 n 13⫹n 14兲 ⫹ 共 n 15⫹n 16兲兴 .
Rest all parameters are kept the same as those used in the previous 2
case. Figure 10 shows the 300 nondominated solutions obtained (24)
using NSGA-II after 10,000 generations. On the same computer All constraints, decision variables, and other parameters as used in
mentioned earlier, an NSGA-II run took an average of 660 sec- the previous case are also adopted here. The module is varied in
onds. As in the Case II, a monotonically increasing magnitude of 关0.10,0.41兴 cm in steps of 0.01 cm. In section 2.3, we have dis-
module is observed for solutions having increasing requirement in cussed that previous studies on the gearbox design have consid-
delivered power. Figure 10 also shows the nondominated front ered a total of four different objectives. However, any particular
obtained in Case III 共optimized by keeping the module fixed兲. It is optimization did not consider more than two objectives. Here and
interesting to note that a better nondominated set of solutions is in the next section, for the first time, we show simulation results
possible to obtain by allowing the module to be a decision vari- for the gearbox optimization problem with three and four objec-
able. Two distinct phases can be observed among the obtained tives.
nondominated solutions. For gearboxes having a small delivered For the three-objective case, we have used ⑀⫽0.1. NSGA-II
power the volume-power relationship is linear and for gearboxes with 300 population members takes an average of 700 seconds to
having a large delivered power the relationship is nonlinear. These run 10,000 generations on the same machine mentioned before.
two phases have distinct properties. Although solutions found are satisfactory, in order to achieve a
Figure 11 shows that the variation of module in the obtained better convergence, we have continued the NSGA-II run for
solutions. It is interesting to note that module increases with 100,000 generations. Figure 12 shows 300 nondominated solu-
power requirement in a manner similar to that observed in Case II tions obtained in one such typical run of NSGA-II in triangles.
till the chosen upper limit (m ( U ) ⫽0.41 cm) on module is reached. The projection on the x-y plane shows a similar trade-off 共partly
An investigation on the gear thickness and the number of teeth for linear and partly nonlinear兲 in delivered power and volume as that
these solutions indicates that the same for gear-pairs 7, 8 and 9 observed in the two-objective case 共Case IV with m
5 Conclusions
The multi-speed gearbox design optimization problem consid-
ered in this paper provides an adequate challenge to almost every
aspect of optimization. The design problem involves 共i兲 more than
one 共and as many as four兲 conflicting objectives of design, 共ii兲 a
total of 29 mixed type of decision variables 共integer, discrete, and
real-valued兲, and 共iii兲 five equality and 96 nonlinear inequality
constraints. A couple of previous studies using classical optimiza-
tion methods had to decompose the overall problem into two trac-
table problems with at most 10 variables and 18 inequality con-
Fig. 13 Nondominated solutions for four objectives straints. This paper has shown that the application of a multi-