- Joined
- Oct 26, 2011
- Messages
- 1,264
- Reaction score
- 727
- Points
- 128
The Apollo Guidance Computer had a routine to numerically integrate the state vector, the Coasting Integration Routine. If the Apollo spacecraft was somewhere between the Earth and the Moon, the routine would not only take the gravitation of the Earth into account, but also the Moon and Sun.
But somewhere in the equations I get confused.
The basic equation is quite straighforward:
[MATH]\frac{d^2}{dt^2}\underline{r}(t)+\frac{\mu_p}{r^3} \underline{r}(t)=\underline{a}_d(t)[/MATH]
with mu_p being the standard gravitational parameter of the primary body (Earth or Moon, let's assume from now on it is the Earth) and a_d are the disturbing accelerations.
One of the disturbing accelerations is the gravitational influence of the sun.
I would have thought that equation has to be:
[MATH]\underline{a}_{dS}=-\frac{\mu_S}{r_{SC}^3}[-\underline{r}_{ES}+\underline{r}][/MATH]
a_dS = acceleration due to the Sun
mu_S=standard gravitational parameter of the Sun
r_ES = vector from the Earth to the Sun
r = position vector relative to the Earth
r_SC = vector from the sun to the vehicle (CSM), r_SC=r-r_ES
The equation in the guidance equations document is:
[MATH]\underline{a}_{dS}=-\frac{\mu_S}{r_{SC}^3}[f(q_S) \underline{r}_{PS}+\underline{r}][/MATH]
r_PS = vector from the primary body (Earth) to the sun
with
[MATH]q_S=\frac{(\underline{r}-2 \underline{r}_{PS}) \cdot \underline{r}}{r_{PS}^2}[/MATH]
and
[MATH]f(q)=q \frac{3+3q+q^2}{1+(1+q)^{3/2}}[/MATH]
The equations are very similar, but what I don't understand: why the function f as a factor? The results with it seem right and the factor makes the number for the acceleration of the sun quite small when the vehicle is close to the moon.
Does the Earth influence the gravity of the sun, if it is "in the way"? Or do I have a misconception about the geometry? It seems the answer isn't too difficult, but I am kind of clueless.
So any help would be appreciated! :thumbup:
EDIT: I changed r_SC to r_ES in equation no. 2
But somewhere in the equations I get confused.
The basic equation is quite straighforward:
[MATH]\frac{d^2}{dt^2}\underline{r}(t)+\frac{\mu_p}{r^3} \underline{r}(t)=\underline{a}_d(t)[/MATH]
with mu_p being the standard gravitational parameter of the primary body (Earth or Moon, let's assume from now on it is the Earth) and a_d are the disturbing accelerations.
One of the disturbing accelerations is the gravitational influence of the sun.
I would have thought that equation has to be:
[MATH]\underline{a}_{dS}=-\frac{\mu_S}{r_{SC}^3}[-\underline{r}_{ES}+\underline{r}][/MATH]
a_dS = acceleration due to the Sun
mu_S=standard gravitational parameter of the Sun
r_ES = vector from the Earth to the Sun
r = position vector relative to the Earth
r_SC = vector from the sun to the vehicle (CSM), r_SC=r-r_ES
The equation in the guidance equations document is:
[MATH]\underline{a}_{dS}=-\frac{\mu_S}{r_{SC}^3}[f(q_S) \underline{r}_{PS}+\underline{r}][/MATH]
r_PS = vector from the primary body (Earth) to the sun
with
[MATH]q_S=\frac{(\underline{r}-2 \underline{r}_{PS}) \cdot \underline{r}}{r_{PS}^2}[/MATH]
and
[MATH]f(q)=q \frac{3+3q+q^2}{1+(1+q)^{3/2}}[/MATH]
The equations are very similar, but what I don't understand: why the function f as a factor? The results with it seem right and the factor makes the number for the acceleration of the sun quite small when the vehicle is close to the moon.
Does the Earth influence the gravity of the sun, if it is "in the way"? Or do I have a misconception about the geometry? It seems the answer isn't too difficult, but I am kind of clueless.
So any help would be appreciated! :thumbup:
EDIT: I changed r_SC to r_ES in equation no. 2
Last edited:
