Definitionintro
Euler angles
Also called ZYZ Euler angles, proper Euler angles.
Three angles (alpha, beta, gamma) with R = Rz(alpha) Ry(beta) Rz(gamma): turn about the body z, then the new y, then the new z. Singular at beta = 0 and pi.
Euler angles describe an orientation by three angles of rotation about coordinate axes, applied one after the other. In the ZYZ form used in robotics, the angles give the rotation matrix : turn the body by about its axis, then by about its new axis, then by about its new axis. Every rotation has such angles, and they are unique when . At and the first and the last axes line up, only or is fixed, and the chart is singular; this is gimbal lock.
Notation on this page: rotations are active, and , , are the rotations about the fixed axes of the base frame,
Definition
Definition. The ZYZ Euler angles of a rotation in the special orthogonal group SO(3) are three angles with
where , , and so on. The usual ranges are and .
Two readings of the same product.
- Moving axes. turns the frame about its axis. The next factor, multiplied on the right, turns about the axis of the frame that is already turned, and the last factor about the newest axis. So the angles are applied in the order about the body axes .
- Fixed axes. Read from right to left, the product turns a vector by about the fixed axis, then by about the fixed axis, then by about the fixed axis.
Both readings give the same matrix, so a sequence about moving axes always equals the reverse sequence about fixed axes. A statement of Euler angles is complete only when it gives the axis order, says whether the axes are fixed or moving, and says whether the matrix is active or passive.
Inverse. Given , the angles with are
and these are the only angles in the ranges above when . The second solution , with negative, gives the same matrix and is excluded by the range of .
The singular set. If , then , and every pair with the same sum gives the same . If , then , so , and only the difference is fixed. At these orientations the map has a derivative of rank 2, not 3, and the inverse formulas above fail because . Code must test for this case and choose one angle, often .
Other Euler angles. Any three axes with no two neighbours equal give a chart. The six proper Euler sequences repeat the first axis (ZYZ, ZXZ, XYX, XZX, YXY, YZY); the six Tait-Bryan sequences use three different axes (such as ZYX, the roll-pitch-yaw angles). With fixed or moving axes, this gives 24 conventions. Every one of them is singular somewhere, as Stuelpnagel's theorem shows for every three-parameter chart.
Examples and non-examples
- A full example. gives
The inverse formulas give , and .
- A cyclic permutation. The rotation has the matrix with rows , , . Here , , , and , so , and indeed is this matrix.
- The same matrix in another convention. The rotation of the first example has the ZYX angles . Angle triples have no meaning without their convention.
- Non-example: unique angles at . and both give . No choice of the range removes this, because the problem is the line-up of the axes, not the period of the angles.
- Non-example: adding angles. The ZYZ angles of are not the sums of the angles of and . Compose the matrices or quaternions and convert after.
- Non-example: the rates as an angular velocity. is not the angular velocity. The two are related by a matrix that depends on and is singular where ; this matrix is part of the analytic Jacobian.
Related definitions
- Roll-pitch-yaw angles. The Tait-Bryan ZYX sequence, , singular at a pitch of .
- Gimbal lock. The loss of one degree of freedom at the singular set, in a mechanical gimbal and in the chart.
- Axis-angle representation, unit quaternions and Cayley parameters. Other representations of SO(3). Quaternions have no singular orientation, at the price of a fourth number.
- Kinematic decoupling. A wrist with three revolute joints whose axes meet in one point realizes a set of Euler angles, so its inverse kinematics is the inverse formula above, and its singularity is the line-up at .
References
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Appendix B, Section B.1 (Euler angles, the ZYZ form in equation B.6) and Section B.1.2 (other Euler angle representations)
- Bruno Siciliano, Lorenzo Sciavicco, Luigi Villani and Giuseppe Oriolo, Robotics, Modelling, Planning and Control, Springer, 2009, Chapter 2, Section 2.4 (Euler angles) and Section 2.4.1 (ZYZ angles)
- Richard M. Murray, Zexiang Li and S. Shankar Sastry, A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994, Chapter 2, Section 2 (rotational motion in R^3, other representations)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag N60E0J Edit this page History Report an error Markdown