Cubic spline interpolations in CNC machining

A cubic spline polynomial is applied to control the machine tool movements defined by the spline. This paper is an attempt to implement cubic spline interpolation in computer numerical method (CNC) machining. Three different C++ interpolation libraries were studied: Boost, Alglib and TK spline. The...

Full description

Bibliographic Details
Main Authors: Wan Ruslan, Wan Yusoff, Ismayuzri, Ishak, Fadhlur Rahman, Mohd Romlay
Format: Conference or Workshop Item
Language:English
English
Published: Springer Science and Business Media Deutschland GmbH 2022
Subjects:
Online Access:http://umpir.ump.edu.my/id/eprint/39822/1/Cubic%20Spline%20Interpolations%20in%20CNC%20Machining.pdf
http://umpir.ump.edu.my/id/eprint/39822/2/Cubic%20spline%20interpolations%20in%20CNC%20machining_ABS.pdf
_version_ 1825815369000943616
author Wan Ruslan, Wan Yusoff
Ismayuzri, Ishak
Fadhlur Rahman, Mohd Romlay
author_facet Wan Ruslan, Wan Yusoff
Ismayuzri, Ishak
Fadhlur Rahman, Mohd Romlay
author_sort Wan Ruslan, Wan Yusoff
collection UMP
description A cubic spline polynomial is applied to control the machine tool movements defined by the spline. This paper is an attempt to implement cubic spline interpolation in computer numerical method (CNC) machining. Three different C++ interpolation libraries were studied: Boost, Alglib and TK spline. The goals are to compare the accuracy of interpolation and the ease of implementation of the libraries. Twenty cubic spline interpolant functions were calculated using a selected test function One thousand interpolated points were calculated using the three different cubic spline interpolation libraries. Based on findings in this work, the Boost library is best on accuracy based on RMSE (root mean square error), while the TK spline library is simplest to implement in software code. The Alglib library is the most complicated in setup, and its accuracy is similar to the TK spline library. Included at the end of this report are the C++ cubic spline source codes, results of code executions and visual plots confirming the correctness of this work.
first_indexed 2024-03-06T13:12:28Z
format Conference or Workshop Item
id UMPir39822
institution Universiti Malaysia Pahang
language English
English
last_indexed 2024-03-06T13:12:28Z
publishDate 2022
publisher Springer Science and Business Media Deutschland GmbH
record_format dspace
spelling UMPir398222024-01-02T01:22:26Z http://umpir.ump.edu.my/id/eprint/39822/ Cubic spline interpolations in CNC machining Wan Ruslan, Wan Yusoff Ismayuzri, Ishak Fadhlur Rahman, Mohd Romlay T Technology (General) TA Engineering (General). Civil engineering (General) TJ Mechanical engineering and machinery TK Electrical engineering. Electronics Nuclear engineering TS Manufactures A cubic spline polynomial is applied to control the machine tool movements defined by the spline. This paper is an attempt to implement cubic spline interpolation in computer numerical method (CNC) machining. Three different C++ interpolation libraries were studied: Boost, Alglib and TK spline. The goals are to compare the accuracy of interpolation and the ease of implementation of the libraries. Twenty cubic spline interpolant functions were calculated using a selected test function One thousand interpolated points were calculated using the three different cubic spline interpolation libraries. Based on findings in this work, the Boost library is best on accuracy based on RMSE (root mean square error), while the TK spline library is simplest to implement in software code. The Alglib library is the most complicated in setup, and its accuracy is similar to the TK spline library. Included at the end of this report are the C++ cubic spline source codes, results of code executions and visual plots confirming the correctness of this work. Springer Science and Business Media Deutschland GmbH 2022 Conference or Workshop Item PeerReviewed pdf en http://umpir.ump.edu.my/id/eprint/39822/1/Cubic%20Spline%20Interpolations%20in%20CNC%20Machining.pdf pdf en http://umpir.ump.edu.my/id/eprint/39822/2/Cubic%20spline%20interpolations%20in%20CNC%20machining_ABS.pdf Wan Ruslan, Wan Yusoff and Ismayuzri, Ishak and Fadhlur Rahman, Mohd Romlay (2022) Cubic spline interpolations in CNC machining. In: Lecture Notes in Electrical Engineering; Innovative Manufacturing, Mechatronics and Materials Forum, iM3F 2020 , 6 August 2020 , Gambang, Kuantan. pp. 253-261., 730 (262829). ISSN 1876-1100 ISBN 978-981334596-6 (Published) https://doi.org/10.1007/978-981-33-4597-3_24
spellingShingle T Technology (General)
TA Engineering (General). Civil engineering (General)
TJ Mechanical engineering and machinery
TK Electrical engineering. Electronics Nuclear engineering
TS Manufactures
Wan Ruslan, Wan Yusoff
Ismayuzri, Ishak
Fadhlur Rahman, Mohd Romlay
Cubic spline interpolations in CNC machining
title Cubic spline interpolations in CNC machining
title_full Cubic spline interpolations in CNC machining
title_fullStr Cubic spline interpolations in CNC machining
title_full_unstemmed Cubic spline interpolations in CNC machining
title_short Cubic spline interpolations in CNC machining
title_sort cubic spline interpolations in cnc machining
topic T Technology (General)
TA Engineering (General). Civil engineering (General)
TJ Mechanical engineering and machinery
TK Electrical engineering. Electronics Nuclear engineering
TS Manufactures
url http://umpir.ump.edu.my/id/eprint/39822/1/Cubic%20Spline%20Interpolations%20in%20CNC%20Machining.pdf
http://umpir.ump.edu.my/id/eprint/39822/2/Cubic%20spline%20interpolations%20in%20CNC%20machining_ABS.pdf
work_keys_str_mv AT wanruslanwanyusoff cubicsplineinterpolationsincncmachining
AT ismayuzriishak cubicsplineinterpolationsincncmachining
AT fadhlurrahmanmohdromlay cubicsplineinterpolationsincncmachining