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 />

q<br />

q<br />

C<br />

A<br />

C<br />

A<br />

q<br />

C B C B<br />

C B<br />

C B<br />

( 1 ) : = q ( 0 ) ⋅ q ( 1 ) + q ( 1 ) ⋅ q ( 0 ) + q ( 3 ) ⋅ q ( 2 ) − q ( 2 ) ⋅ q ( 3 )<br />

B<br />

A<br />

B<br />

22.10-3<br />

A<br />

B<br />

A<br />

B<br />

A<br />

Equation 22.10-13<br />

C B<br />

C B<br />

C B C B<br />

( 2 ) : = q ( 0 ) ⋅ q ( 2 ) + q ( 2 ) ⋅ q ( 0 ) − q ( 3 ) ⋅ q ( 1 ) + q ( 1 ) ⋅ q ( 3 )<br />

C<br />

A<br />

B<br />

A<br />

B<br />

A<br />

B<br />

A<br />

B<br />

A<br />

Equation 22.10-14<br />

C B C B C B C B<br />

( 3 ) : = q ( 0 ) ⋅ q ( 3 ) + q ( 3 ) ⋅ q ( 0 ) + q ( 2 ) ⋅ q ( 1)<br />

− q ( 1)<br />

⋅ q ( 2 )<br />

22.10.4 Quaternion Normalisation<br />

B<br />

A<br />

B<br />

A<br />

B<br />

A<br />

B<br />

A<br />

Equation 22.10-15<br />

A quaternion of unit magnitude satisfies the normalisation condition:<br />

Q<br />

2<br />

: =<br />

1<br />

: =<br />

q<br />

2<br />

0<br />

+ q • q<br />

Equation 22.10-16<br />

Propagating a quaternion over time leads to errors and this condition is no<br />

longer satisfied. Q_NORMAL takes in quaternion (Q) and normalises it,<br />

returning the corrected quaternion ( C Q).<br />

From Equation 22.10-16,<br />

Q_NORMAL<br />

Q<br />

2<br />

Q<br />

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

NORM<br />

2 ( 1 + ξ ) ≅ 1 + ⋅ ξ<br />

: = 2<br />

The corrected quaternion is related to the input by,<br />

Therefore,<br />

22.10.5 Quaternion Propagation<br />

C<br />

Q<br />

≅<br />

C ( 1 + ξ ) ⋅ Q<br />

Q ≅ 2 ⋅ Q +<br />

2 ( 1 Q )<br />

Equation 22.10-17<br />

Equation 22.10-18<br />

Equation 22.10-19<br />

The orientation of frame (B) with respect to frame (A) can be propagated<br />

between time (t) and (t+∆t) using quaternion multiplication,

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

Saved successfully!

Ooh no, something went wrong!