0% found this document useful (0 votes)
19 views9 pages

Free Space Path Loss in MATLAB

Uploaded by

Lucky Blossom
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)
19 views9 pages

Free Space Path Loss in MATLAB

Uploaded by

Lucky Blossom
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

ADAMA SCIENCE& TECHNOLOGY UNIVERSITY

SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING


Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

Experiment – 01
FREESPACE PROPAGATION – PATH LOSS MODEL

Aim:
To determine the freespace loss and the power received using Matlab program.
Theory:
The free space path loss, also known as FSPL is the loss in signal strength that occurs when an
electromagnetic wave travels over a line of sight path in free space. In these circumstances there are
no obstacles that might cause the signal to be reflected refracted, or that might cause additional
attenuation. The free space path loss calculations only look at the loss of the path itself and do not
contain any factors relating to the transmitter power, antenna gains or the receiver sensitivity levels.
To understand the reasons for the free space path loss, it is possible to imagine a signal spreading out
from a transmitter. It will move away from the source spreading out in the form of a sphere. As it does
so, the surface area of the sphere increases. As this will follow the law of the conservation of energy,
as the surface area of the sphere increases, so the intensity of the signal must decrease. As a result of
this it is found that the signal decreases in a way that is inversely proportional to the square of the
distance from the source of the radio signal

Free space path loss formula:


The free space path loss formula or free space path loss equation is quite simple to use. Not only is the
path loss proportional to the square of the distance between the transmitter and receiver, but the signal
level is also proportional to the square of the frequency in use.

FSPL = (4πd/ λ)2 = (4πdf/ c)2

FSPL is the Free space path loss


d is the distance of the receiver from the transmitter (metres)
λ is the signal wavelength (metres)

1
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

f is the signal frequency (Hertz)


c is the speed of light in a vacuum (metres per second)
The free space path loss formula is applicable to situations where only the electromagnetic wave is
present, i.e. for far field situations. It does not hold true for near field situations.

Decibel version of free space path loss equation

Most RF comparisons and measurements are performed in decibels. This gives an easy and consistent
method to compare the signal levels present at various points. Accordingly it is very convenient to
express the free space path loss formula, FSPL, in terms of decibels..
FSPL (dB) = 20 log10 (d) + 20 log10 (f) + 32.44
Where:
d is the distance of the receiver from the transmitter (km)
f is the signal frequency (MHz)
Effect of antenna gain on path loss equation
The equation above does not include any component for antenna gains. It is assumed that the antenna
gain is unity for both the transmitter. In reality, though, all antennas will have a certain amount of gain
and this will affect the overall affect. Any antenna gain will reduce the "loss" when compared to a
unity gain system. The figures for antenna gain are relative to an isotropic source, i.e. an antenna that
radiates equally in all directions.
FSPL (dB) = 20 log10 (d) + 20 log10 (f) + 32.44 -Gtx - Grx
Where:
Gtx is the gain of the transmitter antenna relative to an isotropic source (dBi)
Grx is the gain of the receiver antenna relative to an isotropic source (dBi)
The free space path loss equation or formula given above, is an essential tool that is required when
making calculations for radio and wireless systems either manually or within applications such as
wireless survey tools, etc. By using the free space path loss equation, it is possible to determine the
signal strengths that may be expected in many scenarios. While the free space path loss formula is not
fully applicable where there are other interactions, e.g. reflection, refraction, etc as are present in most
real life applications, the equation can nevertheless be used to give an indication of what may be
2
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

expected. It is obviously fully applicable to satellite systems where the paths conform closely to the
totally free space scenarios

Power Received:

[Pr] = [pt] + [Gt] + [Gr] – [FSPL]

Pr – Received power Pt – Transmitted power


Gt – Gain of the transmitting antenna Gr – Gain of the receiving antenna

%-----------Input section------------------------
Pt_dBm=52; %Input - Transmitted power in dBm
Gt_dBi=25; %Gain of the Transmitted antenna in dBi
Gr_dBi=15; %Gain of the Receiver antenna in dBi
f=110ˆ9; %Transmitted signal frequency in Hertz d =41935000(1:1:200)
%----------- ------------------------
MATLAB Program-1:
clc;
close all;
close all;
f=input('enter the frequency in Mhz: ');
L=300/f; %calculating wavelength
disp('thus the wavelength is: ');
L
d=input('enter the distance in km: ');
Gt=input('enter the transmitting antenna gain in db: ');
Gr=input('enter the receiving antenna gain in db: ');
Wt=input('enter the transmitted power in db: ');
ls=32.44+20*log10(d)+20*log10(f); %calculating path loss

3
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

disp(sprintf('%s %d %s','the path loss is:',ls,'db')); %displaying path loss


Wr=Wt+Gt+Gr-ls; %calculating received power in db
disp(sprintf('%s %d %s','the recieved power is:',Wr,'db'));
wr=10^(Wr/10); %calculating received power in watts
disp(sprintf('%s %d %s','the received power is:',wr,'watts'));
%displaying received power in watts
MATLAB Program-2:
% Free Space Propagation Loss
clc;
close all;
clear all;

f = input('Enter carrrier frequency(MHz)');


