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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix I / Utilities / Quaternions<br />

_ _<br />

22.10 Quaternion Utilities<br />

The author would like to acknowledge P.H. Jones, R.E. Daisley and J.D.<br />

Stanley for the many interesting and rigorous discussions concerning<br />

Quaternions, in particularly their evolution using gyroscope incremental<br />

angle data.<br />

22.10.1 Quaternion Conjugation<br />

Q_CONJ takes a quaternion representing the transformation from frame (A)<br />

to frame (B), and returns its conjugate quaternion representing the<br />

transformation from (B) to (A).<br />

Q_CONJ<br />

22.10.2 YPR Euler Angles to Quaternions<br />

A<br />

B<br />

22.10-1<br />

B A ( ) , Q<br />

A B Q<br />

B B ( q q )<br />

Q : = −<br />

A<br />

A<br />

Equation 22.10-1<br />

Equation 22.10-2<br />

E_TO_Q takes a Euler triplet representing the orientation of frame (B) with<br />

respect to frame (A) and provides the equivalent quaternion.<br />

E_TO_Q<br />

B B<br />

Q B<br />

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

A<br />

Equation 22.10-3<br />

The relationship between quaternion components and Euler angles is given<br />

by the following half angle equations.<br />

Q<br />

B<br />

A<br />

: =<br />

⎡ cos<br />

⎢<br />

⎢<br />

⎢ sin<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⎣<br />

Q B<br />

A<br />

B ( Φ 2 )<br />

B ( Φ 2 )<br />

0<br />

0<br />

A<br />

A<br />

Φ<br />

A<br />

: = Q ⊗ Q ⊗ Q<br />

⎤<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎦<br />

⎡ cos<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⊗ ⎢<br />

⎢ sin<br />

⎢<br />

⎢<br />

⎢<br />

⎣<br />

Θ<br />

E<br />

B ( Θ 2 )<br />

0<br />

B ( Θ 2 )<br />

0<br />

A<br />

A<br />

Ψ<br />

⎤<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎥<br />

⎦<br />

A<br />

⎡ cos<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⊗ ⎢<br />

⎢<br />

⎢<br />

⎢<br />

⎢<br />

⎣ sin<br />

Equation 22.10-4<br />

B ( Ψ 2 )<br />

0<br />

0<br />

A<br />

⎤<br />

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

Ψ 2<br />

A<br />

⎦<br />

Equation 22.10-5

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

Saved successfully!

Ooh no, something went wrong!