Description
This module is designed to work as the pointing program in an ADCS software chain as shown in the figure below.
This module constructs an output reference frame that aligns with the Local-Vertical-Local-Horizontal (LVLH) reference frame where:
: points radially outward in the direction that connects the center of the planet with the parent object, as per SPICE data.
: is defined normal to the orbital plane in the direction of the angular momentum
: completes the right-handed triad.
Example Use Cases
- Compute the LVLH reference frame for pointing applications: Construct a reference frame commonly applied for nadir pointing operations e.g. Earth Observation.
- Supports navigation translation errors modelling: Accepts general navigation messages, which may provide body state estimations from sensors, flight computers, etc. or the actual body state directly from the parent Spacecraft.
Module Implementation
Reference Frame Definition
This module assumes a standard reference frame, where is the position vector of the spacecraft in the inertial frame and is the position vector of the celestial body in the inertial frame. The relative position and velocity of the spacecraft in the planet-centered inertial frame are then:
The Hill frame orientation is then defined as:
The direction cosine matrix that maps to is then .
Reference Frame Angular Velocity Vector
The angular velocity of the original reference frame is . The angular rate and acceleration vectors are then defined by the true anomaly of the orbit as:
The angular rate and acceleration in the output reference frame are then computed as:
Expressed in the inertial frame:
where .
References
[1] Hanspeter Schaub and John L. Junkins. Analytical Mechanics of Space Systems. AIAA Education Series, Reston, VA, 3rd edition, 2014.