3.5.5 · D5 · HinglishGuidance, Navigation & Control (GNC)
Question bank — Gimbal lock — problem with Euler angles at θ = ±90°
3.5.5 · D5· Physics › Guidance, Navigation & Control (GNC) › Gimbal lock — problem with Euler angles at θ = ±90°
Shuru karne se pehle, ek vocabulary anchor taaki neeche koi symbol anjana na lage:
- DOF = degree of freedom = ek independent "knob" jo tum ghuma sakte ho. Ek rigid body ki orientation ko hamesha exactly three independent knobs chahiye hote hain.
- Chart = orientations ko numbers se label karne ka ek tarika (Euler angles ek chart hain, Quaternions ek aur deta hai). Dekho Singularities of coordinate charts.
- Singularity = woh jagah jahan labels toot jaate hain, jabki jis cheez ko label kiya ja raha hai woh bilkul theek hai.
- Pitch = parent se ZYX chain mein beech wali rotation; , .
True or false — justify karo
Kya gimbal lock ek mechanical jam hai jo rigid body ko rotate hone se rok deta hai?
False. Body kisi bhi axis ke around freely rotate karti hai; sirf Euler-angle chart (aur ise mimic karne ke liye bane physical gimbals) ek DOF kho dete hain. Kuch bhi physically stuck nahi hota.
par object ek rotational degree of freedom kho deta hai.
False — subtly. Object teeno DOF rakhta hai; coordinate representation teen effective DOF se ghatakar do ho jaati hai. Hamesha yeh batao ki kaun si "cheez" ne DOF khoyi.
Gimbal lock kisi aur angle par hota hai jo tumhare yaw aur roll values par depend karta hai.
False ZYX convention ke liye. Yeh middle angle par fixed hai, aur ki parwah kiye bina; singular value convention ki property hai, current attitude ki nahi.
Agar tum exact value se bachte ho, toh tumhara Euler-angle GNC code safe hai.
False. Rate map mein hai, isliye ek poora neighbourhood (jaise –) numerically unstable hai. Yeh ek buri region hai, sirf ek bura point nahi.
Quaternions mein secretly wahi gimbal lock hai, sirf algebra mein chhupa hua hai.
False. Quaternions ek smooth global double cover banate hain jisme koi singular orientation nahi hoti; unki ek hi quirk hai woh harmless sign identity , jo koi DOF nahi khoti.
par har orientation chart mein kahin na kahin kam se kam ek singularity zaroor hogi.
True kisi bhi teen-number chart ke liye. Tum poore rotation group ko teen coordinates se smoothly cover nahi kar sakte bina singularity ke — escape yeh hai ki zyada numbers use karo (quaternion mein char), jaisa Singularities of coordinate charts explain karta hai.
mein blow-up ka matlab hai ki lock ke paas physical yaw rate infinite ho jaati hai.
False. Physical rotation finite aur calm hai; Euler rate hi diverge karta hai taaki us finite motion ko describe karta rahe. Label ki speed infinite hai, reality finite hai.
ZYX se ZYZ Euler angles pe switch karne se gimbal lock poori tarah remove ho jaata hai.
False. Yeh sirf singularity ko move karta hai — ZYZ tab lock hota hai jab uska middle angle ki jagah ya pe pahunche. Tum hole ko relocate karte ho, fill nahi karte.
Error dhundo
" par, yaw aur roll cancel out ho jaate hain, isliye vertical ke around koi rotation possible nahi hai."
Galat: woh cancel nahi hote, woh coincide karte hain. Dono ek hi vertical axis ke around rotation drive karte hain, isliye tum us axis ke around rotate kar sakte ho — bas do independent tarike se nahi kar sakte.
"Rate map mein term hi poora problem hai; use khatam karo aur sab theek ho jaayega."
Incomplete: aur mein terms bhi diverge karte hain jab . Dono ek hi vanishing se aate hain, isliye tum ek ko isolate nahi kar sakte.
"Kyunki lock par infinitely many ek hi dete hain, orientation khud ambiguous ho jaati hai."
Blame ka error: orientation bilkul well-defined hai; inverse map orientation→angles hi one-to-many ho jaata hai. Problem labelling mein hai, pose mein nahi.
" par matrix par depend karta hai."
Sign slip. par sirf bachta hai; collapse par hota hai. Dono ko mix karna ek classic exam trap hai.
"Gimbal lock ki wajah se Apollo astronauts spacecraft ko kabhi certain directions mein point nahi kar sakte the."
Galat cause. Dekho Apollo Guidance Computer: spacecraft kisi bhi direction mein point kar sakta tha; inertial platform ke teen physical gimbals jam ho sakte the, guidance readout corrupt karke — isliye "gimbal lock mein mat jaao," yeh nahi ki "wahan rotate nahi kar sakte."
"Rotation matrices Rotation matrices SO(3) mein gimbal lock hai kyunki tum unhe Euler angles se build kar sakte ho."
Confusing map with target. Ek rotation matrix ek singularity-free representation hai; lock Euler parametrization mein rehta hai jise tum optionally ek matrix generate karne ke liye use karte ho, mein nahi.
Why questions
ZYX mein specifically middle rotation kyun lock trigger karta hai, pehli ya aakhiri kyun nahi?
Kyunki middle rotation woh hai jo teesri axis ko pehli ke relative tilt karta hai. Sirf yahi teesri axis ko exactly pehli ke upar swing kar sakta hai; outer dono sirf already-fixed lines ke around spin karte hain.
Rate map ke denominator mein ki jagah kyun aata hai?
Kyunki par pitch axis us projection geometry ke perpendicular ho jaata hai jo yaw ko roll se alag karta hai; measure karta hai ki us separation mein kitna bacha hai, aur yeh exactly poles par zero ho jaata hai.
Agar Euler angles singular hain toh engineers unhe use kyun karte hain?
Yeh sabse zyada human-readable hain (display ya pilot ke liye yaw/pitch/roll). Trick Attitude determination and control se: internally Quaternions mein compute karo, Euler angles mein sirf last moment par display ke liye convert karo, ko special case handle karte hue.
Sensor noise lock ke paas sirf inconvenient kyun nahi, catastrophic kyun ho jaata hai?
factor noise ko ek bade, badhte gain se multiply karta hai (dekho Angular velocity kinematics). Body rate mein ek chhoti si error ek wild Euler rate mein amplify ho jaati hai jise integrator phir accumulate karta hai.
Quaternions ke liye ek lost degree of freedom kyun nahi hai, gimbal lock ki tarah?
Yeh poore space par ek two-to-one labelling redundancy hai (har rotation ke liye do naam), har jagah uniform aur smooth. Gimbal lock ek local collapse hai jahan ek knob kuch karna band kar deta hai — genuinely alag cheez hai.
Software mein mein chhota offset add karke singularity se kyun nahi bach sakte?
Kyunki true attitude legitimately se guzar sakta hai; angle ko fudge karna real orientation galat report karega. Tumhe representation badalni hai, number ke baare mein jhooth nahi bolna.
Edge cases
(level flight) par rate map ka kya hota hai?
Bilkul regular hai: , , isliye yaw, pitch aur roll rates cleanly aur independently map hote hain. Chart poles se door well-behaved hai.
par, rotation matrix aur ke kis combination par depend karta hai?
Sirf par. Sign case ke relative flip ho jaata hai kyunki pitch reverse karne se roll axis ka yaw axis ke against alignment bhi reverse ho jaata hai.
Agar lock par yaw aur roll literally same motion hain, toh kya matrix se unique aur recover kar sakte ho?
Nahi. Sirf unka combination ( par ) determine hota hai; individual values free hain. Convention hai ki ek pin karo (often set karo) aur doosre ko total absorb karne do.
Kya gimbal lock is baat par depend karta hai ki tum kitni tez rotate kar rahe ho, ya sirf reach ki gayi attitude par?
Sirf attitude par ( ka tak pahunchna). Speed collapse ke liye matter nahi karti; lekin neighbourhood se tez motion ek numerical integrator ke liye rate spike ko aur bura bana deti hai.
Kya koi Euler-angle convention hai jisme zero singularities hon?
Nahi, koi bhi teen-angle convention isse nahi bacha sakta — singularity hamesha kahin na kahin hoti hai (dekho Euler angles aur Singularities of coordinate charts). Sirf teen-number chart ko poori tarah chodne se (quaternions, rotation matrices) yeh remove hoti hai.
jaate waqt fixed nonzero body rate ke saath ka limiting behaviour kya hai?
Yeh ki tarah tak diverge karta hai. Sign is baat par depend karta hai ki tum kis side se approach kar rahe ho, isliye infinity se guzar kar swing karta hai — ek textbook coordinate singularity hai, physical event nahi.
Connections
- Euler angles — woh chart jiske traps yeh page drill karta hai
- Quaternions — singularity-free escape jiska poore page mein reference hai
- Rotation matrices SO(3) — woh space jo kabhi actually singular nahi hoti
- Angular velocity kinematics — rate gain ka origin
- Attitude determination and control — jahan "quaternions mein compute karo, Euler mein display karo" rule rehta hai
- Apollo Guidance Computer — historic physical-gimbal jam
- Singularities of coordinate charts — general reason kyun koi 3-number chart safe nahi