# Implementation Method of Five-Axis CNC RTOS Kernel Based on gLink-II Bus

**Authors:** Liangji Chen, Hansong Gao, Huiying Li, Haohao Xu

PMC · DOI: 10.3390/s25102960 · Sensors (Basel, Switzerland) · 2025-05-08

## TL;DR

This paper presents a new five-axis CNC system using a gLink-II bus protocol to improve real-time performance and reliability.

## Contribution

The novel contribution is the implementation of a layered architecture combining Windows and an RTOS kernel with a circular buffer for real-time data transmission.

## Key findings

- The system achieves a maximum response error of less than 0.2 milliseconds.
- The interpolation period is less than 0.5 milliseconds in five-axis coordinated control.
- The system ensures stability in CNC machining through efficient data processing and task scheduling.

## Abstract

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.

## Full-text entities

- **Diseases:** injury to (MESH:D014947), HMI (MESH:D001734)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12114984/full.md

## Figures

16 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12114984/full.md

## References

54 references — full list in the complete paper: https://tomesphere.com/paper/PMC12114984/full.md

---
Source: https://tomesphere.com/paper/PMC12114984