3.5.3 · HinglishGuidance, Navigation & Control (GNC)

Direction cosine matrix (DCM) — construction from Euler angles

1,485 words7 min readRead in English

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

80/20 core: Ek DCM bas ek rotation matrix hai jo teen simple rotations ko stack karke bana hota hai. Agar tum ek 2D rotation likh sako aur matrices ko sahi order mein multiply kar sako, tum koi bhi attitude matrix bana sakte ho. 3-2-1 sequence master karo aur baaki sab usi ki variation hai.


1. DCM kya hai? (WHAT)

WHY it matters (GNC): Sensors (star trackers, gyros) aur actuators body frame mein rehte hain; guidance commands aur orbits inertial frame mein rehte hain. DCM unke beech ka translator hai. Har attitude estimate ultimately ek DCM hai (ya uske equivalent kuch).


2. Building block: ek single-axis rotation (DERIVE)

Frame ko angle se 3-axis () ke baare mein rotate karo. Naye frame mein ek vector ke components:


3. Teen rotations compose karna — 3-2-1 (yaw-pitch-roll) sequence (HOW)

Yeh step kyun (multiplication): pehle multiply karo, phir se premultiply karo. Middle row/column mixing poori tarah ke terms se aati hai jo ke pitch/yaw block se interact karte hain. Clean bottom-left-ish structure dekho: entry roll aur yaw se unaffected hai — ek zabardast sanity anchor.

Figure — Direction cosine matrix (DCM) — construction from Euler angles

4. Key properties (WHY inhe hold karna padta hai)


5. Worked examples


6. Flashcards

DCM ki entry physically kya equal hoti hai?
Body axis aur inertial axis ke beech ke angle ka cosine, yaani .
DCM ke liye kyun hota hai?
Rotations lengths/angles preserve karti hain columns orthonormal hain .
3-2-1 sequence (N→B) ke liye multiplication ka order?
— last rotation leftmost hoti hai.
ke unlike mein top-right mein kyun hota hai?
Axis 2 ke liye rotation plane 3–1 plane hai, isliye cyclic ordering sign placement flip kar deti hai.
Proper rotation ke liye kya hota hai aur kyun?
; ek right-handed rotation mein koi reflection nahi hoti.
3-2-1 Euler angles mein gimbal lock kab hota hai?
Jab pitch ho, toh aur yaw aur roll same axis ke baare mein act karte hain.
DCM se pitch kaise recover karte ho?
.
DCM ka small-angle form?
jahan .

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

Do logon ke baare mein socho jo ek hi paper airplane describe kar rahe hain. Ek North ki taraf face karta hai; doosra thoda ghoom gaya hai. "Naak udhar point karti hai" ko unke beech translate karne ke liye, tumhe bilkul pata hona chahiye ki doosra kitna muda. DCM ek chhoti number-table hai jo kehti hai "tumhara left mera thoda forward aur thoda left hai." Tum ise teen baar ek baad ek mur ke banate ho — spin, naak tilt karo, wings roll karo — aur teen simple turn-tables ko multiply karo. Ise wapas turn karna aasaan hai: bas table ko apne diagonal par flip karo (yahi hai).

Connections

  • Quaternions — avoiding gimbal lock
  • Euler angles — kinematic differential equations
  • Rotation group SO(3) and orthogonal matrices
  • Attitude determination — TRIAD & QUEST
  • Kalman filter — linearized attitude error state
  • Angular velocity and skew-symmetric matrices

Concept Map

entries are

dot of unit vectors

transforms vN to

source frame

target frame

derived from cos phi minus theta

special case R3

R2 uses axes 3 and 1

multiplied in order

builds

is a

Direction Cosine Matrix C

Entry Cij is dot product

Cosine of axis angle

Inertial frame N

Body frame B

2D axis rotation

Elementary DCMs R1 R2 R3

R2 sign trap

3-2-1 yaw pitch roll

Attitude matrix