Mathematical Problems in Engineering

Volume 2010 (2010), Article ID 742039, 19 pages

http://dx.doi.org/10.1155/2010/742039

## Electromagnetic Problems Solving by Conformal Mapping: A Mathematical Operator for Optimization

^{1}Electrical & Computer Engineering School, Federal University of Goias (UFG), Avenda Universitaria, 1488 Qd. 86 Bl., 74605-010 Goiania, GO, Brazil^{2}Electrical Engineering and Computers Department of the Faculty of Sciences and Technology, University of Coimbra, 3030-290 Coimbra, Portugal^{3}Electromagnetism and Electric Grounding Systems Nucleus Research and Development, Department Electrical Engineering, Federal University of Uberlandia, 38400-902 Uberlandia, MG, Brazil^{4}Institute of Mathematics & Statistics (IME), Federal University of Goias, Campus II, 74001-970 Goiania, GO, Brazil

Received 22 September 2010; Accepted 10 December 2010

Academic Editor: Piermarco Cannarsa

Copyright © 2010 Wesley Pacheco Calixto et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Having the property to modify only the geometry of a polygonal structure, preserving its physical magnitudes, the Conformal Mapping is an exceptional tool to solve electromagnetism problems with known boundary conditions. This work aims to introduce a new developed mathematical operator, based on polynomial extrapolation. This operator has the capacity to accelerate an optimization method applied in conformal mappings, to determinate the equipotential lines, the field lines, the capacitance, and the permeance of some polygonal geometry electrical devices with an inner dielectric of permittivity . The results obtained in this work are compared with other simulations performed by the software of finite elements method, Flux .

#### 1. Introduction

The conformal mapping simplifies some solving processes of problems, mapping complex polygonal geometries and transforming them into simple geometries, easily to be studied. This transformations became possible, due to the conformal mapping property to modify only the polygon geometry, preserving the physical magnitudes in each point of it [1].

In this work, the selected problems have only continuous second-order derivatives, and with respect to and in a region of the complex plane C.

Under these conditions, the real and the imaginary parts of an analytical function satisfies the Laplace equations, that is, functions such as and . These are known as harmonic functions [2].

All the electrical devices, work based on the action of electrical fields produced by electrical charges, and magnetic fields produced by electrical currents. To understand the working principle of these electrical devices, its fields lines must be evaluated inside and around then, allowing a spatial visualization of the phenomena [3].

In another words, field mapping must be produced, describing the behavior of the electric and magnetic phenomena. These maps typically represents flux and fields lines, equipotential surfaces and densities distributions, having information about field intensity, potential difference, energy storage, charges, current densities, and so forth. Getting the field mapping is possible by solving the Laplace equation. However, these differential equations are rather complex solution, and in most practical cases, only have a numerical solution.

Some works have been produced, using optimized processes applied in conformal mappings, intending to simplify certain electromagnetic problems [4]. This paper aims to show that some difficult electromagnetic problems can be easily solved, using simple computational and mathematical tools.

For a better comprehension of the process, the analytical calculation of the direct Schwarz-Christoffel Transformation is defined in Section 2. Section 3 presented the calculation of the inverse Schwarz-Christoffel Transformation, within the employment of an elliptic integral of first kind, whose inverse is known as the Jacobi function. In Section 4 the Genetic Algorithm employed in this work is described and a new mathematical operator is developed, introducing a new method to be used in optimization techniques. In Section 5 the proposed methodology to solve electromagnetic problems is described and in Section 6 the results are exposed.

#### 2. Direct Schwarz-Christoffel Transformation

The Schwarz-Christoffel Transformation is a conformal mapping of the complex plane C in C that maps the real axis onto the boundary of a polygon and the upper half plane of the complex plane into the interior of this polygon [1].

Consider a polygon in C, of sides, with its vertices in , ordered in the counterclockwise, with corresponding internal angles denoted by and external angles denoted by , . The Schwarz-Christoffel Transformation in the integral form is defined by [2, 5] where and are complex constants. The points over the real axis, called prevertices, are mapped into the vertices . It is convenient to assume that , because if infinity is not a prevertex, its image will be a new vertex with the corresponding internal angle equal to [6].

