Report Format (Industrial Training)
Report Format (Industrial Training)
On
(Lane Detection)
of
BACHELOR OF TECHNOLOGY
in
CSE(AIML)
Department of Technology
Jodhpur Institute of Engineering & Technology
JIET Group of Institutions, Jodhpur
2024-25
CANDIDATE’S DECLARATION
I hereby declare that the work, which is being presented in this Seminar, entitled
“Lane Detection” in partial fulfillment for the award of Degree of
“Bachelor of Technology” in Dept. of CSE with specialization in AIML and
submitted to the Department of Technology, Jodhpur Institute of Engineering
and Technology, is a record of my own work carried under the guidance
of Sourabh Soni, Program cordinator, Regex Software,jaipur.
I have not submitted the matter presented in this report anywhere for the
award of any other degree.
Incharge
Designation
Dept. of Technology.
JIET Group of Institutions
Jodhpur
i
CERTIFICATE
ii
ACKNOWLEDGEMENT
Date:05/05/2024
Place: Jaipur
Name of Student
Mr.Vicky Singh
B.Tech. (CSE(AIML))
Roll No.: 22EJAI106
3
ABSTRACT
This summer, I completed an intensive training program in Machine Learning (ML) and Deep
Learning (DL) at Regex Jaipur, where I deepened my knowledge and practical skills in these
advanced fields. As part of my training, I undertook several projects, with a significant focus on a
project titled "Lane Detection."
The lane detection project involved developing a system capable of identifying and tracking road
lanes in real-time, a critical component for autonomous driving and advanced driver-assistance
systems (ADAS). Utilizing cutting-edge ML and DL techniques, I implemented algorithms to
accurately detect lane boundaries under various road conditions and lighting environments. This
project not only honed my technical skills in computer vision and neural networks but also
provided practical experience in problem-solving and innovative thinking.
4
List of Figures
Fig. No. TITLE Page No.
Fig. 3.1 System Architecture of Lane Detection 25
Fig. 3.6 34
Fig. 3.7 35
5
List of Tables
Fig. No. TITLE Page No.
Fig. 3.1 Training Dataset Statistics 25
Fig. 3.6 34
Fig. 3.7
6
CONTENTS
Candidate’s Declaration i
Certificate ii
Acknowledgements iii
Abstract iv
List of Figures vi
List of Tables viii
CHAPTER 1: INTRODUCTION ………………………………………………….. 1
1.1 Background of The Company…………………………………………………….. 1
1.2 Organizational Structure…………………………………………………………… 5
1.3
vii
CHAPTER 5: CONCLUSION ……………………………………………………… 47
5.1 Lessons Learned Skills Developed ………………………………………………... 47
5.2 Knowledge Gained ………………………………………………………………... 53
REFERENCES 58
viii
CHAPTER 1
INTRODUCTION
1.1 Computational Electromagnetic
The second request raised in the design process that device is not a potential EMI source
that is its normal operation does not interfere with other electrical systems, is referred to as the
emission testing. In a theoretical sense, the aspects of immunity and emission
testing, respectively, are related through the reciprocity theorem in electromagnetics.
Generally, the methods used in EMC are not only to visualize electromagnetic phenomena but
also to predict and suppress interferences can be regarded as either theoretical or experimental.
2
CEM is a young discipline. It is still growing, in response to the steadily
increasing demand for software for the design and analysis of electrical devices. Few years
ago, most electrical devices were designed by building and testing prototypes, a process that is
both costly and slow. Today the design can be made faster and cheaper by means of numerical
computation. CEM has become a main design tool in both industrial and academic
research. There are numerous application areas for CEM, viz. in electric power engineering,
computation is well established for the analysis and design of electrical machines,
generators, transformers, and shields. In applications to microwaves, CEM is a more recent
tool, but it is now used for designing microwave networks and antennas, and even
microwave ovens. The analysis and optimization of radar cross sections (RCS) for stealth
devices has been the driving force for the development of many new techniques in CEM.
The clock frequencies of modern microprocessors are approaching the region where
circuits occupy a large fraction of a wavelength. Then ordinary circuit theory no longer
applies and it may be necessary to solve Maxwell’s equations to design smaller and faster
processors. The increased demand for electromagnetic compatibility (EMC) also poses new
computational problems. The performance of CEM tools is increasing rapidly. Most common
applications of CEM are:
Finite element methods for microwave components
Finite element methods are used to simulate electromagnetic fields at microwave
frequencies and design microwave components. Design, development and application
of adaptive finite element methods for large-scale parallel and distributed computing
environments; computational modeling, simulation and visualization of electromagnetic fields
in microwave, optical and power frequency devices.
High performance computational electromagnetics
For large-scale electromagnetic simulations development of robust parallel 3-D automatic
mesh generation procedures and solution strategies for adaptive finite element
methods (AFEMs). For example, application of parallel and distributed simulation methods on
emerging multi-core platforms and reconfigurable hardware to the development of accurate and
efficient CAD tools for microelectronic systems performance.
3
Analysis of new antenna designs for specific applications. Examples include: broadband
antennas for microwave breast scanning in bio medicals, compact antennas for hand-held
devices.
Biomedical applications
Interaction of electromagnetic waves with tissues. Examples: microwave tumor detection
and monitoring, light propagation through retinal photoreceptors, absorption of electromagnetic
power from the cellular telephone by the human head tissues.
Analysis and design of electrical machines and low frequency systems
The development of new and efficient optimization process for electromagnetic systems
using virtual prototyping techniques based on advanced computer based simulations. Examples
include: induction and permanent magnet machines, micro-electromechanical systems (MEMS);
generators for renewable energy (Wind, tidal, etc.), sensors and actuators.
Intelligent autonomous design systems
The development of computer systems based on artificial intelligence techniques, for the
automatic design of low frequency electromagnetic systems. Examples include: applications of
expert system technology; case-based reasoning; neural networks; blackboard systems and
constraint propagation techniques.
Application area of CEM is so vast. Each application requires specific method for computation. Or
we can say in real time it is difficult have a only method by which all the problems or
application can be solved. So according to the nature of the problem a particular method is to be
selected. In short we can say that these methods are application specific,
The following methods are among the most commonly methods used as numerical methods in
EM
a) Finite differences (FD) (usually in the time domain),
b) Finite element method (FEM),
c) Boundary element method (BEM), which is usually referred to, for historical reasons, as
the method of moments (MoM).
Finite difference methods are more or less straight forward discretizations of Maxwell’s
equations in differential form, using the field components, or the potentials, on a structured grid of
points as unknowns. Finite differences in general , and the finite-difference time-domain
(FDTD) method in particular, are very efficient and require few operations per grid point. The
4
FDTD is one of the most widespread methods in CEM, and it can be applied to a large variety of
microwave problems. One drawback of finite difference methods is that they work well only on
uniform Cartesian (structured) grids, and typically use the so-called staircase approximation of
boundaries not aligned with a grid.
Finite element methods in which the computational region is divided into unstructured grids
(typically triangles in two dimensions and tetrahedral in three dimensions) can approximate
complex boundaries much better, but are considerably slower in time-domain calculations. The
FEM is mainly used for time-harmonic problems, and it is the standard method for eddy current
calculations.
The MoM discretizes Maxwell’s equations in integral form, and the unknowns are sources
such as currents or charges on the surfaces of conductors and dielectrics. This method is
advantageous for problems involving open regions, and when the current-carrying surfaces are
small. The MoM is often applied to scattering problems. We will discuss how the three types of
methods, FD, FEM, and MoM, can be applied to different electromagnetic problems, in both the
time domain and the frequency domain (time-harmonic fields and currents). Before proceeding we
must have a little idea about the field theory.
Wireless Communication
Low level radio frequency fields are emitted by cellular phones, base tower, tv,
radio signal, Bluetooth device wifi. These all come under wireless communication
This theory is also used in analysis and designing of antenna, transmission lines and wave
guides.
Bio-medical system
Magnetic sensors and magnetic actuators are used in biomedical. Magnetic Sensors are
used in situ measurement of the mass evolution of cell culture, test of blood coagulation,
Sensor system for early detection of heart valve bio prostheses failure
Magnetic Actuators is used in Magnetic endoluminal artificial urinary sphincter and
Hyperthermia HeLa cell treatment with silica-coated manganese oxide nano-particles.
Weather forecast and Remote sensing
Remote sensing refers to the activities of obtaining information about an object by
a sensor without being in direct contact with the object. Information needs a
physical carrier to travel from the object to the sensor through an intervening medium. In
remote sensing, the information carrier is the electromagnetic radiation. Radar is a ground-
based and active remote sensing equipment. It emits microwave radiation from a fixed
location into the atmosphere and receives the reflected radiation called echoes from water
droplets in the air. Microwave is not intense in the solar radiation and the earth's
emission
7
spectrum. Therefore the background radiation level in the microwave frequencies is not
high and it usually does not affect the operation of the radar. Microwave frequencies can
be divided into a number of frequency bands. Table 4 contains a list of band designation in
the microwave frequencies.
Electric motors
Finite Element Method has been proved as valuable tool for solving different
electromagnetic problems inside electrical machines. Calculation of magnetic flux
density and its distribution in machine cross-section is difficult to be calculated by
analytical methods. Therefore Finite Element Method is implemented for solving set off
Maxwell equation which enables precise calculation of electromagnetic field and
magnetic flux density in three different electrical machines
In mechanical workshop
Induction heaters, Dielectric heating, Joining and Sealing, and Soldering
Reducing acidity in vegetables to improve taste
Except these applications EM has some more area of application these are Lasers,
Masers, Radio astronomy radars, Plasmas, Radiation therapy, Surface hardening, and
Annealing.
The whole subject of EM unfolds as a logical deduction from eight postulated equations,
namely as Maxwell’s equations.
1.2.1 MAXWELL EQUATIONS
James Clerk Maxwell is regarded as the founder of electromagnetic theory in its present form.
Through his theoretical effort over about 5 years Maxwell published the first unified theory of
electricity and magnetism. The theory comprised all previously known results both experimental
and theoretical on electricity and magnetism. It further introduced displacement current and
predicated the existence of electromagnetic waves. Maxwell understood the significance of
Faraday's work and realized that the speed of electromagnetic waves travelled at the speed
of light. As a result, he was able to incorporate light, magnetism and electricity into a single
theory. Maxwell further concluded that light propagated in electric and magnetic waves,
which he believed would vibrate perpendicular to one another. Maxwell's electromagnetic theory
of light propagation eventually paved the way for a number of major technological innovations.
8
Maxwell's equations were not fully accepted by many scientists until they were later confirmed by
Heinrich Rudolf Hertz. in 1888, when Heinrich Hertz used Maxwell's theory to create
instruments capable of sending and receiving radio pulses. This discovery, contributed to
the creation of the television and the microwave and without Maxwell's tireless efforts, many of
the modern conveniences upon which society has come to depend would not exist.
The integral form of Maxwell's equation despite the underlined physical laws where as
the differential form is used more frequently in solving problems.
For a field to be qualified as an electromagnetic field it must satisfy all four Maxwell's equations.
The importance of Maxwell equation cannot be overemphasized because they summarize
all known laws of electromagnetism.
Physical Significance of Maxwell’s Equations
For static EM fields
∇xH = J (1.1)
But the divergence of the curl of any vector field is identically zero
Hence,
∇. (∇xH) = 0 = ∇. J (1.2)
∇. J = − ≠0 (1.3)
Thus equation 1.2 and 1.3 are obviously incompatible for time-varing conditions. We must
modify equation 1.1 to agree with equation 1.3. to do this, we add a term to equation 1.1 so it
becomes
∇xH = J + J (1.4)
Again taking divergence of equation 1.4 we have
∇. (∇xH) = ∇. J + ∇. J (1.5)
Now,
∂D
∇. J = ∇.
∂t
Or Jd= (1.6)
9
From equation 1.6 and 1.4
∂D (1.7)
∇xH = J +
∂t
This is Maxwell’s equation for time-varying field. The term Jd is called as displacement current
density and J is the conduction current density. The insertion of Jd into equation 1.2 was on of the
major contribution of Maxwell. Without this term, electromagnetic wave propagation would be
impossible. At low frequencies, Jd is usually neglected compared with J. however at radio
frequencies, the two terms are comparable.
Differential form of Maxwell equations
⃗ (1.8)
⃗=−
⃗ (1.9)
⃗ = ⃗+ −
. =ρ (1.10)
⃗
. ⃗=0 (1.11)
where
⃗ is the electric field intensity,
⃗ is the magnetic field intensity,
⃗ is the magnetic flux density,
⃗ is the electric flux density,
⃗ is the current density,
p is the charge density,
φ is the electric scalar potential,
A is the magnetic vector potential; and these fields are governed by physical laws
expressed mathematically by four Maxwell equations.
st
Physical significance of Maxwell's 1 equation
It shows that with time varying magnetic flux, electric field is produced in accordance
with
Faraday is law of electromagnetic induction. This is a time dependent equation.
nd
Physical significance of 2 equation
10
This is a time dependent equation which represents the modified differential form of Ampere's
circuit law according to which magnetic field is produced due to combined effect of conduction
current density and displacement current density
rd
Physical significance of 3 equation
According to this total electric flux through any closed surface is 1/0 times the total
charge enclosed by the closed surfaces, representing Gauss's law of electrostatics, As this
does not depend on time, it is a steady state equation. Here for positive , divergence of electric
field is positive and for negative divergence is negative. It indicates that is scalar quantity
th
Physical significance of 4 equation
It represents Gauss law of magnetostatic as .B = 0 resulting that isolated magnetic poles
or magnetic monopoles cannot exist as they appear only in pairs and there is no source or sink for
magnetic lines of forces. It is also independent of time i.e. steady state equation.
Integral form of Maxwell equations
∮ ⃗. = (1.12)
(1.13)
⃗. = ⃗.
∮ ⃗. ⃗ = ∫ ρ (1.14)
(1.15)
⃗. =
The solution of the four Maxwell equations in either differential or integral form is
possible only if additional constitutive equations are available connecting ⃗ ⃗, ⃗ ⃗and
⃗ ⃗ such as
⃗= ⃗ (1.16)
⃗= ⃗ (1.17)
⃗= ⃗ (1.18)
for a linear medium, where is the permittivity, is the conductivity, and is the permeability of
a medium, or whatever forms apply for a nonlinear medium.
11
Electrostatic field
Magnetostatic field
Time varying field
Electrostatic field is an electric field produced by static electrical charges. The charges are
starting in the sense of charge amount and their positions in the space. Due to its
simple nature, the electrostatic field or it's visible manifestation electrostatic force
has been observed long time ago. Electrostatic field plays an important role in modern
designing of electromagnetic devices whenever a strong magnetic field
appears. For example, an electrical field is of paramount importance for the design of X-
Ray device, lightning protection equipments in the high voltage components for
electric power transmission system, and hence and analysis of electrostatic field is
needed. In industry electrostatics is applied in a variety of forms such as paint
spraying electrodeposition, electrochemical machining and separation of fine particles.
Electrostatic is used in agriculture to sort seeds direct sprays to plants, measure the
moisture content of crops spin cotton and smoking of meat.
A definite link between electrical and magnetic field was established by Oersted in
1820. We know that an electrostatic field is produced by static or stationary charges. If the
charges are moving with constant velocity, a static magnetic or magnetostatic field is
produced. A magnetostatic field is produced by a constant current flow. This current flow
may be due to magnetization current as in permanent magnets, electron beam currents as
in vacuum tubes or conduction current as in current carrying wires. The study of
magnetostatic field is necessary as the developments of motors, transformers, microphones
compasses, telephone bells ringers, televisions focusing control, advertising
displays involves magnetic phenomena and plays an important role in our
daily life. There are two major laws governing magnetostatic field i.e. Biot- Savart’s
law and amperes circuit law.
The electric field produced by a changing magnetic field and thje magnetic field is produced
by a changing electric field. The first of these concepts resulted from experimental research of
Michael Faraday. Due to the first experiment of Faraday, we can say that a time-varying
12
magnetic field produces an electromotive force (emf) which may establish a current in
a suitable closed circuit. In general, Faraday’s law manifests itself in either or both a
stationary circuit linked by a time varying magnetic flux, such as a transformer, or
the magnetic flux may be static, but the circuit is moving relative to the flux in such a way as
to produce a time varying flux enclosed by the circuit. A rotating machine generates an emf
by the latter mechanism.
Electromagnetics deal with space concepts and required thinking in the three dimension of
real world. Hence we must understand the three dimensions co-ordinate system that is
rectangular (cartesian), cylindrical and spherical system. Before understanding electrical and
magnetic fields as vector quantities, it is worthwhile to review the simple concepts of vector
algebra, vector calculus i.e. differentiation and integration of vectors, line, surface
and volume integrals, del operator, gradient, divergence and curl operations and the
three co- ordinate system cartesian, cylindrical and spherical
Vector analysis is a mathematical tool with which electromagnetic concepts are most
conveniently expressed. A vector quantity has both magnitude and direction.
The rate of change of vector field is complex and is defined by two types
Divergence of vector
Curl of a vector
13
Divergence is a scalar and bears similarity to the derivative of a function. When
the divergence of a vector field is non zero, that region is said to contain sources or
sinks, sources when the divergence is positive, sinks when negative. In static electric fields
there is a correspondence between positive divergence, sources, and a positive electrical
charge Q. Electric flux by definition originates on positive charge. Thus, a region
which contains positive charges contains the source of electric flux. The divergence of
the electric flux density will be positive in this region. The similar correspondence exists
between negative divergence, sinks, and negative electric charge.
The curl of vector field B is a vector whose magnitude is maximum net circulation of B per
unit area as the area tends to zero and whose direction is normal direction of the area when
area is oriented to make the net circulation maximum.
14
As a result, detailed comparison of the various methods, which used to be an important
factor in selecting software packages, is much less important now. Below is a reference list of
various numerical methods used for solving Maxwell’s equations.
The FDTD method belongs in the general class of grid-based differential numerical
modeling methods (finite difference methods). The time-dependent Maxwell's equations (in
partial differential form) are discretized using central-difference approximations to the space and
time partial derivatives. The resulting finite-difference equations are solved in either software or
15
hardware in a leapfrog manner: the electric field vector components in a volume of space
are solved at a given instant in time; then the magnetic field vector components in the same spatial
16
volume are solved at the next instant in time; and the process is repeated over and over again until
the desired transient or steady-state electromagnetic field behavior is fully evolved.
17
CHAPTER -2
LITERATURE SURVEY
Differential evolution has also been implemented to help CEM researchers to realize their
dream. It is used to trace the optimal higher-order Whitney element to enhance convergence for
the vector finite element modeling of microwaves and antennas.
2.1 Background:
CEM typically solves the problem of computing the E (Electric), and H (Magnetic) fields across
the problem domain (e.g., to calculate antenna radiation pattern for an arbitrarily shaped antenna
structure). Also calculating power flow direction (Pointing vector), a waveguide's normal modes,
media-generated wave dispersion, and scattering can be computed from the E and H fields. CEM
models may or may not assume symmetry, simplifying real world structures to
idealized cylinders, spheres, and other regular geometrical objects. CEM models extensively
18
make use of symmetry, and solve for reduced dimensionality from 3 spatial dimensions to 2D
and even 1D.
An eigen value problem formulation of CEM allows us to calculate steady state normal modes in a
structure. Transient response and impulse field effects are more accurately modeled by CEM in
time domain, by FDTD. Curved geometrical objects are treated more accurately as finite
elements FEM, or non-orthogonal grids. Beam propagation method (BPM) can solve for the
power flow in waveguides. CEM is application specific, even if different techniques converge to
the same field and power distributions in the modeled domain.
Electromagnetics, the study of the solution methods to solving Maxwell’s equations, and
the application of such solutions for understanding and engendering new technologies, has a
long history of over a hundred years. But the analysis method with Maxwell’s equation is
constantly evolving over the years. In the beginning, there was the age of simple shapes: during
this period,
th
roughly between the late 19 century to 1950s, solution methods, such as the separation of
variables, harmonic analysis, and Fourier transform methods were developed to solve for
the scattering solution from simple shapes. We can identify the names of Sommerfeld,
Rayleigh, Mie, Debye, Chu, Stratton, Marcuvitz, and Wait for contributions during this era.
Despite the successful closed form solutions for simple geometries, the solutions available were
insufficient to analyze many electromagnetic systems. Hence, scientists and engineers started to
seek approximation solutions to Maxwell’s equations. This was the age of approximations,
roughly between 1950s and 1970s. During this period, asymptotic and perturbation
methods were developed to solve Maxwell’s equations. The class of solvable problems for
which approximate solutions exist, was greatly enlarged.
19
Examples of problems solved during the age of simple shapes are the Mie and Debye scattering by
a sphere and Rayleigh scattering by small particles. Rayleigh also solved the circular
waveguide problem for electromagnetic waves because he was well versed in the mathematical
theory of sound, having written three volumes on the subject while sailing down the Nile River.
Sommerfeld solved the half plane problem as far back as 1896 because the
advanced mathematical techniques were available then. He also solved the Sommerfeld half space
problem in 1949 in order to understand the propagation of radio waves over the lossy
half-earth. The problem was solved in terms of, what is now known as, the Sommerfield integrals
Evaluating the Sommerfeld integrals was impossibility during his time, but it is a piece of cake
now in the modern era. Subsequently, approximation techniques, such as the stationary
phase method, the method of steepest descent, and the saddle point methods were used to
derive approximations to the Sommerfeld integrals.
However, even though electromagnetics has been intimately entangled with mathematics, a
student of electromagnetics has to be able to read the physics into the mathematical expressions
that describe the solutions of Maxwell’s equations. Approximate methods generally help to
elucidate the physics of the wave interaction with complex geometry.
The physical insights offered by approximate solutions spurred the age of approximations,
roughly between 1950s and 1970s. A large parameter such as frequency is used to derive
asymptotic approximations. Moreover, heuristic ideas were used to derive the physical
optics approximation, Kirchhoff approximation, and various geometrical optics approximations.
These approximations eventually lead to the geometrical theory of diffraction and the
uniform asymptotic theory of diffraction. The applications of these approximate methods to
scattering by complex structures are usually ansatz based. The coefficients of the ansatzcan
be found from canonical solutions such as the Sommerfeld half plane problem, or scattering by a
sphere or a cylinder, followed by the use of Watson transformation. The use of approximate
solution enlarges the class of solvable problems, but the error is usually not controllable.
Asymptotic series are semi-convergent series; hence there is not a systematic way to reduce the
solution error by including more terms in the ansatz. Moreover, the range of application is limited
because the frequency has to be sufficiently high before the ansatz forms a good approximation.
20
However, the limited range of approximate solutions of Maxwell’s theory still could not meet
the demand of many engineering and system designs. As soon as the computer was developed,
numerical methods were studied to solve Maxwell’s equations. This was the age of numerical
methods (1960s+). Method of Moments (MoM), finite difference time domain method (FDTD),
and finite element method (FEM) were developed to solve problems alongside with many other
numerical methods. In particular, Harrington was noted for popularizing MoM among the
electromagnetics community, while it is known as the boundary element method (BEM) in other
communities. Yee developed FDTD, for solving Maxwell’s equation. Finite element has
been with the structure and mechanics community, and Silvester was an early worker who brought
its use into the electromagnetics community. Other names commonly cited in this field are:
Wilton, Mittra, and Taflove.
The advent of the transistorized computer in the 1960s almost immediately brought about
the birth of numerical methods for electromagnetics. The method of moments (MoM)
was popularized among the electromagnetics community by Harrington in the 1960s. The method
is integral-equation-based, and is versatile for solving problems with arbitrary geometries. It
entails a small number of unknowns since the unknown is the current, but unfortunately, the
pertinent matrix equation is dense. The finite-difference time-domain method was proposed by
Yee in the
1960s for solving Maxwell’s equations in its partial differential form. The method is extremely
simple, and gives rise to a sparse matrix system. Since the field is the unknown to be solved for,
the drawback is that it entails a large number of unknowns. Moreover, the field is always
propagated from point to point via a numerical grid, hence yielding grid dispersion error, which
accentuates with increasing problem size.
In the finite difference method based on differential equations, the solution region is subdivided
into rectangular mesh (a discretization, and thus, an approximation) and the values of a scalar
potential field are sought at all grid points. Engineers, with intuition derived through experience in
circuit theory, were able to use network analogous models and generalize the finite difference
method to inhomogeneous problems with graded meshes in such a way as to be easily
understood. Initially, solutions were obtained for small problems by hand relaxation, which in
turn gave way to bigger problems by transferring to digital computers. The disadvantage of this
20
method is that curved boundaries and varying sources cannot be modeled using simple, general
data structures, so that general purpose software is difficult to write for complex problems.
21
Moreover, open boundaries have to be modeled by a close boundary with artificial
boundary conditions. Recent years have witnessed the development of very general finite
difference schemes that overcome most of these deficiencies. These elegant variants,
however, require complex programming efforts and special data structures.
There are other numerical methods which were developed from variational methods, based on the
so-called Euler´s brachistochrone problem [Gould 1957]. This problem gives us that
particular shape of a curve between two points in space, along which a mass may slide down
without friction in the shortest time. A variational scheme may commonly be described as
differential in that we replace the condition of the satisfaction of a differential equation
governing an unknown function by the equivalent requirement that an integral function of the
unknown function shall be at a minimum. Indeed, integral variational principles are also
used where we use a functional that satisfies an integral relationship at its minimum.
Already in the early 1950s differential variational schemes have been used to
analyze electromagnetic devices, e.g. waveguides. These schemes are remarkably
similar to the technique of modern finite element analysis. They relied upon a Rayleigh-Ritz
scheme, which assumed the solution to be a sum of coordinate functions, with their weights to be
determined by variational calculus [van Bladel 1964]. These variational schemes differed
from present-day finite elements only in that the solution domain was not split into sub
domains over each of which a differential trial function may be assumed. As a consequence of
their trial solution being applicable to the whole domain, the choice of coordinate functions was
critical to the accuracy of the solution. Thus, their methods are use only in a few problems for
which a good estimate of the solution may be made.
With the development of the computer, statistical methods involving long solution times were also
employed for the solution of field problems. The Monte Carlo simulation technique [Ehrlich
1959] is used to find the potential at one point within a device that has been divided into a mesh.
We start at the point where we want the solution and “walk” through the nodes until we reach a
boundary. The solution at the starting node is expressed as a statistical formula in terms of the
charge densities at the nodes through which the walk is performed. Because this is a statistical
formula, its accuracy increases with the number of walks we perform. Thus, for convergence of
the solution several walks must be made. What we finally have is the solution at just one node.
21
The validity of the method for general gradient (Neumann) boundary conditions has not
been
22
thoroughly investigated. It has also been found that the time taken to get the potential at one node
is much greater than that for identifying the potential everywhere in the mesh by
relaxation [Binns/Lawrenson/Trowbridge 1992]. As a result, the Monte Carlo method in
electromagnetics has fallen into general disuse. However, the method is still extremely useful in
other disciplines such as statistical chemistry where alternative techniques are hardly available.
Real numerical modelling of the continuum may by broadly divided into four groups:
• Differential methods
• Integral methods
• Variational methods
• Asymptotic methods
Differential equation methods (FDM, FDTD, etc.) are based on direct discretization of the
differential governing field equations. Their most appealing characteristic relates to their ease of
implementation. But they are also dispersive and costly (e.g., typically 10 – 20 points per wave
length). Moreover they are restricted in applicability to complex geometries, especially in high-
order implementations.
Integral equation methods (BEM, VIEM, MoM, Fast Multipole Methods, Adaptive
Integral Methods, FFT-based Methods, Charge Simulation Methods, etc.) are based on
discretizations of integral equation formulations of the governing equations. Similarly to
variational approaches, they are versatile and flexible. They can also be made to be very
efficient, particularly in applications involving piecewise homogeneous structures where
they lead to a lower dimensional problem (posed on the interfaces separating different
media). But they lead to full matrices and thus can only be made competitive through the use of
mechanisms that accelerate the evaluation of fields. In addition, the singular character of the
integrals imposes substantial challenges which typically result in low-order
implementations, with consequently large computational costs.
Variational methods (FEM, Finite Volume Methods, etc.) are based on the
variational formulation of Maxwell´s equations. They lead to algorithms that present several
favourable properties, including great applicability and flexibility, a natural setting for
adaptivity and parallelization, sparse matrices, etc. But these approaches typically require
large (volumetric) computational domains and the use of approximate radiation
conditions within a finite computational domain, which may lead to high
computational costs and large memory
22
requirements; in addition, low-order implementations (e.g. finite volume) suffer from significant
dispersion and dissipation errors.
Asymptotic methods (ray-tracing, etc.) do not solve the full Maxwell model (in contrast with the
methods above), but rather an approximation of it. Of particular interest from the point of view of
applications (e.g. radar) are those that relate to the high-frequency (geometrical or physical optics)
limit of Maxwell´s equations. Such methods are extremely efficient since, in contrast with
methods that solve the full Maxwell model, they do not involve the resolution of the fields in the
scale of the wavelength of radiation. But, they are asymptotic in nature and therefore are not
error-controllable; as a result, they can give rise to significant inaccuracies for finite (but
large) frequencies.
As any review of the literature will reveal, schemes from each of these classes have been very
successful at resolving a variety of problems. The same review will also discover that
some methods may be better adapted to specific applications, and that no method can be
considered “universally” superior. More importantly perhaps, one will also find that all available
methods have very definite limitations in spite of continuous advances in the capabilities of
computational algorithms and hardware. In fact, a number of applications continue to challenge
every approach, and some lie well-beyond today´s capabilities (e.g. the rigorous prediction of
scattering returns at very high frequencies).
And there is still another aspect which should be taken into account during evaluation of
the numerical methods. Usually, it is not so clear how to classify the different methods following
the classes given above. There are several modifications of some basic methodologies of
numerical treatment of Maxwell´s equations where it is not possible to say precisely this is a
differential method or that is a variational methods, etc. There are a number of rather new
developments which have led to sometimes called “hybrid” methods, which not always means that
there are combined two methods on a certain interconnection between two domains of solutions
space, but they use combined discretization strategies in the same equations.
The variational methods are really based on the differential or integral form of the equation to be
solved. Integral schemes for materially homogeneous problems have long been known and used.
The equation for integration naturally follows from the potential due to a unit point charge being
given at a certain distance (source point). Thus, any charge cluster of given density may
23
be subdivided into small volumes so that the charge in that volume is effectively a point
charge
24
causing a potential in the considered field point. On the basis of the superposition principle, we
may integrate such effects at any field point and get the potential there. When materials
in homogeneities are involved, this scheme cannot be used. To overcome this in electrostatics, we
may resort to dipole moment techniques whereby we eliminate an inhomogeneous region
and replace the effects coming from inside the eliminated region by a surface charge. Because
these charges are secondary sources, i.e. they only “appear” if primary sources generating the field
are present, this method is called the method of secondary sources [Tozoni 1975]. In magnetics the
analogous idea can be realized by introducing fictitious magnetic poles to replace the magnetized
material.
In the late 1960s the finite element method was first applied to electromagnetics [Winslow
1967]. The finite element method is a general method for the solution of differential equations.
Here, we subdivide the solution region into sub domains, called elements, and postulate a trial
function ((with free parameters) over each of the elements. It is commonly found convenient to
have interpolation nodes on the element and to define the trial function in terms of the unknown
values of the unknown variable of the differential equation at the node. As a result, the nodal
values become the free parameters. The finite element method essentially consists of finding the
values of the free parameters with respect to some optimality criterion such as minimum error,
energy extremum, functional orthogonality, etc. This method, now widely accepted as one of the
most powerful numerical schemes available, is one that engineers may take true pride in,
for having founded intuitively, leaving for later the rigorous justifications of the method, i.e. there
was a time when engineers used the method on the grounds simply that it worked. Their
mathematical verification was studied much later.
One approach is to discretize the space in terms of grids (both orthogonal, and non-orthogonal)
and solving Maxwell's equations at each point in the grid. Discretization consumes
computer memory, and solving the equations takes significant time. Large-scale CEM
problems face memory and CPU limitations. As of 2007, CEM problems require
supercomputers, high performance clusters, vector processors and/or parallelism. Typical
formulations involve either time-stepping through the equations over the whole domain for
each time instant; or through
25
banded matrix inversion to calculate the weights of basis functions, when modeled by finite
element methods; or matrix products when using transfer matrix methods; or
calculating integrals when using method of moments (MoM); or using fast fourier transforms,
and time iterations when calculating by the split-step method.
Choosing the right technique for solving a problem is important, as choosing the wrong one can
either result in incorrect results, or results which take excessively long to compute. However, the
name of a technique does not always tell one how it is implemented, especially for commercial
tools, which will often have more than one solver.
Davidson gives two tables comparing the FEM, MoM and FDTD techniques in the way they are
normally implemented. One table is for both open region (radiation and scattering problems) and
another table is for guided wave problems.
It is assumed that the waves propagate in the (x,y)-plane and restrict the direction of the
magnetic field to be parallel to the z-axis and thus the electric field to be parallel to the
(x,y) plane. The wave is called a transverse magnetic (TM) wave. In 2D and no
polarization terms present, Maxwell's equations can then be formulated as:
+A +B +C =
A=
26
B=
C=
In this representation, is the forcing function, and is in the same space as . It can be used to
express an externally applied field or to describe an optimization constraint. As formulated
above:
,
= ,
,
g may also be explicitly defined equal to zero to simplify certain problems, or to find a
characteristic solution, which is often the first step in a method to find the particular
inhomogeneous solution.
Electromagnetic theory was fully formulated by James Clerk Maxwell in 1864 in terms of the
Maxwell’s equations. Even though it has been around for over a hundred years, scientists and
engineers are continuously pursuing new methods to solve these equations. The reason is that
Maxwell’s equations govern the law for the manipulation of electricity. Hence, many branches of
electrical engineering are directly or indirectly related to the electromagnetic theory. Scientists and
engineers solve these equations in order to gain a better understanding of and physical
insight into systems related to the use of electromagnetic fields and waves.
The solutions of Maxwell’s equations can also be used to predict design and experimental
outcomes. Electromagnetics has persisted as a vibrant field despite it being over a hundred year
old is because many electrical engineering technologies depend on it. To name a few, these are:
physics based signal processing and imaging, computer chip design and circuits, lasers and
optoelectronics, MEMS (micro-electromechanical sensors) and microwave engineering, remote
27
sensing and subsurface sensing and NDE (non-destructive evaluation), EMC/EMI
(electromagnetic compatibility/electromagnetic interference) analysis, antenna analysis and
28
design, RCS (radar cross section) analysis and design, ATR (automatic target recognition) and
stealth technology, wireless communication and propagation, and biomedical engineering
and biotechnology.
29
CHAPTER – 3
BOUNDARY ELEMENT METHOD (BEM)
The method of moment is a general procedure for solving integral or intro-differential equations. It
is a numerical computational method of solving linear partial differential equations which have
been formulated as integral equations (i.e. in boundary integral form). This method owes its
name to the process of taking moments multiplying with appropriate weighing functions. It can be
applied in many areas of engineering and science including fluid
mechanics, acoustics, electromagnetic and fracture mechanics. Method of moment has its origin in
Russian literature. The origin and development of the moment method are fully documented by
Harrington in 1960s.
Boundary integral equations are a classical tool for the analysis of boundary value problems for
partial differential equations. The term “boundary element method” (BEM) denotes any method
for the approximate numerical solution of these boundary integral equations. The approximate
solution of the boundary value problem obtained by BEM has the distinguishing feature that it is
an exact solution of the differential equation in the domain and is parameterized by a finite set of
parameters living on the boundary.
The procedure for applying MOM to solve any integral problem involves four steps
3.1 Advantages:
The BEM have some advantages over other numerical methods like finite element
methods
(FEM) or finite differences:
1. Only the boundary of the domain needs to be discretized. Especially in two dimensions where
the boundary is just a curve this allows very simple data input and storage methods.
30
2. Exterior problems with unbounded domains but bounded boundaries are handled as easily as
interior problems.
3. In some applications, the physically relevant data are given not by the solution in the interior of
the domain but rather by the boundary values of the solution or its derivatives. These data can be
obtained directly from the solution of boundary integral equations, whereas boundary values
obtained from FEM solutions are in general not very accurate.
4. The solution in the interior of the domain is approximated with a rather high convergence rate
and moreover, the same rate of convergence holds for all derivatives of any order of the solution
in the domain. There are difficulties, however, if the solution has to be evaluated close to, but not
on the boundary.
(a) (b)
Figure 3.1 Boundary elements for an interior problem: (a) boundary divided into
elements; and (b) elements represented by straight lines.
31
3.3 Linear Approximation
Since the representation of the boundary is crucial to the method a separate treatment of this is
given. A single parametrisation of the boundary B will not always be possible or even desirable.
Much depends on how it is assumed that B is defined. A few examples are shown in Fig. 3.2. A
procedure which can be used in all these examples is to define the boundary by a series of point
values which
in example (a) could be calculated from the single parametrization of the ellipse,
in example (b) could be calculated from the geometry of various parts of the boundary,
in example (c) could be taken from measurements on the engineering drawing and
Figure 3.2 Examples of the definition of object boundaries: (a) ellipse, defined by a single
parameter; (b) object defined in terms of combination of simple curves ; (c) aerofoil,defined
from a drawing; and (d) arbitrary object, defined by a set of points.
Thus in all cases the boundary would be defined as in example (d) and information would be
needed about the shape of the boundary between the nodes. This process may be described as
30
approximation or representation of the boundary. In example (d) the representation would give
information which was not previously known about the boundary. In the other examples it would
create a boundary which was not the same as the one specified, but in any reasonable scheme the
boundary would be close to the original.
The simplest representation of the boundary is the linear one which joins the nodes by straight
lines as in Fig. 3.1(b). Points are represented by position vectors. As can be seen from Fig. 3.3
the vector joining points x1 and x2 is leading to the following equation of the straight line, x(t),
between them
( )= + ( − ) (3.1)
Thus when t = 0, x(t) = Xl and when t = 1, x(t) = x2. The range of values of t which give the line
from X2 to X2 is thus [0,1]. Other parameter ranges are easy to construct simply by making a
change of variable and it will be seen later that the range [-1,1] is the most useful. This range is
obtained by changing t to (t+ 1)/2 so that
( )= + ( − ) (3.2)
and now, when t=-1, x(t) = X1 and when t = 1, x(t) = X2, so that the parameter range is [-1,1].
Representation (3.2) may also be written as
+1 1−
( )= +
2 2 (3.3)
31
= ( ) + ( )
= ( )
( ) = , ( ) = (3.4)
The function M 1(t) thus has the property of being unity at the point whose position vector it
multiplies (node 1) and zero at the other node. The function M2(t) also has the property of being
unity at the point whose position vector it multiplies (node 2) and zero at the other node.
Functions with this property are widely used in the Finite Element Method as well as in
the Boundary Element Method and are called shape functions.
= ( )
Then for integration of a general integrand F(x, x') over one of the elements Bj,
( )
( , ,) ( )= ( ( ), ′)
where t1, t2. are the values of the parameter t corresponding to the ends of the element Bj. Also
( )
= ( ) (3.5)
where J(t) is a Jacobian associated with the change of variable from x to t. Considering the
elemental triangle in Figure 3.4, it can be seen that
2 2 2
[dS(x)] =dx + dy
32
REFERENCES
33