Feedrate Fluctuation Minimization for NURBS Tool Path Interpolation Based on Arc Length Compensation and Iteration

Xing Liu, Philip L. H. Yu, Haiduo Chen, Bo Peng, Zhao Wang, Fusheng LiangMicromachines 2025 · DOI

TL;DR

This paper introduces a novel method to significantly reduce feedrate fluctuations during CNC machining by combining arc length compensation with Newton iteration for NURBS tool path interpolation. This approach leads to smoother motion, improved machining quality, and better real-time performance compared to existing methods.

What Problem Does This Paper Address?

High-speed, high-precision multi-axis CNC machining is essential for producing complex parts. A critical component of this process is real-time parametric interpolation, which determines the exact position of the tool at each step. However, inaccuracies in calculating these positions, especially for complex curves like NURBS (Non-Uniform Rational B-Splines), lead to "feedrate fluctuations." These fluctuations are essentially variations in the tool's speed that deviate from the planned feedrate. This can cause a cascade of problems: reduced machining quality, surface finish issues, increased tool wear, and even saturation of the machine's drive systems, limiting its performance. Existing methods often struggle to balance interpolation accuracy with real-time computational efficiency, making it difficult to achieve both smooth motion and high processing speeds.

Methods

The core of this paper's contribution lies in a two-pronged approach to minimize feedrate fluctuations:

  1. Arc Length Compensation: The authors establish models relating the arc length of a NURBS tool path to its parameter and curvature. This allows them to better estimate the actual distance the tool needs to travel for a given parameter increment. By compensating for the deviation between the theoretical interpolation step length and the actual chord length (which is what the machine physically moves), they reduce a primary source of feedrate fluctuation. This involves calculating curvature and using an arc approximation method.
  2. Newton Iteration: After the initial arc length compensation, the calculated interpolation points are further refined using the Newton iteration method. This iterative process aims to precisely adjust the interpolation points until the feedrate fluctuation falls below a predefined, very strict threshold (e.g., 1.0 x 10⁻⁶%). This step ensures that even small deviations are corrected.

To support these methods, the paper also utilizes piecewise B-spline fitting to accurately model the relationships between parameter, arc length, and curvature, which are crucial for the compensation and iteration steps.

Datasets

The paper does not introduce new datasets. Instead, it uses simulated NURBS tool paths (specifically, a butterfly-shaped path and another with drastic curvature changes) and then validates the method through milling experiments on a CNC machine tool. The experimental setup involves a specific CNC machine with a PMAC motion controller and Panasonic servo drives.

Key Insights and Ideas

  • Feedrate fluctuation is a fundamental challenge: Even with accurate tool path geometry, inherent discrepancies in parametric interpolation lead to speed variations that degrade machining quality.
  • Arc length is key: The deviation between the theoretical arc length and the actual chord length traversed by the tool is a major contributor to feedrate fluctuations, especially in high-curvature areas.
  • Compensation is necessary, but not sufficient: Arc length compensation alone helps, but it's not enough to meet stringent precision requirements.
  • Newton iteration is a powerful refinement tool: Applying Newton's method to the compensated interpolation points can drastically reduce feedrate fluctuations to very low levels.
  • B-spline fitting is crucial for modeling: Accurate B-spline models for parameter-arc length and parameter-curvature relationships are essential for the success of the proposed method.
  • Real-time performance is maintained: Despite the iterative nature of Newton's method, the authors demonstrate that it often requires only one iteration to meet the desired accuracy, preserving real-time performance.

Key Results

The proposed method, combining arc length compensation and Newton iteration, achieved significantly lower feedrate fluctuations compared to traditional methods like first-order and second-order Taylor expansion, and even B-spline fitting alone.

  • Maximum Feedrate Fluctuation: The proposed method achieved a maximum feedrate fluctuation of 9.99 x 10⁻⁷% (with a threshold of 10⁻⁶%), which is orders of magnitude better than other methods. For comparison, second-order Taylor expansion resulted in 0.252%, and s-u fitting alone was 8.59 x 10⁻².
  • Mean and MSE: The Mean and Mean Squared Error (MSE) of feedrate fluctuation were also drastically reduced, indicating a more consistent and stable feedrate.
  • Milling Experiments: The milling experiments confirmed that the method produces smooth motion, with velocities of drive axes being smooth and without sudden changes. The actual feedrate fluctuation was restricted within the preset threshold, and the machining trajectory remained smooth even in high-curvature areas. Tracking errors of the machine axes were also limited.

Limitations and Future Work

  • Curvature Radius Limitation: The arc length compensation method becomes less effective and can introduce inaccuracies when dealing with very small curvature radii (where the curvature radius is smaller than the interpolation step size).
  • Fitting Method: While B-spline fitting is used to establish parameter-arc length and parameter-curvature relationships, the authors suggest that more accurate and efficient fitting methods could be explored.
  • Point Densification: The current approach of densifying sampling points across the entire parameter space to capture curvature information is not ideal. Future research could focus on developing targeted densification strategies for regions with rich curvature.
  • Further Exploration: The authors suggest that exploring more accurate and efficient fitting methods and developing targeted densification strategies for high-curvature regions are promising directions for future research.

Summary updated

Abstract

Real-time parametric interpolation plays a crucial role in achieving high-speed and high-precision multi-axis CNC machining. In the interpolation cycle, the position of the next interpolation point is required to be calculated in real-time to guide the action of the machining process. Due to the existence of the positioning error of the interpolation point, it is extremely difficult to eliminate the feedrate fluctuation, which may lead to dramatic decreases in machining quality and the driving capabilities' saturation of each axis. A computationally efficient and precise feedrate fluctuation minimization method is proposed for the NURBS tool path interpolation in the CNC milling process. The model for the arc length and curvature, with respect to the parameter of the NURBS tool path, is established to reduce the calculation amount required by interpolation points determination. The deviation between the theoretical and actual interpolation step length is decreased by the proposed arc length compensation method to minimize the feedrate fluctuation. In addition, the interpolation points derived from the arc length compensation process are further corrected by performing the Newton iteration to restrict the feedrate fluctuation within the preset accuracy threshold. The effectiveness and superiorities of the proposed feedrate fluctuation minimization method are verified by simulation and milling experiments.
BibTeX
@inproceedings{liu2025feedrate,
  author = {Xing Liu and Philip L. H. Yu and Haiduo Chen and Bo Peng and Zhao Wang and Fusheng Liang},
  title = {{Feedrate Fluctuation Minimization for NURBS Tool Path Interpolation Based on Arc Length Compensation and Iteration}},
  booktitle = {Micromachines},
  year = {2025},
  doi = {10.3390/mi16040402},
}
Figure