The complex constants and and the prevertices , are referred as parameters of the Schwarz-Christoffel Transformation.

Figure 1 illustrates an example of the Schwarz-Christoffel Transformation for an eight-side polygon. The segments , , on the real axis of the complex plane, are mapped, respectively, into the sides of the polygon. The semi-interval is mapped into the segment , and the semi-interval is mapped into the segment .

The Schwarz-Christoffel Transformation is a conformal mapping of the half-plane , except in critical points . Notice that is not continuous at points . Once, when move on the real axis, from left to right of , the argument of the number changes from to , the other arguments of , , do not change, while the argument of changes from to [7, 8], see Figure 1.

Given a polygon with sides, as Figure 1, where the vertices , and the parameters that define the external angles are known. Therefore, utilizing (2.1) with and , the prevertices can be determined by the following integrals (2.2)

Now, considering a polygon with sides and vertices . One of the goals of this work is to find the corresponding prevertices, , utilizing a Genetic Algorithm.

#### 3. Calculation of the Inverse Schwarz-Christoffel Transformation

The calculation of the inverse Schwarz-Christoffel Transformation is mathematically known as an inverse problem. The major part of the inverse problems are solved by nonlinear optimization techniques.

There are several numerical methods to estimate the parameters of the Inverse Schwarz-Christoffel Transformation. In [9], Trefethen uses a method based on equations obtained from relations between the polygon vertices. He proposes a reverse way utilising the Newton Method, having a practical difficulty to establish the first point or parameter , which initiates the algorithm. After, differential equations are utilized, which must be integrated between consecutive prevertices points , producing numerical inconsistency in some cases.

Driscoll and Vavasis in [10], proposes a method based in Cross-Ratios and Delaunay triangulation. Costamagna in [11], introduces an algorithm based on optimization techniques. For few vertices polygons, this last method, estimates the parameters with a satisfactory accuracy. Driscoll and Trefethen in [12] presents a method for the inversion of the Schwarz-Christoffel Transformation, based on algebraic computation, which maps the polygon onto a disc, an infinite strip or a rectangle.

This section describes the analytical solution of the inverse Schwarz-Christoffel Transformation for the rectangle Figure 2. In this case, the Schwarz-Christoffel Transformation is given by

Choosing the imaginary axis as the symmetry axis of the rectangle and as prevertices of the vertices, the points , , , and , with , the integral (3.1) can be written in the following form [13]:

Making and , the integral (3.2) is transformed in: which is called an elliptic integral of first kind [14], and is the modulus of the elliptic integral with . The value is called elliptic integral building block.

The inverse mapping of (3.3) is known as the Jacobi elliptic function, denoted by: where denotes the elliptic sine of for each fixed .

Two important numbers in the elliptic integrals theory are known as the quarters of real and imaginary periods [14], respectively, defined by,

One can observe that and , where and are the rectangle vertices of Figure 2.

In this case, the upper half-plane is transformed by (3.3) onto the rectangle with vertices , , , and , which corresponding prevertices are ,,, and , as shown in Figure 2. The values of , , , and can be calculated in function of , since point is fixed on the real axis. Therefore, the calculation of the prevertices for the rectangle axis is made directly, simply fixing on a single point on the real axis.

Until today, there is no analytical formulation to calculate the parameters of the Inverse Schwarz-Christoffel Transformation, for polygons with more than four vertices. In the case of polygons with more than four vertices, numerical methods are used. In Section 1 some of these methods are cited. In this work, a Genetic Algorithm is utilized [15], to perform the parameters calculation.

#### 4. Genetic Algorithm

Amongst the four paragons of the Evolutionary Computing, the Genetic Algorithm owns main position, once they constitute the most complete paradigm, gathering naturally all the fundamental ideas of evolutionary computing [15]. Genetic algorithms are stochastic methods with random search of optimal solutions. In the method, a population of individuals is maintained (chromosomes) representing possible solutions, being this population subjected to certain transformations (mutations and crossover), generating new and better candidates, which tend to improve the performance of the algorithm towards an optimal point or some optimized points [16].

