{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,3]],"date-time":"2026-07-03T15:22:04Z","timestamp":1783092124227,"version":"3.54.6"},"reference-count":54,"publisher":"MDPI AG","issue":"10","license":[{"start":{"date-parts":[[2025,5,8]],"date-time":"2025-05-08T00:00:00Z","timestamp":1746662400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["52365062"],"award-info":[{"award-number":["52365062"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["YCSW2024380"],"award-info":[{"award-number":["YCSW2024380"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Innovation Project of Guangxi Graduate Education","award":["52365062"],"award-info":[{"award-number":["52365062"]}]},{"name":"Innovation Project of Guangxi Graduate Education","award":["YCSW2024380"],"award-info":[{"award-number":["YCSW2024380"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>With the rapid development of Computerized Numerical Control (CNC) systems, traditional industrial communication protocols fail to meet the requirements for high real-time performance and reliability. To address these challenges, an open five-axis CNC system is designed and implemented based on the gLink-II bus protocol. This system features a layered architecture that integrates the Windows operating system with a Real-Time Operating System (RTOS) kernel, along with a multithreaded data interaction structure based on a circular buffer to enhance real-time data transmission performance and improve system responsiveness. In the direct linear interpolation control for five-axis machining, an acceleration and deceleration planning method is introduced, taking into account the kinematic constraints of the rotary axes. This method optimizes velocity and acceleration control. The experimental results show that the system achieves a maximum response error of less than 0.2 milliseconds and an interpolation period of less than 0.5 milliseconds in five-axis coordinated control. The system is capable of efficiently performing data processing and task scheduling, ensuring the stability of the CNC machining process.<\/jats:p>","DOI":"10.3390\/s25102960","type":"journal-article","created":{"date-parts":[[2025,5,8]],"date-time":"2025-05-08T04:06:21Z","timestamp":1746677181000},"page":"2960","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Implementation Method of Five-Axis CNC RTOS Kernel Based on gLink-II Bus"],"prefix":"10.3390","volume":"25","author":[{"given":"Liangji","family":"Chen","sequence":"first","affiliation":[{"name":"Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hansong","family":"Gao","sequence":"additional","affiliation":[{"name":"Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Huiying","family":"Li","sequence":"additional","affiliation":[{"name":"Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Haohao","family":"Xu","sequence":"additional","affiliation":[{"name":"Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2025,5,8]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"983","DOI":"10.1007\/s00170-023-12312-1","article-title":"Research on Servo Matching of a Five-Axis Hybrid Machine Tool","volume":"129","author":"Kong","year":"2023","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"6059","DOI":"10.1109\/TII.2019.2952669","article-title":"Cross-Network Fusion and Scheduling for Heterogeneous Networks in Smart Factory","volume":"16","author":"Wan","year":"2020","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Kim, D.H., and Choi, J.Y. (2025). Development of a Common API for Multiple Ethernet Fieldbus Protocols in Embedded Slave Devices. Electronics, 14.","DOI":"10.3390\/electronics14030613"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"3061","DOI":"10.1007\/s00170-023-11614-8","article-title":"A Novel External Modular Hardware Architecture for PC-Based Soft-CNC System","volume":"127","author":"An","year":"2023","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"104020","DOI":"10.1109\/ACCESS.2024.3434522","article-title":"Demonstration of Industrial Ethernet Protocol Softwarization and Advanced Motion Control for Full Software-Defined Factory Network","volume":"12","author":"Koyasako","year":"2024","journal-title":"IEEE Access"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"992","DOI":"10.1016\/j.ijhydene.2024.09.458","article-title":"Automation Network Computer Aided Design of Hybrid Electrical Energy Backup System for Nuclear Microgrids","volume":"90","author":"Aboshosha","year":"2024","journal-title":"Int. J. Hydrogen Energy"},{"key":"ref_7","first-page":"100583","article-title":"Integrating and Interconnecting of Older SINUMERIK CNC Machines with Industry 4.0 Using a Plug-And-Play System","volume":"38","year":"2024","journal-title":"J. Ind. Inf. Integr."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"4643","DOI":"10.1007\/s00170-023-12583-8","article-title":"An Optimized Data Interaction Structure for SERCOS-Based Open CNC System","volume":"129","author":"Zhou","year":"2023","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"102504","DOI":"10.1016\/j.rcim.2022.102504","article-title":"Open-Architecture of CNC System and Mirror Milling Technology for a 5-Axis Hybrid Robot","volume":"81","author":"Liu","year":"2023","journal-title":"Robot. Comput.-Integr. Manuf."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"5625","DOI":"10.1007\/s00170-022-08675-6","article-title":"A Novel Integration between Service-Oriented IoT-Based Monitoring with Open Architecture of CNC System Monitoring","volume":"131","author":"Ahmad","year":"2022","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"114988","DOI":"10.1016\/j.eswa.2021.114988","article-title":"A Novel Integrating between Tool Path Optimization Using an ACO Algorithm and Interpreter for Open Architecture CNC System","volume":"178","author":"Hatem","year":"2021","journal-title":"Expert Syst. Appl."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"3547","DOI":"10.1007\/s00170-020-05590-6","article-title":"Development of a Novel Component-Based Open CNC Software System","volume":"108","author":"Liu","year":"2020","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Wojtulewicz, A., and Chaber, P. (2025). Industrial Robot Control System with a Predictive Maintenance Module Using IIoT Technology. Sensors, 25.","DOI":"10.3390\/s25041154"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"9708","DOI":"10.15376\/biores.19.4.9708-9726","article-title":"A Flexible Programming and Verification Methodology for Reconfigurable CNC Woodworking Machine","volume":"19","author":"Zivanovic","year":"2024","journal-title":"BioResources"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"1295","DOI":"10.1080\/17480272.2024.2318024","article-title":"Reconfigurable Open Architecture Control System with Integrated Digital Twin for 3-Axis Woodworking Milling Machine","volume":"19","author":"Dimic","year":"2024","journal-title":"Wood Mater. Sci. Eng."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Cheng, Y.M. (2022). Machining with a Precision Five-Axis Machine Tools Created by Combining a Horizontal Parallel Three-Axis Motion Platform and a Three-Axis Machine Tools. Materials, 15.","DOI":"10.3390\/ma15062268"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Zhang, J.J., Xia, M.J., Li, H., Li, S.S., and Shi, J. (2024). The Design and Real-Time Optimization of an EtherCAT Master for Multi-Axis Motion Control. Electronics, 13.","DOI":"10.3390\/electronics13153101"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"1","DOI":"10.23919\/JCC.ja.2023-0066","article-title":"DR-IS: Dynamic Response Incremental Scheduling in Time-Sensitive Network","volume":"21","author":"Jinchuan","year":"2024","journal-title":"China Commun."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Yoo, T., and Choi, B.W. (2024). Real-Time Performance Benchmarking of RISC-V Architecture: Implementation and Verification on an EtherCAT-Based Robotic Control System. Electronics, 13.","DOI":"10.20944\/preprints202401.1764.v1"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"229","DOI":"10.1007\/s10009-024-00743-4","article-title":"Reusable Formal Models for Concurrency and Communication in Custom Real-Time Operating Systems","volume":"26","author":"Adelt","year":"2024","journal-title":"Int. J. Softw. Tools Technol. Transf."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1837","DOI":"10.1007\/s10845-020-01539-4","article-title":"The Architecture Development of Industry 4.0 Compliant Smart Machine Tool System (SMTS)","volume":"31","author":"Jeon","year":"2020","journal-title":"J. Intell. Manuf."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"716","DOI":"10.1016\/j.jmsy.2024.04.029","article-title":"An Edge Intelligence-Based Model Deployment Method for CNC Systems","volume":"74","author":"Zhou","year":"2024","journal-title":"J. Manuf. Syst."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"62","DOI":"10.1007\/s40820-024-01572-5","article-title":"An Artificial Intelligence-Assisted Flexible and Wearable Mechanoluminescent Strain Sensor System","volume":"17","author":"Dong","year":"2024","journal-title":"Nano-Micro Lett."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"102956","DOI":"10.1016\/j.inffus.2025.102956","article-title":"Semi-Supervised Social Bot Detection with Relational Graph Attention Transformers and Characteristics of the Social Environment","volume":"118","author":"Huang","year":"2025","journal-title":"Inf. Fusion"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"2007","DOI":"10.1177\/0954405418809768","article-title":"A Real-Time and Look-Ahead Interpolation Algorithm with Axial Jerk-Smooth Transition Scheme for Computer Numerical Control Machining of Micro-Line Segments","volume":"233","author":"Li","year":"2018","journal-title":"Proc. Inst. Mech. Eng. Part B J. Eng. Manuf."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"1387","DOI":"10.1016\/j.jmapro.2021.02.059","article-title":"Asymmetrical Pythagorean-Hodograph (PH) Spline-Based C3 Continuous Corner Smoothing Algorithm for Five-Axis Tool Paths with Short Segments","volume":"64","author":"Wan","year":"2021","journal-title":"J. Manuf. Process."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"042019","DOI":"10.1088\/1757-899X\/382\/4\/042019","article-title":"Research and Development of Sampled-Data Interpolation Algorithm Software in CNC System Based on the Visual C++","volume":"382","author":"Yang","year":"2018","journal-title":"IOP Conf. Ser. Mater. Sci. Eng."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"2948","DOI":"10.4028\/www.scientific.net\/AMM.321-324.2948","article-title":"Development of Sampled-Data Interpolation Algorithm Software in CNC System Based on the Visual C++","volume":"321\u2013324","author":"Zhang","year":"2013","journal-title":"Appl. Mech. Mater."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"212","DOI":"10.1016\/j.precisioneng.2018.05.014","article-title":"Kinematics Model and Trajectory Interpolation Algorithm for CNC Turning of Non-Circular Profiles","volume":"54","author":"Yang","year":"2018","journal-title":"Precis. Eng."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Varga, J., I\u017eol, P., Vrabe\u013e, M., Ka\u0161\u010d\u00e1k, \u013d., Drb\u00fal, M., and Brindza, J. (2023). Surface Quality Evaluation in the Milling Process Using a Ball Nose End Mill. Appl. Sci., 13.","DOI":"10.20944\/preprints202307.1636.v1"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"012020","DOI":"10.1088\/1755-1315\/461\/1\/012020","article-title":"Path Planning of Manipulator Based on Acceleration and Deceleration Control of Two-Phase Adaptive Path","volume":"461","author":"Li","year":"2020","journal-title":"IOP Conf. Ser. Earth Environ. Sci."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1145","DOI":"10.1007\/s00170-016-9715-9","article-title":"The Implementation and Experimental Research on an S-Curve Acceleration and Deceleration Control Algorithm with the Characteristics of End-Point and Target Speed Modification on the Fly","volume":"91","author":"Li","year":"2016","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"1729","DOI":"10.1007\/s00170-017-1264-3","article-title":"A Local Smoothing Interpolation Method for Short Line Segments to Realize Continuous Motion of Tool Axis Acceleration","volume":"95","author":"Han","year":"2017","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"279","DOI":"10.1007\/s00170-016-8444-4","article-title":"A Novel Integrated Dynamic Acceleration\/Deceleration Interpolation Algorithm for a CNC Controller","volume":"87","author":"Tsai","year":"2016","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"89","DOI":"10.1016\/j.jmsy.2025.02.012","article-title":"MetaFactory: A Cloud-Based Framework to Configure and Generate Dynamic Data Structures from the STEP-NC Knowledge Graph","volume":"80","author":"Xiao","year":"2025","journal-title":"J. Manuf. Syst."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"91","DOI":"10.1016\/j.precisioneng.2025.02.024","article-title":"Research on Thermal Error Compensation Modeling for the Machine Tool Integrated Drive System Based on Energy Consumption Big Data and an Optimized Bidirectional Network","volume":"94","author":"Chen","year":"2025","journal-title":"Precis. Eng."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"504","DOI":"10.1016\/j.jmsy.2025.01.018","article-title":"ChatCNC: Conversational Machine Monitoring via Large Language Model and Real-Time Data Retrieval Augmented Generation","volume":"79","author":"Jeon","year":"2025","journal-title":"J. Manuf. Syst."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"113152","DOI":"10.1016\/j.knosys.2025.113152","article-title":"Multi-Task Dual-Level Adversarial Transfer Learning Boosted RUL Estimation of CNC Milling Tools","volume":"312","author":"Wang","year":"2025","journal-title":"Knowl.-Based Syst."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Gu, M., Kang, S., Xu, Z., Lin, L., and Zhang, Z. (2025). AE-XGBoost: A Novel Approach for Machine Tool Machining Size Prediction Combining XGBoost, AE and SHAP. Mathematics, 13.","DOI":"10.3390\/math13050835"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"4882","DOI":"10.1109\/TTE.2024.3471771","article-title":"Robust and High-Precision Position Control of PMLSM-Driven Feed Servo System Based on Adaptive Fast Nonsingular Terminal Sliding Mode","volume":"11","author":"Wang","year":"2024","journal-title":"IEEE Trans. Transp. Electrif."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"963","DOI":"10.1016\/j.jmapro.2024.10.058","article-title":"Custom Post-Processor Based on the PSO Algorithm for 5 Axis Machine Tool Compensation","volume":"132","author":"Zekalmi","year":"2024","journal-title":"J. Manuf. Process."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"16878132241244924","DOI":"10.1177\/16878132241244924","article-title":"Multi-Axis CNC Finishing and Surface Roughness Prediction of TC11 Titanium Alloy Open Integral Micro Impeller","volume":"16","author":"Zhao","year":"2024","journal-title":"Adv. Mech. Eng."},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"3935","DOI":"10.1007\/s00170-023-11777-4","article-title":"Post-Processing of a Nine-Axis and Five-Linkage Turn-Milling Compound Machine Tool","volume":"127","author":"Wei","year":"2023","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"3109","DOI":"10.1007\/s00170-023-11230-6","article-title":"Research and Development of Multi-Axis CNC Abrasive Belt-Grinding Machine Postprocessor","volume":"126","author":"Qiao","year":"2023","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_45","doi-asserted-by":"crossref","unstructured":"Dabwan, A., Anwar, S., Al-Samhan, A.M., Alqahtani, K.N., Nasr, M.M., Kaid, H., and Ameen, W. (2023). CNC Turning of an Additively Manufactured Complex Profile Ti6Al4V Component Considering the Effect of Layer Orientations. Processes, 11.","DOI":"10.3390\/pr11041031"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"2701","DOI":"10.1007\/s00170-022-10568-7","article-title":"The Use of the Rapid Unequal Interval Interpolation Method (RUIIM) for a Non-RTCP NC Program and Five-Axis Machining","volume":"124","author":"Chen","year":"2022","journal-title":"Int. J. Adv. Manuf. Technol."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"807","DOI":"10.1080\/0951192X.2022.2145020","article-title":"Novel Process Planning Approach for Support-Free Additive Manufacturing Using Multi-Axis Deposition Systems","volume":"36","author":"Manoharan","year":"2022","journal-title":"Int. J. Comput. Integr. Manuf."},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Garrido, J., Silva, D., and S\u00e1ez, J. (2021). STEP-NC-Compliant Implementation to Support Mixed-Control Technologies Applied to Stone-Processing Machines Based on Industrial Automation Standards. Machines, 9.","DOI":"10.3390\/machines9120327"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Chen, L., Xu, H., Huang, Q., and Wang, P. (2024). An Integrated Method for Compensating and Correcting Nonlinear Error in Five-Axis Machining Utilizing Cutter Contacting Point Data. Sci. Rep., 14.","DOI":"10.1038\/s41598-024-59458-w"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"045002","DOI":"10.1088\/1361-6501\/adbcca","article-title":"Real-Time Measurement-Based Optimization of Tool Position and Tool Axis Vector for Five-Axis Machining Using Interpolated Cutter Contact Point","volume":"36","author":"Chen","year":"2025","journal-title":"Meas. Sci. Technol."},{"key":"ref_51","doi-asserted-by":"crossref","first-page":"172988142110724","DOI":"10.1177\/17298814211072418","article-title":"Velocity Planning Method for Position\u2013Velocity\u2013Time Control Based on a Modified S-Shaped Acceleration\/Deceleration Algorithm","volume":"19","author":"Ni","year":"2022","journal-title":"Int. J. Adv. Robot. Syst."},{"key":"ref_52","first-page":"251","article-title":"Minimum-Time Velocity Profile Planning for Planar Motion Considering Velocity, Acceleration and Jerk Constraints","volume":"96","year":"2021","journal-title":"Int. J. Control"},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"524","DOI":"10.1007\/s40430-021-03233-9","article-title":"A Flexible Velocity Planning Algorithm for High-Speed Mounter with Both Efficiency and Precision","volume":"43","author":"Hu","year":"2021","journal-title":"J. Braz. Soc. Mech. Sci. Eng."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"186","DOI":"10.1016\/j.jmapro.2023.04.028","article-title":"Improved Spatial Acceleration and Jerk Distributions for Grinding Force Smoothness and Energy-Saving in Reciprocating Machining","volume":"98","author":"Xu","year":"2023","journal-title":"J. Manuf. Process."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/25\/10\/2960\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:29:16Z","timestamp":1760030956000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/25\/10\/2960"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,8]]},"references-count":54,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2025,5]]}},"alternative-id":["s25102960"],"URL":"https:\/\/doi.org\/10.3390\/s25102960","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,8]]}}}