Development of The Virtual Lab Module For Understanding The Concepts of Electric and Magnetic Field Patterns in Rectangular Waveguides and Cavities
Development of The Virtual Lab Module For Understanding The Concepts of Electric and Magnetic Field Patterns in Rectangular Waveguides and Cavities
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
Tannu Gupta, Sudha Madhuri A, Prachi, M Jaleel Akhtar and K Vaibhav Srivastava
Indian Institute of Technology Kanpur, Kanpur, India
Abstract—A LabVIEW based general purposed module to The electromagnetic field theory and microwave
understand and visualize the electromagnetic field patterns engineering usually deal with the high frequency
inside commonly used microwave devices is developed. The analysis, where the dimensions of the object or wire are
module provides both the electric and magnetic field pat- comparable to the operating wavelength. The electric and
terns for any arbitrary mode configuration inside the rec- magnetic field patterns in various structures at microwave
tangular waveguide and the cavity, which are the micro- frequencies become quite relevant in order to predict the
wave devices mostly being taught at undergraduate levels in behavior of various devices at these frequencies, and
the electrical engineering. The developed module helps the hence studying the electric and magnetic field patterns,
user in gaining a better and deeper understanding of the also known as modes, becomes important. These fields
electric and magnetic field patterns and modes inside the are vector quantities, and are usually analyzed using
guiding and closed structures. advanced calculus concepts. In the developed module, the
electric and magnetic fields have been represented in
Index Terms—Electromagnetic field patterns, modes in vector form with arrows indicating both magnitude and
rectangular waveguides, virtual microwave laboratory, direction, so that the user can make a one to one
visualization modules for engineering education. correspondence with the fields and their equations.
I. INTRODUCTION The developed module is also a supplement to lab
work, which is obviously quite complicated for
The modern day tools of today’s Electrical Engineer electromagnetic field quantities. The proposed interactive
such as the wireless communications, RF and Microwave simulations seem to be obviously more interesting
Circuits, etc. require engineering students to have deeper compared to both the classroom and the lab work,
understanding of the concepts related to the although they are no substitute for real experiments. The
electromagnetic theory and microwave techniques. But, flexibility in varying different parameters and viewing
the courses in these areas are today becoming less the field patterns gives the user enough knowledge to
interesting to students of electrical engineering. The extend his understanding to other microwave devices and
reason behind the lack of interest stems from the fact that more complicated structures. Finally, these tools can be
these courses are quite involved, and require deeper remotely accessed without requiring any complicated
understanding of advanced mathematical concepts. The hardware at the user end, and hence we can target the
reason for the lesser interest shown by students is much wider section of the society in minimum time
probably also due to the conventional way these courses frame requiring least resources.
are being taught in undergraduate classes. Now, with the The main aim of this work is to develop visualizations
advent of modern visualization tools, these courses can simulation tools for understanding various concepts of
be made quite interesting and appealing to students, electromagnetics and microwave engineering by students
which would go a long way in popularizing the at remote places. It may be mentioned here that the
electromagnetics and microwaves education to young engineering education in India is increasing at a very fast
undergraduates. The development of Virtual RF and rate, and it is continuously becoming quite difficult for all
Microwave Laboratory at the Indian Institute of these new engineering colleges to have expertise in
Technology, Kanpur is the first step in this direction, specialized areas such as the electromagnetic theory and
where the main aim is to help the students in microwave engineering. The development of the
understanding the basic concepts of electromagnetic field proposed simulation tools is mainly targeted at these
theory and microwave engineering using a number of students and groups, who can access and perform the
developed visualization modules virtual experiments from their remote places.
(http://www.iitk.ac.in/mimt_lab/vlab/index.php?pg=wave
guide/aim&usr=&enc=). The developed virtual lab is It may be noted that the significance of graphical aid
aimed at assisting the student through simulation and tools and the virtual lab development in imparting the
virtual experiments using a number of microwave engineering education has recently been reported by few
devices. groups such as [1]. It has also been reported that the
LabVIEW is one of the most versatile graphical tools for
12 http://www.i-joe.org
PAPER
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
understanding some concepts in the field of electrical is conveyed by means of transverse components of the
engineering [2]. The virtual lab concept has recently been electric and magnetic fields governed by Maxwell’s
employed in the field of microwaves and Antennas, equations along with the appropriate boundary
where the students can remotely access the radio conditions. Both simple and higher order field patterns of
telescope using custom made receivers [3]. However, to the rectangular waveguides are analyzed here using the
the best of our knowledge, the visualization tools or the simple Cartesian co-ordinate system. However, the
virtual experiments have till now not been developed to overall procedure can be well extended to the analysis of
visualize the electromagnetic field patterns inside various field arrangements in circular waveguides.
structures such as rectangular waveguides and cavities at
microwave frequencies. The understanding of these field
patterns, and to know their significance, is obviously the
first and the foremost step in order to gain deep
knowledge about the operation of various RF and
microwave structures.
In the present work, a general purpose simulation
module using LabVIEW is developed to visualize and
understand various electromagnetic field patterns inside a
rectangular waveguide and the microwave cavity Figure 1. A simple rectangular waveguide
resonator. The overall paper is organized as follows. First
of all, the basic theoretical concepts about the As the paper deals with the field patterns of guided
electromagnetics, microwaves, rectangular waveguides, electromagnetic waves, a brief summary of the deduction
cavity resonators etc., which are required for the of the electromagnetic field pattern beginning from the
development of proposed module, are briefly discussed in preliminary wave equation follows. The four Maxwell’s
section II. In section III, a brief introduction of the virtual equations for electromagnetic waves in their differential
simulation module is presented. The main theme of the form have gradient and curl functions, which lead to the
presented work, which is the development of appropriate wave equation where A stands for either electric or
virtual lab modules, is described in detail in sections IV magnetic field [4].
and V. Finally, some concluding remarks are provided.
2 2 A 0 ….. Wave Equation (1)
II. THEORY where,
2 2
A. Electromagnetic fields and the Rectangular ω με = k c
Waveguide
2 = Laplacian operator
Electromagnetic fields propagate in a waveguide
A = Electric or Magnetic field
forming electric and magnetic field patterns. The
waveguide imposes boundary conditions on the wave ω = operating frequency of the waveguide
forming TE (Transverse Electric) and TM (Transverse μ = permeability of the medium
Magnetic) mode patterns in the waveguide. These electric ε = permittivity of the medium
and magnetic fields patterns vary with both time and
space. The propagation of the electromagnetic wave k c = wave number of the guide corresponding
inside the waveguide is governed by the continuous to the cutoff frequency.
exchange of energy between the electric and magnetic The wave Equation described in (1) is the
fields. The curl operation on electric field produces a characteristic equation describing the Electric field
time varying magnetic field, and in the same way curl of 2
(Magnetic field) in a linear system, where k c is the Eigen
the magnetic field produces time varying electric field
sustaining the energy required for propagation. value of the electric field system. These Eigen values are
discrete and are represented by integer values of ‘m’ and
In free space and the conventional two conductor lines,
‘n’ and give the fundamental mode of operation of the
usually the most basic field pattern, widely known as
waveguide. The waveguide acts like a high pass filter
TEM (Transverse-Electric-Magnetic) mode, prevails
which cuts off wave propagation below the cut off
where both the electric and magnetic fields are
frequency, above which it behaves like a transmission
perpendicular to the direction of propagation. However,
line. The electric and magnetic fields are usually time and
the waveguides, which are basically hollow metal pipes
space dependent described by
of either rectangular or circular cross-section, do not
support the basic TEM mode because of the presence of E= E0 e− j( ωt + βz )
.... (2)
only one conductor and hence the fields are arranged in − j ( ωt+ βz)
either TE (Transverse Electric) or TM (Transverse H= H 0 e … (3)
Magnetic) modes. These TE(TM) modes have zero with the cut-off frequency as
electric (magnetic) fields in the direction of propagation.
The waveguides are quite important class of devices
for electromagnetic energy transfer at microwave
frequencies specifically for high power applications. The (4)
electric and magnetic field patterns are quite well For m=1 and n=0, the TE10 mode would exist inside
behaved in a waveguide, and hence their detailed study the structure. It is the simplest realizable mode with the
provides insight into the wide variety of patterns formed least possible cut off frequency in a rectangular
by guided electromagnetic waves. The energy in this case waveguide for a > b. It is also called as the dominant
14 http://www.i-joe.org
PAPER
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
(http://www.iitk.ac.in/mimt_lab/vlab/index.php)
IV. VISUALIZATION MODULE FOR RECTANGULAR Here x is along the width, y is along the height and z is
the direction of propagation of the wave. By keeping any
WAVEGUIDES two of the three variables constant from A, B and C, the
A. The module to generate Electric and Magnetic Fields variation with respect to the third variable can be studied.
in the Rectangular Waveguide B. Brief description of the developed module by consid-
The program flow for the VI, which generates the ering the field patterns of the TE10 mode
electric and magnetic field patterns for a mode selected The electric field pattern of the dominant TE10 mode
by the user, is shown in Fig.5. The program flow has along the cross-section of the rectangular waveguide as
three main steps as shown in this figure in order to observed in the developed LabVIEW module is shown in
generate the appropriate field patterns for the particular Fig. 7.
mode
Figure 8. Figure The arrow electric field pattern for TE10 mode in the yz
Figure 7. The arrow electric field pattern for TE10 mode in the xy plane plane at a constant x value
at a constant z value
It can be observed from Fig. 8 that the direction of the
The field lines appearing in Fig. 7 can be understood electric field arrow for TE10 mode is along the y axis in
using the following guidelines: the yz plane. Also, n=0 implies that there is no variation
I. The strength and the direction of the field w.r.t. of the electric field along y- direction. It is also to be
position along the xy plane is represented by ar- noted that the field density is higher in the vicinity of
rows, the higher the electric field magnitude the z=π/2β and z=3π/2β as indicated by the red color and the
more prominent the arrow size. In Fig 7, the elec- field strength diminishes (as seen by the decrease in the
tric field strength is maximum at the center and arrow size) as we move towards z=0, z=π/β and z=2π/β,
goes to zero along the boundary. where they finally become zero. These kinds of behavior
of the field lines can be understood from the expression
II. The continuity condition at the boundary y=0 and of electric field. For the yz plane, the electric field is
y=b of the conductor waveguide shows the normal evaluated for x=a/2, and the expression is given by:
component of the field strength along the y axes.
III. The tangential electric field goes to zero at x=0
. (10)
and x=a, which is the boundary of the conductor
Thus the field exists in -y direction for z<π/β and in +y
waveguide representing side walls.
direction for z> π/β. This field is maximum at z=π/2β,
IV. The mode pattern of the TE10 mode along the xy
3π/2β, and it becomes zero at z=0 , z= π/β and z= 2π/β.
plane shows that the electric field exists only in
negative y direction and there is one half wave- The electric field pattern for the TE10 mode along xz
length variation along the x axis, while the half plane is shown in Fig. 9.
wavelength variation along the y axis is zero; For
n=0 at time t=0 the only nonzero component of the
electric field is the y component, which is given
by: [4]
(8)
For xy plane, the electric field is evaluated for
z=π/2β. Hence the expression for the nonzero elec-
tric field component can be modified as:
. (9)
The ‘sine’ variation along the x axis in Fig. 7 is Figure 9. The electric field pattern for TE10 mode in the XZ plane
highlighted by drawing a sine curve (yellow in
The dot pattern in this figure corresponding to the xz
color). This variation shows that at any constant plane shows that the electric field pattern is perpendicular
‘y’ position, the magnitude of the field starts in- to this plane. The strength of the field is higher near
creasing from zero and reaches its maximum posi- x=a/2 and z= π/2β (as indicated by the red color) and
tion at centre (x=a/2) as indicated by the red color. field strength diminishes as we move towards z=0, z= π/β
Afterwards, the field strength starts diminishing and z= 2π/β along the z direction, and towards x=0 and
(as seen by the decrease in the arrow size) as we x=a along the x direction.
move away from the center, and finally the electric The magnetic field pattern for the TE10 mode along the
field again becomes zero for x=a. three planes is shown in Fig. 10. It can be observed from
this figure that the magnetic field lies along the x axis in
The electric field pattern along the yz plane at x=a/2 is xy plane and along z axis in yz plane.
shown in Fig. 8. The magnetic field has only x and z components, and it
has a circular pattern in the xz plane as shown by the
closed circular arrows.
16 http://www.i-joe.org
PAPER
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
(11)
From the field expressions, it can be seen that the
electric field has only y component at y=0, and its value
is higher in the vicinity of x=a/2. Similarly, the field has
only Ex component at x=0, and its strength is higher in
the vicinity of y=b/2. These findings match with the plot
shown in Fig. 11.
Figure 10. FiMagnetic field pattern along the three planes for the TE10
mode
Figure 12. The electric field pattern for TE11 mode in the xz and yz
planes
II.Fig.12. shows the electric field pattern for the TE11 mode
in yz and xz planes. The dot pattern in these two
planes indicates that the electric field is perpendicu-
lar to both planes. The field strength in the xz plane
is higher near x=a/2, while in the yz plane it is
maximum at y=b/2.
III. The tangential electric field is zero at the boundaries
Figure 11. The arrow electric field pattern for TE11 mode in the xy as indicated by absence of any field near the bounda-
plane at constant z value ries of the xz and yz planes in Fig.12.
Following points should be noted in order to
understand the arrow electric field pattern of the higher
order mode shown for TE11 mode in this section:
I. It can be seen from Fig. 11 that the field lines lie in
the xy plane. In the vicinity of x=0, the field lines are
mostly along +x direction as indicated by the arrows
pointing towards right in direction of positive x axis.
This field is maximum at y=b/2 (as indicated by the
red color) and diminishes as we move towards y=0
and y=b (as indicated by decreasing arrow sizes). In
the vicinity of x=a/2, the field is along the –y direc-
tion for y<b/2 indicated by arrows pointing down-
wards, and it is along the +y direction for y>b/2 indi-
cated by arrows pointing upwards.
Figure 13. The magnetic field pattern along the three planes for the
TE11 mode
18 http://www.i-joe.org
PAPER
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
yz plane
J =- )ay +
az (12)
xz plane
J = (-1)n
[
)ax +
az] (13)
For TE10 mode, the surface current density exists along
the y direction for yz plane. For xz plane, at z=0 Jz=0 and
J is along the -x direction for x<a/2, and along the +x
direction for x>a/2 following cosine distribution. For
z=π/2β, 3π/2β Jx is zero (since cos(βz)=0) and J is in +z
direction for z= π/2β and –z direction for z= 3π/2β Figure 18. Front panel of the rectangular cavity showing the E field
(according to sin(βz) variation). This can also be seen pattern of TE101 mode
from the surface current density pattern in Fig.17.
C. Enter mode number m, n and p.
D. Field pattern in xy plane on picture box1
E. Field pattern in xz plane on picture box 2
F. Field pattern in yz plane on picture box 3
G. Indicator for the value of x, y and z at which the
fields and the surface current density is plotted
in YZ, XZ and XY planes respectively.
Here x is along the length, y is along the height and z
is along the direction of propagation of the wave. By
keeping any two of the three variables constant, the
variation with respect to the third variable can be studied.
The developed rectangular cavity module has the
capability to plot the electric field, the magnetic field and
the surface current density patterns for any arbitrary
mode in the cavity.
B. Electric and Magnetic Field patterns in the Rectan-
gular Cavity for the Characterization of Dielectric Sam-
ples
As explained briefly in section-II, the rectangular
waveguide cavity can be used for the measurement of
permittivity and permeability of materials. At microwave
frequencies, the materials are usually nonmagnetic; hence
Figure 17. Current distribution in TE10 mode along the YZ and XZ the measurement of complex permittivity of materials
planes becomes more important. The selection of the particular
mode for the material measurement is decided by many
V. VISUALIZATION MODULE FOR THE RECTANGULAR factors. The prime consideration in the mode selection is
CAVITY to know whether the parameters of the interest are the
permittivity or the permeability of the test specimen. If
A. Electric and Magnetic Field patterns in the Rectan-
the permittivity of the sample is the desired parameter,
gular Cavity then the mode should be selected in such a way that the
The rectangular cavity has been implemented in test specimen can quite conveniently be placed at the
LabVIEW, and the electric and magnetic field patterns position of maximum electric field. Similarly, for the
along with the surface current density on all three planes permeability measurement, the mode selection should be
have been plotted for the general TEmnp and TMmnp primarily decided by the fact that the sample has to be
modes. The front panel of the VI is shown in Fig. 18. inserted at the position of maximum magnetic field.
The user interface in Fig 18 is annotated as follows: In the present work, the module is primarily developed
A. Select TE/TM for the permittivity measurement. The TE10p mode (p
B. Select Electric/Magnetic Field/Surface current being odd) is selected for this purpose, which ensures the
density maximum value of the electric field at the centre. The
20 http://www.i-joe.org
PAPER
DEVELOPMENT OF THE VIRTUAL LAB MODULE FOR UNDERSTANDING THE CONCEPTS OF ELECTRIC AND MAGNETIC FIELD PATTERNS IN
RECTANGULAR WAVEGUIDES AND CAVITIES
It may be mentioned here that after plotting the using the rectangular waveguide cavity without requiring
frequency response of the empty cavity and the cavity any expensive hardware at the user end.
loaded with the sample, their respective peak frequency The main emphasis of the proposed work has been
and Quality factor are observed as shown in Fig. 21. the development of visual aid tools for under graduate
Equations (6) and (7) are then employed to calculate the students in order to assist them in understanding some
value of the dielectric constant and the loss tangent of the vital concepts in the field of RF, electromagnetic field
test samples from the observed peaks [5]. The developed theory and Microwave Engineering. However, the overall
module to determine the dielectric constant of the test process is ongoing, and this task can only be improved by
sample can be accessed online for better understanding of getting valuable feedbacks from users. The students are,
the overall procedure at http://www.iitk.ac.in/mimt_lab/ therefore, encouraged to visit the web page of our
vlab/index.php?pg=cavity/aim&usr=&enc= virtual lab at the address given earlier, and perform the
actual experiment using the procedure and guidelines
VI. CONCLUSION provided on the site. After performing the experiment,
The easy to understand visualization modules have they can provide the feedback online at the web site of
been developed in order to observe the electric and the lab.
magnetic field patterns inside the waveguide and cavity
structures. The simulation modules provide students an REFERENCES
opportunity to visualize and understand various concepts [1] E. Lunca, S. Ursache, O. Neacsu, “Graphical programming tools
related to the electric and magnetic field mode patterns, for electrical engineering higher education,” International Journal
which are otherwise quite difficult to conceptualize. The of Online Engineering, vol. 7, Issue 1, Feb. 2011, pp. 19-24..
main emphasis in the proposed work has been the [2] G Gercek and N Saleem, “Transforming traditional labs into
visualization of field patterns inside the rectangular virtual computing labs for distance education,” International Jour-
nal of Online Engineering, vol. 4, Issue 1, Feb. 2008, pp. 46-51.
waveguide and the cavity, but the overall procedure can
[3] J L Gomez-Tornero et al. “Interactive lab to learn radio astron-
equally be applied to other RF and microwave structures. omy, microwaves and antenna engineering at the technical univer-
The visualization modules are available online as a part sity of Cartagena,” International Journal of Online Engineering,
of the RF and Microwave Virtual Laboratory currently vol. 7, Issue 1, Feb. 2011, pp. 10-18.
being developed at IIT Kanpur, and can be accessed at [4] D M Pozar, Microwave Engineering, John Wiley & Sons, 1998.
(http://www.iitk.ac.in/mimt_lab/vlab/index.php) [5] Agilent Application Note - 11949698, “Basics of Measuring the
Apart from the field visualization, one practical Dielectric Properties of Materials".
application of the rectangular waveguide cavity has been [6] The LabVIEW environment – http://www.ni.com.
shown in the proposed work by developing an
appropriate module for the electromagnetic material AUTHORS
characterization in the microwave frequency band. The Tannu Gupta, Sudha Madhuri A, Prachi, M Jaleel
developed module in this case helps in finding the Akhtar and K Vaibhav Srivastava are with the
dielectric constant and loss tangent of the material under Department of Electrical Engineering, Indian Institute of
test by inserting a small piece of sample inside the Technology Kanpur, Kanpur, India.
rectangular cavity. The module helps the student in This article is an extended version of a per presented at The
understanding the permittivity measurement process International Conference REV2011, held in June 2011, in Brasov,
Romania. Received 16 May 2012. Published as resubmited by the
authors 21 July 2012.