238 A. Lamikiz, L. N. Lopez de Lacalle and A. Celaya
¸
¸
¸
¸
¸
¹
·
¨
¨
¨
¨
¨
©
§
1000
zzyx
yzyx
xzyx
kkk
jjj
iii
T
G
G
G
X
0
Y
0
Z
0
i
// (i
x
, j
x
, k
x
)
Y
i
// (i
y
, j
y
, k
y
)
Z
i
// (i
z
, j
z
, k
z
)
G
x
, G
y
, G
z
Fig. 6.11 Homogeneous transformation matrix to define the element spatial position
To represent a spatial manipulator like a machine tool, a homogeneous trans-
formation matrix is formulated to pass from one element to the next. Elemental
matrices are multiplied successively to obtain the unique homogeneous transfor-
mation matrix which can calculate the position of the tool (placed at the end of the
manipulator) with respect to the reference coordinate system. Thus, the global
transformation matrix T
4x4
of the machine and the tool is obtained.
In the case of machine tools, the tool centre point or TCP is the tool reference,
placed just at the tool tip, and the Z
tcp
axis usually matches the tool axis. There-
fore, the global homogeneous transformation matrix of a machine tool gives the
position of the TCP system (X
tcp
Y
tcp
Z
tcp
). This matrix is a function of the machine
geometrical parameters and the position of the degrees of freedom (machine axes).
For example, in Fig. 6.12 a five-axis gantry type high speed milling centre and its
kinematic model are shown. This machine presents three translational axis (X, Y and
Z) in the ram, and two rotary axes (A and C) in the headstock. Once the model is de-
signed, a reference coordinate system (X
0
Y
0
Z
0
) fixed to the machine bed is specified.
To obtain the homogeneous transformation matrix of the whole machine, different
reference systems (not shown in the figure) are set at each structural component.
Multiplying each transformation matrix from one element reference to the following
one [T
i
], the resultant homogeneous transformation matrix [T
th
] is obtained, as is
shown at the bottom of Fig. 6.12. The terms of this matrix depends on the position of
the machine tool axes (
Δ
x,
Δ
y,
Δ
z,
θ
A
and
θ
C
), geometrical parameters of the machine
structure defined as a
1
or l
4
, and finally, on the tool length, defined as l
t
.
In the same way, an error in any machine component can be considered in the
kinematic model as a new parameter. In Fig. 6.12, the theoretical and real kine-
matic schemes are presented. As shown, the position of the tool tip referred to the
(X
0
Y
0
Z
0
) coordinate system is much more difficult to evaluate as all the errors of
the machine elements and joints have to be considered.
The complexity of the homogeneous transformation approach is derived from
the large number of errors that must be considered in each elemental transformation
[8, 18]. For example, considering a linear guide, the transformation matrix gives the
motion of a coordinate system set in the carriavge with respect to a reference system
set on the guide.The ideal linear guide results in an easy translational matrix, in-
cluding the constant values a, b and c dependent on the geometry of the guide and the