c = 300;
d = 1:1:10000;
Lp =((4*pi*d*f)/c).^2;

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 Meter)');
ylabel('y--> Lp (Path loss in dB)');
title('Free space model');
grid on;

4
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

Experiment – 02
OUTDOOR PROPAGATION MODEL - OKUMURA MODEL
Aim:
To write a Matlab program to calculate the median path loss for Okumura model for outdoor
propagation.

Theory:
The Okumura model for Urban Areas is a Radio propagation model that was built using the data
collected in the city of Tokyo, Japan. The model is ideal for using in cities with many urban structures
but not many tall blocking structures. The model served as a base for the Hata Model.

Okumura model was built into three modes. The ones for urban, suburban and open areas. The model
for urban areas was built first and used as the base for others.

Coverage
Frequency = 150 MHz to 1920 MHz
Mobile Station Antenna Height: between 1 m and 10 m
Base station Antenna Height: between 30 m and 1000 m
Link distance: between 1 km and 100 km

Mathematical formulation

5
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

The Okumura model is formally expressed as:

Okumura model does not provide a mean to measure the Free space loss. However, any standard
method for calculating the free space loss can be used.
Free Space loss = Free Space Path Loss = 20 log {4*3.14*d*f/c}
c = Speed of Light
d = distance
f = Frequency
BASE station antenna height gain factor = 20log(hte /200) 1000m > hte > 30 m
= 10 log (hte /200) hte < 30 m ( Approximation taken)
Mobile station antenna height gain factor = 10log(hre / 3) hre < 3 m
= 20 log(hre / 3) 10 m > hre > 3 m

Correction Factor GAIN @ 2.4 GHz from the Curves


= 33 (Open Area)
= 27 (Quasi Open Area)
= 13 ( Suburban Area)
Median Attenuation : function of frequency & distance
= 13 dB from curve @ 2.4 GHz & distance up to 1 Km.
MATLAB Program:
clc;

6
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

clear all;
close all;
Lfsl=input('enter the free space loss:');
Amu=input('enter the median attenuation value:');
Hmg=input('enter the Mobile station antenna height gain factor:');
Hbg=input('enter the Base station antenna height gain factor:');
Kc=input('enter the Correction factor gain:');
L=Lfsl+Amu-Hmg-Hbg-Kc; %calculating median path loss
disp(sprintf('%s %f %s','the median path loss:',L,'dB'));

Experiment – 03
OUTDOOR PROPAGATION MODEL - HATA MODEL
Aim:
To write a Matlab program to calculate the median path loss for Hata model for outdoor propagation.

Theory:
In wireless communication, the Hata Model for Urban Areas, also known as the Okumura-Hata model
for being a developed version of the Okumura Model, is the most widely used radio frequency
propagation model for predicting the behaviour of cellular transmissions in built up areas. This model
incorporates the graphical information from Okumura model and develops it further to realize the
effects of diffraction, reflection and scattering caused by city structures. This model also has two more
varieties for transmission in Suburban Areas and Open Areas.
Hata Model predicts the total path loss along a link of terrestrial microwave or other type of cellular
communications.
This particular version of the Hata model is applicable to the radio propagation within urban areas.

7
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

This model is suited for both point-to-point and broadcast transmissions and it is based on extensive
empirical measurements taken.
PCS is another extension of the Hata model. The Walfisch and Bertoni Model is further advanced.
Coverage
Frequency: 150 MHz to 1500 MHz
Mobile Station Antenna Height: between 1 m and 10 m
Base station Antenna Height: between 30 m and 200 m
Link distance: between 1 km and 20 km.

MATLAB Program:
clc;
clear all;
close all;
f=input('enter the frequency of transmisson in mhz:');
Hb=input('enter the height of base station Antenna in meter:');
Hm=input('enter the height of mobile station Antenna in meter:');

8
ADAMA SCIENCE& TECHNOLOGY UNIVERSITY
SCHOOL OF ELECTRICAL ENGINEERING & COMPUTING
Department of Electronics & communication Engineering

Course: Wireless and Mobile Communication (ECE5201)

d=input('enter the distance between the base and mobile stations:');


n=input('enter 0 for small city and 1 for large city:');
if n==0
ch=0.8+(1.1*log10(f)-0.7)*Hm-1.56*log10(f);
else
if f>=150 && f<=200
ch=8.29*(log10(1.54*Hm))^.2-1.1;
else
if f>=200 && f<=1500
ch=3.2*(log10(11.75*Hm))^.2-4.97;
end;
end;
end;
Lu=69.55+26.26*log10(f)-13.82*log10(Hb)-ch+(44.9-6.55*log10(Hb))*log10(d);
disp(sprintf('%s %f %s','Path loss in Urban Areas=',Lu,'db'));

Experiment – 04
Cellular Mobile System Design

Common questions

Powered by AI

The Hata model is suitable for urban transmission scenarios within the frequency range of 150 MHz to 1500 MHz, with mobile station antenna heights between 1 m and 10 m, and base station antenna heights between 30 m and 200 m. The model adjusts predictions by incorporating terrain-specific corrections using empirical relationships between frequency and antenna height. For example, it includes city-specific correction factors to account for urban clutter. For small and large city distinctions, it calculates a correction factor, ch, based on the transmission frequency and mobile station height, allowing it to adapt loss predictions according to these structural influences. This approach helps in accurately predicting the path loss across different terrains and urban structures .

