Next Article in Journal
A Microfluidic Long-Period Fiber Grating Sensor Platform for Chloride Ion Concentration Measurement
Previous Article in Journal
Design and Implementation of an Underwater Sound Recording Device
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Angle Estimation of Simultaneous Orthogonal Rotations from 3D Gyroscope Measurements

Faculty of Electrical Engineering, University of Ljubljana, Ljubljana 1000, Slovenia
*
Author to whom correspondence should be addressed.
Sensors 2011, 11(9), 8536-8549; https://doi.org/10.3390/s110908536
Submission received: 11 August 2011 / Revised: 29 August 2011 / Accepted: 30 August 2011 / Published: 2 September 2011
(This article belongs to the Section Physical Sensors)

Abstract

: A 3D gyroscope provides measurements of angular velocities around its three intrinsic orthogonal axes, enabling angular orientation estimation. Because the measured angular velocities represent simultaneous rotations, it is not appropriate to consider them sequentially. Rotations in general are not commutative, and each possible rotation sequence has a different resulting angular orientation. None of these angular orientations is the correct simultaneous rotation result. However, every angular orientation can be represented by a single rotation. This paper presents an analytic derivation of the axis and angle of the single rotation equivalent to three simultaneous rotations around orthogonal axes when the measured angular velocities or their proportions are approximately constant. Based on the resulting expressions, a vector called the simultaneous orthogonal rotations angle (SORA) is defined, with components equal to the angles of three simultaneous rotations around coordinate system axes. The orientation and magnitude of this vector are equal to the equivalent single rotation axis and angle, respectively. As long as the orientation of the actual rotation axis is constant, given the SORA, the angular orientation of a rigid body can be calculated in a single step, thus making it possible to avoid computing the iterative infinitesimal rotation approximation. The performed test measurements confirm the validity of the SORA concept. SORA is simple and well-suited for use in the real-time calculation of angular orientation based on angular velocity measurements derived using a gyroscope. Moreover, because of its demonstrated simplicity, SORA can also be used in general angular orientation notation.

1. Introduction

Gyroscopes provide angular velocity measurements with respect to inertial space. With recent developments in gyroscope technology, their usage in various fields is observably increasing. For example, highly accurate fibre optic gyroscopes [1] are used in different aerospace and missile navigation applications. These gyroscopes use the interference of light to measure angular velocity. Microelectromechanical system (MEMS) gyroscopes [2,3] use vibrating mechanical elements to sense rotation and have no rotating parts. The operating principle governing the use of MEMS gyroscopes is the Coriolis effect. MEMS sensors have several advantages: their small size, light weight, low power consumption, low costs, and ease of design and use. Such gyroscopes can be used, for example, in automobiles (for ride stabilisation and rollover detection [4]), robotics (in state estimation for legged robots [5]), biomedical applications (for motion capture and motion pattern classification and characterisation; e.g., [610]), and virtual and augmented reality applications (e.g., [11,12]). Owing to their low battery consumption and small size, MEMS sensors are a promising tool for outdoor measurements and ambulatory monitoring [6]. Because of their low cost, they are suitable for a wide range of commercial applications [2].

In combination with accelerometers, gyroscopes are used in position, velocity, and attitude computation in a variety of navigation and motion tracking applications for aircraft, land and underwater vehicles, and robots (e.g., [1317]) and in human motion tracking (e.g., [6,18]).

By providing angular velocity measurements, gyroscopes can also be used in angular orientation estimation. In general, angular orientation is the position of a rigid body intrinsic coordinate system relative to a reference coordinate system with the same origin. It can be indicated with a rotation needed to move the first system, initially aligned with the second, to its new position. The reference and intrinsic coordinate systems are considered Cartesian, with axes denoted with xr, yr, zr and x, y, z, respectively, as illustrated in Figure 1. The orientation of the coordinate system axes conforms to the right-hand rule.

In gyroscope measurement, the gyroscope is considered the rigid body and inertial space the reference system; the measured angular velocities indicate the rotation needed to move the sensor to its new position. To fully specify angular orientation in inertial space, the gyroscope must be suitable for measuring angular velocities around all three intrinsic coordinate system axes (i.e., it must be a 3D gyroscope). For the coordinate systems described and illustrated in Figure 1, 3D gyroscope angular velocity outputs will represent simultaneous rotations around axes of sensitivity x, y and z.

