OPTIMIZING REALTIME PERFORMANCE FOR EMBEDDED SYSTEM IN 3 AXIS DYANOMETER: A COMPARISION BETWEEN TECHNIQUES

  • Bui Long Vinh
  • Nguyen Ngoc Toan
  • Dao Minh Tuan
  • Do Hoang Nam
  • Phan Quoc Hien
  • Phan Dang Hoang
Keywords: Embedded system, Dynamometer, Turning process, Real-time operating system, Direct memory access embedded architecture, Real-time force measurement.

Abstract

The highly accurate, high-speed acquisition of cutting force data is a fundamental prerequisite for the real-time monitoring and optimization of machining processes. To date, the predominant focus of research has been on the mechanical design and calibration accuracy of dynamometers, with comparatively limited attention devoted to the optimization of embedded data acquisition architectures.

This study addresses this gap by presenting a systematic performance comparison of four distinct data acquisition strategies implemented on a three-axis real-time force measurement system in turning process. The architectures: (i) Polling, (ii) Polling with Interrupts, (iii) a Real-Time Operating System (RTOS) with Interrupts, and (iv) an RTOS with Direct Memory Access (DMA) utilizing a double buffering mechanism were evaluated on an STM32 microcontroller platform integrated with a 24-bit ADC operating at 32 kSPS.

Performance was quantitatively assessed based on CPU utilization and sampling rate stability. The empirical results demonstrate that while conventional Polling and Interrupt-driven methods achieve the target sampling rate, they do so at the cost of nearly 100% CPU utilization. The RTOS-Interrupt architecture offered a substantial improvement, reducing the CPU load to approximately 97.51%. Most significantly, the RTOS-DMA configuration demonstrated superior efficacy, achieving an average CPU load time of 87.23% while maintaining high sampling rate stability (33,145.09 ± 36.64 samples/s).

These findings validate that the RTOS-DMA architecture provides an optimal balance between high data throughput and computational efficiency. This approach effectively decouples data acquisition from the CPU, thereby enabling parallel execution of critical tasks such as signal processing and communication, establishing it as the most suitable architecture for robust, multi-tasking smart machining monitoring systems.

điểm /   đánh giá
Published
2026-02-10
Section
RESEARCH AND DISCUSSION