Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Structural Design and Control Performance Study of Flexible Finger Mechanisms for Robot End Effectors
Previous Article in Journal
The Sliding Mode Control for Piezoelectric Tip/Tilt Platform on Precision Motion Tracking
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Local Search Particle Swarm Optimization Based on the Beetle Antennae Search Algorithm in Parameter Optimization

1
National Key Laboratory of Optical Field Manipulation Science and Technology, Chinese Academy of Sciences, Beijing 100045, China
2
Key Laboratory of Optical Engineering, Chinese Academy of Sciences, Beijing 100045, China
3
Institute of Optics and Electronics, Chinese Academy of Sciences, Beijing 100045, China
4
University of Chinese Academy of Sciences, Beijing 101408, China
*
Author to whom correspondence should be addressed.
Actuators 2024, 13(7), 270; https://doi.org/10.3390/act13070270
Submission received: 24 June 2024 / Revised: 15 July 2024 / Accepted: 16 July 2024 / Published: 17 July 2024

Abstract

:
Intelligent control algorithms have been extensively utilized for adaptive controller parameter adjustment. While the Particle Swarm Optimization (PSO) algorithm has several issues: slow convergence speed requiring a large number of iterations, a tendency to get trapped in local optima, and difficulty escaping from them. It is also sensitive to the distribution of the solution space, where uneven distribution can lead to inefficient contraction. On the other hand, the Beetle Antennae Search (BAS) algorithm is robust, precise, and has strong global search capabilities. However, its limitation lies in focusing on a single individual. As the number of iterations increases, the step size decays, causing it to get stuck in local extrema and preventing escape. Although setting a fixed or larger initial step size can avoid this, it results in poor stability. The PSO algorithm, which targets a population, can help the BAS algorithm increase diversity and address its deficiencies. Conversely, the characteristics of the BAS algorithm can aid the PSO algorithm in finding the optimal solution early in the optimization process, accelerating convergence. Therefore, considering the combination of BAS and PSO algorithms can leverage their respective advantages and enhance overall algorithm performance. This paper proposes an improved algorithm, W-K-BSO, which integrates the Beetle Antennae Search strategy into the local search phase of PSO. By leveraging chaotic mapping, the algorithm enhances population diversity and accelerates convergence speed. Additionally, the adoption of linearly decreasing inertia weight enhances algorithm performance, while the coordinated control of the contraction factor and inertia weight regulates global and local optimization performance. Furthermore, the influence of beetle antennae position increments on particles is incorporated, along with the establishment of new velocity update rules. Simulation experiments conducted on nine benchmark functions demonstrate that the W-K-BSO algorithm consistently exhibits strong optimization capabilities. It significantly improves the ability to escape local optima, convergence precision, and algorithm stability across various dimensions, with enhancements ranging from 7 to 9 orders of magnitude compared to the BAS algorithm. Application of the W-K-BSO algorithm to PID optimization for the Pointing and Tracking System (PTS) reduced system stabilization time by 28.5%, confirming the algorithm’s superiority and competitiveness.

1. Introduction

Photoelectric tracking systems, as a class of integrated optomechatronics widely implemented in astronomy, communication, positioning, and tracking, present a critical and challenging issue in enhancing their overall precision [1]. The controller within the control system is pivotal in determining the tracking performance [2]; hence, optimizing the controller’s parameters is a necessary measure to improve this performance [3].
In addressing optimization problems, intelligent optimization algorithms have initiated a new chapter, garnering extensive research and application since their inception [2]. These algorithms have afforded better solutions to complex problems. However, with further exploration, it has been observed that each algorithm has its limitations, stemming from its inherent characteristics and scope of application [4]. Consequently, scholars have sought to improve these algorithms by combining two, leveraging their strengths and compensating for their weaknesses [5].
PSO and BAS algorithms have been utilized to solve optimization problems, entailed by basic mathematical operations and minimal computational and environmental requirements, and thus widely applied in various parameter optimizations [6,7]. Ye et al. proposed the Beetle Swarm Antennae Search (BSAS) algorithm, incorporating a feedback step-size update strategy, and addressing issues related to the algorithm’s over-reliance on the beetle’s random direction and the need for frequent updates of beetle positions and step sizes [8]. Lei et al. suggested the Beetle Antennae Search with Flower Pollination Algorithm (BFPA), applying butterfly pollination strategies for global search and BAS for local searches to enhance search performance and convergence rates [8]. Xu et al. introduced the Levy flight and adaptive strategy-based BAS (LABAS), grouping beetles, updating swarm information with elite individuals, and incorporating generalized oppositional learning in the initial and elite populations with Levy flight and proportion factors [9]. Fan et al. applied a BAS and PID hybrid controller for electro-hydraulic servo systems, significantly enhancing system performance and effectively meeting control demands [10]. However, their limitations lie in focusing on a single individual. As the number of iterations increases, the step size decays, causing it to get stuck in local extrema and preventing escape. Although setting a fixed or larger initial step size can avoid this, it results in poor stability.
Sedighizadeh et al. developed a Generalized PSO (GEPSO) algorithm, incorporating two new items into the velocity update rule and adopting a novel dynamic inertia weight update strategy, outperforming other variants in run time and fitness values [11]. Aydilek proposed a hybrid algorithm combining Firefly Algorithm (FA) and PSO (HFPSO), using PSO for global search and FA for local search, rapidly and reliably finding optimal solutions [12]. Dhanachandra et al. integrated Dynamic Particle Swarm Optimization (DPSO) with Fuzzy C-Means Clustering (FCM), using DPSO to find FCM’s optimal solutions and applying the improved method to image segmentation and noise reduction, demonstrating enhanced noise resistance and performance [13]. However, the PSO algorithm has several issues: slow convergence speed requiring a large number of iterations, a tendency to get trapped in local optima, and difficulty escaping from them. It is also sensitive to the distribution of the solution space, where uneven distribution can lead to inefficient contraction.
The BAS algorithm displays robust performance, high precision, and strong global search capabilities, but its limitation arises from its focus on individual particles [14]. As iterations increase and step sizes decay, it may become trapped in local optima, despite solutions like fixed step sizes or larger initial step sizes introducing instability. The PSO algorithm, on the other hand, addresses a collective, aiding BAS by increasing diversity and rectifying its shortcomings [15]. Moreover, BAS’s traits facilitate rapid identification of the optimal solution in PSO’s initial stages, hastening convergence. This consideration led to the hybridization of BAS and PSO, aiming to capitalize on the individual advantages of each algorithm and enhance overall performance.
In this study, we integrate the beetle antennae search strategy into the PSO local search, proposing an improved algorithm referred to as W-K-BSO. Our principal contributions are as follows:
  • We utilize chaotic mapping to optimize population diversity, resulting in a stochastic and uniform distribution of individuals, thereby enhancing the algorithm’s convergence rate without compromising the inherent randomness of the population.
  • The inertia weight is updated using a linearly decreasing differential approach, mitigating the deficiency of conventional linear decrement strategies that may fail to identify the optimal value direction in the initial stages, leading to convergence towards local optima in later stages.
  • We synergistically control the algorithm using a contraction factor and inertia weight, ensuring convergence while effectively managing global and local search performance. The contraction factor includes an acceleration coefficient derived from the beetle’s antennae position increments. These three factors collectively dictate the updating mechanism. By treating the particle’s position as the centroid of the beetle, we generate positions for the beetle’s left and right antennae, calculate their fitness values, and create new positions and increments. These new positions serve as the current positions of the particles. We also incorporate the impact of antennae position increments on the current particle positions into the velocity update rule. Finally, we test the algorithm using benchmark functions and apply it to the optimization of PID in photovoltaic tracking systems.