Because rotations in general are not commutative, one cannot treat the three simultaneous angular velocities measured with a 3D gyroscope as sequential rotations. There are six possible sequences of three orthogonal rotations and, thus, six different angular orientations. None of them are correct. Infinitesimally small rotations have been shown to be commutative [19]. Thus, when the angles of the three simultaneous rotations are small, the difference between the six abovementioned angular orientations became negligible because the rotations become nearly commutative.

Therefore, the effect of the three simultaneous rotations can be approximated by a sequence of sufficiently small sequential rotations around orthogonal axes. Which of the six possible sequences is used for individual rotations is of no importance. The smaller the angles of the individual rotations, the smaller the estimated angular orientation error. However, more processing power and time are required.

The three simultaneous orthogonal rotations measured with a 3D gyroscope represent a single rotation around a certain axis for a certain angle φ. This rotation and the resulting (spatial) angular orientation can be uniquely represented using a rotation vector, i.e., the vector aligned with the rotation axis and with the length equal to the rotation angle φ. In this paper, we show that when the measured angular velocities or their proportions are constant, the components of this vector are the angles of the three simultaneous orthogonal rotations. For this reason, we call this vector the simultaneous orthogonal rotations angle (SORA). We first introduced SORA in [20]; there, however, we only presented numerical verification that SORA was the rotation vector of the equivalent single rotation. In this paper, these results are derived. This derivation is achieved using infinitesimally small rotations.

Based on SORA, the angular orientation of a rigid body can be calculated from the measured angular velocities when they or their proportions are approximately constant. This process requires just one step and thus avoids computing the infinitesimal rotation approximation.

SORA indicates a unique angular orientation of an object of interest in inertial space. Because of its simplicity, not only is it suitable for the real-time calculation of angular orientation based on angular velocity measurements obtained using a gyroscope, but it is also useful for general angular orientation notation.

This paper is organised as follows. In Section 2, we present the derivation of the axis and angle of the single rotation equivalent to the three simultaneous rotations around orthogonal axes. On this basis, we define SORA and emphasise its applicability. For clarity of presentation, all longer derivations are presented in the appendix. In Section 3, we describe the test measurements performed to validate the SORA concept and examine the accuracy of the angular orientation estimates obtained using SORA. In Section 4, we draw our conclusions.

2. Simultaneous Orthogonal Rotations Angle

Let us consider a 3D gyroscope providing measurements of angular velocities ωx, ωy and ωz around its three intrinsic orthogonal axes, x, y and z, respectively. Suppose now that all three angular velocities are constant during some time interval T, and that the axes of the gyroscope intrinsic coordinate system are aligned with the axes of the reference coordinate system at the beginning of this interval.

Any angular orientation can be represented using a single rotation around a certain axis that rotates the object from its initial position to its new position. For this reason, the angular orientation of the gyroscope at the end of interval T can be represented using a rotation matrix R(φ, v), where φ is the rotation angle in the positive direction around the rotation axis defined by the unit vector v. For the definition of a rotation matrix, see, for example [21].

If we observe the rotating gyroscope in the reference coordinate system, we will see that the orientations of the rotation axes constantly change, which makes further analysis more difficult. Thus, it is much more convenient to examine the rotation of the reference frame in the gyroscope intrinsic coordinate system. In this case, the orientations of the rotation axes do not change. The reference frame rotates around them with the same angular velocities in the opposite direction, i.e., −ωx, −ωy, and −ωz. Because both coordinate systems are initially aligned, the rotation axis of the equivalent rotation is the same regardless of which coordinate system we are observing. However, the rotation angle of the equivalent rotation is now equal to −φ.

We have shown that simultaneous rotations of the reference coordinate system with angular velocities −ωx, −ωy, and −ωz are equivalent to a rotation of angle −φ around vector v. It is thus obvious that simultaneous rotations of the reference coordinate system with angular velocities ωx, ωy, and ωz are equivalent to a rotation of angle φ around vector v and that they can be described using the same rotation matrix R(φ, v) as the rotation of the gyroscope in the reference coordinate system. In the following paragraphs, we will determine φ and v which is our aim because φ and v uniquely define the angular orientation of the sensor at the end of the observation interval T.

