Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

4
IEEE TRANSACTIONS ON MAGNETICS, VOL. 48, NO. 2, FEBRUARY 2012 947 Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem Teodoro C. Bora , Leandro dos S. Coelho , and Luiz Lebensztajn Graduação em Engenharia de Controle e Automação, Pontifícia Universidade Católica do Paraná, PR 80215-901, Brasil Laboratório de Automação e Sistemas, PPGEPS-PUCPR, Pontifícia Universidade Católica do Paraná, PR 80215-901, Brasil Departamento de Engenharia Elétrica, Universidade Federal do Paraná, PR 80215-901, Brasil Laboratório de Eletromagnetismo Aplicado, Escola Politécnica da Universidade de São Paulo, SP 05508-900, Brasil This paper presents a metaheuristic algorithm inspired in evolutionary computation and swarm intelligence concepts and fundamen- tals of echolocation of micro bats. The aim is to optimize the mono and multiobjective optimization problems related to the brushless DC wheel motor problems, which has 5 design parameters and 6 constraints for the mono-objective problem and 2 objectives, 5 design parameters, and 5 constraints for multiobjective version. Furthermore, results are compared with other optimization approaches pro- posed in the recent literature, showing the feasibility of this newly introduced technique to high nonlinear problems in electromagnetics. Index Terms—Brushless machines, evolutionary computation, optimization. I. INTRODUCTION T HE BAT ALGORITHM (BA) is a very interesting ap- proach recently proposed by Yang [1]. It is based on the nature behavior of micro bats when looking for food. These bats use echolocation to guide their search. This feature is idealized and implemented by the BA to optimization problems. This ide- alized idea of bats is that they generate sound waves with some given frequencies and pulse rates. When they tend to get close to its prey, the pulse rate increases, while the loudness decreases. BA algorithm mimics this idea, i.e., the design parameters are the bat position and the prey is the objective. In this way, it is possible to say that the BA tries to merge the main features of two different optimization algorithms: the Par- ticle Swarm Optimization (PSO) and the Simulated Annealing (SA), as shown in [1]. This paper not only investigates the BA ability for mono-objective optimization problems, but also pro- poses a BA extension to multiobjective tasks. A Brushless DC (BLDC) Motor Wheel Optimization Problem, an already well known problem [2], is used as benchmark for the mono-objec- tive and multiobjective optimization problem. To extend the BA algorithm for multiobjective optimization tasks, some algorithm of the classic Non-Dominated Sorting Genetic Algorithm—Version II (NSGA-II) are merged in BA context. NSGA-II is one of the most efficient multiobjective al- gorithms, with several applications in a lot of application done in electromagnetic problems, for instance an induction motor, as shown in [4]. In general, the use of the Fast Non-Dominated and crowding distance assignment procedures guarantees an elitist and effi- cient way to make the selection procedure. In the following sec- tions a best overview of the mono BA and multi BA are given, besides the BLDC Motor problem is used as benchmark, whose optimization results are presented and compared with other al- gorithms, as shown in [2]. Manuscript received July 06, 2011; revised October 25, 2011; accepted November 04, 2011. Date of current version January 25, 2012. Corresponding author: L. Lebensztajn (e-mail: [email protected]). Digital Object Identifier 10.1109/TMAG.2011.2176108 II. BRUSHLESS DC MOTOR OPTIMIZATION BENCHMARK BLDC Motors are a well known and widely studied applica- tion, and in this context offers a lot of results to be compared. Some of these deals with the shape optimization by response surface method [7], or multiobjective as decreasing of cogging torque and increasing of torque as objectives by 3D Equivalent Magnetic Circuit Network Method [8], or by genetic algorithm in [9]. The analyzed problem has a Matlab model, which can be taken in [2] for research proposes, where 78 nonlinear equa- tions are implemented with 5 design variables and 6 constraints to optimize in monobjective case, or with 5 constraints in mul- tiobjective case. This mathematical model can be completely depicted in [5]. The problem consists to design a Brushless DC Wheel Motor by maximizing the efficiency with five optimization param- eters: bore stator diameter , magnetic induction in the air gap , current density in the conductors , magnetic induc- tion both in the teeth and back iron , while respect some constraints involving the: total mass , inner diam- eter , magnetics maximum current and tempera- ture and, finally the determinant used in the slot height calculation and which depends on 5 design parameters (1) For the BLDC multiobjective counterpart, the total mass con- straint is turned to a minimization objective. III. THE MONO-OBJECTIVE BA Fig. 1 presents the proposed BA implementation pseudocode for the mono-objective approach. For a prescribed iteration (t), a set of bats is generated. Each bat is defined by your position , velocity , frequency , loudness 0018-9464/$31.00 © 2012 IEEE