The subsequent sections of this paper are arranged as follows: Section 2 discusses relevant theories, Section 3 presents the local search Particle Swarm Optimization algorithm based on the beetle antennae search algorithm, Section 4 conducts a simulation analysis, Section 5 details the experimental validation, and Section 6 provides a summary of the paper.

2. Theoretical Foundations

2.1. Fundamental Particle Swarm Optimization

PSO is a population-based stochastic optimization algorithm initially introduced by Kennedy and Eberhart [16]. The fundamental premise is as follows: given a D d i m dimensional search space and a swarm consisting of N p o p particles, the position of particle i in the search space can be represented as:
X i = ( x i 1 , x i 2 , , x i D d i m ) , i = 1 , 2 , , N p o p
Corresponding to its position, the velocity vector, which is also D d i m dimensional, is given by:
V i = ( v i 1 , v i 2 , , v i D d i m ) , i = 1 , 2 , , N p o p
The best position reached by particle i , known as the personal best or individual extremum, is denoted as:
P b = ( p i 1 , p i 2 , , p i D d i m ) , i = 1 , 2 , , N p o p
The best position attained by the swarm, referred to as the global best or group extremum, is represented by:
G b = ( g 1 , g 2 , , g D d i m )
Once the personal and global extrema are identified, the velocity and position of the particles are updated using:
v i d t + 1 = v i d t + c 1 r 1 ( p i d t x i d t ) + c 2 r 2 ( g d t x i d t )
x i d t + 1 = x i d t + v i d t + 1
In these equations, r 1 and r 2 are random numbers, c 1 and c 2 are acceleration coefficients that adjust the influence of individual and group cognition during the search, facilitating rapid convergence, and can also be termed learning factors. v i d t denotes the velocity of particle i in the d-th dimension at the t-th iteration, x i d t signifies the position of particle i in the d-th dimension at the t-th iteration, p i d t represents the coordinate position of particle i’s personal best in the d-th dimension at the t-th iteration, and g d t indicates the coordinate position of the global best in the d-th dimension for the entire swarm at the t-th iteration.
The optimization process of the basic PSO algorithm is visualized in the Figure 1.
To preserve individual momentum within the swarm, Shi and Eberhart proposed incorporating an inertia weight into the velocity update rule, leading to the development of the Standard Particle Swarm Optimization (SPSO) [17]. The velocity update rule for the SPSO algorithm is illustrated as follows:
v i d t + 1 = ω v i d t + c 1 r 1 ( p i d t x i d t ) + c 2 r 2 ( g d t x i d t )
In the Standard PSO algorithm, a high value of inertia weight ω emphasizes the particle’s current velocity, making it suitable for extensive global searches. However, the swift velocity and large position jumps might overlook certain areas, potentially missing the optimal solution. Conversely, a low inertia weight value ω diminishes the influence of the particle’s current velocity, which is advantageous for a focused local search. Yet, the limited search space and rapid convergence may lead to entrapment in local optima.
To effectively balance the local and global exploration capabilities of the PSO algorithm, Clerc and Kennedy introduced a constriction factor χ , resulting in the Constriction Factor Particle Swarm Optimization (CFPSO) [18]. The CFPSO algorithm replaces the inertia weight ω of the basic PSO algorithm with the constriction factor χ . Utilizing this factor allows for efficient searches across various regions, ensuring convergence to a high-quality collective optimal solution. The velocity update equation for the CFPSO algorithm is as follows:
v i d t + 1 = χ [ v i d t + c 1 r 1 ( p i d t x i d t ) + c 2 r 2 ( g d t x i d t ) ]
χ = 2 | 2 γ γ 2 4 γ |
Here, the constriction factor χ governs the convergence phase of the algorithm, enabling it to achieve more effective and precise solutions.
γ = c 1 + c 2 , γ > 4
In summary, the PSO algorithm boasts simplicity in coding, rapid convergence, and high efficiency during the early search phases. However, it lacks precision and, when dealing with multimodal problems, its strong global search capability leads to a swift reduction in the search range, causing particles to converge quickly and lose diversity. Additionally, the low utilization of information leads to premature convergence, negatively impacting the optimization process and application of the algorithm. These issues necessitate improvements to the algorithm, ensuring an enhanced optimization and application potential.

2.2. Beetle Antennae Search Algorithm

The BAS algorithm is an innovative biomimetic algorithm inspired by the foraging behavior of beetles. Biologically, a beetle, when searching for food, does not initially know the food’s location; it locates its food based on the strength of the scent detected by its antennae. A beetle has a pair of long antennae. If the scent received by the left antenna is stronger than that received by the right, the beetle will move to the left, and vice versa. By this simple principle, beetles can efficiently locate food. In the BAS algorithm, the beetle is modeled as a particle, and its antennae are abstracted to points located on either side of the particle’s centroid. The search step length is set according to the distance ratio between the two antennae. Within the BAS algorithm framework, the optimal value of the fitness function is analogous to the food location in nature, and the variables of the fitness function represent the beetle’s position in space.
The modeling process of the BAS algorithm is as follows:
  • Initialization of beetle’s position and direction: The position and orientation of the beetle are randomly generated and normalized:
    b = rands ( Dim , 1 ) rands ( Dim , 1 )
    where ‘rands(.)’ function denotes uniformly distributed random numbers in the range of −1 to 1, and ‘Dim’ represents the dimensionality.
  • Antennae placement for scent detection: In nature, as a beetle uses its antennae to detect food scent without knowing the precise location of the food, it determines its next movement based on the scent detected by its antennae. The positions of the beetle’s left and right antennae, x l and x r , can be represented as:
    x r = x t + d t b 2
    x l = x t d t b 2
    where t represents the iteration number, x r the position of the right antenna, x l the position of the left antenna, x t the position of the beetle at time t, and d t the perception distance of the antennae.
  • Determining the Movement Direction: Based on the chosen fitness function, the fitness values of both antennae are computed, and the beetle moves towards the antenna receiving the lower fitness value.
  • Iterative Update of Position:
    x ( t + 1 ) = x t δ t b · sign ( f ( x r ) f ( x l ) )
    where δ t represents the step length of the beetle’s search, ‘sign()’ the sign function, and ‘f()’ the target optimization function.
  • Updating the Perception Length and Search Step Length: Upon completing the movement, both the antennae’s perception length and the search step length are updated:
    d ( t + 1 ) = η d t + 0.01 , δ ( t + 1 ) = η δ t
    where η is a fixed reduction factor for the detection distance and search step length in the BAS algorithm, typically set to η = 0.95 . This fixed reduction factor possesses scale invariance, facilitating the adaptation of the search efficiency over successive iterations.