Suppose now that the reference coordinate system is rotating simultaneously around sensor intrinsic axes x, y, and z with angular velocities ωx, ωy, and ωz. During this interval, the reference frame turns for angles

φ x = ω x T ; φ y = ω y T ; φ z = ω z T

Due to rotation non-commutativity, R(φ, v) cannot be obtained by considering these three simultaneous rotations sequentially. Therefore, we must decompose the total rotation into a sequence of n small rotations of duration T/n. During each small rotation, the reference coordinate system simultaneously turns around the gyroscope intrinsic axes x, y, and z for angles φx/n, φy/n, and φz/n, respectively. Because all of these small rotations are equal, the axis and angle of their equivalent single rotation are the same. Furthermore, because angular velocities ωx, ωy, and ωz now refer to the reference frame rotations and because the orientations of the rotation axes do not change, the axis of this equivalent rotation again coincides with vector v. During T/n, the reference frame rotates around this axis for angle φ/n, so we denote the corresponding rotation matrix as R(φ/n, v). It then holds that:

R ( φ , v ) = R n ( φ / n , v )

If n is sufficiently large, such that rotations become nearly commutative, R(φ/n, v) can be approximated based on simultaneous rotations for angles φx/n, φy/n, and φz/n, sequentially and in any preferred order. Thus, we can write:

R ( Δ φ app ( n ) , v app ( n ) ) = R ( φ x / n , u x ) R ( φ y / n , u y ) R ( φ z / n , u z )
where vapp(n) and Δφapp(n) denote approximations of v and φ/n, respectively, and ux, uy, and uz are the base vectors of the gyroscope intrinsic coordinate system.

Let us now increase n beyond all limits so that small rotations become infinitesimally small and thus commutative [19]. The above approximations vapp(n) and Δφapp(n) then approach exact values of v and φ/n. It holds that:

v = lim n ( v app ( n ) ) = 1 φ x 2 + φ y 2 + φ z 2 [ φ x φ y φ z ]
and
φ = lim n ( n Δ φ app ( n ) ) = φ x 2 + φ y 2 + φ z 2
For the derivation of the above results, see Appendix A.

This step completes the equivalent rotation axis and angle derivation. From Equations (4) and (5), we can obtain the rotation vector Φ, i.e., the vector aligned with the rotation axis with a length that is equal to the rotation angle:

Φ = φ v = [ φ x φ y φ z ]

Because we derived this vector from simultaneous rotations around orthogonal axes, we named it the simultaneous orthogonal rotations angle (SORA). The components of SORA are the angles of three simultaneous rotations around coordinate system axes. The orientation and magnitude of this vector are equal to the equivalent single rotation axis and angle, respectively. As long as our initial condition that angular velocities must be constant is met, SORA will represent the resulting angular orientation of three simultaneous rotations around orthogonal axes.

In fact, the previously stated holds as long as the orientation of the rotation axis is constant. This is true even if the measured angular velocities change, as long as their proportions are the same. Then, in each of the n small rotation steps, we can choose such a T/n, that all three rotation angles φx/n, φy/n, and φz/n stay the same. However, if the measured angular velocities do not change proportionally, the orientation of the rotation axis also changes.

SORA indicates a unique angular orientation of an object of interest relative to some reference frame. Because of its simplicity, it is both suitable for the real-time calculation of angular orientation based on angular velocity measurements obtained using a gyroscope and useful for general angular orientation notation.

Using gyroscope measurements that provide rotation angle estimation, it is also reasonable to combine angular velocities around three orthogonal axes in vector form:

Ω = Φ T = [ ω x ω y ω z ]

Such notation is appropriate for a 3D gyroscope sensor because the components of the angular velocity vector Ω in Equation (7) are its outputs. When the measured angular velocities or their proportions are approximately constant, the orientation of the rotation axis is also constant. Then, the axis of the equivalent single rotation is equal to the axis of actual gyroscope rotation. For this reason, Ω is equal to gyroscope angular velocity represented in vector form. It is orthogonal to the rotation plane, and its magnitude is equal to the angular velocity in that plane.