In the Okumura model, the height of both the transmitting (hte) and receiving antennas (hre) are integral factors to adjusting predicted path loss. The model uses antenna height gain factors to account for their impact on signal attenuation. For the base station (transmitting) antenna, a gain factor of 20log(hte/200) dB is applied when the height exceeds 30 meters, adjusting the path loss downward as the height increases. For heights under 30 meters, the approximation of 10log(hte/200) dB is utilized. Similarly, the mobile station (receiving) antenna height gain factor is calculated as 20log(hre/3) when height is between 3 and 10 meters, and 10log(hre/3) for heights less than 3 meters. These adjustments account for the additional loss or gain in signal strength due to the angular position change of the antennas relative to one another and obstacles .

The MATLAB implementation of free space path loss calculations demonstrates the principles of electromagnetic theory by programmatically applying the FSPL formula, allowing users to input key parameters such as frequency and distance. The code calculates the path loss by simulating the spreading out of the electromagnetic signal over distance, encapsulating the inverse square law of propagation. Additionally, the solution simulates how antenna gains affect the net received power, illustrating their role in mitigating the losses in a theoretical free space model. By providing a platform for variable manipulation and real-time calculation, the simulation reflects theoretical principles like wave propagation and energy conservation in a tangible format, allowing deeper exploration of these concepts through experimental setups .

Antenna gain affects the free space path loss equation by reducing the effective loss when compared to a unity gain system. In the modified FSPL equation, the gains of the transmitter and receiver antennas (Gtx and Grx) are subtracted from the total path loss in decibels: FSPL (dB) = 20 log10 (d) + 20 log10 (f) + 32.44 - Gtx - Grx. This reduction means that when antenna gains are accounted for, the received signal power is higher than it would be in a system with isotropic antennas (which have a gain of unity).

MATLAB handles several computational considerations that manual calculations of path loss may not easily address, including the automation of complex calculations involving logarithmic functions and large datasets. MATLAB allows for rapid iteration and visualization of outcomes, such as plotting path loss against distance for various frequencies, which can be cumbersome to perform manually. It also simplifies incorporating different variables, such as antenna gains and environmental factors, into the path loss equations. MATLAB's built-in functions and user-friendly interface streamline handling large-scale experiments with efficiency, reducing computational errors that may occur with manual calculations .

The free space path loss model is practically used in scenarios where electromagnetic waves propagate without interactions from any obstacles, such as in satellite communications. It provides an essential tool for calculating expected signal strengths in ideal conditions, enabling initial estimations for system design and testing. However, the model is limited in more complex real-world environments where interactions such as reflection, refraction, and diffraction can significantly impact signal loss. These phenomena, common in urban settings, require more sophisticated models like the Okumura or Hata models, which can adjust for such complexities .

Path loss is crucial in cellular mobile system design as it directly influences the placement and power requirements of base stations to ensure sufficient coverage and signal quality. Understanding path loss enables engineers to determine the required transmitting power and assess the necessary antenna heights to achieve efficient area coverage. The path loss must be calculated in conjunction with other factors such as building penetration losses and environmental obstacles to ensure reliable signal reception. Models like the Hata model, which account for urban infrastructure, are used to predict the attenuation and design cell layouts, ensuring minimal interference and optimal utilization of frequency resources. This leads to better capacity planning and a more reliable mobile communication system .

The concept of conservation of energy relates to free space path loss by explaining that as an electromagnetic signal radiates from a transmitter, it spreads over an increasingly large surface area (spherical wavefront in free space), resulting in a decrease in intensity. Since energy cannot be created or destroyed, the energy of the signal must be conserved, causing the power density to lower as the area over which it is spread increases. This physical relationship underlies the inverse square law in the FSPL equation, illustrating how distance affects signal strength in space .

The key differences between the Okumura and Hata models lie in their development and application scopes. The Okumura model, based on empirical data collected in Tokyo, incorporates a simple graphical method to predict signal attenuation across terrains with urban structures. It accounts for various environments such as urban, suburban, and open areas but lacks precise computational means. The Hata model, derived from Okumura's graphically presented data, introduces a more formulaic approach suitable for practical calculations. It further incorporates the effects of diffraction, reflection, and scattering, making it well-suited for predicting signal behavior in densely built urban areas. Additionally, Hata models offer specific formulations for suburban and rural areas, making it more versatile for diverse propagation scenarios .

Free space path loss impacts the intensity of a signal over distance by causing the signal's power to decrease as a function of the square of the distance from the source. This is due to the spreading of the electromagnetic wave as it propagates in a spherically expanding front in free space, leading to a reduction in intensity as the surface area of the sphere increases, in accordance with the law of conservation of energy. Mathematically, this relationship is described by the formula FSPL = (4πd/λ)², where FSPL is the free space path loss, d is the distance between the transmitter and receiver, and λ is the signal wavelength .

You might also like