You are on page 1of 4

%%%%%COMPUTATION OF POWER TRANSMITTED IN MACRO,MICRO,PICO & FEMTOCELL

BS’s%%%%

PTx =50; %Power Transmitted of BS


G_Tx =1; %Antenna Gain of BS
G_Rx =1; %Antenna Gain of Mobile Terminal
Lemda =0.33; %Wavelength of Carrier Wave
L_sys =1; %Loss of System ? 1, not the Path Loss Exponent
R=100; %radius of a BS
A= 50;%Total Area(sq km)
R_Mac = 1; %Macrocell Radius
R_Mic= 0.2; %Microcell Radius
R_Pic=0.05; % Picocell Radius
R_Fem =0.01; %Femtocell Radius
GTx_Fem =1; %Antenna Gain of Femtocell BS

D=1; %normalized radiation pattern


X=2.6;%total area of macrocell
A_Mac =2.6; %one Macrocell Area
N_Mac_a = A/A_Mac; % total number of macocells in the total area
A_Mic =0.104;%one Microcell Area
A_Pic =0.0065; %one picocell Area
A_Fem =0.00026; %one Femtocell Area

PRx_Mac=15;% Recieved Power of Macrocell in mW


PRx_Mic=8;% Recieved Power of Microcell in mW
PRx_Pic=3; % Recieved Power of Picocell in mW
PRx_Fem=1; % Recieved Power of Femtocell in mW

g=Lemda^2;
PTx_Mac=(PRx_Mac*(4*pi)^2*(R_Mac)^2)/g; %L_sys=1, G_Rx =1;G_Tx =1;
PTx_Mic=(PRx_Mic*(4*pi)^2*(R_Mic)^2)/g;
PTx_Pic=(PRx_Pic*(4*pi)^2*(R_Pic)^2)/g;
PTx_Femto=(PRx_Fem*(4*pi)^2*(R_Fem)^2)/g;

PTx_Mac_total=N_Mac_a*PTx_Mac;
PTxdB_Mac_total= 10*log10(PTx_Mac_total); % dB Conversion

%%%%%%%%%%CASE 1%%%%%%%%%%%%%%
%%%%%%%%%%FEMTO CELLS RATHER THAN MACROCELLS%%%%%%%%%%

N_Fem=A/A_Fem; % Number of femtocells in total area

PTx_Femto_total=N_Fem*PTx_Femto;

PTx_Femto_total_db_c1=10*log10(PTx_Femto_total);

PNetDifference_c1= PTxdB_Mac_total - PTx_Femto_total_db_c1;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CASE 2 %%%%%%%%%%%%%%%%%
%%%%%%%%FEMTOCELLS DEPLOYEMENT AT URBAN AREA MACROCELL BS AT SUB-URBAN
%%%%%%%%AREA & PORTABLE FEMTOCELLS AT RURAL AREA%%%%%%%%%%%%

X1= 20; % urban Area for femto cell


Y=18; % Area %Suburban Area for macro cell
Z=12; % rural Area for portble femto cell
%A = X1 + Y + Z;

N_Mac_a1= (Y/A_Mac);% no of macro cells in selected area of Case2


PTx_Mac_selected_area=N_Mac_a1*PTx_Mac;
PTxdB_Mac_selected_area_Y_db_c2 = 10*log10(PTx_Mac_selected_area);

N_Fem1 =X1/A_Fem;
PNetTx_Fem_selected_area_X1 = N_Fem1*(PTx_Femto);
PNetTx_Fem_selected_area_X1_db_c2 = 10*log10(PNetTx_Fem_selected_area_X1);

N_FemP = Z/A_Fem;
PNetdB_FemP_selecte_area_Z = N_FemP*(PTx_Femto);
PNetdB_FemP_selecte_area_Z_db_c2 = 10*log10(PNetdB_FemP_selecte_area_Z);

PNetdB_Mac_Fem_FemP_c2 =
PTxdB_Mac_selected_area_Y_db_c2+PNetTx_Fem_selected_area_X1_db_c2 +
PNetdB_FemP_selecte_area_Z_db_c2;

