# Gyrocompass

Cutaway of an Anschütz gyrocompass
A gyrocompass repeater

A gyrocompass is a type of non-magnetic compass which is based on a fast-spinning disc and the rotation of the Earth (or another planetary body if used elsewhere in the universe) to find geographical direction automatically. The use of a gyrocompass is one of the seven fundamental ways to determine the heading of a vehicle.[1] Although one important component of a gyrocompass is a gyroscope, these are not the same devices; a gyrocompass is built to use the effect of gyroscopic precession, which is a distinctive aspect of the general gyroscopic effect.[2][3] Gyrocompasses are widely used for navigation on ships, because they have two significant advantages over magnetic compasses:[3]

Aircraft commonly use gyroscopic instruments (but not a gyrocompass) for navigation and attitude monitoring; for details, see Flight instruments and Gyroscopic autopilot.

## Operation

A gyroscope, not to be confused with gyrocompass, is a spinning wheel mounted on a set of gimbals so that its axis is free to orient itself in any way.[3] When it is spun up to speed with its axis pointing in some direction, due to the law of conservation of angular momentum, such a wheel will normally maintain its original orientation to a fixed point in outer space (not to a fixed point on Earth). Since our planet rotates, it appears to a stationary observer on Earth that a gyroscope's axis is completing a full rotation once every 24 hours.[note 1] Such a rotating gyroscope is used for navigation in some cases, for example on aircraft, where it is known as heading indicator or directional gyro, but cannot ordinarily be used for long-term marine navigation. The crucial additional ingredient needed to turn a gyroscope into a gyrocompass, so it would automatically position to true north,[2][3] is some mechanism that results in an application of torque whenever the compass's axis is not pointing north.

One method uses friction to apply the needed torque:[4] the gyroscope in a gyrocompass is not completely free to reorient itself; if for instance a device connected to the axis is immersed in a viscous fluid, then that fluid will resist reorientation of the axis. This friction force caused by the fluid results in a torque acting on the axis, causing the axis to turn in a direction orthogonal to the torque (that is, to precess) along a line of longitude. Once the axis points toward the celestial pole, it will appear to be stationary and won't experience any more frictional forces. This is because true north (or true south) is the only direction for which the gyroscope can remain on the surface of the earth and not be required to change. This axis orientation is considered to be a point of minimum potential energy.

Another, more practical, method is to use weights to force the axis of the compass to remain horizontal (perpendicular to the direction of the center of the Earth), but otherwise allow it to rotate freely within the horizontal plane.[2][3] In this case, gravity will apply a torque forcing the compass's axis toward true north. Because the weights will confine the compass's axis to be horizontal with respect to the Earth's surface, the axis can never align with the Earth's axis (except on the Equator) and must realign itself as the Earth rotates. But with respect to the Earth's surface, the compass will appear to be stationary and pointing along the Earth's surface toward the true North Pole.

Since the gyrocompass's north-seeking function depends on the rotation around the axis of the Earth that causes torque-induced gyroscopic precession, it will not orient itself correctly to true north if it is moved very fast in an east to west direction, thus negating the Earth's rotation. However, aircraft commonly use heading indicators or directional gyros, which are not gyrocompasses and do not align themselves to north via precession, but are periodically aligned manually to magnetic north.[5][6]

## Mathematical model

We consider a gyrocompass as a gyroscope which is free to rotate about one of its symmetry axes, also the whole rotating gyroscope is free to rotate on the horizontal plane about the local vertical. Therefore there are two independent local rotations. In addition to these rotations we consider the rotation of the Earth about its north-south (NS) axis, and we model the planet as a perfect sphere. We neglect friction and also the rotation of the Earth about the Sun.

In this case a non-rotating observer located at the center of the Earth can be approximated as being an inertial frame. We establish cartesian coordinates ${\displaystyle (X_{1},Y_{1},Z_{1})}$  for such an observer (whom we name as 1-O), and the barycenter of the gyroscope is located at a distance ${\displaystyle R}$  from the center of the Earth.

### First time-dependent rotation

Consider another (non-inertial) observer (the 2-O) located at the center of the Earth but rotating about the NS-axis by ${\displaystyle \Omega .}$  We establish coordinates attached to this observer as

