3.4.2 · D2 · HinglishRocket Flight Mechanics

Visual walkthroughTransformation between frames — direction cosine matrices

2,253 words10 min read↑ Read in English

3.4.2 · D2 · Physics › Rocket Flight Mechanics › Transformation between frames — direction cosine matrices

Ye page parent DCM note ka picture-companion hai. Agar koi word unfamiliar lage, hum usse use karne se pehle build karenge.


Step 1 — Ek arrow, abhi koi numbers nahi

KYA. Space mein ek single arrow rakho. "Ground frame mein velocity" nahi — bas ek arrow. Uski ek length hai aur ek direction, aur abhi ke liye bas itna hi hai. Koi numbers nahi.

KYUN. Ye DCM ka poora secret hai: arrow ek real physical cheez hai (ek thrust, ek velocity, ek position). Use parwah nahi ki tum kaunse axes use karte ho. Jo numbers hum abhi attach karne wale hain wo hamaari description hai, arrow khud nahi. Agar hum ye bhool gaye, toh baad ke har superscript ka matlab gibberish ho jayega.

PICTURE. Lal arrow akela float kar raha hai. Jaanbujhkar koi axes nahi draw ki gayi hain — deliberately. Ek arrow jiske paas koi ruler nahi, uske koi components nahi hote. Components wo cheez hai jo hum baad mein add karte hain.


Step 2 — Frame bichhaao aur shadows padho

KYA. Ek set of perpendicular axes daal do. Hum unhe aur naam dete hain (2-D mein; teesra, , page se bahar point karta hai). Chhoti hat matlab "length exactly 1" — ek unit ruler. Ab ki tip se har axis par ek perpendicular daal do. Un shadows ki lengths numbers aur hain.

KYUN. Hum perpendicular shadows (right-angle drop) use karte hain kyunki exactly yahi matlab hai "arrow ka kitna hissa is axis ke along hai." Kisi aur tarah ka projection ya toh double-count karega ya arrow ka kuch part miss kar dega. Superscript kehta hai "frame ke against measure kiya gaya."

PICTURE. Lal arrow ke ab do dashed shadow lines hain jo axes se right angles par milti hain. horizontal ke along, vertical ke along padho. Milke wo arrow rebuild karte hain: .


Step 3 — Dot product ek shadow-measuring machine hai

KYA. Ek shadow length algebra se extract karne ke liye, hum dot product use karte hain. Kisi bhi unit axis ke liye, number hai par ki shadow ki length.

YE TOOL KYUN. Dot product kyun aur kuch aur nahi? Kyunki (kyunki ), aur exactly par ki perpendicular shadow ki length hai. Dot product precisely woh question answer karta hai jo humein matter karta hai — "is arrow ka kitna hissa us taraf point karta hai?" — ek hi operation mein. Isliye yahi, aur kuch nahi, DCM mein appear karta hai.

PICTURE. Lal arrow aur axis ke beech angle ; shadow length arrow length times hai. Jaise shadow full length ke equal hoti hai; par shadow gayab ho jaati hai ().


Step 4 — Ek doosra frame laao, se twist kiya hua

KYA. Ab ek doosra set of axes overlay karo, jo -axes se kisi angle se rotated hai. Wohi lal arrow ab -axes par alag shadows daalta hai: aur .

KYUN. DCM ka poora point yehi hai. Do observers, same arrow, alag-alag turned rulers. Yahan se hamara goal: -numbers diye gaye, -numbers compute karo arrow ko kabhi touch kiye bina.

PICTURE. Do axis crosses ek origin share karte hain: kale -axes, aur -axes jo angle se turned hain (faintly drawn). Lal arrow unchanged hai. -axes par uski shadows clearly -axes par uski shadows se alag lengths hain.


Step 5 — Arrow ko EK -axis par project karo

KYA. Ek single -axis lo, jaise . Uski shadow-number hai (Step 3 ki machine). Ab Step 2 ka arrow ka -form substitute karo:

KYUN. Hum ko -language mein rewrite karte hain kyunki -numbers wo data hain jo hamare paas hain. Iss tarah likhne ke baad, dot product sum mein distribute ho jaata hai, aur har piece ek axis-dotted-with-axis ban jaata hai.

PICTURE. Lal axis; teen faint kale arrows ; har ek par apni chhoti shadow daalta hai. Poori shadow un teen axis-shadows ka weighted sum hai, weights -components hain.


Step 6 — Har axis-to-axis dot ek direction cosine hai

KYA. Ek term dekho, . Dono unit vectors hain, toh -axis 1 aur -axis ke beech angle ka cosine. Woh single number hai.

KYUN. Ye cosines hi reason hain ki object ko "direction cosine matrix" naam diya gaya hai. Ye sirf is baat par depend karte hain ki dono frames kaise twist hain, arrow par nahi — toh hum inhe ek baar compute karke har arrow ke liye reuse kar sakte hain.

