Gyroscope Measurement and Angular Rates

Click For Summary

Discussion Overview

The discussion centers on the functioning and interpretation of gyroscopes, particularly regarding their measurement of angular rates and the complexities involved in integrating these measurements to derive orientation. Participants explore theoretical and practical aspects of gyroscope outputs, including the relationship between angular velocities and Euler angles, as well as numerical integration techniques for attitude tracking.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question whether gyroscopes provide angular rates about local axes or a fixed frame, and whether they can derive angle values from angular velocity measurements.
  • One participant asserts that a three-axis gyro gives angular velocity with respect to an inertial frame but expressed in case frame coordinates, prompting further clarification on what constitutes case frame coordinates.
  • There is a discussion on the challenges of integrating angular velocity and Euler angle rates, with some participants noting that typical numerical integration techniques may not yield physically meaningful results.
  • One participant introduces the concept of Lie group integration techniques as a potentially better approach for handling quaternion integration, while expressing uncertainty about the accessibility of this method for those without a strong mathematical background.
  • Several participants discuss the limitations of numerical solvers in the context of Lie groups, emphasizing the unique challenges posed by the lack of traditional arithmetic operations in these mathematical structures.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and agreement on the complexities of gyroscope measurements and integration techniques. There is no consensus on the best approach to integrating angular velocities or the implications of case frame coordinates, indicating ongoing debate and exploration of these topics.

Contextual Notes

Participants highlight limitations in their understanding of quaternion mathematics and the specific adaptations needed for unit quaternions in the context of rotations, suggesting that further exploration is necessary to fully grasp these concepts.

Who May Find This Useful

This discussion may be of interest to practitioners and researchers in fields related to robotics, aerospace, and any applications involving gyroscopic measurements and attitude estimation.

MHR-Love
Messages
17
Reaction score
0
Do gyroscopes give the angular rates about its local axes or about a frame that is fixed and initially coincides with its local frame? I mean: would this sensor give the rate of change of the Euler's angles or the angular velocity ω (about the inertial frame)?

One more question: I know that Gyroscopes measure the rate of change of rotation (angular velocities), so I think that they actually don't give any information about the angle values and these angles can later be found by differentiating these rates. Is what I think true?

Thnx
 
Engineering news on Phys.org
A three-axis gyro gives angular velocity with respect to inertial but expressed in case frame coordinates.

You can't integrate angular velocity, nor can you integrate Euler angle rates. Rotation in three dimensional space doesn't work that way. What you can do is use the angular velocity to find the derivative of the transformation matrix or quaternion and integrate this.

Even this is tricky. Typical numerical integration techniques will yield something that isn't an orthonormal matrix or isn't a unit quaternion. A standard trick is to force the result to be an orthonormal matrix or to normalize the quaternion. A better approach is to use Lie group integration techniques, but that's pretty advanced stuff.
 
A three-axis gyro gives angular velocity with respect to inertial but expressed in case frame coordinates.

What do you mean by case frame coordinates? Is it same as the global frame which initially coincide with the local frame?

You can't integrate angular velocity, nor can you integrate Euler angle rates. Rotation in three dimensional space doesn't work that way. What you can do is use the angular velocity to find the derivative of the transformation matrix or quaternion and integrate this.

Even this is tricky. Typical numerical integration techniques will yield something that isn't an orthonormal matrix or isn't a unit quaternion. A standard trick is to force the result to be an orthonormal matrix or to normalize the quaternion. A better approach is to use Lie group integration techniques, but that's pretty advanced stuff.

Well, what I understood from you is that we need to find the relationship between the angular velocities ωx, ωy and z and the rates of Euler's angles (which are not orthogonal). This is handled by finding the matrix mapping these rates. After doing so, we can integrate to find position or differentiate to find acceleration.

My knowledge in quaternion actually is not that good.
 
The case frame is the frame defined by the manufacturer of the gyro. It's some kind of gyro-fixed frame, specified by the manufacturer. If you mount the gyro in some goofy orientation, the gyro doesn't know that. You do. You need to transform case frame outputs of the gyro to the body frame of the object to which the gyro is attached. If the attachment isn't perfect (nothing is perfect), there are going to be misalignment errors between the case frame and what you think the case frame is. The gyro doesn't know these misalignment errors, and neither do you. You can deduce these misalignment errors, either by testing or if you have a smart enough Kalman filter.

