Abstract
Curve interpolation with B-spline is widely used in various areas. This problem is classic and recently raised in application scenario with new requirements such as path planning following the tangential vector field under certified error in CNC machining. This paper proposes an algorithm framework to solve Hausdorff distance certified cubic B-spline interpolation problem with or without tangential direction constraints. The algorithm has two stages: The first stage is to find the initial cubic B-spine fitting curve which satisfies the Hausdorff distance constraint; the second stage is to set up and solve the optimization models with certain constraints. Especially, the sufficient conditions of the global Hausdorff distance control for any error bound are discussed, which can be expressed as a series of linear and quadratic constraints. A simple numerical algorithm to compute the Hausdorff distance between a polyline and its B-spline interpolation curve is proposed to reduce our computation. Experimental results are presented to show the advantages of the proposed algorithms.
Similar content being viewed by others
References
Thévanaz P, Blu T, and Unser M, Interpolation revisited, IEEE Transactions on Medical Imaging 2000, 19(7): 739–758.
Lehmann T M, Claudia G, and Klaus S, Addendum: B-spline interpolation in medical image processing, IEEE Transactions on Medical Imaging, 2001, 20(7): 660–665.
Maekawa T, Noda T, Tamura S, et al., Curvature continuous path generation for autonomous vehicle using B-spline curves, Computer-Aided Design, 2010, 42(4): 350–359.
Behroo M and Banazadeh A, Near-optimal trajectory generation, using a compound B-spline interpolation and minimum distance criterion with dynamical feasibility correction, Robotics and Autonomous Systems, 2015, 74: 79–87.
Piegl L and Tiller W, The NURBS Book, 2nd Ed., Springer-Verlag, New York, 1997.
Farin G, Curves and Surfaces for CAGD: A Practical Guide, Morgan Kaufmann Publishers Inc, San Francisco, 2001.
Hu L C, Shou H H, and Fang S F, A PIA optimization algorithm for non-uniform B-spline curves and surfaces, International Journal of Modelling and Simulation, 2017, 37(3): 167–177.
Idais H, Yasin M, Pasadas M, et al., Optimal knots allocation in the cubic and bicubic spline interpolation problems, Mathematics and Computer in Simulation, 2019, 164: 131–145.
Shao M Z, Hu L C, Shou H H, et al., A novel adaptive GA-based B-spline curve interpolation method, Recent Patents on Engineering, 2019, 13(3): 289–304.
Hu L C and Zhang W S, NSGA-II approach for proper choice of nodes and knots in B-spline curve interpolation, Computer-Aided Design, 2020, 127: 102885.
Park H and Lee J H, B-spline curve fitting based on adaptive curve refinement using dominant points, Computer-Aided Design, 2007, 39(6): 439–451.
Xiao Q B, Wan M, Qin X B, et al., Real-time smoothing of G01 commands for five-axis machining by constructing an entire spline with the bounded smoothing error, Mechanism and Machine Theory, 2021, 161: 104307.
Huang J, Du X, and Zhu L M, Real-time local smoothing for five-axis linear toolpath considering smoothing error constraints, International Journal of Machine Tools and Manufacture, 2018, 124: 67–79.
Li G X, Liu H T, Liu S J, et al., A general C2 continuous toolpath corner smoothing method for a 5-DOF hybrid robot, Mechanism and Machine Theory, 2022, 169: 104640.
He S S, Yan C Y, Deng Y C, et al., A tolerance constrained G2 continuous path smoothing and interpolation method for industrial SCARA robots, Robotics and Computer Integrated Manufacturing, 2020, 63: 101907.
Shahzadeh A, Khosravi A, Robinette T, et al., Smooth path planning using biclothoid fillets for high speed CNC machines, International Journal of Machine Tools and Manufacture, 2018, 132: 36–49.
Gofuku S, Tamura S, and Maekawa T, Point-tangent/point-normal B-spline curve interpolation by geometric algorithms, Computer-Aided Design, 2009, 41(6): 412–422.
Okaniwa S, Nasri A, Lin H W, et al., Uniform B-spline curve interpolation with prescribed tangent and curvature vectors, IEEE Transactions on Visualization and Computer Graphics, 2012, 18(9): 1474–1487.
Chen X D and Ma W Y, Geometric point interpolation method in R3 space with tangent directional constraint, Computer-Aided Design, 2012, 44(12): 1217–1228.
Chiou C J and Lee Y S, A machining potential field approach to tool path generation for multi-axis sculptured surface machining, Computer-Aided Design, 2002, 34(5): 357–371.
Li Z and Tang K, Partition-based five-axis tool path generation for freeform surface machining using a non-spherical tool, Journal of Manufacturing Systems, 2021, 58: 248–262.
Liu X, Li Y, Ma S, et al., A tool path generation method for freeform surface machining by introducing the tensor property of machining strip width, Computer-Aided Design, 2015, 66: 1–33.
Kumazawa G H, Feng H Y, and Barakchi Fard M J, Preferred feed direction field: A new tool path generation method for efficient sculptured surface machining, Computer-Aided Design, 2015, 67–68: 1–12.
Su C, Jiang X, Huo G Y, et al., Initial tool path selection of the Iso-scallop method based on offset similarity analysis for global preferred feed directions matching, The International Journal of Advanced Manufacturing Technology, 2020, 106(7–8): 2675–2687.
Zou Q, Length-optimal tool path planning for freeform surfaces with preferred feed directions based on Poisson formulation, Computer-Aided Design, 2021, 139(9): 103072.
Gorden W J and Riesenfled R F, B-spline curves and surfaces, Computer Aided Geometric Design, 1974, 95–126, DOI: https://doi.org/10.1016/B978-0-12-079050-0.50011-4.
Lee E T Y, Choosing nodes in parametric curve interpolation, Computer-Aided Design, 1989, 21(6): 363–370.
Foley T A and Nielson G M, Knot selection for parametric spline interpolation, Computer Aided Geometric Design, 1989, 261–271.
He S T and Shen L Y, A Class of parameterization method of accumulated average arc length for parametric curves, Journal of Jilin University (Science Edition), 2021, 59(2): 286–294.
Grant M and Boyd S, CVX: Matlab software for disciplined convex programming, version 2.0 beta, http://cvxr.com/cvx.
Yang Z, Shen L Y, Yuan C M, et al., Curve fitting and optimal interpolation for CNC machining under confined error using quadratic B-splines, Computer-Aided Design, 2015, 66: 62–72.
Lin F M, Shen L Y, Yuan C M, et al., Certified space curve fitting and trajectory planning for CNC machining with cubic B-splines, Computer-Aided Design, 2018, 106: 13–29.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
The authors declare no conflict of interest.
Additional information
This research was partially supported by the National Key Research and Development Program of China under Grant No. 2020YFA0713703, the National Science Foundation of China under Grant Nos. 11688101, 12371384, and 12271516, and the Fundamental Research Funds for the Central Universities.
Rights and permissions
About this article
Cite this article
He, S., Shen, L., Wu, Q. et al. A Certified Cubic B-Spline Interpolation Method with Tangential Direction Constraints. J Syst Sci Complex 37, 1271–1294 (2024). https://doi.org/10.1007/s11424-024-2420-0
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11424-024-2420-0