You are on page 1of 11

Computer-Aided Design 36 (2004) 1219–1229

www.elsevier.com/locate/cad

A new format for 5-axis tool path computation, using Bspline curves
Jean Marie Langerona, Emmanuel Ducb,*, Claire Lartiguec,d, Pierre Bourdetd
a
Machining Solutions, Dassault Systèmes, 9 quai Marcel Dassault, BP 310, 92156 Suresnes, Cedex, France
b
LaRAMA, IFMA, Campus de Clermont Ferrand/Les Cézeaux, BP 265, 63175 Aubière, Cedex, France
c
IUT de Cachan, 9 av Division Leclerc, 94234 Cachan, Cedex, France
d
Lurpa, ENS de Cachan, 61 av du président Wilson, 94235 Cachan Cedex, France
Received 22 July 2003; received in revised form 3 December 2003; accepted 10 December 2003

Abstract
This article presents a new format of tool path polynomial interpolation in 5-axis machining. The linear interpolation usually used
produces tangency discontinuities along the tool path, sources of decelerations of the machine tool whereas polynomial interpolation reduces
the appearance of such discontinuities. The new format involves a faster tool path and a better surface quality. However, it imposes a
modification of the process so as to take the interpolation format and the inverse kinematics transformation (necessary to 5-axis machining)
into account. This article deals with the geometrical problem of tool path calculation. Validation tests are detailed. They show that profits
concern the reduction of machining time as well as the quality of the machined surfaces. Indeed, the trajectory continuity avoids the
appearance of marks and facets.
q 2004 Elsevier Ltd. All rights reserved.
Keywords: High speed milling; 5-axis machining; Bspline interpolation; Tool path computation

1. Introduction and side step values. The latter are calculated according to
the geometrical specifications, essentially form deviation
The purpose of the machining of free-form surfaces is to and surface roughness. Then, the calculation algorithm
carry out complex shapes according to a given level of calculates a set of tool positions defining the tool path by
quality, while minimising machining time. This method of calculating tangent tool locations at the surface and by
machining relates to mould and dies, aeronautics, or car arranging them according to the longitudinal and side steps.
industries. The tool path is calculated considering the given type of tool
The manufacturing process consists of four main path description format, to be read by the Numerical Control
activities. The first one relates to the design of part unit (NC unit).
surfaces using a CAD system in order to respect design During the third activity, the post-processor ensures the
requirements. translation of the APT program file to the ISO program file,
The second activity consists in calculating the machining in order to be treated by the NC unit.
tool trajectory, according to the chosen machining strategy The last activity is the realisation of the part on the
by means of a CAM system [1]. The machining strategy machine by the movement of the cutting tool. The machine
defines the geometrical characteristics that are necessary to tool is a mechanical system, generally using 3 or 5 axis of
carry out the machining. In addition to the geometry of the displacement. A NC unit controls the machine. In particular,
part surfaces and that of the tool, one chooses the machine the NC unit ensures the reading of the program, the
tool, 3 or 5 axis, the machining type, point milling or calculation of movement and speed orders of each axis of
flank milling, the machining direction and the longitudinal the machine tool.
The communication between these four activities goes
* Corresponding author. Tel.: þ33-4-73-28-80-96; fax: þ 33-4-73-28-
through the definition of geometrical languages for the
80-85.
E-mail addresses: Jean-marie_langeron@ds-fr.com (J. M. Langeron);
surface description (IGES, STEP, geometrical model of
emmanuel.duc@ifma.fr (E. Duc); claire.lartigue@lurpa.ens-cachan.fr surfaces) and for the machining tool path (APT, ISO,
(C. Lartigue); pierre.bourdet@lurpa.ens-cachan.fr (P. Bourdet). interpolation format of the tool path).
0010-4485//$ - see front matter q 2004 Elsevier Ltd. All rights reserved.
doi:10.1016/j.cad.2003.12.002
1220 J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229

