RF signal attenuation due to fog and clouds
L = fogpl(
L, when signals propagate in fog
R represents the signal path length.
the signal carrier frequency,
T is the ambient
den specifies the liquid water
density in the fog or cloud.
fogpl function applies the International
Telecommunication Union (ITU) cloud and fog attenuation model to calculate path loss
of signals propagating through clouds and fog. See . Fog and clouds are the same atmospheric
phenomenon, differing only by height above ground. Both environments are
parametrized by their liquid water density. Other model parameters include signal
frequency and temperature. This function applies to cases when the signal path is
contained entirely in a uniform fog or cloud environment. The liquid water density
does not vary along the signal path. The attenuation model applies only for
frequencies at 10–1000 GHz.
Attenuation in Cumulus Clouds
Compute the attenuation of signals propagating through a cloud that is 1 km long at 1000 meters altitude. Compute the attenuation for frequencies from 15 to 1000 GHz. A typical value for the cloud liquid water density is 0.5 . Assume the atmospheric temperature at 1000 meters is C.
R = 1000.0; freq = [15:5:1000]*1e9; T = 20.0; lwd = 0.5; L = fogpl(R,freq,T,lwd);
Plot the specific attenuation as a function of frequency. Specific attenuation is the attenuation or loss per kilometer.
loglog(freq/1e9,L) grid xlabel('Frequency (GHz)') ylabel('Specific Attenuation (dB/km)')
R — Signal path length
positive real-valued scalar | M-by-1 nonnegative real-valued vector | 1-by-M nonnegative real-valued vector
Signal path length, specified as a scalar or as an M-by-1 or 1-by-M vector of nonnegative real-values. Total attenuation is the specific attenuation multiplied by the path length. Units are meters.
freq — Signal frequency
positive real-valued scalar | N-by-1 nonnegative real-valued column vector | 1-by-N nonnegative real-valued row vector
Signal frequency, specified as a positive real-valued scalar or as an N-by-1 nonnegative real-valued vector or 1-by-N nonnegative real-valued vector. Frequencies must lie in the range 10–1000 GHz. Units are in Hz.
T — Ambient temperature
Ambient temperature in fog or cloud, specified as a real-valued scalar. Units are in degrees Celsius.
den — Liquid water density
nonnegative real-valued scalar
Liquid water density, specified as a nonnegative real-valued scalar. Units are g/m3. Typical values for liquid water density in fog range from approximately 0.05 g/m3 for medium fog to approximately 0.5 g/m3 for thick fog. For medium fog, visibility is about 300 meters. For heavy fog, visibility is about 50 meters. Cumulus cloud liquid water density is typically 0.5 g/m3.
L — Signal attenuation
real-valued M-by-N matrix
Signal attenuation, returned as a real-valued M-by-N matrix. Each matrix row represents a different path where M is the number of paths. Each column represents a different frequency where N is the number of frequencies. Units are in dB.
Fog and Cloud Attenuation Model
This model calculates the attenuation of signals that propagate through fog or clouds.
Fog and cloud attenuation are the same atmospheric phenomenon. The ITU model, Recommendation ITU-R P.840-6: Attenuation due to clouds and fog is used. The model computes the specific attenuation (attenuation per kilometer), of a signal as a function of liquid water density, signal frequency, and temperature. The model applies to polarized and nonpolarized fields. The formula for specific attenuation at each frequency is
where M is the liquid water density in gm/m3. The quantity Kl(f) is the specific attenuation coefficient and depends on frequency. The cloud and fog attenuation model is valid for frequencies 10–1000 GHz. Units for the specific attenuation coefficient are (dB/km)/(g/m3).
To compute the total attenuation for narrowband signals along a path, the function multiplies the specific attenuation by the path length R. Total attenuation is Lc = Rγc.
You can apply the attenuation model to wideband signals. First, divide the wideband signal into frequency subbands, and apply narrowband attenuation to each subband. Then, sum all attenuated subband signals into the total attenuated signal.
 Radiocommunication Sector of International Telecommunication Union. Recommendation ITU-R P.840-6: Attenuation due to clouds and fog. 2013.
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
Does not support variable-size inputs.
Introduced in R2016a