In the genetic algorithm structure, the following operators are employed: Directed Crossover operator [15], Tournament Selection operator [17], Elitism [18], Crossover Operator with Multiple Descendants [19], Variable Mutation operator [17] and Guided Evolution operator.

All the operators mentioned in this work were the subject of several studies already published. However, the Guided Evolution operator was developed to be applied with the conformal mapping used in this work. The Guided Evolution operator saves only the best individual of each generation . After a certain amount of generations , there is a pattern to the aggregate value of each gene, as illustrated in Figure 3.

Using the values of the gene from the best individuals of each generation , that is, column of 3rd at 6th of Figure 3, is made an polynomial extrapolation of these values with the value of the evaluation function (fitness), 2nd column Figure 3. Thus, the value found for each gene, forms a new individual with high fitness to the next generation. To produce the extrapolation, it is necessary to randomly choose a value for the evaluation function, lower than the current value and greater than the value determined in the genetic algorithm stopping criteria, in Figure 3, this value is illustrated in the last line, second column (1.72). The current value is 6.65 and the stopping criteria is , where is defined as the evaluation function of the genetic algorithm, given by the following: where . Function defines a metric that allows comparison between the vertices of the polygon produced by the genetic algorithm, and the vertices of the expected polygon. The expected optimal value is .

In the production of the extrapolation, the Guided Evolution operator, considers the column of the evaluation function as the -axis, and the column of genes, as the ordinate axis. This operator has the ability to extract the intrinsic characteristic of each column of genes and effectively insert all these features into a new individual. It is important to check the random value found (new value of the evaluation function) to be extrapolated, because if this value is far from the value of the current evaluation function and far near to the optimal value, will produce a superindividual.

There are several methods of extrapolation in the literature. The developed Guided Evolution operator can work with any of these methods, however, the operator will have best performance, according to the extrapolation method used, which should vary with the problem to be solved. In this work the cubic spline extrapolation was employed. This extrapolation is illustrated in Figure 4, where the plotted values of the evaluation function and the genes values were extracted from Figure 3.

#### 5. Proposed Methodology

It is proposed to perform the calculation of some electromagnetical characteristics of polygonal geometry, in order to simplifying the study region. For this, the geometry of the studied device is transformed into a rectangle, using the Schwarz-Christoffel Transformation (2.1). Therefore, to study, for instance, a geometry as presented in Figure 5(a), it is firstly necessary to map the vertices of the complex plane into the prevertices of the complex plane, using the genetic algorithm for this, Figure 5(b).

Figure 5(a), regards two plates with distinct potentials: plate , has a zero potential, and plate , has a positive potential . These plates are mapped, respectively, into the plates and of the complex plane [15], as illustrated in Figure 5(b). Utilizing the direct Schwarz-Christoffel transformation, the two plates of the complex plane, are mapped into a rectangle on the complex plane, denoted auxiliary complex plane. In this rectangle, one can perform the necessary calculations to solve electromagnetic problems and easily map the field and equipotential lines, as illustrated in Figure 6.

Using the Jacobi Elliptic Function (3.4), it is possible to map the rectangle traced lines at the complex plane, into the upper half-plane of the complex plane, Figure 7 and, using the parameters obtained by the genetic algorithm, one can map them into the complex plane, forming the original geometry of the study, as presented in Section 6.

#### 6. Results

In this section the described method is applied in the calculation of the prevertices from the given vertices of some polygons with different geometries. As an application example, the Schwarz-Christoffel Transformation is used to calculate the equipotential lines and field lines in the air gap of an electrical machine. Also as an example, the capacitance of four devices are obtained and finally, the method is applied to calculate the permeance value of a device with cross-section and polygonal geometry. The results obtained of the capacitance and the permeance are compared with the results obtained from the finite element method (FEM), using the Flux *2D* software [20].

##### 6.1. Field and Magnetic Equipotential Lines

