Skip to main content
QUICK REVIEW

[Paper Review] Quaternions and Attitude Representation

Hardik Parwana, Mangal Kothari|arXiv (Cornell University)|Aug 29, 2017
Inertial Sensor and NavigationEngineering4 references15 citations
TL;DR

This paper provides a comprehensive comparison of attitude representation methods in aerospace engineering, focusing on quaternions as a singularity-free alternative to Euler angles and rotation matrices. It details the mathematical formulation of quaternions, their relationship to rotation matrices and Euler angles, and demonstrates their advantages in avoiding gimbal lock while enabling efficient rotation interpolation and transformation composition.

ABSTRACT

The attitude space has been parameterized in various ways for practical purposes. Different representations gain preferences over others based on their intuitive understanding, ease of implementation, formulaic simplicity, and physical as well as mathematical complications involved in using them. This technical note gives a brief overview and discusses the quaternions, which are fourth dimensional extended complex numbers and used to represent orientation. Their relationship to other modes of attitude representation such as Euler angles and Axis-Angle representation is also explored and conversion from one representation to another is explained. The conventions, intuitive understanding and formulas most frequently used and indispensable to any quaternion application are stated and wherever possible, derived.

Motivation & Objective

  • To analyze and compare the strengths and limitations of various attitude representation methods, including rotation matrices, Euler angles, quaternions, and axis/angle parameterizations.
  • To identify and explain the mathematical singularity problem in Euler angles, known as gimbal lock, particularly at a pitch angle of 90°.
  • To establish quaternions as a robust, computationally efficient, and singularity-free alternative for representing 3D rotations in rigid body dynamics.
  • To derive explicit conversion formulas between quaternions and Euler angles for standard rotation sequences (e.g., 321), enabling practical implementation in aerospace and robotics applications.

Proposed method

  • Uses rotation matrices as the fundamental representation of SO(3), the special orthogonal group of 3×3 orthogonal matrices with determinant +1.
  • Derives the mathematical relationship between angular velocity and Euler rate derivatives using a 321 rotation sequence, showing the singularity at θ = 90° via a singular Jacobian matrix.
  • Introduces quaternions as a 4-parameter representation q = q₀ + q₁i + q₂j + q₃k, with the constraint ||q|| = 1, to parameterize rotations without singularities.
  • Derives the rotation matrix from quaternions using the formula R = [q₀² + q₁² - q₂² - q₃², ...] to map quaternions to SO(3).
  • Establishes the composition of rotations via quaternion multiplication, with local rotations compounded by right-multiplication: q = qϕ ∘ qθ ∘ qψ.
  • Provides explicit conversion formulas from Euler angles to quaternions using half-angle trigonometric identities, such as q₀ = cos(ϕ/2)cos(θ/2)cos(ψ/2) - sin(ϕ/2)sin(θ/2)sin(ψ/2).

Experimental results

Research questions

  • RQ1Why do Euler angles suffer from gimbal lock, and what is the mathematical condition that causes this singularity?
  • RQ2How do quaternions eliminate the singularity problem present in Euler angle representations while maintaining a minimal parameterization?
  • RQ3What are the precise mathematical relationships between quaternions, rotation matrices, and Euler angles for a standard 321 rotation sequence?
  • RQ4How can quaternion multiplication be used to compose multiple rotations efficiently and avoid the discontinuities seen in Euler angle parameterizations?
  • RQ5What are the computational and numerical advantages of using quaternions over rotation matrices or Euler angles in dynamic attitude control systems?

Key findings

  • Euler angles exhibit a singularity at a pitch angle of 90°, where the rotation matrix Jacobian becomes singular, rendering the inverse transformation undefined due to infinite tangent and secant terms.
  • Quaternions avoid this singularity by providing a double-covering representation of SO(3), where q and -q represent the same rotation, ensuring continuous parameterization across all orientations.
  • The rotation matrix derived from quaternions matches the standard 321 Euler rotation matrix when the quaternion components are computed from half-angle sines and cosines of Euler angles.
  • Conversion from quaternions to Euler angles is possible via inverse trigonometric functions, such as θ = sin⁻¹(2(q₀q₂ + q₁q₃)), with proper handling of quadrant ambiguities.
  • Quaternion-based rotation composition is numerically stable and efficient, enabling smooth interpolation and chaining of transformations without discontinuities.
  • The paper confirms that quaternions are computationally more efficient than Euler angles due to the avoidance of expensive trigonometric operations in rotation composition, and they are more efficient than rotation matrices in terms of parameter count and constraint handling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.