Kinematics Estimators
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Classes: NEDKinematicsEstimator, ECEFKinematicsEstimator, ECIKinematicsEstimator (see the
Class Reference table at the end of this page for Javadoc and source links).
What these classes solve
A navigator integrates measured specific force and angular rate forward in
time to obtain position, velocity, and attitude. The kinematics estimators solve the inverse problem:
given two consecutive (attitude, velocity, position) navigation states, they compute the specific force
and angular rate that an ideal IMU would have measured between them. This is exactly what the referenced
MATLAB companion scripts (Kinematics_NED.m, Kinematics_ECEF.m, Kinematics_ECI.m) do, and it is the
standard way to generate noise-free, synthetic IMU measurements for testing a navigator or calibrator
against a known trajectory.
Common structure
All three estimators follow the same four-step pattern described in Groves §5.1-5.3 (see [book-groves]), run in reverse:
-
Angular rate: recover the attitude-increment rotation vector from the old and new body-to-reference coordinate transformation matrices (inverting the exponential attitude-update equation), then divide by the time interval.
-
Specific force: difference the old and new velocities, subtract gravity/gravitation, and add back the Coriolis/transport-rate terms that the frame in question rotates with.
-
Frame transformation: transform the specific force from the reference-frame resolving axes back to body-frame axes using the (precise, averaged) coordinate transformation matrix.
-
Store the resulting
BodyKinematics(specific force + angular rate), or a zero result if the time interval is zero.
|
Gravity (ECEF, NED) or gravitation (ECI) is evaluated at the position at the start of the time interval, which is the position the matching navigator uses when it integrates the same interval. This is what makes each estimator the exact inverse of its navigator:
|
Frames and notation
Groves works with three resolving frames for the same physical motion. The notation reads "quantity of frame with respect to frame , resolved about the axes of frame ". The estimators use:
| Frame | Velocity state | Extra rotation terms |
|---|---|---|
ECI ( ) |
|
None: the frame is inertial. |
ECEF ( ) |
|
Earth rate (Coriolis). |
NED ( ) |
|
Earth rate and transport rate . |
Two ingredients are common to every frame. The attitude increment over one interval of length is the rotation between the old and new body axes seen from a non-rotating reference, and the specific force is the measured acceleration, i.e. the total acceleration minus gravity (or gravitation):
Each frame contributes different rotating-frame terms, derived below. Writing for the rotation that carries the old body axes into the new ones, the angular rate is recovered from its skew-symmetric part, the inverse of the Rodrigues update used by the navigators (see Attitude Estimators: Leveling, Gyrocompassing, and Magnetic Heading for the rotation algebra):
where
ECIKinematicsEstimator
The ECI frame is inertial, so there is no Earth-rotation or transport-rate term. Specific force is simply the velocity change minus gravitation (code comment: equations 5.18 and 5.20):
using ECIGravitationEstimator for
The body-axes specific force follows from equation 5.81,
ECEFKinematicsEstimator
The ECEF frame rotates with the Earth at rate
where ECEFGravityEstimator and
The Earth rotation over the interval is the angle
(inverting the attitude update of equations 5.19/5.20), and the specific force is transformed back to body axes with the precise average matrix (equations 5.84/5.85, then 5.81). The Earth-rotation term of 5.85 is built from the attitude at the start of the interval:
Here ECEFInertialNavigator.
NEDKinematicsEstimator
The local-navigation (NED) frame adds a further transport-rate term RadiiOfCurvatureEstimator). The Earth rate resolved in NED
(equation 2.123) uses the start-of-interval latitude
The attitude increment uses the Earth rate plus the average of the old and new transport rates (equation 5.77):
Specific force resolved about NED axes (equation 5.54), with the old-state transport rate, old velocity and the gravity vector at the old latitude and height:
using NEDGravityEstimator for NEDInertialNavigator does:
and the body-axes specific force again follows from equation 5.81.
double timeInterval = 1.0; // seconds between the two epochs
// body-to-NED attitude at the start and end of the interval
CoordinateTransformation oldC = new CoordinateTransformation(
0.0, 0.0, 0.0, FrameType.LOCAL_NAVIGATION_FRAME, FrameType.BODY_FRAME);
CoordinateTransformation c = new CoordinateTransformation(
0.01, 0.0, 0.02, FrameType.LOCAL_NAVIGATION_FRAME, FrameType.BODY_FRAME);
double latitude = Math.toRadians(41.3851);
double oldLatitude = latitude;
double height = 0.0;
double oldHeight = 0.0;
// NED velocity at the start and end of the interval (m/s)
double oldVn = 0.0, oldVe = 0.0, oldVd = 0.0;
double vn = 1.0, ve = 0.0, vd = 0.0;
BodyKinematics kinematics = new BodyKinematics();
NEDKinematicsEstimator.estimateKinematics(timeInterval, c, oldC, vn, ve, vd, oldVn, oldVe, oldVd,
latitude, height, oldLatitude, oldHeight, kinematics);
double fx = kinematics.getFx(); // synthetic specific force (m/s^2)
double angularRateZ = kinematics.getAngularRateZ(); // synthetic angular rate (rad/s)
ECEFKinematicsEstimator.estimateKinematics(…) and ECIKinematicsEstimator.estimateKinematics(…)
follow the same pattern, replacing latitude/height with Cartesian
When the two navigation states are already available as frames, the frame-based overloads are the simplest choice, since they pick the start-of-interval position from the previous frame:
// oldFrame and frame are the ECEFFrame instances at the start and at the end of the interval
BodyKinematics kinematics = new BodyKinematics();
ECEFKinematicsEstimator.estimateKinematics(timeInterval, frame, oldFrame, kinematics);
Where to go next
-
Gravity and Gravitation Estimators — gravity/gravitation models used inside these estimators.
-
Navigators — the forward (integrating) counterpart of these classes.
-
reference.adoc#bibliography — bibliography.