Lunar Ephemeris Polynomials

From Project Apollo - NASSP
Revision as of 05:38, 7 March 2008 by imported>Irnenginer
Jump to navigation Jump to search

The Lunar Ephemeris Polynomials are used in the Virtual AGC to determine the location of the moon with respect to the earth during a lunar mission. This lunar position is used for several critical aspects of guidance and navigation of the CSM throughout the mission.

First, the lunar position is used by the AGC to account for the gravitational force of the moon on the spacecraft when it is in or near the moon's sphere of influence or SOI. Secondly, the position of the moon is used to make corrections to the spacecrafts state vectors independent of ground assistance, using the spacecrafts optical system. Finally, the lunar position can be used as a sighting mark to align the spacecraft to the universal coordinate system.


Form of the Lunar Ephemeris

The lunar ephemeris are stored in the AGC using a set of 3 9th order Taylor series of the form:

<math>X(t) &= x_0+x_1t+x_2t^2+\cdots x_9t^9 </math>

Where X is the position of the moon with respect to the earth at a given time. There is a complete set of polynomials for each axis X,Y, and Z.

Time for the polynomials are expressed as the difference between the mission time and a predetermined time that was defined as a point midway through the lunar mission. This time, called TIMEMO is the zero intercept the polynomial expression.

Constraints of the AGC

Aspects of the AGC presented an interesting challenge to programmers. Given that the polynomials would be expressed as double precision numbers in the AGC that had to fall within the range of -1 to +1. In addition the input time and output distance would need to be scaled to the AGC defaults. And finally the calculations would need to be performed to maximize the accuracy of the Ephemeredes.

The scaling of the parameters is the most important aspect of the computation. The AGC measures distance primary in meters*2^-29, and time in cs(centiseconds)*2^-28. In order to produce accurate polynomials, the data that is used to produce them must be scaled the same as the AGC. Unfortunately, producing polynomials with this scaling does not produce polynomials within the +/-1 range.

Scaling the time and distance differently maximizes the accuracy of the resultant polynomials. The time is scaled to cs*2^-26 and the distance is scaled to meters*2^-31. This scaling produces polynomials that maintain a +/-1 result constraint. The change in scaling does however, reduces the accuracy of the distance, though but does not effect it significantly. The time scaling does however limit the effective time range to approximately 15 days.

Given the time range constrains and the computational constants at the time, the Ephemerids Data was centered to a time independent of the mission and time of launch. Assuming that the computation of the polynomials was not trivial at the time, and the that the polynomials were computed far ahead of mission with this constraint, the polynomials were based on point in time independent of other time related mission parameters. While most time commutations used the mission time based off the time of launch. The lunar ephemeris were based on a point during the mission. This point was selected in such a way that placed the negative extreme –(2^-26)/2 cs at a point slightly prior to the launch time. This method maximizes the time range that the polynomials are valid, and allows for changes in the launch time without the need to recompute the polynomials.


Modern Method of Computing Polynomials

Computing the polynomials can be accomplished using freely available data and any number of mathematical computational software.

The first step is to obtain data on the location of the moon over the period of time of a lunar mission. This data is avalible via the JPL Horizons system [1]. The following is an example header of the output.