Skip to main content
eScholarship
Open Access Publications from the University of California

UC Davis

UC Davis Previously Published Works bannerUC Davis

A real-time CNC interpolator algorithm for trimming and filling planar offset curves

Abstract

Tool paths for CNC machines must be offset from the desired part shape, in order to compensate for the tool radius. To avoid gouging the part geometry and to ensure continuous paths, the offset construction employs trimming and filling operations at tangent discontinuities and regions of high concave curvature on the part shape. Typically, offset paths are constructed offline in a CAM system — the resulting paths are inherently approximate, and must be re-generated when a different tool size is selected. To circumvent these shortcomings, an interpolator algorithm for real-time offset curve trimming and filling is developed and verified herein. Since the algorithm uses the exact part geometry, offset path approximation errors are completely eliminated. Circular fill arcs of the appropriate angular extent are automatically executed at convex tangent-discontinuous junctures of adjacent part boundary segments, and offset trimming operations are triggered by real-time point/curve distance computations, which determine footpoints of the instantaneous tool position on the part boundary. The algorithm also accommodates feedrates that correspond to a constant speed of either the tool/part contact point, or the tool center. The practical feasibility of the method is demonstrated by an implementation on a 3-axis CNC mill governed by an open-architecture software controller.

Many UC-authored scholarly publications are freely available on this site because of the UC's open access policies. Let us know how this access is important for you.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View