[IEEE International Symposium on Power Electronics, Electrical Drives, Automation and Motion, 2006....

5
SPEEDAM 2006 International Symposium on Power Electronics, Electrical Drives, Automation and Motion 1-4244-0194-1/06/$20.00 ©2006 IEEE Abstract--In this paper an application of the multi-objective genetic algorithm NSGA-II to synthesize a power electronic converter is described. The formal approach and the routines for synthesis are developed. As an example, a flyback converter is synthesized for minimum diode and transistor losses. The results are compared with brute-force simulation and show an exact match, but with 2.5 less simulation time. The bottlenecks of the optimization process are explored and acceleration techniques are introduced. Index Terms--circuit optimization, genetic algorithms, modeling, power converter, simulation. I. INTRODUCTION Existing power converter design techniques incorporate computer-aided (CAD) tools aiming at reducing prototyping time. Those tools usually consist of a library set and a numerical simulator. A designer performs a simulation and checks whether the results are fulfilling his specifications. If it is not the case, the designer manually changes the converter parameters and repeats the simulation again. Obviously, the abovementioned design process is inefficient in terms of time. Briefly, CAD tools allow performing analysis, but synthesis is still a challenge. A better approach is to exclude manual tasks from the design process as far as possible. But the current CAD tools are not powerful enough to perform the total synthesis automatically. In this paper the issue of power converter computer- aided synthesis is addressed and possible improvements are presented. A common assignment for power converter design is to find the values of the components to fulfill design requirements. Similar studies have been performed in the field of electric drives [3,4]. In power electronics values of the components are available from standard lists, e.g. E12, E24, etc. It means that the choice space of the parameters is discrete. Also, certain restrictions on the output voltages and currents should be considered, for example, the average value of the output voltage is constant and the output filter ripple voltage is specified [6]. To illustrate the abovementioned, a specific converter is considered, which is simple, but illustrative enough to allow good insight in the problem. The flyback converter (see Fig. 1) is used as an example to show application of genetic algorithm techniques as a tool for synthesis. This work was supported by SenterNovem within the IOP EMVT research program. II. FORMULATION OF THE OPTIMIZATION ASSIGNMENT A typical design assignment is to minimize the size of the converter. This means that the total losses in the transistor and diode should be minimal to reduce the area of the heatsinks. The values of inductor 1 L and filter capacitor 1 C are design parameters. They are varied within a certain range in order to obtain the desirable losses. The models of the inductor and capacitor include equivalent series resistance, which is a function of the capacitances and inductances with quality factor Q . The input and output voltages are specified, and, at the same time, the converter should maintain an acceptable level of the output ripple. A standard practice for the flyback is to employ a PWM control scheme to stabilize the output. The abovementioned assignment is a constrained multi-objective minimization problem. It is formulated as finding minimal transistor and diode losses, 1 D P and 1 T P simultaneously, considering 1 L and 1 C as the varying parameters. Overall, the output voltage and output ripple should be maintained within the given specification. V1=100V C1=100...1000uF R1=50 Ohm Esr C1=65*(10E-6)/C1 Esr L1=L1*(10E-5)/Q L1=75...750uH Q=20 T1 STD2NB70 D1 BYV27-200 Duty cycle control Vo=50V Feedback path Fig. 1. Sample flyback converter. In formal notation: 1 1 min max min max , 1 [ ] min 1 [ ] ; D T o o specified P P L L L C C C V const V V = Δ ≤Δ (1) where: 1 1 , D T P P - power dissipated in 1 T and 1 D , 1, 1 L C - adjusted components, min max min max , , , L L C C - boundary values of the components. Multi-Objective Optimization of Power Converters Using Genetic Algorithms D.V. Malyna, J.L. Duarte, M.A.M. Hendrix, F.B.M. van Horck Technical University of Eindhoven, 5600MB Eindhoven, The Netherlands S27 - 6

Transcript of [IEEE International Symposium on Power Electronics, Electrical Drives, Automation and Motion, 2006....

SPEEDAM 2006 International Symposium on Power Electronics, Electrical Drives, Automation and Motion

1-4244-0194-1/06/$20.00 ©2006 IEEE

Abstract--In this paper an application of the multi-objective genetic algorithm NSGA-II to synthesize a power electronic converter is described. The formal approach and the routines for synthesis are developed. As an example, a flyback converter is synthesized for minimum diode and transistor losses. The results are compared with brute-force simulation and show an exact match, but with 2.5 less simulation time. The bottlenecks of the optimization process are explored and acceleration techniques are introduced.

Index Terms--circuit optimization, genetic algorithms, modeling, power converter, simulation.

I. INTRODUCTION

Existing power converter design techniques incorporate computer-aided (CAD) tools aiming at reducing prototyping time. Those tools usually consist of a library set and a numerical simulator. A designerperforms a simulation and checks whether the results are fulfilling his specifications. If it is not the case, the designer manually changes the converter parameters and repeats the simulation again. Obviously, the abovementioned design process is inefficient in terms of time. Briefly, CAD tools allow performing analysis, but synthesis is still a challenge. A better approach is to exclude manual tasks from the design process as far as possible. But the current CAD tools are not powerful enough to perform the total synthesis automatically.

In this paper the issue of power converter computer-aided synthesis is addressed and possible improvements are presented. A common assignment for power converter design is to find the values of the components to fulfill design requirements. Similar studies have been performed in the field of electric drives [3,4]. In power electronics values of the components are available from standard lists, e.g. E12, E24, etc. It means that the choice space of the parameters is discrete. Also, certain restrictions on the output voltages and currents should be considered, for example, the average value of the output voltage isconstant and the output filter ripple voltage is specified [6].

To illustrate the abovementioned, a specific converter is considered, which is simple, but illustrative enough to allow good insight in the problem. The flyback converter (see Fig. 1) is used as an example to show application of genetic algorithm techniques as a tool for synthesis.

This work was supported by SenterNovem within the IOP EMVT

research program.

II. FORMULATION OF THE OPTIMIZATION ASSIGNMENT

A typical design assignment is to minimize the sizeof the converter. This means that the total losses in the transistor and diode should be minimal to reduce the area of the heatsinks.

The values of inductor 1L and filter capacitor 1C are design parameters. They are varied within a certain range in order to obtain the desirable losses. The models of the inductor and capacitor include equivalent series resistance, which is a function of the capacitances and inductances with quality factor Q . The input and output

voltages are specified, and, at the same time, the converter should maintain an acceptable level of the output ripple. A standard practice for the flyback is to employ a PWM control scheme to stabilize the output.

The abovementioned assignment is a constrained multi-objective minimization problem. It is formulated as finding minimal transistor and diode losses,

1DP and 1TP

simultaneously, considering 1L and 1C as the varying parameters. Overall, the output voltage and output ripple should be maintained within the given specification.

V1=100V

C1=100...1000uF

R1=50 Ohm

Esr C1=65*(10E-6)/C1Esr L1=L1*(10E-5)/Q

L1=75...750uHQ=20

T1STD2NB70

D1BYV27-200

Duty cyclecontrol

Vo=50V

Feedback path

Fig. 1. Sample flyback converter.

In formal notation:

1 1

min max

min max

,

1 [ ]min

1 [ ]

;

D T

o o specified

P P

L L L

C C C

V const V V

⎧⎪

∈⎪⎨

∈⎪⎪ = Δ ≤ Δ⎩

(1)

where:

1 1,D TP P - power dissipated in 1T and 1D ,

1, 1L C - adjusted components,

min max min max, , ,L L C C - boundary values of the

components.

Multi-Objective Optimization of Power Converters Using Genetic Algorithms

D.V. Malyna, J.L. Duarte, M.A.M. Hendrix, F.B.M. van Horck Technical University of Eindhoven, 5600MB Eindhoven, The Netherlands

S27 - 6

The assignment was solved by original routines [2],which were developed by the authors (Fig. 2). As the starting point the designer should manually provide a schematic netlist and the optimization assignment. Then the periodic steady-state of the converter is found, and electrical losses are calculated [6].

Netlist file *.net

Optimizationassignment

Acceleratedelectrical

simulation

Uo=50V?Control parameter

variationNetlist

manipulation

Variation of thevariables

Nruns=Nrqst?

Final results

yes

no

no

yes

Fig. 2. Flow diagram of the optimization process.

The simulator uses piece-wise linear resistive models for the switches. The routines show a 7 to 30 times speed up compared to sequential period-by-period simulators [2].

A visualization of an arbitrary state-space variable response is shown in Fig. 3. For loss calculation the steady-state is the only relevant part. Fig. 3 illustrates the acceleration principle of the steady state determination.

Accelerationalgorithm

Steady-state

x

tFig. 3. Accelerated steady-state determination.

When the steady state is achieved, the state vectorvalue at the beginning of the period is equal to the state vector value at the end of the period, as summarized by

( , ) 0T − =0 0f x x . (2)

The Newton-Raphson algorithm with analytically formulated Jacobians [2] was used for solving (2).

The control action is incorporated in the simulation as well (see Fig. 4). Simply stated, if the component variation leads to a change of the output voltage, the simulator performs an adjustment of the duty cycle D , in order to solve a non-linear algebraic equation with single variable

( )oU f D= , (3)

At this stage, only the input-output behavior of the converter is considered.

ConverterD 0U 0Uδ

0refU+

-

iU

Fig. 4. Power converter without control.

The output equation (see Fig. 4)

0 0 0 ( )ref

U U U f Dδ = − = (4)

where:

0U - actual output voltage,

refU - reference output voltage

is solved numerically in an iterative way by the secant method [7]. The value of the duty cycle for the next iteration is determined by

11 0

0 0 1

( )( ) ( )

n nn n n

n n

D DD D U D

U D U Dδ

δ δ−

+

−= − ⋅

− (5)

where

1 1, ,n n nD D D− +- denote the values of the duty cycle of

the previous, current and following iterations of the algorithm respectively, and

0Uδ - is the error signal for the respective duty cycle.

The iterations are repeated till the termination criteria is not satisfied:

0

0ref

U

U

δε≤ , (6)

where ε is the tolerance of the control. The control action is presented in the flowchart of Fig. 5.

D=Do

Start

Simulation of theconverter

See formula 6

D(n+1)=…see formula 5

Stop

no

yes

Fig. 5. Flowchart of the duty cycle adjustment routine.

S27 - 7

A number of tests performed over the whole range ofthe variables 1, 1L C showed that the iterative method for determination of the steady-state converged in 4-8 iterations.

Finally, when the required steady-state is found, conduction losses in all resistive branches of the circuit are calculated. Further on, prediction of the switching losses [6] is also performed.

III. BRUTE-FORCE APPROACH

In order to get detailed information on the problem, brute-force simulations over the feasible componentrange were performed. Equally spaced points, 16 in total, were chosen from each of the component ranges

[ ]min max1L L L∈ … and [ ]min max1C C C∈ … . Component

pairs were picked-up one by one from the [ ]1, 1L C set.

The steady-state search was performed and the objective functions calculated. Finally, the boundary condition, i.e. output ripple, was considered. If the boundary condition was not fulfilled, the LC-pair was excluded from the feasible design set.

The resulting range of the diode losses is found to be 50 mW and the transistor loss spans 200mW range (see Fig. 6). The converter has a single optimal point within

the 16x16 grid, that is 1

1

1 255 929

1 760 795D

T

L H P mW

C F P mW

μ

μ

= =⎧ ⎫⎨ ⎬

= =⎩ ⎭.

This non-dominated point is marked by the diamond. The points with the higher losses in the top-right corner of the Fig. 6 correspond to discontinuous conduction mode.

The routines were implemented in MATLAB 7.0 environment and the simulation time was 163 minutes on an AMD64-3000+ CPU-based PC system.

0.925 0.93 0.935 0.94 0.945 0.95 0.955 0.96 0.965 0.97 0.9750.75

0.8

0.85

0.9

0.95

1

Diode losses [W]

Tra

nsi

sto

r lo

sse

s [W

]

Non-dominated set

Fig. 6. Feasible objective space.

IV. GENETIC ALGORITHM (GA) APPROACH

The brute-force approach resulted in heavy simulation overhead. If a higher precision is required, one should use a denser grid. But in case of a denser grid the situation becomes even worse. As already mentioned before, a GA technique has been applied to tackle the problem.

When an optimization problem involves more than one objective function, the task of finding one or more optimum solutions is known as multi-objective optimization.

A number of studies [1,3] report the Non-Dominated Sorting Genetic Algorithm of the second generation (NSGA-2) [1] as being the most efficient at the present time. The NSGA-II was therefore implemented in MATLAB; the routines were developed in such way that it is possible to handle any general multi-objective optimization problem.

Contrary to a single-objective optimization problemsolution a multi-objective optimization problem solver produces a set of points, rather than a single point. The mentioned curve, which is called a Pareto front, represents a trade-off solution between several objectives.

The Pareto front of the problem in Section II consists of a single point because of the problem nature andchosen grid. At the same time, NSGA-II requires an even number of population points.

Each GA includes several major operations [5]: selection, crossover and mutation. The selection operator picks up the best solutions from the population, thus pushing the search towards optimum. The crossover operation combines two members of the population and generates two offspring. The mutation operator randomly generates a point, thus exploring all regions of the search space.

With only two points in the population crossover, operations will not be strong enough to push searching in a correct direction. However, the number of points should be small enough to keep the number of simulations less than 256 converter simulations of the brute-force approach. A genetic algorithm usually runs for a certain number of times, tending to approach a Pareto front. The number of simulations plays a key role here as well. On one hand it should be as low as possible, but on another hand a good approximation of the front is required. A trade-off number of 25 runs was found experimentally. Thus, in our particular case the GA has 4 members and 25 runs. This means in total 4 25 100× = converter evaluations, leading to the results in Fig. 7.

The boundary conditions are considered as well. Theonly difference from the brute-force approach is that in order to avoid too much non-mutation random points, the values of the objective functions are penalized, instead of excluding them from the solutions pool. The approach described in [4] was used. A constraint violation

( )0 0if 0

0 otherwise

specified specifiedV V V Vw

⎧ Δ − Δ Δ − Δ <⎪= ⎨⎪⎩

(7)

is multiplied with scaling factors R and the product is added to each objective function value according to

( ) ( ) w= + ⋅F x f x R . (8)

where x is a vector of state variables and ( )f x are the

objective functions.

S27 - 8

The function F takes into account the constraint violations. For a feasible solution the corresponding w is zero. In contrary, for non-feasible solution the fitness Fis degraded, thus pushing the reproduction probability of the solution down.

0.9292 0.9294 0.9296 0.9298 0.93 0.9302 0.9304 0.9306 0.9308 0.931 0.93120.7944

0.7946

0.7948

0.795

0.7952

0.7954

0.7956

0.7958

Diode losses [W]

Tra

nsi

sto

r lo

sse

s [W

]

Non-dominated set

2nd non-dominated set

3rd non-dominated set

4th non-dominated set

Fig. 7. Non-dominated sets obtained by NSGA-2.

As it can be seen from Fig. 7 the non-dominated point

is exactly the same: 1

1

1 255 929

1 760 795D

T

L H P mW

C F P mW

μ

μ

= =⎧ ⎫⎨ ⎬

= =⎩ ⎭.

Three other points belong to 2nd, 3rd and 4th non-dominated sets respectively.

To summarize, the same results were obtained in 63 minutes at a cost of 100 converter evaluations instead of 256.

In case of our specific assignment the converter isoperating in continuous conduction mode, thus disproving the statement that the optimum operationpoint is always in discontinuous conduction mode.

V. ACCELERATION OF THE OPTIMIZATION PROCESS

A study was performed in order to determine the “bottlenecks” of the algorithm (see Fig. 8). As it is evident from Fig.8, the numerical integration and calculation of power dissipation are the most time-consuming operations.

3800

2050

1595

8

147

0 500 1000 1500 2000 2500 3000 3500 4000

Total

Simulation

Power calculation

Accelerated algorithm

Other

Ro

uti

ne

Execution time, [s]

Fig. 8. Execution time of the routines.

A number of works report the Non-Dominated Sorting being the most time consuming operation. This is a valid statement in case where the objective function is an algebraic equation, which can be calculated very fast. But in our case the objective functions are calculated by simulating the power converter. The execution speed of the GA can therefore be neglected. For example, Non-Dominated Sorting was performed during 0.078 seconds (0.002% of the total time).

A special method was developed to accelerate the steady-state determination (see Fig. 3). As one can see, the simulation is started from zero initial conditions and it takes quite a number of sequential simulations to achieve the steady-state. Another possibility is to accumulate the information about the converter in a database, and then to use this information in the simulation process. An intelligent guess could be easily made from Fig. 3. The instantaneous values of state-space variables are being stored together with the component values and the duty cycle D .

After creation of new values for the search variables 1, 1L C by the genetic algorithm the closest point k in the

database is picked up according to 2 2* *

1max max

1 1 1 1index min

1 1i i

i N

L L C Ck

L C=

⎡ ⎤⎛ ⎞ ⎛ ⎞− −⎢ ⎥= +⎜ ⎟ ⎜ ⎟⎢ ⎥⎝ ⎠ ⎝ ⎠⎣ ⎦…

, (9)

where: 1 , 1i iL C - values of the variables, stored in the database,

* *1 , 1L C - values of the variables, created by the genetic

algorithm, for which the search is performed,

max max1 , 1L C - feasible maximum values,

N - size of the database. The initial conditions are picked up from the database

(see Fig. 9) and are used as initial conditions * ( )k=x x , * ( )D D k= (10)

for finding the steady-state during the converter simulation.

L1 C1 D { }1 1,L Ci ux

variables independentcontrol

parameter

instantaneousstate-space

values

Gro

ws

with

ea

ch G

A r

un

1

2

3

4

5

i

N

Fig. 9. Database, used for the bookkeeping.

S27 - 9

The optimization was performed by using the abovementioned technique. In total the simulation time decreased to 1200 seconds (20 minutes) in contrary to 3800 seconds (63 minutes) before. This means a improvement of 3.17 times over the case without thedatabase. The detailed results of the simulations for each particular part of the algorithm are summarized in Table I.

TABLE I COMPARISON OF THE RESULTS WITH AND WITHOUT THE

BOOKKEEPING

The adjustment of the duty cycle with the bookkeeping occurs not for every evaluation of the objective function. In most cases the database value of D is already close enough to satisfy the allowable output voltage criteria. However, it takes more computational effort for the duty cycle search routine to determine the correct value of the duty cycle.

The number of sequential simulations to achieve theduty cycle decreased as well. But the algorithm discovered a slightly different optimal point

1

1

1 255 934

1 940 798D

T

L H P mW

C F P mW

μ

μ

= =⎧ ⎫⎨ ⎬

= =⎩ ⎭.

The relative error in the objective functions is less than 1%. This is explained by slightly different initialconditions used for the simulations. However, the difference in the component values is big. The synthesized converter has the same value of the inductance, but a very large variation in the capacitor value C1. Hence the sensitivity of C1 on the losses is small. This effect is understandable because the average output voltage is regulated and the ripple voltage (a few percent of the average value) only marginally effects the conduction time of the diode. Hence, the losses are also weakly dependent on the capacitor value. This means that extra measures are required to deal with tolerances.

VI. CONCLUSIONS

The multi-objective optimization problem was solvedby applying brute-force and GA. The same optimum converter design was found by both approaches. The brute-force method resulted in 256 steady-state simulations. In contrary, the GA approach produced the same results with 100 simulations. The study showed a huge dependency of the optimization time on the simulation process over the GA itself. The proposedbookkeeping technique significantly reduced the simulation time. The major improvement is gained bychoosing a better value of the duty cycle. The error in objective functions between simulation with and without database is less than 1%. However the resulting component values are quite different. This points out the need for some measures to control small differences in the objective functions. The study showed the necessity to develop fast routines for calculations of the power dissipation.

REFERENCES

[1] K. Deb, A Pratap, S. Agarwal, T. Meyarin. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II, IEEE Transactions on Evolutionary Computation, Vol. 6, No. 2, April 2002.

[2] D.V. Malyna, J.L. Duarte, M.A.M. Hendrix, F.B.M. van Horck. A Comparison of Methods for Finding Steady-State Solution in Power Electronic Circuits, International Power Electronics and Motion Control Conference (IPEMC), Xi’an (China), August 2004.

[3] P. Kumar, D. Gospodaric, P. Bauer. An approach to optimisation of Permanent Magnet DC Motors, IEEE Young Researchers Symposium in Electrical Power Engineering, Delft (The Netherlands), 18-19 March 2004.

[4] J. Regnier, B. Sareni, X. Roboam, S. Astier. Optimal Design of Electrical Engineering Systems using Pareto Genetic Algorithms, EPE-2003.

[5] K. Deb. Multi-Objective Optimization Using Evolutionary Algorithms, 1st Edition. John Willey and Sons 2002.

[6] R. Erickson, D. Maksimovic, Fundamentals of Power Electronics, 2nd Edition, Kluwer Academic Publishers 2001.

[7] E. Kreyszig. Advanced Engineering Mathematics, 8th Edition. John Willey and Sons 1999.

Action Function calls

without database

Function calls

with database Ratio

Adjusting duty cycle 100 28 3.57

Search for steady state 632 224 2.82

Sequential period-by-

period simulations 4375 968 4.52

S27 - 10