Deterministic Timer–DMA Motion Control for Embedded Hybrid CNC and Additive Manufacturing Systems
Hybrid CNC and additive manufacturing platforms often rely on host-assisted or otherwise overdimensioned control architectures to achieve deterministic multi-axis motion, increasing system cost and complexity. This paper presents a fully microcontroller-based timer–DMA motion execution architecture that eliminates the need for external processors or FPGA-based execution, enabling deterministic multi-axis synchronization under the tested conditions in a simpler, more cost-effective way. The proposed framework integrates motion planning, precise step-time computation, and hardware-assisted pulse generation within a unified embedded control architecture. The main novelty lies in the systematic use of timer and DMA peripherals to offload time-critical pulse execution from the microcontroller core, allowing it to focus on motion planning and precise step-time computation. Unlike segmentation-based approaches, the duration of each individual step is calculated directly without fixed-interval segmentation, enabling high motion resolution while avoiding per-step interrupts that introduce jitter at high motion speeds. The architecture was validated on a hybrid platform capable of both milling and material extrusion. Experimental results confirmed real-time feasibility within practical on-chip memory limits and demonstrated very small interpolation errors caused mainly by timer quantization, comparable to those observed in host-processor-based motion systems. Machining and additive-manufacturing experiments further confirmed stable execution and accurate trajectory tracking under real operating conditions.
Authors
- Branislav Gerazov (ORCID: https://orcid.org/0000-0003-2498-6831)
- Nikola Jovanovski
- Josif Kjosev
- Katerina Raleva (ORCID: https://orcid.org/0000-0001-6212-1498)
Institutions
- Ss. Cyril and Methodius University in Skopje (MK)
Publication Details
- Journal
- Electronics
- Published
- 2026-04-25
- DOI
- https://doi.org/10.3390/electronics15091830
- Primary Topic
- Iterative Learning Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00