Transcript of Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

Page 1: Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

IEEE TRANSACTIONS ON MAGNETICS, VOL. 48, NO. 2, FEBRUARY 2012 947

Bat-Inspired Optimization Approach for the Brushless DC Wheel MotorProblem

Teodoro C. Bora�, Leandro dos S. Coelho���, and Luiz Lebensztajn�

Graduação em Engenharia de Controle e Automação, Pontifícia Universidade Católica do Paraná, PR 80215-901, BrasilLaboratório de Automação e Sistemas, PPGEPS-PUCPR, Pontifícia Universidade Católica do Paraná, PR 80215-901, Brasil

Departamento de Engenharia Elétrica, Universidade Federal do Paraná, PR 80215-901, BrasilLaboratório de Eletromagnetismo Aplicado, Escola Politécnica da Universidade de São Paulo, SP 05508-900, Brasil

This paper presents a metaheuristic algorithm inspired in evolutionary computation and swarm intelligence concepts and fundamen-tals of echolocation of micro bats. The aim is to optimize the mono and multiobjective optimization problems related to the brushlessDC wheel motor problems, which has 5 design parameters and 6 constraints for the mono-objective problem and 2 objectives, 5 designparameters, and 5 constraints for multiobjective version. Furthermore, results are compared with other optimization approaches pro-posed in the recent literature, showing the feasibility of this newly introduced technique to high nonlinear problems in electromagnetics.

Index Terms—Brushless machines, evolutionary computation, optimization.

I. INTRODUCTION

T HE BAT ALGORITHM (BA) is a very interesting ap-proach recently proposed by Yang [1]. It is based on the

nature behavior of micro bats when looking for food. These batsuse echolocation to guide their search. This feature is idealizedand implemented by the BA to optimization problems. This ide-alized idea of bats is that they generate sound waves with somegiven frequencies and pulse rates. When they tend to get close toits prey, the pulse rate increases, while the loudness decreases.BA algorithm mimics this idea, i.e., the design parameters arethe bat position and the prey is the objective.

In this way, it is possible to say that the BA tries to merge themain features of two different optimization algorithms: the Par-ticle Swarm Optimization (PSO) and the Simulated Annealing(SA), as shown in [1]. This paper not only investigates the BAability for mono-objective optimization problems, but also pro-poses a BA extension to multiobjective tasks. A Brushless DC(BLDC) Motor Wheel Optimization Problem, an already wellknown problem [2], is used as benchmark for the mono-objec-tive and multiobjective optimization problem.

To extend the BA algorithm for multiobjective optimizationtasks, some algorithm of the classic Non-Dominated SortingGenetic Algorithm—Version II (NSGA-II) are merged in BAcontext. NSGA-II is one of the most efficient multiobjective al-gorithms, with several applications in a lot of application donein electromagnetic problems, for instance an induction motor,as shown in [4].

In general, the use of the Fast Non-Dominated and crowdingdistance assignment procedures guarantees an elitist and effi-cient way to make the selection procedure. In the following sec-tions a best overview of the mono BA and multi BA are given,besides the BLDC Motor problem is used as benchmark, whoseoptimization results are presented and compared with other al-gorithms, as shown in [2].

Manuscript received July 06, 2011; revised October 25, 2011; acceptedNovember 04, 2011. Date of current version January 25, 2012. Correspondingauthor: L. Lebensztajn (e-mail: [email protected]).