Using the methodology proposed in Section 5, Figure 8 illustrates two examples of field or flux lines and equipotential or induction lines in the air gap of an electric machine with a doubly slotted surface air gap. The mapping obtained by the proposed methodology (described at Section 6.1), illustrates flux lines penetrating the bottom of the slot, see Figure 8. Considering the rotor's surface at a null potential, and the stator's surface at a positive potential , it is observed that the magnetic equipotential lines near the rotor surface (top) do not suffer influence from the opposite surface (stator's surface), thus as the magnetic equipotential lines near the stator surface (top) do not suffer influence from the rotor surface. The same is not true with the air gap induction middle line, which is influenced by both surfaces.This observation has great relevance in electrical machine designs, for the calculation of the correction coefficient of the slot opening [4].

##### 6.2. Capacitance of a Semicylindrical Plates Capacitor

Capacitance is the property that a capacitive element presents of energy storage, in potential energy form, by means of electric fields. The capacitors have several applications in addition to serving as energy storage. They are important components in electrical circuits and are presented in a variety of sizes and shapes. However, the basic components of any capacitor is two insulated conductors of arbitrary shapes, with a dielectric material between them. The conductors are called as plates, regardless the geometry that they have. Parallel plates capacitors are very commonplace, hence, the need to find a rectangular geometry to facilitate the calculations.

For instance, a problem to determine the capacitance of a semicylindrical plates capacitor is illustrated at Figure 9, [21].

It is considered that has a positive potential and that has null potential. Inside the plates, there is a dielectric material of permittivity (Fm-1). It is also considered that the capacitor has depth (m) and is immersed in a place of infinite permittivity. Assuming that the cross-section of the capacitor constitutes a polygon in the complex plane, the bilinear transformation , which maps the points of the complex plane into the points of the complex plane, is defined by where (m) is the radius of the capacitor and is a complex constant defined by in which (rad) is associated to the angular spacing between the plates. Figure 10 illustrates the values , and some relevant points to the transformation.

Relation (6.1) maps the points inside the circle defined by the capacitor, into points in the upper half-plane of the complex plane. Particularly, the points to on the circle of radius in the complex plane, are mapped into points to on the -axis of the complex plane. Table 1 shows the correspondence between the points of and planes in general terms.

Adopting (mm) and , the correspondence of the relevant points in , , and planes can be obtained, according to Table 2.

To find the capacitance, an analogy with the method of mapping curvilinear squares of graph [3] is made. The division in the field , must be performed, so that the subdivisions of the geometry becomes as close as possible of squares. The squares formed in the auxiliary complex plane, represent field cells. The mapping of squares or field cells of the plane in the complex plane produces the so-called curvilinear squares, see Figure 11 an illustration of curvilinear squares.

The theory associated with the curvilinear squares establishes that the device capacitance is equivalent to the capacitance of each cell, multiplied by the number of cells in parallel, divided by the number of cells in series. The accuracy of the method improves, according to the increasing of the domain subdivision or , that is, with the increasing in the number of curvilinear squares. In the limit, the ratio between the number of cells in parallel and the number of cells in series is the ratio between the height of the plates and the distance between them in the complex plane. Thus, the capacitance of the device is given by where (m) and (m). As already mentioned, () is the dielectric permittivity, (m) is the depth of the capacitor and and are the real and imaginary quarters of periods of the Jacobi elliptic function (3.5) and (3.6). Assuming (mm) and , one can verify in Table 3 the capacitance values obtained by (6.3) and the software Flux .

##### 6.3. Calculation of the Capacitance of a Capacitor with Any Geometry

Another application example of the proposed method is presented to determinate the capacitance of a capacitor with any polygonal geometry. To find the prevertices of a device with curved geometry, is necessary to transform the curved portions into approximated segments of straight lines. The smaller these approximated segments, the more accurate will be the result. Data from the simulation of this device is presented in Table 4 and illustrated in Figure 12.

In Figure 12, we define two lines of constant flux, given by and , respectively. The two lines of constant flux are mapped into the complex planes and , by means of the conformal mapping. The relations between the vertices and the prevertices are presented in Table 5.

With the rectangle in the complex plane, we calculate the device's capacitance using expression (6.3), where (m) and (m). Considering that (), (m), and are the same as previously mentioned at Section 6.2.

Assuming (mm) and, in Table 6 are listed the capacitance values obtained by (6.3) and by the software Flux [20].

##### 6.4. Capacitance Calculation of an Eccentric Cylindrical Capacitor

Figure 13 shows the cross-section of a cylindrical capacitor of length , formed by two coaxial cylinders of radius and . If , so that we can neglect the distortion of the electric field that occurs at the ends of the cylinders. The external plate has a positive potential , while the internal plate has a null potential.

Assuming that the plates are homogeneous along the length of the capacitor, and that is the eccentricity of the plates, the capacitance is defined for the concentric cylindrical capacitor as:

Now, assuming a cylindrical capacitor of cross-section as shown in Figure 13, where the plates has the same radius, that is, and , but with an eccentricity , as illustrated in Figure 14.

There is a certain difficulty to calculate the capacitance of a device with this geometry. However, a geometry can be find, where the capacitance will be easily calculated. Utilizing algebraic manipulation, a conformal mapping can be developed transforming two eccentric circles into two concentric circles where , , and are real, are the points on the external plate, are the points on the internal plate, and and are the roots of the equation:in (6.6), and and , from this equation, it is possible to write

Therefore, assuming as data , , and for Figure 14, and using the conformal mapping (6.6), a new circular geometry at the complex plane is obtained. In this new geometry, the circles are concentric and the relationship between plane and plane are listed in Table 7.

Thus, with the data of Table 7 in hands, and assuming , the capacitance of an eccentric cylindrical capacitor is calculated, using (6.6) jointly with (6.4). In Table 8 are presented the capacitance values of an concentric device, and an eccentric device, whose values where given in the previous paragraph.

It is interesting to observe in Table 8 that the eccentricity value modifies the capacitance value, increasing it.

##### 6.5. Permeance of a Geometry Polygon Device of Straight Section

The following presents an example that applies the method proposed here to estimate the permeance value of a polygonal geometry device of straight section. The simulation data of this device is presented in Table 9 and illustrates in Figure 15.

Figure 15, represents the complex plane, defining in this plane, two constant flux lines, given by () and (), respectively. The two lines of constant flux are mapped into the complex and planes, by means of the conformal mapping. The relations between the vertices and the prevertices are presented at Table 10.

With the rectangle in the complex plane in hands, one can calculate the permeance of the device, using expression (6.8) depending on the real and imaginary quarters of periods of the Jacobi elliptic function (3.5) and (3.6)

In which (m), (m) and (m) is the depth of the device, in this case, . The permeance value found for the device shown at Figure 15, using the proposed methodology in (6.8), is H.

#### 7. Conclusion

The results presented in Sections 6.1, 6.2, 6.3, 6.4, and 6.5 showed that the solution of electromagnetic problems related to geometry, can be simplified, using the conformal mapping. Also, the Schwarz-Christoffel Transformation appears to be a suitable and effective tool to solve problems involving complicated geometries forms, considering the conformal mapping property of modifying only the geometry of a polygonal structure, preserving the physical magnitude corresponding to each point at the plane. Regarding the mathematical operator developed to help the optimization method, there was a reduction of approximately 38% on average in the number of generations to be achieved, when compared with the genetic algorithm without the operator. Therefore, the guided evolution operator, promoted a stimulus in the used optimization method, reducing the time spent in the search of optimized parameters. In Sections 6.2 and 6.4, the capacitance calculation performed by the proposed method was compared with results obtained by Flux software, validating the proposed method. The computational processes were reduced comparing with sophisticated softwares used to produce electromagnetic fields, leading an improvement in the calculation performance of some devices with odd geometry. As a suggestion for future studies, the methodology using conformal mapping allied to the developed mathematical operator, could be applied in the design of optimized electric devices, of any desired geometry. The calculations presented here are useful as a theoretical framework to guide experiments on capacitors from different geometry and introduce a new concept in the permeance estimation of electrical devices.

#### Acknowledgments

The authors acknowledge the Capes Foundation, Ministry of Education of Brazil, for the financial support scholarship Proc. no. BEX 3873/10-2. This work was supported in part by the brazilian agencies Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES/MEC) and Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) under Grant 479186/2006-5/Universal.