The flowchart of the BAS algorithm is shown in the Figure 2 below.
The pseudocode for the BAS algorithm is provided in Algorithm 1:
Algorithm 1: BAS algorithm
Actuators 13 00270 i001

2.3. Benchmark Functions

In the domain of optimization, benchmark functions are commonly employed to evaluate the performance of algorithms [19]. Table 1 presents a selection of benchmark functions along with their respective mathematical expressions.

2.4. Fitness Function

Among the commonly employed PID error performance criteria, the Integral of Absolute Error (IAE) is suitable for systems with good transient responses and minimal errors. Therefore, this study adopts the IAE criterion as the fitness function for the algorithm. To control excessive control efforts, a quadratic term of the input is included in the fitness function, given by:
F = 0 ( α 1 | e ( t ) | + α 2 [ u ( t ) ] 2 ) d t
where α 1 , α 2 represent the weight factors, e ( t ) denotes the system error, and u ( t ) signifies the PID output. To avoid overshoot, a penalty control is implemented such that any overshoot is included as part of the error performance measure. Specifically, when overshoot occurs, the fitness function becomes:
F = 0 ( α 1 | e ( t ) | + α 2 [ u ( t ) ] 2 + α 3 | e ( t ) | ) d t
where α 3 is the penalty factor, typically chosen as a large value. Generally, α 1 = 0.999 , α 2 = 0.001 , α 3 = 100 .

3. A Hybrid PSO Algorithm Incorporating BAS Algorithm for Local Search

The preceding section delineated the theoretical underpinnings of both the PSO and the BAS algorithms. Addressing the limitations inherent in the PSO algorithm, particularly its low information utilization and precision [20], and the singularity of the BAS algorithm which results in suboptimal performance in high-dimensional search spaces, this chapter introduces a hybrid algorithm that integrates the characteristics of the BAS algorithm with the PSO algorithm. The enhancement of the algorithm is achieved through the optimization of population initialization, inertia weight, constriction factor, and an improved velocity update rule. This amalgamation realizes a complementary synergy between the performance advantages of the constituent algorithms.

3.1. Enhancing Population Diversity through Chaotic Mapping

In the search process of intelligent optimization algorithms, the distribution of the initial population, that is, the quality of solutions within the search space, significantly impacts the optimization process. A better and more uniform initial position distribution aids in the convergence to the optimal solution and accelerates the search speed. Conversely, a suboptimal initial distribution may impede the algorithm’s ability to explore the entire search space, thus affecting its performance. Utilizing the regularity, randomness, and ergodicity of chaotic mapping [21], this study optimizes the initial population positions. This ensures a random and uniform distribution of population individuals, enhancing population diversity without altering the inherent randomness of the population.
Firstly, the randomly generated population positions and velocities are mapped within the interval ( 0.1 ) , where x m a x , x m i n and v m a x , v m i n represent the maximum and minimum values of position and velocity, respectively.
x c i = x i x m i n x m a x x m i n ,   x c i ( 0 , 1 )
v c i = v i v m i n v m a x v m i n ,   v c i ( 0 , 1 )
Subsequently, the positions x c i , c c i are subjected to the Logistic chaotic mapping to obtain the chaotic values x c i + 1 ,   v c i + 1 :
x c i + 1 = μ x c i ( 1 x c i ) ,   v c i + 1 = μ v c i ( 1 v c i )
where μ = 4 is the control parameter. The chaotic values are then transformed back into the search space of the population to yield new initial positions and velocities x c i + 1 , v c i + 1 :
x c i + 1 = μ x c i ( 1 x c i ) , v c i + 1 = μ v c i ( 1 v c i )

3.2. Enhanced Inertia Weight and Contraction Factor

The conventional linearly decreasing inertia weight in the PSO algorithm provides strong global search capabilities during the early stages of optimization. However, if the global optimum is not located early on, the reduced inertia weight ω in later stages, which favors local search, may lead the algorithm into local optima. To overcome this deficiency, a linearly varying inertia weight is employed, with the computational formula given by:
ω t = ω m a x ( ω m a x ω m i n ) ( t T T m a x ) 2
This dynamic formula ensures a larger inertia weight ω in the early stages with a slow decay, which maintains robust global search performance and is conducive to finding the optimal solution quickly, thereby accelerating the convergence rate of the algorithm. In later stages, a smaller inertia weight ω with rapid decay enhances the local search capability. Once the algorithm has identified a general region of the optimum in the early stages, it can swiftly pinpoint the exact optimum value, leading to an improved problem-solving outcome and, to some extent, mitigating the shortcomings of the typical linear decrement strategy.
The contraction factor effectively searches various regions and ensures the convergence of the algorithm. The inertia weight helps to guarantee convergence, and both the inertia weight ω and the acceleration coefficient χ control the balance between global and local search capabilities. This study considers combining the strategies of inertia weight ω and the acceleration coefficient χ to enhance the particles’ search capabilities and better balance their global and local search capabilities. This leads to the development of the PSO with a linearly decreasing inertia weight and contraction factor (W-K-PSO). The velocity and contraction factor update equations are given by:
v i d t + 1 = χ [ ω v i d t + c 1 r 1 ( p i d t x i d t ) ] + c 2 r 2 ( g d t x i d t )
χ = 2 | 2 γ γ 2 4 γ | ,   γ = c 1 + c 2 + c 3 , γ > 4
In the above equations, c 3 is the random acceleration coefficient for particle update rules, and the contraction factor is determined by the three acceleration coefficients together. By introducing an acceleration coefficient for the position of the BAS algorithm, the search space judgment is no longer solely determined by the individual and swarm acceleration coefficients.

3.3. Refined Velocity Update Rule

