Integrating equations of motion with Earth perturbations

Click For Summary
SUMMARY

This discussion focuses on the integration of equations of motion for n-body simulations in MATLAB, specifically within an Earth-centric Earth-Centered Inertial (ECI) framework, while addressing gravitational perturbations due to Earth's oblateness (J2 effect). The user successfully models the ISS and atmospheric drag but encounters issues with the orientation of the orbit, which precesses anticlockwise despite the expected invariance of the semimajor axis, eccentricity, and inclination. The conversation highlights the importance of understanding the transition from ECI to Earth-Centered Earth-Fixed (ECEF) frames and the implications of J2 on satellite orbit dynamics.

PREREQUISITES
  • Understanding of MATLAB programming for n-body simulations
  • Familiarity with gravitational potential modeling, specifically J2 perturbations
  • Knowledge of orbital mechanics, including ECI and ECEF reference frames
  • Concept of orbital precession and its effects on satellite trajectories
NEXT STEPS
  • Research the mathematical formulation of J2 perturbations in orbital mechanics
  • Learn about the transition between ECI and ECEF reference frames in satellite dynamics
  • Explore techniques for modeling gravitational effects in MATLAB
  • Investigate the concept of "walking orbits" and their applications in satellite missions
USEFUL FOR

Aerospace engineers, orbital mechanics researchers, MATLAB programmers, and anyone involved in satellite trajectory analysis and modeling gravitational perturbations.

morinmau
Messages
1
Reaction score
0
Hello to everybody,

i have been programming an n-bodies integrator in MATLAB, in an earth-centric ECI perturbations framework. The main objective is to 'write down' in a procedure an interesting part of phisics, and secondly (at the very end of it) to get a complete integrator for meteor orbits determination from observations.
Given that, i had no problems in getting the right results (i'm testing with ISS) for additional (point mass) bodies and atmospheric drag. The issues I'm facing now regards the modelling of gravitational potential due to Earth oblateness.
Honestly, I'm struggling a bit with the concept of switching from the conventional inertial ECI frame to an ECEF frame, not completely clear to me when this is definitely needed.
I so decided to implement only the zonal component J2: since the J2 effect on gravitational potential depends only on geocentric latitude, the Earth rotation around z-axis should'nt have any effect on the inertial reference frame (skipping precession and nutation).
The problem is the following: when i integrate for few days the satellite position with J2 gravitational effect (whose accellerations are calculated in cartesian coordinates ECI frame, for what said above), the orbit shape is not changed (semimajor axis, eccentricity and inclination don't change) but the orbit's orientation moves anticlockwise. Actually, the line of nodes (longitude of ascending node) precesses on the equatorial plane.
That would be logical if the J2 accellerations would depend on the longitude and we integrate in the ECI coordinates, but it is not.
I checked formulas hundreds times, i used several different formulations of the J2 equations, but no change.
The code is very simply, anyway ...
Am I doing something logically wrong that passed undetected ?
Thanks in advance for any hints you can provide.

Maurizio
 
morinmau said:
but the orbit's orientation moves anticlockwise. Actually, the line of nodes (longitude of ascending node) precesses on the equatorial plane.
You are describing a "walking orbit". Many mapping satellites around Earth and Mars (and possibly other worlds) take advantage of this so that they always pass over the daylight side at about local 2pm. It gives them the lighting angle they're after. Without this effect, the satellite would slowly shift, returning to the 2pm longitude one planetary orbit later. To compensate, they would need to fire the engines. But with this effect, its just a matter of choosing the right altitude to get the orbit to precess at about 4 minutes a day (for Earth). This effect is caused by Earth's and Mars' oblateness.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 86 ·
3
Replies
86
Views
8K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 70 ·
3
Replies
70
Views
11K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
8K