Skip to main content

Physics & Motion Model

This section describes the translational motion model used in the Moonlander simulation framework. The implemented model combines Newtonian gravitation, thrust-induced acceleration, and discrete-time numerical integration to propagate spacecraft motion.

The current implementation focuses on computational efficiency, numerical robustness, and deterministic reproducibility for real-time simulation and autonomous landing research.


Origin of the Lunar Gravity Model

The gravitational acceleration model is derived from Newton's law of universal gravitation combined with Newton's second law of motion.

Newton's law of gravitation states that two masses attract each other with the force:

FG=Gm1m2r2 F_G = G \frac{m_1m_2}{r^2}

Where:
FGF_G is the gravitational force [N]
GG is the universal gravitational constant
m1,m2m_1,m_2 are the interacting masses [kg]
rr is the distance between both masses [m]

Using Newton's second law:

F=maF=ma

and solving for acceleration yields:

a=GMr2 a = G \frac{M}{r^2}

Since celestial mechanics frequently uses the combined quantity:

μ=GM\mu = GM

the gravitational acceleration becomes:

a=μr2 a = \frac{\mu}{r^2}

This expression describes only the scalar magnitude of the gravitational acceleration.

To obtain the full vector acceleration directed toward the lunar center, the normalized position vector is introduced:

r^=rr \hat{\mathbf{r}} = \frac{\mathbf{r}}{||\mathbf{r}||}

The resulting vector formulation becomes:

agrav=μr3r \mathbf{a}_{grav} = - \frac{\mu}{||\mathbf{r}||^3} \mathbf{r}

The negative sign indicates that the gravitational acceleration always points toward the center of the Moon.


Lunar Gravity Model

The Moonlander simulation currently uses a central-body gravity model based on Newtonian point-mass gravitation.

The gravitational acceleration acting on the spacecraft is computed as:

agrav=μr3r \mathbf{a}_{grav} = - \frac{\mu}{||\mathbf{r}||^3} \mathbf{r}

Where:
agrav\mathbf{a}_{grav} is the gravitational acceleration vector [m/s²]
μ\mu is the lunar gravitational parameter [m³/s²]
r\mathbf{r} is the spacecraft position vector [m]
r||\mathbf{r}|| is the spacecraft distance from the lunar center [m]

This formulation naturally produces the inverse-square dependence of gravity while preserving the correct radial acceleration direction.


Thrust Acceleration

The spacecraft propulsion system generates acceleration by applying a thrust force vector along the engine thrust direction.

The generated thrust force vector is:

Fthr=FTd^ \mathbf{F}_{thr} = F_T \hat{\mathbf{d}}

Where:
FTF_T is the scalar thrust force magnitude [N]
d^\hat{\mathbf{d}} is the normalized thrust direction vector [-]

Applying Newton's second law yields the thrust-induced acceleration:

athrust=Fthrm=FTd^m \mathbf{a}_{thrust} = \frac{\mathbf{F}_{thr}}{m} = \frac{F_T\hat{\mathbf{d}}}{m}

Where:
athrust\mathbf{a}_{thrust} is the thrust acceleration vector [m/s²]
mm is the current spacecraft mass [kg]


Total Translational Acceleration

The total translational acceleration acting on the spacecraft is obtained through superposition of gravitational acceleration and thrust-induced acceleration.

a=agrav+athrust \mathbf{a} = \mathbf{a}_{grav} + \mathbf{a}_{thrust}

Substituting both acceleration models gives:

a=μr3r+FTd^m \mathbf{a} = - \frac{\mu}{||\mathbf{r}||^3} \mathbf{r} + \frac{F_T\hat{\mathbf{d}}}{m}

Discrete-Time Motion Integration

Spacecraft motion is propagated in discrete simulation steps using constant-acceleration kinematic relations over one timestepΔt\Delta t.

Velocity propagation:

v(t+Δt)=v(t)+aΔt \mathbf{v}(t+\Delta t) = \mathbf{v}(t) + \mathbf{a}\Delta t

Position propagation:

p(t+Δt)=p(t)+v(t)Δt+12aΔt2 \mathbf{p}(t+\Delta t) = \mathbf{p}(t) + \mathbf{v}(t)\Delta t + \frac{1}{2} \mathbf{a} \Delta t^2

Substituting the complete acceleration model yields:

v(t+Δt)=v(t)+(μr3r+FTd^m)Δt \mathbf{v}(t+\Delta t) = \mathbf{v}(t) + \left( - \frac{\mu}{||\mathbf{r}||^3} \mathbf{r} + \frac{F_T\hat{\mathbf{d}}}{m} \right) \Delta t
p(t+Δt)=p(t)+v(t)Δt+12(μr3r+FTd^m)Δt2 \mathbf{p}(t+\Delta t) = \mathbf{p}(t) + \mathbf{v}(t)\Delta t + \frac{1}{2} \left( - \frac{\mu}{||\mathbf{r}||^3} \mathbf{r} + \frac{F_T\hat{\mathbf{d}}}{m} \right) \Delta t^2

This integration scheme provides a numerically stable and computationally efficient propagation method suitable for deterministic real-time simulation.


Proper Acceleration and G-Load

The experienced spacecraft g-load is computed from the proper acceleration, which excludes gravitational free-fall acceleration.

aproper=aagrav \mathbf{a}_{proper} = \mathbf{a} - \mathbf{a}_{grav}

The corresponding g-load becomes:

gload=aproperg0 g_{load} = \frac{ ||\mathbf{a}_{proper}|| }{ g_0 }

Where:
g0g_0 is standard Earth gravity [m/s²]

This quantity represents the acceleration experienced by the spacecraft structure and potential crew.


Key Characteristics

  • Newtonian central-body gravity model
  • Vector-based thrust force representation
  • Physically consistent translational acceleration model
  • Discrete-time rigid-body motion propagation
  • Proper acceleration and g-load estimation
  • Deterministic and real-time capable implementation