#### References

- P. Henrici,
*Applied and Computational Complex Analysis*, vol. 3 of*Pure and Applied Mathematics*, John Wiley & Sons, New York, NY, USA, 1986. View at Zentralblatt MATH - M. R. Spiegel,
*Complex Variable*, McGraw-Hill, New York, NY, USA, 1967. - J. D. Kraus and K. R. Carver,
*Electromagnetics*, McGraw-Hill, New York, NY, USA, 1973. - W. P. Calixto, E. G. Marra, L. C. Brito, and B. P. Alvarenga, “A new methodology to calculate carter factor using geneticalgorithms,”
*International Journal of Numerical Modelling: Electronic Networks, Devices and Fields*. In press. View at Publisher · View at Google Scholar - Z. Nehari,
*Conformal Mapping*, McGraw-Hill, New York, NY, USA, 1952. View at Zentralblatt MATH - H. Cohn,
*Conformal Mapping on Riemann Surfaces*, Dover, New York, NY, USA, 1967. View at Zentralblatt MATH - W. J. Gibbs,
*Conformal Transformations in Electrical Engineering*, Chapman and Hall, London, UK, 1958. - G. C. Wen,
*Conformal Mappings and Boundary Value Problems*, vol. 106 of*Translations of Mathematical Monographs*, American Mathematical Society, Providence, RI, USA, 1992. View at Zentralblatt MATH - L. N. Trefethen, “Numerical computation of the Schwarz-Christoffel transformation,”
*Society for Industrial and Applied Mathematics*, vol. 1, no. 1, pp. 82–102, 1980. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - T. A. Driscoll and S. A. Vavasis, “Numerical conformal mapping using cross-ratios and Delaunay triangulation,”
*SIAM Journal on Scientific Computing*, vol. 19, no. 6, pp. 1783–1803, 1998. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - E. Costamagna, “On the numerical inversion of the schwarz-christoffel conformal transformation,”
*IEEE Transactions on Microwave Theory and Techniques*, vol. 35, no. 1, pp. 35–40, 1987. View at Google Scholar - T. A. Driscoll and L. N. Trefethen,
*Schwarz-Christoffel Mapping*, vol. 8 of*Cambridge Monographs on Applied and Computational Mathematics*, Cambridge University Press, Cambridge, UK, 2002. View at Publisher · View at Google Scholar - M. Abramowitz and I. A. Stegun,
*Handbook of Mathematical Functions: with Formulas, Graphs, and Mathematical Tables*, Dover, New York, NY, USA, 1968. - S. C. Milne,
*Infinite Families of Exact Sums of Squares Formulas, Jacobi Elliptic Functions, Continued Fractions, and Schur Functions*, vol. 5 of*Developments in Mathematics*, Kluwer Academic Publishers, Boston, Mass, USA, 2002. - W. P. Calixto,
*Application of conformal mapping to the calculus of Carter's factor*, M.S. thesis, Electrical & Computer Engineering School, Federal University of Goias, Goiania, Brazil, 2008. - Z. Michalewicz,
*Genetic Algorithms + Data Structures = Evolution Programs*, Artificial Intelligence, Springer, Berlin, Germany, 1992. - Z. Michalewicz and D. B. Fogel,
*How to Solve it: Modern Heuristics*, Springer, Berlin, Germany, 2000. - J. H. Holland,
*Adaptation in Natural and Artificial Systems: an Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence*, University of Michigan Press, Ann Arbor, Mich, USA, 1975. - F. Herrera, M. Lozano, and J. L. Verdegay, “Crossover operators and offspring selection for real coded genetic algorithms,” Tech. Rep., Department of Intelligence of the Computation and Artificial intelligence, University of Granada, Granada, Spain, 1994. View at Google Scholar
- Cedrat,
*Flux 2D User's Guide*, Cedrat, Grenoble, France, 2000. - R. E. Collins,
*Mathematical Methods for Physicists and Engineers*, Dover, New York, NY, USA, 2nd edition, 1999.