3. Test Measurements

To confirm the validity of the SORA concept, we performed test measurements using a stable rotation speed gramophone and a 3D gyroscope and accelerometer sensor mounted on the gramophone rotation disk. The test measurement scheme and the intrinsic x y z and reference xr yr zr coordinate systems are illustrated in Figure 2.

We used a Sanyo turntable gramophone and set the turntable rotation speed to 45 r.p.m. The 3D sensor was comprised of one dual-axis ST LPR530AL gyroscope, one single-axis ST LPY530AL gyroscope and one three-axis ST LIS331HH linear accelerometer. The sensor was constructed in such a way that its sensitive axes were mutually orthogonal. Both of the MEMS gyroscopes use a sensing principle based on the measurement of the Coriolis forces. The gyroscopes convert angular velocity information into an analogue DC voltage at its output. The MEMS accelerometer output corresponding to each axis was an analogue voltage proportional to the projection of the total acceleration of the sensor along its direction. The analogue output of both gyroscopes and the accelerometer was sent to an analogue-to-digital converter. A wireless module was used to capture sensor digital outputs, which were stored on a laptop. The sampling rate was 1,024 Hz. The gyroscope and accelerometer outputs were obtained in units of [°/s] and [mg], respectively. According to the device specifications, the maximum measurable angular velocity is ±300°/s, whereas the accelerometer measurement range is ±6/±12/±24 g. Zero-level measurements were performed when there were no angular velocities or external forces present. Mean values obtained were subtracted from all further measurements.

We also performed sensor calibration. The following procedure was repeated for each sensor intrinsic axis. The sensor was oriented so that its sensitive axis was aligned with the gravity force. The ratio between the known gravity constant and the mean measurement output value when the sensor was at rest was used as the accelerometer scaling factor. To obtain the gyroscope scaling factor, the sensor was rotated at the centre of the gramophone rotation disk around that axis. The ratio between the known gramophone rotation disk speed and the mean measurement output value was used as the gyroscope scaling factor.

3.1. Test Measurement Results

To validate the SORA concept, we performed rotation measurements for several arbitrary orientations of the sensor relative to the rotating disk at the disk centre. One such measurement output set is presented in Figure 3.

Gyroscope measurement outputs ωx, ωy, and ωz obtained during constant velocity rotation periods were used for SORA calculations according to Equation (6). During Trot = 1 s, we obtained Nrot = 1,024 samples, which we averaged:

Φ = [ φ x φ y φ z ] = [ ω x ¯ ω y ¯ ω z ¯ ] T rot = T rot N rot i = 1 N rot [ ω x ω y ω z ]

Based on Equation (8), we calculated the equivalent rotation axis and angle of Trot = 1 s rotation following Equations (4) and (5), respectively. We obtained the following results:

v = [ 0.3233 0.7145 0.6205 ]
and:
φ = 270 ° 2 8 8

We then matched the results obtained to the actual sensor rotation axis and angle. For specific sensor orientation during the rest period, we used gravity projections on sensor intrinsic axes that were determined based on accelerometer measurement outputs αx, αy, and αz to determine the actual gramophone rotation axis orientation as expressed in the sensor intrinsic coordinate system. During Trest = 1 s, we obtained Nrest = 1,024 samples, which we averaged:

v act = a ¯ a ¯ ; a ¯ = [ a x ¯ a y ¯ a z ¯ ] = 1 N rest i = 1 N rest [ a x ¯ a y ¯ a z ¯ ]

The actual rotation angle was obtained based on the gramophone rotation disk angular velocity of 45 r.p.m.:

φ act = ω act T rot ; ω act = 4.7124 s 1

Using Equations (11) and (12), we obtained the following results:

v act = [ 0.3627 0.7112 0.6022 ]
and
φ act = 270 °

The relative norm error of the rotation axis of Equation (9) is:

err v = v v act v act = [ 0.0394 0.0033 0.0183 ] = 0.0436
while the relative rotation angle Equation (10) error is:
err φ = φ φ act φ act = 0.0018

