Downloaded from orbit.dtu.dk on: Mar 22, 2019
Design Optimization of Printed Circuit Board Embedded Inductors through Genetic Algorithms with Verification by COMSOL
Madsen, Mickey Pierre; Mønster, Jakob Døllner; Knott, Arnold; Andersen, Michael A. E. Published in: Proceedings of the 2013 COMSOL Conference
Publication date: 2013
Link back to DTU Orbit
Citation (APA): Madsen, M. P., Mønster, J. D., Knott, A., & Andersen, M. A. E. (2013). Design Optimization of Printed Circuit Board Embedded Inductors through Genetic Algorithms with Verification by COMSOL. In Proceedings of the 2013 COMSOL Conference
General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Users may download and print one copy of any publication from the public portal for the purpose of private study or research. You may not further distribute the material or use it for any profit-making activity or commercial gain You may freely distribute the URL identifying the publication in the public portal If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim.
Design Optimization of Printed Circuit Board Embedded Inductors through Genetic Algorithms with Verification by COMSOL Mickey P. Madsen*, Jakob D. Mønster, Arnold Knott and Michael A.E. Andersen Technical University of Denmark, Department of Electrical Engineering, Electronics
*Corresponding author: Oersteds Plads 349, Kgs. Lyngby, 2800, Denmark, [email protected]
Abstract: This paper describes the implementation of a complete design tool for design, analysis, optimization and production of PCB embedded inductors. The papers shows how the LiveLink between MATLAB and COMSOL makes it possible to combine the scripting and calculation power of MATLAB with the simulation power of COMSOL in order to get an extremely efficient tool for inductor design. The tool has been used to investigate PCB embedded spiral, solenoid and toroidal inductors. Due to the fact that the spirals are axisymmetric they can be simulated in 2D, which speeds up the simulation significantly. This is not possible for the solenoid and toroid, hence complete 3D structure has been made and simulated for these structures. Keywords: Optimization, axisymmetric.
Inductor, LiveLink to
Passive energy storing elements constitute the major part of modern switch-mode power supplies (SMPS), both regarding size and price. The physical and numerical size of these, scales directly with the inverse of the switching frequency. The constant strive for smaller and cheaper power supplies has therefore let to constantly increasing switching frequencies ever since the development of the SMPS in the early 70’s. Recent research combines radio frequency (RF) circuits and power electronics to design SMPSs with switching frequencies in the Very High Frequency range (VHF, 30-300MHz) . This is a dramatic increase from the .1-5 MHz which traditional SMPS topologies are limited to due to switching losses. Several benefits arise from the increased switching frequency; higher power density, decreased cost, reduced weight and faster transient response -. The increased frequency however also leads to some new
challenges -. One of these challenges is the magnetic components. The core materials that are normally used to get high coupling in transformers and high inductance in inductors have high core losses at these frequencies. New core materials or ways of designing the magnetic components therefore has to be developed. The inductance needed at these frequencies are very low (~10-200nH) and the skin depth is 4-12 µm. Hence embedding these as air core inductors in the Printed Circuit Board (PCB), and thereby reduce the size and price of these even further, becomes a viable solution -. In order to keep the efficiency high at these highly elevated frequencies soft switching is essential, as hard switching would lead to breakdown of the semiconductors. A key parameter to achieve this is accurate inductance value. Formulas for these are all based on approximations leading to small deviations. As the inductance cannot be fine tuned once the PCB has been manufactured, Finite Element Analysis (FEA) becomes a very attractive way to insure that the circuit is correctly designed the first time.
2. System level
In order to design and produce the inductors a MATLAB program with a GUI has been designed, see figure 1. The program takes the production parameters and the desired inductance and size as input and uses a genetic algorithm and formulas to find parameters for the initial design. Then COMSOL is used to investigate the current distribution and magnetic fields and to verify the inductance and resistance. Once the design has been verified in COMSOL and any error has been corrected, a PCB file is generated directly from the same interface.
3. MATLAB optimization
The optimization routine is used to find the best inductor, within a given area. Best is defined
Figure 1. GUI of the MATLAB program, with the extracted simulation results from COMSOL via LiveLink for MATLAB.
as the required inductance the user needs, with the highest 𝑄𝑄 factor and with the lowest area, in that preferred order. The optimization routine is based on a genetic algorithm already implemented in MATLAB. The optimization parameters are the desired inductance, a maximum area and the Q factor. The Q factor is the relationship between the inductance and resistance, given by: 𝑄𝑄 = The inductor should have the highest possible Q factor and the desired inductance. This is achieved by having a cost function that the genetic algorithm minimizes. The genetic algorithm takes any number of inputs, with possibility to define the variable as an integer. Each variable is setup so a closer value to the desired will lower the cost function, and each variable is weighted according to the importance of that specific parameter. The cost function used is: 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 = 𝑎𝑎 ∙
𝐿𝐿 1 − 1 + 𝑏𝑏 ∙ + 𝑐𝑐 ∙ 𝐴𝐴 𝐿𝐿 𝑄𝑄
where 𝐿𝐿 is the desired inductance and 𝐴𝐴 is the area of the inductor. The weight factors used are shown in Table 1. Table 1. The weight factors used for the cost function.
The overall MATLAB program with the optimization routine is described by the flowchart shown in Figure 2.
To verify that the calculations used to derive the optimum structure and evaluate that the formulas in overall are usable the MATLAB program is used to interface to COMSOL via COMSOL LiveLink for MATLAB . The AC/DC module in COMSOL is used to simulate the three possible inductor structures. The AC/DC module gives possibility for extracting the inductance and resistance, which
are the desired parameters . A precondition for using the AC/DC module is that the length of the structure 𝑙𝑙, is much less than the wavelength of the frequency at which the system is simulated. That is: 𝑙𝑙 < 1 10 ∙ 𝜆𝜆 At VHF frequencies the wavelength is still in the range of a few meters, why the AC/DC module is a viable approximation to the system, as the structures are very small.
4.1 Design steps The COMSOL model is set up in five steps. Each are described here in detail. The program can simulate three different structures: A solenoid, a toroid and a spiral. The spiral is simulated in 2D to achieve faster simulation time. Examples of the three different structures are shown in Figure 3-5. LiveLink for MATLAB gives access to all the normal features of COMSOL with the scripting capabilities of MATLAB. In general five steps are used in the interface. 4.2 Step 1 – Generating the structure The structures are made by implementing the layers of the PCB in a z-shifted plane, and then extruding them. Cylinders are added as vias, and then subtracting smaller cylinders inside the other for the holes in the vias. This gives a very exact representation of the full 3D inductor structures . There is a short loop for the 2 connectors in the inductors, and between is made a gap. This is used when setting up the physics. At last the entire inductor is made into a union. During the generation of the structure, several selections are made, both with boxes and explicit. These are automatically updated if more structures are added in the process. The spiral is only modeled in an axisymmetric 2D model with infinite elements  to lower the simulation time. The two other structures are (unfortunately) not possible to split into an symmetry. The PCB’s dielectric material is not added to the model, as it does not influence the inductances and resistance of structure, and only will increase simulation time. If the parasitic capacitance or resonance frequency of the inductors is to be extracted from the simulation, this has to be added as it do influences the capacitance.
Figure 2. Flowchart of the MATLAB program, with the optimization routine and the COMSOL routine
Figure 3. Example of a solenoid inductor in 3D.
Figure 4. Example of a toroid inductor in 3D.
4.3 Step 2 – Setting up the physics The physics is based on the Magnetic Fields (MF) with a frequency domain study. The physic is set to work at the entire system expect the gap created between the terminals. This will introduce a small error but smaller than if the connectors were taken to the exterior of the bounding box. The surroundings are modeled as air, and the structure as copper. As the magnetic field is not guided by a core, there is added an infinite element to ensure the entire field is simulated within the bounding box’s boundaries. For exciting the inductor a “Single-turn coil” is used , with a voltage input. Furthermore the physics is set to linear, as this decreases the simulation time dramatically, and does not change the results. 4.4 Step 3 - Meshing As there is great difference between the overall size of the structure and the holes in the vias and the height of the copper traces, which have an even smaller skin-depth, the mesh must be customized to the structure. The structure is split in three. The inductor structure uses “Free Tetrahedrals” with the size set to “Extra fine”. Boundary layers is used to get the correct current density in the copper tracks,. The air is also meshed with “Free Tetrahedrals”, but with the size set to “Fine”. The infinity domain is swept with a simple distribution of 3 elements. This configuration gives a mesh quality of approximately 0.7. 4.5 Step 4 – Study setup The study is set up to use a frequency domain. The standard stationary solver is changed to use a SOR solver instead of the Multigrid, as the system is set to linear. 4.6 Step 5 – Extracting parameters The inductance and ac-resistance are added to a table from a global evaluation. The table is then imported into MATLAB together with a plot of the magnetic field with the LiveLink for MATLAB functions “mphtable” and “mphplot”.
5. Verification Figure 5. Example of a spiral inductor in 2D.
In order to verify the formulas used to calculate the inductance and resistance and to ensure that the implementation of the models in COMSOL is a good approximation a comparison of calculated, simulated and measured values are
performed. The extensive comparison is only made for spirals, as the simulation time if done for solenoids and toroids would accumulate to weeks. The simulations are shown for two set of spiral structures: one with one layer and a 150um trace shown in Figure 6 and one set with a 2 layer structure and 300um trace in Figure 7. The number of turns is swept from 1 to 15 and 1 to 10 respectively. The comparison shows that there in general is a good agreement between calculated, simulated sgfs 1200 1000 L [nH]
800 600 400 200 0
and measured inductances, but with higher accuracy for the simulated values. The same is the case for the ac-resistance. In both sets there is a large increase in the measured resistance when the structures become large. This is the start of the first resonance, and this isn’t part of neither the simulation nor the calculation. In Figure 8 and 9 is shown a cutout of the magnetic field of a solenoid and a toroid. The simulation shows that solenoid and toroid structures encapsulate the magnetic field, resulting in a much weaker external field than seen for spirals. In the solenoid all the magnetic flux goes through the center of the structure and returns along the outer edges of the structure. For the toroid the major part of the field is running inside the toroidal structure and only a small part of the field (caused by the single turn) runs outside.
Figure 6. Inductance and resistance of single layer spirals with 150µm trace width. 1500
Figure 8. Magnitude of the B-field in a solenoid inductor (Multislice).
8000 6000 4000 2000 0 0
6 Turns Measured
Figure 7. Inductance and resistance of two layer spirals with 300µm trace width.
Figure 9. Magnitude of the B-field in a toroid inductor (Multislice).
It has been demonstrated how the LiveLink between COMSOL and MATLAB can be used to design, analyze and optimize PCB embedded inductors. The scripting and calculation power of MATLAB combined with the simulation power of COMSOL can serve as an extremely efficient tool for inductor design. A genetic algorithm has been used to design the optimal inductors based on the available equations. Then COMSOL has been used to verify the calculated inductance and resistance and investigate the current distribution and the magnetic fields. This analysis is very useful for finding new ways to design inductors in order to make new shapes with even better performance. Ones the inductor has been investigated and verified to give the desired impedances the PCB files can be generated directly from the same MATLAB GUI giving a very simple and yet accurate design tool.
7. References 1. Jingying Hu, A.D. Sagneri, J.M. Rivas, Yehui Han, S.M. Davis, D.J. Perreault, “HighFrequency Resonant SEPIC Converter With Wide Input and Output Voltage Ranges”, IEEE Transactions on Power Electronics, vol.27, no.1, pp.189-200, Jan. 2012 2. M.P. Madsen, A. Knott and M.A.E. Andersen, “Very high frequency resonant DC/DC converters for LED lighting," IEEE Applied Power Electronics Conference and Exposition 2013, vol., no., pp.835,839, 17-21 March 2013 3. Juan M. Rivas, David Jackson, Olivia Leitermann et al., “Design Considerations for Very High Frequency dc-dc Converters”, IEEE Power Electronics Specialists Conference, 2006, pp.1-11. 4. M.P. Madsen, A. Knott and M.A.E. Andersen, “Low Power Very High Frequency Resonant Converter with High Step Down Ratio”, IEEE Africon, 2013
5. David J. Perreault, Jingying Hu, Juan M. Rivas et al., “Opportunities and Challenges in Very High Frequency Power Conversion”, IEEE Applied Power Electronics Conference, 2009, pp.1-14. 6. A. Knott, T.M. Andersen, P. Kamby, M.P. Madsen, M. Kovacevic, M.A.E. Andersen, "On the ongoing evolution of very high frequency power supplies”, IEEE Applied Power Electronics Conference and Exposition 2013, vol., no., pp.2514,2519, 1721 March 2013 7. Kamby, P.; Knott, A.; Andersen, M.A.E., “Printed circuit board inte- grated toroidal radio frequency inductors”, IECON 2012 38th Annual Conference on IEEE Industrial Electronics Society, vol., no., pp.680- 684, 25-28 Oct. 2012 8. M.P. Madsen, A.P. Mynster, A. Knott and M.A.E. Andersen, “Printed Circuit Board Embedded Inductors for Very High Frequency Switch-Mode Power Supplies”, IEEE International Energy Conversion Congress and Exhibition Asia 2013 9. "LiveLink™ for MATLAB", COMSOL, Presentation, www.comsol.com. 10. Introduction to AC/DC Module, COMSOL, Application note, www.comsol.com. 11. COMSOL model library: “Modeling of a 3D Inductor”, Model ID: 10299 12. D. Kováč, M. Ocilka, M. Vansáč, “Calculating of Inductance of Spiral Coil Using Comsol Multiphysics”, Electromechanical and energy systems, modeling and optimization methods, March 28-29, 2012, Kremenchuk. – Kremenchuk, Mykhailo Ostrohradskyi National University, 2012 P. 89-90. - ISSN 2079-5106 13. COMSOL model library: “Single-turn and Multi-turn Coil Domains in 3D”, Model ID: 14067