ray tracing for wireless communications
introduction
wireless communication systems use radio waves to transmit signals. propagation modeling enables you to estimate the strength of signals based on system parameters such as frequency, antenna height, terrain properties, and building properties.
theoretical and empirical models estimate path loss based on range, and are valid only for those environments that resemble the modeling environment. as a result, these models usually do not provide accurate temporal or spatial information. unlike these models, ray tracing models are specific to the 3-d environment, and are therefore appropriate for scenarios such as urban environments.
for propagation modeling, a ray is an individual radio signal that [1]:
travels in a straight line through a homogeneous medium.
obeys the laws of reflection, refraction, and diffraction.
carries energy. propagation models treat rays like tubes, where the energy density on the cross section becomes smaller as the ray interacts with the environment.
for a given 3-d environment, ray tracing models use numerical simulations to:
predict the paths of rays from transmitters to receivers. the models can find many rays from a transmitter to a receiver. the models derive the angle of departure, angle of arrival, and time of arrival from the paths.
estimate the path loss and phase change for each ray. total path loss is the sum of interaction losses, free space loss, and, optionally, atmospheric loss.
a ray interacts with the environment in several ways [1].
interaction | description |
---|---|
line of sight (los) | the ray travels directly from the transmitter to the receiver. |
reflection | the ray reflects off a surface according to the law of reflection. |
refraction (transmission) | the ray refracts as it moves into a new medium, according to the law of refraction. |
diffraction | the ray diffracts off a surface according to the law of diffraction. one ray can spawn many diffracted rays. |
diffuse scattering | the ray interacts with a rough surface such as the ocean or a building facade. |
use these functions to create ray tracing models, predict propagation paths, and calculate path losses and phase shifts.
— create a ray tracing model as a object. specify options such as the ray tracing method, the maximum number of reflections and diffractions, and the interaction materials. you can use ray tracing models as inputs when conducing rf analysis, such as when generating coverage maps by using the function or when calculating total received power by using the function.
— display propagation paths (rays) on a map or return propagation paths as objects. each object represents the full path from the transmitter to the receiver, and contains information such as the path loss, phase shift, and types of surface interactions.
— calculate the path loss and phase shift for a propagation path based on surface materials and antenna polarization types.
for examples that show ray tracing in indoor and urban environments, see and , respectively.
ray tracing methods
the propagationmodel
and raytrace
functions use a ray tracing model that finds los and non-line-of-sight (nlos) paths.
the model finds los paths by shooting a ray from the transmitter toward the receiver. if the ray does not interact with a surface before reaching the receiver, then an los path exists.
the model finds nlos paths by using either the shooting and bouncing rays (sbr) method [2] or the image method. you can specify the method by using the
propagationmodel
function.
choose a method based on the types of interactions you want to model, the computation speed, and the accuracy.
method | interaction types | computation speed | computation accuracy |
---|---|---|---|
sbr (the default) | includes effects from reflection and edge diffraction. does not include effects from corner diffraction, refraction, or diffuse scattering. for each path, supports up to ten path reflections and two edge diffractions. | computational complexity increases linearly with the number of reflections and exponentially with the number of diffractions. the sbr method is generally faster than the image method. | calculates an approximate number of propagation paths with exact geometric accuracy. |
image | includes effects from reflection. does not include effects from diffraction, refraction, or diffuse scattering. for each path, supports up to two path reflections. | computational complexity increases exponentially with the number of reflections. | calculates an exact number of propagation paths with exact geometric accuracy. |
when both the image and sbr methods find the same path, the points along the path are the same within a tolerance of machine precision for single-precision floating-point values.
sbr method
this figure illustrates the sbr method for calculating propagation paths from a transmitter, tx, to a receiver, rx.
the sbr method launches many rays from a geodesic sphere centered at tx. the geodesic sphere enables the model to launch rays that are approximately uniformly spaced.
then, the method traces every ray from tx and can model different types of interactions between the rays and surrounding objects, such as reflections, diffractions, refractions, and scattering. note that the current implementation of the sbr method considers only reflections and edge diffractions.
when a ray hits a flat surface, shown as r, the ray reflects based on the law of reflection.
when a ray hits an edge, shown as d, the ray spawns many diffracted rays based on the law of diffraction . each diffracted ray has the same angle with the diffracting edge as the incident ray. the diffraction point then becomes a new launching point and the sbr method traces the diffracted rays in the same way as the rays launched from tx. a continuum of diffracted rays forms a cone around the diffracting edge, which is commonly known as a keller cone .
for each launched ray, the sbr method surrounds rx with a sphere, called a reception sphere, with a radius that is proportional to the distance the ray travels and the average number of degrees between the launched rays. if the ray intersects the sphere, then the model considers the ray a valid path from tx to rx. the sbr method corrects the valid paths so that the paths have exact geometric accuracy.
when you increase the number of rays by decreasing the number of degrees between rays, the reception sphere becomes smaller. as a result, in some cases, launching more rays results in fewer or different paths. this situation is more likely to occur with custom 3-d scenarios created from stl files or triangulation objects than with scenarios that are automatically generated from openstreetmap® buildings and terrain data.
the sbr method finds paths using double-precision floating-point computations.
image method
this figure illustrates the image method for calculating the propagation path of a single reflection ray for the same transmitter and receiver as the sbr method. the image method locates the image of tx with respect to a planar reflection surface, tx'. then, the method connects tx' and rx with a line segment. if the line segment intersects the planar reflection surface, shown as r in the figure, then a valid path from tx to rx exists. the method determines paths with multiple reflections by recursively extending these steps. the image method finds paths using single-precision floating-point computations.
propagation loss
raytracing
objects calculate reflection and diffraction losses by
tracking the horizontal and vertical polarizations of signals through the
propagation path. total power loss is the sum of free space loss, reflection loss,
and diffraction loss.
effect of surface materials
when a ray interacts with a surface, the surface material impacts the reflection losses.
the ray tracing model incorporates building and surface materials into the propagation loss calculations by using the complex relative permittivity of the surface, εr. the itu-r p.2040-1 [5] and itu-r p.527 [6] recommendations include methods, equations, and values used to calculate εr for a range of frequencies.
the equations for εr are:
,
where:
εr' is the real relative permittivity.
σ is the conductivity in s/m.
ε0 is the permittivity of free space (electric constant).
f is the frequency in hz.
for building materials, the ray tracing model calculates εr' and σ as:
,
where a, b, c, and d are constants determined by the surface material. for readability, this table shows the frequency range in ghz.
material class | real part of relative permittivity | conductivity (s/m) | frequency range (ghz) | ||
---|---|---|---|---|---|
a | b | c | d | ||
vacuum (~ air) | 1 | 0 | 0 | 0 | [0.001, 100] |
concrete | 5.31 | 0 | 0.0326 | 0.8095 | [1, 100] |
brick | 3.75 | 0 | 0.038 | 0 | [1, 10] |
plasterboard | 2.94 | 0 | 0.0116 | 0.7076 | [1, 100] |
wood | 1.99 | 0 | 0.0047 | 1.0718 | [0.001, 100] |
glass | 6.27 | 0 | 0.0043 | 1.1925 | [0.1, 100] |
ceiling board | 1.50 | 0 | 0.0005 | 1.1634 | [1, 100] |
chipboard | 2.58 | 0 | 0.0217 | 0.78 | [1, 100] |
floorboard | 3.66 | 0 | 0.0044 | 1.3515 | [50, 100] |
metal | 1 | 0 | 107 | 0 | [1, 100] |
very dry ground | 3 | 0 | 0.00015 | 2.52 | [1, 10] only(a) |
medium dry ground | 15 | – 0.1 | 0.035 | 1.63 | [1, 10] only(a) |
wet ground | 30 | – 0.4 | 0.15 | 1.30 | [1, 10] only(a) |
note (a): for the three ground types (very dry, medium dry, and wet), the noted frequency limits cannot be exceeded. |
for earth surfaces such as water, sea water, dry or wet ice, dry or wet soil, and vegetation, the ray tracing model calculates εr using the methods and equations presented in itu-r p.527 [6].
reflection loss
this image shows a reflection path from a transmitter site tx to a receiver site rx.
the model determines polarization and reflection loss using these steps.
track the propagation of the ray in 3-d space by calculating the propagation matrix p. the matrix is a repeating product, where i is the number of reflection points.
for each reflection, calculate pi by transforming the global coordinates of the incident electromagnetic field into the local coordinates of the reflection plane, multiplying the result by a reflection coefficient matrix, and transforming the coordinates back into the original global coordinate system [7]. the equations for pi and p0 are:
where:
s, p, and k form a basis for the plane of incidence (the plane created by the incident ray and the surface normal of the reflection plane). s and p are perpendicular and parallel, respectively, to the plane of incidence.
kin and kout are the directions (in global coordinates) of the incident and exiting rays, respectively.
sin and sout are the directions (in global coordinates) of the horizontal polarizations for the incident and exiting rays, respectively.
pin and pout are the directions (in global coordinates) of the vertical polarizations for the incident and exiting rays, respectively.
rh and rv are the fresnel reflection coefficients for the horizontal and vertical polarizations, respectively. α is the incident angle of the ray and εr is the complex relative permittivity of the material.
project the propagation matrix p into a 2-by-2 polarization matrix r. the model rotates the coordinate systems for the transmitter and receiver so that they are in global coordinates.
where:
hrx and vrx are the directions (in global coordinates) of the horizontal (eθ) and vertical (eϕ) polarizations, respectively, for the receiver.
hin and vin are the directions (in global coordinates) of the propagated horizontal and vertical polarizations, respectively.
vtx is the direction (in global coordinates) of the nominal vertical polarization for the ray departing the transmitter.
ktx is the direction (in global coordinates) of the ray departing the transmitter.
specify the normalized horizontal and vertical polarizations of the electric field at the transmitter and receiver by using the 2-by-1 jones polarization vectors jtx and jrx, respectively. if either the transmitter or receiver are unpolarized, then the model assumes .
calculate the polarization and reflection loss il by combining r, jtx, and jrx.
diffraction loss
the model calculates diffraction loss by using computations based on the uniform theory of diffraction (utd) [8].
for a first order signal diffraction, the equation for path loss, pld, is:
,
where:
jvrx and jvtx are polarization vectors for the receiver and transmitter, respectively, specified as jones vectors.
hdiff1 is the diffraction matrix.
the equation for the diffraction matrix contains three terms.
the first term is a geometric coupling matrix that rotates the polarization vector from the basis of the ray coordinates to the basis of the edge-fixed incidence plane. the edge-fixed incidence plane contains the ray and the edge.
the second term is a polarization matrix containing diffraction coefficients for the local horizontal and vertical polarizations, d⟂ and d∥, and an amplitude scaling factor. for more information about the diffraction coefficients and amplitude scaling factor, see and [8].
the third term is a geometric coupling matrix that rotates the polarization vector from the basis of the edge-fixed incidence plane to the basis of the edge-fixed diffraction plane. the edge-fixed diffraction plane contains the diffracted ray and the edge.
references
[1] yun, zhengqing, and magdy f. iskander. “ray tracing for radio propagation modeling: principles and applications.” ieee access 3 (2015): 1089–1100. https://doi.org/10.1109/access.2015.2453991.
[2] schaubach, k.r., n.j. davis, and t.s. rappaport. “a ray tracing method for predicting path loss and delay spread in microcellular environments.” in [1992 proceedings] vehicular technology society 42nd vts conference - frontiers of technology, 932–35. denver, co, usa: ieee, 1992. https://doi.org/10.1109/vetec.1992.245274.
[3] international telecommunications union radiocommunication sector. propagation by diffraction. recommendation p.526-15. itu-r, approved october 21, 2019. https://www.itu.int/rec/r-rec-p.526/en.
[4] keller, joseph b. “geometrical theory of diffraction.” journal of the optical society of america 52, no. 2 (february 1, 1962): 116. https://doi.org/10.1364/josa.52.000116.
[5] international telecommunications union radiocommunication sector. effects of building materials and structures on radiowave propagation above about 100mhz. recommendation p.2040-1. itu-r, approved july 29, 2015. https://www.itu.int/rec/r-rec-p.2040/en.
[6] international telecommunications union radiocommunication sector. electrical characteristics of the surface of the earth. recommendation p.527-5. itu-r, approved august 14, 2019. https://www.itu.int/rec/r-rec-p.527/en.
[7] chipman, russell a., garam young, and wai sze tiffany lam. "fresnel equations." in polarized light and optical systems. optical sciences and applications of light. boca raton: taylor & francis, crc press, 2019.
[8] mcnamara, d. a., c. w. i. pistorius, and j. a. g. malherbe. introduction to the uniform geometrical theory of diffraction. boston: artech house, 1990.
see also
functions
- | | | |
objects
- |
related topics
- (wlan toolbox)
- (5g toolbox)