Lecture 4 Boundary Value Problems
Lecture 4 Boundary Value Problems
Introduction
● Previous discussion covered
– Uniform plane waves
– Transmission line structures
● Special techniques were used to solve such
problems
● New methods are required to solve problems
on wave guides, resonance, and radiation
Introduction
● Solutions to differential equations subject to
boundary conditions
– Solution of field distributions
– These solutions may be used to solve for other
parameters
● Techniques to be discussed are
– Numerical solutions of boundary value problems
– Method of separation of variables
Numerical Methods
● Increase in performance of computers allow us
to achieve accurate solutions for EM field
analysis through numerical methods
– May be used to evaluate analytic expressions
● No closed form solution
● Wholly numerical solution
● Only the most basic of methods are considered
● Choice of method depends on
– Accuracy, speed, versatility, hardware requirements
Numerical Methods
● Finite difference method
– Simple but large range of applications
– For a given ordinary differential equation f(x)', it can
be expressed approximately as:
f xa− f x
f x' ≈
a
– The differential equation may be approximated as
f xa = f x a f ' x
– For a given set of boundary conditions, we may be
able to find the approximate values of the solution
at points with unknown values for f(x) and f'(x)
Numerical Methods
● Finite Element Method
– More difficult than finite difference method
– More adaptable to complex boundarys (irregular
shapes), and spatially varying medium properties
– Used for solving 3 dimensional full wave problems
Numerical Methods
● Method of moments
– Based on integral equation
– Efficient for solving planar structures
– Results in knowledge of charge distributions on
surfaces of the structure
– Allows to find the total charge in the structure for a
given potential
● Find capacitance
Numerical Methods
● Let us first investigate how MoM may be used
to find the static charge distribution and
capacitances for 2 and 3 dimensional planar
structures
● The structure is subdivided into small elements
– Preparation for discrete numerical calculations
● Surface charge density ρsi is assumed to be
uniform for each of the elements
Numerical Methods
● The total charge for each element is ρsi Δsi.
● The total charge is then treated as a point
charge located at the center of the element
– Point charge is used in making potential
calculations
● For 2D structures, there is no variation in axial
direction
– Charge per unit length ρsi Δsi is used instead of total
charge
– Represented as a line charge located at the center
of the element
Numerical Methods
● Potentials are calculated using formulas for
charges in free space
– Conductors in the structure are accounted for by
including all charges on the surfaces
● The potential at the center of the element ith
element is the sum of the potentials due to each
of the charges in the structure
N
sj S j
V i =V ii ∑
j ≠i 4 ∣ri− rj∣
Numerical Methods
● The term Vii is the potential at the center of the
ith element due to the charge on the ith element
itself
– Must be handled separately from the summation
term (if i = j, term inside summation is singular)
– This is computed by integrating the charge density
over the element
● Point charge equivalent is not used for solving this
potential
● For convenience, element is assumed to be a disk even if
actual element is a square
2 a
si r dr si
V ii =∫ d ∫ =0.282 S i
0 4 r
0
Numerical Methods
● For 2 dimensional structures, the charges
considered are line charges
– The potential at the center of segment i
N
∑ sj l j ln∣ri− rj∣
j≠i
V i=V ii C T
2
– Again, Vii must be handled separately to avoid
singularity
V ii =
− si l i
2 [
ln
li
2
−1
]
Numerical Methods
● Let us try to use MoM to solve a parallel plate
structure
V=Vo
1 2 3 4
5 6 a
V=-Vo 7 8
a
Numerical Methods
● The equation for element 1 can be written as
a s2 a s8 v
4 0.282s1 ... = V0
∣r1−r2∣ ∣r1 −r8∣ a
– Writing equations for each of the elements and
expressing in matrix form
[ [] ]
a a
[]
3.54 ... V0
∣r1− r2∣ ∣r1− r8∣ S1
V0
a a S2 4
3.54 ... = ...
∣r2−r 1∣ ∣r2− r8∣ ... a
−V 0
a a s8
... 3.54 −V 0
∣r8 −r 1∣ ∣r8− r2∣
Numerical Methods
● System of 8 equations and 8 unknowns
– If the potentials at the conductors are know, surface
charge densities may be solved
– From the surface charge densities, the fields may
also be found
– The capacitance is just Qtotal/2V0
– Values found are subject to errors due to the
approximations made
Numerical Methods
● Assumptions made are:
– Charges due to each of the elements are due to
point charges at the center of the elements
– For the Vii, the shape was assumed to be a circular
disk instead of a square
● Errors are dependent on these assumptions
– For more accurate results, it is required that the
conductor surfaces be divided into very small
elements such that the contributions of these errors
are very small
– Inversion of a large matrix is required
Method of Separation of Variables
● One of the most powerful techniques to solve
linear partial differential equations
● Leads to solutions which are made up of the
products of n independent functions (for n-
dimensional problems)
– Each function depends only on one variable
F x , y , z = X x Y y Z z
– Though not strictly general, but may be added to
form a series expansion to represent more general
functions
Method of Separation of Variables
● Single product solutions of the wave equation
represent modes which can propagate
individually
– Different modes of propagation in waveguides
● Let us consider the 2D Laplace's equation in
rectangular coordinates
2 2
∂ V ∂ V
2
2 =0
∂x ∂y
Method of Separation of Variables
● We assume that the solution V(x,y) is the
product of two functions, each only a function of
x or y
V x , y = X xY y
● Substituting this solution to the second order
differential equation we have:
X ' ' Y X Y ' '=0
● Separating the sums into functions of one
variable only X '' Y ' '
=0
X Y
Method of Separation of Variables
X '' Y ' '
=0
X Y
● The previous equation is to hold for all values of
x and y for the solution to be valid
– First term is only a function of x, and second term is
only a function of y
– The second term does not vary with x
– For the equation to hold, the first term must not vary
with x as well
– Therefore, the first and second terms of the
equation must be constants
Method of Separation of Variables
● Let us denote the constant for the first term as
Kx2 and the constant for the second term as Ky2
● The equation then becomes
2 2
K K =0
x y
● Which can be separated into two second order
equations
X '' 2 Y '' 2
=K x =K y
X Y
2 2
X ' '=K x X Y ' '=K y Y
2 2
X ' '−K X =0
x Y ' '−K y Y =0
Method of Separation of Variables
● These are two second order ordinary differential
equations.
● The characteristic equation for these equations
are: 2 2
s −K =0
● The roots of this characteristic equation are
s=±K
● The solutions can be expressed either as
exponentials or as hyperbolic functions
Kxx −K x x
X x= Ae B e Ky y
Y y =C e D e
−K y y
∫ cos nkx cos mkx dx=0 ; m≠n ∫ sin nkx cos mkx dx=0 ; m≠n /m=n
−L −L
2 2
L L L
2 2 2
L
∫ sin nkx sin mkx dx=0 ; m≠n ∫ cos nkx dx=∫ sin nkx dx= 2
2 2
−L −L −L
2 2 2
Fourier Series
● To be able to use these properties, we multiply
each term in the series by cos nkx and integrate
over the period
– Each term on the right vanishes except for the
cos nkx term, which leaves us anL/2
L/ 2
2
a n= ∫
L −L/2
f x cos nkx dx
● Multiplying the series by sin nkx and integrating
again gives us
L/2
2
b n= ∫
L −L/ 2
f xsin nkx dx
Fourier Series
● To get the constant term a0, every term is
integrated over a period
– All cos and sin terms become zero
– a0 becomes the average value of the function f(x)
L/ 2
1
a 0= ∫ f x dx
L − L/2
● The function f(x)
[∫ ] [ ]
L/ 2 n=∞ L/ 2 L/ 2
1 2 2
f x= ∫ f x dx ∑ f x cos nkx dx cos nkx ∫ f x sin nkx dx sin nkx
L −L /2 n=1 L −L/ 2 L −L/2
Fourier Series
● For a general function, an infinite number of
terms is required in the Fourier series
representation
– When other terms are discarded, the function
retains the desired shape, but is somewhat
distorted
– For functions with sharp discontinuities, large
number of terms may be required to approximate
sharp corners properly
– Series does not converge to the function near the
discontinuity (Gibbs phenomenon)
Fourier Integral
● In some problems, the function of interest is
aperiodic and is defined over the entire range
● An example is a square pulse with value C in
the interval -a <x< a and zero otherwise
– Limiting case, where L approaches infinity
– Spacing between components becomes vanishingly
small
– The infinite summation becomes an integral
Fourier Integral
The function is now represented as
●
1 ∞
f x= ∫
2 −∞
jkx
g k e dk
● The function g(k) which replaces the an and bn terms
of the infinite series become
∞
g k = ∫ f xe
− jkx
dx
−∞
● For the integral pair to work it is required that the
function be continuous or have only a finite number
of finite discontinuities, and must be absolutely
integrable ∞
∫
−∞
∣ f x∣dx∞
Fourier Applications
● The fourier series may be used to give the
complete solution of a boundary value problem
which can not be expressed as only one
solution
– Express the solution as a series of solutions
– Fourier series may be used
Fourier Applications
● Consider a structure with the following
boundary conditions
– V=0 at x = 0,a and y=0
– V= V0 at y = b
– Assume that there is an infinitesimal gap between
the boundaries at x =0,a and y = b
● Form of solution to be selected must have
sinusoidal variations along x
– Repeated zeros along x (boundary condition)
Fourier Applications
● The form of the solution must be:
V x , y = A cos KxBsin KxC cosh KyD sinh Ky
2 2
1 ∂ ∂V 1 ∂ V ∂ V
2 2 =0
∂ ∂ ∂ 2
∂z
● For a system with no variations wrt φ and z
V r=C 1 ln C 2
Cylindrical Harmonics
● For systems with no variation wrt z, we have
circular harmonics of the form
V , = A B
n −n
C cos nD sin n
● For systems with axial symmetry (no variations
with φ), Laplace's equation becomes
2 2
∂ V 1 ∂V ∂ V
2 =0
∂ 2 ∂ ∂z
Cylindrical Harmonics
● We assume that the solution is of the form
V , z=P Z z
● Substituting into the differential equation
1
P ' ' Z P ' Z PZ ' ' =0
● Dividing the entire equation by PZ
P'' 1 P' Z ' '
=0
P P Z
Z''
Z
=−
[ P'' 1 P'
P
P ]
Cylindrical Harmonics
● Again for the equality to hold, both the left and
right side of the equation must be equal to a
constant
– We let the constant be T2 we now have 2 differential
equations
2
1 d P 1 dP 2
=−T
P d 2 P d
2
1 d Z 2
=T
Z d z2
Cylindrical Harmonics
● The first equation can be rewritten as
d2P 1 d P 2
T P=0
d d
2
p=0
Cylindrical Harmonics
● Substitution of this series into the differential
equation shows that it is a solution if the
constants are
2m
T / 2
m
a p =a 2m =C1 −1
m !2
– The following equation is a solution to the
differential equation
∞ m 2m
−1 T /2
P=C 1 ∑
m=0 m! 2
Cylindrical Harmonics
● The series is convergent, and values may be
calculated for any value of the argument Tρ
– Such calculations have been made over a wide
range of values, and the results are tabulated
● If T2 is positive, the function defined by the
series is denoted by J0(Tρ) and called the
Bessel function of the first kind and zero order
∞ m 2m
−1 v/ 2
J 0 v= ∑
m =0 m! 2
Cylindrical Harmonics
● The solution to the differential equation can be
written simply as
P=C 1 J 0 T
● The differential equation of P is of second
order, and therefore must have a second
solution with a second arbitrary constant
– The second solution can not be obtained using
power series method
– At least one of the 2 solutions must be singular at
ρ=0
Cylindrical Harmonics
● One form for the second solution is of the form
∞ m 2m
2 v 2 −1 v /2 1 1
N 0 v = ln J 0 v − ∑ 1 ...
2 m=1 m! 2 2 m
a
pm pq
∫ J 0 a
J0
a
d =0
0
pm
∞
P= ∑ b m J 0
m=1 a
a
2 pm
b m= 2 2 ∫ f J 0 a d
a J 1 pm 0
Example
● Consider a cylindrical system with the following
boundary conditions:
– V= 0 for z = 0,l V = V0 for ρ = a
● For this problem, the potential does not have
any variations with respect to φ
– The Bessel function required is of the zeroth order
V , z=C 1 J 0 T C 2 N 0 T C 3 sinh TzC 4 cosh Tz
V , z=C 1 I 0 C 2 K 0 C 3 sin z C 4 cos z
Example
● Since we have periodic zeros along z, the
solution must be of the sinusoidal form
V , z=C 1 I 0 C 2 K 0 C 3 sin z C 4 cos z
4V 0
b m=
m
=C m I 0
m a
l
4V0
C m=
m I 0 m a /l
4 V 0 I 0 m/ l m z
V , z= ∑ sin
m odd m I 0 m a/ l l