ISSN: 2685-9572 Buletin Ilmiah Sarjana Teknik Elektro
Vol. 8, No. 6, December 2026, pp. 1855-1870
Artificial Protozoa Optimizer-Based PID Tuning for Enhanced Transient Response of DC Motor Speed Control
Aditya Prapanca 1, Widi Aribowo 2, Diego Oliva 3, Toufik Mzili 4
1 Department of Computer Engineering, Faculty of Engineering, Universitas Negeri Surabaya, Surabaya, Indonesia
2 Department of Electrical Engineering, Faculty of Vocational Studies, Universitas Negeri Surabaya, Surabaya, Indonesia
3 Depto. de Ingeniería Electro-Fotónica, Universidad de Guadalajara, CUCEI, Guadalajara, México
4 Department of computer science, Université Chouaib Eddoukali, Morocco
ARTICLE INFORMATION | ABSTRACT | |
Article History: Received 29 August 2026 Revised 12 November 2026 Accepted 01 December 2026 | DC motor speed control requires fast response, low overshoot, and accurate reference tracking. However, conventional Proportional–Integral–Derivative (PID) controllers remain sensitive to gain selection, which can affect transient performance. This study proposes an Artificial Protozoa Optimizer (APO)-based PID controller to improve DC motor speed regulation through simulation-based optimization. The research contribution is the integration of APO's chemotactic navigation, pseudopodial exploitation, and adaptive feedback learning mechanisms into a systematic PID parameter-tuning framework, providing an alternative search strategy for controller optimization. The proposed approach consists of two evaluation stages: benchmark-function testing using 23 functions (F1–F23), classified into unimodal, multimodal, and multimodal fixed groups, and closed-loop DC motor speed-control simulation. APO is employed to determine the optimal proportional, integral, and derivative gains, which are subsequently compared with conventional PID, CDO-PID, RFO-PID, and PSO-PID controllers. The benchmark results show that APO achieves third-place aggregate rankings across all three function groups, demonstrating competitive but function-dependent optimization performance. In the DC motor simulation, APO-PID achieves a rise time of 0.003660 s and an overshoot of 0.0355%, compared with 0.017946 s and 0.6623% for conventional PID, respectively. APO-PID also obtains the lowest ITAE value of 5.172 × 10⁻⁶, while PSO-PID achieves the lowest ITSE value of 1.693 × 10⁻⁷ but exhibits a substantially higher overshoot of 45.6477%. The final APO-PID response reaches 1.000036. These findings demonstrate that APO-based PID tuning offers a favorable trade-off between response speed and overshoot reduction in the simulated DC motor system, although experimental validation and robustness assessment remain necessary. | |
Keywords: Artificial Protozoa Optimizer; PID Controller; DC Motor; Metaheuristic Optimization; Transient Response | ||
Corresponding Author: Widi Aribowo, Department of Electrical Engineering, Faculty of Vocational Studies, Universitas Negeri Surabaya, Indonesia. Email: widiaribowo@unesa.ac.id | ||
This work is open access under a Creative Commons Attribution-Share Alike 4.0 | ||
Document Citation: A. Prapanca, W. Aribowo, D. Oliva, and T. Mzili, “Artificial Protozoa Optimizer-Based PID Tuning for Enhanced Transient Response of DC Motor Speed Control,” Buletin Ilmiah Sarjana Teknik Elektro, vol. 8, no. 6, pp. 1855-1870, 2026, DOI: 10.12928/biste.v8i6.17792. | ||
DC motors are widely employed in industrial automation, robotics, electric transportation, manufacturing systems, and household applications because of their simple construction, controllability, and ability to provide responsive speed regulation [1]-[7]. In these applications, maintaining accurate motor speed is essential for ensuring operational stability, motion precision, and system efficiency [8]. However, DC motor speed regulation is affected by operating conditions such as load disturbances, variations in electrical and mechanical parameters, and fluctuations in the supply voltage [9]-[12]. These variations can influence the dynamic relationship between the applied armature voltage, motor current, electromagnetic torque, and rotational speed, potentially resulting in tracking errors, overshoot, and prolonged settling time [13][14]. Therefore, an effective speed-control strategy should achieve rapid reference tracking while minimizing transient deviations and maintaining an acceptable steady-state response [15]-[19]. The Proportional–Integral–Derivative (PID) controller remains one of the most widely adopted strategies for DC motor speed regulation because of its relatively simple structure, straightforward implementation, and effective feedback-control characteristics [20]-[23]. The controller determines its control signal through three parameters: proportional gain (), integral gain
, and derivative gain (
) [24]. The proportional component determines the response to instantaneous tracking errors, the integral component accumulates past errors to eliminate steady-state deviations, and the derivative component responds to changes in error to improve transient damping. [25]-[28]. Despite these advantages, achieving satisfactory PID performance depends strongly on selecting appropriate controller gains. An excessively aggressive proportional or integral gain may increase overshoot and oscillatory behavior, whereas conservative gain selection may produce a slower response. Furthermore, the interaction among the three parameters creates a coupled optimization problem in which improving one performance indicator may deteriorate another. Consequently, systematic PID parameter optimization is required to obtain an appropriate balance among response speed, overshoot, settling behavior, and accumulated tracking error [29]-[33].
Control and metaheuristics are complementary approaches for handling complex, nonlinear, high-dimensional, and dynamic engineering systems characterized by uncertainty [34]. Control systems regulate system responses by managing variables and minimizing errors; examples include PI/PID control, fuzzy logic-PI, load frequency control, and model predictive control (MPC). In MPC, a dynamic model predicts future states, while an optimization process determines control actions based on objective functions, constraints, and a prediction horizon [35][36]. Metaheuristics are employed to optimize control parameters when finding an optimal solution proves difficult using conventional methods [37][38]. These algorithms possess global search capabilities and utilize exploration and exploitation mechanisms to derive optimal or near-optimal solutions without necessarily requiring an explicit mathematical formulation of the problem. In practice, metaheuristic can be used to tune control parameters based on specific objective functions. Integrating metaheuristics with control systems enables improved system response quality through parameter optimization, constraint handling, enhanced convergence, and the ability to navigate complex, nonlinear solution spaces [39][40][41].
DC motor control is a crucial component in various industrial applications due to the ease of control, relatively low maintenance requirements, and affordability of DC motors, as well as their versatility in sectors such as manufacturing, textiles, electric transportation, robotics, energy, and other systems [42]. The primary objectives of DC motor control are to achieve accurate reference speed tracking, maintain a consistent output speed, and reach target speeds or positions with minimal delay, overshoot, and settling time [43]-[45]. The PID controller is widely used due to its simplicity, effectiveness, and ease of implementation; however, manual tuning of PID gain parameters can be time-consuming and may not yield an optimal response in the face of parameter changes or disturbances. Consequently, metaheuristic methods are employed as optimization approaches to determine controller parameters more systematically within complex, nonlinear, and non-convex solution spaces environments where there is a risk of becoming trapped in local optima. Metaheuristic algorithms utilize stochastic or population-based strategies that do not require derivative information, making them applicable to a wide range of optimization problems characterized by high mathematical complexity [46][47]. In the context of DC motor control, various algorithms such as Particle Swarm Optimization (PSO) [48], Firefly Algorithm (FFA) [49], Harris Hawks Optimization (HHO) [50], and Red Panda Optimization Algorithm (RPOA) [51] have been utilized for PID parameter tuning. Objective functions such as Integral Absolute Error (IAE), Integral Square Error (ISE), Integral Time-weighted Absolute Error (ITAE), and Integral Time Square Error (ITSE) are used to guide the search process toward the desired control response; ITAE, in particular, is employed to achieve a response characterized by reduced overshoot and settling time, as well as smoother performance. Hybrid approaches have also been developed by combining multiple metaheuristic mechanisms to maintain a balance between searching the solution space (exploration) and refining potential solutions (exploitation). Consequently, the application of metaheuristics to DC motor control focuses primarily on optimizing controller parameters, allowing response characteristicsto be quantitatively evaluated against defined objective functions and operating conditions. Although researchers have explored various metaheuristic-based control strategies for DC motors, there remain opportunities for further investigation to achieve optimal control performance [52].
The Artificial Protozoa Optimizer (APO) is a bio-inspired optimization algorithm that models the adaptive searching behavior of protozoa through three principal mechanisms: chemotactic navigation, pseudopodial movement, and adaptive feedback learning [53]. The Artificial Protozoa Optimizer (APO) is a bio-inspired optimization algorithm that models the adaptive searching behavior of protozoa through three principal mechanisms: chemotactic navigation, pseudopodial movement, and adaptive feedback learning [41]. Chemotactic navigation supports exploration by enabling candidate solutions to investigate different regions of the search space. Pseudopodial movement provides an exploitation mechanism that directs the search toward promising solutions, while adaptive feedback learning refines subsequent search movements using information from previous positions. The combination of these mechanisms provides a potentially suitable search strategy for PID tuning, where exploration is required to investigate alternative gain combinations and exploitation is needed to refine promising controller parameters. In addition, adaptive feedback learning provides a mechanism for incorporating previous search information into subsequent updates. However, these characteristics represent methodological motivations rather than evidence of superior performance; their effectiveness must be established through comparative benchmark testing and DC motor control simulations. The performance of the proposed APO-PID controller is evaluated through simulation-based closed-loop DC motor speed regulation. The controller is compared with conventional PID, CDO-PID, RFO-PID, and PSO-PID using rise time, overshoot, Integral of Time-weighted Absolute Error (ITAE), and Integral of Time-weighted Squared Error (ITSE). These indicators are selected to assess different aspects of transient performance: rise time represents response speed, overshoot measures the maximum deviation beyond the reference value, ITAE evaluates time-weighted absolute tracking error, and ITSE quantifies time-weighted squared tracking error. Considering these indicators simultaneously enables a more balanced assessment of controller performance and prevents an excessively fast response with large overshoot from being interpreted as universally superior. The present investigation focuses on simulation-based performance evaluation; experimental validation using a physical DC motor and systematic robustness testing under load disturbances and motor-parameter variations are considered directions for further research. The research contribution is the development and simulation-based evaluation of an APO-PID framework for DC motor speed control, with emphasis on the relationship between APO search performance and closed-loop transient characteristics. The specific contributions are summarized as follows:
Through these contributions, this study aims to establish the suitability of APO as an alternative optimization approach for PID-based DC motor speed regulation and to identify its performance advantages and limitations relative to the selected benchmark methods. This article consists of four main sections: the Introduction discusses the research problem and objectives, the Methods section explains the APO, DC motor, PID, and optimization method, the Results and Discussion section presents benchmark results and transient responses, and the Conclusions section summarizes the findings and future developments.
The Artificial Protozoa Optimizer (APO) (Figure 1) is a bio-inspired metaheuristic algorithm that mimics the adaptive behavior of protozoa to solve complex, high-dimensional optimization problems. It aims to achieve optimal solutions by balancing exploration and exploitation through chemotactic navigation, pseudopodial movement, and adaptive feedback learning. APO can be applied to structural design, PID parameter tuning, power systems and optimal power flow, wireless sensor networks, renewable energy modeling, and mechanical design. The primary objective of the APO is to effectively obtain optimal solutions for complex, high-dimensional optimization problems characterized by challenging search spaces. APO is designed to enhance search capabilities by balancing exploration via chemotactic navigation and exploitation via pseudopodial movement while refining search trajectories through adaptive feedback learning. Through these mechanisms, APO aims to improve solution accuracy, accelerate convergence, and reduce the risk of premature convergence.
The three APO mechanisms form a complementary search process. Chemotactic navigation facilitates exploration by directing the agent to various regions of the search space through a combination of gradient information and stochastic elements. Subsequently, pseudopodial movement performs exploitation by guiding the agent toward the best solution, thereby narrowing the search to promising areas. Adaptive feedback learning then utilizes prior positional information to refine the agent's trajectory, enhance convergence stability, and mitigate stagnation. Thus, the three mechanisms operate sequentially and adaptively to balance exploration and exploitation.
The Artificial Protozoa Optimizer (APO) is an iterative metaheuristic optimization process that combines exploration, exploitation, and adaptive learning to obtain the best solution within a defined search space. The process begins by specifying the objective function , search-space boundaries
and
, population size
, and maximum number of iterations
. Each protozoan
is then randomly initialized within the specified boundaries using the initialization equation, while the control parameters,
,
, and
are defined. At each iteration, APO first performs the chemotactic navigation phase, which functions as the exploration mechanism. For every protozoan, the fitness value
is evaluated, the gradient
is calculated, and a stochastic vector
is generated. These components are combined to update the protozoan position, enabling the population to explore different regions of the search space. After all protozoans complete this stage, the best solution
in the current population is identified. The algorithm then enters the pseudopodial exploitation phase, in which each protozoan updates its position toward
using the contraction factor
. This mechanism concentrates the search around promising regions identified during exploration. Following exploitation, adaptive learning updates each protozoan according to the difference between its current and previous positions allowing the search trajectory to be refined based on previous movement. The current position is subsequently stored as
. The contraction factor is then updated according to the iteration number, progressively controlling the exploitation intensity. The iteration counter is increased, and the process continues until the maximum iteration
is reached. Finally, APO returns
as the best solution obtained from the optimization process.
A direct current (DC) motor is an electromechanical energy conversion device that transforms electrical energy into mechanical rotational energy. DC motors are widely utilized in industrial and engineering applications because of their simple construction, operational flexibility, relatively low cost, reliability, and ease of speed regulation. Their ability to provide controllable torque and responsive speed characteristics makes them particularly suitable for applications requiring accurate and stable mechanical motion. The operating principle of a DC motor is governed by the interaction between its electrical and mechanical subsystems. When an armature voltage is applied, an armature current flows through the motor winding, generating electromagnetic torque that drives the rotor. Simultaneously, rotor rotation induces a back electromotive force (back EMF), which opposes the applied armature voltage and is proportional to the angular velocity of the motor shaft. For an armature-controlled DC motor operating under the constant-field-flux assumption, the electromagnetic torque is directly proportional to the armature current, while the back EMF is proportional to the motor's rotational speed. The electrical dynamics are primarily determined by the armature resistance, armature inductance, applied voltage, and back EMF. Meanwhile, the mechanical dynamics depend on the rotor and load inertia, viscous friction coefficient, electromagnetic torque, and external load torque. The interaction between these two subsystems determines the overall speed response and transient behavior of the motor. Mathematically, the DC motor can be represented by a coupled set of electrical and mechanical differential equations, which can subsequently be transformed into a transfer function relating the applied armature voltage to the resulting angular speed. This mathematical representation provides a fundamental basis for analyzing motor dynamics and designing effective speed-control strategies. In practical applications, DC motors are extensively employed in manufacturing processes, paper and textile industries, electric transportation systems, robotic mechanisms, industrial automation, and other applications requiring precise rotational speed regulation. The general operating principle and applications of a DC motor are illustrated in Figure 2. The following equations describe the electrical of controlled DC motor:
(1) | ||
(2) |
Where and
are Armature resistance and Armature inductance.
is back electromotive force.
Figure 1. Flowchart of APO
The Proportional–Integral–Derivative (PID) controller is one of the most widely adopted feedback control strategies in industrial and engineering applications due to its relatively simple structure, ease of implementation, and capability to provide satisfactory control performance across various dynamic systems. The fundamental principle of PID control is to continuously regulate the control input based on the deviation between the desired reference signal and the actual system output, commonly referred to as the control error. The controller combines three complementary control actions: proportional, integral, and derivative, which collectively determine the dynamic behavior and steady-state performance of the controlled system. The proportional (P) action generates a control signal proportional to the instantaneous error, thereby influencing the system's response speed and its ability to reduce the deviation from the reference value. The integral (I) action accumulates the error over time and contributes to eliminating persistent steady-state errors, particularly when the system is subjected to constant disturbances or operating-point variations. Meanwhile, the derivative (D) action responds to the rate of change of the error, providing a predictive effect that can improve damping characteristics, reduce excessive overshoot, and enhance transient response under appropriate tuning conditions. The overall performance of a PID controller is determined by the appropriate selection of its three gain parameters: proportional gain (), integral gain
, and derivative gain (
). This challenge motivates the application of optimization algorithms to systematically identify appropriate PID gains and improve the overall performance of DC motor speed-control systems. The equation of PID is written in equation (3).
(3) |
Where the proportional () term provides an immediate response to the error, the integral (
) term eliminates steady-state error by accumulating past errors, and the derivative (
).
Figure 2. DC Motor block diagram
This study develops an optimization-based Proportional–Integral–Derivative (PID) control strategy in which the controller parameters are optimized using the Artificial Protozoa Optimizer (APO). The primary objective of this approach is to identify an appropriate combination of proportional, integral, and derivative gains that can improve the dynamic performance of the controlled system. The proposed framework integrates two main components: the APO-based optimization process and the closed-loop PID control structure. In the optimization stage, APO searches for suitable PID parameters by evaluating candidate solutions according to a predefined objective function. Subsequently, the optimal parameters obtained from the optimization process are implemented in the PID controller to regulate the system output. The overall framework provides a systematic procedure for determining controller parameters and evaluating their effects on the transient and steady-state characteristics of the controlled system.
The optimization process begins with the specification of the objective function, lower and upper search boundaries, population size, and maximum number of iterations. The objective function serves as the fitness evaluation criterion for measuring the performance of each candidate PID parameter combination. Each candidate solution represents a potential set of three decision variables. Therefore, the optimization problem can be expressed as the determination of an optimal parameter vector, subject to the predefined search boundaries. The initial population is generated randomly within these boundaries to establish a collection of feasible candidate solutions. Each candidate is then evaluated by applying its corresponding PID parameters to the controlled system model and calculating the resulting objective function value. The fitness value indicates the quality of the candidate solution, with the preferred solution determined according to the minimization or maximization criterion defined by the optimization problem.
After population initialization and fitness evaluation, APO performs its search process through the mechanisms of chemotactic navigation, pseudopodial exploitation, and adaptive learning. During the chemotactic navigation phase, each protozoan candidate explores the search space to identify potentially better solutions. The position-update process involves evaluating the objective function, determining directional information from the search process, and incorporating stochastic components to generate new candidate positions. The resulting movement enables the population to explore different regions of the search space and reduces the likelihood of concentrating prematurely around an initially attractive solution. When gradient information is available and applicable to the adopted APO formulation, it can also be incorporated into the directional search mechanism. The updated positions are subsequently evaluated, and their fitness values are compared with those of the previous candidates to determine whether an improvement has been achieved.
The next stage involves pseudopodial exploitation and adaptive learning. In this phase, the candidate solutions utilize information from previously evaluated positions and the best temporary solution to guide the search toward more promising regions. The pseudopodial exploitation mechanism supports local refinement by directing candidate movements toward favorable solutions identified during the optimization process. Meanwhile, adaptive learning incorporates information from previous search experiences to adjust candidate positions and improve the exploitation process. The interaction between these mechanisms is intended to maintain a balance between exploration and exploitation. Exploration allows APO to investigate different regions of the search space, whereas exploitation concentrates the search around solutions with better fitness values. Following each position update, the objective function is recalculated, and the best candidate solution is retained. This iterative process continues until the predefined maximum number of iterations or another specified termination condition is satisfied. At the end of the optimization process, the candidate with the best fitness value is selected as the optimal PID parameter combination. The complete optimization procedure and its integration with the PID controller are illustrated in Figure 3.
The optimal PID parameters obtained from APO are subsequently implemented in the closed-loop control system. The controller receives the reference signal and compares it with the measured system output to generate the error signal. The error signal is processed through three parallel control actions: proportional, integral, and derivative. The proportional component responds to the instantaneous error, the integral component accumulates the error over time, and the derivative component responds to the rate of change of the error
Figure 3. PID based on APO
The research consists of two main experimental stages. The first stage aims to evaluate the general performance of the APO algorithm against benchmark algorithms, while the second stage aims to test the application of APO to a DC Motor. Table 1 is parameter of PID. The system used in this article can be seen in Figure 4.
Methods | P | I | D | Population | Iteration | Upper Bound | Lower Bound |
APO-PID | 3.8262 | 9.283 | 0.5834 | 50 | 1000 | 10 | 0 |
CDO-PID | 73.5469 | 83.4024 | 19.1473 | 50 | 1000 | 100 | -100 |
RFO-PID | 3.1803 | 10 | 0 | 50 | 1000 | 10 | 0 |
PSO-PID | 2.6571 | 9.8923 | 0.1297 | 50 | 1000 | 10 | 0 |
Figure 4. The System used
The first experimental stage evaluates the general optimization capability of the Artificial Protozoa Optimizer (APO) by comparing its performance with three established metaheuristic algorithms, namely the Cendrawasih Bird Optimization Algorithm (CDO), Raptor Family Optimization (RFO), and Particle Swarm Optimization (PSO). The evaluation is conducted using 23 benchmark functions (F1–F23), which are divided into three categories: unimodal functions (F1–F7), multimodal functions (F8–F13), and multimodal fixed-dimension functions (F14–F23). This classification provides a comprehensive assessment of the algorithms under different optimization landscapes, including problems characterized by a single optimum, multiple local optima, and fixed-dimensional multimodal search spaces. To ensure a consistent comparison, all algorithms are evaluated using identical experimental settings, including population size, maximum number of iterations, decision-variable boundaries, and objective-function definitions.
The optimization performance is assessed using the best, mean, worst, and standard deviation (Std) values obtained from repeated independent runs, together with convergence curves that illustrate the evolution of the objective-function values throughout the optimization process. In addition, a ranking procedure based on the Mean values is employed to compare the relative performance of the algorithms for each benchmark function. For minimization problems, a lower Mean value represents better average optimization performance. The combination of statistical indicators and convergence behavior provides complementary information regarding solution quality, search consistency, and convergence characteristics.
The results for the seven unimodal benchmark functions (F1–F7), presented in Table 2, demonstrate clear differences in the optimization performance of the four algorithms. Based on the aggregated ranking results, CDO achieved the best overall performance, obtaining a Sum Rank of 7 and a Mean Rank of 1.0000. This result indicates that CDO consistently obtained the lowest Mean values across the evaluated unimodal functions. PSO ranked second with a Sum Rank of 15 and a Mean Rank of 2.1429, followed by APO with a Sum Rank of 20 and a Mean Rank of 2.8571. RFO recorded the lowest relative performance, with a Sum Rank of 28 and a Mean Rank of 4.0000. The ranking results indicate that APO performed competitively but did not outperform CDO or PSO in this benchmark category. In particular, APO obtained the third position across the seven functions, suggesting that its search mechanism was less effective than those of CDO and PSO for the tested unimodal landscapes. Nevertheless, the evaluation of the Best, Worst, and Std values provides additional information beyond the average ranking, particularly regarding the quality and variability of the solutions obtained. Overall, the results establish CDO as the strongest performer for the evaluated unimodal functions, whereas APO demonstrates an intermediate level of optimization performance. These findings suggest that the relative effectiveness of APO depends on the characteristics of the search landscape rather than being uniformly superior across all benchmark problems.
The performance evaluation on the six multimodal benchmark functions (F8–F13), summarized in Table 3, reveals a different ranking pattern compared with the unimodal category. CDO achieved the best aggregate performance, obtaining a Sum Rank of 10 and a Mean Rank of 1.6667. PSO occupied the second position with a Sum Rank of 13 and a Mean Rank of 2.1667, while APO ranked third with a Sum Rank of 14 and a Mean Rank of 2.3333. RFO exhibited the weakest overall performance, with a Sum Rank of 23 and a Mean Rank of 3.8333. These results indicate that CDO was the most effective algorithm in terms of the aggregated Mean-based ranking for the tested multimodal functions. A closer examination of the individual results shows that CDO achieved first-place rankings on F9, F10, F11, and F13, while obtaining fourth and second positions on F8 and F12, respectively. This distribution indicates that CDO performed particularly well on most of the evaluated multimodal functions, although its performance was not uniformly dominant across all cases. In contrast, APO achieved second place on F8–F11 and demonstrated competitive performance relative to PSO and RFO on several functions. However, its aggregate ranking remained slightly below that of CDO and PSO. RFO obtained fourth place on F9–F13 and third place on F8, indicating comparatively weaker performance in this category. The results suggest that APO can maintain competitive search performance in multimodal environments, although CDO provides a more favorable overall ranking under the experimental conditions considered. This comparison also highlights the importance of evaluating optimization algorithms across multiple benchmark landscapes because their relative performance may change depending on the number and distribution of local optima.
Function | APO | CDO | RFO | PSO | |
F1 | Best | 146.8942 | 3.09E-63 | 2.89E+03 | 8.08E+00 |
Mean | 296.7819 | 8.61E-63 | 7.38E+03 | 2.53E+01 | |
Worst | 432.3001 | 2.15E-62 | 1.30E+04 | 5.59E+01 | |
Std | 75.0922 | 4.10E-63 | 2.53E+03 | 1.39E+01 | |
Rank | 3 | 1 | 4 | 2 | |
F2 | Best | 1.40E+01 | 1.87E-32 | 2.30E+01 | 7.58E-01 |
Mean | 2.30E+01 | 2.68E-32 | 3.62E+01 | 1.69E+00 | |
Worst | 3.10E+01 | 3.67E-32 | 5.55E+01 | 3.07E+00 | |
Std | 4.8959 | 5.15E-33 | 8.45E+00 | 4.98E-01 | |
Rank | 3 | 1 | 4 | 2 | |
F3 | Best | 2957.572 | 4.11E-47 | 6994.716 | 1.14E+03 |
Mean | 5244.573 | 1.03E-27 | 15060.36 | 2.59E+03 | |
Worst | 7104.84 | 2.05E-26 | 27221.55 | 4.37E+03 | |
Std | 1174.279 | 4.59E-27 | 5811.979 | 9.72E+02 | |
Rank | 3 | 1 | 4 | 2 | |
F4 | Best | 9.85E+00 | 1.54E-31 | 19.0781 | 7.18E+00 |
Mean | 1.36E+01 | 4.00E-31 | 29.7838 | 8.51E+00 | |
Worst | 1.69E+01 | 9.53E-31 | 39.0923 | 9.93E+00 | |
Std | 1.912 | 1.58E-31 | 4.9006 | 8.98E-01 | |
Rank | 3 | 1 | 4 | 2 | |
F5 | Best | 5898.593 | 28.5086 | 1268832 | 308.1794 |
Mean | 20346.92 | 28.6955 | 4694635 | 831.3528 | |
Worst | 35177.73 | 28.7636 | 10719536 | 1702.207 | |
Std | 9244.431 | 0.065168 | 2435973 | 318.2096 | |
Rank | 3 | 1 | 4 | 2 | |
F6 | Best | 149.2699 | 7.5 | 3772.689 | 6.6215 |
Mean | 296.6061 | 7.5 | 7831.657 | 24.9946 | |
Worst | 453.0602 | 7.5 | 12668.56 | 58.7724 | |
Std | 85.1559 | 0 | 2140.083 | 12.6591 | |
Rank | 3 | 1 | 4 | 2 | |
F7 | Best | 0.017035 | 4.24E-06 | 0.64852 | 3.37E-02 |
Mean | 0.036189 | 0.000243 | 2.5367 | 0.07168 | |
Worst | 0.070018 | 0.000903 | 8.4195 | 0.15132 | |
Std | 0.014681 | 0.000258 | 1.9313 | 0.027285 | |
Rank | 3 | 1 | 4 | 2 | |
Sum Rank | 20 | 7 | 28 | 15 | |
Mean Rank | 2.8571 | 1.0000 | 4.0000 | 2.1429 | |
Total | 3 | 1 | 4 | 2 | |
The results obtained from the ten multimodal fixed-dimension benchmark functions (F14–F23), presented in Table 4, demonstrate a different performance pattern from the previous two benchmark categories. PSO achieved the best aggregate ranking, with a Sum Rank of 12 and a Mean Rank of 1.2000. RFO ranked second with a Sum Rank of 14 and a Mean Rank of 1.4000, followed by APO with a Sum Rank of 16 and a Mean Rank of 1.6000. CDO obtained the lowest relative position, with a Sum Rank of 20 and a Mean Rank of 2.0000. Since a lower Mean Rank represents better relative performance, these results indicate that PSO provided the strongest overall ranking among the four algorithms for this benchmark category. RFO also demonstrated competitive performance, achieving the second-best aggregate ranking, while APO occupied the third position. Although APO did not achieve the highest aggregate ranking, its Mean Rank of 1.6000 indicates that it remained competitive with the other optimization methods when dealing with fixed-dimension multimodal functions. The individual benchmark results further reveal that algorithm performance varies considerably among the tested functions, including cases in which multiple algorithms achieve identical rankings. Such ties should be considered when interpreting the aggregate ranking results because they reflect comparable performance under specific benchmark conditions. Overall, the findings indicate that PSO and RFO were more effective than APO and CDO in the evaluated fixed-dimension multimodal category, while APO maintained a relatively competitive position. These results demonstrate that no single algorithm consistently dominates all benchmark categories and that optimization performance is influenced by the mathematical characteristics of the objective functions.
Considering the three benchmark categories together, the experimental results demonstrate that the optimization performance of APO is function-dependent. CDO achieved the best aggregate ranking on both unimodal and multimodal functions, whereas PSO demonstrated the strongest performance on multimodal fixed-dimension functions. APO consistently occupied the third position in all three benchmark categories, with Mean Ranks of 2.8571, 2.3333, and 1.6000 for F1–F7, F8–F13, and F14–F23, respectively. These results indicate that APO exhibits competitive optimization capabilities, particularly on the multimodal fixed-dimension functions, although it does not achieve the best aggregate ranking in any of the three categories. The findings also emphasize that the effectiveness of a metaheuristic algorithm should not be determined using a single benchmark category or performance indicator. Instead, the Best, Mean, Worst, Std, ranking results, and convergence characteristics should be considered collectively to provide a more comprehensive assessment of optimization behavior. Therefore, this benchmark evaluation establishes the comparative optimization characteristics of APO and provides an empirical basis for its subsequent application to PID parameter optimization in the DC motor speed-control system.
Function | APO | CDO | RFO | PSO | |
F8 | Best | -7096.98 | -2878.05 | -4538.77 | -7863.82 |
Mean | -6301.26 | -2037.27 | -3083.62 | -6503.12 | |
Worst | -5576.8 | -1236.19 | -2088.4 | -4725.08 | |
Std | 409.8573 | 365.2025 | 645.0134 | 688.1039 | |
Rank | 2 | 4 | 3 | 1 | |
F9 | Best | 94.2683 | 0 | 158.6421 | 36.9976 |
Mean | 127.7179 | 0.000326 | 2.15E+02 | 64.2272 | |
Worst | 161.9481 | 0.006529 | 2.53E+02 | 93.3352 | |
Std | 15.0917 | 0.00146 | 2.49E+01 | 15.5724 | |
Rank | 2 | 1 | 4 | 3 | |
F10 | Best | 4.19E+00 | 4.44E-15 | 1.28E+01 | 1.82E+00 |
Mean | 5.26E+00 | 4.44E-15 | 1.46E+01 | 2.80E+00 | |
Worst | 6.58E+00 | 4.44E-15 | 1.60E+01 | 4.05E+00 | |
Std | 0.64844 | 0 | 8.95E-01 | 0.52293 | |
Rank | 2 | 1 | 4 | 3 | |
F11 | Best | 2.2668 | 0 | 2.69E+01 | 1.0719 |
Mean | 3.5979 | 0 | 73.9612 | 1.2211 | |
Worst | 4.7961 | 0 | 123.3949 | 1.575 | |
Std | 0.61174 | 0 | 26.2335 | 0.13333 | |
Rank | 2 | 1 | 4 | 3 | |
F12 | Best | 7.3027 | 1.669 | 534.827 | 1.12E-01 |
Mean | 8.9688 | 1.669 | 566861.2 | 7.69E-01 | |
Worst | 12.4513 | 1.669 | 4396368 | 2.21E+00 | |
Std | 1.5049 | 2.28E-16 | 1103942 | 5.74E-01 | |
Rank | 3 | 2 | 4 | 1 | |
F13 | Best | 17.0859 | 0.51842 | 585060 | 2.28E+00 |
Mean | 30.0823 | 0.76499 | 6958985 | 5.77E+00 | |
Worst | 66.42 | 1.0162 | 20870090 | 1.17E+01 | |
Std | 11.69 | 0.13372 | 5537674 | 3.10E+00 | |
Rank | 3 | 1 | 4 | 2 | |
Sum | 14 | 10 | 23 | 13 | |
Mean Rank | 2.3333 | 1.6667 | 3.8333 | 2.1667 | |
Total | 3 | 1 | 4 | 2 | |
Function | APO | CDO | RFO | PSO | |
F14 | Best | 0.998 | 9.1289 | 0.998 | 0.998 |
Mean | 1.0974 | 14.4853 | 5.7343 | 4.2435 | |
Worst | 1.9921 | 18.3518 | 21.0727 | 11.7187 | |
Std | 0.30596 | 2.86E+00 | 4.9578 | 3.21E+00 | |
Rank | 1 | 2 | 1 | 1 | |
F15 | Best | 0.00073299 | 0.00035021 | 0.00030749 | 0.00036718 |
Mean | 0.0021881 | 0.00048637 | 0.0041683 | 0.0017926 | |
Worst | 0.020363 | 0.00088815 | 0.062287 | 0.020363 | |
Std | 0.0043065 | 0.00014518 | 0.013781 | 0.0043912 | |
Rank | 3 | 1 | 4 | 2 | |
F16 | Best | -1.0316 | -1.0145 | -1.0316 | -1.0316 |
Mean | -1.0316 | -1.0005 | -1.0316 | -1.0316 | |
Worst | -1.0316 | -0.9992 | -1.0316 | -1.0316 | |
Std | 7.90E-08 | 3.33E-03 | 1.35E-16 | 5.04E-15 | |
Rank | 1 | 2 | 1 | 1 | |
F17 | Best | 0.41109 | 0.39789 | 0.39789 | 0.39789 |
Mean | 0.54644 | 0.39789 | 0.39961 | 0.39993 | |
Worst | 0.90293 | 0.39789 | 0.41258 | 0.41866 | |
Std | 0.12639 | 9.79E-11 | 0.0034792 | 0.0049997 | |
Rank | 4 | 1 | 1 | 1 | |
F18 | Best | 3 | 4.8338 | 3 | 3 |
Mean | 3 | 73.4843 | 3 | 3 | |
Worst | 3.0001 | 91.8013 | 3 | 3 | |
Std | 2.46E-05 | 2.70E+01 | 2.57E-15 | 8.60E-14 | |
Rank | 1 | 2 | 1 | 1 | |
F19 | Best | -3.8628 | -3.8521 | -3.8628 | -3.8628 |
Mean | -3.8628 | -3.7524 | -3.8241 | -3.8241 | |
Worst | -3.8628 | -3.5872 | -3.0898 | -3.0898 | |
Std | 3.69E-09 | 7.80E-02 | 0.17285 | 0.17285 | |
Rank | 1 | 2 | 1 | 1 | |
F20 | Best | -3.322 | -2.8946 | -3.321 | -3.322 |
Mean | -3.3032 | -2.4545 | -3.182 | -3.2744 | |
Worst | -3.203 | -1.9777 | -2.9084 | -3.2031 | |
Std | 0.043193 | 2.79E-01 | 0.12619 | 0.059759 | |
Rank | 2 | 3 | 1 | 1 | |
F21 | Best | -10.1532 | -4.9216 | -10.1532 | -10.1532 |
Mean | -9.675 | -3.8545 | -5.5213 | -6.2811 | |
Worst | -2.6829 | -3.1386 | -2.6305 | -2.6305 | |
Std | 1.665 | 5.52E-01 | 3.5615 | 3.6635 | |
Rank | 1 | 2 | 1 | 1 | |
F22 | Best | -10.4029 | -4.5208 | -10.4029 | -10.4029 |
Mean | -9.2686 | -3.7934 | -8.4453 | -7.06 | |
Worst | -3.7407 | -2.6354 | -2.1363 | -2.7519 | |
Std | 2.2165 | 4.83E-01 | 3.4451 | 3.8018 | |
Rank | 1 | 2 | 1 | 1 | |
F23 | Best | -10.5365 | -4.9389 | -10.5364 | -10.5364 |
Mean | -10.18 | -3.3478 | -6.214 | -5.5261 | |
Worst | -3.8354 | -1.4341 | -2.4217 | -2.4217 | |
Std | 1.4942 | 9.90E-01 | 3.6676 | 3.817 | |
Rank | 1 | 3 | 2 | 2 | |
Sum | 16 | 20 | 14 | 12 | |
Mean Rank | 1.6 | 2 | 1.4 | 1.2 | |
Total | 3 | 4 | 2 | 1 | |
The second stage investigates the applicability of the Artificial Protozoa Optimizer (APO) to DC motor speed control through the optimization of proportional–integral–derivative (PID) controller parameters. In this stage, each candidate solution generated by APO represents a set of PID gains. The quality of each candidate solution is evaluated using the predefined objective function derived from the closed-loop DC motor speed response. Following the optimization process, the best-performing PID parameters are implemented in the closed-loop DC motor model to evaluate the resulting control performance. The evaluation considers the step response and transient characteristics, including rise time, settling time, overshoot, undershoot, steady-state error, integral of time-weighted absolute error (ITAE), and integral of time-weighted squared error (ITSE). Multi-level setpoint tracking, load disturbances, and variations in motor parameters can also be incorporated as additional scenarios to further investigate controller performance under more demanding operating conditions. Accordingly, the first stage evaluates the general optimization performance of APO using benchmark functions, whereas the second stage examines its practical applicability to a simulated DC motor speed-control problem.
The simulation results reveal distinct transient-response characteristics among the investigated controllers, namely conventional PID, CDO-PID, APO-PID, RFO-PID, and PSO-PID, as summarized in Table 5. The conventional PID controller achieves a rise time of 0.017946 s and an overshoot of 0.6623%, indicating a relatively fast response with a limited deviation above the reference value. However, its ITAE and ITSE values of 7.9435× and 3.0688×
, respectively, indicate a comparatively larger accumulated tracking error. The CDO-PID controller reduces the overshoot to 0.0204%, although its rise time increases to 0.022035 s. This result reflects a trade-off between overshoot suppression and response speed. Furthermore, its ITAE value of 6.6966×
suggests that the reduction in peak deviation does not necessarily correspond to a lower accumulated time-weighted error throughout the response.
Method | Overshoot (%) | Rise Time (s) | ITAE | ITSE |
PID | 0.6623 | 0.017946 | 7.9435× | 3.0688× |
CDO-PID | 0.0204 | 0.022035 | 9.6966× | 3.2595× |
APO-PID | 0.0355 | 0.00366 | 5.172× | 3.014× |
RFO-PID | ~0 | 0.021511 | 9.5329× | 3.2123× |
PSO-PID | 45.6477 | 0.000223 | 1.1492× | 1.693× |
Among the evaluated controllers, APO-PID provides a favorable combination of response speed and tracking accuracy. It achieves a rise time of 0.003660 s, which is substantially shorter than those obtained using conventional PID, CDO-PID, and RFO-PID, while maintaining a relatively low overshoot of 0.0355%. More importantly, APO-PID obtains the lowest ITAE value of 5.172×, indicating a substantial reduction in the accumulated time-weighted absolute tracking error. Its ITSE value of 3.014×
is also considerably lower than those of the conventional PID and RFO-PID controllers. In addition, the final response reaches 1.000036, which is very close to the normalized reference value of 1. These results indicate that APO-based PID parameter optimization can achieve a favorable balance between transient speed, overshoot suppression, and tracking accuracy in the investigated DC motor simulation.
In comparison, RFO-PID produces an almost negligible overshoot, with a maximum response of approximately 0.999845, indicating that the response does not exceed the reference value. Nevertheless, this characteristic is accompanied by a relatively longer rise time of 0.021511 s. Its ITAE and ITSE values are 9.5329× and 3.2123×
, respectively, suggesting that the response exhibits a comparatively higher accumulated tracking error despite its effective suppression of overshoot. Meanwhile, PSO-PID achieves the shortest rise time among all evaluated controllers, reaching 0.000223 s. However, this rapid response is accompanied by a substantial overshoot of 45.6477%, with the response reaching a peak value of 1.456477 at approximately 0.00059 s. Such a pronounced peak indicates an aggressive transient response that may be undesirable in applications where excessive overshoot must be limited. Although PSO-PID obtains relatively low ITAE and ITSE values of 1.1492×
and 1.693×
, respectively, these integral performance indices should not be interpreted independently of the time-domain response.
In particular, the low ITSE value does not compensate for the considerable overshoot observed in the PSO-PID response. Overall, the comparative results demonstrate that no single controller achieves the best performance across all evaluation metrics. PSO-PID provides the fastest rise time and the lowest ITSE, whereas RFO-PID exhibits the smallest overshoot. Nevertheless, APO-PID achieves the lowest ITAE, a relatively short rise time, and a low overshoot simultaneously. This combination indicates that APO-based PID tuning offers a favorable compromise among the principal transient-response requirements of the simulated DC motor speed-control system. The results presented in Table 5 therefore support the effectiveness of APO as an alternative optimization approach for PID parameter selection, particularly when the control objective emphasizes the simultaneous improvement of response speed and tracking accuracy without introducing excessive overshoot. The Figure 5 illustrated the result.
Figure 5. Comparison of DC Motor Responses
This study investigated the effectiveness of the Artificial Protozoa Optimizer (APO) for optimizing Proportional–Integral–Derivative (PID) controller parameters in DC motor speed regulation. The proposed approach was evaluated through two complementary stages: benchmark-function optimization and closed-loop DC motor speed-control simulation. The benchmark evaluation using 23 test functions (F1–F23) revealed that APO exhibits competitive optimization performance across different search landscapes, although its relative effectiveness depends on the characteristics of the benchmark functions. Specifically, APO achieved a Sum Rank of 20 and a Mean Rank of 2.8571 for the unimodal functions (F1–F7), a Sum Rank of 14 and a Mean Rank of 2.3333 for the multimodal functions (F8–F13), and a Sum Rank of 16 and a Mean Rank of 1.6000 for the multimodal fixed-dimension functions (F14–F23). These findings demonstrate that APO can provide competitive search performance across different optimization problem categories, while also indicating that its effectiveness is influenced by the underlying search-space characteristics. The DC motor simulation results further demonstrate the applicability of APO for PID parameter optimization. The resulting APO-PID controller achieved a rise time of 0.003660 s, an overshoot of 0.0355%, an ITAE value of 5.172 x 10-6, and an ITSE value of 3.014 x 10-7, with a final response value of 1.000036. These results indicate that the proposed controller can provide a favorable balance between transient response and reference-tracking accuracy within the investigated simulation model. Comparison with conventional PID, CDO-PID, RFO-PID, and PSO-PID also highlights the importance of evaluating multiple performance indicators rather than relying exclusively on response speed. In particular, although PSO-PID achieved a shorter rise time, its overshoot of 45.6477% indicates a substantially larger transient deviation. This observation confirms that a shorter rise time does not necessarily correspond to better overall control performance. Therefore, considering rise time, overshoot, ITAE, and ITSE simultaneously provides a more comprehensive assessment of PID controller performance. The main contribution of this study is the integration of APO into a systematic PID parameter-tuning framework for DC motor speed control, supported by benchmark-function evaluation and comparative closed-loop simulation. The results establish the potential of APO as an alternative metaheuristic optimization approach for determining PID gains and improving selected transient and tracking characteristics. Nevertheless, the findings are limited to the benchmark tests and simulation conditions considered in this study. The reported results should therefore not be interpreted as conclusive evidence of robustness under untested operating conditions or superiority over all existing optimization algorithms. Future research should extend the proposed framework through more comprehensive evaluations, including multi-level reference tracking, step and stochastic load disturbances, variations in motor parameters, and sensitivity analysis under different operating conditions. Experimental implementation using a physical DC motor platform is also necessary to investigate the effects of measurement noise, actuator constraints, computational limitations, and practical implementation uncertainties. Furthermore, statistical significance testing based on multiple independent optimization runs should be conducted to establish the consistency and reliability of APO performance relative to competing algorithms. These investigations would provide stronger evidence of the robustness, reproducibility, and practical applicability of APO-based PID tuning in real-world motor-control applications.
Sustainable Development Goals
The suitable development goals can be categorized as Affordable and Clean Energy (SDG 7), Industry, Innovation and Infrastructure (SDG 9), and Partnerships for the Goals (SDG 17).
Author Contribution
All authors contributed equally to the main contributor to this paper. All authors read and approved the final paper.
Funding
This research was funded by the name of FUNDER, grant number XXX” and “The APC was funded by XXX.”
Conflicts of Interest
The authors declare no conflict of interest.
REFERENCES
Aditya Prapanca (Artificial Protozoa Optimizer-Based PID Tuning for Enhanced Transient Response of DC Motor Speed Control)