|
|
|||||||
The half angle is approximately
![]() For a positive body frame rotation about +y, the passive increment is
Numerically,
Solution 11: leading coning termThe first order passive increments are
![]() and
![]() Because the first increment occurs before the second, body frame multiplication gives
![]() Expand:
![]() For pure vector quaternions,
![]() The vector contribution is therefore
![]() Match this with the passive form
![]() The resulting equivalent physical rotation vector is
The physical coning cross term has the same positive cross product form, although the quaternion vector part itself carries the passive negative sign.
Solution 12: numerical coning cross termThe cross product is
![]() Therefore the leading coning contribution is
Solution 13: normalization versus exact propagationNormalization restores
![]() It does not reconstruct higher order rotational information omitted by a forward Euler step. The exact exponential update follows the correct finite rotation on the unit quaternion manifold for a constant sample rotation vector. Normalized Euler first takes a tangent line approximation and then projects that approximate point back onto the unit sphere. The projected point is generally close to, but not identical with, the exact exponential result.
Solution 14: quaternion sign continuityOne commonly applies
Because q and −q represent the same physical orientation, this operation does not alter attitude. It simply chooses the representative closer to the preceding quaternion. This improves continuity for plotting, interpolation, finite differencing, and optimization.
Solution 15: three component error stateThe nominal quaternion is a global attitude representation with four stored components constrained by
![]() Therefore it has three independent degrees of freedom. A local passive multiplicative error can be written
![]() The three vector components of
![]() are therefore sufficient to represent the local orientation perturbation. An estimator can consequently propagate the nominal attitude as a full unit quaternion while carrying only three attitude error variables in the linearized covariance state.
Solution 16: strapdown state propagation orderA typical passive quaternion strapdown propagation order is:
For
![]() the body to inertial specific force transformation is
![]()
Solution 17: using IMU supplied delta anglesA delta angle output is already the sensor’s estimate of integrated angular motion over the sample. Converting it to an average rate by dividing by Δt and then multiplying by Δt again adds unnecessary operations. More importantly, the device may have formed the delta angle using internal high rate samples and may already include coning or other compensation. Reducing that output to a single average rate can hide how the device formed the integrated quantity and can invite accidental duplicate processing. Therefore the sensor supplied delta angle is normally the more natural input to the finite quaternion update, subject to the device documentation and bias correction model.
Solution 18: direct small increment versus filter small errorIn direct IMU propagation,
![]() is an approximation to the actual physical rotation occurring during one sample. Its usefulness depends on the sample rotation being sufficiently small. In a multiplicative error state filter,
![]() has a different role. The nominal attitude remains a full unit quaternion representing the global orientation, while the three component vector δ𝜃 represents only a local estimation error around that nominal attitude. The nominal vehicle attitude may therefore be arbitrarily large even though the error state is intentionally kept small.
4 Compact passive propagation checks
5 Sources and exercise provenanceThis companion follows the eighteen problem progression of the earlier PhysicsLibrary example article but rewrites every convention sensitive formula and worked result for the passive inertial to body convention. Sommer and coauthors provide a modern discussion of quaternion convention management. Solà provides a detailed treatment of quaternion kinematics and error state filtering. Titterton and Weston provide a broad engineering treatment of strapdown inertial navigation. Savage develops classical strapdown attitude integration and coning compensation.
References
[1] H. Sommer, I. Gilitschenski, M. Bloesch, S. Weiss, R. Siegwart, and J. Nieto, “Why and How to Avoid the Flipped Quaternion Multiplication,” Aerospace, vol. 5, no. 3, article 72, 2018. Published under CC BY 4.0. Publisher article [2] J. Solà, “Quaternion Kinematics for the Error State Kalman Filter,” arXiv:1711.02508, 2017. arXiv preprint [3] D. H. Titterton and J. L. Weston, Strapdown Inertial Navigation Technology, 2nd ed., The Institution of Engineering and Technology, 2004/2005. Engineering reference. IET book page [4] P. G. Savage, “Strapdown Inertial Navigation Integration Algorithm Design Part 1: Attitude Algorithms,” Journal of Guidance, Control, and Dynamics, vol. 21, no. 1, pp. 19–28, 1998. DOI record
LicenseUnless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license. "example of numerical quaternion propagation and IMU attitude state integration" is owned by bloftin. This object's parent. Cross-references: kinematics, force, covariance, degrees of freedom, representation, manifold, differential equation, unit, magnitude, position, velocity, operation, cross product, quaternion norm, formula, identity, norm, vector, angular velocity, scalar, quaternion, section, numerical quaternion propagation and IMU attitude state integration There is 1 reference to this object. This is version 2 of example of numerical quaternion propagation and IMU attitude state integration, born on 2026-08-24, modified 2026-08-28. Object id is 1110, canonical name is ExampleOfNumericalQuaternionPropagationAndIMUAttitudeStateIntegration. Accessed 266 times total. Classification:
|
|
|
|
Pending Errata and AddendaNone.
|
DiscussionNo messages.
|
Interact |