PNetTxdB_Difference_c2=PTxdB_Mac_total-PNetdB_Mac_Fem_FemP_c2; %PNetTxdB_Mac
already calculated in c1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CASE 3 %%%%%%%%%%%%%%%%%

Y1=6 ; % Area of microcell


Y2= 10; % Area of femtocell
Y3=14; % Area of macro femtocell
Y4= 20; % Area of picocell

%A = Y1 + Y2 + Y3 + Y4;

N_Mic1=Y1/A_Mic;% no of micro cells in selected area of Case2


PNetTx_Mic_selected_area_Y1 = N_Mic1*(PTx_Mic);
PNetTx_Mic_selected_area_Y1_db_c3 = 10*log10(PNetTx_Mic_selected_area_Y1);

N_Fem2 =Y2/A_Fem;% no of femto cells in selected area of Case2


PNetTx_Fem_selected_area_Y2 = N_Fem2*(PTx_Femto);
PNetTx_Fem_selected_area_Y2_db_c3 = 10*log10(PNetTx_Fem_selected_area_Y2);
N_Mac_a3= (Y3/A_Mac);% no of macro cells in selected area of Case2
PTx_Mac_selected_area_Y3=N_Mac_a3*PTx_Mac;
PTxdB_Mac_selected_area_Y3_db_c3 = 10*log10(PTx_Mac_selected_area_Y3);

N_Pic2= (Y4/A_Pic);% no of pico cells in selected area of Case2


PTx_Pic_selected_area_Y4=N_Pic2*PTx_Mac;
PTxdB_Pic_selected_area_Y4_db_c3 = 10*log10(PTx_Pic_selected_area_Y4);

P_total_c3=PNetTx_Mic_selected_area_Y1_db_c3+PNetTx_Fem_selected_area_Y2_db_c
3 +...
PTxdB_Mac_selected_area_Y3_db_c3+ PTxdB_Pic_selected_area_Y4_db_c3;

PNetDifference_c3= PTxdB_Mac_total - P_total_c3;


%%%%%%%%%%CASE 4%%%%%%%%%%%%%%
%%%%DEPLOYEMENT OF FEMTOCELL, PICOCELL & MICROCELL AT BOUNDARY OF
MACROCELL%%%%%%%
%A is Total area which has boundary which is divided in 3 parts

bry1= 10;
bry2= 7;
bry3= 5;
bry = bry1 + bry2 + bry3;
N_Mic2=bry1/A_Mic;% no of micro cells in selected area of Case4
PNetTx_Mic_selected_area_bry1 = N_Mic2*(PTx_Mic);
PNetTx_Mic_selected_area_bry1_db_c4 =
10*log10(PNetTx_Mic_selected_area_bry1);

N_Pic3= (bry2/A_Pic);% no of pico cells in selected area of Case4


PTx_Pic_selected_area_bry2=N_Pic3*PTx_Mac;
PTxdB_Pic_selected_area_bry2_db_c4 = 10*log10(PTx_Pic_selected_area_bry2);

N_Fem3 =bry3/A_Fem;% no of femto cells in selected area of Case4


PNetTx_Fem_selected_area_bry3 = N_Fem3*(PTx_Femto);
PNetTx_Fem_selected_area_bry3_db_c4 =
10*log10(PNetTx_Fem_selected_area_bry3);

N_Mac_a4= (A-bry/A_Mac);% no of macro cells other than boundary of Case4


PTx_Mac_other_than_boundary=N_Mac_a4*PTx_Mac;
PTx_Mac_other_than_boundary_db_c4 = 10*log10(PTx_Mac_other_than_boundary);

PNetdB_Mac_Mic_Pic_Fem=PTx_Mac_other_than_boundary_db_c4+PNetTx_Mic_selected_
area_bry1_db_c4+PTxdB_Pic_selected_area_bry2_db_c4+PNetTx_Fem_selected_area_b
ry3_db_c4;

You might also like