Universal variable formulation explained

In orbital mechanics, the universal variable formulation is a method used to solve the two-body Kepler problem. It is a generalized form of Kepler's Equation, extending it to apply not only to elliptic orbits, but also parabolic and hyperbolic orbits common for spacecraft departing from a planetary orbit. It is also applicable to ejection of small bodies in Solar System from the vicinity of massive planets, during which processes the approximating two-body orbits can have widely varying eccentricities, almost always

Introduction

A common problem in orbital mechanics is the following: Given a body in an orbit and a fixed original time

to,

find the position of the body at some later time

t~.

For elliptical orbits with a reasonably small eccentricity, solving Kepler's Equation by methods like Newton's method gives excellent results. However, as the orbit approaches an escape trajectory, it becomes more and more eccentric, convergence of numerical iteration may become unusably sluggish, or fail to converge at all for [1] [2] Furthermore, Kepler's equation cannot be directly applied to parabolic and hyperbolic orbits, since it specifically is tailored to elliptic orbits.

Derivation

E,

and having a single equation that can be solved regardless of the eccentricity of the orbit. The new variable

s

is defined by the following differential equation: \frac = \frac where

r\equivr(t)

is the time-dependent scalar distance to the center of attraction. (In all of the following formulas, carefully note the distinction between scalars

r,

in italics, and vectors

r ,

in upright bold.)The fundamental equation
\operatornamed2r
\operatornamedt2 

+\mu

r
~r3 

=0,

where

   \mu\equivG\left(m1+m2\right)   

is the system gravitational scaling constant,is regularized by applying this change of variables that yields:[2]

\frac + \alpha\ \mathbf = - \mathbf\ where

P 

is some t.b.d. constant vector and

\alpha

is the orbital energy, defined by \alpha \equiv \frac ~.The equation is the same as the equation for the harmonic oscillator, a well-known equation in both physics and mathematics. Taking the derivative again, we eliminate the constant vector

P ,

at the price of getting a third-degree differential equation:\ \frac + \alpha\frac = \mathbf\ The family of solutions to this differential equation[2] are for convenience written symbolically in terms of the three functions

sc1\left(\alphas2 \right),

s2c2\left(\alphas2 \right),

and

s3c3\left(\alphas2 \right);

where the functions

ck(x),

called Stumpff functions, which are truncated generalizations of sine and cosine series. Applying this results in:[2] \ t - t_\mathsf = r_\mathsf\ s\ c_1\!\!\left(\ \alpha s^2\ \right) + r_\mathsf \frac\ s^2 c_2\!\!\left(\ \alpha s^2\ \right) + \mu \ s^3 c_3\!\!\left(\ \alpha s^2\ \right)\ which is the universal variable formulation of Kepler's equation. This equation can now be solved numerically using a root-finding algorithm such as Newton's method or Laguerre's method for a given time

t

to yield

s,

which in turn is used to compute the

f

and

g

functions:\begin\ f(s) & = 1 - \left(\frac \right) s^2 c_2\!\!\left(\ \alpha s^2\ \right)\, \\[1.5ex]\ g(s) & = t - t_\mathsf - \mu\ s^3 c_3\!\!\left(\ \alpha s^2\ \right)\, \\[1.5ex]\ \dot(s) \equiv \frac &= -\left(\frac\right) s\ c_1\!\!\left(\ \alpha s^2\ \right)\, \\[1.5ex]\ \dot(s) \equiv \frac &= 1 - \left(\frac \right)\ s^2 c_2\!\!\left(\ \alpha s^2\ \right) ~.\\[-1ex] \end The values of the

f

and

g

functions determine the position of the body at the time

t

:\ \mathbf = \mathbf_\mathsf\ f(s) + \mathbf_\mathsf\ g(s)\ In addition the velocity of the body at time

t

can be found using
f

(s)

and
g

(s)

as follows:\ \mathbf = \mathbf_\mathsf\ \dot(s) + \mathbf_\mathsf\ \dot(s)\

where

r

and

v

are the position and velocity respectively at time

t,

and

ro

and

vo

are the position and velocity, respectively, at arbitrary initial time

to~.

Notes and References

  1. Book: Eduard L. . Stiefel . Gerhard . Scheifele . 1971 . Linear and Regular Celestial Mechanics: Perturbed two-body motion numerical methods canonical theory . Springer-Verlag .
  2. Book: Danby, J.M.A. . 1988 . Fundamentals of Celestial Mechanics . 2nd . Willmann-Bell . 0943396204 .