Lab 05
Lab 05
Submitted by:
Semester: 8th
Lab No : 5
Subject:
Wireless & Mobile Communication
Submitted to:
__________________
Instructor signature
Title: Implementation of indoor Propagation Model
Description: Indoor propagation models are crucial tools in designing and optimizing wireless
communication systems within buildings. These models, which include empirical, geometric, statistical,
and hybrid approaches, predict how electromagnetic waves propagate indoors, considering factors like
reflection, diffraction, absorption, and scattering. Empirical models, derived from real-world
measurements, offer accuracy within specific environments. Geometric models, such as ray-tracing
techniques, simulate wave propagation paths but require significant computation. Statistical models,
like the log-normal shadowing model, account for signal variability due to obstacles. Hybrid models
combine elements to balance accuracy and efficiency. Channel models tailored to specific applications,
like indoor positioning or wireless sensor networks, provide further insights. The choice of model
depends on accuracy needs, computational resources, and the complexity of the indoor environment or
application.
Matlab Code:
close all
clear all
f = 2.4*10^6;c = 3*10^8;Pt= 28;Gt= 5;
Gr= 1;
lamda=c/f;
nsf=3.3;
nmf=2;
d=0:0.1:1000;
do=1;
FAF=22.792;
PAF_wall1=6;%Office Wall
PAF_wall2=4;%Cinder Wall
PAF_door=6;%Door Metal
PAF_window=2;%Window in Wall
PAF_metal_glass=6;%Metal frame with glass
PAF_chip_board=0.463;%Soft board
Plo=-10*log((Gt*Gr*lamda^2)/((4*pi)^2*do^2));
a=0.2;
%one floor
for n=1:length(d)
Pl1(n)=Plo + 10*nsf*log10(d(n)/do) + FAF + (PAF_wall1 + PAF_wall2 + PAF_door + PAF_window +
PAF_metal_glass + PAF_chip_board);
Pr1(n)= ((Pt*Gt*Gr*lamda^2)/((4*pi)^2*d(n).^2));
end
%multiple floor
for n=1:length(d)
Pl2(n)=Plo + 10*nmf*log10(d(n)/do) + (PAF_wall1 + PAF_wall2 + PAF_door + PAF_window +
PAF_metal_glass + PAF_chip_board);
Pr2(n)= ((Pt*Gt*Gr*lamda^2)/((4*pi)^2*d(n).^2));
end
%alpha based
for n=1:length(d)
Pl3(n)=Plo + 20*log10(d(n)/do) + a*d(n) + FAF +(PAF_wall1 + PAF_wall2 + PAF_door + PAF_window +
PAF_metal_glass + PAF_chip_board);
Pr3(n)= ((Pt*Gt*Gr*lamda^2)/((4*pi)^2*d(n).^2));
end
figure
subplot(211)
plot(d, Pl1, 'b') xlabel('distance') ylabel('Diffraction Loss (dB)')
subplot(212)
plot(d, Pr1, 'b') xlabel('distance') ylabel('Recieved Power (dB)')xlim([0 5])
figure
subplot(211)
plot(d, Pl2, 'b') xlabel('distance') ylabel('Diffraction Loss (dB)')
subplot(212)
plot(d, Pr2, 'b') xlabel('distance') ylabel('Recieved Power (dB)')xlim([0 5])
figure
subplot(211)
plot(d, Pl3, 'b') xlabel('distance') ylabel('Diffraction Loss (dB)')
subplot(212)
plot(d, Pr3, 'b') xlabel('distance') ylabel('Recieved Power (dB)')xlim([0 5])
Output:
Discussion:
In the tasks, we plotted three figures, each depicting one kind of equation. The first figure is for single
floor. Here we can see that the loss is lower than other figures. While in the second graph we took two
floors, here te attenuation is greater than before. While in third case we had the highest attenuation
value. This data is consistent with the concept learnt in the theory.
Conclusion:
This lab was focused on examining the impact of distance on indoor propagation model, offering
insights into the behavior of electromagnetic wave propagation within confined spaces. By
concentrating solely on the distance factor, we gained valuable understanding of how signal strength
and quality vary as wireless communication devices move farther away from their source within indoor
environments. We explored the nuances of signal propagation, recognizing the importance of selecting
models tailored to the specific requirements of indoor scenarios.
THE END