We’ll see how satellites locate the ground stations to establish connections, and some intuitive math behind finding the line of sight communication.

Earth observing satellites are mostly Sun Synchronous Lower Earth Orbit satellites. Meaning, they have highly inclined, near-earth-surface orbits. They carry out their observations, collect the data and send it back to ground stations when the connection can be established. LEO satellites are very near to earth and most of their field of view is covered by small section of Earth surface. They can contact Ground stations(GS), only if the it is in the visible section of Earth’s surface. In fact, a satellite orbiting at around 500km above earths surface can be in Contact with a ground station for only about 10% of its orbital time. Satellites collect the data during their orbit and send to the GS during this "In Contact” period. They have to actively adjust their antennas and point towards the Ground station.

To point their antenna towards a ground target, satellites have to know the positions and orientations of themselves and the target. For doing the calculations, spacecraft engineers make use of the comfort provided by reference frames.

To make the math simpler, we convert the position of the satellite(Vsat) & GS(Vgs) into a same reference frame. These conversions are as simple as Matrix multiplications. In terms of same reference frame, line of sight vector (Vlos) can be simply obtained by subtracting the two position vectors Vsat & Vgs.

And next, the question is, which reference frame should we pick? Perhaps the frame of satellite? Or the Earth ? Or may be the Sun’s? The downside of all of them is, they Rotate. Rotation unnecessarily add a magical and invisible outward force on all the bodies. And it can be confusing to make force related calculations in these frames. So, for this problem, we will have to choose an inertial reference frame, and one such popular frame with its center coinciding with Earth’s centre is ECI Frame (Earth Centred Inertial Frame).

Now let's convert both vectors in to ECI frame:

Satellites Position vector (Vsat)

Ground Station Position vector (Vgs)

Calculating Line of Sight vector

All the above simulations looks more mathematical, unless until the Earth comes into picture.

Also checkout how a satellite scans the entire Earth