Skip to main content


Weitere Artikel dieser Ausgabe durch Wischen aufrufen

15.08.2019 | Ausgabe 3/2019 Open Access

Advances in Manufacturing 3/2019

Flat-end tool orientation based on rotation-minimizing frame

Advances in Manufacturing > Ausgabe 3/2019
Xiang Zou, Hon-Yuen Tam, Hai-Yin Xu, Ke Shi

1 Introduction

Tool path planning for five-axis computer numerical control (CNC) machining has attracted significant interest in recent years. Constraints to the planning process arise from gouging avoidance, kinematic limits, singularity avoidance, cutting precision, and efficiency requirements. However, complete solutions to path planning have yet to be identified.
An attempt was made to divide the part surface into convex and non-convex regions, and to determine the optimal cutter orientation for local and rear gouging avoidance, by considering the offset of the machined surface and the offset cylinder of the cutter [ 1]. Maximization of the machining quality was achieved by identifying gouging-free tool paths, analyzing hyper-osculating circles that have third-order contact with the target surface, and formulating two-contact configurations as systems of algebraic constraints [ 2]. The concept of forbidden circles was proposed to avoid singularities in five-axis machining [ 3]. The problem was considered two-dimensional, as a three-dimensional “singular cone” associated with tool orientation was projected onto a two-dimensional space. Efforts were made to compensate for geometric errors to improve machining precision based on a generalized inverse kinematic model of the five-axis machine tool [ 4, 5]. According to variations in cutting force and stability considerations along the tool path, efficient surface milling parameters were identified for tool path generation, the aim being to shorten the milling time [ 6].
Typical path planning involves generating an initial tool path, including the identification of cutter contact (CC) points and cutter positions, and construction of adjacent tool paths and CC points with consideration of factors such as material removal rate, scallop height, gouging, and machine dynamics. It is crucial to identify the tool orientation at each of the CC points. The focus of this paper is to address tool orientation for five-axis machining with flat-end tools.
Tool orientation is an important factor that affects the surface quality of a machined part [ 7]. Existing research in tool orientation for five-axis machining has focused mainly on gouging avoidance, rotary axes movement optimization, and cutting efficiency.
To avoid local gouging, rear gouging, and global tool collision, search methods based on configuration space (C space) [ 810] were proposed to determine the tool orientation, in which the motion plan of the object was transformed into the motion plan of a point in the C space. Ezair and Elber [ 11] further utilized conservative computation of accessibility for a finite surface and orientation elements to ensure the correctness of collision-free orientation.
For chatter-free tool orientation, structural dynamics of the tool and work piece were analyzed in terms of cutter workpiece engagement coordinates [ 12]. An iterative search for gouging-free tool axis orientation was performed using the Nyquist criterion.
To maximize material removal and avoid local gouging, tool orientation was planned along the tool path to maintain a constant scallop height [ 13, 14]. Decisions were made based on the local surface curvatures and analyses of the effective cutting radius [ 15, 16]. In actuality, there is a trade-off between increasing material removal rate and reducing scallop height between adjacent paths [ 17].
Li et al. [ 18] presented a strategy for tool orientation planning, which divided a complex surface into regions based on both the Gaussian and mean curvatures, to reduce the rate of change in the tool orientation. Castagnetti et al. [ 19] proposed the concept of domain-of-admissible-tool-orientation to minimize the movement of each rotary axis. Ho et al. [ 20] adopted a circular arc representation of tool path segments to smoothen tool orientation changes between adjacent CC points. Jun et al. [ 21] formalized a weight criterion in the C space, which consisted of the square root of variation of the tool tilt and inclination angles between two consecutive CC points, for smoothing the tool orientation.
Hu and Tang [ 22] focused on improving the dynamic performance of the machine tool and reducing the maximum angular acceleration at the rotary axes. An optimal work piece setup was first identified through a heuristic search. Subsequently, the tilt and yaw angles were found to optimize the tool orientation. An accurate cutter/work piece engagement model was developed by Zhang et al. [ 23] for optimizing the tool inclination and tilt angles for efficient and accurate machining. Xu [ 24] proposed an interpolation scheme for online calculation of tool orientation at each interpolated point to improve machining efficiency. Li et al. [ 25] suggested a two-stage process to reduce the cutter posture change between two adjacent cutter contact points. This was achieved by recognizing the range of cutter posture angles for collision avoidance and estimating the direction for smoothest posture change. Lin et al. [ 26] developed a method to change the tool orientation to avoid five-axis singularities and improve the texture of the machined surface.
The above literature review shows the following: (i) tool orientation can be represented by the tilt angle and inclination angle, (ii) tool orientation algorithms mainly involve finding the best angles based on certain objectives while satisfying certain requirements, and (iii) these algorithms should aim at stable and non-excessive rotary axes movement.
Farouki and Li [ 27] and Farouki et al. [ 28] used a rotation-minimizing frame (RMF) to reduce variation in tool orientation in five-axis machining with ball-end tools. The tool inclination angle was fixed to maintain constant cutting speed, and the component of the tool vector on the tangent plane was specified as the parallel transport vector. This resulted in smooth overall tool orientation variation, and the total tool rotation about the surface normal was smaller than that in Sturz’s method. However, Han [ 29] pointed out that tool axis movement was not always small for an RMF with a parallel transport vector. Alternate RMFs for various applications were reviewed by Farouki [ 30]. It appears that methods favoring a small and stable tool axis speed improve efficiency and ensure robust machine tool performance.
In general five-axis machining with flat-end tools, both tool inclination and tilt angles may be varied during machining. Previous work has demonstrated the benefits of using an RMF to promote smooth changes in the tool axis. However, the cited works only considered changing the tool inclination angle, while the tilt angle remained constant. For cutting with ball-end tools and corner radius tools, a constant tilt angle implies a constant cutting speed. For cutting with flat-end tools, it may be advantageous to vary the tilt angle as well. This paper intends to address the use of an RMF to adjust the tool inclination angle and/or the tool tilt angle. Basic concepts pertaining to RMFs are reviewed in the next section. Section  3 presents methods for tool orientation for RMFs. Comparison of these methods, which includes tool paths on a torus, sphere, and dome, is conducted in Section  4. This is followed by a simulation of tool orientation changes on a free-form surface. The final section concludes the paper.