Digital Object Identifier 10.1109/TMAG.2011.2176108

II. BRUSHLESS DC MOTOR OPTIMIZATION BENCHMARK

BLDC Motors are a well known and widely studied applica-tion, and in this context offers a lot of results to be compared.Some of these deals with the shape optimization by responsesurface method [7], or multiobjective as decreasing of coggingtorque and increasing of torque as objectives by 3D EquivalentMagnetic Circuit Network Method [8], or by genetic algorithmin [9].

The analyzed problem has a Matlab model, which can betaken in [2] for research proposes, where 78 nonlinear equa-tions are implemented with 5 design variables and 6 constraintsto optimize in monobjective case, or with 5 constraints in mul-tiobjective case. This mathematical model can be completelydepicted in [5].

The problem consists to design a Brushless DC Wheel Motorby maximizing the efficiency with five optimization param-eters: bore stator diameter , magnetic induction in the airgap , current density in the conductors , magnetic induc-tion both in the teeth and back iron , while respectsome constraints involving the: total mass , inner diam-eter , magnetics maximum current and tempera-ture and, finally the determinant used in the slotheight calculation and which depends on 5 design parameters

(1)

For the BLDC multiobjective counterpart, the total mass con-straint is turned to a minimization objective.

III. THE MONO-OBJECTIVE BA

Fig. 1 presents the proposed BA implementation pseudocodefor the mono-objective approach. For a prescribed iteration (t), aset of bats is generated. Each bat is definedby your position , velocity , frequency , loudness

0018-9464/$31.00 © 2012 IEEE

Page 2: Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

948 IEEE TRANSACTIONS ON MAGNETICS, VOL. 48, NO. 2, FEBRUARY 2012

Fig. 1. Proposed mono-objective BA pseudocode based on [1].

and the rate of pulse emission . In order to tune the fre-quency, and are defined as lower and upper boundemission frequency. is a bat position, which can be one takenrandomly among the best solutions or from the entire popula-tion. Finally, and are parameters to be set before the run. Inthis work, their values are assigned to 0.9, for both cases. Thevariable is the same of in (4), but after the use of (5), itis stored in the same memory position but denoted, mathemat-ically as only to avoid misunderstand. The variableis the current global best location, which is located after com-paring all the solutions among all the bats.

One can realize that the proposed algorithm uses the samedynamics of a Particle Swarm Optimization (PSO) [10], but theloudness and rate of pulse make the BA works like the stan-dard PSO combined with an intensive local search, as given in[1], which is very similar to some SA [11] approaches for localsearch

(2)

(3)

(4)

(5)

(6)

IV. PROPOSED MULTIOBJECTIVE BA

The mono-objective BA seems to have together the gooddynamic of PSO with the intensive local search of SA. In themultiobjective optimization framework the tradeoff betweenexploitation and exploration is even harder to be handled.NSGA-II is the most important genetic algorithm in this con-text because is able to do this balance with a cheap, in relationto other algorithms of the same kind, computation time inan elitist structure. So, the idea is to merge a mono-objectivealgorithm (BA) in the multiobjective environment (NSGA-II).

Fig. 2. The proposed multiobjective BA pseudocode.

So, the main procedures in NSGA-II to maintain diversityand execute an elitist selection in acceptable processing timeare maintained, i.e., the fast non-dominating sort and crowdingdistance assignment are adapted in BA algorithm.

The proposed multiobjective BA follows the pseudocode pre-sented in Fig. 2. It is possible to say that it is based on themono-objective BA with the selection structure of the NSGA-II.In this way, it allows to provide the multiobjective optimiza-tion problem the both good features of these algorithms, i.e.,the good and fast convergence of BA and the parameter freeNSGA-II operators to ensure elitism and diversity.

It is also important to note that there are many ways in which asolution should dominate or not any other one in the same pop-ulation. The multiobjective BA uses Fast non-dominating sortalgorithm, i.e., the same dominance NSGA-II criterion. Thus asolution is said to dominate another solution if, andonly if both of the following conditions are satisfied:

(7)where and are some given solution vectors in thesearch space, , is the objective functionof the ones. Finally operator denotes that the solution

is better (minor or greater for minimization/maximization)than for some objective.

The proposed selection for the BA multiobjective algorithmis shown in Fig. 3 and implies in a two stage procedure: (i) firstranks enough to complete the future generation are selected, and(ii) the last rank selected is cropped such that only the solutionmore distant of others are selected to next generation. The firststage guarantees the exploitation, while the second one tries tomaintain diversity in the next population.

Page 3: Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

BORA et al.: BAT-INSPIRED OPTIMIZATION APPROACH FOR THE BRUSHLESS DC WHEEL MOTOR PROBLEM 949

Fig. 3. NSGA-II selection structure implemented in BA.

Fig. 4. NSGA-II vs Multi-BA for ZDT1.

TABLE IMULTIOBJECTIVE BA VS NSGA-II—30 RUNS—ZDT1 FUNCTION

V. THE OPTIMIZATION PROBLEM AND RESULTS

Before deal with a real-world problem, we will analyze abenchmark optimization problem, proposed by Deb [3]: thefunction ZDT1, as given in (8).

The multiobjective problem was also run 30 times, with 250generation and 100 bats and the results are shown in Table I.

(8)

Both algoritms were run with 100 individuals and 300 itera-tions. One can observe that both methods are able to attain the

TABLE IITHE OPTIMIZATION RESULTS FROM [2] AND THE BAT ALGORITHM (BA)

TABLE IIITHE MONO-OBJECTIVE CASE USING BA IN 30 RUNS (BEST RESULTS)

TABLE IVTHE MULTIOBJECTIVE CASE USING BA IN 30 RUNS (BEST RESULTS)

theoretical Pareto-set of this problem. As expected the multi-BAhas a worst spread due to its harmonic solution pursuit charac-teristic.

In this work the BLDC motor problem is also optimized.The corresponding scripts of objective functions are providedin [2] for research purposes. The analytical problem model has78 non-linear equations. Electric, magnetic and thermal phe-nomena are taken into account.

Table II shows a comparison between several algorithms forthe mono-objective problem, where the result presented for theBA in the best found after 30 runs. The metrics for these BA’sruns are presented in Table III. The mean of the best results givesan efficiency of 95.2% which is very close to the best result.The ratio standard deviation-mean for the efficiency is also verysmall, as can be observed in Table III. Even though the best effi-ciency found is not the best one, the constraint handle was wellperformed by penalty in the BLDC motor design. This featurecan be modified by the adjustment of run parameters (maximumfrequency, and constants) or penalty coefficients.

The multiobjective problem was also run 30 times, with 250generation and 100 bats. The results are shown in Table IV,where the best harmonic feasible solution of all run is presented.Fig. 5 shows the Pareto’s front after one of these runs by usingthe Bat Algorithm (BA) in the proposed multiobjective version.The same problem was solved by the NSGA-II and Fig. 6 showsthe Pareto set.

It is interesting to compare BA with the original NSGA-II,given their correlation discussed before. For this purpose, wewill analyze one of the solutions: the best harmonic feasible

Page 4: Bat-Inspired Optimization Approach for the Brushless DC Wheel Motor Problem

950 IEEE TRANSACTIONS ON MAGNETICS, VOL. 48, NO. 2, FEBRUARY 2012

Fig. 5. The multiobjective case: The Pareto front for BA+NSGAII.

Fig. 6. The multiobjective case: the Pareto front for the NSGA-II.

solution, which is given by the one closest to the harmonic meanof all solution in the Pareto frontier. The harmonic mean couldbe calculated with respect to the mass or to the efficiency.

Table V shows the best harmonic solution for both methods,after 30 runs. In first case the minor mass solution is taken, andit gets clear that NSGA-II found a harmonic solution with bestweight than BA. In the second case, the efficiency was empha-sized and in this context BA performed better, but with a greatermass, as expected. Also the multiobjective solution, particularlyfor BA, seems to have a good quality, i.e., Pareto set also showshigh diversity.

