Description
The Dock Alignment Pointing Software computes an inertial attitude reference that aligns the spacecraft’s docking adapter with a target adapter for mating. The reference orients the chaser’s port axis anti-parallel to the target’s port axis while achieving a commanded clocking (roll) angle about the mating axis. The module accounts for the body-frame mounting of the docking adapter so that the output commands the spacecraft body attitude, not the port frame directly.
Example Use Cases
- Docking Approach: Generate attitude commands during final approach to align the spacecraft for capture.
- Berthing Operations: Maintain port alignment while an external manipulator positions the spacecraft.
- Clocking Control: Achieve a specific roll orientation for mechanical or electrical interface alignment.
Module Implementation
Reference Frame Construction
The module constructs a desired port frame in inertial coordinates from the target adapter’s orientation. The desired chaser port Up axis is the negation of the target port Up axis to achieve anti-parallel mating:
The clocking (Right) axis is derived from the target’s clock vector, rotated by the commanded clocking angle about the mating axis using the Rodrigues rotation formula:
The Forward axis completes the right-handed frame:
Body Frame Correction
The chaser adapter is mounted at a fixed orientation in the spacecraft body frame. To command the body attitude rather than the port attitude, the module removes this mount offset:
where is the DCM from body to port frame (constructed from the adapter’s body-frame axes) and is the desired port-to-inertial DCM. The resulting body-to-inertial DCM is converted to Modified Rodrigues Parameters .
Target State Propagation
When the target adapter telemetry is stale, the module propagates the target’s port axes forward using the published angular velocity. The propagation time is limited by MaxPoseLookAhead to bound extrapolation error:
where is the Rodrigues rotation by angle about axis .
Reference Rate Computation
The angular velocity and acceleration of the reference frame are computed by finite-differencing the MRP using the kinematic B-matrix relationship:
The module averages the B-matrices at the current and previous time steps to improve numerical accuracy. When analytic angular velocity from the target adapter is available, it is used directly instead of the finite-difference estimate.
Assumptions/Limitations
- Requires docking adapter telemetry from both the chaser and target spacecraft.
- The first few rate and acceleration outputs are zeroed to avoid numerical transients from finite-differencing.
- Target state propagation assumes constant angular velocity; accelerating targets may exhibit tracking lag.
- If the target or chaser axes degenerate (near-zero length), the previous reference is held.