Gyroscope Measurement and Angular Rates

In summary: If you are not a mathematician or engineer, you may want to look for more accessible introductions to Lie group integration.In summary, a three-axis gyro gives angular velocity with respect to inertial but expressed in case frame coordinates.integrating angular velocity to find position or differentiation to find acceleration is tricky.
  • #1
MHR-Love
17
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
  • #2
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.
 
  • #3
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.
 
  • #4
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.
 
  • #5
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
 
  • #6
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).
 
  • #7
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.
 
  • #8
Thank you DH, that's a very comprehensive answer that will take me some time to digest. I'll start tomorrow! Many thanks
 

What is a gyroscope and how does it measure angular rates?

A gyroscope is a device that measures angular rates, which are the rates of rotation around a particular axis. It typically consists of a spinning wheel or disk that is mounted on a set of gimbals, allowing it to freely rotate in all directions. As the gyroscope rotates, it maintains its orientation in space, allowing it to measure the angular rates of the object it is attached to.

How does a gyroscope differ from an accelerometer?

A gyroscope measures angular rates, while an accelerometer measures linear acceleration. Angular rates refer to the rotation of an object, while linear acceleration refers to the change in speed or direction of an object's motion. Additionally, gyroscope measurements are more accurate for measuring rotation, while accelerometers are better suited for measuring linear motion.

What factors can affect the accuracy of gyroscope measurements?

Several factors can affect the accuracy of gyroscope measurements, such as external forces, temperature changes, and mechanical imperfections. External forces, such as vibrations or sudden movements, can cause the gyroscope to deviate from its intended rotation and produce inaccurate measurements. Temperature changes can also affect the performance of the gyroscope, as it relies on precise movements of its internal components. Mechanical imperfections, such as imbalanced or misaligned components, can also cause inaccuracies in gyroscope measurements.

How are gyroscope measurements used in everyday life?

Gyroscope measurements are used in a variety of everyday devices, such as smartphones, drones, and video game controllers. In smartphones, gyroscopes are used to detect the device's orientation and adjust the screen accordingly. In drones, gyroscopes help stabilize the device and maintain its position in the air. In video game controllers, gyroscopes can be used for motion control, allowing players to interact with the game by moving the controller in different directions.

Can gyroscope measurements be used for navigation?

Yes, gyroscope measurements can be combined with other sensors, such as accelerometers and magnetometers, to provide accurate navigation information. This is known as an inertial navigation system, which uses the gyroscope's measurements of rotation and the accelerometers' measurements of linear acceleration to track an object's movement in 3D space. However, inertial navigation systems can experience drift over time, so they are often used in conjunction with other navigation systems, such as GPS, for more accurate results.

Similar threads

  • Introductory Physics Homework Help
Replies
33
Views
961
  • Introductory Physics Homework Help
Replies
7
Views
812
  • General Engineering
Replies
1
Views
3K
  • Mechanics
Replies
10
Views
1K
Replies
1
Views
541
  • Special and General Relativity
2
Replies
39
Views
2K
Replies
2
Views
776
Replies
4
Views
2K
Replies
8
Views
2K
  • Special and General Relativity
Replies
20
Views
2K
Back
Top