You can't integrate angular velocity. Well, you can, but the results of that integration are not physically meaningful. You similarly can't integrate Euler rates. Using angular velocity to deduce how orientation has changed is non-trivial. If you don't know the subject at all, you unknowingly are verging on asking me to write a book.
 
Hi DH hope you don't mind me resurrecting this thread but something you posted caught my interest. I work in this field but like many of my colleagues my knowledge is practical rather than deeply rooted in the mathematical background. I know about the practical issues with using quaternion integration to track attitude changes of a rotating body. I circumvent these problems, where possible, by increasing the measurement/integration frequency. This is a practical solution in many cases, but you alluded to a better approach - Lie group integration techniques. Is this out of reach for a non-mathematician? I'll obviously google it, but do you have any favourite links to good material? TIA
 
Here are a couple of a recently published review/survey style articles:

H. Christiansen, H.Z. Munthe-Kaas, and B. Owren, Topics in structure-preserving discretization, Acta Numerica 20 (2011), 1-119
[You can find the PDF on the internet. Search for the title at scholar.google.com.]

E. Celledoni, H. Marthinsen, and B. Owren, An introduction to Lie group integrators -- basics, new developments and applications, J. Comput. Phys. 257 B (2014), 1040-1061
arxiv preprint: http://arxiv.org/abs/1207.0069

Both give nice, but perhaps mathematically dense, overviews of the concept of Lie group integrators. There are three primary approaches, the Crouch-Grossman techniques, the Runge Kutta Munthe-Kaas techniques, and Celledoni's commutator-free techniques. Note that the papers cited include the developers of two of those three techniques. The cited papers discuss all three approaches.

One thing neither discusses is how to adapt these concepts to unit quaternions for rotations in three dimensional space. Nobody apparently has discussed that. It's too specific a topic for general mathematical consumption. My technical monitor wants me to write a paper on what I've done, but aimed at a more utilitarian audience (e.g., physics-based simulations and graphics).
 
Continued …

At their heart, numerical solvers of an initial value problem are based on mean value theorem: ## x(t+\Delta t) = x(t) + \Delta t\, \dot x(t+\kappa\Delta t)##, where κ∈(0,1). Here ##\dot x(t+\kappa\Delta t)## is the derivative of x(t) at some point t+κΔt, which lies between t and t+Δt . There always exists such a κ and a ##\dot x(t+\kappa\Delta t)## per the mean value theorem. That leaves just one minor problem for numerical solves of an ODE: Find that value!

That's all well and good when the problem space is Euclidean. There the mathematical operators +, -, *, and / work just as expected. That's not so good for a mathematical group where the only operator is *, and also / if the group has an inverse. There is no addition, no subtraction. How are you going to use ## x(t+\Delta t) = x(t) + \Delta t\, \dot x(t+\kappa\Delta t)## when addition isn't even a defined operation?

For that matter, how do you get a derivative out of a group? After all, the canonical definition of the derivative involves subtraction, which is a form of addition. The answer is, you can't in general. You can for things called Lie groups. Here there's enough structure that the concept of a derivative can be defined. Every Lie group has an associated Lie algebra. Even though the group does not seem to have the mathematical structure needed to form a derivative, the connection between the Lie group and Lie algebra gives the tools to form the derivative. For example, the rotations in three dimensional space form a Lie group. Their Lie algebra? It's essentially (i.e., it's isomorphic to) angular velocity.

So how to deal with ## x(t+\Delta t) = x(t) + \Delta t\, \dot x(t+\kappa\Delta t)## ? One way to do that is via a kludge. Rotations in N dimensional space can be represented by an orthogonal NxN matrix. An NxN matrix that is a function of time has a time derivative. Simply differentiate element by element. Now we can use the above to advance the matrix in time. There's a problem here: The result is an NxN matrix, but it is not an orthogonal matrix. This is a kludge. It ignores geometry and it ignores the fact that addition doesn't exist for the orthogonal matrices.

The Lie group integration techniques do not use ## x(t+\Delta t) = x(t) + \Delta t\, \dot x(t+\kappa\Delta t)##. It is not a valid operation, so why use it? They instead use the connection between the Lie group and Lie algebra. This connection is a generalization of the exponential function, the exponential map. The basic idea is that it is easier to work in the Lie algebra space than in the Lie group space, using the exponential map in lieu of that (invalid) addition.
 
Thank you DH, that's a very comprehensive answer that will take me some time to digest. I'll start tomorrow! Many thanks
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 39 ·
2
Replies
39
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K