14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix I / Utilities / Quaternions<br />

_ _<br />

DQE_DT takes the quaternion error, and the estimated angular rate of frame<br />

(B) with respect to frame (A), and returns the time rate of change of the<br />

quaternion error.<br />

DQE_DT<br />

22.10.8 Quaternion Transformation Matrix<br />

22.10-8<br />

B B B<br />

( ∆Q<br />

, ωˆ<br />

, ∆Q&<br />

)<br />

A<br />

A,<br />

B<br />

A<br />

Equation 22.10-49<br />

Q_TO_DC takes a quaternion representing the orientation of frame (B) with<br />

respect to frame (A), and provides the transform between the two frames.<br />

Q_TO_DC<br />

B B<br />

DC B<br />

( Q , T ) ≡ ϕ ( Q )<br />

A<br />

Equation 22.10-50<br />

Expressing the direction cosines in terms of quaternion components,<br />

T<br />

B<br />

A<br />

: =<br />

A<br />

B 2 ( ( ) ) ⎟<br />

⎞ ⎛ B B T<br />

B<br />

B<br />

q<br />

⋅ + ⋅ ( ) ( ) [ ] ⎞<br />

A 0 1 I 3 2 ⎜ q ⋅ q − qA<br />

0 ⋅ q × ⎟<br />

⎠ ⎝ A A<br />

A ⎠<br />

⎜<br />

⎛ 2 ⋅ −<br />

⎝<br />

Equation 22.10-51<br />

The skew symmetric quaternion operator is defined such that it is equivalent<br />

to the vector cross product,<br />

T<br />

B<br />

A<br />

⎡ q<br />

⎢<br />

⎢<br />

: = ⎢ 2 ⋅<br />

⎢<br />

⎢<br />

⎢<br />

⎣ 2 ⋅<br />

2<br />

0<br />

+ q<br />

[ q × ]<br />

− q<br />

− q<br />

: =<br />

⎡ 0<br />

⎢<br />

⎢<br />

⎢ q3<br />

⎢<br />

⎢<br />

⎢<br />

⎣ − q<br />

2 ⋅<br />

2<br />

,<br />

,<br />

,<br />

− q<br />

0<br />

q<br />

1<br />

3<br />

Q<br />

,<br />

,<br />

,<br />

A<br />

q2<br />

⎤<br />

⎥<br />

⎥<br />

− q1<br />

⎥<br />

⎥<br />

⎥<br />

0 ⎥<br />

⎦<br />

Equation 22.10-52<br />

( q ⋅ q + q ⋅ q ) 2 ⋅ ( q ⋅ q − q ⋅ q )<br />

( ) ( )<br />

( ) ( ) ⎥ ⎥⎥⎥⎥⎥<br />

2 2 2 2<br />

q1<br />

⋅ q2<br />

− q0<br />

⋅ q3<br />

q0<br />

− q1<br />

+ q2<br />

− q3<br />

2 ⋅ q2<br />

⋅ q3<br />

+ q0<br />

⋅ q1<br />

2 2 2 2<br />

q ⋅ q + q ⋅ q 2 ⋅ q ⋅ q − q ⋅ q q + q − q + q<br />

1<br />

2<br />

1<br />

3<br />

2<br />

2<br />

0<br />

2<br />

3<br />

2<br />

1<br />

2<br />

2<br />

3<br />

0<br />

0<br />

3<br />

1<br />

0<br />

1<br />

1<br />

3<br />

Equation 22.10-53<br />

The main diagonal of the direction cosine matrix is sometimes expressed in<br />

a form that takes into account the normalisation condition,<br />

2<br />

0<br />

2<br />

3<br />

⎤<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!