Professional Documents
Culture Documents
2 Frames and Rotations
2 Frames and Rotations
and rotations
DESIGN OF MECHATRONICS SYSTEMS
DR. MOHAMMAD HAYAJNEH
𝑣𝑦
𝑣
𝑣𝑥
𝑣𝑧 𝑥1
𝑧1
𝑥0
𝑧0
𝑦0
𝑦1 𝑣𝑥𝑜
Vector 𝑣 In ℱ 0 𝑣0 = 𝑣
𝑦𝑜
𝑣 𝑣𝑥𝑜 cos 𝜓 + 𝑣𝑦𝑜 sin 𝜓
Vector 𝑣 In ℱ 1 𝑣 1 = 𝑥1 =
𝑣𝑦𝑜 𝑣 𝑣𝑦1 − 𝑣𝑥𝑜 sin 𝜓 + 𝑣𝑦𝑜 cos 𝜓
𝑥1
𝜓 cos 𝜓 sin 𝜓 𝑣𝑥𝑜
=
− sin 𝜓 cos 𝜓 𝑣𝑦𝑜
𝑧0 = 𝑧1 𝑣𝑥𝑜 𝑥0
cos 𝜓 sin 𝜓 0
𝑣𝑦𝑜 𝑣 𝑅01 = − sin 𝜓 cos 𝜓 0
𝑥1 0 0 1
𝜓 −1 𝑇
𝑣 0 = 𝑅10 𝑣 1 = 𝑅01 𝑣1 = 𝑅01 𝑣1
𝑧0 = 𝑧1 𝑣𝑥𝑜 𝑥0
1
For example if the readings of the vector 𝑣 in are = 2 and the
ℱ0 𝑣0
3
rotation angle is 𝜓 = 45𝑜 , then the vector can be represented in ℱ 1 by:
cos 45 sin 45 0 1 cos 45 + 2 sin 45 2.121
𝑣 1 = − sin 45 cos 45 0 2 = − sin 45 + 2 cos 45 = 0.7071
0 0 1 3 3 3
−1 𝑇
𝑅01 = 𝑅01 = 𝑅10
ℱ𝑏
Pitch
𝜃
𝜙 Roll
Yaw 𝜓
0 ℱ𝑏
the vector 𝑔 = 0 𝑚/𝑠 2 . How this vector is represented in
9.82
quadcopter frame (body frame), when
A) 𝜙 = 10𝑜 , 𝜃 = 15𝑜 , 𝜓 = 0𝑜
B) 𝜙 = 10𝑜 , 𝜃 = 15𝑜 , 𝜓 = 100𝑜