StarGate: A Portable Satellite Ground Station
StarGate is a satellite ground station, for now focused on being a portable downlink station.
Downlink ground stations work like this:
1. Pass prediction
- This part is purely focused on predicting when the satellite will pass overhead. This is needed so it can rotate the antenna to receive the downlink from the satellite, since satellites are fast and there's only a small window each day where we can receive anything from them.
In detail:
A pass is the window when the satellite is above you. There's a rising period, a max elevation, then a dropping period. Elevation is the angle above my horizon (e.g. 90 degrees elevation is right above me). Azimuth is the compass direction.
To predict a pass, we need to know three things: 1) where the satellite is at a specific time, 2) where I am at a specific time, and 3) where the satellite is in space from where I am. Let t = time. To know where the satellite is at a specific t, we use the TLE and SGP4. The TLE and SGP4 give us the satellite's position in space. To know where we are in space, we need to take into account the Earth's rotation and movement. To know the direction to point our antenna, we take the vector from us to the satellite and turn it into azimuth and elevation values.
These three questions are answered every 10 seconds or so. When we notice elevation going from negative to positive, we know that the satellite is approaching.
Another note:
Using the ISS and Reno as an example, we first know that we can see the ISS from the ground at around 2,000 km in any direction, so a 4,000 km range total. We know the Earth takes 24 hrs to turn 360 degrees, and an ISS orbit takes around 90 minutes, so 90 × 360/1440 = 22.5 degrees of the Earth's rotation. This means that every time the ISS passes, the next time it comes around it will have moved 22.5 degrees to the west of us. From Reno, 1 degree of longitude is around 86 km, so 22.5 × 86 = 1,935 km. This tells us that every time the ISS passes above us, it has moved 1,935 km to the west. Given our 4,000 km range (2,000 km in any direction), this basically means we can see the ISS pass above us only 2–3 times. Passes come in clusters, with about 90 minutes between each orbit in a cluster.
TL;DR: We are answering when it will pass, and to do that we need to know where we are, where the satellite is, and how to point to it. There's no simple formula to know when it will come.
Decoding the TLE
We can use the column table for the TLE that our satellite is using to parse it by category. For TLEs, the parse table is here: celestrak.org/columns/v04n03.
Example with the ISS:
ISS (ZARYA)
1 25544U 98067A 26302.56368278 .00005507 00000-0 10765-3 0 9997
2 25544 51.6333 355.1294 0007050 324.3141 35.7375 15.49100842592585
Line 1:
25544 NORAD catalog number (the ID)
U Unclassified
98067A 1998, launch #67, piece A
26302.56368278 2026-10-29 13:31:42.19 UTC epoch
.00005507+ Mean motion rate of change (positive, so sinking)
10765-3 0.00010765 B* drag term
0 Ephemeris type
999 Element set number (unreliable)
7 Checksum
Line 2 (shape and position of the orbit):
25544 NORAD catalog number, same as line 1
51.6333 Inclination (degrees); the tilt from the equator, also the max latitude it flies over
355.1294 RAAN (degrees); where it crosses the equator going north, measured from the vernal equinox
0007050 0.0007050 Eccentricity; how much the satellite goes up and down while in orbit
324.3141 Argument of perigee (degrees); the angle from the ascending node to the lowest point
35.7375 Mean anomaly (degrees); where the satellite was on its loop at epoch, measured from perigee (fyi the perigee definition is weak)
15.49100842 Mean motion, aka the orbit's size
59258 Revolution number (the real count is 159258; the leading digit rolled over due to the old format)
5 Checksum
2. Antenna
- This part takes in the radio waves from the satellite and uses an SDR to turn them into digital samples, which a computer records.
3. Decode
- This part first turns the radio waves into bits, then sorts the bits into fields based on the satellite's specified format.
4. Telemetry
- This part is where we can use the decoded data for whatever we need. This lets us monitor the satellite's status or do other things.