Course contentsShow

Module 05 · Lesson 2

Look Angles and Pass Prediction

An antenna needs to know where to point and when. This lesson computes azimuth, elevation and range in a station's local frame and shows how pass prediction finds rise and set times.

8 minute readUpdated November 23, 2026

Learning objectives

After this lesson you will be able to:

  • Compute azimuth, elevation and range from a satellite position expressed in a station's east-north-up frame
  • Describe how a pass predictor steps through time and refines rise and set times
  • Explain the role of the elevation mask and how Doppler shift follows from the same geometry

What an antenna needs to know

The foundation course described a pass in terms of line of sight, acquisition of signal and loss of signal. An antenna needs more than that. To follow a satellite it needs a direction at every moment, expressed as two angles, and the receiver benefits from knowing the distance and how fast it is changing.

  • Azimuth is the compass direction, measured clockwise from true north. East is 90 degrees, south is 180 and west is 270.
  • Elevation is the angle above the horizon, from 0 to 90 degrees.
  • Slant range is the straight-line distance to the satellite.

Together these are called look angles, and they are different for every station.

The east-north-up frame

Look angles are easiest to compute in the station's local frame. Module 3 introduced the east-north-up frame, or ENU, whose origin is the station and whose axes point east, north and straight up from the local surface. Getting a satellite position into that frame is a pipeline with one transformation per stage.

  1. Propagate the orbit to the time of interest. This gives a position in an inertial frame.
  2. Rotate it into an Earth-fixed frame using the Earth's orientation at that time, as Module 3 described.
  3. Convert the station's geodetic latitude, longitude and height into the same Earth-fixed frame.
  4. Subtract the station position from the satellite position.
  5. Rotate that difference vector into ENU, using the station's latitude and longitude.
  6. Read off azimuth, elevation and range.

Stages 1 to 3 belong to vetted libraries. Stages 5 and 6 are short enough to show in full.

const DEG = Math.PI / 180; // radians per degree

// Rotate an Earth-fixed difference vector (satellite minus station, km) into the
// station's east-north-up frame. latDeg is geodetic latitude, lonDeg is east longitude.
function ecefToEnu(d: [number, number, number], latDeg: number, lonDeg: number): [number, number, number] {
  const sinLat = Math.sin(latDeg * DEG), cosLat = Math.cos(latDeg * DEG);
  const sinLon = Math.sin(lonDeg * DEG), cosLon = Math.cos(lonDeg * DEG);
  const [dx, dy, dz] = d;
  return [
    -sinLon * dx + cosLon * dy,
    -sinLat * cosLon * dx - sinLat * sinLon * dy + cosLat * dz,
    cosLat * cosLon * dx + cosLat * sinLon * dy + sinLat * dz,
  ];
}

// Azimuth is measured clockwise from north, elevation up from the horizon.
function lookAngles(east: number, north: number, up: number) {
  const rangeKm = Math.hypot(east, north, up);
  const elevationDeg = Math.asin(up / rangeKm) / DEG;
  const azimuthDeg = (Math.atan2(east, north) / DEG + 360) % 360;
  return { azimuthDeg, elevationDeg, rangeKm };
}

const fmt = (a: { azimuthDeg: number; elevationDeg: number; rangeKm: number }) =>
  `az ${a.azimuthDeg.toFixed(1)}  el ${a.elevationDeg.toFixed(1)}  range ${a.rangeKm.toFixed(1)} km`;

console.log(fmt(lookAngles(0, 0, 500)));       // straight up
console.log(fmt(lookAngles(1000, 0, 0)));      // due east on the horizon
console.log(fmt(lookAngles(-300, -300, 300))); // southwest, partway up
// A station on the equator at 0 degrees longitude, with a satellite 500 km directly above it.
console.log(fmt(lookAngles(...ecefToEnu([500, 0, 0], 0, 0))));

Running it prints:

az 0.0  el 90.0  range 500.0 km
az 90.0  el 0.0  range 1000.0 km
az 225.0  el 35.3  range 519.6 km
az 0.0  el 90.0  range 500.0 km

The simple cases make good unit tests. A satellite straight up is at 90 degrees elevation. One due east on the horizon is at azimuth 90 and elevation 0. A few points are easy to get wrong.

  • The arguments to atan2 are east first, then north. Swapping them gives an angle measured counterclockwise from east.
  • Azimuth has no meaning for a satellite exactly overhead. The code returns 0, and callers should not rely on it.
  • Azimuth wraps from 359 to 0 degrees. A real antenna has limits on how far it can turn, so its controller must plan which way around to go.
  • A pass close to overhead makes azimuth change very quickly near the top, faster than some antenna mounts can follow.

Finding passes

The diagram below shows a satellite passing over a ground station, with the part of the orbit above the horizon highlighted and acquisition and loss of signal marked.

A contact window

Technical diagram

1234
  1. Acquisition of signal (AOS). The satellite rises above the station's horizon and contact can begin.
  2. Loss of signal (LOS). The satellite sets below the horizon and contact ends.
  3. Contact window. The highlighted part of the orbit, where a direct line of sight exists.
  4. Ground station. Outside the window the Earth itself blocks the signal.
Not to scale. Real stations also need the satellite to be a few degrees above the horizon, which shortens the usable window.

Predicting passes means finding the times at which the satellite crosses the station's minimum elevation. There is no formula that returns those times directly for a perturbed orbit. The standard method is a search.

  1. Step. Move through the period of interest in fixed steps, computing the elevation at each one. Steps of 30 to 60 seconds are typical for low Earth orbit.
  2. Detect. When the elevation goes from below the minimum to above it between two samples, a rise lies between them. The opposite change marks a set.
  3. Refine. Narrow the bracket by bisection, or a faster root-finding method, until the crossing time is known to the precision required. One second or better is usual.
  4. Characterize. Between rise and set, search for the time of maximum elevation. Record the rise time, set time, maximum elevation, and the azimuth at each.

The refinement is a binary search over time. It works because the elevation crosses the threshold only once within a narrow bracket. The step size is where the method can fail. If the step is longer than a short, low pass, the satellite can rise and set between two samples and the pass is never seen.

The output is a list of pass records. The next module treats that list as the input to scheduling.

The elevation mask

The foundation course noted that stations do not work down to the horizon. The elevation mask is the minimum elevation a station uses. In its simplest form it is one number, commonly 5 or 10 degrees. Real sites are surrounded by hills, buildings and other antennas, so the mask is often a table of minimum elevation against azimuth.

The mask is a parameter of the prediction, and it changes the answer. Raising it from 5 to 10 degrees shortens every pass and removes the lowest ones. The predicted rise is also a geometric event. The moment the receiver locks onto the signal comes a little later and depends on the equipment. Software should keep predicted and actual times as separate fields.

The model below predicts one day of passes for a single station. Raise the Minimum elevation from 5 to 10 degrees and watch Longest pass and Total contact per day change.

Passes over a ground station

Interactive model

Loading 3D globe…

Try a station:
550 km

Higher satellites see further, so each pass lasts longer.

97.5°

Tilt of the orbit. The track reaches this latitude north and south, and no further.

40° N

How far north of the equator the antenna is.

5°

The lowest angle above the horizon at which the antenna can use the satellite.

0 minutes into the day. Out of view.

Passes per day
4
Longest pass
9 min 30 s
Total contact per day
33 minutes
Longest gap between passes
11 h 33 min
Elevation now
Out of view

Challenges

0 of 3 done

To do: Give the station at least 12 passes a day.

Hint

Where on the Earth do the tracks of a near-polar orbit all come together?

To do: Find an orbit that this station never sees.

Hint

The track goes no further north than the inclination.

To do: Get more than 60 minutes of contact a day from a station below 50° north.