VI. CONCLUSION

The BA approach is a new approach for optimization prob-lems which seems to be a robust tool. In addition, regarding tothe analyzed problem, it is also possible to state that BA is com-petitive when its results are compared against several traditionalmultiobjective optimization methods. It could be explained bythe fact that it merges some features of two different optimiza-tion algorithms: PSO and SA. It has shown a good performance

TABLE VTHE MULTIOBJECTIVE CASE USING BA IN 30 RUNS

in both analyzed multiobjective optimization problems, mergingthe features of PSO, SA and NSGA-II has also provided a highquality Pareto Front.

The results show a good trend for the mono-objective BA: theefficiency is always close to 95.23% when solving the BLDCmotor problem. This result is, of course, dependent of param-eter tuning. This fact is extended for all this kind of stochasticalgorithms like PSO and SA. At the same time, no general ruleexists, as given by the No-Free Lunch Theorem. In this context,a lot of self-tuning techniques have been proposed, as for in-stance, for Tabu Search in [6] or Simulated Annealing [11].

REFERENCES

[1] X. S. Yang, “A new bat-inspired algorithm,” Nature Inspired Coop-erative Strategies for Optimization (NICSO 2010), vol. 284, Springer,Studies Computational Intelligence, pp. 65–74, 2010.

[2] Benchmark [Online]. Available: http://l2ep.univ-lille1.fr/come/bench-mark-wheel-motor/Math.htm

[3] K. Deb, Multi-Objective Optimization Using Evolutionary Algo-rithms. New York: Wiley-Interscience Series Systems and Optimiza-tion, 2001.

[4] J. Le Besnerais, V. Lanfranchi, M. Hecquet, and P. Brochet, “Mul-tiobjective optimization of induction machines including mixed vari-ables and noise minimization,” IEEE Trans. Magn., vol. 44, no. 6, pp.1102–1105, 2008.

[5] S. Brisset and P. Brochet, “Analytical model for the optimal design ofa brushless DC wheel motor,” COMPEL: Int. J. Comput. Math. Elect..Electron. Eng., vol. 24, no. 3, pp. 829–848, 2005.

[6] A. Fanni, A. Manunza, M. Marchesi, and F. Pilo, “Tabu search meta-heuristics for electromagnetic problems optimization continuous do-mains,” IEEE Trans. Magn., vol. 35, no. 3, pp. 1694–1697, 1999.

[7] P. S. Shin, H.-D. Kim, G.-B. Chung, H. S. Yoon, G.-S. Park, and C. S.Koh, “Shape optimization of large-scale BLDC motor using an adap-tive RSM utilizing design sensitivity analysis,” IEEE Trans. Magn., vol.43, no. 4, pp. 1653–1656, 2007.

[8] Y. D. Chun, S. Wakao, T. H. Kim, K. B. Yang, and J. Lee, “Multiobjec-tive design optimization of brushless permanent magnet motor using3D equivalent magnetic circuit network method,” IEEE Trans. Appl.Supercond., vol. 14, no. 2, pp. 1910–1913, 2004.

[9] K.-J. Han, H.-S. Cho, D.-H. Cho, and H.-K. Yung, “Optimal core shapedesign for cogging torque reduction of brushless DC motor using ge-netic algorithm,” IEEE Trans. Magn., vol. 36, no. 4, pp. 1927–1931,2006.

[10] U. Baumgartner, C. Magele, and W. Renhart, “Pareto optimality andparticle swarm optimization,” IEEE Trans. Magn., vol. 40, no. 2, pp.1172–1175, 2004.

[11] S. Yang, J. M. Machado, N. Guangzheng, S. L. Ho, and P. Zhou, “Aself-learning simulated annealing algorithm for global optimizationsof electromagnetic devices,” IEEE Trans. Magn., vol. 36, no. 4, pp.1004–1008, 2000.