Worked examples — Mechanization equations — integrating IMU to get position, velocity, attitude
This page is the drill-ground for the parent mechanization note. We will hit every kind of input the mechanization chain can be handed — all signs, the zero cases, the degenerate (nothing-moving) cases, the limits (poles, long time), a real word problem, and one exam-style twist. Nothing here contradicts the parent; we just go slower and cover the corners.
Before any example, one reminder in plain words so no symbol is used unearned:
The scenario matrix
Every case a mechanization problem can throw at you falls into one of these cells. The examples below are labelled with the cell they cover.
| Cell | What makes it special | Covered by |
|---|---|---|
| A. Zero input | gyro = 0, accel = pure → nothing should move | Ex 1 |
| B. Positive linear accel | one axis pushed forward, clean double-integral | Ex 2 |
| C. Negative / braking accel | sign flip, velocity crosses zero | Ex 3 |
| D. Attitude change (rotation ≠ 0) | gyro non-zero, actually turns | Ex 4 |
| E. Degenerate: tilt leaks gravity | small attitude error contaminates horizontal | Ex 5 |
| F. Limiting value: near the pole | makes longitude rate blow up | Ex 6 |
| G. Real-world word problem | aircraft cruise, transport + Coriolis matter | Ex 7 |
| H. Exam twist: bias growth | separate vs error laws | Ex 8 |
Ex 1 — Cell A: the still, level IMU (zero input)
Forecast: guess before reading — will be zero, or will one axis show a leftover ?
- Attitude. . Why this step? The gyro feels no rotation, so the rotation table cannot change — orientation is frozen.
- Velocity. Flat-Earth form: . Level and aligned means (identity — "no re-writing needed"). So . Why this step? The table pushes up (that is the on the Down axis), and gravity pulls down ( Down). They cancel exactly.
- Position. . Nothing moves. ✔
Verify: Units are on every term, so adding them is legal. The sum is the zero vector — physically the object is in equilibrium, exactly what "resting on a table" must give.
Ex 2 — Cell B: constant forward push (positive linear accel)
Forecast: will position at be nearer m or m?
- . Why? Short run, so no Coriolis; gravity is handled off this axis.
- Integrate once: (started at rest). Why? Constant acceleration integrates to a straight line in time.
- Integrate again: . Why? Integral of is .
- Plug : , .
Verify: Check with the kinematic identity . ✔ Same answer two ways.
Ex 3 — Cell C: braking (negative accel, velocity crosses zero)
Forecast: stop time bigger or smaller than the s of Ex 2?
- , so . Why? The negative sign flips the linear trend downward.
- Stops when : . Why? "Stopped" means velocity hits zero.
- Distance: . At : . Why? Integrate the velocity line.
Verify: Independent check . ✔ Note the sign of propagated correctly: a braking force gives positive distance but a shrinking velocity — exactly what a negative accel should do.
Ex 4 — Cell D: a real rotation turns the DCM

Forecast: guess — after s at rad/s, how many degrees has it swept?
- Total swept angle . Why? Constant rate integrates to angle = rate × time.
- A rotation about Down by sends North→East (right-hand rule about Down, look at the figure's orange arc). The nav vector is .
- Plug : — it now points East. Why this step? ; the vector rotated a full quarter-turn.
Verify: A rotation matrix must keep length : . ✔ And with only produces exactly this in-plane spin — the third (Down) component never changes, as the figure shows.
Ex 5 — Cell E: degenerate tilt leaks gravity into the horizontal

Forecast: will the leaked accel be closer to or ?
- A tilted "Down" mis-rotates gravity: the horizontal leak is . Why? Look at the figure — gravity is the vertical arrow; tilting the frame by projects a slice onto the horizontal axis.
- Numbers: . Why? (radians!).
- This fake accel double-integrates: . Why? Constant fake accel → position error.
Verify: Units: . ✔ And for small angles , so , matching our to — the exact and small-angle answers agree. This is the dominant INS error path: a tilt of a few degrees corrupts the horizontal channel almost as if itself were pushing you.
Ex 6 — Cell F: the limit as latitude approaches the pole
Forecast: as , does settle to a finite value or blow up?
The rule (from the parent): . Why divide by ? Circles of constant latitude shrink toward the poles; the same eastward speed sweeps more longitude on a smaller circle.
- At : . .
- At : . .
- Compare: the rate jumped by a factor for the same speed. Why? Because collapses toward zero — the equation is singular at the exact pole.
Verify: Ratio check: . ✔ This singularity is exactly why NED mechanization fails near the poles and engineers switch to a wander-azimuth or ECEF frame.
Ex 7 — Cell G: real-world cruise (transport + Coriolis)
Forecast: is the Coriolis correction bigger or smaller than ?
(a) Coriolis on the East channel. Earth's spin in NED is . The correction term in the velocity equation is with .
- Take the cross product. With along North, only the Down component of and the North velocity produce an East term: East component . Magnitude . Why this step? points along ; the two signs combine to a real eastward push — this is why Northbound flights drift East in a rotating frame.
- Numbers: .
(b) Latitude rate. . Why? Arc-length rate over meridian radius; on a sphere .
Verify: Coriolis magnitude order-of-check: ✔ — small but over an hour it integrates to hundreds of metres, which is why long-haul INS must keep this term. Latitude rate: per hour of North travel — sensible for a fast jet.
Ex 8 — Cell H: exam twist — which error grows faster, gyro or accel bias?
Forecast: the accel bias directly makes accel — surely it wins? Guess, then check.
- Accel-bias path (Unit A). A constant fake accel double-integrates: . Why ? Two integrations of a constant. .
- Gyro-bias path (Unit B). The tilt grows linearly ; it leaks gravity as ; that leaks accel triple-integrates once you account for the growing tilt: . Why ? itself grows like , and position is two more integrations: . .
- Compare: . The gyro bias wins, badly. Why? Its error law is versus the accel's ; given enough time the higher power always dominates.
Verify: Dimensional check on Unit B: … concretely has units , times gives metres ✔. Crossover time where the two are equal: solve — after only s the gyro error overtakes, which is why gyro quality dominates INS grade. This is the reasoning behind fusing with GNSS in the Kalman Filter for INS-GNSS Integration and the whole Strapdown vs Gimbaled INS design trade.
Recall Which error term has the highest power of time, and why does that decide INS grade?
The gyro-bias-through-tilt term grows as (tilt grows linearly, gravity-leak grows linearly, then two integrations), beating the accel bias's . Highest power wins for long runs, so gyro quality dominates.
Recall Why does the longitude-rate equation blow up near the poles?
Because and at : the latitude circles shrink to a point, so any eastward speed sweeps infinite longitude rate — the NED frame is singular there.