Skip to main content
QUICK REVIEW

[Paper Review] Solving Kepler's equation CORDIC-like

M. Zechmeister|arXiv (Cornell University)|Aug 21, 2018
Scientific Research and DiscoveriesPhysics and Astronomy12 references5 citations
TL;DR

This paper presents a CORDIC-like algorithm to solve Kepler’s equation for elliptical and hyperbolic orbits without runtime transcendental function calls. By iteratively adjusting the eccentric anomaly using precomputed angle steps and sign-based direction control, it achieves single-precision accuracy in 29 iterations and double-precision in 55, offering a hardware-friendly, numerically stable alternative to Newton-Raphson methods.

ABSTRACT

Context. Many algorithms to solve Kepler's equations require the evaluation of trigonometric or root functions. Aims. We present an algorithm to compute the eccentric anomaly and even its cosine and sine terms without usage of other transcendental functions at run-time. With slight modifications it is applicable for the hyperbolic case, too. Methods. Based on the idea of CORDIC, it requires only additions and multiplications and a short table. The table is independent of eccentricity and can be hardcoded. Its length depends on the desired precision. Results. The code is short. The convergence is linear for all mean anomalies and eccentricities e (including e = 1). As a stand-alone algorithm, single and double precision is obtained with 29 and 55 iterations, respectively. One half or two third of the iterations can be saved in combination with Newton's or Halley's method at the cost of one division.

Motivation & Objective

  • To develop a method for solving Kepler’s equation that avoids runtime evaluation of sine, cosine, or other transcendental functions.
  • To adapt the CORDIC algorithm’s iterative rotation principle to the nonlinear structure of Kepler’s equation, particularly the $ E - e\sin E = M $ form.
  • To provide a numerically stable, high-precision solution valid across all eccentricities, including $ e = 1 $ (radial orbits).
  • To enable efficient hardware implementation via minimal operations per iteration and a fixed, small lookup table independent of eccentricity.
  • To offer a robust initial guess for higher-order iterative solvers like Newton-Raphson or Halley’s method, reducing overall iteration count.

Proposed method

  • The algorithm uses iterative angle additions with precomputed basis angles $ \alpha_n = \pi / 2^n $, starting from $ E_0 = 0 $.
  • At each step, the direction of rotation ($ \sigma_{n+1} = \pm 1 $) is determined by comparing the current $ M_n = E_n - e\sin E_n $ with the target mean anomaly $ M $.
  • The method computes $ \sin E $ and $ \cos E $ simultaneously using small-angle approximations in trigonometric addition formulas to avoid direct sine/cosine evaluations.
  • The algorithm is extended to the hyperbolic case by modifying the rotation logic and using hyperbolic functions analogously.
  • For improved efficiency, the method can be combined with Newton’s or Halley’s method, using the CORDIC result as a starting estimate and reducing total iterations by up to two-thirds.
  • The table of angles and their trigonometric values is precomputed and hard-coded, making it independent of eccentricity and suitable for embedded systems.

Experimental results

Research questions

  • RQ1Can the CORDIC algorithm be adapted to solve Kepler’s equation, which involves a transcendental term $ e\sin E $, without calling sine or cosine functions at runtime?
  • RQ2How can the convergence behavior and accuracy of a CORDIC-like approach be maintained across the full range of eccentricities, including $ e = 1 $?
  • RQ3To what extent can the simultaneous computation of $ \sin E $ and $ \cos E $ be achieved using truncated Taylor expansions for small angles, preserving accuracy?
  • RQ4Can this method serve as an effective initial guess for higher-order iterative solvers like Newton-Raphson or Halley’s method, reducing overall computational cost?
  • RQ5Is the method extendable to the universal Kepler’s equation, particularly in the context of mixed elliptical and hyperbolic orbits?

Key findings

  • The algorithm achieves single-precision accuracy in 29 iterations and double-precision accuracy in 55 iterations, with linear convergence across all mean anomalies and eccentricities.
  • For $ e = 1 $ and $ M = 0 $, the double-precision accuracy is limited to approximately $ 10^{-15} \sqrt{\frac{2}{1-e}} $, which reflects the singularity at the radial orbit limit.
  • The method computes $ E $, $ \sin E $, and $ \cos E $ simultaneously without any runtime transcendental function calls, relying only on additions, multiplications, and a precomputed table.
  • Using the CORDIC result as an initial guess, Newton’s or Halley’s method can reduce the number of iterations by up to two-thirds, with only one additional division.
  • The algorithm is applicable to both elliptical and hyperbolic orbits and handles the $ e = 1 $ case as a limiting case, maintaining numerical stability.
  • The method is well-suited for hardware implementation, such as in FPGAs, due to its low computational complexity per iteration and predictable structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.