${\displaystyle {\begin{pmatrix}X_{2}\\Y_{2}\\Z_{2}\end{pmatrix}}={\begin{pmatrix}\cos \Omega t&\sin \Omega t&0\\-\sin \Omega t&\cos \Omega t&0\\0&0&1\end{pmatrix}}{\begin{pmatrix}X_{1}\\Y_{1}\\Z_{1}\end{pmatrix}}}$

so that the unit ${\displaystyle {\hat {X}}_{1}}$  versor ${\displaystyle (X_{1}=1,Y_{1}=0,Z_{1}=0)^{T}}$  is mapped to the point ${\displaystyle (X_{2}=\cos \Omega t,Y_{2}=-\sin \Omega t,Z_{2}=0)^{T}}$ . For the 2-O neither the Earth nor the barycenter of the gyroscope is moving. The rotation of 2-O relative to 1-O is performed with angular velocity ${\displaystyle {\vec {\Omega }}=(0,0,\Omega )^{T}}$ . We suppose that the ${\displaystyle X_{2}}$  axis denotes points with zero longitude (the prime, or Greenwich, meridian).

### Second and third fixed rotations

We now rotate about the ${\displaystyle \textstyle Z_{2}}$  axis, so that the ${\displaystyle \textstyle X_{3}}$ -axis has the longitude of the barycenter. In this case we have

${\displaystyle {\begin{pmatrix}X_{3}\\Y_{3}\\Z_{3}\end{pmatrix}}={\begin{pmatrix}\cos \Phi &\sin \Phi &0\\-\sin \Phi &\cos \Phi &0\\0&0&1\end{pmatrix}}{\begin{pmatrix}X_{2}\\Y_{2}\\Z_{2}\end{pmatrix}}.}$

With the next rotation (about the axis ${\displaystyle \textstyle Y_{3}}$  of an angle ${\displaystyle \textstyle \delta }$ , the co-latitude) we bring the ${\displaystyle \textstyle Z_{3}}$  axis along the local zenith (${\displaystyle \textstyle Z_{4}}$ -axis) of the barycenter. This can be achieved by the following orthogonal matrix (with unit determinant)

${\displaystyle {\begin{pmatrix}X_{4}\\Y_{4}\\Z_{4}\end{pmatrix}}={\begin{pmatrix}\cos \delta &0&-\sin \delta \\0&1&0\\\sin \delta &0&\cos \delta \end{pmatrix}}{\begin{pmatrix}X_{3}\\Y_{3}\\Z_{3}\end{pmatrix}},}$

so that the ${\displaystyle \textstyle {\hat {Z}}_{3}}$  versor ${\displaystyle \textstyle (X_{3}=0,Y_{3}=0,Z_{3}=1)^{T}}$  is mapped to the point ${\displaystyle \textstyle (X_{4}=-\sin \delta ,Y_{4}=0,Z_{4}=\cos \delta )^{T}.}$

### Constant translation

We now choose another coordinate basis whose origin is located at the barycenter of the gyroscope. This can be performed by the following translation along the zenith axis

${\displaystyle {\begin{pmatrix}X_{5}\\Y_{5}\\Z_{5}\end{pmatrix}}={\begin{pmatrix}X_{4}\\Y_{4}\\Z_{4}\end{pmatrix}}-{\begin{pmatrix}0\\0\\R\end{pmatrix}},}$

so that the origin of the new system, ${\displaystyle (X_{5}=0,Y_{5}=0,Z_{5}=0)^{T}}$  is located at the point ${\displaystyle (X_{4}=0,Y_{4}=0,Z_{4}=R)^{T},}$  and ${\displaystyle R}$  is the radius of the Earth. Now the ${\displaystyle X_{5}}$ -axis points towards the south direction.

### Fourth time-dependent rotation

Now we rotate about the zenith ${\displaystyle Z_{5}}$ -axis so that the new coordinate system is attached to the structure of the gyroscope, so that for an observer at rest in this coordinate system, the gyrocompass is only rotating about its own axis of symmetry. In this case we find