To address the issue of low precision in high-dimensional problems, this study introduces the searching strategy of the BAS algorithm into the local search of the PSO algorithm. The W-K-BSO algorithm considers not only the current and historical best solutions but also the impact of the individual position increments of the beetle on the particle velocity. A new velocity update rule for PSO is thus defined. During the iterations of the W-K-BSO algorithm, a “ beetle” is randomly generated. The initial position of each particle is used as the centroid of the beetle, effectively treating each beetle as a particle. The positions of the left and right antennae are computed and their fitness values , are compared. The superior fitness is used to update the beetle’s position information and the position increments. Subsequently, the beetle’s position information and increments are utilized to update the particle velocity and calculate the new particle positions. The fitness value of the new positions is compared with the individual best and the global best to update the local and global optima. Incorporating the beetle’s position increments in the velocity update rule leverages the beetle’s robust global search capabilities, guiding the particles to locate the optimal values more effectively from the initial stages of the search process. The constructed W-K-BSO algorithm better resolves the issues of the PSO algorithm being susceptible to local optima, exhibiting low precision, and poor stability. The particle velocity and position update formulas are provided as follows:
b i d t = δ i d t d i r s i g n [ f ( x l e f t t ) f ( x r i g h t t ) ]
x t + 1 = x t + b i d t
v i d t + 1 = χ [ ω v i d t + c 1 r 1 ( p i d t x i d t ) + c 2 r 2 ( g d t x i d t ) + c 3 r 3 ( b i d t x i d t ) ]
x i d t + 1 = x i d t + v i d t + 1
where r 3 is random number, and b i d t denotes the position increments of the beetle. The flowchart of the algorithm is presented in the Figure 3:

4. Simulation Analysis

