3.5.5 · Physics › Guidance, Navigation & Control (GNC)
Intuition Ek-line picture
Euler angles orientation ko teen successive rotations about moving axes ke product se describe karte hain. Jab middle rotation teesri axis ko pehli axis ke upar le aati hai, to aapke teen "steering wheels" mein se do object ko same physical axis ke around ghuma rahe hote hain. Aapne ek poora rotational degree of freedom kho diya — yahi gimbal lock hai.
Definition Euler angles (ZYX / yaw–pitch–roll convention)
Orientation teen elemental rotations ke product ke roop mein bani hoti hai:
R = R z ( ψ ) R y ( θ ) R x ( ϕ )
ψ = yaw (z ke around)
θ = pitch (naye y ke around)
ϕ = roll (sabse naye x ke around)
Gimbal lock = woh configuration jahan pitch θ = ± 90° yaw axis aur roll axis ko physically coincide kara deti hai, jisse ψ aur ϕ same motion produce karte hain aur ek degree of freedom kho jaati hai.
Middle angle kyun matter karta hai? Middle rotation hi last axis ko first axis ke relative tilt karti hai. Use 90° tak push karo aur last axis exactly first axis ke along aa jaati hai.
Hum "lock at 90°" memorize nahi karte — hum ise matrices mein hote hua dekhte hain.
Elemental rotations (right-handed, active):
R z ( ψ ) = c ψ s ψ 0 − s ψ c ψ 0 0 0 1 , R y ( θ ) = c θ 0 − s θ 0 1 0 s θ 0 c θ , R x ( ϕ ) = 1 0 0 0 c ϕ s ϕ 0 − s ϕ c ϕ
jahan c α = cos α , s α = sin α .
Step — pitch ko singular value θ = + 90° par set karo.
Yeh step kyun? Kyunki hum suspect karte hain ki singularity wahin hai; hum ise directly test karte hain.
Tab c θ = 0 , s θ = 1 :
R y ( 90° ) = 0 0 − 1 0 1 0 1 0 0
Step — R z ( ψ ) R y ( 90° ) R x ( ϕ ) ko multiply karo.
Yeh step kyun? Hum dekhna chahte hain ki ψ aur ϕ abhi bhi independently kaam karte hain ya nahi.
Algebra karne par, poori matrix collapse hokar yeh ban jaati hai:
R = 0 0 − 1 sin ( ϕ − ψ ) cos ( ϕ − ψ ) 0 cos ( ϕ − ψ ) − sin ( ϕ − ψ ) 0
Step — result padho.
Yeh step kyun? Yahi punchline hai. Har entry ψ aur ϕ par sirf combination ( ϕ − ψ ) ke through depend karti hai. Toh ψ ko + δ se aur ϕ ko + δ se badalne par R unchanged rehta hai. Do knobs, ek effect.
Orientation static nahi hoti — GNC body angular rates ( p , q , r ) ko Euler angles mein integrate karta hai. Kinematic relation yeh hai:
ϕ ˙ θ ˙ ψ ˙ = 1 0 0 sin ϕ tan θ cos ϕ cos θ sin ϕ cos ϕ tan θ − sin ϕ cos θ cos ϕ p q r
Blow-up kyun hota hai: tan θ aur 1/ cos θ dekho. Jab θ → ± 90° , cos θ → 0 , toh ϕ ˙ aur ψ ˙ infinity tak diverge ho jaate hain. Math ek perfectly finite physical rotation represent karne ke liye infinite angle rate maangta hai — coordinates singular hain, physics nahi.
Worked example Example 1 — Aircraft seedha upar point kar raha hai
Ek plane θ = 90° tak pitch karta hai (naak zenith ki taraf).
Step: θ = 90° ke saath, yaw (vertical world axis ke around turn) aur roll (naak ke around turn, jo ab vertical hai) dono plane ko same vertical line ke around ghuma rahe hain.
Yeh step kyun? Naak axis ab world vertical ke saath coincide kar gayi hai, toh roll = yaw.
Result: aap independently heading command nahi kar sakte; aapne ek DOF kho diya. Ek pilot ise inertial-platform gimbal ke physically stack hone ke roop mein experience karta hai.
Worked example Example 2 — Numerical rate spike
Maano p = r = 0 , q = 1 rad/s , ϕ = 0 , aur θ = 89.9° .
Step: ψ ˙ = cos θ cos ϕ r = cos 89.9° 1 ⋅ 0 = 0 yahan, lekin r = 0.01 try karo:
ψ ˙ = 0.01/ cos ( 89.9° ) = 0.01/0.001745 ≈ 5.7 rad/s .
Yeh step kyun? Ek tiny body rate ek huge Euler rate produce karta hai — numerically integrator explode ho jaata hai.
Result: lock ke paas, r mein small sensor noise catastrophic yaw-rate error ban jaata hai.
Worked example Example 3 — Do knobs, ek motion
θ = 90° par, ( ψ , ϕ ) = ( 30° , 0° ) vs ( 50° , 20° ) set karo.
Step: dono mein ϕ − ψ = − 30° hai, toh identical rotation matrix R milti hai.
Yeh step kyun? Algebraic collapse confirm karta hai: infinitely many ( ψ , ϕ ) pairs ek orientation par map karti hain.
Result: inverse map "orientation → Euler angles" unique nahi hai ⇒ estimation ill-posed hai.
Common mistake "Gimbal lock ek real mechanical jam hai — object physically rotate nahi kar sakta."
Kyun sahi lagta hai: Ek physical 3-gimbal setup mein rings visibly stack up hoti hain aur lost axis ke baare mein torque nahi kar sakti. Jam jaisi lagti hai.
Fix: Rigid body abhi bhi kisi bhi axis ke around freely rotate kar sakta hai. Sirf coordinate representation (aur un coordinates ke liye ek analog computer ke roop mein physical gimbals) ek DOF kho deta hai. Quaternions use karo aur "jam" gayab ho jaata hai.
θ = 90° se bachte raho aur sab theek hai."
Kyun sahi lagta hai: Singular value ek single point hai; surely tum isse dodge kar sakte ho.
Fix: 1/ cos θ term poore neighborhood ko numerically unstable bana deta hai. 85° –90° ke paas rates already blow up ho jaate hain aur estimation degrade ho jaati hai. Yeh ek region hai, ek point nahi.
Common mistake "Quaternions mein bhi gimbal lock hai, bas chhupa hua."
Kyun sahi lagta hai: Log assume karte hain ki saare orientation representations common flaws share karte hain.
Fix: Quaternions rotations ka ek global, smooth double cover hain S U ( 2 ) → S O ( 3 ) ; unmein koi singular orientations nahi hain. Unka ek hi quirk hai sign ambiguity q ≡ − q , jo koi lost DOF nahi hai.
Orientation ko internally quaternions (ya rotation matrices / axis-angle) se represent karo.
Euler angles sirf human display ke liye convert karo, aur θ = ± 90° special case ko explicitly handle karo.
80/20 takeaway: physics kabhi singular nahi hoti; sirf Euler chart hoti hai. Chart badlo.
Recall Feynman: ek 12-saal ke bacche ko samjhao
Socho tum ek toy plane teen dials se steer kar rahe ho: left/right turn, nose-up/down, aur barrel-roll. Ab naak ko seedha upar ceiling ki taraf point karo. Ab "turn left/right" dial aur "barrel-roll" dial dono sirf plane ko same up-down line ke around top ki tarah ghuma rahe hain — dono bilkul same kaam karte hain! Tumne steering ka ek tarika kho diya. Plane abhi bhi kisi bhi taraf tumble kar sakta hai; tumhare teen dials confuse ho gaye hain. Astronauts ne isse ek smarter set of "dials" use karke fix kiya jishe quaternions kehte hain jo kabhi stuck nahi hote.
"Pitch to the peak, the poles leak." Jab p itch ± 90° (p ole) tak pahunche, yaw aur roll ek doosre mein leak ho jaate hain — aur rates 1/ cos θ ke zariye infinity tak leak ho jaate hain.
Gimbal lock kya hai ek sentence mein? Ek Euler-angle representation mein ek rotational degree of freedom ka loss jab middle (pitch) angle ± 90° tak pahunche, jisse pehla aur teesra rotation axis align ho jaata hai.
ZYX gimbal lock kis Euler angle par hota hai? Jab pitch θ = ± 90° ho.
Lock ke paas Euler rates kyun blow up hote hain? Kinematic map mein tan θ aur 1/ cos θ hote hain; jab θ → ± 90° , cos θ → 0 toh ϕ ˙ , ψ ˙ → ∞ .
θ = + 90° par rotation matrix yaw/roll par sirf kis combination ke through depend karti hai?Sirf ( ϕ − ψ ) ke through (aur θ = − 90° par ( ϕ + ψ ) ke through).
Kya gimbal lock rigid body ki physical limitation hai? Nahi — body freely rotate karti hai; sirf coordinate chart (aur ise implement karne wale analog gimbals) ek DOF kho deta hai.
Gimbal lock ka standard engineering fix kya hai? Internally quaternions (ya rotation matrices) use karo; Euler angles sirf display ke liye.
Kya quaternions mein gimbal lock hota hai? Nahi; yeh S O ( 3 ) ka ek smooth global cover form karte hain jisme koi singular orientations nahi hain (sirf ek harmless q ≡ − q sign ambiguity hai).
Exactly θ = 90° se bachna kyun insufficient hai? 1/ cos θ term ek poore neighborhood ko numerically unstable bana deta hai, sirf single point ko nahi.
Euler angles — woh representation jo fail hoti hai
Quaternions — singularity-free fix
Rotation matrices SO(3) — woh group jo parametrize ho rahi hai
Angular velocity kinematics — 1/ cos θ rate blow-up ka source
Attitude determination and control — GNC mein yeh kahan daata hai
Apollo Guidance Computer — historic gimbal-lock avoidance ("gimbal lock zone mein mat udao")
Singularities of coordinate charts — deeper differential-geometry reason
Euler angles yaw pitch roll
Middle rotation pitch theta
Only phi minus psi matters
tan theta and 1 over cos theta
Rates blow up to infinity