Astromechanics The Two Body Problem (continued) 8.0 Recovering the Time The differential equation of motion for the two body problem is given by: (1) This equation is a second order, vector, ordinary differential equation for which the solution contains six constants of integration. Up to now we have extracted the following constants: 1) The angular momentum vector constant, is equivalent to three scalar constants. From our previous discussion, we found that the angular momentum constant establishes the orbit lies in a plane fixed in space. It turns out that two constants are sufficient to establish the plane of the orbit. The third constant is the magnitude of the angular momentum. 2) The energy of the orbit remains constant. We took advantage of the fact that the motion was in a plane (yet to be determined by two of the constants associated with angular momentum), by writing Eq. (1) in plane polar coordinates: (2) We used two of the know constants to establish the plane so that the differential equations of the orbit in that plane, Eq. (2) are two second order ordinary differential equations that need four constants of integration to establish a solution. Two of these constants are known, the magnitude of the angular momentum, h, and the energy En. A third constant was extracted by removing time as the independent variable and obtaining the equation of the orbit: (3) where T is the third constant. The two constants h, and En were combined to form the constant called the eccentricity which is not a new independent constant. Hence we have one constant left to extract. This constant is associated with the time and will allow us to determine the position of the satellite in the orbit at any given time. This final constant of motion is associated with integrating the transverse equation of motion to extract the time relationship. The transverse differential equation of motion can be written as (4) that gives us the magnitude of the angular momentum as (5) Since we used this equation to eliminate time to enable us to solve for the orbit, it is this same equation that we use to recover the time into the problem. We can recover time by rearranging Eq. (5): (6) If we define the true anomaly as we have previously, < = 2 - T, and note that d< = d2, and also that at the point of closest approach (periapsis passage), < = 0, and we can define the time at periapsis passage as, t = J, (J = time of periapsis passage), then Eq. (6) can be put in the form of a quadrature (integral with the integrand in terms of only the independent variable, in this case <): t −τ = h3 µ 2 ν dν ∫ (1 + e cos ν ) 2 (7) 0 The key thing to note here is that < is the independent variable and the solution gives t = f(<). In addition, J is our sixth (fourth for in plane motion) and final constant of integration. In principle, the problem has been solved! However we will find that Eq. (7) is not the best for solving the original problem of interest, given the time, find the position and velocity. We will introduce an alternate from for the time equation when needed. Time in a Parabolic Orbit (e = 1) We can evaluate Eq. (7) relatively easy for a parabolic orbit, since the eccentricity equals one. Using some trigonometry half angle identities, we have: (8) (9) The integration is easily carried out to give: (10) We can put this equation in its final form by noting that the angular momentum can be written in terms of the orbit parameter, p as . We can also define the parameter , that satisfies the following equation: (11) Then Eq. (10) can be rewritten in the form: Time Equation for a Parabola (Barker’s Equation) (13) Equation (13) is the time equation for a parabolic orbit and is known as Barker’s equation. Example Consider a parabolic transfer orbit from Earth’s orbit to Mars’ orbit. We will assume that the perihelion radius of the transfer orbit is the same as the Earth’s orbit radius so that the parabolic transfer orbit is tangent to the Earth’s orbit at perihelion. We would like to find the required for the transfer, and the time of flight for the transfer. Further, compare the results with a Hohmann transfer. We need to determine the properties at Earth orbit and at Mars orbit. The velocity anywhere in a parabolic orbit is escape velocity. At Earth orbit: Velocities are parallel at perihelion At Mars’ orbit: The flight path angle at Mars’ orbit is The orbit speed at Mars’ orbit is just the escape speed and Mars orbit speed is just the circular speed: The is obtained from the law of cosines: Calculating the time of flight The parabolic transfer orbit parameter Barker’s equation is: We can now compare these results with a Hohmann transfer calculated previously Earth/Mars Transfer AU/TU TOF Hohmann Parabola 0.0989 0.4142 0.0890 0.6820 0.1879 AU/TU 5.5960 km/s 1.0962 AU/TU 32.65 km/s 4.4539 TU 258.92 days 1.2025 TU 69.90 days The Kepler Problem (Parabolic Orbit) Unfortunately, the original problem that we set out to solve was to find the position (and velocity) in orbit, given the time. Such a problem is called the Kepler problem. In other words, given the time in Barker’s equation, find the true anomaly. Barker’s equation is given by (14) which can be rearranged as (15) where we see Barker’s equation is a (kind of special) cubic equation in . We can examine the expected roots that we will get using Descarte’s rule of signs for polynomials of the form: f(x) = 0. 1) The number of sign changes equals the maximum number of positive real roots 2) The number of sign changes in f(-x) equals the maximum number of negative real roots. Using (1) we have 1 sign change so we have at most one positive real root (note b>0) Using (2) (-x)3 + 3(-x)~-b = 0, we have zero sign changes so no negative real roots. Our conclusion is that Eq. (15) has one real root (positive) and two complex conjugate roots. We only need to solve for the real root. For a cubic in this form, we can write the solution directly. Let (16) then the solution is: (17) Example Consider in a parabolic orbit where p = 2 AU. Find the true anomaly, , and radial distance, r. First calculate and subsequently, R. then The time given, was the travel time to Mars along a parabolic orbit, and the true anomaly calculated was that to arrive at Mars. The radial distance is calculated from: Time in an Elliptic Orbit (e < 1) We can extract the time equation for an elliptic orbit in the same manner as we did for the parabolic orbit. However, since , the results are not so nice. We have from the original time expression: (18) For an elliptic orbit, the angular momentum, and bring the terms containing . If we substitute in for and a to the left hand side we arrive at: (19) where we have incorporated the relation developed previously: (20) The integral can be evaluated for the case where e < 1. The result is (21) Or (22) where we have introduce a definition of the mean anomaly: Mean Anomaly (23) The mean anomaly is not a physical angle that we can designate on a drawing. It is just the angle that would be travel through by a satellite moving at its constant mean angular rate, n, in time (t - J). It varies uniformly in time and is often used instead of time as the independent variable. Equation (22) is a messy equation. However it can be used to solve for the time (or mean anomaly) given the true anomaly. On the other hand, solving the Kepler problem, given the time, find the true anomaly, is much more complicated. Consequently an alternative approach is available which ends up still solving a non-linear equation for the angle, but it is not nearly as messy. The Eccentric Anomaly In order to simply the time equation, we can introduce a new variable called the eccentric anomaly. It is defined with the help of an auxiliary circle. The auxiliary circle is centered at the center of the ellipse (not the focus) and has a radius equal to the semi-major axis, . As a result it is tangent to both the periapsis and the apoapsis. At the point the radius vector touches the ellipse, we construct a perpendicular to the semi-major axis and extende it outward until it touches our auxiliary circle. A line is then drawn from this point to the center of the ellipse. The angle this line makes with respect to the major axis line is designated as E and is called the eccentric anomaly. It turns out that using this variable as the angle variable leads to a rather nice form of the time equation. In order demonstrate this, we will use a coordinate system centered at the focus of the ellipse with the x axis in the direction of the periapsis, and the y axis perpendicular to it and pointing in the direction of the semi-latus rectum. Such a coordinate system is called the perifocal coordinate system. We could use a coordinate system centered at the center of the ellipse, but this one will save us some algebra, believe it or not. We first want to get an expression for the radius as a function of E. Consider determining the x and y positions on the ellipse in terms of E. From the geometry we can write: (24) The equation of an ellipse with the center located at the point ( ) is given by (25) In our case the center of the ellipse is locate at that . In addition we can recall , so that Eq. (25) becomes: (26) or (27) The desired result for now is (28) We now have expressions for x and y in terms of the eccentric anomaly, E so we can find r as a function of E: (29) Or, taking the square root: r in Terms of the Eccentric Anomaly (30) In order to put this result in perspective we can note: (31) Hence we have an expression for the radius in terms of two different variables, the true anomaly and the eccentric anomaly. They are equivalent, and can e interchanged. Equation (31) can be used to determine which we will do later. Now we would like to proceed to the time equation. We can recover the time equation in a similar manner that we did previously. However here, all we will need to do is evaluate the angular momentum. We will do this in the perifocal coordinate system. We have the following components of the position and velocity: (32) The angular momentum is given by: (33) or the magnitude of is .If we substitute in our expressions from Eq. (32) we have: (34) We also can recall that . Substituting the angular momentum expression in Eq. (34), and breaking our the differentials in leads to the equation: (35) We can integrate the above equation from the time of periapsis passage to the current time and note that at periapsis both the true anomaly and eccentric anomaly are zero. So, integrating Eq. (35) and putting in the limits gives: Kepler’s Equation (36) Equation (36) is known as Kepler’s equation and is generally the time equation related to elliptic orbits. If we are given the position or eccentric anomaly, we can solve for the time and more importantly, if we are given the time, we can solve for the eccentric anomaly, iteratively, a lot easier than we could for true anomaly. We can complete this section on elliptic orbit time by comparing Eq. (36) with Eq. (22). These equations must be the same. We can recognize the first term in each is an angle, and the second term in each is multiplied by an . By comparison we can find: (37) and (38) In addition, from the relations: results: , and Eq. (31), we can get the (39) and (40) Finally, these results can be inverted to give: (41) Note that these relationships can be developed directly from geometry. In all these equations it is important to note the quadrant in which the angles occur. We should note from the figure above that: (42) Note that this doesn’t mean of is in the first quadrant that the first or second quadrant, and vice versa. is in the first quadrant, could be in Time in a Hyperbolic Orbit (e > 1) We can extract the time equation for an hyperbolic orbit in the same manner as we did for the elliptic orbit. (43) For a hyperbolic orbit, for the angular momentum, and bring the terms containing at: . If we substitute in and a to the left hand side we arrive (44) where we again have incorporated the relation developed previously: The integral can be evaluated for the case where e > 1. The result is (45) In addition we will introduce a new variable called the hyperbolic anomaly that is analogous to the eccentric anomaly. It leads to a simplified time equation similar to Keplers’s equation that we developed for elliptic orbits. In addition there are relations similar to those for elliptic orbits for relating the hyperbolic anomaly to the true anomaly. These relations follow. Time Equation for Hyperbolic Orbit (46) where F is the hyperbolic anomaly. Many hyperbolic equations are the same as elliptic equations with a replace with -a. However in the following equations we will define a > 0, or . Radial Distance (47) (48) The inverse relations: (49) Additional Relations of Interest Since dealing with hyperbolic functions is sometimes uncomfortable for students, alternative representations can be used. We have: (50) Time of Flight Problems It is assumed that the properties of the orbit are known, the semi-major axis, a, the eccentricity, e, (or their equivalents, angular momentum and time), and the time of periapsis passage, J, Then there are two types of time of flight problems: 1) Given the true anomaly, find the time from periapsis , 2) Given the time past periapsis, find the true anomaly. (Kepler problem) The first type of problem is easily solved since we have been using the true anomaly as the independent variable and we have a time equation with time as a function of true anomaly. The second problem requires us to “invert” the time equation that is nonlinear. Consequently most schemes for solving this problem require iteration. Another aspect of either time problem is the fact that the times determined using the time equations developed are times measured from periapsis passage. Consequently, if we want to find the time of flight between two arbitrary points in the orbit, we must find the times from periapsis to those points and then take the difference. Methods of solving time problems are best illustrated by examples. Several examples of both types of time problems are now presented. Example We are in the Earth’s orbit about the Sun and apply a tangent Delta-V = 0.20 AU/TU. Find the time it takes to reach Mars’ orbit, r = 1.524 AU. As in all problems, we will find the properties of the original orbit assumed to be a circular orbit at 1 AU radius from the Sun. Next we find the properties of the new orbit. Here we note the radius is unchanged and the velocity increment is tangent to the original velocity so that the new flight path angle is still zero, so that the point in the new orbit is at the periapsis of the new orbit. We have: Then energy and angular momentum is given by: , Semi-major axis We need to determine the eccentric anomaly when the vehicle reaches Mars’ orbit Note that we must be careful we have the correct quadrant In this case it could be 1st or 4th. Since it is going out, it must be 1st. We can find the mean angular rate or in this case its reciprocal is more convenient: Then the time of flight from perihelion to Mars’ orbit is given by Kepler’s equation: Alternatively we could have solved for the true anomaly and then either used it directly in Eq, (22) or then convert to eccentric anomaly: and (As before - we can now use Kepler’s equation Note that here the eccentric anomaly is in the first quadrant, and the true anomaly is in the second. Example We will now get to Mars using a hyperbolic orbit of eccentricity 2. We will thrust tangentially from Earth’s orbit. Find the time of flight to reach Mars’ orbit. Since we are again launching tangent to the original orbit, we know that we will be at the perihelion of the new orbit. Hence we have: From the energy equation: We need to calculate the hyperbolic anomaly when we reach Mars’ orbit: We can now use “Kepler’s” equation: We can now summarize the results of the last few examples: Earth-Mars )V (AU/TU) TOF (days) Hohmann 0.0989 258.3 Ellipse 0.2000 113.2 Parabola 0.4142 69.9 hyperbola 0.7089 48.4 Example We will now consider a transfer orbit from Earth to Mars that is designed to return to the Earth if it does not intercept Mars. That is it is an orbit with a two year period so that if a vehicle is launched in this orbit from a perihelion at Earth orbit radius, it will return to that point in two years. Hence if launched from Earth, it will return to Earth in two years. This orbit will intersect Mars’ orbit in two places. We are interested in the time from Earth to Mars. We are also interested in other times relating to this orbit. The period of this orbit is twice the period of Earth in its orbit. In time units, the period of the reference orbit is Hence the period of this “free return” orbit is 2(2B). Then we have: Since we know the perihelion distance, we have or . WE can compute the eccentric anomaly at Mars orbit from : (First quadrant). The time of flight is obtained from Kepler’s equation: We now ask the question, how long does it take to get from Mars’ orbit on the way out, to Mars’ orbit on the way in? We calculate this time of flight by calculating the time of flight from perihelion to point 1, and from perihelion to point 2, and taking the difference to get the time from point 1 to point 2. The time of flight from perihelion to point 1 is the time calculated above. In order to calculate the time from perihelion to point 2, we need to determine the eccentric anomaly at point 2. We do this from the radius equation: Exactly the same value as before. Here, however, we will be in the 4th quadrant since we are returning. (Positive cosine in 1st or 4th , so it must be 4th ). Hence angle of interest is 360 - 83.8032 = 276.1968 deg. We can now calculate the time from perihelion to point 2. The time of flight from point 1 to point 2 is then The time to go from Earth’s orbit to the second crossing of Mars’ orbit is just what we calculated above, 10.3768 TU . Although the proper way to calculate time of flights is a shown previously, sometime one can take advantage of orbit symmetry about the semi-major axis to simplify calculations. For this example we could calculate the time from Mars’ to Mars’ orbit (over the top) by calculation the time from Mars’ orbit to the aphelion, and then double it. We already know the time from perihelion to Mars orbit (point 1) and we know the time from perihelion to aphelion is half the period, . Hence the time from point 1 to aphelion is Then as before. Solving the Kepler Problem A version of the Kepler problem can be stated as follows: Given the orbit properties, the initial position of the vehicle on the orbit at some time , find the position on the orbit after some time of flight, TOF. A more general statement of the Kepler problem will be given later. In order to solve this problem we must use Kepler’s equation to solve for the proper eccentric anomaly at the end of the time of flight. The procedure is as follows: It is assumed we know the energy and angular momentum of the orbit and hence the semimajor axis and the eccentricity of the orbit. At epoch, time , we know the true anomaly, , and the corresponding radius, . We now have to find the time past periapsis to the initial time, . We do this using the procedures in the above examples. Since we know the radius, (or true anomaly), we can solve for the eccentric anomaly at epoch: (51) Once we know the eccentric anomaly, we can use Kepler’s equation to solve for time past periapsis: (52) where . We never have to solve for , just for . Then, after the time of flight, the new time past periapsis will be: (53) Kepler’s equation at the end of the time of flight becomes: (54) where is the mean anomaly at the new position, and is known. Hence we know M and must solve for . There are several ways to solve this equation for , one of which is to use the nonlinear equation solver on your calculator or computer if it has one. This equation is well behaved, especially if the eccentricity is small and these algorithms should have no trouble solving for the eccentric anomaly. If such a tool is not available, the equation can typically be solved using one of two methods: fixed point iteration or Newton’s method. Fixed-Point Iteration If the eccentricity is small, then this method converges fast and is easily implemented. The first thing we need to do is to rearrange Kepler’s equation in the form: (55) Then if the eccentricity were zero, the solution would be . Hence we will start with this as our first guess. We then simply put that value back into Eq. (55) and solve for a new value of E. The algorithm is as follows: (56) The algorithm is repeated until is as small as one desires. As the eccentricity increases, the number or iterations needed for the result to converge becomes large. A method that converges faster, but requires more algebraic calculations is Newton’s method, likely the method used in many calculators. In general, Newton’s method is looking for the solution to the problem: find x given f(x) = 0, where f(x) is some arbitrary function of x. the idea is that we can expand the function in a Taylor’s series two first order and set that equal to zero (57) where is some initial guess, and solve Eq.(57) for a new estimate of is the derivative of evaluated at . We can to get: (58) For our problem, the function in which we are interested is Kepler’s equation. Hence we have: (59) Then the Newton algorithm becomes: (60) A modified Newton’s method can be developed by keeping the second order terms in the Taylor series expansion. A little algebra will lead to the result: (61) or for the Kepler problem: (62) where . Example Here we are given the orbital properties, En = -0.28 AU2/TU2 and h = 1.2 AU2/TU. We would like to find the position of the satellite 1.9481 TU into the flight assuming the satellite was launched at perihelion. We can compute the semi-major axis and eccentricity from: The mean angular rate and the mean anomaly is determined from: Kepler’s equation then becomes: that must be solved for E. Fixed Point Iteration Solution , The results are: The radial distance is determined from: This problem is just the trip to Mars problem that we solved for the time of flight to Mars previously. Here we put in the time and determined the distance. The true anomaly can be determined in several ways: Newton’s Method Note that it takes only 3 iterations here. Modified Newton’s Method where . Here, M = 0.8164, Example Given: a = 2.0 DU, and e = 0.2. The initial position is at r = 1.7 DU and the flight path is greater than zero. Find the position after 10.1365 TU. We must find the time past periapsis at the initial position (position 1). We can find the eccentric anomaly at position 1 from: We can find the mean anomaly at point 1 from: We can find the mean anomaly at the new location from the following: or (Recall, ) We can now solve Kepler’s equation for E2. Then the radial distance is: The true anomaly is found from: Has to be in the first or second quadrant. Since the tangent is negative, we know it is in the second quadrant. A calculator would give , the principal angle. To convert to the angle of interest we have or Alternatively: The calculator will give: (third quadrant) , so that Application to Hyperbolic Orbits The Kepler problem for the hyperbolic orbit is carried out in exactly the same manner as for the elliptic orbit. The main difference is that the orbit is not periodic and be don’t have to be concerned with multiple revolutions. Generally we use Newton’s method for solving the hyperbolic form of Kepler’s equation. An example will best illustrate how to treat time in the hyperbolic orbit. Example Given |a| = 2 DU, and e = 1.2. The initial radius is r = 1 AU with the flight path angle grater than zero. Find the radial distance and true anomaly after a flight time of 0.4238 TU. Again, we must find the conditions at the initial flight time, position 1. First some preliminaries from . and The initial hyperbolic anomaly is obtained from: Since the flight path angle is greater than zero, the vehicle is on the outward bound leg of the hyperbola, so we must calculate the time past periapsis passage to the current point 1. From Kepler’s equation: The mean anomaly at the new position is given by: Kepler’s Equation now looks like: Newton’s method becomes: For this problem we have: Then: The true anomaly is found from: (first quadrant)
© Copyright 2026 Paperzz