As inferred from the optimization process and the algorithmic model of the W-K-BSO algorithm, several initialization parameters require setting, which include: population size N p o p , maximum number of iterations T m a x , initial step size δ 0 , step size reduction factor δ e , spatial dimensionality D d i m , and acceleration coefficients c 1 , c 2 , c 3 . The initial step size can be tailored based on different application scenarios. The specific parameter settings are as follows in the Table 2:
To validate the effectiveness of the W-K-BSO algorithm, simulations were conducted to compare its performance with other algorithms, using the minimization of nine benchmark test functions. To ensure the diversity of the test functions and universality of the conclusions, both unimodal and multimodal functions with distinct characteristics were employed. The parameter settings for the selected functions are detailed in the following Table 3:
The W-K-BSO algorithm was compared with the BAS and SPSO algorithms through simulations. For BAS and W-K-BSO, the step size reduction factors were set as δ e 1 = 0.95 and δ e 2 = 0.65 , respectively, with initial step sizes of δ 01 = 1 and δ 02 = 10 . The maximum number of iterations was T m a x = 2000 for SPSO and W-K-BSO. Population sizes for SPSO and W-K-BSO were set to N p o p = 200 , and the maximum and minimum velocities were v m a x = 0.5 and v m i n = 0.5 , respectively. The maximum and minimum inertia weights for the W-K-BSO algorithm were denoted as ω m a x = 2000 and ω m i n = 0.4 . The inertia weight for SPSO was ω = 0.8 , and the acceleration coefficients for all algorithms were c 1 = c 2 = c 3 = 1.5 . The dimensionality was D d i m = 30 / 100 / 500 / 1000 (set as 2 dimensions for the Schaffer function). Each algorithm was run independently 30 times to compare the best, worst, average, and standard deviation values of the BAS, SPSO, and W-K-BSO algorithms across different dimensions of the selected benchmark functions. The results obtained by the proposed algorithm in this study are presented in bold.
The Table 4 and Table 5 present the best (Best), worst (Worst), average (Avg), and standard deviation (Sd) values for the BAS, SPSO, and W-K-BSO algorithms across nine benchmark functions with dimensions of 30, 100, 500, and 1000. A holistic analysis of the BAS, SPSO, and W-K-BSO algorithms, whether applied to multimodal or unimodal functions, shows that the W-K-BSO algorithm significantly outperforms both the BAS and SPSO algorithms, demonstrating its robust performance. Moreover, multimodal functions possess multiple local optima, which can easily trap the algorithms in local optima, preventing convergence to the global optimum. The data in the table effectively demonstrate the effectiveness of the W-K-BSO algorithm against such scenarios. The W-K-BSO algorithm can effectively find the theoretical minimum value of 0 for the functions f 1 ,   f 2 ,   f 4 ,   f 6 ,   f 7 ,   f 8 under low or high dimensionality, and a standard deviation of 0, highlighting the algorithm’s high stability. Although convergence to 0 for functions f 3 ,   f 5 ,   f 9 was not achieved, the optimization outcomes were still significantly enhanced. For two other functions f 3 ,   f 5 , the optimization effects were more pronounced, and the standard deviation indicated a higher stability of the W-K-BSO algorithm across these functions. In terms of another function f 9 , the W-K-BSO algorithm improved the performance by 7 to 9 orders of magnitude compared to the BAS algorithm and by 4 to 8 orders of magnitude compared to the SPSO algorithm across different dimensions.
To further contrast the optimization efficacy of the algorithms, the Figure 4 presents the convergence comparison curves of BAS, SPSO, CFPSO, W-K-PSO, and W-K-BSO for 100-dimensional functions (with Schaffer set at 2 dimensions).
Figure 4a shows that before 350 iterations, the convergence speed, from fastest to slowest, is as follows: CFPSO, W-K-PSO, SPSO, BAS. However, the slopes of their evolution curves are all smaller than that of W-K-PSO, indicating that in the initial optimization phase, W-K-BSO is the fastest, far outpacing the other algorithms. After 350 iterations, as seen in the inset, BAS, PSO, CFPSO, and W-K-PSO have lg(fitness) > 0, suggesting these algorithms have become trapped in local optima and cannot find the global optimum. In contrast, W-K-BSO has lg(fitness) < −300 and stops iterating around 950 iterations, demonstrating that W-K-BSO finds the global optimum with a standard deviation of 0, indicating good convergence and stability. Therefore, for optimizing the f 1 function, the convergence speeds of the five algorithms from highest to lowest are: W-K-BSO, CFPSO, W-K-PSO, SPSO, BAS, with only W-K-BSO finding the global optimum.
Figure 4b shows that BAS experiences early optimization stagnation. Initially, BAS’s convergence performance is better than SPSO, CFPSO, and W-K-PSO, but after 1000 iterations, SPSO and CFPSO overtake BAS. Although their convergence curves flatten, they still search in the correct direction. The W-K-BSO algorithm finds the theoretical optimum value of the f 2 function by the 45th iteration, showing significantly better convergence performance than the other algorithms. Thus, for optimizing the f 2 function, the convergence speeds from highest to lowest are: W-K-BSO, BAS, SPSO, CFPSO, W-K-PSO, with the order of finding the global optimum being: W-K-BSO, SPSO, CFPSO.
Figure 4c indicates that none of the five algorithms found the optimal value of 0 for the f 3 function. The optimization effect of W-K-BSO on the f 3 function is not very pronounced, with limited accuracy improvement. However, W-K-BSO still outperforms other algorithms in terms of convergence speed and accuracy. BAS has a faster convergence speed than SPSO, CFPSO, and W-K-PSO, but SPSO and CFPSO have slightly higher accuracy than BAS. The proposed algorithm shows a small standard deviation, indicating good stability. Therefore, for optimizing the f 3 function, the convergence speeds from highest to lowest are: W-K-BSO, BAS, SPSO, CFPSO, W-K-PSO.
Figure 4d,f show that the W-K-BSO algorithm exhibits good convergence performance from the initial optimization stage, finding the optimal value in fewer than 100 iterations, demonstrating robust and global convergence. The other four algorithms show comparable optimization performance but experience early optimization stagnation. For the f 4 function, under the same number of iterations, the algorithm accuracies from highest to lowest are: W-K-BSO, BAS, CFPSO, SPSO, W-K-PSO. For the f 6 function, the accuracies from highest to lowest are: W-K-BSO, SPSO, CFPSO, W-K-PSO, BAS.
Figure 4e shows that the W-K-BSO algorithm initially exhibits fast convergence speed but falls into a local optimum at the 25th iteration. Nevertheless, W-K-BSO achieves higher convergence accuracy. Therefore, for optimizing the f 5 function, the convergence speeds from highest to lowest are: W-K-BSO, BAS, CFPSO, SPSO, W-K-PSO.
Figure 4g indicates that all five algorithms find the optimal value before 350 iterations, but W-K-BSO converges to the optimal value of the f 7 function much faster than the other four algorithms. As shown in Table 4 and Table 5, the SPSO algorithm occasionally finds the optimal value but is unstable, while the proposed W-K-BSO algorithm converges to the theoretical optimum with a 100% success rate in 30 independent runs, indicating good algorithm stability. Thus, for optimizing the f 7 function, the convergence speeds from highest to lowest are: W-K-BSO, W-K-PSO, SPSO, BAS, CFPSO.
Figure 4h shows that, similar to the f 1 function, CFPSO, W-K-PSO, SPSO, and BAS fall into local optima and cannot escape, whereas W-K-PSO escapes the local optimum and finds the global optimum. Therefore, for optimizing the f 8 function, the convergence speeds from highest to lowest are: W-K-BSO, W-K-PSO, CFPSO, SPSO, BAS.
Figure 4i shows that the W-K-BSO algorithm initially converges rapidly, but its convergence speed slows down afterward. Although it continues to approach the optimal value until the maximum number of iterations is reached, the time required to escape local optima increases. Overall, W-K-BSO has the highest accuracy. Therefore, for optimizing the f 9 function, the convergence speeds from highest to lowest are: W-K-BSO, W-K-PSO, CFPSO, SPSO, BAS.
Based on the above simulation results, we have created a comparative table, as shown in Table 6.
In conclusion, the W-K-BSO algorithm of this study demonstrates a robust search performance across various benchmark functions and dimensionalities, achieving high accuracy. The algorithm can rapidly converge to the optimal values for some functions f 2 , f 4 , f 6 , f 7 , albeit more slowly for others f 1 , f 8 , still successfully identifies the optimal values. Despite having relatively weaker optimization capabilities for certain functions f 3 , f 5 , f 9 , the algorithm consistently exhibits enhanced convergence accuracy compared to other methods. The stability and efficacy of the improved algorithm are evident across the convergence scenarios of various functions.
The Wilcoxon signed-rank test is employed to determine whether there are significant differences between two independent sample groups. In the Wilcoxon signed-rank test, the test statistic is calculated by summing the ranks of the absolute differences between the observed values and the central position under the null hypothesis, each assigned with the appropriate sign. Unlike the T-test, the Wilcoxon signed-rank test does not require the differences between paired data to follow a normal distribution; it only requires symmetry. Therefore, it is suitable for comparing the optimization results of different algorithms on various test functions. The Wilcoxon signed-rank test is conducted under the assumption of symmetric sample data, providing more information than the sign test, thereby yielding more reliable results. This method can be used to pairwise compare the statistical results, such as means or variances, obtained from different optimization algorithms across various test functions, allowing for a unified qualitative analysis of their optimization performance.
In this study, we employed the Wilcoxon signed-rank test to analyze the performance of the proposed method, setting the significance level at 0.05. Table 7 presents the Wilcoxon signed-rank test results for the optimal values of nine test functions after 30 independent runs. Here, “win” indicates the superior algorithm in each comparison; “+” denotes that the W-K-BSO algorithm outperformed the compared algorithm, “−” indicates that the W-K-BSO algorithm underperformed compared to the compared algorithm, and “=” signifies no significant difference in performance between the two algorithms. From Table 7, by statistically analyzing the “+/=/−” values, it is evident that the W-K-BSO algorithm generally demonstrates superior convergence speed and search accuracy compared to the BAS algorithm, SPSO algorithm, CFPSO algorithm, and W-K-PSO algorithm across the nine different test functions.

5. Experimental Validation

