0% found this document useful (0 votes)
16 views

LLT1 QP EMI Simulation Study

Uploaded by

khunkharboss3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

LLT1 QP EMI Simulation Study

Uploaded by

khunkharboss3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SRM Institute of Science and Technology

College of Engineering and Technology


DEPARTMENT OF ECE
SRM Nagar, Kattankulathur – 603203, Chengalpattu District, Tamilnadu
Academic Year: 2024-2025 (ODD)

Test: LLT-1 (Simulation Study) Due Date: 04.11.2024


Course Code / Title: 21ECC205T Electromagnetic Theory and Interference
Year & Sem: II & III Max. Marks: 30

Course Articulation Matrix :


21ECC205T - ELECTROMAGNETIC THEORY
Program Learning Outcomes (PLO) PSO
AND INTERFERENCE

S.NO Course Learning Outcomes (CLO) 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3

1 Apply the concepts and knowledge to solve problems - 2 3 - - - - - - - - - - - -


related to electric field.
2 Analyze the concepts of Magnetic field and Maxwell’s - 3 2 - - - - - - - - - - - -
equations in the real-world application.
3 Translate the phenomenon of guided wave propagation - 3 2 - - - - - - - - - - - -
and its mode of propagation.
4 Describe the importance of transmission line theory - 2 3 - - - - - - - - - - - -
applicable to low frequency transmission lines.
5 Solve transmission line parameter and impedance - 2 3 - - - - - - - - - - - -
matching through analytical and graphical methods.

Part – A (5×4 = 20 Marks)


Answer any FIVE questions
Q. Question Marks BL CO PO
No
(a) Write a MATLAB code to find the cut-off frequency and the modal field 7.5 3 CO3 2
distribution (both electric and magnetic fields) of TE10 and TE01 mode in a
rectangular waveguide having dimensions on longer and shorter sides as 2
cm and 1 cm, respectively. Consider the operating wavelength to be 1550
nm.
1.
(b) Now vary the dimensions and operating wavelength in the problem and, 7.5 4 CO3 3
analyze and discuss the effect of these variations on the cut-off frequency
and modal field distribution. Compare your observations with the theoretical
observations obtained in class using analytical formulas.

(a) Consider a transmission line with characteristic impedance Z0 = 50 Ω and 7.5 4 CO4 3
various load impedances ZL= 25 Ω, 75 Ω and 1000 Ω. Write a MATLAB code and
estimate the reflection coefficient and VSWR for each load. Assuming the
operating frequency to be 1 GHz and Transmission line length to be 50 cm, plot the
2. Voltage standing wave pattern for each case and estimate VSWR from the plots.
Compare the VSWR obtained analytically and from the graphs.

(b) Estimate the power transfer efficiency for each case and show that the power 7.5 3 CO4 2
transfer is maximum when the characteristic impedance matches with the load
impedance.
Course Outcome (CO) and Bloom’s level (BL) Coverage in Questions

BL Coverage (%)
CO Coverage (%)

100 100

80 80

60 60

40 40

20 20

0 0
CO1 CO2 CO3 CO4 CO5 BL1 BL2 BL3 BL4

Evaluation Sheet

Name of the Student: Register No.:

Q. No CO PO Maximum Marks Marks Obtained Total


1(a) 3 3 7.5
1(b) 3 2 7.5
2(a) 4 3 7.5
2(b) 4 3 7.5

Consolidated Marks:
CO Maximum Marks PO Maximum Marks
Marks Obtained Marks Obtained
3 15 2 15
4 15 3 15
Total 30 Total 30

Signature of Course Teacher


Reference MATLAB Codes

Students can refer to the following MATLAB codes for answering the Simulation study
questions. They also need to print and attach their MATLAB codes along with the
submission.

1. MATLAB Code for Question 1(a) and 1(b) (Students need to modify the code as per
their requirement)

% Parameters
a = ??; % Waveguide width (in meters)
b = ??; % Waveguide height (in meters)
lambda = ??; % Operating wavelength (in meters)
c = ??; % Speed of light in vacuum

% Calculate the cutoff frequencies for TE10 and TE01 modes


m_TE10 = ??; n_TE10 = ??;
m_TE01 = ??; n_TE01 = ??;

% Cutoff frequencies (in Hz) for TE modes


fc_TE10 = c / (2 * sqrt((m_TE10/a)^2 + (n_TE10/b)^2));
fc_TE01 = c / (2 * sqrt((m_TE10/a)^2 + (n_TE10/b)^2));

% Display cutoff frequencies


