You are on page 1of 7

Pak-Austria Fachhochschule Institute of Applied

Sciences and Technology, Haripur, Pakistan

DEPARTMENT OF ELECTRICAL ENGINEERING


Lab Report

Submitted by:
Name: Muhammad Awab Ahsan

Department: Electrical Engineering

Registration No: B20F0242EE016

Semester: 8th

Lab No : 1

Subject:
Wireless & Mobile Communication

Submitted to:

Engr Khurram Khan

__________________

Instructor signature
Title : Free space propogation Pathloss between transmitter and Receiver

Friis free space propagation model:


This model used to model the line-of-sight (LOS) path loss incurred in a free space environment,
devoid of any objects that create absorption, diffraction, reflections, or any other characteristic-
altering phenomenon to a radiated wave.
Matlab Code:
clc;
close all;
clear all;
f = input('Enter carrier frequency:');
c = 3*10^8;
Pt= 10;
Gt= 1;
Gr= 1;
%Calculate Wavelength
lamda=c/f;
D=input('Enter the diameter of the Transmitting Antenna in meter:');
%calculate fraunhofer(far-field region) distance
df=2*D^2/lamda;
%Calculate pathloss when distance between the antennas is greater than df
d = 0:1:10000;
for i = 1:length(d)
if d(i) >= df
Lp(i) = (4*pi*d(i)/lamda)^2;
else
Lp(i) = 0;
end
end
for i = 1:length(d)
if d(i) >= df
Pr(i) = (Pt*Gt*Gr*(lamda^2))/(4*pi*d(i))^2;
else
Pr(i) = 0;
end
end
subplot(2,1,1);
plot(d,Lp,'b');
xlabel('x--> d (distance in Km)'); ylabel('y--> Lp (path loss)');
title('Free space model');
grid on;
subplot(2,1,2);
plot(d,10*log(Lp),'r');
xlabel('x--> d (distance in Km)');
ylabel('y--> Lp (Path loss in dB)');
title('Free space model');
grid on;
figure
subplot(2,1,1);
plot(d,Pr,'b');
xlabel('x--> d (distance in Km)');
ylabel('y--> Pr (Recieved Power)');
title('Free space model');
grid on;
xlim([0 20])
subplot(2,1,2);
plot(d,10*log(Pr),'r');
xlabel('x--> d (distance in Km)');
ylabel('y--> Pr (Recieved Power in dB)');
title('Free space model');
grid on;
Tasks:
Frequency Change:
Power Loss frequency 5MHz

Power Received 5MHz


Power Loss frequency 9MHz

Power Recieved frequency 9MHz


Power Loss frequency 12MHz

Power Recieved frequency 12MHz

Discussion:
When the frequency is increased the, the path loss in increased and the transmitted
power is reduced, this shows that at higher frequencies the penetration power of waves
is reduced.
Gain Change:
Transmission gain = 2 & Receiver Gain = 1

Transmission gain = 1 & Receiver Gain = 2


Transmission gain = 3 & Receiver Gain = 5

Discussion:
When the transmitter or receiver gain is increased, the received power is increased.
This is obvious as if we amplify at transmitter or receiver the received power would be
high.

Conclusion:
In this lab, we conducted analysis of the Friss Free Space Equation using MATLAB to examine
the relationship between transmission frequency, antenna gain, received power, and power loss
within free space communication frameworks. We found inverse relation between transmission
frequency and received power, whereby heightened frequencies corresponded to lower received
power and escalated power loss over distance. Through adjustments made to the gain
parameters of both transmitter and receiver antennas, we get that it helps in increased received
power and lower power loss. This lab helps in understanding the concept of this model.

You might also like