We performed 10 measurement instances. According to the Kolmogorov-Smirnov test at significance level α = 0.05, the null-hypothesis that random errors Errv and Errφ are normal, could not be rejected. For both errors we obtained the following statistics:

mean ( Err v ) = 0.0753 std ( Err v ) = 0.0422 mean ( Err φ ) = 0.0056 std ( Err φ ) = 0.0117

4. Conclusions

The concept of a vector simultaneous orthogonal rotations angle (SORA), as presented in this paper, is well suited for calculating angular orientation based on 3D gyroscope measurement outputs that are approximately constant or in constant proportion. When this condition is met, the orientation of the rotation axis does not change and the components of SORA are equal to the angles of three simultaneous rotations measured with a gyroscope. The three simultaneous rotations resulting from angular orientation can be represented with one single rotation. A derivation of this equivalent single rotation axis and angle is provided here. The axis of the equivalent single rotation is aligned with SORA, whereas the rotation angle is equal to its magnitude. Therefore, SORA is actually a rotation vector.

According to the newly proposed vector SORA, as long as angular velocities or their proportions are approximately constant, angular orientation calculation only requires a single step. This fact makes it possible to avoid computing the iterative infinitesimal rotation approximation. Test measurements performed show that SORA is suitable for angular orientation estimation when average values of approximately constant angular velocities are considered.

SORA is appropriate for use for a number of applications that require angular orientation information, including navigation and motion tracking. As has been confirmed using test measurements, SORA is simple and suitable for the real-time calculation of angular orientation based on gyroscope angular velocity measurements.

Not only is SORA well suited for representing angular orientation based on actual gyroscope measurements, but it can also be used in generalised angular orientation notation. In representing angular orientation with simultaneous rotations, we can avoid the problem of rotation non-commutativity. The three simultaneous rotation angles, as included in SORA, represent a unique angular orientation, while considering only right-hand rotations around three orthogonal axes yields six different rotation sequences. Each of these rotation sequences specifies a different angular orientation. Because of this, SORA is much more suitable for rotation presentation purpose than widely used Euler angles. Moreover, SORA helps interpret the meaning of the rotation vector with measurable quantities.

Acknowledgments

The research presented in this paper was performed as part of the research program “Algorithms and Optimisation Procedures in Telecommunications”, financed by the Slovenian Research Agency.

