06.02.2013 Views

Underwater Robots - Gianluca Antonelli.pdf

Underwater Robots - Gianluca Antonelli.pdf

Underwater Robots - Gianluca Antonelli.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

2.2 Rigid Body’s Kinematics 17<br />

The matrix J k,o ∈ IR 3 × 3 can be expressed in terms of Euler angles as:<br />

⎡<br />

J k,o ( η 2 )= ⎣ 1 0 − s ⎤<br />

θ<br />

0 c φ c θ s ⎦ φ , (2.3)<br />

0 − s φ c θ c φ<br />

where c α and s α are short notations for cos( α )and sin(α ), respectively. Matrix<br />

J k,o ( η 2 )isnot invertible for every value of η 2 .Indetail, it is<br />

− 1<br />

J k,o ( η 2 )= 1<br />

c θ<br />

⎡<br />

⎣ 1 s φ s θ c φ s θ<br />

0 c φ c θ − c θ s φ<br />

0 s φ c φ<br />

⎤<br />

⎦ , (2.4)<br />

that it is singular for θ =(2l +1) π<br />

2 rad, with l ∈ IN,i.e., for apitch angle<br />

of ± π<br />

2 rad.<br />

The rotation matrix R B I ,needed in (2.1)totransform the linearvelocities,<br />

is expressed in terms of Euler angles by the following:<br />

R B ⎡<br />

⎤<br />

c ψ c θ s ψ c θ − s θ<br />

I ( η 2 )= ⎣ − s ψ c φ + c ψ s θ s φ c ψ c φ + s ψ s θ s φ s φ c ⎦ θ . (2.5)<br />

s ψ s φ + c ψ s θ c φ − c ψ s φ + s ψ s θ c φ c φ c θ<br />

Table 2.1 shows the common notation used for marine vehicles according<br />

to the SNAME notation ([272]), Figure 2.1 shows the defined frames and the<br />

elementary motions.<br />

2.2.2 Attitude Representation by Quaternion<br />

To overcome the possible occurrence of representation singularities it might<br />

be convenient to resort to non-minimal attitude representations. One possible<br />

choice isgiven by the quaternion. The term quaternion was introduced by<br />

Hamilton in1840, 70 years after the introduction ofafour-parameter rigidbody<br />

attitude representation by Euler. In the following, ashort introduction<br />

to quaternion is given.<br />

By defining the mutual orientation between two frames ofcommon origin<br />

in terms of the rotation matrix<br />

R k ( δ )=cosδ I 3 +(1 − cosδ ) kk T − sinδ S ( k ) ,<br />

where δ is the angle and k ∈ IR 3 is the unit vector of the axis expressing the<br />

rotation needed to align the two frames, I 3 is the (3 × 3) identity matrix,<br />

S ( x )isthe matrix operator performing the cross product between two (3×1)<br />

vectors<br />

⎡<br />

S ( x )= ⎣ 0 − x ⎤<br />

3 x 2<br />

⎦ , (2.6)<br />

x 3 0 − x 1<br />

− x 2 x 1 0<br />

the unit quaternion is defined as

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

Saved successfully!

Ooh no, something went wrong!