Parametric NURBS Curve Interpolators A Review
Parametric NURBS Curve Interpolators A Review
INTERNATIONAL
JOURNAL
OF PRECISION
ENGINEERING
AND MANUFACTURING
Vol. 9, No.2,
INTERNATIONAL
JOURNAL
OF PRECISION
ENGINEERING
AND MANUFACTURING
Vol.pp.84-92
9 No.2
Free-form shapes which were once considered as an aesthetic feature are now an important functional
requirement. CNC industries are looking for a compact solution for reproducing free-form shapes as conventional
interpolation models are inadequate. The parametric curve interpolator developed in the last decade has clearly
emerged as favorite among its contemporaries in recent years. At present intense research has been done on
parametric curve interpolators and interesting developments are reported. Out of the various parametric
representations for curves and surfaces, NURBS has been standardized and widely used in free-form shape design.
This paper presents a review of various methods of parametric interpolation for NURBS and discusses the salient
features, problems and solutions. Recent approaches on variable feedrate interpolation, parameter compensation
are also reviewed and research trends are addressed finally.
Manuscript received: February 11, 2008 / Accepted: March 14, 2008
1. Introduction
The introduction of computers to control the machine tool has
significantly improved automation of the machining process. The
availability of low cost microprocessors with increased computing
power and capabilities has led to major advancements in the design
and implementation of Computer Numerical Control (CNC) systems.
Nowadays major portion of processing the part data, interpolation and
servo control are handled through software components. CNC
interpolators have also witnessed significant advances. In contrast to
the Numerical Control (NC) hardwired interpolators which were built
on multiple Digital Differential Analyzers, CNC interpolators are
implemented as software. The main function of the interpolator is to
generate position commands for reproduction of a prescribed shape of
the part with minimum errors. Modern CNC interpolators also have
subroutines, macros, special cycles and look-ahead features. In
addition to linear and circular interpolators, parabolic and elliptical
interpolators are also developed for specialized processes like laser
beam cutting, etc.1,2
Developments in CAD industry witnessed a very rapid pace of
growth due to sophisticated and better mathematical models and
computation facilities that can exactly describe the free-form shapes.
Free-form shapes once used for aesthetics have become an essential
functional requirement in modern product design. Although
machining of complex free-form shapes became a reality with
conventional interpolation methods, accurate reproduction of these
could not achieved, since they are based only on standard motions:
linear and circular.
This necessity motivated researchers to explore new methods for
interpolation. One such interpolator which has received considerable
attention over the last decade is the parametric interpolator. Long
usage of parametric curves to represent the geometry in CAD systems
2. An Introduction to NURBS
In CAD/CAM, parametric curves are preferred over implicit
representation due to their extension to three dimensional spaces and
easier implementation in computer. Parametric representation is
suitable to readily obtain cutter offsets for CNC and also lends itself
to piecewise description of curves and surfaces.3 Although these
features enabled description of intricate shapes in CAD, a unified
representation was not made until NURBS was proposed. NURBS
provided this possibility because of its excellent features and
adherence to existing CAD standards. NURBS permits manipulation
of weight and control points thereby offering ease of design of both
standard analytical shapes (e.g. conics) and free-form curves.4 It is
also independent of coordinate system which makes it suitable for
easier and faster transformations. Closed shapes, large slopes, local
control and geometric intuitiveness are some of the other advantages.
Hence CAD/CAM had no hesitation in choosing NURBS as the
common representation of parametric curves. However the NC
technology originated well ahead of it and could not implement it
straightforward. NURBS remained long as a fancy till the
Vol. 9, No.2
APRIL 2008 / 85
C( u ) =
Ri ,p ( u )Pi
(1)
i =0
where Ri , p ( u ) =
wi N i , p ( u )
n
(2)
N j , p ( u )w j
j =0
(3)
ui+ p+1 u
u ui
Ni,p ( u ) =
Ni,p1( u ) +
Ni+1,p1( u )
ui+ p ui
ui+ p+1 ui+1
(4)
m = n+ p +1
(5)
Vc=42mm/s is not reached
l
N = int
+ 0.5
VT
(6)
This cannot be achieved in all the cases and hence the last
increment pertaining to a shorter length is also carried out in the same
sampling time thus reducing the overall feedrate. Otherwise the
interpolator adjusts the feedrate such that the length of the line
segment is an integer multiple of modified feedrate Vc. This effect is
practically negligible as long as the length of the line segment is big,
which is the case of normal interpolation. For shorter segments, the
above approach results in fluctuation of feedrate and causes poor
surface finish. In most cases additional hand work such as polishing is
required.
The next choice is to fit the discrete data of cutter paths with
polynomials. Parametric form of polynomials is preferred due to the
advantages stated above. Although it is possible to fit an n th order
polynomial with a dimensionless parameter through data points, a
piecewise approach to approximate the entire curve satisfying the
continuity conditions at the connecting points is widely followed.11
Important ones are the cubic spline and quintic spline interpolation
86 / APRIL 2008
Part program
Real time
NURBS
Interpolator
Servo
loops
dC( u )
dt
V(u ) =
C(u)
NURBS data:
Control points
and knot,weight
vectors
Vol. 9 No.2
(7)
dP
(xi,yi,zi)
Z
Current interpolated
point
dP
Possible candidate
points
Vector representing
next position
du
V(u )
=
dt
dC( u )
du
(8)
dC( u )
=
dt
where
dx 2 dy 2 dz 2
+ +
du
du
du
(9)
V ( kt )
dC ( u )
du u =u
(10)
k
T 2 A( kt )
2 dC( u )
du
dC( u ) d 2 C( u )
V 2 ( kt )
du 2
du
dC( u )
du
+ HOT
4
u =u k
feed
s
Vc
= t
Vc
(11)
Vol. 9, No.2
APRIL 2008 / 87
V ( uk ) =
2
Ts
k 2 ( k max )2
(12)
k =
, =
C( 1 )( uk ) C( 2 )( uk )
C
(1)
( uk )
(13)
88 / APRIL 2008
Vol. 9 No.2
k = k k 2 k
2
(14)
v=
2 2
Ts
(15)
C(uk+1)
Circle
P(uk+1)
L(uk)
C(uk)= P(uk)
k
NURBS
Fig. 5 Circular approximation to NURBS
k =
( )
sin 2
cos
(16)
where is the angle between the two lines formed between two
successive interpolation points and is the permitted chord error.41
Vol. 9, No.2
[ u1 ,V1 ]n
[ u4 ,V4 ]n
profiles violating
chord error
Decelerating
segment
(n+1)
Corner (n)
Accelerating
segment
Corner (n+2)
APRIL 2008 / 89
[ u2 ,V2 ]n
Constant feedrate
Curve parameter- u
90 / APRIL 2008
9. Research Directives
At present the aerospace, automobile, die and mold and jewelry
industries are the prominent users of freeform shapes designed with
NURBS and in the future, this will extend to other applications also.
Parametric NURBS curve interpolators are very useful and the
implementation of G-Codes for NURBS in commercial controllers
such as FANUC shows their success.55
Currently research is focused on removing an important drawback
of parametric interpolators the feedrate error with various models.
Though preprocessing the NURBS curve offers a realistic estimation
of parameter, it needs further refinement. Variable feedrate
Vol. 9 No.2
10. Conclusions
This paper has summarized the research results of parametric
curve interpolators for NURBS from the aspect of command
generation algorithms. A comparison with other types of interpolation
approaches is also presented. Though the arc-length parameterized
approach is less prone to feedrate error, the parametric curve
approach permits real-time implementation of free-form curves and
surface with reduced data transfer and contour error and is preferred.
Parameter compensation methods, chord error computation methods
and recent designs of variable feedrate interpolators are also discussed.
These methods show promising results at the research level. This
encourages to think that in the imminent future precise and highspeed machining of NURBS curves and surfaces will be realized.
REFERENCES
1. Koren, Y., Computer Control of Manufacturing Systems,
McGraw-Hill, pp. 115-142, 1998.
2. Koren, Y., Control of Machine Tools, ASME Journal of
Manufacturing Science, Vol. 119, Issue 4B, pp. 749-755, 1997.
3. Faux, L. D. and Pratt, M. J., Computational Geometry for
Design and Manufacture, Ellis Horwood, pp. 261-277, 1979.
4. Piegl, L., On NURBS: A Survey, IEEE Computer Graphics and
Applications, Vol. 11, No. 1, pp. 55-71, 1991.
5. Piegl, L. and Tiller. W., The NURBS Book, Springer, pp. 117138, 1997.
6. Rogers, D. F., An Introduction to NURBS: with Historical
Perspective, Morgan Kaufmann Publishers Inc., pp. 129-150,
2001.
7. Jensen, C. G. and Anderson, D. D., A Review of Numerically
Controlled Methods for Finish Sculptured-Surface Machining,
IIE Transactions, Vol. 28, No. 1, pp. 30-39, 1996.
8. Vickers, G. W. and Bradley, C., Curved Surface Machining
Through Circular Arc Interpolation, Computers in Industry, Vol.
19, No. 3, pp. 29-37, 1992.
Vol. 9, No.2
APRIL 2008 / 91
38. Li, W., Liu, Y. Yamazaki, K. Fujisima, M. and Mori, M., The
Design of a NURBS Pre-Interpolator for Five-Axis Machining,
International Journal of Advanced Manufacturing Technology, in
print (DOI 10.1007/s00170-006-0905-8).
23. Cheng, M. Y., Tsai, M. C. and Kuo, J. C., Real time NURBS
Command Generators for CNC Servo Controllers, International
Journal of Machine Tool and Manufacture, Vol. 42, No. 7, pp.
801-813, 2001.
of
41. Du, D., Liu, Y., Yan, C. and Li, C., An Accurate Adaptive
Parametric Curve Interpolator for NURBS Curve Interpolator,
International Journal of Advanced Manufacturing Technology,
Vol. 32, No. 9/10, pp. 999-1008, 2007.
42. Farouki, R. T. and Tsai, Y. F., Exact Taylor Series Coefficients
for Variable Feedrate CNC Curve Interpolators, Computer-
92 / APRIL 2008
Vol. 9 No.2
58. Xu, H. Y., Dai, J. S. and Tam, H. Y., Angular Interpolations for
Planar Implicit Curves, International Journal of Prod. Research,
Vol. 40, No. 9, pp. 2125-2140, 2002.