Elsevier

Computer-Aided Design

Volume 58, January 2015, Pages 220-229
Computer-Aided Design

Precise gouging-free tool orientations for 5-axis CNC machining

https://doi.org/10.1016/j.cad.2014.08.010Get rights and content

Highlights

  • We present an algorithm for generating optimized gouging-free tool path for 5-Axis CNC machining.

  • We employ analysis of hyper-osculating circles that provides third order approximation of the surface.

  • Double tangential contact between the tool and the target surface is employed to connect feasible hyper-osculating tool paths.

  • A robust collision and gouging detection algorithm is provided.

  • We introduce a global optimization algorithm that maximizes the geometric matching between the tool and the target surface.

Abstract

We present a precise approach to the generation of optimized collision-free and gouging-free tool paths for 5-axis CNC machining of freeform NURBS surfaces using flat-end and rounded-end (bull nose) tools having cylindrical shank. To achieve high approximation quality, we employ analysis of hyper-osculating circles (HOCs) (Wang et al., 1993a,b), that have third order contact with the target surface, and lead to a locally collision-free configuration between the tool and the target surface. At locations where an HOC is not possible, we aim at a double tangential contact among the tool and the target surface, and use it as a bridge between the feasible HOC tool paths. We formulate all such possible two-contact configurations as systems of algebraic constraints and solve them. For all feasible HOCs and two-contact configurations, we perform a global optimization to find the tool path that maximizes the approximation quality of the machining, while being gouge-free and possibly satisfying constraints on the tool tilt and the tool acceleration. We demonstrate the effectiveness of our approach via several experimental results.

Introduction

Free-form NURBS surfaces are the de facto industry standard representation for 3D modeling and have been widely used in a variety of applications. Consequently, CNC machining of NURBS surface has been studied extensively in the past few decades. 5-axis machining, which provides two additional degrees of freedom, compared to 3-axis machining, attracted much attention due to the flexibility of 5-axis tool path planning, in contrast with the difficulties that 5-axis tool path generation entails.

There are two major technical challenges in 5-axis machining. One is how to optimally orient the tool so that it can approximate the local target surface properly. The other challenge is how to avoid collisions and gouging into the target surface, S, and other check surfaces, or other surfaces of the object. Collision and gouging1 avoidance in 5-axis machining is more challenging compared to other applications, because the tool tip is typically in a tangential contact with S at the milling contact point, denoted PC.

Consider 5-axis machining planning using a flat end cylindrical tool, T, having a bottom circle, CT, as a cutting edge.2 For each contact point PC, two orientation degrees of freedom must be determined for T, while maintaining tangential contact between CT and S at PC. One natural approach to determine the orientation degrees of freedom uses a 2nd order approximation, to examine the osculating circle of a planar section of S using the plane through CT. From Meusnier’s theorem  [1], and using the two orientation degrees of freedom, one can attempt to match the curvature of CT and this planar section of S at PC, which is also known as curvature matched machining   [2], [3], [4], [5], [6], [7]. Curvature matched machining provides a 2nd order approximation and is a simple way to define the tool orientation, and it has been widely adapted in tool path computation. However and as a side effect of curvature matched machining, T is likely to locally gouge into S, near PC, because the planar section curve of S typically has an increasing or decreasing curvature at PC, while CT presents a constant curvature (see Fig. 1(a)).

Hyper-osculating circles (HOCs)  [8], [9] alleviate this difficulty and vastly reduce the possibility of CT gouging into S. Based on a 3rd order differential analysis, HOCs share the same position, tangent direction, curvature, and curvature derivative (which is zero for a circle), with S’s planar section at PC. In other words, an HOC is an osculating circle that is located at a curvature extreme point of the planar section of S and thus it resolves the local potential gouging of T into S (see Figs. 1(b) and  5). However, this 3rd order approximation also has a limitation. Since the HOCs should satisfy both curvature and curvature derivative constraints, typically only a limited number of candidate configurations exist. As a consequence, a hyper-osculating configuration is not always feasible, and even less so when various constraints in practical situations are imposed, e.g., angular orientation limits on the CNC machine, global collisions, etc.

To help overcome this limitation of the HOCs, we also consider cases of two-tangential contacts between CT and S (see Fig. 1(c)). Henceforth and unless otherwise stated, ‘contact’ will denote a tangential contact. The key idea of our approach is based on the fact that there always exist two-contact configurations in the local neighborhood of hyper-osculating configurations.3 From this observation, we can augment the HOCs and switch to nearby two-contact configurations whenever necessary, while providing good approximation quality in terms of the curvature difference between the bottom circle and the surface section at PC and being gouging-free.

The rest of this paper is organized as follows. In Section  2, we briefly review previous related work. Section  3 introduces HOCs and establishes the algebraic conditions for two-contact configurations between T and S. Then, we propose a global optimization algorithm for the tool path that maximizes the approximation quality of the HOCs and the two-contact configurations. Experimental results are reported in Section  4, and the paper is concluded in Section  5.

Section snippets

Related work

Related work on 5-axis milling mostly appeared in the CAD and mechanical engineering literature (see reference works  [10], [11]). There are numerous papers contributing geometric methods to freeform surface CNC machining, including multi-axis (4- and 5-axis) machining. While this work focuses on contact analysis at the tip of the tool, in 5-axis machining, side or flank milling is one method that attracted much attention. See a recent survey in  [12] on flank milling.

Numerous efforts were made

The algorithm

Consider a C3 continuous target surface S(u,v) and let Su(u,v),Sv(u,v) and N(u,v) be the partial derivatives and the normal field of S. Now consider one tool path in S, τ(t)=S(u(t),v(t)), of a flat end tool T with a bottom circular edge CT, and let PC=τ(t1)=S(u1,v1) be the current contact point. Further let, rT be the radius of T, MT the center point of CT and ΓCT the plane containing CT. Finally, let CS=S(u,v)ΓCT be the intersection curve between plane ΓCT and S(u,v); see Fig. 3.

Recall that

Experimental result

In this section, we present results of using the tool contact planning algorithms on several free-form surfaces. Fig. 10 illustrates the limitations when only HOCs are considered. In order to fairly evaluate the potential of HOCs, we computed optimized contact paths with a level set approach (see figure caption). Even then, the coverage of the surface by HOC strips is too low.

In the coming examples, the optimization algorithm computes 200 samples along the tool path and 200 samples along θ,

Conclusion and future work

The proposed optimization algorithm naturally combines HOCs and two-contact configurations by treating the hyper-osculating case as a special type of the two-contact configuration, and by simply minimizing the curvature difference between T and S. The tool path orientations generated by the global optimization procedure tend to maintain the hyper-osculating configurations when it is accessible, and smoothly switch to nearby two-contact configurations if there is no hyper-osculating position or

Acknowledgments

This work was supported in part by the People Programme (Marie Curie Actions) of the European Union’s Seventh Framework Programme FP7/2007–2013/ under REA grant agreement PIAP-GA-2011-286426, and was supported in part by the Israel Science Foundation (grant No. 278/13).

References (33)

Cited by (0)

This paper has been recommended for acceptance by Dr. Vadim Shapiro.

View full text