The Figure 5 illustrates a high-precision Pointing and Tracking System (PTS) subsystem with a dual-axis, dual-tip tilt mirror tracking system. In the diagram, the high-precision PTS primarily consists of three parts: A target simulation unit that includes a signal sending device (laser) and a target mirror movement adjustment device, a monitor consisting of a position-sensitive detector and an image charge-coupled device (CCD), and finally, the control device (tracking mirror). Initially, the laser is utilized as the signal sending device to simulate the motion of the target. Moreover, the target mirror within the target simulation unit can adjust the motion of the target. Subsequently, the tracking mirror, driven by a motor, reflects the signal light onto the position-sensitive detector. After receiving the target signal, the CCD detects the steady-state error and transmits this error to the position controller.
The control object transfer function is as follows:
G ( s ) = 256380 e 0.0009 s ( s 2 + 145.6 s + 67600 ) ( 0.0009 s + 1 )
In this experiment, the proposed method is applied to the electro-optical tracking system to test its performance and draw conclusions through comparison.
Using the Integral Absolute Error (IAE) as the algorithm fitness function, the optimal PID parameters K p , K i , K d obtained from the search are substituted into the PID of the electro-optical tracking system, producing the step response and error curve. During the experiment, the population size is set to N p o p = 100 , and the number of iterations is T m a x = 100 . The PID parameter optimization curve and the fitness curve of the W-K-BSO algorithm are shown in the Figure 6.
The PID parameters optimized by the W-K-BSO algorithm are listed in the Table 8, with the best fitness value G M b e s t = 11.64 :
The step response and error curves obtained using the PID parameters optimized by the W-K-BSO algorithm for the electro-optical tracking system are shown in Figure 7.
The PID parameter tuning of the electro-optical tracking system was conducted using the W-K-BSO, SPSO, and GA algorithms under identical experimental conditions. A comprehensive comparison of the step response and error curves of the three algorithms was analyzed. In the Figure 8, the rin curve represents the system input signal, and the SPSO, W-K-BSO, and GA curves represent the output signals for their respective algorithms.
From the Figure 8, the analysis of the parameter tuning results from the W-K-BSO, SPSO, and GA algorithms indicates that the GA algorithm has the fastest convergence rate among the three but also exhibits the largest error. The convergence rate of the W-K-BSO algorithm is slightly slower than the SPSO algorithm, yet it has the smallest error. Although the convergence speed of the W-K-BSO algorithm does not show a significant advantage, its error rate is clearly superior to that of the GA and SPSO algorithms. The GA algorithm begins to stabilize around 0.05 s, reaching a fixed value at approximately 0.07 s. Both the W-K-BSO and SPSO algorithms achieve stability in less than 0.05 s.

6. Conclusions

This paper effectively combines the PSO algorithm with the BAS algorithm, utilizing the collective nature of PSO to address the limitation of individual uniformity in BAS, thereby significantly increasing the likelihood of finding the optimal solution. Additionally, it integrates the fine-tuned search capability of PSO with the global search ability of BAS to enhance the optimization performance. The paper proposes improvements to address existing shortcomings of these algorithms and applies the enhanced algorithm to broaden its application scope. The main contributions of this paper are as follows:
  • Utilizing Logistic chaotic mapping for population initialization to generate high-quality initial solutions;
  • Introducing a linear decreasing strategy to the inertia weight to improve algorithm efficiency;
  • Employing a contraction factor and inertia weight to collaboratively control the global and local search performance of the algorithm; Introducing the influence of beetle position increments on particles and establishing new velocity update rules.
Simulation experiments conducted on nine benchmark functions demonstrate that the W-K-BSO algorithm exhibits strong optimization capabilities throughout the search process. Significant improvements are observed in the ability to escape local optima, convergence precision, and stability across various dimensions. The application of the W-K-BSO algorithm to optimize the PID of a feed electro-optical tracking system serves as a testament to the algorithm’s superiority and competitiveness.

Author Contributions

Conceptualization, T.F.; Formal analysis, S.D.; Methodology, T.F.; Resources, Q.D. and Y.M.; Software, T.F.; Supervision, Y.M.; Writing—original draft, T.F.; Writing—review and editing, Q.D. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by Sichuan Science and Technology Program of China under Grant 2024NSFSC1492.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Xia, W.; Mao, Y.; Zhang, L.; Guo, T.; Wang, H.; Bao, Q. Extended State Kalman Filter-Based Model Predictive Control for Electro-Optical Tracking Systems with Disturbances: Design and Experimental Verification. Actuators 2024, 13, 113. [Google Scholar] [CrossRef]
  2. Zhuang, S.; Li, J.; Wang, H.; Deng, J.; Mao, Y. Multi-Channel Phase-Compensated Active Disturbance Rejection Control with an Improved Backstepping Strategy for Electro-Optical Tracking Systems. Actuators 2024, 13, 117. [Google Scholar] [CrossRef]
  3. Xiao, L. Parameter tuning of PID controller for beer filling machine liquid level control based on improved genetic algorithm. Comput. Intell. Neurosci. 2021, 2021, 7287796. [Google Scholar] [CrossRef] [PubMed]
  4. Han, B.; Jiang, Y.; Yang, W.; Xu, Y.; Yao, J.; Zhao, Y. Kinematics characteristics analysis of a 3-UPS/S parallel airborne stabilized platform. Aerosp. Sci. Technol. 2023, 134, 108163. [Google Scholar] [CrossRef]
  5. Khan, A.H.; Cao, X.; Li, S.; Katsikis, V.N.; Liao, L. BAS-ADAM: An ADAM based approach to improve the performance of beetle antennae search optimizer. IEEE/CAA J. Autom. Sin. 2020, 7, 461–471. [Google Scholar] [CrossRef]
  6. Aner, E.A.; Awad, M.I.; Shehata, O.M. Performance evaluation of PSO-PID and PSO-FLC for continuum robot’s developed modeling and control. Sci. Rep. 2024, 14, 733. [Google Scholar] [CrossRef] [PubMed]
  7. Zhang, J.; Zhang, T.; Zhang, G.; Kong, M. Parameter optimization of PID controller based on an enhanced whale optimization algorithm for AVR system. Oper. Res. 2023, 23, 44. [Google Scholar] [CrossRef]
  8. Ye, K.; Shu, L.; Xiao, Z.; Li, W. An improved beetle swarm antennae search algorithm based on multiple operators. Soft Comput. 2024, 28, 6555–6570. [Google Scholar] [CrossRef]
  9. Sasmal, B.; Hussien, A.G.; Das, A.; Dhal, K.G. A comprehensive survey on aquila optimizer. Arch. Comput. Methods Eng. 2023, 30, 4449–4476. [Google Scholar] [CrossRef]
  10. Ji, T.; Wei, H.; Wang, J.; Tian, S.; Yao, Y.; Hu, S. Research into the Beetle Antennae Optimization-Based PID Servo System Control of an Industrial Robot. Mathematics 2023, 11, 4066. [Google Scholar] [CrossRef]
  11. Sharma, S.; Bharti, R.K. New efficient Hadoop scheduler: Generalized particle swarm optimization and simulated annealing-dominant resource fairness. Concurr. Comput. Pract. Exp. 2023, 35, e7528. [Google Scholar] [CrossRef]
  12. Kaya, S. A hybrid firefly and particle swarm optimization algorithm with local search for the problem of municipal solid waste collection: A real-life example. Neural Comput. Appl. 2023, 35, 7107–7124. [Google Scholar] [CrossRef]
  13. Kanadath, A.; Jothi, J.A.A.; Urolagin, S. Multilevel colonoscopy histopathology image segmentation using particle swarm optimization techniques. SN Comput. Sci. 2023, 4, 427. [Google Scholar] [CrossRef] [PubMed]
  14. Yu, Y.; Li, J.; Chen, D. Optimal dispatching method for integrated energy system based on robust economic model predictive control considering source–load power interval prediction. Glob. Energy Interconnect. 2022, 5, 564–578. [Google Scholar] [CrossRef]
  15. Jiyue, E.; Liu, J.; Wan, Z. A novel adaptive algorithm of particle swarm optimization based on the human social learning intelligence. Swarm Evol. Comput. 2023, 80, 101336. [Google Scholar]
  16. Parque, V.; Khalifa, A. PID Tuning Using Differential Evolution With Success-Based Particle Adaptations. IEEE Access 2023, 11, 136219–136268. [Google Scholar] [CrossRef]
  17. Zheng, Y.; Sun, R.; Liu, Y.; Wang, Y.; Song, R.; Li, Y. A Hybridization Grey Wolf Optimizer to Identify Parameters of Helical Hydraulic Rotary Actuator. Actuators 2023, 12, 220. [Google Scholar] [CrossRef]
  18. Hasan, M.K.; Chuah, T.C.; El-Saleh, A.A.; Shafiq, M.; Shaikh, S.A.; Islam, S.; Krichen, M. Constriction factor particle swarm optimization based load balancing and cell association for 5G heterogeneous networks. Comput. Commun. 2021, 180, 328–337. [Google Scholar] [CrossRef]
  19. Huang, C.; Zhao, Y.; Yan, W.; Liu, Q.; Zhou, J. A new method for predicting crosstalk of random cable bundle based on BAS-BP neural network algorithm. IEEE Access 2020, 8, 20224–20232. [Google Scholar] [CrossRef]
  20. Ju, X.; Lu, J.; Rong, B.; Jin, H. Parameter identification of displacement model for giant magnetostrictive actuator using differential evolution algorithm. Actuators 2023, 12, 76. [Google Scholar] [CrossRef]
  21. Naik, R.B.; Singh, U. A review on applications of chaotic maps in pseudo-random number generators and encryption. Ann. Data Sci. 2024, 11, 25–50. [Google Scholar] [CrossRef]