To improve part quality and to decrease machining time, Section 3, we study the main difference between our both
the process must henceforth be adapted to High Speed approaches.
Machining (HSM). In particular, the tool path calculation Section 2 exposes problems linked to 5-axis machining.
and its communication to the NC unit must take the Section 3 is dedicated to the presentation of the interpolation
dynamical behaviour of the machine tool and the real-time format we propose, and the method of calculation adopted.
behaviour of the NC unit into account. Heisel and Feinauer Section 4 relates comparison tests, which show that
indicate that the form of the calculated tool path and the polynomial interpolation leads to important profits in
interpolation format used generate constraints on the real- terms of quality and machining time.
time follow-up of the tool path and may cause decelerations
of the machine tool or appearance of chatters during
machining [2]. If the tool path calculation and its
communication to the NC unit are optimised, machining 2. 5-Axis machining
time is thus minimal while respecting quality requirements.
To solve this problem, we consider that the CAM system Five axis machining is carried out on machine tools
must compute a C2 continuous tool path using polynomial which have two rotation axes (A; B or A; C or B; C)
curves. This improvement should increase the effective allowing the tool to be oriented relatively to the part in
speed of the tool during machining in 3-axis as well as in 5- addition to the usual axes of translation X; Y; Z: Bohez
axis machining of free-form surfaces. presents the various types of machine structures [9]. In
To evolve in this direction, NC units now propose to read the present work, we are only interested in continuous 5-
polynomial or Bspline curves in 3-axis milling (Heinden- axis machining, the most generally used for aeronautics
hain, Siemens, Fanuc and Num for example). It is thus parts. Continuous 5-axis machining is used for the
necessary to define a dedicated format for the communi- surface milling with ball end or toroı̈dal cutter, and
cation of the tool path between the CAM system and the NC flank milling with cylindrical or conical cutter.
unit, for the APT format only considers linear and circular Five axis machining poses two different types of
interpolation formats. CAM systems must evolve to propose problems. The first one can be described as geometrical. It
tool path computation methods well adapted to this new relates to the tool path calculation in the part coordinate
format. However, in 5-axis the problem is more difficult system (P-system) and also to the inverse kinematics
since calculation methods must integrate the problem of the transformation that is necessary to calculate position
inverse kinematics transformation. instructions of the 5-axis from the calculated tool path.
This article presents a new format of tool path The second type is mechanical and relates to both speed and
computation and interpolation for 5-axis machining, acceleration calculation and control of the 5-axis using
based on the Bspline interpolation of the tool path in adapted laws. The most usual interpolation format of the
the part coordinate system, respecting accuracy require- tool path in 5-axis machining is the linear one. The tool path
ments. The goal is to define a 5-axis tool path description calculated using the CAM system is expressed in APT
format, adapted to the communication between the CAM format and is transformed into ISO format by means of a
software and the NC unit. In this case, the CAM output is post-processor.
directly expressed through Bspline curves. We propose a
calculation method allowing solving the computation
2.1. Geometrical problem associated to the 5-axis
problem.
tool path computation
Generally the Bspline interpolation is used to build curve
for CAD systems. Some works are related to the curve
interpolation for NC machining, such as papers presented by As the geometrical problem is concerned, the computing
Erkorkmaz, Cheng, Xu, Yeh, and Yong [3 –7]. Authors process of position instructions of the 5-axis can be divided
suggest to use tool path described as polynomial curves, to in four stages.
enhance the acceleration, speed and chord error control,
during the real-time NC follow-up of the tool path. The (1) Initially, the tool path is calculated as a set of tool
main results consist in a smoother variation of the speed positions and tool axis orientations in the given
axis, a reduction of machining time and a diminution of the interpolation format. The tool path is expressed in the
chordal error. part coordinate system (P-system). To perform this
Our approach does not consider real-time interpolation step, various calculation algorithms are available in
but it is only located at the CAM stage, and concerns the literature. Li, Takeuchi and Choi present such methods
geometrical calculation of the tool path. To ensure the [10 –12].
follow-up of the tool path, we use an adapted NC unit Let us call Pi ; the ith tool position and Ai the ith tool
Siemens 840D. Many papers study the computation of tool axis orientation expressed in the P-system. If we
path with curves in 5-axis milling. Only Fleisig and Spence consider two successive couples ðPi ; Ai Þ and
presents an off line interpolation of the tool path [8]. In ðPiþ1 ; Aiþ1 Þ; the tool is supposed to be moving in
J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229 1221

straight line in the P-system. the movement of the tool in the M-system is as close as
possible to the ideal movement. The really treated tool path
PðuÞ ¼ Pi þ uðPiþ1 2 Pi Þ
; for 0 # u # 1 ð1Þ is thus computed at two stages: first, in the P-system by the
AðuÞ ¼ Ai þ uðAiþ1 2 Ai Þ CAM system, and second, in the M-system by the post-
processor. In the same way, the speed of each axis is
Successive couples are computed in order to respect a
programmed according to time inverse so that the
given deviation named machining tolerance. The
programmed tool feedrate is respected. In this case, we
distance between the computed tool path and
consider that the post-processor is of major importance in
the theoretical perfect tool path must be closer than
the geometrical calculation of the tool path. As a result, the
the machining tolerance, along the tool path.
final error between the real tool path and the ideal one is the
(2) Instructions of the rotation axes are calculated from the
addition of the CAM computation error, the post-processor
previous set of tool axis orientations [13]. This
error and the NC follow-up error.
calculation leads to solve a trigonometrical system,
Note that, the calculated tool path is adapted to a
which can have zero, one, or several solutions in the
dedicated machine tool, with its own kinematics and its
space of authorised situations of the machine.
own NC unit. The change of machine tool involves a
(3) Next step is the calculation of the coordinates of the
new calculation program. Furthermore, when changing
tool TIP in the machine coordinate system (M-system).
interpolation format, it is necessary to modify the CAM
The ISO program is generated.
calculation, the treatment of the NC unit, and the
(4) The NC unit interprets the programmed locations of the
kinematics transformation carried out by the post-
5-axis and axis orders are calculated according to
processor.
dimensions of the tools and adjustments of the machine
Henceforth, all these problems can be avoided with
(Fig. 1).
the use of new NC units for they can perform all tool
The inverse kinematics transformation relates to stages 2 path treatments in the P-system. Indeed, NC units carry
and 3. Bohez presents a complete analysis of the inverse out in real-time the tool path interpretation and the
kinematics transformation [14]. The post-processor usually inverse kinematics transformation just after the tool
performs the inverse kinematics transformation during the location calculation (TRAORI function for Siemens
translation stage of the APT file. The geometrical analysis of 840D) [15]. The tool path calculated by the CAM
this transformation shows that the transformation is not system is directly transmitted to the NC unit. The role of
linear from the P-system to the M-system. A linear the post-processor is only limited to the translation of the
movement of the tool expressed in the P-system is not APT format into the ISO format. In this case, the
transformed into a linear movement of the tool in the geometrical transformation takes place for each calcu-
M-system. The same effect can be observed on the real lation of a tool location order. Therefore, any interp-
speed of the tool relatively to the part. The speed of the olation format is seen the same way as regards the
tool relatively to the part is the subtraction of that of the tool geometrical transformation. At this point, two comp-
relatively to the M-system minus that of the part relatively lementary activities can be defined:
to the M-system (Eq. (2)).
† the CAM system calculates the tool path according
Vtool=part ¼ Vtool=M-system 2 Vpart=M-system ð2Þ to the specified machining tolerance in the P-system,
To solve both problems, post-processors generally add † the NC unit carries out the interpretation and the
tool locations on the initially calculated tool path so that follow-up of the tool path in the P-system, and
calculates displacement and speed orders of the motion
axes.