References

  1. Noureldin, A; Irvine-Halliday, D; Mintchev, MP. Accuracy limitations of FOG-based continuous measurement-while-drilling surveying instruments for horizontal wells. IEEE Trans. Instrum. Meas 2002, 51, 1177–1191. [Google Scholar]
  2. Yazdi, N; Ayazi, F; Najafi, K. Micromachined inertial sensors. Proc. IEEE 1998, 86, 1640–1659. [Google Scholar]
  3. Liu, H; Gao, S; Liang, X; Jin, L. Performance Analysis and Measurement of Micro-Machined Gyroscope. Proceedings of the 9th International Conference on Electronic Measurement & Instruments ICEMI ’09, Beijing, China, 16–19 August 2009; pp. 1–30.
  4. Sparks, DR; Zarabadi, SR; Johnson, JD; Jiang, Q; Chia, M; Larsen, O; Higdon, W; Castillo-Borelley, P. A CMOS Integrated Surface Micromachined Angular Rate Sensor: Its Automotive Applications. Proceedings of the 1997 International Conference on Solid State Sensors and Actuators TRANSDUCERS ’97, Chicago, IL, USA, 16–19 July 1997; pp. 851–854.
  5. Lin, PC; Komsuoglu, H; Koditschek, DE. Sensor data fusion for body state estimation in a hexapod robot with dynamical gaits. IEEE Trans. Robot 2006, 22, 932–943. [Google Scholar]
  6. Aminian, K; Najafi, B. Capturing human motion using body-fixed sensors: Outdoor measurement and clinical application. Comp. Anim. Virtual Worlds 2004, 15, 4–5. [Google Scholar]
  7. Heinz, EA; Kunze, KS; Gruber, M; Bannach, D; Lukowicz, P. Using Wearable Sensors for Real-Time Recognition Tasks in Games of Martial Arts—An Initial Experiment. Proceedings of the 2006 IEEE Symposium on Computational Intelligence and Games, Reno, NV, USA, 22–24 May 2006; pp. 98–102.
  8. Tunçel, O; Altun, K; Barshan, B. Classifying human leg motions with uniaxial piezoelectric gyroscopes. Sensors 2009, 9, 8508–8546. [Google Scholar]
  9. Ayrulu-Erdem, B; Barshan, B. Leg motion classification with artificial neural networks using wavelet-based features of gyroscope signals. Sensors 2011, 11, 1721–1743. [Google Scholar]
  10. McIlwraith, D; Pansiot, J; Yang, GZ. Wearable and Ambient Sensor Fusion for the Characterisation of Human Motion. Proceedings of the 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Taipei, Taiwan, 18–22 October 2010; pp. 5505–5510.
  11. Hoffman, M; Varcholik, P; LaViola, JJ. Breaking the status quo: Improving 3D Gesture Recognition with Spatially Convenient Input Devices. Proceedings of the 2010 IEEE Virtual Reality Conference (VR), Waltham, MA, USA, 20–24 March 2010; pp. 59–66.
  12. Schall, G; Wagner, D; Reitmayr, G; Taichmann, E; Wieser, M; Schmalstieg, D; Hofmann-Wellenhof, B. Global Pose Estimation Using Multi-Sensor Fusion for Outdoor Augmented Reality. Proceedings of the 8th IEEE International Symposium on Mixed and Augmented Reality ISMAR 2009, Orlando, FL, USA, 19–22 October 2009; pp. 153–162.
  13. Koifman, M; Bar-Itzhack, IY. Inertial navigation system aided by aircraft dynamics. IEEE Trans. Control Syst. Technol 1999, 7, 487–493. [Google Scholar]
  14. Wang, JH; Gao, Y. Land vehicle dynamics-aided inertial navigation. IEEE Trans. Aerosp. Electron. Syst 2010, 46, 1638–1653. [Google Scholar]
  15. Zhao, L; Yan, L; Cheng, J; Wang, X. The Research of Inertial Navigation System Based on Submarine Space Motion. Proceedings of the 2008 Pacific-Asia Workshop on Computational Intelligence and Industrial Application PACIIA ’08, Wuhan, China, 19–20 December 2008; pp. 751–755.
  16. Grenon, G; An, PE; Smith, SM; Healey, AJ. Enhancement of the inertial navigation system for the Morpheus autonomous underwater vehicles. IEEE J. Ocean. Eng 2001, 26, 548–560. [Google Scholar]
  17. Barshan, B; Durrant-Whyte, HF. An Inertial Navigation System for a Mobile Robot. Proceedings of the 1993 IEEE/RSJ International Conference on Intelligent Robots and Systems IROS ’93, Yokohama, Japan, 26–30 July 1993; pp. 2243–2248.
  18. Park, SK; Suh, YS. A zero velocity detection algorithm using inertial sensors for pedestrian navigation systems. Sensors 2010, 10, 9163–9178. [Google Scholar]
  19. Beatty, MF, Jr. Principles of Engineering Mechanics; Plenum Press: New York, NY, USA, 1986; Volume 1. [Google Scholar]
  20. Tomažič, S; Stančin, S. Simultaneous orthogonal rotation angle. Electrotech. Rev 2011, 78, 7–11. [Google Scholar]
  21. Kuipers, JB. Quaternions and Rotation Sequences; Princeton University Press: Princeton, NJ, USA, 1999. [Google Scholar]
  22. Mathematica Edition: Version 70; Wolfram Research, Inc: Champaign, IL, USA, 2008.

Appendix

Derivation of Equivalent Single Rotation Axis and Angle

Let us consider simultaneous rotations around three orthogonal axes x, y, and z for angles φx, φy, and φz, and let us represent their composite using a rotation matrix R(φ, v), where φ is the rotation angle in the positive direction around the rotation axis defined by the unit vector v. Due to rotation non-commutativity, R(φ, v) cannot be obtained by considering these three simultaneous rotations sequentially. Therefore, we decompose the total rotation into a sequence of n small rotations in which each such small rotation includes rotations for angles φx/n, φy/n, and φz/n. Because all of these small rotations are equal, the axis and angle of their equivalent single rotation are the same. It then holds that:

