PID Control Algorithm Based On Multistrategy Enhan
PID Control Algorithm Based On Multistrategy Enhan
com/scientificreports
Keywords Heuristic algorithms, Neural networks, Optimization methods, Proportional control, Parameter
estimation
Literature review
The PID control algorithm has been used in industrial process control applications for many years1. Although
the PID control algorithm has existed for a long time2, it is still the most popular control algorithm in the
process and manufacturing industry today3. While effective in various industrial applications4, the traditional
PID algorithm faces challenges with complex and nonlinear systems5. Parameter tuning often relies on trial and
error6. Additionally, it lacks stability and robustness against disturbances and parameter changes7. In the context
of DC motor control, traditional PI controllers have been widely applied and studied. However, traditional PI
controllers also have limitations in managing nonlinearity and dynamic uncertainty, such as overshoot, response
time delay, and difficulty in adjusting control parameters. These issues become more prominent in complex
systems with different loads and speeds8.
Several studies have focused on improving the structure of the traditional PID controller by integrating
neural networks and other advanced methodologies. Zhu et al. developed a hybrid-optimized BP neural
network PID controller for agricultural applications, improving control performance by enhancing the efficiency
of initial weights9. Maraba and Kuzucuoglu introduced a PID neural network controller for speed control of
1School of Information Engineering, Research Center of Photoelectric and Information Technology, Yancheng
Institute of Technology, Yancheng 224000, Jiangsu, China. 2School of Information Science and Technology, Nantong
University, Nantong 226000, Jiangsu, China. email: yzjtz@[Link]
asynchronous motors, combining the benefits of artificial neural networks with the strengths of the classic
PID controller10. Cong and Liang developed a nonlinear adaptive PID-like neural network controller using
a mix of locally recurrent neural networks, enhancing the controller’s ability to adapt to nonlinear and time-
variant system dynamics11. Ambroziak and Chojecki designed a PID controller optimized for air handling units
(AHUs) by combining nonlinear autoregressive models, fuzzy logic, and FST-PSO metaheuristics, achieving
superior performance in HVAC systems12. Aygun et al. presented a PSO-PID controller for regulating the bed
temperature in a circulating fluidized bed boiler, leveraging the strengths of particle swarm optimization (PSO)
to improve control precision13. Dahiya et al. proposed a hybrid gravitational search algorithm optimized PID and
fractional-order PID (FOPID) controller to address the automatic generation control problem, demonstrating
enhanced system stability and performance14. In recent years, several advanced PID variants have also been
developed to handle nonlinear and complex systems. Suid and Ahmad designed a sigmoid-based PID (SPID)
controller for the Automatic Voltage Regulator (AVR) system, employing a Nonlinear Sine Cosine Algorithm
(NSCA) to optimize its parameters, which significantly improved the transient response and steady-state errors
of the AVR system15. Sahin et al. proposed a sigmoid-based fractional-order PID (SFOPID) controller for the
Automatic Voltage Regulator (AVR) system16. Ghazali et al. proposed a multiple-node hormone regulation
neuroendocrine-PID (MnHR-NEPID) controller for nonlinear MIMO systems, improving control accuracy by
introducing interactions between hormone regulation nodes based on adaptive safe experimentation dynamics
(ASED)17. Kumar and Hote proposed a PIDA controller design using an improved coefficient diagram method
(CDM) for load frequency control (LFC) of an isolated microgrid, enhancing control stability through maximum
sensitivity constraints18.
Various optimization tools have been developed to dynamically adjust PID parameters for improved control
performance. Shi et al. introduced the RBF-NPID algorithm, utilizing radial basis function (RBF) neural
networks to dynamically adjust PID parameters, leading to more effective contrsol in complex systems19. Hanna
et al. developed an adaptive PID algorithm (APIDC-QNN) that uses quantum neural networks combined with
Lyapunov stability criteria for stable parameter optimization, enhancing system robustness20. Zhao and Gu
proposed an adaptive PID method for car suspensions, where a radial basis function neural network is used
to fine-tune the PID parameters, improving ride quality and suspension control21. Kebari et al. optimized PID
parameter values based on real-time task demand and the cumulative sum of previous demands, providing a
more responsive control system22. Similarly, Gupta et al. employed a hybrid swarm intelligence algorithm to
adjust PID gains for stabilizing the active magnetic bearing (AMB) system under unstable conditions23. Faria
et al. found that a PSO-based PID tuning strategy offers a practical solution for enhancing the effectiveness
of radiofrequency ablation (RFA) techniques, demonstrating the utility of swarm intelligence in medical
applications24. Nanyan et al. proposed an improved Sine Cosine Algorithm (ISCA) to optimize PID controllers
for DC-DC buck converters, demonstrating enhanced transient response and robustness compared to
traditional algorithms25. Mourtas et al. utilized the beetle antennae search (BAS) algorithm for robust tuning
of PID controllers, achieving superior performance in stabilizing feedback control systems with significantly
reduced computational time26. Ghith and Tolba introduced a hybrid Arithmetic Optimization Algorithm (AOA)
and Artificial Gorilla Troop Optimization (GTO) for tuning PID controllers in micro-robotics systems27.
Recent swarm intelligence algorithms28–33 have shown superior performance compared to traditional genetic
algorithms34 and particle swarm optimization35. These novel algorithms effectively balance global exploration
and local exploitation, featuring fast convergence and high solution accuracy, making them suitable for
optimizing PID algorithm parameters driven by neural network models36–39. While significant advancements
have been made in PID variants like the sigmoid-based fractional-order PID16 and multiple-node hormone
regulation neuroendocrine-PID (MnHR-NEPID)17, which excel in specific application scenarios, the proposed
control algorithm extends these capabilities by providing dynamic, real-time adjustments in complex control
systems. This combination of enhanced search strategies and neural network integration allows for superior
performance in scenarios that demand rapid responses and robust stability under parameter variations. The
enhanced DBO incorporates a novel search state adjustment mechanism oriented towards preferred positions
to enhance exploration diversity. It also introduces a sinusoidal learning factor to balance global exploration
and local exploitation and adopts a dynamic spiral search method to improve search efficiency. To enhance
population diversity and search accuracy, an adaptive t-distribution disturbance is used for more effective
global search capabilities. In comparison to the conventional PI controllers, which often rely on fixed parameter
settings and exhibit sensitivity to parameter uncertainties8, the proposed PID control algorithm offers dynamic
adjustment capabilities and improved robustness. Through the incorporation of adaptive tuning mechanisms
such as the merit-oriented search and sine learning factor, our approach addresses the overshoot, long response
times, and tuning difficulties associated with traditional PI control methods. Additionally, the hybrid integration
of the enhanced Dung Beetle Optimizer (EDBO) with Back Propagation Neural Network (BPNN) allows the
system to handle nonlinear system dynamics more effectively, achieving faster response and lower steady-state
errors in complex control systems such as DC motors.
Innovative contributions
Many controllers have been developed for industrial control processes in the existing literature and this study
introduces new aspects that set it apart from the rest of the literature. The main contributions of this paper are
as follows:
• Hybrid optimization algorithm framework. This study proposes a unique combination of the enhanced Dung
Beetle Optimizer (EDBO) and Back Propagation Neural Network (BPNN) to optimize PID control param-
eters. This hybrid approach leverages the strengths of both heuristic algorithms and neural networks to en-
hance the optimization process.
• Development of an enhanced Dung Beetle Optimizer. This study develops an enhanced DBO with a novel
multi-strategy combined location update mechanism that addresses the limitations of traditional Dung Beetle
Optimizer (DBO) by improving global search capability, local exploitation, and search precision.
• Multistrategy innovations. EDBO incorporates a merit-oriented mechanism, a sine learning factor, a dynamic
spiral search strategy, and adaptive t-distribution disturbance. These improvements ensure that EDBO is effi-
cient and reliable when addressing complex optimization problems.
where Kp is the proportional coefficient, Ti is the integration time constant, and Td is the differential time
constant. e(t) is the deviation signal of the system. u(t) is the control quantity of the system.
In actual operation, the control law is usually implemented using the incremental PID control algorithm. The
basic structure of the PID control system is shown in Fig. 1.
The incremental PID control algorithm is expressed as follows:
where e(k) is the deviation value of the control system at the k -th sampling time. e(k − 1)is the deviation
value of the control system at the k − 1st sampling time. Kp is the proportional coefficient. Ki is the integral
coefficient, and Kd is the differential coefficient. ∆u(k) is the difference between the control quantity at the k
-th sampling time and the k − 1st sampling time. The PID control law’s performance heavily depends on the
tuning of its parameters. Traditional tuning methods, while effective, often require trade-offs between stability,
responsiveness, and robustness.
According to the basic principles of PID control, proportional control accelerates the system’s response by
reflecting the magnitude of the current error, enabling real-time adjustments that bring the system closer to the
desired value. Integral control reduces accumulated past errors, thereby eliminating steady-state errors. The
derivative term predicts future error trends, accelerating response times and minimizing overshoot. These three
control actions combine to form a closed-loop PID control, which stabilizes the system. Accurate tuning of these
parameters is key to ensuring controller stability. Therefore, this study focuses on optimizing these parameters
to enhance system robustness and stability.
(1)
Oj (k) = x(j) j = 1, 2, 3(3)
(2) (2)
The input neti (k) and output Oi (k) of each neuron in the hidden layer are represented as follows:
3
(2)
neti (k) =
(1)
wij (2)Oj (k)
j=1 (4)
(2) (2)
Oi (k) = f (neti (k)) i = 1, 2, · · ·, 8
where wij (2) is the weight connecting the input layer neurons and the hidden layer neurons. f (x) is the activation
function in the hidden layer, which is expressed as follows:
ex − e−x
f (x) = tanh(x) = (5)
ex + e−x
(3) (3)
The input netl (k) and output Ol (k) of each neuron in the output layer are represented as follows:
8
(3) (3) (2)
netl (k) = wli Oi (k)
i=1 (6)
O(3)(k) = g(net(3)(k)) l = 1, 2, 3
l l
(3)
O1 (k) = Kp
O2 (k) = Ki (7)
(3)
O(3)(k) = K
3 d
(3)
where wli is the weight connecting the hidden layer neurons and the output layer neurons. g(x) is the activation
function in the output layer.
The three output nodes of the output layer respectively correspond to Kp, Ki and Kd. The activation function
g(x) is expressed as follows:
1 ex
g(x) = (1 + tanh(x)) = x (8)
2 e + e−x
The weights of the neural network are adjusted using the gradient descent method, which iteratively updates the
weights to minimize the error between the predicted and actual outputs.
Additionally, an inertia term is included in the weight adjustment process to accelerate convergence. The
weight adjustment from the hidden layer to the output layer can be expressed as follows:
where η is the learning rate and α is the inertia coefficient. According to the chain rule of derivatives, the gradient
descent can be expressed as follows:
∂E(k) ∂E(k) ∂y(k) ∂u(k)
(3)
= · ·
∂wli ∂y(k) ∂u(k) ∂O(3)(k)
l
(3) (3) (11)
∂Ol (k) ∂netl (k)
· (3)
· (3)
∂netl (k) ∂wli
∂u(k)
= e(k) − e(k − 1)
∂O
(3)
(k)
1
∂u(k)
(3)
= e(k) (12)
∂O2 (k)
∂u(k)
= e(k) − 2e(k − 1) + e(k − 2)
(3)
∂O3 (k)
Finally, the learning algorithm for the weights of the output layer and hidden layer is obtained as follows:
(3) (3)
∆wli (k) = α∆wli (k − 1) + ηδl Oi (k)
(3) (2)
∂y(k) ∂u(k) ′
(3) (3)
δ = e(k) sgn g (netl (k))
l ∂u(k) ∂O(3)(k)
l
(2) (2) (2) (1) (13)
∆w ij (k) = α∆w ij (k − 1) + ηδl Oj (k)
3
(2) (2) (3) (3)
δl = f ′(neti (k)) δl wli (k)
l=1
where g ′(x) = g(x)(1 − g(x)), f ′(x) = (1 − f 2(x))/2, η is the learning rate of neural network and α is the
inertia coefficient of neural network.
Fig. 5. Conceptual model of the tangent function and the dance behavior.
xi(t + 1) = xi(t) + α × k × xi(t − 1) + b × ∆x
(14)
∆x = |xi(t) − X w |
where t represents the current iteration number, xi(t) denotes the position information of the ith dung beetle
at the tth iteration, k ∈ (0, 0.2] denotes a constant value which indicates the deflection coefficient, bindicates a
constant value belonging to (0, 1), α is a natural coefficient which is assigned − 1 or 1, X w indicates the global
worst position, ∆x is used to simulate changes of light intensity. A conceptual model of a dung beetle’s rolling
behavior is shown in Fig. 4.
(2) Dancing behavior.
To mimic the dance behavior, the tangent function is used to get the new rolling direction. The position of
the ball-rolling dung beetle is updated and defined as follows:
xi(t + 1) = xi(t) + tan(θ)|xi(t) − xi(t − 1)|(15)
where θ is the deflection angle belonging to [0, π]. Conceptual model of the tangent function and the dance
behavior of a dung beetle is shown in Fig. 5. Once the dung beetle has successfully determined a new orientation,
it should continue to roll the ball backward.
(3) Reproduction behavior.
A boundary selection strategy is proposed to simulate the areas where female dung beetles lay their eggs,
which is defined by:
Lb∗ = max(X ∗ × (1 − R), Lb)
(16)
U b∗ = min(X ∗ × (1 + R), U b)
where X ∗ denotes the current local best position, Lb∗and U b∗ mean the lower and upper bounds of the spawning
area respectively, R = 1 − t/Tmax and Tmax indicate the maximum iteration number, Lb and U b represent the
lower and upper bounds of the optimization problem, respectively. As shown in Fig. 6, the current local best
position X ∗ is indicated by using a large circle, while the small circles around X ∗ indicate the brood balls. In
addition, the small red circles represent the upper and lower bounds of the boundary.
The position of the brood ball is also dynamic in the iteration process, which is defined by:
Bi(t + 1) = X ∗ + b1 × (Bi(t) − Lb∗) + b2 × (Bi(t) − U b∗)(17)
where Bi(t) is the position information of the ith brood ball at the tth iteration, b1 andb2represent two
independent random vectors by size 1 × D, D indicates the dimension of the optimization problem.
(4) Foraging behavior.
The boundary of the optimal foraging area is defined as follows:
The position of the brood ball is also dynamic in the iteration process, which is defined by:
Lbb = max(X b × (1 − R), Lb)
(18)
U bb = min(X b × (1 + R), U b)
where X b denotes the global best position, Lbb and U bb mean the lower and upper bounds of the optimal
foraging area respectively. Therefore, the position of the small dung beetle is updated as follows:
where xi(t) indicates the position information of the ith small dung beetle at the tth iteration, C1 represents a
random number that follows normally distributed, and C2 denotes a random vector belonging to (0, 1).
(5) Stealing behavior.
During the iteration process, the position information of the thief is updated and can be described as follows:
where xi(t) denotes the position information of the ith thief at the ith iteration, g is a random vector by size
1 × D that follows normally distributed, and S indicates a constant value.
where h is a uniformly distributed random number with h ∈ (0, 1). xis denotes the excellent position information
of the ith dung beetle at the tth iteration, and i is a random number in the set {1, 2}. The conceptual model of
merit-oriented mechanism is shown in Fig. 7. The blue arrow indicates the final rolling direction.
Dancing behavior is an important exploration mechanism. To balance the ability of global exploration and
local development, a sine learning factor r is introduced in the position update of dancing behavior. In the early
iteration, the sine factor r can promote global exploration, whereas in the later iteration, it helps to refine local
development and optimize search behavior at different stages. The sine learning factor and the new position
equation for the dancing behavior are defined as:
πt
r = rmin + (rmax − rmin) × sin( )(22)
T max
xi(t + 1) = r × xi(t) + (1 − r) tan(θ)|xi(t) − xi(t − 1)|(23)
where rmax is the maximum value. rmin is the minimum value. t represents the current iteration number, and
Tmax represents the maximum iteration number.
To ensure the convergence speed of the algorithm and increase the diversity of individuals in the population,
a dynamic spiral search method is proposed to improve the original breeding behavior. As the iteration proceeds,
the shape of the spiral changes dynamically from large to small, and the dynamic nonlinear search mode helps to
improve the population diversity and search accuracy of the entire search process. The proposed dynamic spiral
search method is defined as follows:
cos( T πt
q=e max )(24)
where q is the spiral factor used to adjust the intensity of spiral search, l is a uniformly distributed random
number with l ∈ (−1, 1). The conceptual model of the dynamic spiral search method is shown in Fig. 8. The
curves of the sine learning factor r and the spiral factor q are shown in Fig. 9.
In order to adapt to complex search spaces or multimodal problems, adaptive t-distribution disturbances
with heavier tails than normal distributions are introduced. It is a probability distribution that achieves a smooth
transition from Gaussian distribution to Cauchy distribution by adjusting its degree of freedom parameters. This
adaptive approach enables the algorithm to dynamically adjust its search behavior, providing a more effective
exploration of the solution space. The foraging behavior based on adaptive t-distributed disturbance is defined
as follows:
b
xi(t + 1) = xi(t) + C1 × (xi(t) − Lb ) if rand < 0.5
+C2 × (xi(t) − U b )b
(26)
2
∗ ∗ 4 T t
max ) else
xi(t + 1) = X + X × trnd(e
where trnd is t-distribution function, the degrees of freedom in the distribution function represent disturbance
probability, which changes dynamically with the number of iterations.
As the iteration proceeds, the concentration of the probability density reduces the variability of the perturbation
values, and the perturbations are mainly generated around the current best solution. The probability density
distribution heatmap and corresponding distribution function images of adaptive t-distribution disturbance at
different iterations are shown in Fig. 10.
Fig. 10. Probability density of adaptive t-distribution disturbance. (a) t = 10. (b) t = 50. (c) t = 70. (d) t = 90. (e)
t = 100.
Fig. 11. The PID control structure based on EDBO-BP hybrid algorithm.
adapts to real-time network performance. Finally, the BPNN and EDBO algorithms are applied alternately to
globally optimize the PID parameter set. This hybrid optimization combines model-based optimization and
data-driven learning. After defining the structure and optimization process of the BPNN, the fitness function
of the EDBO is linked to the ITAE (Integral of Time-weighted Absolute Error) as the objective function of the
algorithm. During the optimization process, the position of the dung beetle corresponds to the PID parameters
and network parameters to be optimized. The flowchart of the PID control algorithm with EDBO-BP is shown
in Fig. 12.
In order to obtain satisfactory dynamic characteristics of the transition process, the system performance
evaluation index ITAE is introduced as the objective function of the algorithm. ITAE is a widely accepted
performance index for control systems. The discrete equation of the ITAE is expressed as follows:
n
IT AE = |e(kT )| · kT · T (27)
k=0
Fig. 12. Flowchart of PID control algorithm with hybrid optimization of EDBO-BP.
(MPA), gazelle optimization algorithm (GOA), and particle swarm optimization (PSO). It can be seen that the
EDBO was superior to other algorithms in terms of optimization speed and convergence accuracy.
The specific parameters of the DC motor mathematical model are shown in Table 2. Finally, the DC motor
transfer function can be calculated as:
20
G(s) = (29)
0.04s2 + 6s + 1
For the control group, the particle swarm optimization (PSO) and dung beetle optimizer (DBO) were selected
as comparison targets. PSO is easy to implement and performs well in the optimal design of neural networks and
PID control. Additionally, DBO serves as the foundation for the EDBO proposed in this paper. By comparing the
performance of the control system optimized by the traditional DBO, the superiority of the proposed method
can be verified.
EDBO achieved the smallest fitness value of 0.00028, followed by DBO with an optimal fitness of 0.00424.
PSO obtained the highest fitness value. In terms of the worst fitness value, the worst fitness of the EDBO is
0.000776, which is significantly smaller than DBO and PSO. The above results show that the EDBO can achieve
better control performance and stability than DBO and PSO in terms of global optimal solution identification
ability, convergence speed, and performance robustness.
consistently find parameter combinations close to the global optimum across multiple experiments, further
proving its superior tuning performance.
Figures 18 and 19 respectively illustrate the tuning processes of PID parameters and neural network
parameters over 100 iterations for the three algorithms. As shown in the figures, the EDBO-BP-PID algorithm
quickly converges and maintains stability in the early stages of iteration. In contrast, while the DBO-BP-PID
and PSO-BP-PID algorithms also converge rapidly initially, they exhibit significant fluctuations in parameter
adjustments as iterations increase, making further optimization difficult.
In real industrial production processes, the stability, accuracy, and responsiveness of control systems are
crucial. Due to its precise parameter adjustments during tuning, the EDBO-BP-PID algorithm better adapts to
the demands of actual working environments and enhances the overall performance of the system. Specifically,
by optimizing the hyperparameters of the neural network, the EDBO-BP-PID algorithm not only ensures control
accuracy but also improves the system’s response speed and robustness, maintaining high control performance
even in the face of disturbances and parameter variations.
EDBO-BP-PID algorithm achieves optimal tuning of the control system by seeking a balance among multiple
performance indices. The principles of the ESO method are reflected in the EDBO-BP-PID’s optimization
strategy, where a systematic adjustment mechanism ensures that the control system consistently delivers superior
performance in complex and variable industrial environments.
Sensitivity analysis
Sensitivity analysis is the study of uncertainty in the output of a mathematical model and how it is divided and
assigned to different sources of uncertainty in the input. During the simulation experiment data is recorded
and sensitivity analysis is performed, after traversing the two parameters such as learning rate η and inertia
coefficient α in the BP neural network, both of which are taken from 0 to 0.2, the relationship between the two
parameters and the adaptation value is obtained and the sensitivity analysis graph of the parameters is shown
in Fig. 20.
Therefore, the two parameters have a greater influence on the whole control system, and if they are set to a
fixed value, it reduces the algorithm’s optimization-seeking effect, so we chose to adjust the parameters of the BP
neural network with EDBO.
Fig. 18. Comparison of PID parameters tuning. (a) EDBO-BP-PID. (b) DBO-BP-PID. (c) PSO-BP-PID.
Fig. 19. Comparison of neural network parameters tuning. (a) EDBO-BP-PID. (b) DBO-BP-PID. (c) PSO-BP-
PID.
The EDBO-BP-PID algorithm demonstrates optimal steady-state response and rapid error correction. After
the disturbance, the system output shows minimal deviation from the setpoint and quickly returns to the desired
output, highlighting its excellent disturbance rejection and system stability. In contrast, traditional PID and BP-
PID algorithms exhibit larger overshoot and longer recovery times, with noticeable oscillations, especially in the
PID controller, indicating its vulnerability to external disturbances.
While the PSO-BP-PID and DBO-BP-PID algorithms improve stability and recovery speed to some extent,
they still fall short of the EDBO-BP-PID’s performance. These algorithms show some fluctuations in output
response and less smooth error correction, indicating limited effectiveness in handling external disturbances.
3) In order to further evaluate the tracking ability of the control system to external changes and the robustness
of the control algorithm, a step change experiment was set up on the system’s step response. Set the control
system to simulate a step change at the 1st and 2nd seconds respectively. The input of the given system is 1. The
Control algorithm Overshoot (%) Rising time (s) Settling time (s) Peak time (s) Peak Steady-state error
EDBO-BP-PID 0.5 0.012 0.02 0.032 1.005 0.0010
DBO-BP-PID 2.8 0.016 0.15 0.050 1.280 0.0018
PSO-BP-PID 5.0 0.024 0.25 0.045 1.050 0.0017
BP-PID 7.1 0.040 0.40 0.100 1.071 0.0018
PID 11.0 0.076 0.56 0.220 1.110 0.0025
dynamic behavior of the system output under different PID control algorithms when the system input undergoes
a predetermined step change is shown in Fig. 25.
As shown in Fig. 25, there are significant differences in the dynamic behavior of the system output under
various PID control algorithms when the system input undergoes step changes. The EDBO-BP-PID algorithm
demonstrates the fastest response and the smallest overshoot at each step change point. The system output
almost immediately follows the setpoint adjustment and stabilizes within a short time, showcasing its excellent
tracking ability and strong robustness in response to external changes.
In contrast, traditional PID and BP-PID algorithms exhibit noticeable overshoots and oscillations when the
step changes occur, particularly at the 1-second and 2-second step change points. The output signal shows a
significant overshoot and takes longer to return to a stable state, indicating slower response speed and poorer
stability when dealing with rapidly changing external inputs. While the PSO-BP-PID and DBO-BP-PID
algorithms somewhat improve the overshoot issue, their response speed and final stability still do not match that
of the EDBO-BP-PID algorithm.
4) In real industrial environments, control systems often need to operate in changing and unpredictable
environments. Therefore, noise variation experiments are crucial to verify the effectiveness and robustness of
control strategies. Introduce random noise signals into the control system to simulate the random interference
that the control system may encounter in actual working conditions, and further evaluate the performance of
the PID controller under nonideal and nondeterministic conditions. The noise signal is set to white noise with
known statistical characteristics. The noise amplitude varies within the range of [0.95, 1.05]. The sampling time
of the noise fluctuation is 0.001 s, and the simulation time of the entire system is set to 1 s. The system input after
adding the external noise signal is shown in Fig. 26.
In Fig. 27, the system output performance under the influence of noise is shown for different PID control
algorithms. The EDBO-BP-PID control algorithm demonstrates the smallest disturbance error when dealing
with external noise, indicating its significant advantages in control accuracy and stability. Despite the noise
interference, the system output quickly approaches the reference input value and maintains high stability.
In contrast, other control algorithms, such as PID, BP-PID, PSO-BP-PID, and DBO-BP-PID, exhibit greater
fluctuations under noise, with the traditional PID algorithm showing the most noticeable deviation.
were carried out to compare the motor speed following the three algorithms. The motor speed response curves
of the controllers are shown in Figs. 28, 29, 30, 31 and 32. It can be concluded from the simulation experiments
of the brushless DC motor that the motor speed response under the EDBO-BP-PID algorithm is faster and the
overshoot is minimized, and the robustness is better than the other two algorithms.
Fig. 32. Speed response curve of motor uniform speed loading and unloading experiments.
A concise quantitative and qualitative comparative analysis of the experimental results is shown in Table 6.
The quantitative analysis of five simulation experiments on DC motors concludes that the EDBO-BP-PID
algorithm provides the best optimization of the PID controller parameters, with the lowest overshoot and the
shortest response time of the control system.
Conclusions
This paper presents a PID control algorithm based on the hybrid optimization of the EDBO and BPNN. Unlike
existing PID control systems, the proposed algorithm uses BPNN to identify parameter combinations without
prior information on the PID control parameters. To alleviate overfitting and improve the generalization ability
of the optimal parameter combination, EDBO incorporates enhanced strategies into the DBO. This approach
optimizes the neural network parameters, enhancing the effectiveness and robustness of the overall optimization
mechanism. Simulation experiment results demonstrate that the proposed algorithm offers faster and more
accurate adjustment capabilities, improved control robustness, and greater practical usability.
The proposed adaptive PID control algorithm has broad application potential in industrial systems, robotics,
and energy management. It can adjust PID parameters in real time to adapt to complex, nonlinear systems. This
approach enhances precision in robotic motor control, allows for real-time adjustments in industrial automation,
and ensures load frequency control in microgrids, providing robustness and stability under changing conditions.
Data availability
The datasets generated during and/or analysed during the current study are available from the corresponding
author on reasonable request.
References
1. Clarke, D. W. PID algorithms and their computer implementation. Trans. Inst. Meas. Control. 6, 305–316. https://doi.or g/10.1177/
0142331284 00600605 (1984).
2. Wang, J. et al. PID control of multi-DOF industrial robot based on neural network. J. Ambient Intell. Hum. Comput. 11, 6249–6260.
[Link] (2020).
3. Aboelhassan, A., Abdelgeliel, M., Zakzouk, E. E. & Galea, M. Design and implementation of model predictive control based PID
controller for industrial applications. Energies. 13, 6594. [Link] (2020).
4. Yang, T., Yi, X., Lu, S., Johansson, K. H. & Chai, T. Intelligent manufacturing for the process industry driven by industrial artificial
intelligence. Engineering. 7, 1224–1230. [Link] (2021).
5. Can, E. & Sayan, H. H. PID and fuzzy controlling three phase asynchronous machine by low level DC source three phase inverter.
Teh Vjesn. 23, 753–760. [Link] (2016).
6. Somefun, O. A., Akingbade, K. & Dahunsi, F. The dilemma of PID tuning. Annu. Rev. Control. 52, 65–74. https://d oi.org/10. 1016/
j.arcontrol.202 1.05.002 (2021).
7. Ding, X., Li, R., Cheng, Y., Liu, Q. & Liu, J. Design of and research into a multiple-fuzzy PID suspension control system based on
road recognition. Processes. 9, 2190. [Link] (2021).
8. Saleem, O. EKF-based self-regulation of an adaptive nonlinear PI speed controller for a DC motor. Turkish J. Electr. Eng. Comput.
Sci. 25, 4131–4141. [Link] (2017).
9. Zhu, F. et al. Research and design of hybrid optimized backpropagation (BP) neural network PID algorithm for integrated water
and fertilizer precision fertilization control system for field crops. Agronomy. 13, 1423. [Link]
(2023).
10. Maraba, V. A. & Kuzucuoglu, A. E. PID neural network based speed control of asynchronous motor using programmable logic
controller. Adv. Electr. Comput. Eng. 11, 23–28. [Link] (2011).
11. Cong, S. & Liang, Y. PID-like neural network nonlinear adaptive control for uncertain multivariable motion control systems. IEEE
Trans. Ind. Electron. 56, 3872–3879. [Link] (2009).
12. Ambroziak, A. & Chojecki, A. The PID controller optimisation module using fuzzy self-tuning PSO for Air Handling Unit in
continuous operation. Eng. Appl. Artif. Intell. 117, 105485. [Link] (2023).
13. Aygun, H., Demirel, H. & Cernat, M. Control of the bed temperature of a circulating gluidized bed boiler by using particle swarm
optimization. Adv. Electr. Comput. Eng. 12, 27–32. [Link] (2012).
14. Dahiya, P., Sharma, V. & Naresh, R. Solution approach to automatic generation control problem using hybridized gravitational
search algorithm optimized PID and FOPID controllers. Adv. Electr. Comput. Eng. 15, 23–34. https ://doi.org /10.4316/A ECE.2015
.02004 (2015).
15. Suid, M. H. & Ahmad, M. A. Optimal tuning of sigmoid PID controller using nonlinear sine cosine algorithm for the automatic
voltage regulator system. ISA Trans. 128, 265–286. [Link] (2022).
16. Sahin, A. K., Cavdar, B. & Ayas, M. S. An adaptive fractional controller design for automatic voltage regulator system: sigmoid-
based fractional-order PID controller. Neural Comput. Applic. 36, 14409–14431. [Link]
(2024).
17. Ghazali, M. R., Ahmad, M. A. & Raja Ismail, R. M. T. A multiple-node hormone regulation of neuroendocrine-PID (MnHR-
NEPID) control for nonlinear MIMO systems. IETE J. Res. 68, 4476–4491. [Link] (2020).
18. Kumar, M. & Hote, Y. V. Maximum sensitivity-constrained coefficient diagram method-based PIDA controller design: application
for load frequency control of an isolated microgrid. Electr. Eng. 103, 2415–2429. [Link]
(2021).
19. Shi, X., Zhao, H. & Fan, Z. Parameter optimization of nonlinear PID controller using RBF neural network for continuous stirred
tank reactor. Meas. Control. 56, 1835–1843. [Link] (2023).
20. Hanna, Y. F., Khater, A. A., El-Bardini, M. & El-Nagar, A. M. Real time adaptive PID controller based on quantum neural network
for nonlinear systems. Eng. Appl. Artif. Intell. 126, 106952. [Link] (2023).
21. Zhao, W. & Gu, L. Adaptive PID controller for active suspension using radial basis function neural networks. Actuators. 12, 437.
[Link] (2023).
22. Kebari, M., Wu, A. S. & Mathias, H. D. PID-inspired modifications in response threshold models in swarm intelligent systems. In
Proceedings of the Genetic and Evolutionary Computation Conference, 39–46. (2023). [Link]
23. Gupta, S., Debnath, S. & Biswas, P. K. Control of an active magnetic bearing system using swarm intelligence-based optimization
techniques. Electr. Eng. 105, 935–952. [Link] (2023).
24. Faria, R. M. et al. Particle swarm optimization solution for roll-off control in radiofrequency ablation of liver tumors: optimal
search for PID controller tuning. PLOS ONE. 19, e0300445. [Link] (2024).
25. Nanyan, N. F., Ahmad, M. A. & Hekimoğlu, B. Optimal PID controller for the DC-DC Buck converter using the improved sine
cosine algorithm. Results Control Optim. 14, 100352. [Link] (2024).
26. Mourtas, S. D., Kasimis, C. & Katsikis, V. N. Robust PID controllers tuning based on the beetle antennae search algorithm.
Memories – Mater. Devices Circuits Syst. 4, 100030. [Link] (2023).
27. Ghith, E. S. & Tolba, F. A. A. tuning PID controllers based on hybrid arithmetic optimization algorithm and artificial gorilla troop
optimization for micro-robotics systems. IEEE Access. 11, 27138–27154. [Link] (2023).
28. Xue, J. & Shen, B. Dung beetle optimizer: a new meta-heuristic algorithm for global optimization. J. Supercomput. 79, 7305–7336.
[Link] (2023).
29. Tang, J., Duan, H. & Lao, S. Swarm intelligence algorithms for multiple unmanned aerial vehicles collaboration: a comprehensive
review. Artif. Intell. Rev. 56, 4295–4327. [Link] (2023).
30. Xu, M., Cao, L., Lu, D., Hu, Z. & Yue, Y. Application of swarm intelligence optimization algorithms in image processing: a
comprehensive review of analysis, synthesis, and optimization. Biomimetics. 8, 235. [Link]
(2023).
31. Tawhid, M. A. & Ibrahim, A. M. An efficient hybrid swarm intelligence optimization algorithm for solving nonlinear systems and
clustering problems. Soft Comput. 27, 8867–8895. [Link] (2023).
32. Miao, Y. et al. Research on optimal control of HVAC system using swarm intelligence algorithms. Build. Environ. 241, 110467.
[Link] (2023).
33. Atacak, I. & Küçük, B. PSO-based PID controller design for an energy conversion system using compressed air. Teh Vjesn. 24,
671–679. [Link] (2017).
34. Mirjalili, S. Genetic algorithm. In Evolutionary Algorithms and Neural Networks: Theory and Applications (ed Mirjalili, S.) 43–55
(Springer, Cham, [Link] (2019).
35. Nayak, J., Swapnarekha, H., Naik, B., Dhiman, G. & Vimal, S. 25 years of particle swarm optimization: flourishing voyage of two
decades. Arch. Computat Methods Eng. 30, 1663–1725. [Link] (2023).
36. Chakraborty, A. & Kar, A. K. Swarm intelligence: a review of algorithms. In Nature-Inspired Computing and Optimization: Theory
and Applications (eds Patnaik, S., Yang, X. S. & Nakamatsu, K.) 475–494 (Springer, Cham, https://doi.or g/10.1007/ 978-3-319- 509
20-4_19. (2017).
37. Zhu, F. et al. Dung beetle optimization algorithm based on quantum computing and multi-strategy fusion for solving engineering
problems. Expert Syst. Appl. 236, 121219. [Link] (2024).
38. Hasan, M. M., Rana, M. S., Tabassum, F., Pota, H. R. & Roni, M. H. K. optimizing the initial weights of a PID neural network
controller for voltage stabilization of microgrids using a PEO-GA algorithm. Appl. Soft Comput. 147, 110771. https:// doi.org/10 .1
016/j.as oc.2023.11 0771 (2023).
39. He, Y., Zhou, Y., Wei, Y., Luo, Q. & Deng, W. Wind driven butterfly optimization algorithm with hybrid mechanism avoiding
natural enemies for global optimization and PID controller design. J. Bionic Eng. 20, 2935–2972. https ://doi.org /10.1007/s 42235-0
23- 00416-z (2023).
Acknowledgements
This research was funded by the Postgraduate Research & Practice Innovation Program of Jiangsu Province
(Grant No. SJCX23-1871, and No. KYCX24-XZ054); Yancheng Institute of Technology Teaching Reform Re-
search Project (Grant No. YKT2022A028); The Natural Science Foundation of the Jiangsu Higher Education
Institutions of China (Grant No. 24KJB140020).
Author contributions
Data collection, analysis, and interpretation, writing—original draft preparation, H.Z.; methodology, formal
analysis, W.K.; writing—review and editing, X.Y., Z.Y., R.W., W.Y., and J.Z. All authors have read and agreed to
the published version of the manuscript.
Declarations
Competing interests
The authors declare no competing interests.
Additional information
Correspondence and requests for materials should be addressed to Z.Y.
Reprints and permissions information is available at [Link]/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives
4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in
any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide
a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have
permission under this licence to share adapted material derived from this article or parts of it. The images or
other third party material in this article are included in the article’s Creative Commons licence, unless indicated
otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence
and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to
obtain permission directly from the copyright holder. To view a copy of this licence, visit http://cre ativecommo
ns.org/lic enses/by-nc-nd/4.0/.
1. use such content for the purpose of providing other users with access on a regular or large scale basis or as a means to circumvent access
control;
2. use such content where to do so would be considered a criminal or statutory offence in any jurisdiction, or gives rise to civil liability, or is
otherwise unlawful;
3. falsely or misleadingly imply or suggest endorsement, approval , sponsorship, or association unless explicitly agreed to by Springer Nature in
writing;
4. use bots or other automated methods to access the content or redirect messages
5. override any security feature or exclusionary protocol; or
6. share the content in order to create substitute for Springer Nature products or services or a systematic database of Springer Nature journal
content.
In line with the restriction against commercial use, Springer Nature does not permit the creation of a product or service that creates revenue,
royalties, rent or income from our content or its inclusion as part of a paid for service or for other commercial gain. Springer Nature journal
content cannot be used for inter-library loans and librarians may not upload Springer Nature journal content on a large scale into their, or any
other, institutional repository.
These terms of use are reviewed regularly and may be amended at any time. Springer Nature is not obligated to publish any information or
content on this website and may remove it or features or functionality at our sole discretion, at any time with or without notice. Springer Nature
may revoke this licence to you at any time and remove access to any copies of the Springer Nature journal content which have been saved.
To the fullest extent permitted by law, Springer Nature makes no warranties, representations or guarantees to Users, either express or implied
with respect to the Springer nature journal content and all parties disclaim and waive any implied warranties or warranties imposed by law,
including merchantability or fitness for any particular purpose.
Please note that these rights do not automatically extend to content, data or other material published by Springer Nature that may be licensed
from third parties.
If you would like to use or distribute our Springer Nature journal content to a wider audience or on a regular basis or in any other manner not
expressly permitted by these Terms, please contact Springer Nature at
onlineservice@[Link]