disp(['Cutoff frequency for TE10 mode: ', num2str(fc_TE10), ' Hz']);
disp(['Cutoff frequency for TE01 mode: ', num2str(fc_TE01), ' Hz']);

% Define the spatial grid for field plotting


x = linspace(0, a, 100); % x-direction grid
y = linspace(0, b, 100); % y-direction grid
[X, Y] = meshgrid(x, y); % Create the 2D grid

% Magnetic field (H_z) and electric field (E_x, E_y) for TE10 mode
Hz_TE10 = sin(pi * X / a); % H_z for TE10
Ex_TE10 = -(pi / b) * sin(pi * X / a); % E_x for TE10
Ey_TE10 = zeros(size(X)); % E_y for TE10 is zero

% Magnetic field (H_z) and electric field (E_x, E_y) for TE01 mode
Hz_TE01 = sin(pi * Y / b); % H_z for TE01
Ex_TE01 = zeros(size(X)); % E_x for TE01 is zero
Ey_TE01 = -(pi / a) * sin(pi * Y / b); % E_y for TE01

% Plot H_z for TE10 mode


figure;
surf(X, Y, Hz_TE10);
title('Magnetic Field H_z for TE_{10} Mode');
xlabel('x (m)');
ylabel('y (m)');
zlabel('H_z');
shading interp;
colorbar;

% Plot electric field for TE10 mode


figure;
quiver(X, Y, Ex_TE10, Ey_TE10);
title('Electric Field for TE_{10} Mode (Ex, Ey)');
xlabel('x (m)');
ylabel('y (m)');
axis equal;
% Plot H_z for TE01 mode
figure;
surf(X, Y, Hz_TE01);
title('Magnetic Field H_z for TE_{01} Mode');
xlabel('x (m)');
ylabel('y (m)');
zlabel('H_z');
shading interp;
colorbar;

% Plot electric field for TE01 mode


figure;
quiver(X, Y, Ex_TE01, Ey_TE01);
title('Electric Field for TE_{01} Mode (Ex, Ey)');
xlabel('x (m)');
ylabel('y (m)');
axis equal;

2. MATLAB Code for Question 2(a) and 2(b) (Students need to modify the code as per
their requirement)

% Given values
Z0 = ??; % Characteristic impedance in Ohms
ZL_values = [??]; % Load impedances
frequency = ??; % Operating frequency (1 GHz)
c = ??; % Speed of light (m/s)
lambda = c / frequency; % Wavelength
line_length = ??; % Transmission line length (in m)
z = linspace(0, line_length, 500); % Points along the line

% Initialize arrays to store results


reflection_coefficients = zeros(1, length(ZL_values));
VSWR_values = zeros(1, length(ZL_values));
efficiency_values = zeros(1, length(ZL_values));

% Calculation for each load impedance


for i = 1:length(ZL_values)
ZL = ZL_values(i);

% Reflection Coefficient
Gamma = (ZL - Z0) / (ZL + Z0);
reflection_coefficients(i) = Gamma;

% VSWR
VSWR = (1 + abs(Gamma)) / (1 - abs(Gamma));
VSWR_values(i) = VSWR;

% Power Transfer Efficiency


efficiency = 1 - abs(Gamma)^2;
efficiency_values(i) = efficiency;

% Display results
fprintf('For Z_L = %d Ohms:\n', ZL);
fprintf('Reflection Coefficient (Gamma) = %.3f\n', Gamma);
fprintf('VSWR = %.3f\n', VSWR);
fprintf('Power Transfer Efficiency = %.3f%%\n\n', efficiency * 100);
end

% Plot Standing Wave Pattern for ZL = ?? Ohms


ZL = 25; % Set load impedance for plot
Gamma = (ZL - Z0) / (ZL + Z0); % Reflection coefficient
beta = 2 * pi / lambda; % Phase constant
V_in = 1; % Incident voltage magnitude
V_ref = Gamma * V_in; % Reflected voltage magnitude

% Voltage along the line: V(z) = V_in * exp(-j*beta*z) + V_ref *


exp(j*beta*z)
V_z = V_in * exp(-1i * beta * z) + V_ref * exp(1i * beta * z);
V_magnitude = abs(V_z); % Magnitude of voltage along the line

% Plot
figure;
plot(z, V_magnitude, 'LineWidth', 2);
xlabel('Position along the line (m)');
ylabel('Voltage Magnitude |V(z)|');
title('Standing Wave Pattern for Z_L = ?? Ohms');
grid on;

You might also like