3.5.9 · HinglishGuidance, Navigation & Control (GNC)

Quaternion kinematics — q̇ = ½ Ξ(q) ω

1,883 words9 min readRead in English

3.5.9 · Physics › Guidance, Navigation & Control (GNC)


Quaternion KYA hai (fast recap)

Quaternion multiplication (Hamilton product): , ke liye,

Cross product term ka WHY: quaternion multiplication non-commutative hai, bilkul waisi hi jaise rotations compose karna. term usi non-commutativity ko encode karta hai.


First principles se kinematics derive karna

Step 1 — Tiny rotation quaternion

Body-frame axis ke baare mein small angle ka rotation hai:

Yeh step kyun? Yeh sirf quaternion ki definition hai jo infinitesimal rotation par apply ki gayi hai jo ke dauran hoti hai.

Small ke liye: aur . Toh

yahan kyun aata hai: mein half-angle quaternion definition mein baked in hai. Yahi famous ki origin hai.

Step 2 — Difference quotient → derivative

jahan hai. se divide karo aur hone do:

Yeh step kyun? Humne "ek tiny rotation compose karna" ko ek genuine time-derivative mein badla. Pure quaternion ko angular-velocity quaternion kehte hain.

Step 3 — Product ko par acting matrix ke roop mein rewrite karo

Quaternion multiplication linear hai, isliye ko ek matrix times likha ja sakta hai. Hamilton product se workout karne par:

ke saath

Yeh step kyun? GNC filters (EKF, etc.) ko ek linear relation chahiye. Hamilton product ko ke roop mein package karna hume bilkul yahi deta hai — matrix code ke liye clean.


Norm 1 kyun rehta hai (sanity check)

ki rate of change zero honi chahiye — warna unit sphere se drift kar jaata hai aur valid rotation represent nahi karta.

Key algebraic fact: (ek zero row). Block form use karke row-by-row check karo: kyunki . Isliye . ✔


Body frame vs inertial frame (ek real GNC subtlety)

  • Agar body frame mein express kiya gaya hai (usual case, gyros body rates measure karte hain): right multiplication use karo → upar wala .
  • Agar inertial frame mein hai: left multiplication use karo , jo ek alag matrix deta hai (often kehte hain).

Worked examples


Common mistakes (Steel-manned)


Recall Feynman: ek 12-saal-ke bacche ko explain karo

Imagine karo tum ek office chair par spin kar rahe ho. Tumhara munh kis taraf hai yeh describe karne ke liye, tum ek special 4-number "compass" use karte ho jise quaternion kehte hain. Ab, agar main tumhe batata hun tum kitni fast spin kar rahe ho, tum jaanna chahoge ki tumhare compass numbers kitni fast change ho rahe hain. Turns out compass numbers spin speed ki half se change hote hain — kyunki compass secretly half-turns measure karta hai (ek quirky quirk jo math ko khoobsurat banata hai). Ek chhota bookkeeping table bhi hai ( matrix) jo tumhari current facing ko tumhari spin se mix karta hai sahi change dene ke liye. Aur poori cheez aise built hai ki tumhara compass hamesha ek valid "unit" compass rehta hai — kabhi toot nahi sakta.


Active recall

mein ½ kyun aata hai?
Kyunki quaternions half-angle encode karte hain (); half-angle differentiate karne par chain rule se ½ milta hai.
Continuous-time quaternion kinematic equation (body rates) likho.
.
Kinematics mein 1 rehna kya guarantee karta hai?
, isliye ; .
ki structure?
: top row ; neeche block .
Body-frame : pre- ya post-multiply?
Post-multiply, . Inertial-frame pre-multiply karta hai.
Equivalent form kya hai?
, ki jagah factor out karke; skew hai.
Agar norm provably preserved hai toh code mein renormalize kyun karo?
Preservation sirf continuous time mein exact hai; discrete integrators norm leak karte hain, isliye har step mein renormalize karo.
Pure spin identity se, kya hoga?
(half-angle), ke saath.

Connections

Concept Map

lives on

encodes

half-angle in sin cos

uses

q at t plus dt = q times delta-q

small angle = norm omega times dt

approx identity plus half omega dt

difference quotient to derivative

guarantees

keeps norm q = 1

packs multiplication

builds

Unit quaternion q

Unit 3-sphere S3

Rotation theta about axis n-hat

Factor one-half

Rotations compose by multiplication

Hamilton product with cross term

Tiny rotation delta-q

Angular velocity omega

q-dot = half Xi q omega

Velocity tangent to S3

Matrix Xi q