R ( φ , v ) = R n ( φ / n , v )

If n is sufficiently large that the rotations become nearly commutative, R(φ, v) can be approximated using simultaneous rotations for angles φx/n, φy/n, and φz/n, sequentially and in any preferred order. Thus, we can write:

R ( φ , v ) = R n ( Δ φ app ( n ) , v app ( n ) )
R ( Δ φ app ( n ) , v app ( n ) ) = R ( φ x / n , u x ) R ( φ y / n , u y ) R ( φ z / n , u z )
where vapp(n) and Δφapp(n) denote approximations of v and φ/n, respectively; ux, uy, and uz denote the x y z coordinate system base vector; and R(φx/n, ux), R(φy/n, uy), R(φz/n, uz), represent rotation matrices:
R ( φ x / n , u x ) = [ 1 0 0 0 cos ( φ x / n ) sin ( φ x / n ) 0 sin ( φ x / n ) cos ( φ x / n ) ]
R ( φ y / n , u y ) = [ cos ( φ y / n ) 0 sin ( φ y / n ) 0 1 0 sin ( φ y / n ) 0 cos ( φ y / n ) ]
R ( φ z / n , u z ) = [ cos ( φ z / n ) sin ( φ z / n ) 0 sin ( φ z / n ) cos ( φ z / n ) 0 0 0 1 ]
Inserting Equations (A.4)(A.6) into Equation (A.4) yields
R ( Δ φ app ( n ) , v app ( n ) ) = R ( φ x / n , u x ) R ( φ y / n , u y ) R ( φ z / n , u z ) = [ c ( φ y n ) c ( φ z n ) c ( φ y n ) s ( φ z n ) s ( φ y n ) s ( φ x n ) s ( φ y n ) c ( φ z n ) + c ( φ x n ) s ( φ z n ) c ( φ x n ) c ( φ z n ) s ( φ x n ) s ( φ y n ) s ( φ z n ) s ( φ x n ) c ( φ y n ) c ( φ x n ) s ( φ y n ) c ( φ z n ) + s ( φ x n ) s ( φ z n ) s ( φ x n ) c ( φ z n ) + c ( φ x n ) s ( φ y n ) s ( φ z n ) c ( φ x n ) c ( φ y n ) ]
where c and s represent the cosine and sine trigonometric functions according to:
c ( α ) = cos ( α ) s ( α ) = sin ( α )

Rotating a vector vapp(n) coinciding with the rotation axis results in vapp(n) itself. Thus, we can write:

R ( Δ φ app ( n ) , v app ( n ) ) v app ( n ) = v app ( n )

Based on Equation (A.9), it is obvious that vector vapp(n) is the rotation matrix Rφapp(n), vapp(n)) eigenvector for the eigenvalue λ = 1 (every rotation matrix has such an eigenvalue [19]):

( R ( Δ φ app ( n ) , v app ( n ) ) I ) v app ( n ) = 0

To obtain the rotation angle Δφapp(n) from Rφapp(n), vapp(n)), let us choose an arbitrary vector p orthogonal to v and perform an Rφapp(n), vapp(n)) rotation of this vector:

q = R ( Δ φ app ( n ) , v app ( n ) ) p
where q is the newly obtained vector as illustrated in Figure A.1. Because p and q are both orthogonal to the rotation axis, the angle between them is equal to the rotation angle φ/n. If these vectors are normalised, we can write:
cos ( Δ φ app ( n ) ) = p q
p = 1 q = 1

Figure A.1. Rotation angle determination.
Figure A.1. Rotation angle determination.
Sensors 11 08536f4 1024

Increasing n beyond all limits, we find that the small rotations become infinitesimally small and thus commutative [20]. The approximations of vapp(n) and φapp(n) then approach the exact values for v and φ/n:

v = lim n ( v app ( n ) )
φ = lim n ( n Δ φ app ( n ) )