Figure 1. Flow chart of the PSO algorithm.
Figure 1. Flow chart of the PSO algorithm.
Actuators 13 00270 g001
Figure 2. Flow chart of the BAS algorithm.
Figure 2. Flow chart of the BAS algorithm.
Actuators 13 00270 g002
Figure 3. Flow chart of the W-K-BSO algorithm.
Figure 3. Flow chart of the W-K-BSO algorithm.
Actuators 13 00270 g003
Figure 4. Evolutionary curves of the test functions.
Figure 4. Evolutionary curves of the test functions.
Actuators 13 00270 g004
Figure 5. PTS subsystem.
Figure 5. PTS subsystem.
Actuators 13 00270 g005
Figure 6. Optimization curves of the W-K-BSO algorithm.
Figure 6. Optimization curves of the W-K-BSO algorithm.
Actuators 13 00270 g006
Figure 7. The step response and error curves obtained using the PID parameters optimized by the W-K-BSO algorithm.
Figure 7. The step response and error curves obtained using the PID parameters optimized by the W-K-BSO algorithm.
Actuators 13 00270 g007
Figure 8. The step response and error curves obtained using the PID parameters optimized by the W-K-BSO algorithm. (a) The comparison of the step response; (b) The comparison of the step response output error.
Figure 8. The step response and error curves obtained using the PID parameters optimized by the W-K-BSO algorithm. (a) The comparison of the step response; (b) The comparison of the step response output error.
Actuators 13 00270 g008
Table 1. Benchmark Functions.
Table 1. Benchmark Functions.
Function NameExpressionPeak Value
Sphere f 1 ( x ) = i = 1 n x i 2 single-peak
Griewank f 2 ( x ) = 1 4000 i = 1 n x i 2 i = 1 n cos ( x i i ) + 1 multi-peak
Rosenbrock f 3 ( x ) = i = 1 n 1 ( 100 ( x i + 1 x i 2 ) 2 + ( x i 1 ) 2 ) single-peak
Ackley f 4 ( x ) = 20 exp ( 0.2 1 n i = 1 n x i 2 ) exp ( 1 n i = 1 n cos ( 2 π x i ) ) + 20 + e multi-peak
Step f 5 ( x ) = i = 1 n ( [ x i + 0.5 ] ) 2 single-peak
Rastrigin f 6 ( x ) = i = 1 n ( x i 2 10 cos ( 2 π x i ) + 10 ) multi-peak
Schaffer f 7 ( x ) = sin 2 x 1 2 + x 2 2 0.5 ( 1 + 0.001 ( x 1 2 + x 2 2 ) ) 2 + 0.5 multi-peak
Schwefel 1.2 f 8 ( x ) = i = 1 n ( j = 1 n x j 2 ) single-peak
Quartic f 9 ( x ) = i = 1 n i x i 4 + r a n d o m ( 0 , 1 ) multi-peak
Table 2. The specific parameter settings.
Table 2. The specific parameter settings.
ParameterValue
D d i m 10
T m a x (s)1000
δ e (s)200
c 1 , c 2 , c 3 (s)1.5
Table 3. The specific parameter settings.
Table 3. The specific parameter settings.
FunctionSearch RangeDimensionTheoretical Extremum
f 1 ( x ) [−100,100]30/100/500/100 f m i n = 0
f 2 ( x ) [−600,600]30/100/500/100 f m i n = 0
f 3 ( x ) [−30,30]30/100/500/100 f m i n = 0
f 4 ( x ) [−32,32]30/100/500/100 f m i n = 0
f 5 ( x ) [−100,100]30/100/500/100 f m i n = 0
f 6 ( x ) [−5.12,5.12]30/100/500/100 f m i n = 0
f 7 ( x ) [−100,100]2 f m i n = 0
f 8 ( x ) [−100,100]30/100/500/100 f m i n = 0
f 9 ( x ) [−1.28,1.28]30/100/500/100 f m i n = 0
Table 4. The performance indices of each algorithm.
Table 4. The performance indices of each algorithm.
FunctionDimensionBestWorst
BASSPSOW-K-BSOBASSPSOW-K-BSO
f 1 ( x ) 301.941 1.546 × 10 5 07.382 5.552 × 10 4 0
10019.6500.250030.4800.7220
500143.726.7500173.946.1300
1000302.83240339497.60
f 2 ( x ) 300.115 1.716 × 10 6 00.3020.0250
1000.308 5.331 × 10 3 00.5190.0360
5000.53637.94000.701133.50
10000.648392.200.82410450
f 3 ( x ) 30181.820.13028.730907.7199.728.860
1002612258.398.6706275881.198.810
5002234010320498.62871021200498.8
10004793096830998.558660143000998.8
f 4 ( x ) 302.2632.66103.97811.7700
1003.38910.87003.84214.3200
5003.72214.20003.90715.8200
10003.77814.52003.91615.9900
f 5 ( x ) 3090018114
1003541155737927
5002281733015426446260190
100047055060372520255400427
f 6 ( x ) 3066.60033.9000126.773.7200
100534.7204.10700.1369.50
500425627370469534450
1000923963290996983510
f 7 ( x ) 20000 9.716 × 10 3 0
f 8 ( x ) 304.833 6.235 × 10 3 017.3000.1370
10045.35023.0600230.682.0700
5001116708100220701541000
1000368941270001260009759000
f 9 ( x ) 308.9860.035 8.322 × 10 8 54.9600.274 1.131 × 10 5
100451.11.921 5.424 × 10 7 798.85.429 9.766 × 10 6
50018760541.8 9.727 × 10 8 271901248 1.015 × 10 5
1000883103850 8.137 × 10 8 1121008253 2.375 × 10 5
Table 5. The performance indices of each algorithm.
Table 5. The performance indices of each algorithm.
FunctionDimensionAvgSd
BASSPSOW-K-BSOBASSPSOW-K-BSO
f 1 ( x ) 303.723 1.497 × 10 4 01.251 1.364 × 10 4 0
10025.3370.43802.9850.1140
500156.636.46506.4394.5970
1000322.8395.508.19640.0770
f 2 ( x ) 300.192 8.936 × 10 3 0 4.786 × 10 2 9.284 × 10 3 0
1000.364 1.783 × 10 2 0 4.321 × 10 2 1.044 × 10 2 0
5000.61577.1340 3.756 × 10 2 22.0830
10000.724737.50 4.160 × 10 2 158.60
f 3 ( x ) 30488.738.43428.808195.136.9330.029
1003714444.998.743719.0137.30.037
5002600014820498.7144226160.055
100053110116300998.72557132300.070
f 4 ( x ) 303.0688.77300.3802.3750
1003.56913.03500.3802.3750
5003.82414.79700.0410.3710
10003.85615.25000.0280.3630
f 5 ( x ) 3013.8670.9331.5672.8372.0651.174
10048.367132.219.3675.60176.7933.049
50025129980175.78.52182938.975
1000498.9145500392.211.0904491012.204
f 6 ( x ) 3097.12152.308014.15412.3650
100638.2275.9044.33044.2010
500453931020110.8177.30
1000962874650184.7381.40
f 7 ( x ) 20 2.267 × 10 3 00 4.109 × 10 3 0
f 8 ( x ) 3010.182 3.370 × 10 2 03.2560.0250
10096.75252.222037.37611.8110
500572110800004887195200
1000279106013000291701306000
f 9 ( x ) 3026.3910.119 3.032 × 10 6 11.8340.055 3.141 × 10 6
100623.53.337 2.748 × 10 6 108.80.840 2.090 × 10 6
50023120743.4 2.777 × 10 6 1989164.5 2.349 × 10 6
1000975805909 2.778 × 10 6 5316975.5 4.162 × 10 6
Table 6. Comparison of Simulation Results for Various Algorithms.
Table 6. Comparison of Simulation Results for Various Algorithms.
FunctionAlgorithm with the Fastest Convergence SpeedAlgorithm with the Smallest Convergence ErrorAlgorithm That Found the Global Optimum
f 1 ( x ) W-K-BSOW-K-BSOW-K-BSO
f 2 ( x ) W-K-BSOW-K-BSOW-K-BSO, SPSO, CFPSO
f 3 ( x ) W-K-BSOW-K-BSONone
f 4 ( x ) W-K-BSOW-K-BSOW-K-BSO
f 5 ( x ) W-K-BSOW-K-BSONone
f 6 ( x ) W-K-BSOW-K-BSOW-K-BSO
f 7 ( x ) W-K-BSOW-K-BSOW-K-BSO, SPSO, CFPSO, PSO, BAS
f 8 ( x ) W-K-BSOW-K-BSOW-K-BSO
f 9 ( x ) W-K-BSOW-K-BSOW-K-BSO
Table 7. The results of Wilcoxon sign rank test.
Table 7. The results of Wilcoxon sign rank test.
FunctionBAS vs. W-K-BSOSPSO vs. W-K-BSOCFPSO vs. W-K-BSOW-K-PSO vs. W-K-BSO
p-Value R + R Winp-Value R + R Winp-Value R + R Winp-Value R + R Win
f 1 ( x ) 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.0000 × 10 0 12=
f 2 ( x ) 7.8125 × 10 3 036 1.3113 × 10 1 3997= 7.8125 × 10 3 036 1.7344 × 10 6 4650+
f 3 ( x ) 8.2167 × 10 3 361104+ 3.7094 × 10 1 276189= 1.6503 × 10 1 300165= 1.7344 × 10 6 4650+
f 4 ( x ) 8.6695 × 10 3 17139+ 3.1731 × 10 4 40659+ 1.5247 × 10 1 3585= 1.0623 × 10 2 15337+
f 5 ( x ) 1.1748 × 10 2 355110+ 1.7344 × 10 6 4650+ 6.9838 × 10 6 45114+ 1.7344 × 10 6 0465
f 6 ( x ) 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.0000 × 10 0 12=
f 7 ( x ) 1.0000 × 10 0 10= 8.0914 × 10 7 4650+ 1.7344 × 10 6 4650+ 1.7084 × 10 6 4650+
f 8 ( x ) 1.7344 × 10 6 4650+ 3.0861 × 10 1 183282= 3.8723 × 10 2 333132+ 1.7344 × 10 6 0465
f 9 ( x ) 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.7344 × 10 6 4650+ 1.7344 × 10 6 0465
+/=/−7/1/16/3/06/2/14/2/3
Table 8. The PID parameters optimized by the W-K-BSO algorithm.
Table 8. The PID parameters optimized by the W-K-BSO algorithm.
Parameter K p K i K d
Result0.098168.21770
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Feng, T.; Deng, S.; Duan, Q.; Mao, Y. Application of Local Search Particle Swarm Optimization Based on the Beetle Antennae Search Algorithm in Parameter Optimization. Actuators 2024, 13, 270. https://doi.org/10.3390/act13070270

AMA Style

Feng T, Deng S, Duan Q, Mao Y. Application of Local Search Particle Swarm Optimization Based on the Beetle Antennae Search Algorithm in Parameter Optimization. Actuators. 2024; 13(7):270. https://doi.org/10.3390/act13070270

Chicago/Turabian Style

Feng, Teng, Shuwei Deng, Qianwen Duan, and Yao Mao. 2024. "Application of Local Search Particle Swarm Optimization Based on the Beetle Antennae Search Algorithm in Parameter Optimization" Actuators 13, no. 7: 270. https://doi.org/10.3390/act13070270

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop