Digital PID-Based Control for a Low-Cost CNC Plotter Machine
This paper presents the development of a cost-effective Computer Numerical Control (CNC) system using an embedded microcontroller platform. The system utilises a Proportional-Integral-Derivative (PID) control algorithm, implemented on an ESP32 microcontroller, to achieve precise motion control of stepper motors. The design features a custom-built G-code interpreter and a user interface that supports both manual and automated operation. Experimental validation was conducted using a prototype CNC machine, demonstrating reliable positioning accuracy and smooth motion control. The results confirm that the proposed system offers a low-cost alternative to commercial CNC controllers while maintaining satisfactory performance for educational and small-scale manufacturing applications.
Authors
- Blqees Omar (ORCID: https://orcid.org/0009-0005-2645-9076)
- Abderaof Elmrabet (ORCID: https://orcid.org/0000-0002-8436-0980)
- Najeb Elgeme (ORCID: https://orcid.org/0000-0003-4723-4827)
- Radwan Khershif (ORCID: https://orcid.org/0009-0009-2746-1476)
Institutions
- Al Zawiya University (LY)
Publication Details
- Journal
- University of Zawia journal of engineering sciences and technology.
- Published
- 2025-06-15
- DOI
- https://doi.org/10.26629/uzjest.2025.02
- Primary Topic
- Iterative Learning Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00