Clohessy–Wiltshire Relative Motion — Bounded or Drifting?

A chaser spacecraft near a target does not move like a car approaching another car. In orbit, small position and velocity errors can create bounded motion, long-term drift, or unexpected oscillation. This interactive problem shows why relative motion is the bridge between orbital mechanics and GNC.

Now control meets orbital mechanics.
1. Problem Setup

A Chaser Spacecraft Near a Target

A chaser spacecraft is near a target spacecraft in circular orbit. You want to stay near it, approach it, or dock with it.

But something strange happens: even with no forces applied, the relative motion is not straight. The chaser may oscillate around the target, drift away, or spiral unintentionally.

2. Physical Insight Before Math

The Rotating LVLH Frame

Relative motion is described in the LVLH frame: Local Vertical Local Horizontal. This frame rotates with the target spacecraft as it moves around Earth.

x radial

Toward or away from Earth.

y along-track

Direction of orbital motion.

z cross-track

Out of the orbital plane.

Earth Target Chaser x radial y along-track z cross-track rotating frame
3. Mathematical Model

Clohessy–Wiltshire Equations

For a target in circular orbit, small relative motion can be approximated using the Clohessy–Wiltshire, or Hill, equations.

$$ \ddot{x} - 2n\dot{y} - 3n^2x = 0 $$ $$ \ddot{y} + 2n\dot{x} = 0 $$ $$ \ddot{z} + n^2z = 0 $$

Here, $n$ is the mean motion of the orbit. The $x$ and $y$ equations are coupled, while $z$ behaves like a simple oscillator.

4. Interactive Section 1

Initial Condition Explorer

Change the initial relative position and velocity. The same orbit can produce bounded, drifting, or oscillatory motion depending on the initial condition.

Scenario presets:










5. Key Insight

Velocity Errors Are More Dangerous Than They Look

Relative motion depends more on velocity than position. Two spacecraft may start near the same position, but a small relative velocity mismatch can create long-term drift.

Critical Insight:
In orbit, velocity errors are often more dangerous than position errors.
6. Interactive Section 2

Bounded vs Drifting Motion

Compare a balanced condition, a slight velocity error, and a large velocity error. The difference is small at the start but grows over time.



7. z-Direction Motion

The Cross-Track Motion Is Often Ignored

The $z$ equation is independent and behaves like a simple harmonic oscillator.

$$ \ddot{z} + n^2z = 0 $$


8. Engineering Interpretation

What CW Motion Means for Missions

🚀 Rendezvous

You cannot just point and go. The approach velocity must be designed carefully.

🛰 Formation flying

Stable formations require specific position-velocity relationships.

🧠 Control

CW equations define the plant. Control must cancel drift, shape trajectory, and stabilize motion.

9. Interactive Section 3

What Happens If You Do Nothing?

This loads a small relative velocity mismatch and lets the chaser drift without control.

10. Phase-Space Plot

x vs vx Phase-Space View

A compact loop suggests bounded radial behaviour. A stretched or open curve suggests drift.

11. Energy-Like Invariant

Numerical Trust Check

This diagnostic quantity is used as an educational structure check. It is not a full orbital energy, but it helps show whether the simulation is behaving consistently or drifting strongly.

Invariant Drift

Waiting...

Numerical Meaning

Waiting...

12. Orbit Altitude Sensitivity

Changing Mean Motion n

The same initial relative error behaves differently at different target orbit altitudes because mean motion changes.

Mean Motion n

Waiting...

Orbital Period

Waiting...

Relative Oscillation Period

Waiting...

Max Separation

Waiting...

13. Advanced Toggle

CW vs Full Nonlinear Two-Body Propagation

CW works well for small relative distances and short time windows. It becomes less accurate for larger separations, eccentric target orbits, or long propagation times.




Engineering Interpretation:
CW equations are powerful because they are simple and linear, but they are still an approximation. Always check whether the separation distance and mission duration are small enough for CW assumptions.
14. Engineering Takeaways

What This Problem Shows

Bounded motion

Bounded relative motion requires the correct position-velocity relationship.

Drifting motion

Small velocity mismatch can produce large along-track drift over time.

GNC bridge

CW dynamics explain why docking and formation flying are control problems.

Relative motion is not intuitive because the reference frame rotates with the orbit.
Control design begins by respecting this natural orbital behaviour.
Next Problem

Chaser Control Problem

Now that we understand natural relative motion, the next challenge is controlling it. How do we design a controller that achieves docking without oscillation, overshoot, or unsafe drift?