Note that this configuration is well known in 2.5- or 3-


axis machining where the post-processor just ensures the
necessary translation of languages. The integration of the
inverse kinematics transformation at the level of the NC unit
makes coherent the 5-axis machining with the 3-axis
machining process, and makes also coherent the NC unit
of the machine tools with that of robots.

2.2. Mechanical problems associated to the 5-axis


tool path follow up

At the mechanical level, the problem relates to the


Fig. 1. Tool path transformation from P-system to M-system. performance of the rotation axes comparatively to
1222 J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229

the translation axes. For machines for which rotation axes be carried out in the part coordinate system (problem A
are located on the table, axes have to move important before problem B) or in the machine coordinate system
masses and also support significant efforts during machin- (problem B before problem A)?
ing. As a result, they have low capacities of acceleration. Concerning the case for which the tool path can be
When the machine has to slow down or to stop the tool computed in the M-system, problem B before problem A,
movement, the speed reduction involves significant times of the computation is carried out by the NC unit from the CAM
deceleration and re-acceleration. This effect appreciably ISO data. Direct calculation in CAM supposes that the CAM
increases machining time, and is amplified in HSM, because system carries out the inverse kinematics transformation.
rotation axes must reach greater speeds. Therefore, it can be For example, the movements of the axes X; Y; Z; A; C are
economically more interesting to machine in 3-axis at high defined using five polynomial curves expressed in the M-
speeds and a minimal number of decelerations, than in system.
5-axis. As the other case is concerned, problem A before
Decelerations generally appear when the tool path problem B, the CAM system fits a curve to a sub-set of ideal
presents tangency or curvature discontinuities, or when tool path positions. In other words, P and A are expressed in
the speed of the rotation axes abruptly evolve. To avoid P-System, using Bspline Curves (Eq. (1)). At this stage, tool
producing marks on the part or generating a too large path discontinuities may simply be detected. The curve is
contour lag error, the NC unit decides to slow down, even to directly transmitted to the NC unit, which interprets it
stop. Bloch details some aspects of the NC units well before performing the inverse kinematics transformation.
adapted to HSM [16]. Erkorkmaz shows that discontinuities Therefore, this case seems well adapted to 5-axis machining
are source of high frequency vibrations, which can excite using polynomial tool path.
the natural modes of the machine tool structure [3]. Contrary In Section 3.1, we consider that problem A is solved
to machining with 3-axis, 5-axis machining at high speeds before problem B. The movement of the tool TIP and the
imposes good clockwork of all the axes, i.e. the most tool axis orientation are expressed as polynomial curves in
constant variation of the 5-axis movements between two the P-system. The NC unit interprets the tool path, samples
programmed successive positions. The number of tool the tool path in the P-system and calculates the tool
locations is increased to obtain the same distance between movement orders for each sampling period.
two successive positions, even if the machining tolerance is
already respected. 3.1. Description of the interpolation format:
To remove tangency discontinuities, CAM systems must the 5xNurbs format
thus compute C2 continuous tool paths, as smooth as
possible, without abrupt variations of the tool orientation.
We propose to describe the tool movement as follows.
Basically, the linear interpolation commonly used only
The tool movement is defined using the two parametric
produces a C0 continuous tool path and seems not well
curves PðuÞ and QðuÞ:
adapted. Previous work showed profits in the part surface
quality and in the management of speeds in 3-axis
† PðuÞ ¼ ðXtðuÞ; YtðuÞ; ZtðuÞÞ; defines the locus of the tool
machining when using polynomial interpolation [17,18].
TIP locations,
Consequently, the use of polynomial interpolation seems a
† QðuÞ ¼ ðXhðuÞ; YhðuÞ; ZhðuÞÞ; defines the locus of a
factor of improvement in 5-axis HSM. Section 3 presents
second point belonging to the tool axis.
the interpolation format we have defined, based on the use
of Bspline curves.
Note that this description is generic and allows the
expression of the tool path for all types of machining 3- or 5-
axis, machining in point or flank milling and for all
3. Polynomial interpolation in 5-axes
interpolation formats (Fig. 2).
When using polynomial interpolation in 5-axis machin-
ing, two geometrical calculations are necessary, at the CAM
and Post-processor stages:

† problem A: computation of the tool path using a


polynomial curve,
† problem B: calculation of the inverse kinematics
transformation.

Here, the essential difficulty concerns the relative


position of these two problems within the general process.
In other words, does the calculation of the tool path have to Fig. 2. Definition of the tool path using the 5xNurbs format.
J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229 1223

The tool path is thus expressed like a polynomial For each parameter u; the unit vector of the axis is
function C of R towards R6 : obtained using the following relation
n 
C : R ! R6 Xn X 
0 1 0 1  
XtðuÞ AðuÞ ¼ Ni;m ðuÞðQi 2 Pi Þ= Ni;m ðuÞðQi 2 Pi Þ
 
B C B C i¼0 i¼0
B C B C
B YtðuÞ C B PðuÞ C with u [ ½m0 ; mnþmþ1  ð8Þ
B C B C
B C B C
B C B C
B ZtðuÞ C B C Fleisig proposes a different method, for curve
B C B C
u ! CðuÞ ¼ B C¼B C with PðuÞ [ R3 interpolation from a set of tool locations and orientation,
B C B C
B XhðuÞ C B C
B C B C using quintic spline and Bézier curves [8]. The tool path
B C B C
B YhðuÞ C B QðuÞ C is then C3 continuous. The goal is to produce a constant
B C B C
@ A @ A feed and to reduce the angular acceleration. To compare
ZhðuÞ with our method, PðuÞ is the position curve and ðQðuÞ 2
3 PðuÞÞ=llQðuÞ 2 PðuÞll is the orientation curve. Fleisig uses
and QðuÞ [ R ð3Þ
a near arc length parameterised quintic polynomial spline
The calculation of the tool location relatively to the for the position curve and a near arc-length parame-
surface is led by a usual calculation of distance in metric terised quintic spherical bezier curve for the orientation
space. By gathering the coordinates, we construct two curve. A third spline is necessary for the re-parameter-
curves PðuÞ and QðuÞ in the P-system. isation of both curves and the synchronization of the
The two curves are computed so that their relative position and the orientation splines. In our method, both
distance is equal to a length H: curves are defined with the same parameterisation and
using the same Bspline format, and are calculated using
’H [ R so that ;u; llQðuÞ 2 PðuÞll ¼ H ð4Þ
the same algorithm at the same level. The use of the
The tool axis AðuÞ is thus calculated for each value of the parameterisation curve is thus not necessary. The real-
u parameter by subtraction of the two curves: time computation of the tool location and the speed is
AðuÞ ¼ ðQðuÞ 2 PðuÞÞ=llQðuÞ 2 PðuÞll ð5Þ ensured by the NC Unit Siemens 840D.
However, the main difference consists in the choice of
H corresponds to the height of the tool in flank milling and the the initial tool location set. Fleisig has not concentrated on
diameter of the tool in point milling. It defines the size of the this issue, considering that the set of tool locations is given.
hull containing the tool. The direct computation of PðuÞ and With our approach, we select a set of tool locations from the
AðuÞ curves can introduce gouging due to the size of the tool, whole theoretical tool path, defining an initial curve that fits
whereas the computation of PðuÞ and QðuÞ take that into the theoretical tool path while respecting a specified
account. Considering a point located on the cutting area of the machining tolerance. Our algorithm is thus located at the
tool surface, for a given parameter u* ; its distance to the ideal CAM stage dedicated to the tool path computation. Section
tool location is less than the distance of the point Qðu* Þ to the 3.2 details the calculation method of tool path as Bspline
ideal curve Q: Using this format, one can thus quantify the curves.
maximal distance between the side of the tool and the surface
or the distance between the back of the tool and the part, when 3.2. Method of tool path calculation
the use of PðuÞ and AðuÞ as defined in Eq. (1) does not permit
them. Indeed, the length of AðuÞ is equal to 1. If the The tool path calculation is carried out by interpolation
computation of the tool path gives an error equal to 0.01 mm of a set of particular positions of C2 continuous portions of
for Aðu* Þ; then the real error is multiplied by H: the tool path. The tool path calculation is divided into four
Polynomial interpolation curves are non-uniform cubic steps.
Bsplines. Each one is defined by a set of ðn þ 1Þ control
points and a knot sequence mj representing the variation of (1) Whatever the tool geometry and the type of machining,
the parameter u along the curve. The degree m is equal to 3. the first step relates to the calculation of a tangent
Both curves P and Q present the same parameter setting in location of the tool on the surface. Calculation can be
order to synchronise the two trajectories. led according to algorithms proposed by Yu, Lee and
Xn
Li in Refs. [19 –21].
PðuÞ ¼ Ni;m ðuÞPi with u [ ½m0 ; mnþmþ1  and Ni;mþ1; (2) The second step relates to the organisation of the
i¼0
successive tool locations so as to respect the
spline functions ð6Þ machining tolerance and according to the given
X
n interpolation format [22]. When using the poly-
QðuÞ ¼ Ni;m ðuÞQi with u [ ½m0 ; mnþmþ1  nomial interpolation, the tool path is calculated from
i¼0
a set of sampled positions belonging to the
and Ni;mþ1; spline functions ð7Þ theoretical tool path. The tool path is thus calculated
1224 J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229

as polynomial curves so that the distance between


the calculated tool paths to the theoretical one is
lower than the specified machining tolerance while
minimising the geometrical information sent to NC
unit.
(3) The next step concerns the tool path planning in the
transversal direction according to the respect of the Fig. 3. Computation of the tool path.
maximum transversal step or the maximum scallop
height allowed. Lee proposes a calculation algorithm
of the maximum step in 5-axis machining [23]. define a very fine sampling of tool locations, which implies
(4) The last step is dedicated to the detection of tool path the calculation of a great number of Mi positions of the tool
discontinuities, which becomes essential in poly- along T (2). Each, position Mi is defined by six coordinates
nomial interpolation. Indeed, polynomial interp- (Xti, Yti, Zti, Xhi, Yhi, Zhi). This sampling less than 0.1 mm
olation permits to associate C2 continuous curves to is too fine to be directly sent to the NC unit.
tool path portions. As a result, those portions must be From the initial set, we select a sub-set of n Mi positions
at least C2 continuous, and tangency or curvature (3). The Mi positions are regularly distributed so as to
discontinuity points must be detected. Choi presents a minimise the number of interpolating points and in order to
method based on the comparison of the relative take curvature variations of the tool path into account. The
position of the tool centre’s points and contact points selected set of Mi positions defines a broken line (4), which
in 3-axis machining [24]. Duc proposes to isolate the is an approximation of the theoretical tool path, respecting a
portions from tool path having soft variation of given maximal chordal error. The maximal chordal error is
curvature radius [25]. If the discontinuity point is not greater than the machining tolerance, so that the number of
precisely detected, the CAM system must add chosen points is very small. The number and the locus of the
interpolating points or control points in order to Mi interpolating points depend on the form of the theoretical
respect the machining tolerance. In this case, the curve and on the given machining tolerance. Several
calculated curve may present oscillations of great distributions are possible, but the best one minimises the
frequency and curve arcs of low lengths, which number of Mi positions and avoids the appearance of
disturbs the follow-up of the tool path by the NC oscillations on the calculated curve. The calculated tool path
unit. Consequently, a tool path calculated and (5) is computed by interpolation of the Mi points. The curve
optimised for linear interpolation is not a good is accepted, when it is located in the pipe (6) centred on the
support for an accurate and optimal calculation of a theoretical curve (1), and which radius is equal to the
tool path in polynomial interpolation. machining tolerance (7).
To ensure at least a C0 continuity at the junction points of
The method we develop relies on the interpolation of tool the different curves, we impose that extremities must
path portions using non-uniform cubic Bsplines. Each coincide. The problem of interpolation is solved according
portion of the calculated tool path is a curve C of R6 (see to the following steps [26]:
Eq. (3)). C is solution of the problem of interpolation of a set
of tool locations belonging to the theoretical tool path that † Parameter setting of the curve: the parameter ui of each
exactly machines the surface. We use the method suggested Mi position is equal to the arc length of the Mi position
by Piegl [26]. Note that the tool path interpolation problem on the curve T1; in order to obtain a near arc length
is not the same than the curve interpolation problem, defined parameterisation,
in CAD software. Our problem is not to compute a curve † Calculation of the knot sequence: the knot sequence
passing trough a set of points, but to compute a curve in a includes n þ 5 knots, which verify:
given format, which is an approximation of a theoretical
curve. The calculated curve must be located in a pipe m0 ¼ m1 ¼ m2 ¼ m3 ¼ 0; mnþ1 ¼ mnþ2 ¼ mnþ3 ¼ mnþ4
centred on the theoretical curve. The distance between both 1X
jþ2
curves must be evaluated along the whole curve and be less ¼ l; mjþ3 ¼ u for j ¼ 1; …; n 2 3;
3 j i
than the given machining tolerance, which defines the radius
of the pipe. In addition, the number of passing points must
where l indicates the length of T1;
be minimal, in order to simplify the NC unit treatment.
† Construction of the problem of interpolation: for each Mi
Let us consider a C2 continuous portion T of the
(Xti, Yti, Zti, Xhi, Yhi, Zhi) position, Mi belongs to the
theoretical tool path. In fact, T corresponds to two portions
searched C curve and verifies:
of C2 continuous curves, T1 and T2, describing the
movement of the tool TIP and of another point of the tool X
n
axis, distant by H distance of the tool end (see Eq. (4)). Fig. 3 Mi ¼ Nj;m ðui ÞPj ; for i ¼ 0; …; n ð9Þ
presents an example of such curve T1 or T2 (1). From T; we j¼0
J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229 1225

Eq. (9) leads to a linear problem of 6·ðn þ 1Þ equations for defined on the set of the functions of R in R6 : The
6·ðn þ 1Þ unknowns (coordinates of the Pj control points). computation is based on the calculation of the distance
between a tool location X (X1ðx1; y1; z1Þ; X2ðx2; y2; z2Þ) of
† Inversion of the problem and calculation of the control R6 (belonging to C) and the ideal curve.
points of the curve C, d6 ðX; TÞ ¼ MinðMaxðllX1; T1ðutÞll; llX2; T2ðutÞllÞ; ð10Þ
† Checking the respect of the machining tolerance by for ut covering the interval of definition of T, ll ll indicates
calculation of the distance between the calculated curve the Euclidean distance in R3 :
and T: If the machining tolerance allowed is not respected, The distance between the curves C and the T is thus
a refining of the sampling of the Mi positions is carried out. obtained by Eq. (11)
The verification of the respect of the machining tolerance DðC; TÞ ¼ Maxðd6 ðCðucÞ; TÞ; for uc covering the interval
is led by analysing the distance between a sampling of C and
T, distance which is calculated according to the norm of definition of C: ð11Þ

Fig. 4. 5xNurbs format, example of program.


1226 J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229

This method we expose easily computes interpolation


curves. However, the most significant interpolation errors
are located at the extremities. To decrease error, tangents at
the extremity points must be imposed.
In the case of smooth aeronautic parts, this algorithm
describes a 270 mm length tool path, using only one Bspline
with six control points and three arcs, with a machining
tolerance equal to 0.02 mm. This algorithm is integrated to the
Catia CAD/CAM Software. Siemens has developed the
Oricurve function to treat such curves. Fig. 4 presents an
example of a tool path generated using the polynomial format.
XT, YT, ZT and XH, YH, ZH are the coordinates of the
control points, solution of the problem defined in Eqs. (3)
and (9). The parameters DK and PL identify the variation of
the knot sequence for each arc of the curve and W indicates
the weight of the control point, which is equal to 1 for
Bspline curves.

4. Applications

Several test parts were defined and machined in order to


Fig. 5. Part PM5X: computed tool path (Bspline/linear).
estimate benefits brought by the polynomial interpolation.
They are representative of different type cases in five for the 5xNurbs interpolation. All the tests showed that the
continuous axes machining: polynomial interpolation makes it possible to decrease
the number of geometrical information necessary to control
† machining of a smooth surface with a toroidal cutter to the tool. Generally, a tool path portion not having
maximise the covering rate, discontinuity is expressed as only one C2 continuous Bspline
† machining of a cavity with a hemispherical tool to avoid curve from the beginning to the end of the portion. The
collisions with the part, elementary arc length is longer than that in linear
† machining of surfaces having the shape of a turbine blade. interpolation. In Fig. 5, segment ends are represented as
lines on the right for the linear interpolation (A). The ends of
Machining was carried out on the Mikron UCP710 the 51 interior arcs of Bspline (1) are represented on the left
milling centre of Lurpa, equipped with a Siemens 840D NC for the Bspline tool path (B). The number of segments is
unit adapted by Siemens to treat 5xNurbs tool paths. Cutting strongly reduced. Fifty-four control points (2) define the
tools are carbide tools authorising a spindle speed of curve, whereas 129 points are necessary for linear interp-
15 000 rpm and feedrates variable between 2000 and olation. The length of each arc is varying between 2 and
4000 mm/min. Due to the functionality of the Siemens 8 mm. The length of the arcs is reduced when the curvature
NC unit, we have compared various modes of interpolation, radius of the tool path is reduced. The NC unit can thus read
the linear interpolation G1, the linear format interpolated in longer segments. The error between the computed curve and
a polynomial curve in real-time by the NC unit (function the theoretical one lies between 2 0.006 and 0.005 mm.
compcad of the Siemens 840D) and the 5xNurbs The quality of the calculated tool path depends on the
interpolation. geometry of the surfaces to be machined and on the accuracy
Two preliminary analyses were conducted. One concerns of the tool path calculation. When the surface presents
the length of elementary tool paths and the second one tangency discontinuities, this may imply a non-optimised
relates to the evolution of interpolation errors along the tool tool path calculation and may alter the performance of the NC
path. Following, real machining was carried out, and we
unit. Initial surface must be C2 continuous. If a loss of
have compared machining time and analysed real speed of
accuracy during the interpolation is authorised at the points
the axes. Finally, the quality and the visual aspect of the
of connection is authorised, this may lead to a smoother
machined parts were studied.
movement and improve the performance of the NC unit.
4.1. Distribution of the arcs of curves
4.2. Kinematic analysis
For this analysis, the length of each elementary tool path
segment is evaluated. The elementary segment is a line The problem of the axis speed results from the treatment
segment for the linear interpolation and an arc of the Bspline of the tool path by the NC unit. Indeed, NC must calculate
J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229 1227

a speed law according to the motorization of each axis, surface and the nominal surface) according to methods
taking the acceptable variations of contour lag error into suggested by Jerard and Lartigue [27,28]. A grid of points is
account, and considering the response in vibration of the computed on the surface of the part. For each point, the
machine tool structure. The C1 continuity of the tool path straight line normal to the surface is computed and oriented
and the interpolation format play a significant role. outer of the part. A sampling of the tool path simulates the
Theoretically, it is impossible to cross a C1 discontinuity machining. The intersection between each line and each tool
with a non-null speed while ensuring a weak contour lag location and the associated distance are computed. For each
error. When the linear interpolation is chosen, either due to line, the minimum value is kept.
the form to be machined or to the tool path calculation, C1 The variation of geometrical errors is more continuous
discontinuities between successive elementary tool paths when using the polynomial interpolation. Even if maximum
exist and the NC unit must use algorithms to detect such error values are of the same magnitude order, the error is
discontinuities and to smooth them. Considering the more homogeneous on great portions of the tool path. In
adaptation of the algorithm to the tool path, this treatment case of the PM5X test, which presents the machining of a
is more or less powerful. cavity (see Figs. 7 and 8), errors are concentrated on the
For our testing machine tool, rotation axes are less connection between two surfaces. The interpolation of a tool
dynamic than translation axes. The machine is set with weak path by a Bspline curve with a tolerance equal to 0.01 mm
gain for the position control loop and a low value of the jerk involves significant errors at the ends of the curves.
to smooth the speed orders and to avoid marks on the parts. The surfaces of the machined parts present the same
Similarly, each speed variation causes a significant increase defects. Marks due to the decelerations in linear interp-
of machining time essentially due to the significant olation and the A-blows speeds of the rotation axes are
deceleration time. The polynomial interpolation allows an eliminated as for the facets appearing on large curvature
important benefit in machining time, by eliminating C1 radius (see Fig. 7).
discontinuities of the tool path present in linear interp-
olation. As the tool path is C2 continuous, it is not necessary
to slow down. The NC unit better interprets the tool path and
only orders slow-downs when it is really necessary.
Generally, the machine is more dynamic and the tool
presents a more continuous, fast and smooth movement. The
rotation axes can reach the ordered speed more quickly and
maintain it for a longer period of time. The benefit is
particularly significant on complex C2 continuous shapes
that present great variations of curvature. Fig. 6 presents the
evolution of the actual mean feedrate of machining
in function of the interpolation format and the programmed
feedrate. The use of Bspline curve multiplies the average
feedrate by two. The polynomial interpolation, computed in
real-time (function compcad) also allows a gain of
approximately 300 mm/min.

4.3. Quality analysis

To compare the two interpolation formats, we have


simulated the machined surface and then evaluated
geometrical deviations (deviations between the simulated

Fig. 6. Part AI5X: measured average feedrate. Fig. 7. Part PM5X: simulation of the machining errors G1/5xNurbs.
1228 J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229

dimensions into account. The model suggested in this


article contains all geometrical information that is necessary
to define algorithms for compensation (in particular the
normal to the tool path for each tool position). In flank
milling, it is sufficient to know if the part is on the left or on
the right of the tool, and to develop algorithms for
compensation of tool diameter variations. Further work
will focus on this point.

Acknowledgements

The work presented in this article relates to the 5xNurbs


project, which gathered Dassault Systèmes, Siemens, Cenit
and Lurpa about the development of a new format of
interpolation in 5-axis machining.

References
Fig. 8. Parts PM5X and AI5X: machined part, elimination of facets and
[1] Choi B, Jerard R. Sculptured surface machining-theory and
marks.
applications. Dordecht: Kluwer Academic Publishers; 1998.
[2] Heisel U, Feinauer A. Dynamic influence on workpiece quality in high
speed milling. CIRP Ann. Manuf Technol 1999;48(1):321–4.
5. Conclusion and prospects [3] Erkorkmaz K, Altintas Y. High speed CNC system design. Part I: jerk
limited trajectory generation and quintic spline interpolation. Int J
HSM requires to guarantee a high speed of the axes of the Mach Tools Manuf 2001;41:1323–45.
machine tool all tool path long. This depends on both the [4] Cheng M-Y, Tsai M-C, Kuo J-C. Real time Nurbs command
generators for CNC servo controllers. Mach Tool Manuf 2002;42:
numerical controller capacities to calculate laws of optimal
801 –13.
accelerations and the CAM system capacity to calculate [5] Xu HY. Linear and angular feedrate interpolation for planar implicit
accurate tool paths that are adapted to the NC unit treatment. curves. Comput-Aided Des 2003;35(3):301 –17.
This article presents a new description format of the tool [6] Yeh S-S, Hsu P-L. The speed-controlled interpolator for machining
path in 5-axis machining. This format uses non-uniform parametric curves. Comput-Aided Des 1999;31(5):349–57.
[7] Yong T, Narayanaswami R. A parametric interpolator with confined
cubic Bspline curves and expresses the tool movement in
chord errors, acceleration and deceleration for NC machining.
the part coordinate system (P-system). The C2 continuity Comput-Aided Des 2003;35(13):1249–59.
introduced by the interpolation format ensures a continuous [8] Fleisig RV, Spence AD. A constant feed and reduced angular
evolution of the speed of rotation axes, which have lower acceleration interpolation algorithm for multi-axis machining.
capacities of acceleration. Comput-Aided Des 2001;33(1):1 –15.
[9] Bohez E. Five-axis milling machine tool kinematic chain design and
Test parts are machined, and permit to conclude on
analysis. Int J Mach Tools Manuf 2002;42:505–20.
significant benefits in the reduction of machining time as well [10] Li F, Wang C, Ghosh SK, Kong DZ, Lai TQ, Wu XT. Tool-path
as on the quality of the machined surfaces. Indeed, the generation for machining sculptured surface. J Mater Process Technol
smoothness of the tool path avoids the appearance of marks 1995;48:811–6.
or facets. Today, the part PM5X was machined on different 5- [11] Takeuchi Y, Watanabe T. Generation of 5 axis control collision free
tool path and postprocessing for NC data. Ann CIRP 1992;41(1):
axis machine tools, such as Mikron, Hermlé, Huron and
539 –42.
Forest liné. In all cases, machining time is reduced. The [12] Choi BK, Park JW, Jun CS. Cutter-location data optimization in
reader can evaluate directly the performance and the interest 5-axis surface machining. Comput-Aided Des 1993;25(6):
of this method, using the CAM software Catia V5R12 SP2, 377 – 86.
from Dassault Systèmes and the NC software 840D 6.3 from [13] Lin RS, Koren Y. Ruled surface machining on five-axis CNC machine
tools. J Manuf Processes 2000;1(2).
Siemens.
[14] Bohez E. Compensating for systematic errors in 5-axis NC machining.
New research is now necessary to improve calculation of CAD 2002;34:391–403.
the curve of interpolation by decreasing the number [15] SINUMERIK 840D/840Di/810D Description of functions special
of control points and by clearly identifying the points of functions (FB3). 09.01Edition.
discontinuity. Finding the best tool path, which respects [16] Bloch S, Deneuville E, Tan L. Innovative feed rate optimisation
technique, 3eme international congres on metal cutting and high speed
the required quality and simplifies the dynamical treatment
Milling, Metz France. ; 2001. 10 p.
of the NC, is still an issue to be addressed. [17] Valette L, Duc E, Lartigue C. A method for computation and assessment
In addition, it becomes necessary to propose a method of of NC tool-paths in free form curve format. Second Seminar of
tool compensation in order to take variations of tool Improving Machine Tool Performance, La Baule; 2000. 18 p.
J.M. Langeron et al. / Computer-Aided Design 36 (2004) 1219–1229 1229

[18] Duc E, Lartigue C, Laporte S. Assessment of the description format of Emmanuel Duc is Assistant Professor at the
tool trajectories in 3-axis HSM of sculptured surfaces. In: Dudzinski French Institute for Advanced Mechanics
D, Molinari A, Schluz H, editors. Metal cutting and high speed (IFMA-Institut Français de Mécanique Avan-
machining. Dordecht/New York: Kluwer Academic Publishers/ cée) of Clermont Ferrand. His research inter-
Plenum Press; 2002. ests include the tool path computation for High
[19] Yu D, Deng J, Duan Z, Liu J. Generation of gouge-free cutter location Speed Milling, particularly in 5-axis machin-
paths on freeform surfaces for non-spherical cutters. Comput Ind ing and pocket machining. Computational
1996;28:81–94. methods are developed using Bspline curve,
[20] Lee YS, Ji H. Surface interrogation and machining strip evaluation for and experimental validations are tested on
5-axis CNC die and mold machining. Int J Prod Res 1997;35(1): various machine tool. He has conducted many
225–52. studies in aeronautics aera.
[21] Li SX, Jerard RB. 5-axis machining of sculptured surfaces with a flat-
end cutter. Comput-Aided Des 1994;26(3):165–78.
[22] Cho HD, Jun YT, Yang MY. Five-axis CNC milling for effective
machining of sculptured surfaces. Int J Prod Res 1993;31(11):
2559–73.
[23] Lee YS. Non isoparametric tool path planning by machining strip Claire Lartigue is Professor at the department
evaluation for 5 axis complex surface machining. Comput-Aided Des of Mechanical Engineering of IUT Cachan-
1998;30(7):559–70. University of Paris XI. She is in charge of
[24] Choi BK, Jun CS. Ball-end cutter interference avoidance in NC research activities in the fields of CAD/CAM
machining of sculptured surfaces. Comput-Aided Des 1989;21(6): and inspection of sculptured surfaces. These
371–8. activities focus in particular on the assessment
[25] Duc E. Usinage de formes gauches, contribution à l’amélioration de la and the improvement of the geometrical
qualité des trajectoires d’usinage. thèse de doctorat de l’ENS de quality of machined parts. An experimental
Cachan-1998. laboratory consisting of a 5-axis HSM center
[26] Piegl L, Tiller W. The Nurbs book. New York: Springer; 1997. and digitizing means contributes to the success
[27] Jerard RB, Drysdale RL, Magewick J. Methods for detecting errors in of this research.
numerically controlled machining of sculptured surfaces. IEEE
Comput. Graphics Appl. 1989;26–39.
[28] Lartigue C, Duc E, Tournier C. Free-form machining and geometrical
specifications. J Engng Manuf 1999;13B:21–7.
Pierre Bourdet member of CIRP is a
Professor at Ecole Normale Superieure in
Cachan. This institution is a main place in
Jean Marie Langeron, graduated in 1986 of
France, which educate new teachers. Pierre
the French Aerospace Engeneering school of
ENSMA (Ecole Nationale Supérieure de Bourdet is doing researches at University
Mécanique et d’Aérotechnique) he joins the Research Laboratory in Automated Production
(Numerical Control) NC department of DAS- (LURPA). The domain of research concerns
SAULT SYSTEMES in 1987. In charge of the the tridimensional geometry for activities of
Tool Path generator development team of design, manufacturing and inspection. The
CATIA NC for a long time, he is now team’s research activities concerning three
Consultant Research and Development, topic areas: algorithms for the assessment of
directly attached to the Director Research measured points in co-ordinate metrology,
and Development of the DELMIA and geometrical quality of machined parts and model functional tolerancing
CATIA Machining Solutions. for mechanism design.

You might also like