Skip to content
Open access

Design and Simulation of a Closed-Loop DC Motor Position Control System Based on Arduino

Aug 2026 · Applied and Computational Engineering · 0 citations

TL;DR

The low-cost design approach based on Arduino can lower the barrier to implementing motor closed-loop control systems, providing a reference solution for position control system design in small electromechanical devices and teaching experimental equipment, and has practical significance for popularizing embedded motor closed-loop control in engineering practice.

Abstract

The DC motor is affected by hysteresis characteristics, resulting in large steady-state errors and poor positioning accuracy with open-loop control; therefore, open-loop control is not suitable. To verify the PID closed‑loop control logic in a cost‑effective way, this study uses the Tinkercad simulation environment to build a test circuit that includes an Arduino main controller, L293D driver chip, DC motor, and adjustable potentiometer. The potentiometer is connected to the A0 analog pin of the microcontroller to simulate angle sampling, without mechanical coupling between the device shafts. First, the Arduino program reads the potentiometer value on pin A0, maps the 0–1023 range to 0–180 degrees, and calculates the error relative to the 90-degree target angle. PID output is restricted within the 0–255 PWM range and regulates motor rotation direction through L293D pins. The potentiometer serves as simulated angular feedback, and the setup excludes direct mechanical drive from the motor shaft to the potentiometer. Simulation test results show that the system can automatically adjust the PWM output magnitude and motor direction based on real-time errors, the closed-loop control logic operates stably, and it can follow the target angle to complete position adjustment. The significance of this study lies in the use of virtual simulation to debug the control scheme in advance, reducing the cost of processing physical components, quickly verifying the practicality of PID, shortening prototype debugging cycles, and saving experimental materials. On the other hand, the low-cost design approach based on Arduino can lower the barrier to implementing motor closed-loop control systems, providing a reference solution for position control system design in small electromechanical devices and teaching experimental equipment, and has practical significance for popularizing embedded motor closed-loop control in engineering practice.

Read PDF

Similar papers

#software testing Open access Sep 2026

The Design and Evaluation of a Microcontroller-Based Electromechanical Position Control System

This paper develops an integrated electromechanical position control system with an embedded microcontroller platform, combining signal processing, control, actuation, and mechanical design. The system operates through a sensing, control, and execution loop for automatic position adjustment. For hardware implementation...

Shao-Hang Yuan · 0 citations
Open access Aug 2026

Simulation and Optimization of a PID Speed Control System for a DC Motor Based on Falstad Simulation and GNU Octave

DC motors are widely used in electromechanical drive systems. However, traditional open-loop speed control systems suffer from slow response, large steady-state errors, and poor stability. This paper studies a separately excited DC motor speed control system. This study builds a PID speed control system on the Falstad...

Yi-Lin Jin · 0 citations
Conference Aug 2026

Design of Direct Current Motor Servo Driver for Mechanical Automation Control

In the field of mechanical automation control (MAC), DC motors are widely used as key actuators, and their servo drives play a vital role in meeting the high-precision, high-efficiency, and high-stability requirements of these equipment. This paper designs an overall scheme for a DC motor servo drive and a control syst...

Xiu-Yan Zhang · 0 citations
Open access Aug 2026

Design and Implementation of PLC-Based Closed-Loop Control Strategy for Hydraulic Systems

This paper addresses the issues of insufficient control accuracy and decreased stability in hydraulic systems, where fluctuating loads and nonlinear characteristics often compromise positioning precision in high-speed industrial applications. As modern intelligent manufacturing increasingly depends on electromagnetic s...

Hongbing Zeng, Fang-Yu Pan · 0 citations
Conference Sep 2026

Digital Model and Experimental Implementation of Suboptimal Control of Induction Motor

This article examines a digital model of an induction motor (IM) speed control system using a thyristor voltage converter (TVC). The model, using timing diagrams, clearly demonstrates the feasibility of reducing the IM stator current at idle and under load conditions lower than the nominal value. This is particularly r...

V. Goun, A. A. Bakin, A. Anikin · 0 citations
Conference Aug 2026

Design and Implementation of a Two-Wheeled Self-Balancing Vehicle Based on Cascade PID Control and Complementary Filtering

This paper presents the modeling, embedded implementation, and functional validation of a two-wheeled selfbalancing vehicle. The platform is organized as an invertedpendulum system driven by two independently controlled dc geared motors. An STM32F103C8T6 microcontroller executes the real-time control loop, while an MPU...

Zi-Tong Zhang, Yi-Kun Wang, Tian Jiao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.