PICTURE. aur ke beech angle ek wedge ki tarah draw kiya gaya; uska cosine matrix ke row 1, column 1 par stored number hai. Chhota angle → cosine nearly 1 (axes nearly aligned); → cosine 0 (axes perpendicular, zero contribution).


Step 7 — Teeno rows stack karo: matrix appear hoti hai

KYA. aur ke liye bhi Step 5 karo. Har ek teen cosines ki ek row deta hai. Teeno rows stack karna hi matrix hai, aur poori cheez mein collapse ho jaati hai.

KYUN. Matrix bas ek bookkeeping grid hai: row teen cosines hold karta hai jo build karte hain. Matrix–vector multiplication defined hai "row-dot-column" ke roop mein, jo exactly Step 5 ka sum hai. Matrix koi naya idea nahi — wahi teen projections hain ek tidy costume mein.

PICTURE. grid. Row 1 red mein highlighted = " ko -coordinates mein likha gaya." Neeche, multiplication dikhaya gaya jisme har row poora column "kha" raha hai.


Step 8 — Degenerate case: frame = frame

KYA. Agar humne kabhi twist hi nahi kiya — exactly ke upar baitha hai? Toh , har same-index angle hai (cosine ), har cross angle hai (cosine ). Matrix identity ban jaati hai.

KYUN. Ye sanity anchor hai. "No rotation" ko har arrow ke numbers unchanged chhodni chahiye: . Agar tumhara DCM formula kabhi zero twist ke liye ke alawa kuch aur de, toh tumhare mein bug hai. Ye ye bhi dikhata hai ki elementary ka limit smoothly ban jaata hai: , .

PICTURE. Dono axis crosses perfectly ek doosre ke upar; wedge angles sab ya hain; grid s ki diagonal se fill ho jaata hai.


Ek-picture summary

Upar ki poori cheez ek single frame mein: lal arrow (unchanged), do twisted axis crosses, ek highlighted angle , aur arrow jo us cosine ko uski grid slot mein daal raha hai. Pipeline left-to-right padhi jaati hai: arrow → par project karo → har axis-pair angle → uska cosine → matrix entry → -numbers multiply karo → -numbers.

one arrow v

project onto b-axis i

angle between b_i and a_j

cosine of that angle

matrix entry C_ij

multiply A numbers

B numbers

Recall Feynman: poori walkthrough plain words mein retell karo

Main aur mera ek dost dono ek hi patang ki taraf point karte hain. Patang real hai — jab hum directions par argue karte hain tab wo hilti nahi. Main usse apne do rulers (apne axes) ke against measure karta hoon aur do numbers pata hai; wo numbers bas woh shadows hain jo patang ka arrow mere rulers par daalta hai, aur har shadow ki length arrow ki length times us angle ka cosine hai jo wo us ruler se banata hai. Meri dost ne apne rulers thoda ghuma liye hain, toh uske shadows alag nikle. Meri numbers ko uski numbers mein baadlne ke liye, main patang ko bilkul touch nahi karta: mujhe bas itna jaanna hai ki uske rulers mere rulers ke comparison mein kitne twisted hain — aur "kitne twisted" measure hota hai uske har ruler aur mere har ruler ke beech angle ke cosine se. Nau aise cosines (uske teen rulers times mere teen rulers) ek chhoti grid banate hain, direction cosine matrix. Mere teen numbers us grid se multiply karo aur uske teen numbers nikal aate hain. Agar usne apne rulers kabhi twist nahi kiye, toh har matching angle hai (cosine ) aur har crossing angle hai (cosine ), toh grid bas diagonal pe s hai — identity — aur uske numbers mere barabar hain, exactly jaisa hona chahiye. Aur kyunki rulers ghoomane se arrow kabhi stretch nahi hota, patang ki distance dono hamaari descriptions mein same aati hai — ek free check ki humne sahi kiya.

Recall Quick self-test
  • Dot product kaunsa physical operation perform karta hai? ::: ye axis par arrow ki perpendicular shadow ki length measure karta hai
  • Har matrix entry ek cosine kyun hai? ::: har entry ek unit-axis dotted with ek unit-axis hai, aur
  • ki row kya represent karti hai? ::: -axis ko -coordinates mein likha gaya
  • Jab ho toh matrix kya equal honi chahiye? ::: identity
  • Arrow ki length dono frames mein same kyun rehti hai? ::: rulers ghoomane se arrow kabhi stretch nahi hota; orthogonality length preserve karta hai

Prerequisite frames aur tools Reference frames in rocketry — inertial, body, wind aur Orthogonal matrices and rotation groups SO(3) mein hain; multi-rotation build-up Euler angles — yaw pitch roll mein hai.