Hint

A higher satellite stays in view for longer on every pass.

One day of a circular orbit over a spherical, turning Earth, drawn as the path of the point beneath the satellite. The dashed circle marks where that point must be for the satellite to be above the minimum elevation; highlighted stretches are passes. The animation slows down during each pass. Terrain, weather and antenna limits are not modeled.

Doppler shift

The same geometry gives a fourth output. Range rate is how fast the slant range is changing. It can be computed from the satellite's velocity relative to the station, or by differencing the range at two closely spaced times.

Range rate produces the Doppler shift that the foundation course mentioned. To a good approximation, received = transmitted * (1 - rangeRate / c), where c is the speed of light. For low Earth orbit the range rate reaches roughly 7 km per second near the horizon on an overhead pass. For a downlink near 2.2 GHz that is a shift of about 50 kHz either way. Receivers follow it, and many stations adjust the uplink frequency from the prediction so that the signal arrives at the frequency the spacecraft expects.

A practical example: validating a pass predictor

A developer writes a pass predictor for a station at 45 degrees north. The unit tests above pass. She then compares a week of predictions with an independent, trusted tool.

The pass lists match, but not closely enough. Rise and set times differ by up to about three seconds, and maximum elevations on high passes differ by up to a couple of degrees. Both tools use the same orbit data, no passes are missing, and the error does not grow through the week, which makes the propagator an unlikely cause.

She repeats the comparison for a test station on the equator and the results agree almost exactly. An error that depends on latitude points at the station position. The code had treated the station's surveyed latitude, which is geodetic, as if it were geocentric. At 45 degrees the two differ by about 0.19 degrees, which placed the station about 21 km from its true position.

She replaces the hand-written conversion with a library function for the standard Earth ellipsoid and adds the cross-tool comparison to the regression suite, with tolerances of one second and 0.1 degrees.

Simple cases prove that the formulas are wired correctly. Only comparison with independent data shows that the inputs mean what the code assumes.

The next lesson covers drawing orbits and ground tracks on maps and globes.

Key takeaways

  • Look angles come from the vector between station and satellite, rotated into the station's east-north-up frame. Azimuth is measured clockwise from true north and elevation up from the horizon.
  • The result is only as good as its inputs - current orbit data, accurate time, and the station's geodetic latitude, longitude and height.
  • Pass prediction samples elevation over time, detects crossings of the elevation mask, and refines each crossing with a root-finding method. The step must be shorter than the shortest pass of interest.
  • Range rate, the rate at which range changes, gives the Doppler shift. The received frequency is high on approach, nominal at closest approach and low on departure.

Knowledge check

Check your understanding. These questions are not graded and you can retry as often as you like.

Question 1 of 3· Select one answerA pass predictor samples elevation every five minutes and refines each crossing it detects. Compared with a reference tool it is missing several passes, all of them low in the sky. What is the cause?
Question 2 of 3· Select all that applyWhich inputs must be correct for predicted look angles to match where the satellite actually appears? Select all that apply.
Question 3 of 3· Select one answerHow does the received downlink frequency behave during a pass of a satellite in low Earth orbit?

0 of 3 questions answered.

Glossary

Azimuth

The compass direction to a satellite as seen from a station, measured clockwise from true north through 360 degrees.

Elevation

The angle of a satellite above the local horizon as seen from a station, from 0 degrees at the horizon to 90 degrees directly overhead.

Slant range

The straight-line distance between a station and a satellite.

East-north-up frame

A local coordinate frame with its origin at a station and its axes pointing east, north and straight up. It is the natural frame for antenna pointing.

Elevation mask

The minimum elevation at which a station treats a satellite as usable. It may be a single angle or a profile that varies with azimuth.

Range rate

The rate at which the distance between a station and a satellite is changing. It is negative while the satellite approaches and positive while it recedes.

References and further reading

Finished this lesson?

Loading your progress…

Lesson version 1.0.0.