Research on genetic algorithm-based rapid design optimization/Genetiniu algoritmu pagristos greitojo projektavimo optimizacijos tyrimas.
Yifei, Tong ; Yong, He ; Zhibing, Gong 等
1. Introduction
Modern product design is market and customer oriented design. The
response speed to markets by enterprises is one of the important factors
of enterprise competition. To obtain the responding advantages, the
methodology of rapid design (RD) is applied widely in enterprises.
Variant design often used by the enterprises is to change local
dimensions and configurations of design instances so as to achieve the
purpose of RD. On the other hand, the product designed should be
verified and optimized to assure of the reliability of new product and
the optimization of designed structure [1, 2]. Common optimization
process is to model the designed product in finite element software and
then optimize its structure based on finite element analysis. Thus every
time modifying the design, repeated modelling, analysis and optimization
are needed, which will result in low efficiency and cannot satisfy the
demand of RD.
The application of product knowledge existing already into product
optimization based on genetic algorithm (GA) can avoid the repeated
modeling and analyzing and result in improved design efficiency. This
paper reports our research on GA-based rapid optimization method. In the
next section, the RD method is overviewed and discussed as well as its
key issues. In Section 3, general mathematical model of mechanical
product rapid optimization is introduced. The GA-based rapid
optimization process and its fitness determination are discussed in
detail in Section 4. Then, an example of H-beam is illustrated to apply
GA and BP neural network into design optimization in detail. Finally,
the opportunities for future research will be pointed out.
RD is developed from concurrent engineering technology proposed at
International conference CIRPF in 1992 [3]. The aim of RD is to shorten
product design cycle. Many researchers studied on RD and gave definition
to it [4-6]. Anyway, RD is a design method integrated with customer
requirement, technology, product structure, product information, product
development trend and so on. It is an active rapid response design from
enterprises. Summarily the key issues of RD include the followings
[7-9]:
1. Product modularization. It is to partition a series of product
modules according to product function, structure and performance so as
to satisfy customers' diverse requirements by selecting and
combining different modules.
2. Product configuration. It is to select, combine, vary and
optimize the instance modules and design products customers require
based on design rules, constraints, resources, structures, ontology and
so on.
3. Variant analysis. It is to analyze product sensitivity of shape,
structure and topology, and optimize design parameters.
2. Genetic algorithm-based RD optimization
2.1. General model of product rapid optimization
General mathematical model of constrained optimization can be
denoted by
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (1)
where X denotes the design variable and [R.sup.n] denotes a
nonempty set; [g.sub.u] (X) denote inequality constrains and [h.sub.v]
(X) denote equality constrain.
The RD of mechanical product is mainly to modify the local
dimensions and configurations of design instances existing already,
during the process of which the factors such as strength, weight, cost
and so on are focused on by designers. In general cases, the constraints
include that stress should be less that the allowable stress of
materials and that displacement should be less that allowable
displacement of design and the objectives of optimization include
weight/cost and so on. Thus, the mathematical model of problems as in
(1) can be denoted by
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (2)
where [d.sub.max] and [d] denote the maximum displacement and
allowable displacement of designed structure respectively; [X.sub.min]
and [X.sub.max] denote the upper limit and lower limit of design
variable respectively and f(X) denotes the optimization objectives.
2.2. Genetic algorithm-based rapid optimization
Genetic algorithm can only solve unconstrained problem directly,
while commonly problems except high constraint problem cannot be
converted into unconstrained problems directly[10]. Equality constraint
can be incorporated into fitness function, while inequality constraint
needs penalty function to be incorporated into fitness function for
optimization solution. The common form is presented as [11]
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (3)
where f (x) denotes the original fitness function, p(x) denotes
penalty function, r denotes positive coefficient and X denotes feasible
solution domain. According to different design requirements and
problems, penalty function varies. Penalty function is one of the key
factors of genetic algorithm to solve constraint problems, which can be
denoted by [12]
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (4)
Then, new fitness function can be denoted by
F(X) = [C.sub.0] - P(X) (5)
where [C.sub.0] is a constant to assure that F(X) is positive.
It can be seen easily that F(X) is a function for f (X) and
[d.sub.max]. That is
F(X)= F(f(X), [d.sub.max]) (6)
Obviously, fitness of the structure designed can be calculated
after getting the f (X) and [d.sub.max] based on the design instances
and furthermore the rapid optimization of the structure can be carried
out.
According to the requirements of RD, the better way is to compute
the fitness without the help of finite element software. The steps of
genetic algorithm-based rapid optimization can be described briefly as
follows: Firstly generate initial population and compute the fitness,
then judge whether the individual satisfies the optimization conditions.
If not, execute the genetic operation and recomputed fitness until the
optimization conditions are satisfied; else if, output the optimum
individual. Finally, decode to obtain the approximately optimum
solution. Detailed process is illustrated in Fig. 1. Obviously, fitness
determination is the key problem of GA-based rapid optimization. In our
research, the fitness is determined by back propagation (BP) neural
network [13]. Here, unnecessary conceptual details about BP neural
network won' t be given and the factual application will be
represented in the next section.
[FIGURE 1 OMITTED]
3. Case study
3.1. Application sample selection
H-beam is a common structure in engineering and thus selected as
shown in Fig. 2 for our research whose parameter and usage are as
follows:
* length: 1 m;
* freedom constraint: fixed at both ends;
* E = 6.69e10Pa;
* [mu] = 0.26;
* density: 2700 kg/[m.sup.3];
* force: 1000 N on the middle.
[FIGURE 2 OMITTED]
Finite element analyse on 25 samples is carried out by uniform
design methodology of [U.sub.25] ([5.sup.4]) to obtain the displacement
after the force [14]. The analysis results are shown in Table 1 as well
as displacement and weigh tested, where D denotes the maximum
deformation, W denotes the weight of the sample and X1, X2, X3 and X4
denote the structure parameters. The analysis result of sample 1is given
in Fig. 3.
[FIGURE 3 OMITTED]
3.2. BP neural network training
Let X1, X2, X3 and X4 be the design variable be the optimization
object and d be the constraint. Two sub-BP neural networks shown in Fig.
4 are constructed with inputs of X1, X2, X3 and X4 and corresponding
outputs of d and w. The number of hidden layers can be deducted by
Kolmogorov principle: 2 x 4 + 1 = 9. The corresponding outputs can be
determined by the two sub-BP neural networks [15].Using samples to train
the both networks, the weight and threshold of each layer can be
obtained with the deviation of 10e-5.
[FIGURE 4 OMITTED]
3.3. GA-based optimization
3.3.1. Optimization modelling
Let the equation (2) be optimization model, penalty function be
equation (3) and fitness function be equation (4) with r = 2 mm,
[C.sub.0] = 45 and [d] = 0.2 mm. Thus, the optimization model can be
denoted by
[MATHEMATICAL EXPRESSION NOT REPRODUCIBLE IN ASCII] (6)
The fitness function can be denoted by
F(X) = 45 - 3W (X) - 2([d(X)/0.2] - 1), X = [X1, X2, X3, X4,]
where d(x) and w(x) are obtained by BP neural network.
3.3.2. Genetic coding
Take X1, X2, X3 and X4 as chromosomes for genetic coding by binary
code. The chromosome length are 32 bits, of which 1 ~ 8 bits represent
X1, 9 ~ 16 bits represent X2, 17 ~ 24 bits represent X3 and 25 ~ 32 bits
represent X4.
3.3.3. Genetic operation
(1) Selection. The roulette algorithm is adopted to select
individuals.
(2) Crossover. A two points of partly cross-recombination method is
adopted to crossover with probability of Pc. Pc denotes crossover
probability, which is usually an experience value. In this research,
according to the reference provided by Whitley D. [16], let Pc=0.9. The
crossover is illustrated by the following simple example.
Let two individuals form the initial population
A = A1 A2 A3 A4 A5 A6 A7 A8 ... A32;
B = B1 B2 B3 B4 B5 B6 B7 B8 ... B32.
For instance, a crossover zero is selected from population
chromosome at random. Then the following results of crossover will be
obtained as shown in Table 2.
3.3.4. Mutation
Mutation refers to change the genes of chromosome with probability
of Pm. Pm denotes mutation probability, which is also usually an
experience value. In this research, according to the reference provided
by Whitley D. [16], let Pm = 0.02. Randomly select tow bits from the
population chromosome for mutation and let the bit of 1 change into 0
and the bit of 0 into 1. For example
A = A1 A2 A3 A4 [absolute value of 10] A7 A8 ...A32;
A' = A1A2 A3 A4 [absolute value of 01] A7 A8 ...A32.
3.3.5. Optimization results
After 605 generations' iteration, the optimization result
tends to converge. Here at, the fitness value is 37.5110735949702 and
the chromosome denotes as 00101011001110010010001101100111, which can be
decoded for the following representations:
"00101011" denotes X1 = 2.6745 mm;
"00111001" denotes X2 = 2.8941 mm;
"00100011" denotes X3 = 30.9803 mm;
"01100111" denotes X4 = 52.313 mm.
Let X1 be 3 mm, X2 3 mm, X3 31 mm and X4 52 mm.
Also, the displacement predicted by BP neural network is 0.195421
mm. Compared with the result of 0.205 mm from the finite element
analysis shown in Fig. 5, it can be concluded that the deviation is
about 5%.
[FIGURE 5 OMITTED]
4. Conclusions
The work reported here on GA-based rapid optimization is a
beginning of mechanical product RD and optimization. This research seeks
to realize RD and optimization by reusing design instances, design
knowledge and design documents without the help of finite element
software. The above research shows that design optimization based on GA
combines with BP neural network is feasible and it can avoid repeated
finite element modelling and analysis which results in improved
efficiency. The future work is to consider how to improve the prediction
accuracy of BP neural network and accuracy of fitness calculation for
complex model.
The main tasks of this research are as follows:
1. The conception of GA-based rapid optimization to avoid repeated
finite element modeling and analyzing is proposed.
2. Based on the analysis on general mathematical model of
mechanical product rapid optimization, the mathematical model of
GA-based rapid optimization is presented.
3. The process of GA-based rapid optimization combined with BP
neural network is derived and the fitness determination of GA
Optimization is discussed in detail.
4. An example of H-beam is illustrated to apply GA and BP neural
network into design optimization in detail.
Acknowledgment
This work was financially supported by Postdoctoral Program of
Science Foundation of Jiangsu Province of China (0901041C), Zijin Star
of Outstanding Program of NJUST and the National Natural Science
Foundation of China (61104171). The supports are gratefully
acknowledged.
References
[1.] Guo, Haiding; Lu, Zhifeng. 2003. Structure design
optimi-zation based-on bp-neural networks and genetic algorithms,
Journal of Aerospace Power 18(2): 216-220.
[2.] Guanglin Wang; Huifeng Wang; Jun Liu 2009. Product rapid
design for customer individual requirements, Key Engineering Materials
392-394: 661-666. http://dx.doi.org/10.4028/www.scientific.net/KEM.392
-394.661.
[3.] Sohlenius, G. 1992. Concurrent engineering, Annals of the CIRP 41(2): 645-655. http://dx.doi.org/10.1016/S0007-8506(07)63251-X.
[4.] Jun Lia; Xianzhong Daia; Zhengda Menga; Jianping Dou; Xianping
Guan. 2009. Rapid design and reconfigu-ration of Petri net models for
reconfigurable manufactur-ing cells with improved net rewriting systems
and activity diagrams, Computers & Industrial Engineering 57(4):
1431-1451. http://dx.doi.org/10.1016/j.cie.2009.07.013.
[5.] Johng Chern; Xin Yu Shao; Yubao Chen et al. 1998.
Feature-based part modeling and process planning for rapid response
manufacturing, Computer industry Engineering 34(2): 515-530.
http://dx.doi.org/10.1016/S0360-8352(97)00138-1.
[6.] Guozhong Chai; Congda Lu; Donghui Wen. 2010. Rapid design
platform for mechanical products based on CBR, Advanced Materials Research 102-104: 262-266.
http://dx.doi.org/10.4028/www.scientific.net/AMR.102 -104.262.
[7.] Shana Smith; Chao-Ching Yen. 2010. Green product design
through product modularization using atomic theory, Robotics and
Computer-Integrated Manufacturing 26(6): 790-798.
[8.] Dong Yang; Rui Miao; Hongwei Wu; Yiting Zhou. 2009. Product
configuration knowledge modeling using ontology web language, Expert
Systems with Applications 36(3): 4399-4411.
http://dx.doi.org/10.1016/j.eswa.2008.05.026.
[9.] Zhengyi Jiang; Jingtao Han; Xianghua Liu. 2011. Studies on
modular design of milling planer that facing variant design, Advanced
Materials Research 421: 293-296.
http://dx.doi.org/10.4028/www.scientific.net/AMR.311 -313.293.
[10.] Antal, T.A. 2009. A new algorithm for helical gear desi-gn
with addendum modification, Mechanika 77(3): 53-57.
[11.] Wang Xiaoping; Cao Liming. 2003. Genetic algorithms-theory,
application and realization, Xi'an: Journal of Xi'an Jiao Tong
University Press.
[12.] Wang Fumin; Zhang Yang; Tian Sheping. 2004. Application of
genetic algorithm and penalty function method in machine optimal design,
Journal of China Jiliang University 15(4): 290-293.
[13.] Guoye Wang; Juanli Zhang. 2011. Research on the stability
performances of the vehicle dynamics equivalent system based on the
unsteady constraints, Mechanika 17(5): 518-522.
http://dx.doi.org/10.5755/j01.mech.17.5.729.
[14.] Jian-Hui Ninga; Kai-Tai Fangb; Yong-Dao Zhou. 2011. Uniform
design for experiments with mixtures, Communications in
Statistics-Theory and Methods 40(10): 1734-1742.
http://dx.doi.org/10.1080/03610921003637470.
[15.] Zhi Xiao; Shi-Jie Ye; Bo Zhong; Cai-Xin Sun. 2009. BP neural
network with rough set for short term load forecasting, Expert Systems
with Applications 36(1): 273-279.
http://dx.doi.org/10.1016/j.eswa.2007.09.031.
[16.] Whitley, D. 1987. Using reproductive evaluation to improve
genetic search and heuristic discovery. In: Genetic Algorithms and their
Applications: Proceedings of the School International Conference on
Genetic Algorithms, 108-115.
Tong Yifei, Nanjing University of Science and Technology, School of
Mechanical Engineering 402, 210094 Nanjing, People's Republic of
China, E-mail: tyf51129@yahoo.com
He Yong, Nanjing University of Science and Technology, School of
Mechanical Engineering 402, 210094 Nanjing, People's Republic of
China, E-mail: yhe1964@mail.njust.edu.cn
Gong Zhibing, Nanjing Kangni New Technology of Mechantronic Company
Ltd. Department of Digitization design, 210094, Nanjing, People's
Republic of China, E-mail: gzb5566@sina.com
Li Dongbo, Nanjing University of Science and Technology, School of
Mechanical Engineering 402, 210094 Nanjing, People's Republic of
China, E-mail: db_calla@yahoo.com.cn
Zhu baiqing, School of economics and management, Nanjing Institute
of Technology, 210000 Nanjing, People's Republic of China, E-mail:
zhubq@163.com
http://dx.doi.org/10.5755/j01.mech.18.5.2700
Received May 18, 2011
Accepted October 12, 2012
Table 1
Analysis results by [U.sub.25] ([5.sup.4])
No X1 X2 X3 X4 D(mm) W(kg)
1 2 2 80 100 0.0432 3.994
2 2 3 100 40 0.187 3.962
3 2 4 20 60 0.211 2.371
4 2 5 60 20 1.21 2.496
5 2 6 40 80 0.0604 4.805
6 3 2 40 40 0.325 2.402
7 3 3 60 60 0.0938 4.072
8 3 4 80 80 0.0397 6.053
9 3 5 20 100 0.0461 4.602
10 3 6 100 20 0.586 5.335
11 4 2 20 20 2.44 1.435
12 4 3 40 100 0.0378 4.649
13 4 4 60 40 0.173 4.742
14 4 5 100 80 0.0275 9.048
15 4 6 80 60 0.0532 7.426
16 5 2 60 80 0.0496 5.772
17 5 3 80 20 0.632 6.474
18 5 4 100 100 0.0185 10.61
19 5 5 40 60 0.0822 5.07
20 5 6 20 40 0.347 2.964
21 6 2 100 60 0.0599 10.11
22 6 3 20 80 0.076 3.463
23 6 4 40 20 1.08 3.994
24 6 5 80 40 0.108 8.58
25 6 6 60 100 0.0187 9.734
Table 2
Operation of crossover
Selected individuals Position of crossover
A1A2A3A4A5A6A7A8 ... A32 4.6 ... (at random)
B1B2B3B4B5B6B7B8 ... B32 4.6 ... (at random)
crossover Resulting individuals
A1A2A3A4[absolute value A1A2A3A4[absolute value
of A5A6]A7A8 ... A32 of B5B6]A7A8 ... A32
B1B2B3B4[absolute value B1B2B3B4[absolute value
of B5B6]B7B8 ... B32 of A5A6]B7B8 ... B32