ELCT 562_CA1

.docx

School

Clemson University *

*We aren’t endorsed by this school

Course

562

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

docx

Pages

7

Uploaded by MateMonkey7318 on coursehero.com

ELCT 562 Wireless Communications Computer Assignment #1 Consider the scenario in Problem Assignment 1 with the simplified path loss model. For 𝑓 = 2.450 GHz and 𝑓 =5.450 GHz, perform the following tasks: 1. Plot path loss (including the antenna gains) versus distance (0-200 meters) on the same figure in MATLAB (x-axis is in meters, y-axis is in dB) Figure 1: Plot of Pathloss [dB] of 2.45GHz (Blue) and 5.45GHz (Orange) Pathloss can be defined as a reduction in power density of a signal as it travels in space. In this example we are assuming that the signal is traveling through free space as found in problem assignment 1. Pathloss can be found using the following equations: P L = K + 10 γ log ( r d 0 ) K = L FSPL ( d 0 ) L FSPL = 20log 10 ( d 0 ) + 20log 10 ( f ) 147.55 G t G r P L = 36.1779 + 10 ( 3.5 ) log ( r 1 ) In this problem G t and G r are defined as 9 dBi and 2dBi respectively. We are also given two different frequencies to calculate the pathloss, 2.45GHz and 5.45GHz, which will change the
variable f in the equation above. Lastly, we are given a distance of 0-200 meters to show the range for. This will change the variable r as mentioned above. The Matlab portion of this was done by defining the variables as seen in the appendix and then using the function linspace(start distance, stop distance, samples). Once this was accomplished, the equation for L FSPL was defined and the values were plugged in than plotted. 2. Plot RX power versus distance (0-200 meters) on the same figure in MATLAB (x-axis is in meters, y-axis is in dBm) Figure 2. Plot of Pathloss [dBm] of 2.45GHz (Blue) and 5.45GHz (Orange) Using the same information from number one the P rx value can be determined using the following equation: P rx = P tx + G t + G r P L This information is useful to be able to describe the power the receiver is getting as the range increases and allows for users to determine proper range uses.
3. Assume that the TX signal bandwidth is 20 MHz and the noise figure is 7 dB. a. Plot the SNR versus distance (0-200 meters) curve in MATLAB (x-axis is in meters, y- axis is in dB) Figure 3: Plot of SNR [dB] of 2.45GHz (Blue) and 5.45GHz (Orange) Signal Noise Ratio is a measure that calculates the level of a signal compared to noise, usually to evaluate the quality of a signal. To accomplish this SNR can be calculated using the following equation: SNR = P tx - P n Where P rx is the received power and P n is the power of noise. To calculate SNR both variables must be found. P rx and P n can be defined using the following equations: P rx = P tx + G t + G r P l P n = P thermal + NF P thermal = 10log ( kTB ) =− 174 + 10log ( BW ) P n =− 174 + 10log ( 20E6 ) + 7 Once these variables are determined, Matlab can be used to calculate SNR since Pathloss will be a function of r (distance) to give Figure 3 above as shown in the code found in the appendix.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help