${\displaystyle {\begin{pmatrix}X_{6}\\Y_{6}\\Z_{6}\end{pmatrix}}={\begin{pmatrix}\cos \alpha &\sin \alpha &0\\-\sin \alpha &\cos \alpha &0\\0&0&1\end{pmatrix}}{\begin{pmatrix}X_{5}\\Y_{5}\\Z_{5}\end{pmatrix}}.}$

The axis of symmetry of the gyrocompass is now along the ${\displaystyle X_{6}}$ -axis.

### Last time-dependent rotation

The last rotation is a rotation on the axis of symmetry of the gyroscope as in

${\displaystyle {\begin{pmatrix}X_{7}\\Y_{7}\\Z_{7}\end{pmatrix}}={\begin{pmatrix}1&0&0\\0&\cos \psi &\sin \psi \\0&-\sin \psi &\cos \psi \end{pmatrix}}{\begin{pmatrix}X_{6}\\Y_{6}\\Z_{6}\end{pmatrix}}.}$

### Dynamics of the system

Since the height of the gyroscope's barycenter does not change (and the origin of the coordinate system is located at this same point), its gravitational potential energy is constant. Therefore its Lagrangian ${\displaystyle {\mathcal {L}}}$  corresponds to its kinetic energy ${\displaystyle K}$  only. We have

${\displaystyle {\mathcal {L}}=K={\frac {1}{2}}{\vec {\omega }}^{T}I{\vec {\omega }}+{\frac {1}{2}}M{\vec {v}}_{\rm {CM}}^{2},}$

where ${\displaystyle M}$  is the mass of the gyroscope, and

${\displaystyle {\vec {v}}_{\rm {CM}}^{2}=\Omega ^{2}R^{2}\sin ^{2}\delta ={\rm {constant}}}$

is the squared inertial speed of the origin of the coordinates of the final coordinate system (i.e. the center of mass). This constant term does not affect the dynamics of the gyroscope and it can be neglected. On the other hand, the tensor of inertia is given by

${\displaystyle I={\begin{pmatrix}I_{1}&0&0\\0&I_{2}&0\\0&0&I_{2}\end{pmatrix}}}$

and

{\displaystyle {\begin{aligned}{\vec {\omega }}&={\begin{pmatrix}1&0&0\\0&\cos \psi &\sin \psi \\0&-\sin \psi &\cos \psi \end{pmatrix}}{\begin{pmatrix}{\dot {\psi }}\\0\\0\end{pmatrix}}+{\begin{pmatrix}1&0&0\\0&\cos \psi &\sin \psi \\0&-\sin \psi &\cos \psi \end{pmatrix}}{\begin{pmatrix}\cos \alpha &\sin \alpha &0\\-\sin \alpha &\cos \alpha &0\\0&0&1\end{pmatrix}}{\begin{pmatrix}0\\0\\{\dot {\alpha }}\end{pmatrix}}\\&\qquad +{\begin{pmatrix}1&0&0\\0&\cos \psi &\sin \psi \\0&-\sin \psi &\cos \psi \end{pmatrix}}{\begin{pmatrix}\cos \alpha &\sin \alpha &0\\-\sin \alpha &\cos \alpha &0\\0&0&1\end{pmatrix}}{\begin{pmatrix}\cos \delta &0&-\sin \delta \\0&1&0\\\sin \delta &0&\cos \delta \end{pmatrix}}{\begin{pmatrix}\cos \Phi &\sin \Phi &0\\-\sin \Phi &\cos \Phi &0\\0&0&1\end{pmatrix}}{\begin{pmatrix}\cos \Omega t&\sin \Omega t&0\\-\sin \Omega t&\cos \Omega t&0\\0&0&1\end{pmatrix}}{\begin{pmatrix}0\\0\\\Omega \end{pmatrix}}\\&={\begin{pmatrix}{\dot {\psi }}\\0\\0\\\end{pmatrix}}+{\begin{pmatrix}0\\{\dot {\alpha }}\sin \psi \\{\dot {\alpha }}\cos \psi \end{pmatrix}}+{\begin{pmatrix}-\Omega \sin \delta \cos \alpha \\\Omega (\sin \delta \sin \alpha \cos \psi +\cos \delta \sin \psi )\\\Omega (-\sin \delta \sin \alpha \sin \psi +\cos \delta \cos \psi )\end{pmatrix}}\end{aligned}}}

Therefore we find

{\displaystyle {\begin{aligned}{\mathcal {L}}&={\frac {1}{2}}\left[I_{1}\omega _{1}^{2}+I_{2}\left(\omega _{2}^{2}+\omega _{3}^{2}\right)\right]\\&={\frac {1}{2}}I_{1}\left({\dot {\psi }}-\Omega \sin \delta \cos \alpha \right)^{2}+{\frac {1}{2}}I_{2}\left\{\left[{\dot {\alpha }}\sin \psi +\Omega (\sin \delta \sin \alpha \cos \psi +\cos \delta \sin \psi )\right]^{2}+\left[{\dot {\alpha }}\cos \psi +\Omega (-\sin \delta \sin \alpha \sin \psi +\cos \delta \cos \psi )\right]^{2}\right\}\\&={\frac {1}{2}}I_{1}\left({\dot {\psi }}-\Omega \sin \delta \cos \alpha \right)^{2}+{\frac {1}{2}}I_{2}\left\{{\dot {\alpha }}^{2}+\Omega ^{2}\left(\cos ^{2}\delta +\sin ^{2}\alpha \sin ^{2}\delta \right)+2{\dot {\alpha }}\Omega \cos \delta \right\}\end{aligned}}}

The Lagrangian can be rewritten as

${\displaystyle {\mathcal {L}}={\mathcal {L}}_{1}+{\frac {1}{2}}I_{2}\Omega ^{2}\cos ^{2}\delta +{\frac {d}{dt}}(I_{2}\alpha \Omega \cos \delta ),}$

where

${\displaystyle {\mathcal {L}}_{1}={\frac {1}{2}}I_{1}\left({\dot {\psi }}-\Omega \sin \delta \cos \alpha \right)^{2}+{\frac {1}{2}}I_{2}\left({\dot {\alpha }}^{2}+\Omega ^{2}\sin ^{2}\alpha \sin ^{2}\delta \right)}$

is the part of the Lagrangian responsible for the dynamics of the system. Then, since ${\displaystyle \partial {\mathcal {L}}_{1}/\partial \psi =0}$ , we find

${\displaystyle L_{x}\equiv {\frac {\partial {\mathcal {L}}_{1}}{\partial {\dot {\psi }}}}=I_{1}\left({\dot {\psi }}-\Omega \sin \delta \cos \alpha \right)=\mathrm {constant} .}$

Since the angular momentum ${\displaystyle {\vec {L}}}$  of the gyrocompass is given by ${\displaystyle {\vec {L}}=I{\vec {\omega }},}$  we see that the constant ${\displaystyle L_{x}}$  is the component of the angular momentum about the axis of symmetry. Furthermore, we find the equation of motion for the variable ${\displaystyle \alpha }$  as

${\displaystyle {\frac {d}{dt}}\left({\frac {\partial {\mathcal {L}}_{1}}{\partial {\dot {\alpha }}}}\right)={\frac {\partial {\mathcal {L}}_{1}}{\partial \alpha }},}$

or

{\displaystyle {\begin{aligned}I_{2}{\ddot {\alpha }}&=I_{1}\Omega \left({\dot {\psi }}-\Omega \sin \delta \cos \alpha \right)\sin \delta \sin \alpha +{\frac {1}{2}}I_{2}\Omega ^{2}\sin ^{2}\delta \sin 2\alpha \\&=L_{x}\Omega \sin \delta \sin \alpha +{\frac {1}{2}}I_{2}\Omega ^{2}\sin ^{2}\delta \sin 2\alpha \end{aligned}}}

#### Particular case: the poles

At the poles we find ${\displaystyle \sin \delta =0,}$  and the equations of motion become

{\displaystyle {\begin{aligned}L_{x}&=I_{1}{\dot {\psi }}=\mathrm {constant} \\I_{2}{\ddot {\alpha }}&=0\end{aligned}}}

This simple solution implies that the gyroscope is uniformly rotating with constant angular velocity in both the vertical and symmetrical axis.

#### The general and physically relevant case

Let us suppose now that ${\displaystyle \sin \delta \neq 0}$  and that ${\displaystyle \alpha \approx 0}$ , that is the axis of the gyroscope is approximately along the north-south line, and let us find the parameter space (if it exists) for which the system admits stable small oscillations about this same line. If this situation occurs, the gyroscope will always be approximately aligned along the north-south line, giving direction. In this case we find

{\displaystyle {\begin{aligned}L_{x}&\approx I_{1}\left({\dot {\psi }}-\Omega \sin \delta \right)\\I_{2}{\ddot {\alpha }}&\approx \left(L_{x}\Omega \sin \delta +I_{2}\Omega ^{2}\sin ^{2}\delta \right)\alpha \end{aligned}}}

Consider the case that

${\displaystyle L_{x}<0,}$

and, further, we allow for fast gyro-rotations, that is

${\displaystyle \left|{\dot {\psi }}\right|\gg \Omega .}$

Therefore, for fast spinning rotations, ${\displaystyle L_{x}<0}$  implies ${\displaystyle {\dot {\psi }}<0.}$  In this case, the equations of motion further simplify to

{\displaystyle {\begin{aligned}L_{x}&\approx -I_{1}\left|{\dot {\psi }}\right|\approx \mathrm {constant} \\I_{2}{\ddot {\alpha }}&\approx -I_{1}\left|{\dot {\psi }}\right|\Omega \sin \delta \alpha \end{aligned}}}

Therefore we find small oscillations about the north-south line, as ${\displaystyle \alpha \approx A\sin({\tilde {\omega }}t+B)}$ , where the angular velocity of this harmonic motion of the axis of symmetry of the gyrocompass about the north-south line is given by

${\displaystyle {\tilde {\omega }}={\sqrt {\frac {I_{1}\sin \delta }{I_{2}}}}{\sqrt {\left|{\dot {\psi }}\right|\Omega }},}$

which corresponds to a period for the oscillations given by

${\displaystyle T={\frac {2\pi }{\sqrt {\left|{\dot {\psi }}\right|\Omega }}}{\sqrt {\frac {I_{2}}{I_{1}\sin \delta }}}.}$

Therefore ${\displaystyle {\tilde {\omega }}}$  is proportional to the geometric mean of the Earth and spinning angular velocities. In order to have small oscillations we have required ${\displaystyle {\dot {\psi }}<0}$ , so that the North is located along the right-hand-rule direction of the spinning axis, that is along the negative direction of the ${\displaystyle X_{7}}$ -axis, the axis of symmetry. As a side result, on measuring ${\displaystyle T}$  (and knowing ${\displaystyle {\dot {\psi }}}$ ), one can deduce the local co-latitude ${\displaystyle \delta .}$

## History

The first, not yet practical,[7] form of gyrocompass was patented in 1885 by Marinus Gerardus van den Bos.[7] A usable gyrocompass was invented in 1906 in Germany by Hermann Anschütz-Kaempfe, and after successful tests in 1908 became widely used in the German Imperial Navy.[2][7][8] Anschütz-Kaempfe founded the company Anschütz & Co. in Kiel, to mass produce gyrocompasses; the company is today Raytheon Anschütz GmbH.[9] The gyrocompass was an important invention for nautical navigation because it allowed accurate determination of a vessel’s location at all times regardless of the vessel’s motion, the weather and the amount of steel used in the construction of the ship.[4]

In the United States, Elmer Ambrose Sperry produced a workable gyrocompass system (1908: patent #1,242,065), and founded the Sperry Gyroscope Company. The unit was adopted by the U.S. Navy (1911[3]), and played a major role in World War I. The Navy also began using Sperry's "Metal Mike": the first gyroscope-guided autopilot steering system. In the following decades, these and other Sperry devices were adopted by steamships such as the RMS Queen Mary, airplanes, and the warships of World War II. After his death in 1930, the Navy named the USS Sperry after him.

Meanwhile, in 1913, C. Plath (a Hamburg, Germany-based manufacturer of navigational equipment including sextants and magnetic compasses) developed the first gyrocompass to be installed on a commercial vessel. C. Plath sold many gyrocompasses to the Weems’ School for Navigation in Annapolis, MD, and soon the founders of each organization formed an alliance and became Weems & Plath.[10]

The 1889 Dumoulin-Krebs gyroscope

Before the success of the gyrocompass, several attempts had been made in Europe to use a gyroscope instead. By 1880, William Thomson (Lord Kelvin) tried to propose a gyrostat (tope) to the British Navy. In 1889, Arthur Krebs adapted an electric motor to the Dumoulin-Froment marine gyroscope, for the French Navy. That gave the Gymnote submarine the ability to keep a straight line while underwater for several hours, and it allowed her to force a naval block in 1890.

In 1923 Max Schuler published his paper containing his observation that if a gyrocompass possessed Schuler tuning such that it had an oscillation period of 84.4 minutes (which is the orbital period of a notional satellite orbiting around the Earth at sea level), then it could be rendered insensitive to lateral motion and maintain directional stability.[11]

## Errors

A gyrocompass is subject to certain errors. These include steaming error, where rapid changes in course, speed and latitude cause deviation before the gyro can adjust itself.[12] On most modern ships the GPS or other navigational aids feed data to the gyrocompass allowing a small computer to apply a correction. Alternatively a design based on a strapdown architecture (including a triad of fibre optic gyroscopes, ring laser gyroscopes or hemispherical resonator gyroscopes and a triad of accelerometers) will eliminate these errors, as they do not depend upon mechanical parts to determinate rate of rotation.[13]

## Notes

1. ^ Although the effect is not visible in the specific case when the gyroscope's axis is precisely parallel to the Earth's rotational axis.

## References

1. ^ Gade, Kenneth (2016). "The Seven Ways to Find Heading" (PDF). The Journal of Navigation. Cambridge University Press. 69 (5): 955–970. doi:10.1017/S0373463316000096.
2. ^ a b c d Elliott-Laboratories (2003). The Anschutz Gyro-Compass and Gyroscope Engineering. pp. 7–24. ISBN 978-1-929148-12-7. Archived from the original on 2017-03-04.
3. Time Inc. (Mar 15, 1943). "The gyroscope pilots ships & planes". Life: 80–83. Archived from the original on 2017-02-27.
4. ^ a b Gyrocompass, Auxiliary Gyrocompass, and Dead Reckoning Analyzing Indicator and Tracer Systems Archived 2013-06-01 at the Wayback Machine, San Francisco Maritime National Park Association.
5. ^ NASA NASA Callback: Heading for Trouble Archived 2011-07-16 at the Wayback Machine, NASA Callback Safety Bulletin website, December 2005, No. 305. Retrieved August 29, 2010.
6. ^ Bowditch, Nathaniel. American Practical Navigator Archived 2017-03-07 at the Wayback Machine, Paradise Cay Publications, 2002, pp.93-94, ISBN 978-0-939837-54-0.
7. ^ a b c Galison, Peter (1987). How experiments end. pp. 34–37. ISBN 978-0-226-27915-2. Archived from the original on 2012-03-02.
8. ^ "Archived copy" (PDF). Archived (PDF) from the original on 2015-06-29. Retrieved 2012-02-19.CS1 maint: archived copy as title (link) Standard 22 Anschütz Gyro Compass [sic] System: Gyro Compass [sic] Technology [sic] for over than [sic] 100 years
9. ^ Chambers of Commerce and Industry in Schleswig-Holstein Archived 2017-02-22 at the Wayback Machine Retrieved on February 22, 2017.
10. ^ The Invention of Precision Navigational Instruments for Air and Sea Navigation Archived 2011-07-18 at the Wayback Machine, Weems & Plath.
11. ^ Collinson, R. P. G. (2003), Introduction to avionics systems, Springer, p. 293, ISBN 978-1-4020-7278-9, archived from the original on 2014-07-07
12. ^ Gyrocompass: Steaming Error Archived 2008-12-22 at the Wayback Machine, Navis. Accessed 15 December 2008.
13. ^ Seamanship Techniques:Shipboard and Marine Operations, D. J. House, Butterworth-Heinemann, 2004, p. 341

## Bibliography

• Trainer, Matthew (2008). "Albert Einstein's expert opinions on the Sperry vs. Anschütz gyrocompass patent dispute". World Patent Information. 30 (4): 320–325. doi:10.1016/j.wpi.2008.05.003.