Step 4: Computation of the Antenna Gain for Selected Directions

Only points of the spheroid are computed. In 3D mode all points on the spheroid are examined while in the 2x2D mode the computation is done the following way:
  1. The points in the horizontal plane (including Mgeo) are computed.
  2. The maximum gain in the horizontal plane is determined.
  3. The points on the vertical plane, defined with Mgeo the vector of the z-axis and the vector from Mgeo to the point with maximum gain, are computed.
  4. The point with a maximum gain in the vertical pattern is determined. If this point is not in the horizontal plane, the horizontal plane is parallel moved from Mgeo to this point with maximum gain, and the horizontal pattern is recomputed in this plane.

The computation is made in the coordinate system defined in step 2.

An arbitrary point P has the coordinates (xP,yP, zP) and is on the spheroid used for the computation. The difference vector δ between P and Mgeo is defined as:

δ = ( x δ y δ z δ ) = ( x P y P z P ) ( x g e o y g e o z g e o )

Standardized to a length of 1 m this leads to the vector Δ

Δ = ( x Δ y Δ z Δ ) = 1 ( x d ) 2 + ( y d ) 2 + ( z d ) 2 ( x δ y δ z δ )

Point P and vector Δ described in the 3D antenna pattern the following azimuth α and tilt ϑ:

α = { tan ( x Δ y Δ ) i f x 0, y 0 180 ° + tan ( x Δ y Δ ) i f x 0, y 0 180 ° + tan ( x Δ y Δ ) i f x 0, y 0 360 ° + tan ( x Δ y Δ ) i f x 0, y 0

(assuming the x-axis is equal to 0°, and the y-axis is equal to 90°).

ϑ = arccos ( z Δ )

(assuming 0° is equal to the positive z-axis and 90° is horizontal plane)

For the computation of the first horizontal pattern, ϑ is equal to 90° and α is incremented between 0° and 360°. For the computation of the vertical pattern, α is equal to 0° and ϑ is incremented between 0° and 180°. In 3D computation mode, both angles must be incremented to sample all directions.