2 A review of RMFs

Due to its superior rotation motion properties, RMFs have drawn much attention for diversified applications such as rigid body movement planning [ 3135] and construction of RMFs on multi-curves and surfaces [ 3640]. In this section, basic concepts related to RMFs are reviewed, and the elements of RMFs relevant to this study are introduced.
For an orthogonal frame \(\varvec{F} = \left( {\varvec{f}_{1} ,\varvec{f}_{2} ,\varvec{f}_{3} } \right)\) moving along a curve \(\varvec{C}\left( \xi \right)\) in three-dimensional space, the movement is said to be rotation-minimizing with respect to a certain reference direction if the angular velocity of F has no component along that direction.
For convenience, when the reference direction is \(\varvec{f}_{1}\), it is named the rotary vector, and \(\varvec{f}_{2}\) and \(\varvec{f}_{3}\) are the basic vectors. The angular velocity \({\varvec{\omega}}\) of F can then be expressed as
$$\varvec{\omega}= \varvec{f}_{1} \times \varvec{f}_{1}^{'} /\sigma ,$$
where \(\sigma = \left| {\varvec{C^{\prime}}\left( \xi \right)} \right|\) is the rate of change of arc length associated with the curve.
The derivative of the basic vectors with respect to \(\xi\) become
$$\left\{ {\begin{array}{*{20}c} {\varvec{f}_{2}^{'} = \sigma\varvec{\omega}\times \varvec{f}_{2} = \left( {\varvec{f}_{1} \times \varvec{f}_{1}^{'} } \right) \times \varvec{f}_{2} ,} \\ {\varvec{f}_{3}^{'} = \sigma\varvec{\omega}\times \varvec{f}_{3} = \left( {\varvec{f}_{1} \times \varvec{f}_{1}^{'} } \right) \times \varvec{f}_{3} .} \\ \end{array} } \right.$$
Basic vectors \(\varvec{f}_{2}\) and \(\varvec{f}_{3}\) do not rotate instantaneously about \(\varvec{f}_{1}\), and their derivatives must be parallel to \(\varvec{f}_{1}\) as
$$\left\{ {\begin{array}{*{20}c} {\varvec{f}_{2}^{'} \times \varvec{f}_{1} = 0,} \\ {\varvec{f}_{3}^{'} \times \varvec{f}_{1} = 0.} \\ \end{array} } \right.$$
For an orthogonal frame moving along a three-dimensional space curve, with one of the frame vectors (i.e., \(\varvec{f}_{1}\)) aligned to certain reference direction, the frame is still free to rotate about that reference direction. According to the concept behind the RMF, \(\varvec{f}_{2}\) and \(\varvec{f}_{3}\) are selected so that they do not rotate instantaneously about \(\varvec{f}_{1}\). In other words, there is no “unnecessary rotation” of the frame about the rotary vector as the frame moves along the space curve.

3 RMF-based tool orientation

Figure  1 shows surface \(\varvec{S}\left( {u,v} \right)\) parameterized by \(u\) and \(v,\) and tool path \(\varvec{C}\left( \xi \right) = \varvec{S}\left( {u\left( \xi \right),v\left( \xi \right)} \right)\) on the surface. The surface is smooth and \(\frac{{\partial \varvec{S}}}{\partial u} \times \frac{{\partial \varvec{S}}}{\partial v}\) does not vanish on the surface. Let \(\varvec{n}\) be the unit surface normal, \(\varvec{t}\) the unit curve tangent that points to the feed direction, and \(\varvec{k} = \varvec{t} \times \varvec{n}\) the unit bi-normal at the CC point P on the path. From computational geometry,
$$\left[ {\begin{array}{*{20}c} {\varvec{t^{\prime}}} \\ {\varvec{k^{\prime}}} \\ {\varvec{n^{\prime}}} \\ \end{array} } \right] = \sigma \left[ {\begin{array}{*{20}c} 0 & { - \kappa_{\text{g}} } & {\kappa_{\text{n}} } \\ {\kappa_{\text{g}} } & 0 & {\tau_{\text{g}} } \\ { - \kappa_{\text{n}} } & { - \tau_{\text{g}} } & 0 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} \varvec{t} \\ \varvec{k} \\ \varvec{n} \\ \end{array} } \right],$$
where \(\kappa_{\text{g}}\), \(\kappa_{\text{n}}\), and \(\tau_{\text{g}}\) are the geodesic curvature, normal curvature, and geodesic torsion, respectively. Vector \(\varvec{T}\) is the unit tool vector. Inclination angle \(\alpha\) is the angle between \(\varvec{n}\) and \(\varvec{T}\). Vector \(\varvec{m}\) is the unit vector aligned to the projection of \(\varvec{T}\) on the tangent plane at P. Tilt angle \(\beta\) is the angle between \(\varvec{ t}\) and \(\varvec{m}\). Vectors \(\varvec{T}\) and \(\varvec{m}\) can be written as
$$\varvec{T} = \cos \alpha \varvec{n} + \sin \alpha \varvec{m},$$
$$\varvec{m} = \cos \beta \varvec{t} + \sin \beta \varvec{k}.$$
In five-axis machining, tool orientation must be prescribed as it follows path \(\varvec{C}\) to machine surface \(\varvec{S}\). Tool orientation can be treated as selecting \(\alpha\) and \(\beta\) along the path.
In this section, RMFs are constructed according to various settings of the inclination and tilt angles. These include the following: (i) varying the tilt angle and maintaining a fixed inclination angle, (ii) varying the inclination angle and maintaining a fixed tilt angle, and (iii) varying both the tilt and inclination angles.

