Microwave Engineering: Laboratory Manual
Microwave Engineering: Laboratory Manual
Microwave Engineering: Laboratory Manual
Laboratory Manual
Microwave Engineering
CERTIFICATE
This is to certify that Miss/Mr. __________________________
of 7th semester Enrollment no. ____________________ has
satisfactorily completed her/his laboratory work in the
Microwave Engineering Subject as per G.T.U. Guidelines.
_____________ _____________
Head of Department Faculty
INDEX
Sr. Page
Name Of Experiment Sign
No. No.
1 To study Waveguide Tees and Bends.
Experiment No. 1
1. H-Plane Tee :
Working
H-plane Tee has scattering matrix as shown below,
The amount of power coming out of port 1 or port 2 is due to input at port 3
Hence the power coming out of the port 1 or port 2 is 3 dB down with respect to
input power at port 3; hence the H-plane Tee is called as 3-dB splitter.
Input at port 3 is the addition of the two inputs at port 1 and port 2 and these
are added in phase.
There is only one difference between E & H plane is that output s from E plane tee
is out of phase, i.e., means the two output at port1 and port2 will have a phase shift
of 180` , as shown in fig.
E plane tee called voltage junction, while H plane tee called current junction.
Advantages:
Disadvantages:
Applications:
It is used as an adder
As a 3dB splitter
As a current junction.
2. E-Plane Tee
We know that,
Advantages:
Disadvantages:
Applications:
3. Magic Tee :
Working
When power is fed to port 1, nothing comes out of port 2 even though they are
collinear ports (Magic!!). Hence ports 1 and 2 are called as isolated ports. Similarly
an input at port 2 cannot come out at port 1.Similarly E and H-ports are isolated
ports.
Equal inputs at ports 1 and 2 results in an output port 3 (additive port) and no
output at port 1, 2 and 4. This is similar to case 4.
Advantages:
Disadvantages:
Applications:
As an isolator
As an matching device
As a phase shifter
As a T/R switch in trans receiver
4. H-Plane Bend :
Working
There are several ways in which waveguide bends can be accomplished. They may
be used according to the applications and the requirements.
Waveguide E bend Waveguide sharp H bend
Waveguide H bend
Waveguide sharp E bend
Each type of bend is achieved in a way that enables the signal to propagate
correctly and with the minimum of disruption to the fields and hence to the overall
signal. Ideally the waveguide should be bent very gradually, but this is normally
not viable and therefore specific waveguide bends are used. Most proprietary
waveguide bends are common angles - 90° waveguide bends are the most common
by far.
This form of waveguide bend is very similar to the E bend, except that it distorts
the H or magnetic field. It creates the bend around the thinner side of the
waveguide. As with the E bend, this form of waveguide bend must also have a
radius greater than 2 wavelengths to prevent undue reflections and disturbance of
the field. Sharp 90` bends create total reflection resulting in infinite SWR.
Therefore bends have to be gradual.
Sharp H Bend:
At lower frequencies a bend may have to be very long and in such cases, a corner
would be preferred. A mitered 90 bend is a corner, as shown in fig. In order to
minimize the reflection the mean length L must be an odd number of quarter
wavelengths, so that reflected wave from both ends of the waveguide are
completely cancelled.
Advantages:
Disadvantages:
Applications:
Review Question:
Q.1 What are waveguides? What is the fundamental difference between propagation in
waveguides and propagation in transmission lines or free space?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Q.2 Why electromagnetic waves are said to be transverse? In what way are transverse
waves different from longitudinal waves?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Experiment No. 2
Directional Coupler
And both are electromagnetically coupled to each other. The Main and
Auxiliary waveguide both have 2 ports named port1 & port 2 of Main
waveguide and port3 & port4 of Auxiliary waveguide. Here General
Directional coupler is shown.
Where,
Pc (4) Coupled power (forward power) Pb(3) Back power (reverse power)
Working:
Let assume that we give input signal from port 1 so, output is received
from port 2 and some amount of power is also coupled to port 4. As here
port 3 is terminated from the terminated device so no power available at
port 3.
For directional coupler there are main two parameters for measuring
its performance.
Coupling factor C: it is defined as the ratio of the incident power Pi to the forward
power Pr measured in dB. Typical value of coupling factor is 20 db. Generally‟
directional coupler
Coupling factor is a measure of how much of the incident power is being sampled
while directivity is the measure of how well the directional coupler distinguishes
between the forward and reverse travelling powers. Typical value of directivity is
60 db.
Advantages:
Easy to fabricate
It is useful to measure different microwave powers.
Disadvantages:
There are only one disadvantage that there are generate some
coupling insertion loss.
Applications:
1. Circulator :
A circulator is a ferrite device with usually three ports. They are non-reciprocal.
That is, energy into port 1 predominantly exits port 2, energy into port 2 exits port
3 and energy into port 3 exits port 1. In a reciprocal device the same fraction of
energy that flows from port 1 to port 2 would occur to energy flow the opposite
direction, from port 2 to port 1.
The selection of ports is arbitrary and circulators can be made to “circulate” either
clockwise (CW) or counterclockwise (CCW). In addition to the ferrite substrate a
magnet is required to make a circulator.
Circulators come in waveguide, coax and “drop-in” Micro strip varieties. Micro
strip circulators are often used in transmission and receiver modules to duplex the
antenna to the power amplifier. Waveguide always provides the best loss and
power handling.
What are the circulators good for? They make a great antenna interface for a
transmitter-receiver system. Energy can be made to flow from transmitter (port 1)
to antenna (port 2) during transmit and from antenna (port 2) to the receiver (port
3).
Circulators have low else critical losses and can be made to handle huge powers in
kW. They usually operate over no more than octave bandwidth, and are purely an
RF component (they don‟t work at DC).
Advantages:
Disadvantage:
Expensive.
Complex
Application:
1. Isolator:
2. Duplexer:
To route signal from transmitter to receiver from antenna without allowing signals
to pass directly from transmitter to receiver.
A lot of people mix up these terms. You can remember the correct definitions
because "filter" and "diplexer" both have an "i" in them, and "circulator" and
"duplexer" both has a "u".
3. ISOLATOR:
An isolator is a two-port device that transmits microwave or radio frequency power
in one direction only. Use to shield equipment on its input side, from the effects of
conditions on its output side; for example, to prevent a microwave source being
detuned by a mismatched load.
interposed between the oscillation means and the transmitting antenna for
switching the RF signal to the antenna.
Isolation (dB): This is a measure of signal levels at the adjacent ports of the RF
circulator. It is measured in decibel (dB).
Function:
It can be visually seen that an isolator is open and hence service men are assured
that it is safe to work on the isolated equipment.
An isolator is also used for sectionalizing power lines during fault location. An
isolator, unlike an auto disconnects or, is not used to break load or close a loaded
circuit.
An auto disconnects or opens and closes a circuit with limited load. Isolators are
used at homes to isolate appliances with circuit breakers that are out of sight of the
service men in charge of repairing the appliances. These isolators are therefore
installed near the appliances such as air conditioners.
Application:
Experiment No: 3
Attenuators are usually passive devices made from simple voltage divider
networks. Switching between different resistances forms adjustable stepped
attenuators and continuously adjustable ones using potentiometers. For higher
frequencies precisely matched low VSWR resistance networks are used.
Fixed attenuators in circuits are used to lower voltage, dissipate power, and to
improve impedance matching. In measuring signals, attenuator pads or adaptors
are used to lower the amplitude of the signal a known amount to enable
measurements, or to protect the measuring device from signal levels that might
damage it. Attenuators are also used to 'match' impedances by lowering apparent
SWR. Attenuator of the power dissipation on mass and surface area of resistance
material as well as possible additional coding fins.
Features
Attenuator characteristics
Advantage:
Disadvantage:
Applications:
A dielectric waveguide employs a solid dielectric rod rather than a hollow pipe.
An optical fiber is a dielectric guide to work at optical frequencies.
Transmission lines such as Micro strip, coplanar wave guide, strip line or
coaxial may also be considered to be waveguide.
The electromagnetic waves in (metal pipe) wave guide may be imagined as
travelling down the guide in a zigzag path, being repeatedly reflected between
opposite walls of the guide.
Propagation in dielectric waveguide may be viewed in the same way with the
waves confined to the dielectric by total internal reflection at its surface. Some
structures such as Non-radioactive dielectric waveguide and the Goubauline use
both metal walls and dielectric surface to confine the wave.
3. Sectorial Horn
Function:
There are two types of sectorial horns according to flaring direction. If flaring is
done in the direction of electric field vector then it is termed as sectorial E-plane
antenna. If flaring is done in the direction of magnetic field vector then it is termed
as sectorial H-plane antenna.
Working:
Here, the area to be served is divided up into equal squares and a base station
situated so as to illuminate the four squares around it from the corner of each
square. This arrangement gives the 4:1 ratio of revenue generating cells. According
to the beam width of radiation pattern, two types of sectorial horn antennas are
possible.
64 degree
90 degree
64 degree sector antenna is used in Britain &Europe and it is best suited antenna
which provides high level of illumination efficiency for a variety of conditions.90
degree sector antenna is favored in USA & Canada.
One possible argument in favor of the 90 degree antenna is that the difference in
free space loss between the opposite and adjacent corners is less compared to 64
degree & can be neglected. But coverage pattern of 90 degree produces more
signal wastage and so it has lower illumination efficiency.
Advantages:
Simple in design.
Better illumination efficiency.
Can be located anywhere.
Low cost.
High performance.
Greater spectrum efficiency.
Manufacturing of 64 degree is easy.
Disadvantages:
Application:
4. Matched Termination
Matched Termination is a transmission line termination which does not reflect any
energy. Matched terminations are used to terminate the waveguide transmission
line operating at low average power. The loads are carefully designed to absorb all
the applied power and VSWR of matched termination is low.
These are used in the measurement of reflection coefficient and where the matched
load is required.
Reflection coefficient:
A transmission line may have at its end impedance, ZL, which is not equal to the
characteristic impedance of the line Z0. Thus, a wave on the line faces the dilemma
of obeying two different Ohm‟s laws. To achieve this, a reflected wave is formed.
Giving positive suffices to the incident waves and negative suffices to the reflected
waves, the Ohm‟s law relationships become
Where VL and IL are the voltage and current in the terminating impedance ZL.
A reflection coefficient, ρ or┌ is defined as the ratio of the reflected wave to the
incident wave.
┌ =
So
&
┌=
As Z0 for lossless lines is real and ZL may be complex, ┌ , in general, will also be
complex. One of the main parts of microwave impedance measurement is to
measure the value of ┌ and hence ZL.
The geometry is optimized such that it can be used for a cylindrical waveguide
operating on fundamental and other higher order modes. The matched termination
is fabricated and tested for its characteristics and the results are validated against
simulated values.
Matched Terminations:
Matched terminations are used in coaxial lines, strip lines and waveguides to
absorb the incident power without appreciable reflection and radiation. A tapered
loss dielectric is placed at end of a short line as shown in following figure to form a
matched termination.
The length of the tapered section is kept about one to two guide wavelengths at the
lowest frequency of operation for effective absorption of power.
High power (>1W) terminations use outer cooling fins (fans) for heat dissipation.
VSWR=1.0
The load is located at the centre smith chart as the reference point.
(Dissipative loads)
Application:
Experiment No: 4
It consists of two sets of circles, or arcs of circles, which are so arranged that
various important quantities connected with mismatched transmission lines, may
be plotted and evaluated fairly easily.
The complete circles, whose centers lie on the only straight line on the chart,
correspond to various value of normalized resistance (r=R/Z o) along the line. The
arcs of circles, to either side of the straight line, similarly correspond to various
values of normalized line resistance jx = jX/Z o.
Smith devised a simple graphic tool, named after him as the SMITH CHART,
where the normalized impedance or admittance or reflection coefficient is plotted
to read the magnitude in the radial direction and phase in the angular direction
directly.
The upper half of the circle represents inductive reactance jx and lower part
represents capacitive reactance –jx.
Since admittance is the reciprocal of the impedance, the smith chart can also
be used for normalized admittance where the resistance scale reads the
conductance and the inductive reactance scale capacitive reactance and vice-
versa.
A point of maximum voltage, line impedance ( ) max = S and at
The center „O‟ of the chart (S=1) represents matched ,extreme right of the
horizontal radius represents an open circuit (S=∞, =∞) and extreme left
The distance along the line are normalized with respect to wavelength and
are measured toward the generator and also toward the load along the
priority or unit circle.
Circle passing through „O ‟(S=1) is called the unit VSWR circle.
Admittance calculation
Calculation of the SWR
Calculation of the reflection co-efficient
Review Question:
Q.1 Why must impedance be normalized before being plotted on a standard Smith Chart?
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
__________________________________________________________________
Example:
A load ZL = (100-j50) Ω is connected to a line whose Z0 = 75Ω. Calculate (a) the
point, nearest to the load, at which a quarter-wave transformer may be inserted to
provide correct matching. (b) Calculate SWR on the main line when the frequency
is increased by 10 percent, assuming that the load and line impedances remain
constant. (c) Calculate reflection co-efficient.
45
0.41
50
1.0
0.17
0.9
0.08
1.2
55
35
0.8
0.42 120 60 0.33
1.4
0.7
0.6 60 Yo) 0.1
7
0.0 3 (+jB/
1.6
ANCE 30 0.3 8
0.4 0 CEP
T 0.2 2
1.8
50
13 SUS
0.5 65
E
ITIV
2.0
25
140 0 .06
0.1 1
AC
0
9
P
.44
0.3
CA
OR
70
0.4
0.4 o),
40
0.05
0.2
20
/Z
0.45
0.3
(+jX
3.0
NT
0.6
75
NE
PO
0.04
0.21
0.3
M
80 50
0.46
0.29
30
CO
0.8
1
15
4.0
>
NCE
R—
ATO
CTA
1.0
0.22
0.47
0.28
5.0
REA
ENER
1.0
0.2
60
20
85
10
CTIV
ARD G
0.8
INDU
0.23
THS TOW
0.48
0.27
ANGLE
90
0.6
ANGLE
10
0
0.1
OF TRANSM
0.0 —> WAVELENG
0.4
17
0.24
0.49
0.26
20
0.2
50
ISSION COEFFICIENT IN D
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.2
1.4
1.6
1.8
2.0
3.0
4.0
5.0
10
20
50
0.25
0.25
180
OAD <— 0.0
±
0.24
0.49
0.2
L
0.4
6
D
0.1
70
A R
-1
10
EGREES
OW
0.6
T
-90
0.2
S
)
0.48
0.27
H
jB/Yo
T
0.8
N G
-10
(-
E
0.2
E
L
-160
-85
-20
ANC
V E
1.0
5.0
A
0.22
W
EPT
7
0.28
1.0
.4
—
0
USC
<
4.0
-150 -80
0.8 -15
VE
0.3
0.04
0.21
I
-30
T
UC
6
0.29
0.4
ND
0.6
RI
-75
3.0
), O
-20
.0 05
0.2
Z
0.4
/
0.45
0.3
X
(-j
0.4 6 140
-40
NT 0.4
.0 0 -
NE
-70
O
MP
0.1 1
-25
9
CO
4
0.3
CE
-65 0.5
2.0
N 0 -50
CTA -13 7 0.1
REA .0 0.2
1.8
CITI
VE 0
-30 0.3 8
0.6
3
P A 0.4 2
1.6
CA
0.17 -60
-60
-120 0.08
0.7
1.4
1.2
-55
0.16
-50 0.9
0.09
1.0
-110 -70
-40 0.34
-45
E O B
TR S.W RF S.W AT
N. FL. O
R S B] P r I
LO CO EF
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.05 0.01 00 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.5 3 4 5 10 ∞
F
EF
1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 01 0.99 0.95 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0
M.
CENTER
NS
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2
A
TR
ORIGIN
Microwave Engineering
Experiment No: 5
Aim: To understand function of Gunn Oscillator
Semiconductor material used for Gunn diode is GaAs (Gallium Arsenide), InP
(Indium Phosphate)& cadmium telluride (CdTe). These materials have two closely
spaced energy bends in the conduction band.
§ At low electric field most of electrons will be located in the lower energy
band.
§ At high electric field most of electrons transferred to high energy band.
§ In high energy band effective mass of electron is larger ,hence electron
mobility is less.
o Conductivity is directly proportional to mobility, hence conductivity
is also less.
§ In lower energy band mass of electron is less. Mobility is higher.
Conducting is higher.
Looking at above points if we increase forward bias more no. of electron transfer
to high energy band where conductivity is less, hence current f;ow is less thus we
get negative resistance characteristics.
There are two principal modes of operation that results into oscillations.
§ When applied voltage across Gunn diode exceeds threshold value , a dipole
domain forms near the cathode end with most of voltage drop across.
§ High resistance part of the device.
§ Short section of input region is in the low energy high mobility state.
Electrons leave cathode with high velocity.
Enter dipole domain as shown in fig .sweeps towards anode, the device in
high mobility state,& new dipole forms at cathode end. This mechanism is
self repeating & represents an oscillation with period equal to transit time.
This mode has low efficiency & its frequency cannot be controlled by
external circuit.
2. LSA MODE:
Operation of Gunn oscillator this mode produce several watts with higher
efficiency around 20% .Power output is 1 W at 10 GHz & several milliwatts
can be obtained at 100 GHz.
In LSA mode, Gunn device incorporate as port of resonant circuit as shown
in fig.
Frequency of resonant circuit is adjusted so that it is several time greater
than that of in transit time mode.
DC bias adjusted some what greater than threshold value. Resonator loading
represented by resistance R which is adjusted 20% greater than negative
resistance Rd. Resonant frequency of cavity is adjusted by tuning screw.
Review Question:
Q.2 How much power gain is possible with two cavity klystron amplifier?
Experiment No: 7
The objective of this experiment is to show you how to create, simulate and
analyze a micro strip patch antenna resonating at a frequency of 7.5 GHz as shown
in Fig.1.
Substrate
To draw the Substrate, click on the toolbar. Then draw a box by filling the
following data as shown below.
Feed Line
To draw the Feed Line, click on the toolbar. Then draw a box by filling the
following data as shown below.
Patch
To draw the Patch, click on the toolbar. Then draw a box by filling the following
data as shown below.
We know that the Patch and Feed line should be one object. So, we need to unite
them. Note that both objects are of the same material. Click on both objects that
you need to unite, i.e. Patch and Feed_line in the history tree. Click on one and
hold the CTRL key and click on the other. Right Click Edit > Boolean > Unite.
The two objects are united now.
Ground Plane
To draw the Ground Plane, click on the toolbar. Then draw a box by filling the
following data as shown below.
Assign Excitation
The excitation is a waveguide port at the beginning of the micro strip line. The
reference plane of this port is located directly at the beginning of the radiating
plane. Antennas are excited through the port. To draw the Port, click on the
toolbar. Then draw a rectangle by filling the following data as shown below.
Choose the object Port from history tree, right-click and assign excitation. In our
case, it is wave port. Click wave port; name it as your preference, then click next,
now defines your integration line. Normally, integration line is defined from the
bottom middle point to the upper middle point. Keep other values as default. Click
Finish.
Assign Boundary
Now the model has been created, we need to assign boundary conditions. In HFSS,
radiation boundaries are used to simulate open problems that allow waves to
radiate infinitely far into space. HFSS absorbs the wave at the radiation boundary,
essentially ballooning the boundary infinitely far away from the structure. In our
case, our ABC (Absorbing Boundary condition) is an air box.
To draw the Air Box, click on the toolbar. Then draw a box by filling the following
data as shown below.
Now select boundary, right click > Assign Boundary > radiation
Analysis Setup
Finally, you have your model ready to run. Now you need to identify your analysis
setup.
To create an analysis setup, select the menu item HFSS > Analysis Setup > Add
Solution Setup. In the Solution Setup window, click the general tab, Solution
frequency is 7.5 GHz, Maximum Number of Passes is 20 and Maximum Delta S
per Pass is 0.02.
To add a frequency sweep, select the menu item HFSS > Analysis Setup > Add
Sweep. Select Solution Setup: Setup1. Click OK button. Then Edit Sweep
Window. Sweep Type: Fast, Frequency Setup Type: Linear Count, Start: 5 GHz,
Stop: 10 GHz, Count: 500. Click OK button.
Model Validation
To validate the model, select the menu HFSS > Validation Check. Click the Close
button. To view any errors or warnings messages, use the Message Manager.
Analyze
To start the solution process, select the menu item HFSS > Analyze.
Or click on the icon.
Solution Data
Note: The Solution Data window can be also displayed by right-click on the
Setup1 under analysis on the HFSS design tree. Note also that the default view is
Profile. Select the Convergence tab.
The simulation will stop as soon as the results converge, which is at pass
Create Reports
Set Report Type to Modal S Parameters, Display Type to Rectangular then click
OK button.
In the Traces Window, set Solution to Setup1: Adaptive1. In the Y tab, set
Category to S Parameter, Quantity to S (wave port, wave port), and Function to dB
and click Add Trace button. Click done button. Note that you can create any type
of report it all depends on what you want to analyze specifically.
Radiation Pattern
Create infinite sphere. Then go to Results< Create Report. When the new window
pops up change the Report Type to Far Field and Display type to 3D Polar Plot.
Click Add Trace then Ok.
Experiment No:8
Aim: To illustrate the Magic Tee with S-parameters using MATLAB
Script:
clc;
close all;
clear all;
[a]=input('Transmitted Signal:');
[S]=(1/(2)^(1/2)).*[0 0 1 1; 0 0 1 -1;1 1 0 0; 1 -1 0 0];
[B]=S*a;
sprintf('b(1) = %d \t ',b(1))
sprintf('b(2) = %d \t ',b(2))
sprintf('b(3) = %d',b(3))
sprintf('b(4) = %d',b(4))
sprintf('b(4) = %f.*(%d + %d)',0.7071,a(1),a(2))
sprintf('Reflected output [%f %f %f %f].',B)
display 'When power is fed to port 2, nothing comes out at port 1 even they are
collinear ports(MAGIC!!!!)';
display 'Hence port 1 and 2 are ISOLATED PORTS';
Output
Case-1
Transmitted Signal:[1;0;0;0]
ans =
Reflected output [0.000000 0.000000 0.707107 0.707107].
When power is fed to port 1, nothing comes out at port 2 even they are collinear ports
(MAGIC!!!!)
Hence port 1 and 2 are ISOLATED PORTS
Case-2
Transmitted Signal:[0;1;0;0]
ans =
Reflected output [0.000000 0.000000 0.707107 -0.707107].
When power is fed to port 2, nothing comes out at port 1 even they are collinear ports
(MAGIC!!!!)
Hence port 1 and 2 are ISOLATED PORTS
Case-3
Transmitted Signal:[0;0;1;0]
ans =
Reflected output [0.707107 0.707107 0.000000 0.000000].
Case-4
Transmitted Signal:[0;0;0;1]
ans =
Reflected output [0.707107 -0.707107 0.000000 0.000000].
Review Question:
Q.1 A three port circulator has an insertion loss of 1dB, isolation 30dB and VSWR=1.5.
Find the S-matrix.
Q.2 What is magic associated with a magic tee? Illustrate its applications.
Experiment No: 9
Aim: To illustrate the Rectangular waveguide is use widely.
TE wave is propagating:
clc;
close all;
clear all;
a=1;
b=a/2;
r=a/1.706;
area_rect = a*b;
area_cir = (pi*r*r);
ratio = area_cir/area_rect
Output:
Ratio =
2.1588
TM wave is propagating:
clc;
close all;
clear all;
a=1;
b=a/2;
r=a/2.92;
area_rect = a*b;
area_cir = (pi*r*r);
ratio = area_cir/area_rect
Output:
Ratio =
0.7369
Hence, from this ratio it is clear that rectangular waveguide is widely used.
Experiment No. 10
Script
clc;
close all;
clear all;
m=input('Input M=');
n=input('Input N=');
a=10;
b=5;
l=20;
x=0:0.1:a;
y=0:0.05:b;
z=0:0.2:l;
Hoz=1;
f=12e9;
w=2*pi*f;
t=1/f;
g=i*2*pi*f/3e11;
mu=4*3.14e-7;
eb=8.854e-12;
c=abs(1/(mu*eb)^(1/2));
h=((g^2)+(w^2)*mu*eb)^(1/2);
Hz=abs(Hoz.*cos(((m.*pi)/a).*x).*cos(((n.*pi)/b).*y).*(exp(i*w*t-g.*z)));
[Z]=meshgrid(Hz);
[X,Y]=meshgrid(x,y);
Hoy=(g./(h^2))*((n*pi)/b)*Hoz;
Hy=abs(Hoy.*cos(((m.*pi)/a).*x).*sin(((n.*pi)/b).*y).*(exp(i*w*t-g.*z)));
Hox=(g./(h^2))*((m*pi)/a)*Hoz;
Hx=abs(Hox.*sin(((m.*pi)/a).*x).*cos(((n.*pi)/b).*y).*(exp(i*w*t-g.*z)));
Ez=0;
Eox=((i*w*mu)/(h^2))*(Hoz)*((n*pi)/b);
Ex=abs(Eox.*cos(((m.*pi)/a).*x).*sin(((n.*pi)/b).*y).*(exp(i*w*t-g.*z)));
Eoy=-((i*w*mu)/(h^2))*(Hoz)*((m*pi)/a);
Ey=abs(Eoy.*sin(((m.*pi)/a).*x).*cos(((n.*pi)/b).*y).*(exp(i*w*t-g.*z)));
EZ=zeros(101);
[EX]=meshgrid(Ex);
[EY]=meshgrid(Ey);
[HX,HY]=meshgrid(Hx,Hy);
[HZ]=meshgrid(Hz);
[Z]=meshgrid(z);
set(gcf,'Color',[1,1,1])
subplot(2,3,1);mesh(EX,Y,Z);title('EX Component in Y and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');;xlabel('Ex');ylabel(
'Y'),zlabel('Z');
OUTPUT:
For TE00 mode:
Review Question:
Q.1 What will happen if the signal frequency is greater than cut-off frequency in a
waveguide?
Q. 2 discuss how wave equations are useful in understanding the propagation of EM wave
in waveguides.
Experiment No:11
Aim: Implement TM mode of Rectangular waveguide in MATLAB.
Script
clc;
close all;
clear all;
f=8e9;
w=2*pi*f;
t=1/f;
L=3e11/f;
B=2*pi/L;
g=i*B;
u=4*pi*1e-7;
E=8.858e-12;
H=(g*g)+(w*w*u*E);
a=10;
b=5;
X=0:0.1:10;
Y=0:0.05:5;
Z=0:0.2:20;
A=-g/H;
C=i*w*E/H;
Ex=abs(A.*((m*pi)/a).*cos(((m*pi)/a).*X).*sin(((n*pi)/b)*Y).*(exp((i*w*t)-(g*Z))));
Ey=abs(A.*((n*pi)/b).*sin(((m*pi)/a).*X).*cos(((n*pi)/b)*Y).*(exp((i*w*t)-(g*Z))));
Ez=abs(sin(((m*pi)/a).*X).*sin(((n*pi)/b)*Y).*(exp((i*w*t)-(g*Z))));______
Hx=abs(C.*((n*pi)/b).*sin(((m*pi)/a).*X).*cos(((n*pi)/b)*Y).*(exp((i*w*t)-(g*Z))));
Hy=abs(-C.*((m*pi)/a).*cos(((m*pi)/a).*X).*sin(((n*pi)/b)*Y).*(exp((i*w*t)-(g*Z))));
[HX]=meshgrid(Hx);
[HY]=meshgrid(Hy);
[EX]=meshgrid(Ex);
[EY]=meshgrid(Ey);
[EZ]=meshgrid(Ez);
HZ=zeros(101);
[Z]=meshgrid(Z);
set(gcf,'Color',[1,1,1])
subplot(2,3,1);mesh(EX);title('EX Component in Y and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');;xlabel('Ex');ylabel(
'Y'),zlabel('Z');
subplot(2,3,2);mesh(EY);title ('EY Component in X and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');xlabel('X');ylabel('
Ey'),zlabel('Z');
subplot(2,3,3);mesh(EZ);title ('EZ Component in X and Y-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');xlabel('X');ylabel('
Y'),zlabel('Ez');
subplot(2,3,4);mesh(HX);title ('HX Component in Y and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');xlabel('Hx');ylabel('
Y'),zlabel('Z');
subplot(2,3,5);mesh(HY);title ('HY Component in X and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');xlabel('X');ylabel('
Hy'),zlabel('Z');
subplot(2,3,6);mesh(HZ);title ('For TM mode HZ = 0;HZ Component in X and Z-
direction','Color','b','FontName','Helvetica','FontSize',12,'FontWeight','demi');xlabel('X');ylabel('
Y'),zlabel('Hz');
OUTPUT :
TM11 mode:
Review Question:
Q.1 Show that the TM01 and TM10 modes cannot exist in rectangular waveguide.