3.5.14Guidance, Navigation & Control (GNC)

Gyroscope — angular velocity measurement, bias, noise

2,123 words10 min readdifficulty · medium

WHAT is a gyroscope really measuring?

WHY does angular velocity matter for navigation? Because orientation (attitude) is the time-integral of angular velocity. If you know where you started and you know ω(t)\omega(t) perfectly, you know your orientation forever: θ(t)=θ0+0tω(τ)dτ\theta(t) = \theta_0 + \int_0^t \omega(\tau)\, d\tau

HOW do physical gyros sense ω\omega? Two common principles:

  • MEMS Coriolis gyro (phones, drones): a tiny proof mass vibrates. When the device rotates, the Coriolis force Fc=2mω×v\vec{F}_c = -2m\,\boldsymbol{\omega}\times\vec{v} pushes the mass sideways. That sideways deflection is measured capacitively and is ω\propto \omega.
  • Optical (RLG / FOG): uses the Sagnac effect — counter-propagating light beams in a rotating loop accumulate a phase difference ω\propto \omega.

Deriving the gyro measurement model FROM SCRATCH

We never trust a raw sensor. We build a model of what the sensor actually outputs, then invert it.

Step 1 — Start with the ideal. A perfect gyro outputs the true rate: ω~=ωtrue\tilde\omega = \omega_{\text{true}} Why this step? Establish the target before adding imperfections.

Step 2 — Add a slowly-varying offset (bias). Real electronics have an offset even at zero rotation. Call it b(t)b(t): ω~=ωtrue+b(t)\tilde\omega = \omega_{\text{true}} + b(t) Why this step? Measured output at rest is not zero — that constant-ish part is bias.

Step 3 — Add random measurement noise. Thermal/electronic fluctuations add a jitter n(t)n(t), modeled as white noise:   ω~(t)=ωtrue(t)+b(t)+n(t)  \boxed{\;\tilde\omega(t) = \omega_{\text{true}}(t) + b(t) + n(t)\;} Why this step? No real reading is smooth; there is high-frequency randomness on top.

Step 4 — Model the bias itself. Bias isn't perfectly constant; it wanders. The standard model is a random walk driven by its own white noise nbn_b: b˙(t)=nb(t)\dot b(t) = n_b(t) Why this step? Over minutes/hours the offset slowly drifts — this is captured by integrating a small white noise.

So the full gyro error model is two coupled equations: a fast noise nn and a slow drifting bias bb.


HOW errors turn into drift (the derivation that matters)

Suppose the true rate is zero (ωtrue=0\omega_{\text{true}}=0) and we integrate the reading to get an angle estimate θ^\hat\theta: θ^(t)=0tω~dτ=0tbdτ+0tndτ\hat\theta(t) = \int_0^t \tilde\omega\, d\tau = \int_0^t b\,d\tau + \int_0^t n\,d\tau

Bias contribution. If bb is roughly constant: θbias(t)=bterror grows LINEARLY in time\theta_{\text{bias}}(t) = b\,t \quad\Rightarrow\quad \text{error grows LINEARLY in time} Why? A constant offset integrated gives a ramp. A 0.01°/s0.01°/\text{s} bias → 36°36° error after one hour. This is why bias is the #1 enemy.

Noise contribution (Angle Random Walk). White noise integrated becomes a random walk. Its standard deviation grows like t\sqrt{t}: σθ(t)=ARWt\sigma_\theta(t) = \text{ARW}\cdot\sqrt{t}

Summary of the two growth laws:

Error source Grows as Feels like
Bias bb t\propto t (linear ramp) steady slow tilt
White noise (ARW) t\propto \sqrt{t} (random walk) jittery wander
Figure — Gyroscope — angular velocity measurement, bias, noise

The Allan Deviation — reading a gyro's spec sheet

  • Slope 1/2-1/2 region → dominated by white noise / ARW. Averaging longer helps (error falls).
  • Minimum of the curve → best achievable stability.
  • Slope +1/2+1/2 region → dominated by bias instability / random walk. Averaging longer HURTS (drift wins).

The bottom of the "bathtub" gives the bias instability, the floor you cannot average away.


Worked Examples


Common Mistakes (Steel-manned)


Recall Feynman: explain to a 12-year-old

Imagine spinning around in an office chair with your eyes closed and counting "one-Mississippi" to guess how far you've turned. A gyroscope is a tiny gadget that feels how fast you're spinning. To know which way you're finally facing, it adds up all the "how fast"s over time. Trouble: the gadget always thinks it's spinning a teensy bit even when still (that's bias — like a scale that reads 1 kg with nothing on it), and it's also a little shaky (that's noise). The tiny bias adds up and adds up, so after a while your guess of "which way I face" drifts off — that's why phones and drones also peek with GPS or a compass to fix the drift.


Flashcards

What physical quantity does a gyroscope directly measure?
Angular velocity ω\omega (rad/s), not angle.
Write the standard gyro measurement model.
ω~=ωtrue+b(t)+n(t)\tilde\omega = \omega_{\text{true}} + b(t) + n(t), with bias bb and white noise nn.
How is the bias itself modeled dynamically?
As a random walk: b˙=nb\dot b = n_b (integral of small white noise).
How does bias error grow with time when integrating rate to angle?
Linearly, θbias=bt\theta_{\text{bias}} = b\,t.
How does white-noise (ARW) angle error grow with time?
As t\sqrt{t}: σθ=ARWt\sigma_\theta = \text{ARW}\cdot\sqrt{t} (a random walk).
Why does integrated white noise scale as t\sqrt t?
Var[θ]=0t0tQδ(ττ)dτdτ=Qt\operatorname{Var}[\theta]=\int_0^t\int_0^t Q\delta(\tau-\tau')d\tau d\tau' = Qt, so σt\sigma\propto\sqrt t.
What physical effect lets a MEMS gyro sense rotation?
The Coriolis force Fc=2mω×v\vec F_c=-2m\,\boldsymbol\omega\times\vec v on a vibrating proof mass.
What effect do optical (RLG/FOG) gyros use?
The Sagnac effect — phase difference between counter-propagating beams ω\propto\omega.
In an Allan deviation plot, what does slope 1/2-1/2 indicate?
Angle Random Walk (white noise) region; averaging longer helps.
What does the minimum of the Allan deviation curve give?
The bias instability — the noise floor you cannot average away.
Units typically used for ARW?
°/h°/\sqrt{\text{h}} (degrees per root-hour).
Bias 0.02°/s0.02°/s integrated for 120 s gives what angle error?
0.02×120=2.4°0.02\times120 = 2.4°.
Why must bias be continuously re-estimated, not measured once?
It drifts with temperature/time (b˙=nb\dot b=n_b), so a static subtraction goes stale.

Connections

  • Coriolis Force — the force MEMS gyros exploit.
  • Sagnac Effect — optical gyro operating principle.
  • Accelerometer — specific force, gravity — complementary IMU sensor.
  • Inertial Measurement Unit (IMU) — gyro + accel package.
  • Kalman Filter — estimates and removes drifting bias by sensor fusion.
  • Attitude Estimation / Dead Reckoning — where gyro drift is felt.
  • Allan Variance Analysis — characterizing sensor noise.
  • Random Walk & Wiener Process — math behind t\sqrt t growth.

Concept Map

measures

integrated over time

MEMS principle

optical principle

proportional to

proportional to

corrupted by

corrupted by

modeled as

driven by

accumulates during integration

accumulates during integration

fought by

Gyroscope

Angular velocity omega

Orientation theta

Coriolis force

Sagnac effect

Bias b of t

White noise n of t

Random walk

Bias white noise n_b

Drift in attitude

GNC engineers

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, gyroscope ka kaam simple hai: woh batata hai ki tum kitni tezi se ghoom rahe ho — yaani angular velocity ω\omega (rad/s). Yeh angle nahi deta directly. Agar tumhe orientation (kis taraf face kar rahe ho) chahiye, to ω\omega ko time ke saath integrate karna padta hai. Yahin problem shuru hoti hai, kyunki chhoti chhoti errors bhi integration me jama hoti rehti hain aur slowly tumhara answer galat kar deti hain — isko drift kehte hain.

Do main dushman hain. Pehla bias bb: sensor stationary hone par bhi thoda non-zero padhta hai, jaise weighing machine bina kuch rakhe 1 kg dikhaye. Yeh integrate hone par linearly badhta hai (θ=bt\theta = b\cdot t), isliye sirf 0.01°/s0.01°/s bias bhi ek ghante me 36°36° error de deta hai — bahut khatarnak. Dusra noise nn: high-frequency random jitter. Yeh integrate hone par random walk ban jata hai aur error t\sqrt{t} ke hisaab se badhta hai — bias se dheere, isliye kam dangerous par phir bhi present.

Practical baat: bias ko ek baar minus karke chhod nahi sakte, kyunki woh temperature aur time ke saath khiskta rehta hai (b˙=nb\dot b = n_b). Isiliye real GNC systems me gyro ko GPS, accelerometer, magnetometer ke saath Kalman filter se fuse karte hain, jo continuously bias estimate karke drift theek karta hai. Aur Allan deviation plot dekhkar samajhte hain: 1/2-1/2 slope wala hissa noise (average karo to sudhrega), aur curve ka bottom bias instability — woh floor jise average karke bhi hata nahi sakte. Exam aur real life dono me: pehle bias pakdo, wahi 80% problem hai.

Go deeper — visual, from zero

Test yourself — Guidance, Navigation & Control (GNC)

Connections