3.1 Varying the tilt angle

In this setting, tilt angle \(\beta\) is allowed to vary while inclination angle \(\alpha\) is fixed. This can be considered as a direct application of Farouki’s method [ 27]. As shown in Fig.  1, when \(\alpha\) is fixed, the component of \(\varvec{T}\) along the normal direction is also fixed. When \(\beta\) is allowed to vary, the component of \(\varvec{T}\) on the tangent plane may vary.
RMF \(\left( {\varvec{n},\varvec{h},\varvec{m}} \right)\) is selected with \(\varvec{n}\) as the rotary vector and \(\varvec{m}\) and \(\varvec{h }\) as basic vectors, where \(\varvec{h} = \varvec{m} \times \varvec{n}\). This choice of the RMF reduces variation in the basic vectors as rotary vector \(\varvec{n}\) varies along the tool path. For instance, the basic vectors do not rotate about \(\varvec{n}\) and their instantaneous change is parallel to \(\varvec{n}\). This rotation method is named RM I.
From Eqs. ( 4) and ( 6), the derivative of \(\varvec{m}\) with respect to \(\xi\) along the curve can be written as
$$\varvec{m^{\prime}} = \left( {\beta^{\prime} - \sigma \kappa_{\text{g}} } \right)\left( { - \sin \beta \varvec{t} + \cos \beta \varvec{k}} \right) + \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{ n}.$$
As \(\varvec{t}\) and \(\varvec{k}\) are orthogonal to \(\varvec{n}\), and \(\varvec{m^{\prime}} \times \varvec{n} = 0\) according to Eq. ( 3), components of \(\varvec{m^{\prime}}\) along the directions of \(\varvec{t}\) and \(\varvec{k}\) in Eq. ( 7) must vanish. Obviously, \(\sin \beta\) and \(\cos \beta\) in these components cannot vanish simultaneously. Hence, the remaining option for satisfying \(\varvec{m^{\prime}} \times \varvec{n} = 0\) is
$$\beta^{\prime} - \sigma \kappa_{\text{g}} = 0,$$
and Eq. ( 7) can be simplified as
$$\varvec{m^{\prime}} = \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{ n}.$$
Integrating Eq. ( 8) leads to
$$\beta \left( \xi \right) = \beta_{0} + \int_{0}^{\xi } \sigma \kappa_{\text{g}} {\text{d}}\xi ,$$
where \(\beta_{0}\) is an integration constant.
Computation of the tool orientation \(\varvec{T}\) requires selection of the fixed tool inclination angle \(\alpha\) and the initial tilt angle \(\beta_{0}\). Then, \(\varvec{T}\) can be calculated using Eqs. ( 5) and ( 6), and \(\beta \left({\xi} \right)\) can be evaluated numerically using Eq. ( 10) as the tool moves along the tool path.
Furthermore, from Eq. ( 5), the derivative of \(\varvec{T}\) is
$$\varvec{T^{\prime}} = \cos \alpha \varvec{n^{\prime}} + \sin \alpha \varvec{m^{\prime}},$$
which can be written as
$$\varvec{T^{\prime}} = \sigma \left( {\cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{ h} + \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{w}} \right).$$
Using Eqs. ( 4) and ( 9) and rotation transformations, \(\varvec{t} = - \sin \beta \varvec{h} + \cos \beta \varvec{m}\), \(\varvec{k} = \cos \beta \varvec{h} + \sin \beta \varvec{m}\), and \(\varvec{w} = \varvec{h} \times \varvec{T} = - \cos \alpha \varvec{m} + \sin \alpha \varvec{n}\).

3.2 Varying the inclination angle

In this setting, inclination angle \(\alpha\) is allowed to vary while tilt angle \(\beta\) is fixed. As shown in Fig.  1, \(\varvec{h}\) is normal to the \(\varvec{m} {\text{-}} \varvec{n}\) plane and \(\varvec{T}\) is fixed on that plane. If \(\beta\) is fixed, so is \(\varvec{h}\). When \(\alpha\) varies, the plane, together with \(\varvec{T}\), rotates about \(\varvec{h}\).
RMF \(\left( {\varvec{h},\varvec{T},\varvec{w}} \right)\) is selected with \(\varvec{h}\) as the rotary vector and \(\varvec{T}\) and w as the basic vectors, where \(\varvec{w} = \varvec{h} \times \varvec{T}\). This choice of the RMF reduces variations in the basic vectors as rotary vector \(\varvec{h}\) varies along the tool path. For instance, the basic vectors do not rotate about \(\varvec{h}\) and their instantaneous change is along the direction of \(\varvec{h}\) only. This rotation method is named RM II.
From Eqs. ( 4) and ( 6) and using rotation transformation, the derivatives of \(\varvec{n}\) and \(\varvec{m}\) can respectively be written as
$$\varvec{n^{\prime}} = \sigma \left( {\left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{h} - \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{m}} \right),$$
$$\varvec{m^{\prime}} = \sigma \left( { - \kappa_{\text{g}} \varvec{h} + \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{n}} \right).$$
It is noted that the term \(- \sigma \kappa_{\text{g}} \varvec{h}\) is present in Eq. ( 14) but not in Eq. ( 7). This is because \(\beta\) is fixed in RM II but is allowed to vary as \(\beta^{\prime} = \sigma \kappa_{\text{g}}\) in RM I.
From Eq. ( 5), the derivative of \(\varvec{T}\) can firstly be written as
$$\varvec{T^{\prime}} = - \alpha^{\prime}\sin \alpha \varvec{n} + \cos \alpha \varvec{n^{\prime}} + \alpha^{\prime}\cos \alpha \varvec{m} + \sin \alpha \varvec{m^{\prime}},$$
and then rearranged using Eqs. ( 13) and ( 14) as
$$\varvec{T^{\prime}} = \left( {\alpha^{\prime} - \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)} \right)\left( {\cos \alpha \varvec{m} - \sin \alpha \varvec{n}} \right) + \sigma \left( {\cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right) - \kappa_{\text{g}} \sin \alpha } \right)\varvec{h }.$$
As \(\varvec{m}\) and \(\varvec{n}\) are orthogonal to \(\varvec{h}\), and \(\varvec{T^{\prime}} \times \varvec{h} = 0\) according to Eq. ( 3), the components of \(\varvec{T^{\prime}}\) along directions of \(\varvec{m}\) and \(\varvec{n}\) in Eq. ( 16) must vanish. Obviously, \(\sin \alpha\) and \(\cos \alpha\) in these components cannot vanish simultaneously. Hence, the remaining option for satisfying \(\varvec{T^{\prime}} \times \varvec{h} = 0\) is
$$\alpha^{\prime} - \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right) = 0.$$
Equation ( 16) can then be simplified as
$$\varvec{T^{\prime}} = \sigma \left( {\cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right) - \kappa_{\text{g}} \sin \alpha } \right)\varvec{h}.$$
Integrating Eq. ( 17) leads to
$$\alpha \left( \xi \right) = \alpha_{0} + \int_{0}^{\xi } \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right){\text{d}}\xi ,$$
where \(\alpha_{0}\) is an integration constant.
Computation of tool orientation \(\varvec{T}\) requires selection of fixed tool tilt angle \(\beta\) and initial inclination angle \(\alpha_{0}\). Then, \(\varvec{T}\) can be calculated using Eqs. ( 5) and ( 6), and \(\alpha \left( \xi \right)\) can be evaluated numerically using Eq. ( 19) as the tool moves along the path.

3.3 Varying the tilt and inclination angles (dual RMF)

To adapt to the local surface geometry more successfully, it may be preferable for the tool to be able to rotate about the normal direction, and to vary its inclination as it goes to the next tool contact point along the path. Thus, in a more general setting, this implies that both the inclination angle \(\alpha\) and tilt angle \(\beta\) are allowed to vary to allow more flexibility for orienting the tool.
Change in the tool orientation involves a two-sequential rotation of the tool axis. An RMF is employed so that variation of the basic vectors is reduced in each rotation by suppressing the rotation of the basic vectors about the rotary vector. Thus, this sequential rotation method is named dual RMF (DRM), which combines the primary RMF (PRMF) with the secondary RMF (SRMF).
In PRMF, the tool is set to rotate about the normal axis. Thus, \(\varvec{n}\) is selected as the rotary vector, with \(\varvec{h}\) and \(\varvec{m}\) as the basic vectors. Tilt angle \(\beta\) is allowed to vary while inclination angle α is fixed. In other words, the PRMF is the same as RM I, and Eq. ( 8) is applicable to the determination of \(\beta\).
In SRMF, the tool is set to rotate about \(\varvec{h}\), one of the basic vectors in PRMF. Thus, \(\varvec{h}\) is selected as the rotary vector, with \(\varvec{T}\) and \(\varvec{w}\) as the basic vectors. Inclination angle α is allowed to vary while tilt angle \(\beta\) is fixed.
From Eq. ( 5), the derivative of T with respect to \(\xi\) can be written as
$$\varvec{T^{\prime}} = - \alpha^{\prime}\sin \alpha \varvec{n} + \cos \alpha \varvec{n^{\prime}} + \alpha^{\prime}\cos \alpha \varvec{m} + \sin \alpha \varvec{m^{\prime}}.$$
Here, \(\varvec{n}\) does not depend on \(\beta\) but \(\varvec{m}\) does. The derivation of \(\varvec{n^{\prime}}\) in Eq. ( 13) does not involve any assumption with regard to \(\beta\), and it can be used to express \(\varvec{n^{\prime}}\) in Eq. ( 20). Conversely, the derivation of \(\varvec{m^{\prime}}\) in Eq. ( 14) involves assumptions with regard to \(\beta\) and it cannot be used. On the other hand, as the determination of \(\beta\) in PRMF and that in RM I are exactly the same, Eq. ( 9) can be used to express \(\varvec{m^{\prime}}\). Therefore, Eq. ( 20) may be modified to
$$\begin{aligned} \varvec{T^{\prime}} & = - \alpha^{\prime}\sin \alpha \varvec{n} + \cos \alpha \cdot \sigma \left( {\left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{h}} \right. \\ & \quad \left. { - \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{m}} \right) \\ & \quad + \alpha^{\prime}\cos \alpha \varvec{m} + \sin \alpha \cdot \sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{ n} \\ & = \left( {\alpha^{\prime} - \sigma \left( {\kappa_{n} \cos \beta + \tau_{\text{g}} \sin \beta } \right)} \right)\left( {\cos \alpha \varvec{m} - \sin \alpha \varvec{n}} \right) \\ & \quad + \sigma \cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{ h}. \\ \end{aligned}$$
As the components of \(\varvec{T^{\prime}}\) along the directions of \(\varvec{m}\) and \(\varvec{n}\) in Eq. ( 21) must vanish, the same restriction on \(\varvec{T^{\prime}}\) needs to be imposed here (as in Eq. ( 17)), and \(\varvec{T^{\prime}}\) can then be further simplified as
$$\varvec{T^{\prime}} = \sigma \cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{ h} .$$
Computation of tool orientation \(\varvec{T}\) requires selection of initial inclination angle \(\alpha_{0}\) and initial tilt angle \(\beta_{0}\). Then, \(\alpha \left( \xi \right)\) and \(\beta \left( \xi \right)\) can be evaluated numerically using Eqs. ( 19) and ( 10) respectively along the tool path, and \(\varvec{T}\) can be calculated using Eqs. ( 5) and ( 6) (see Fig.  2).

4 Comparison of methods

4.1 Preparation

4.1.1 Kinematics

Tool contact location and tool orientation information (together with tool and cutting parameters) are translated to axis command for the execution of five-axis machining [ 26]. The translation is conducted according to the kinematic chain of a machine. There are several common kinematic chains in five-axis machine tools [ 2325]. For an A- B type five-axis machine (i.e., an orientable-spindle machine), rotary axes \(A\) and \(B\) are parallel to the translation axes X and Y.
Such a machine model (see Fig.  3) is adopted in this paper for kinematics calculations. The tool axis is along the Z-axis. \(\left[ {x_{\text{t}} ,y_{\text{t}} ,z_{\text{t}} } \right]\), \(\left[ {x_{\text{m}} ,y_{\text{m}} ,z_{\text{m}} } \right]\) and \(\left[ {x_{\text{p}} ,y_{\text{p}} ,z_{\text{p}} } \right]\) represent the tool coordinate system, machine coordinate system (MCS), and part coordinate system (PCS), respectively. Rotary axes A and B are parallel to translation axes \(x_{\text{t}}\) and \(y_{\text{t}}\). The kinematic equation can be established in MCS as
$$\left[ {\begin{array}{*{20}c} \varvec{L} & \varvec{T} \\ \end{array} } \right] = \varvec{T}_{{{\text{rans}},{\text{PCS}} \to {\text{MCS}}}} \times \varvec{T}_{\text{rans}} \left( {X,Y,Z} \right) \times \varvec{T}_{{{\text{rans}},{\text{TCS}} \to {\text{PCS}}}} \times \varvec{R}_{\text{ot}} \left( {Y,B} \right) \times \varvec{R}_{\text{ot}} \left( {X,A} \right) \times \left[ {\begin{array}{*{20}c} {x_{o} } & 0 \\ {y_{0} } & 0 \\ {z_{0} } & 1 \\ 1 & 0 \\ \end{array} } \right],$$
where \(\varvec{T}_{\text{rans}}\) represents the transport matrix and \(\varvec{R}_{\text{ot}}\) is the rotation matrix; \(\left( {x_{0} ,y_{0} ,z_{0} } \right)\) is the initial tool contact location, and \(\left[ {\begin{array}{*{20}c} \varvec{L} & \varvec{T} \\ \end{array} } \right]\) denotes the tool contact location and orientation in MCS. From Eq. ( 23), the relationship between the tool axis vector and rotary angles can be obtained as
$$\varvec{T} = \left[ {\begin{array}{*{20}c} {T_{x} } \\ {T_{y} } \\ {T_{z} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\sin B\cos A} \\ { - \sin A} \\ {\cos B\cos A} \\ \end{array} } \right].$$
Then, the rotary angles can be solved as
$$A = \arcsin \left( { - T_{y} } \right),\quad B = \arctan \frac{{T_{x} }}{{T_{z} }}.$$
In practical machining, X, Y, Z, A, and B are generated after tool path generation and tool orientation determination. The focus of the current work is tool orientation determination with an RMF. After the tool path on the part surface has been generated, the tool orientation is determined (tilt and inclination angles). Then, rotary angles A and B can be calculated using Eq. ( 25). It should be mentioned that a singularity may arise during the calculation of B. Singularity avoidance is an important issue, but is not considered in the current work.

4.1.2 Constraints on inclination and tilt angles

For five-axis machine with a flat-end tool (see Fig.  2), the effective cutter radius \(r_{\text{eff}}\) is expressed as
$$r_{\text{eff}} = a^{2} r^{2} \left( {\frac{{1 + \tan^{2} \theta }}{{a^{2} + r^{2} \tan^{2} \theta }}} \right),$$
where \(r\) is the tool radius, \(a = r\sin \alpha \cos \beta\), and \(\theta = \arctan \left( {\tan \alpha \tan \beta } \right)\). The effective cutter radius must not be larger than the radius of curvature at a CC point. In general, \(\alpha\) should not be large enough to promote material removal.
Figure  4 shows an undesirable situation of rear gouging in which the rear of the tool interferes with the part surface. This can happen when \(\alpha\) is too small as the tool passes a concave part of a surface. Thus, to avoid rear gouging, \(\alpha\) should not be too small. Further, \(\beta\) should be small so that \(\theta\) can be small, allowing \(r_{\text{eff}}\) to be large.
These considerations should be accounted for in the selection of the initial inclination and tilt angles. Other issues, such as collision avoidance and material removal efficiency, are also important for tool path and orientation planning; however, these aspects are beyond the scope of this paper.

4.1.3 Evaluation

The focus of the evaluation is to reduce the variation of the tool orientation. Small variation is preferred as it implies that the orientation of the tool need not change rapidly along a tool path, and less demand for rapid response is exerted on the rotary axes of the machine.
Variation in the tool orientation can be evaluated using the rate of change of the unit tool vector \(\left| {\varvec{T^{\prime}}} \right|\), which can be readily computed using Eqs. ( 12), ( 18), and ( 22) for the three methods. A small \(\left| {\varvec{T^{\prime}}} \right|\) suggests stable rotational movement of the rotary axes.
Changes in the rotary variables present another point for evaluation. Rotary angles \(A\) and \(B\) can be computed along the path using the kinematic model in Eq. ( 23). For three consecutive path points, values of the corresponding rotary angles \(\left( {A_{i - 1} ,B_{i - 1} } \right)\), \(\left( {A_{i} ,B_{i} } \right)\), and \(\left( {A_{i + 1} ,B_{i + 1} } \right)\) can be obtained and acceleration terms
$$\left\{ {\begin{array}{*{20}l} {S_{\text{RA}} = \frac{{\frac{{A_{i + 1} - A_{i} }}{{L_{i + 1} }} - \frac{{A_{i} - A_{i - 1} }}{{L_{i} }}}}{{L_{i + 1} + L_{i} }},} \hfill \\ {S_{\text{RB}} = \frac{{\frac{{B_{i + 1} - B_{i} }}{{L_{i + 1} }} - \frac{{B_{i} - B_{i - 1} }}{{L_{i} }}}}{{L_{i + 1} + L_{i} }},} \hfill \\ {S_{\text{RAB}} = \sqrt {S_{\text{RA}}^{2} + S_{\text{RB}}^{2} } ,} \hfill \\ \end{array} } \right.$$
can be computed to reflect demands on the rotary axes for changes in the angular velocity. Here, \(L_{i}\) and \(L_{i + 1}\) correspond to the arc lengths between these path points.

4.2 Comparison results

Three sets of comparisons are reported. To facilitate comparison, the first and second sets are based on the paths used by Farouki and Li [ 27]. Tool orientation variation and rotary axes movement are computed along paths on these surfaces. Results for RM I, RM II, and DRM are indexed as 1, 2, and 3, respectively, in Figs.  517.

4.2.1 Torus

The torus surface in Cartesian space is defined as
$$\varvec{S}\left( {u,v} \right) = \left( {\left( {R + d\cos v} \right)\cos u, \left( {R + d\cos v} \right)\sin u,d\sin v} \right),$$
with \(R = 200\) mm, \(d = 100\) mm, and \(u,v \in \left[ {0, 2\uppi } \right]\), and the tool path to be used is defined in the \(\left( {u,v} \right)\) parametric space as
$$\varvec{C}\left( \xi \right) = \left( {u\left( \xi \right),v\left( \xi \right)} \right) = \left( {\frac{1}{2}\uppi\xi ,\frac{1}{2}\uppi\xi } \right),$$
with \(\xi \in \left[ {0,1} \right]\). Grid size \(\Delta \xi = 0.01\) is used in the experiments.Tool vector \(\varvec{T}\) along the path is depicted in Fig.  5 for the three methods. Initial angles \(\alpha_{0} = \beta_{0} = 5^\circ\) are found to give reasonable tool orientation and are adopted.
For RM I with \(\alpha\) fixed at \(5^\circ\), the tool vector is close to the surface normal \(\varvec{n}\). Notably, the actual tool location also depends on the inclination angle \(\beta\), which varies along the path. Thus, the tool vector points almost horizontally at the start. Subsequently, the tool vector gradually changes together with the surface normal, and points almost vertically upwards near the end.
For RM II with \(\beta\) fixed at \(5^\circ\), the tool vector simply stays close to the \(\varvec{t} {\text{-}} \varvec{n}\) plane. Initially, it also points almost horizontally, then it gradually tilts away from \(\varvec{n}\) as the tool moves along the path.
For DRM, the tool vector falls on the \(\varvec{m} {\text{-}} \varvec{n}\) plane. It has the same initial orientation as in RM I and RM II. Then, it progressively inclines away from the \(\varvec{t} {\text{-}} \varvec{n}\) plane, and also tilts away from \(\varvec{n}\) along the path.
A comparison of the rate of change of tool orientation \(\left| {\varvec{T^{\prime}}} \right|\) for the three methods is given in Fig.  6. For RM I, \(\left| {\varvec{T^{\prime}}} \right|\) starts near 2 and then goes above 3 before coming down. For RM II, \(\left| {\varvec{T^{\prime}}} \right|\) starts near 1.2 and decreases to zero, and then goes up to about 1.4. It appears that the tool tilt direction reverses, leading to the intermediate zero \(\left| {\varvec{T^{\prime}}} \right|\). \(\left| {\varvec{T^{\prime}}} \right|\) also starts near 1.2 for DRM. However, its trend appears rather steady and \(\left| {\varvec{T^{\prime}}} \right|\) stays close to 1 throughout the path. Thus, RM I has the largest \(\left| {\varvec{T^{\prime}}} \right|\). The average \(\left| {\varvec{T^{\prime}}} \right|\) values are similar for RM II and DRM, but DRM has more steady \(\left| {\varvec{T^{\prime}}} \right|\) values and a smaller peak value than RM II.
Analytical representations of \(\left| {\varvec{T^{\prime}}} \right|\) for the three methods are given in Eqs. ( 12), ( 18), and ( 22). According to Eq. ( 22), \(\left| {\varvec{T^{\prime}}} \right|\) for DRM contains the term \(\sigma \cos \alpha \left( {\kappa_{\text{n}} \sin \beta - \tau_{\text{g}} \cos \beta } \right)\varvec{ h}\) only. Thus, the change direction is orthogonal to \(\varvec{T}\). As \(\alpha\) is typically small, the rate of change depends mainly on \(\tau_{\text{g}}\) if \(\beta\) is small, and it also depends on \(\kappa_{\text{n}}\) if \(\beta\) is not.
Besides the above term, Eq. ( 12) for RM I contains the term \(\sigma \left( {\kappa_{\text{n}} \cos \beta + \tau_{\text{g}} \sin \beta } \right)\varvec{w}\), which is orthogonal to that term. This suggests that RM I uses a larger \(\left| {\varvec{T^{\prime}}} \right|\) than DRM. The change direction is also orthogonal to \(\varvec{T}\) as \(\varvec{w}\) is orthogonal to \(\varvec{T}\).
For RM II, the extra term in Eq. ( 18) is \(- \sigma \kappa_{\text{g}} \sin \alpha \varvec{h}\). This indicates that the change direction is the same as that for DRM. While \(\left| {\varvec{T^{\prime}}} \right|\) depends on \(\kappa_{\text{n}}\) and \(\tau_{\text{g}}\) in DRM, it also depends on \(\kappa_{\text{g}}\) in RM II.
Rotary angles \(A\) and \(B\) and the corresponding acceleration terms \(S_{\text{RA}}\) and \(S_{\text{RB}}\) are shown in Figs.  710. The rotary angles start in the same manner for all the three methods because the tool orientation is the same initially (see Fig.  5). Subsequently, the angles assume quite different values as different methods are used to change the inclination and tilt angles. The acceleration terms also vary in different ways for the three methods (see Figs.  8 and 10). However, it is observed that DRM uses smaller acceleration than the other methods. This may be attributed to the facts that both the inclination and tilt angles are allowed to vary in DRM and that rotation minimization is adopted for those changes. The term \(S_{\text{RAB}}\) is explained in Fig.  11. This term reflects the combined acceleration of the individual rotary axes and also indicates that DRM uses the smallest acceleration. It can be seen that \(S_{\text{RAB}}\) is the smallest for DRM, and \(S_{\text{RAB}}\) values for RM II are slightly smaller than those for RM I.

4.2.2 Sphere

The sphere surface is defined as
$$\varvec{S}\left( {u,v} \right) = \left[ {R\cos u, R\cos v\sin u,R\sin v} \right],$$
with \(R = 200\) mm, \(u \in \left[ {0, 2\uppi } \right]\), and \(v \in \left[ { - \frac{1}{2}\uppi, \frac{1}{2}\uppi} \right]\). Tool path \(\varvec{C}\left( \xi \right)\) is as defined in Eq. ( 29). The same grid size is adopted, and initial \(\alpha_{0} = 45^\circ\) and \(\beta_{0} = 0^\circ\). For the three methods, the tool vector along the path is given in Fig.  12. Again, although the initial tool orientation is the same (i.e., aligned to the surface normal), subsequent tool orientation is quite different because the inclination and tilt angles are changed using different ways in the three methods.
The rate of change of tool orientation \(\left| {\varvec{T^{\prime}}} \right|\) is given in Fig.  13. The value of \(\left| {\varvec{T^{\prime}}} \right|\) for RM I is large in the beginning and drops to a value close to that of DRM in the end. Conversely, the value of \(\left| {\varvec{T^{\prime}}} \right|\) for RM II starts small but grows rapidly from mid-course onward. It seems that DRM has the smallest overall \(\left| {\varvec{T^{\prime}}} \right|\) value. Moreover, \(\left| {\varvec{T^{\prime}}} \right|\) is always smooth for DRM.
Figure  14 clearly shows that DRM has a relatively steady axial acceleration and the smallest \(S_{\text{RAB}}\). Both RM I and RM II use similar acceleration all the way until about two-thirds of the path. Then, a surge in acceleration occurs for RM II so as to keep up with the planned tool orientation. This may be attributed to the local geometry, in combination with the configuration of the machine tool, which might not favor orienting the tool with a fixed tilt angle in that vicinity. The surge is not obvious from the tool orientation (see Fig.  12) and its rate of change (see Fig.  13). The value of \(S_{\text{RAB}}\) is small for both DRM and RM I. However, that of \(\left| {\varvec{T^{\prime}}} \right|\) is much larger for RM I.

4.2.3 Dome

The surface is defined as
$$\varvec{S}\left( {u,v} \right) = \left[ {Ru,Rv,R\left( {1 - u^{2} - v^{2} } \right)} \right],$$
with \(R = 100\) mm and \(u,v \in \left[ { - 1, 1} \right]\). The tool path is \(\varvec{C}\left( \xi \right) = \left( {\xi ,\xi } \right)\) with \(\xi \in \left[ {0, 1} \right]\). Initial \(\alpha_{0}\) and \(\beta_{0}\) are \(45^\circ\) and \(5^\circ\), respectively. The tool path and orientation are given in Fig.  15. The path starts at the top of the dome and ends at one of the base corners. For RM I, the tool axis maintains an angle of \(45^\circ\) to the surface normal along the path. RM II allows changes in the inclination angle. The tool axis gradually approaches the normal direction as the tool moves away from the dome center. In this instance, DRM has the same tool orientation as RM II. This happens when the Darboux frame is rotation-minimizing with respect to the surface normal \(\varvec{n}\), and DRM and RM II have the same initial \(\beta_{0}\). For the current tool path, it seems that the key to reduce tool orientation changes is to allow the tool inclination angle to vary, which is the case in RM II and DRM but not in RM I. The rate of change of the tool orientation \(\left| {\varvec{T^{\prime}}} \right|\) and the acceleration term \(S_{\text{RAB}}\) are plotted in Figs.  16 and 17. In all cases, the values of \(\left| {\varvec{T^{\prime}}} \right|\) and \(S_{\text{RAB}}\) are relatively large in the beginning and small toward the end. The curves for RM II and DRM are exactly the same. The peak \(\left| {\varvec{T^{\prime}}} \right|\) and peak \(S_{\text{RAB}}\) values for RM I are a few times higher than those for RM II and DRM. They demonstrate that for some surface paths, varying \(\alpha\) according to rotation minimization is critical to reducing the tool orientation changes and lightening the burdens on the rotary axes.

5 Further simulations

Free-form surfacing is common in five-axis machining. For machining free-form surfaces, the surfaces are typically modelled as spline surfaces. Here, part of the surface is modelled as a bicubic B-spline surface \(\varvec{S}\left( {u,v} \right)\) with \(0 \le u,v \le 1\). The tool path for illustration is generated on the surface using \(u\left( \xi \right) = v\left( \xi \right) = \xi\) with \(\xi \in \left[ {0,1} \right]\). Tool orientation is rendered along path locations.
The initial tool orientation setup is \(\alpha = 20^\circ\) and \(\beta = 10^\circ\). Besides the three proposed RMF tool orientation methods, Sturz’s method (where \(\alpha\) is constant, which is also set at \(20^\circ\), and \(\beta = 0^\circ\) as the tool axis is tilted toward the path tangent) has been adopted in the simulations. Tool orientation along the path is illustrated in Fig.  18 at locations of fixed increments of \(\xi\), with the path starting from the left of the surface.
These simulations help elucidate how tool orientation can be adapted using these methods. It seems that RM I and Sturz’s method exhibit similar tool orientation changes. This is because \(\alpha\) is fixed at the same value for both methods. While \(\beta = 0^\circ\) for Sturz’s method, \(\beta\) probably varied over a small range for RM I along this particular path. RM II and DRM also seem to have similar tool orientation changes, but they are smaller than those of RM I and Sturz’s method, which is confirmed by checking the total tool orientation changes along the path (see Table  1). It is also confirmed that, among the four methods, DRM commanded the least amount of tool orientation changes during the tool path execution.
Table 1
Total tool orientation variation
Total \(\Delta T\)

6 Conclusions

The concept of RMF was explored for tool orientation planning in the context of five-axis machining. Three RMF methods were presented: RM I (which allows varying the inclination angle), RM II (which allows varying the tilt angle), and DRM (which allows varying both the inclination and tilt angles). These methods specify how tool orientation can be adjusted along the tool path without unnecessary rotation of the tool frame. The derivative of the tool orientation was also derived for these methods.
These methods were applied to flat-end tool machining. Tool orientation was computed for surface paths on a torus, sphere, and dome. Changes in the tool orientation were always smooth for these methods, thus supporting the use of RMF for tool orientation planning. Overall, DRM had the smallest rate of change in tool orientation as well as the smallest acceleration along the rotary axes. The values were sometimes smaller for RM I, and at other times, smaller for RM II. This depends on the local geometry and machine tool kinematics. It is reasonable to expect that to reduce the tool orientation changes and axial acceleration, sometimes, it is more critical to vary the inclination angle, and at other times, the tilt angle. DRM outperforms the other methods because both angles are allowed to vary.
Implementation of these tool orientation methods is rather straightforward as the computation only involves the local geometry of the surface and path. Notwithstanding issues such as collision avoidance, gouging, and cutting quality, which cannot be dealt with in this paper, RMF is an attractive tool for orientation planning. Further, DRM, is particularly useful in five-axis machining. The proposed methods can be extended in a future study to plan stable and smooth tool orientation within the constraints arising from these issues.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License ( http://​creativecommons.​org/​licenses/​by/​4.​0/​), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
Über diesen Artikel

Weitere Artikel der Ausgabe 3/2019

Advances in Manufacturing 3/2019 Zur Ausgabe

Premium Partner


    Die im Laufe eines Jahres in der „adhäsion“ veröffentlichten Marktübersichten helfen Anwendern verschiedenster Branchen, sich einen gezielten Überblick über Lieferantenangebote zu verschaffen.