Given Equation (A.10) and Equation (A.14), we can then write:

( lim n ( R ( Δ φ app ( n ) , v app ( n ) ) ) I ) v = 0

Inserting Equation (A.7) into the above eigenvector system of equations and solving it for a normalised vector v using Mathematica [22] yields:

v = 1 φ x 2 + φ y 2 + φ z 2 [ φ x φ y φ z ]

From Equation (A.12) and Equation (A.15), it follows that:

φ = lim n ( n cos 1 ( p q ) )

Using the l’Hospital rule for limits, the above equation can be expressed as:

φ = lim n ( d d n ( cos 1 ( p q ) ) d dn ( 1 n ) ) = lim n ( 1 1 ( p q ) 2 d dn ( p q ) 1 n 2 )

A vector orthogonal to vapp(n) is also orthogonal to v in limit Equation (A.14). We can then set:

p = v [ 1 0 0 ] ; p = p p
where v is defined according to Equation (A.17). It should be noted that we are considering general simultaneous rotations around all three coordinate system axes. Where φy = 0 and φz = 0, the above equation must be suitably changed to obtain the required vector orthogonality, for example:
p = v [ 0 1 0 ]

Inserting normalised vectors p and q given with Equations (A.20), (A.17), and (A.11) into Equation (A.19) yields the following expression:

φ = lim n A + B + C + D + E F 2 ( G + H I ) 2
where:
A = cos φ x n ( φ y 3 sin φ y n + φ y φ z cos φ z n ( φ x + φ z sin φ y n ) ) B = φ z 2 cos φ x n sin φ z n ( φ z + φ z sin φ y n ) C = φ y φ z cos φ x n cos φ y n ( φ x + φ y sin φ z n ) D = φ y sin φ x n cos φ y n ( φ x φ y + φ z 2 sin φ z n ) E = φ z sin φ x n ( φ y 2 sin φ y n + φ z cos φ z n ( φ x + φ z sin φ y n ) φ y sin φ z n ( φ z + φ x sin φ y n ) ) F = φ y 2 + φ z 2 G = φ z cos φ z n ( φ z cos φ x n φ y sin φ x n ) H = φ y cos φ y n ( φ y cos φ x n + φ z sin φ x n ) I = φ z sin φ y n sin φ z n ( φ y cos φ x n + φ z sin φ x n )

Using Mathematica [22], we obtain the following result:

φ = φ x 2 + φ y 2 + φ z 2

Figure 1. Reference and 3D gyroscope intrinsic coordinate systems, denoted by xr, yr, zr and x, y, z, respectively.
Figure 1. Reference and 3D gyroscope intrinsic coordinate systems, denoted by xr, yr, zr and x, y, z, respectively.
Sensors 11 08536f1 1024
Figure 2. Vector SORA proof-of-concept measurement scheme. The reference coordinate system axes xr yr, and zr are initially aligned with the intrinsic axes x y and z.
Figure 2. Vector SORA proof-of-concept measurement scheme. The reference coordinate system axes xr yr, and zr are initially aligned with the intrinsic axes x y and z.
Sensors 11 08536f2 1024
Figure 3. Sensor angular velocity and acceleration outputs during rotation around an arbitrary axis.
Figure 3. Sensor angular velocity and acceleration outputs during rotation around an arbitrary axis.
Sensors 11 08536f3 1024

Share and Cite

MDPI and ACS Style

Stančin, S.; Tomažič, S. Angle Estimation of Simultaneous Orthogonal Rotations from 3D Gyroscope Measurements. Sensors 2011, 11, 8536-8549. https://doi.org/10.3390/s110908536

AMA Style

Stančin S, Tomažič S. Angle Estimation of Simultaneous Orthogonal Rotations from 3D Gyroscope Measurements. Sensors. 2011; 11(9):8536-8549. https://doi.org/10.3390/s110908536

Chicago/Turabian Style

Stančin, Sara, and Sašo Tomažič. 2011. "Angle Estimation of Simultaneous Orthogonal Rotations from 3D Gyroscope Measurements" Sensors 11, no. 9: 8536-8549. https://doi.org/10.3390/s110908536

Article Metrics

Back to TopTop