Next Article in Journal
Blockchain-Based Continuous Knowledge Transfer in Decentralized Edge Computing Architecture
Previous Article in Journal
Li-Ion Battery Cathode Recycling: An Emerging Response to Growing Metal Demand and Accumulating Battery Waste
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Sparrow Algorithm Based on Small Habitats in Cooperative Communication Power Allocation

School of Electronic and Information Engineering, Changchun University of Science and Technology, Changchun 130022, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(5), 1153; https://doi.org/10.3390/electronics12051153
Submission received: 7 February 2023 / Revised: 24 February 2023 / Accepted: 24 February 2023 / Published: 27 February 2023

Abstract

:
To solve the power allocation problem of multiple relays in cooperative communication, a sparrow improvement algorithm based on small habitats is proposed. First, the small-habitat rule increases the diversity of the energy classification of communication nodes. The problem of the premature convergence of the algorithm is solved. Subsequently, the joint jump rule is designed to replace the local search rule, and the local search rule of the sparrow algorithm is modified to avoid the local wandering phenomenon. The improved search method solves the local solution problem of the most available function. Lastly, a validation experiment of the performance of the algorithm is carried out according to the IEEE CEC 2017 benchmark document set. The simulation verifies the practicality of various algorithms. The maximum evaluation number (max FE) of the objective function is calculated to compare the performance of various algorithms. The experimental results show that the improved algorithm can increase the diversity of species. The multi-point search capability and global merit search capability are improved. Additionally, the convergence speed and computational accuracy of the algorithm are improved. The results show that the improved method is effective in controlling power in collaborative communication. The energy control algorithm has some practicality. The Friedman and Wilcoxon test criteria are applied and the convergence speed and computational accuracy of the improved algorithm are shown to be higher than those of other algorithms. This indicates that the improved power control method has some practicality in collaborative communication.

1. Introduction

Low-power communication is an important research direction in the field of cooperative communication. Power allocation methods have become an important technology for reducing energy consumption [1,2]. Clustered networks are a class of networks with a high number of communication nodes, such as communication networks composed of drones. Due to the number of nodes, the energy that the network uses for communication is limited. Therefore, the rational allocation of energy consumed by nodes for communication in cluster networks is a hot topic of research for scholars [3]. The existing research results cannot be applied to the energy allocation of large-scale cluster networks, and improving the utilization of energy in cooperative communication is an urgent problem.
Research on power control is still ongoing and scholars have obtained a variety of results. In the early days, the number of communication nodes in the network was limited so the early research methods were mainly power-averaging strategies [4]. As the number of communication nodes increased, the channel state information changes became uneven and the probability of network errors increased so scholars began to focus on non-average power allocation algorithms [5,6,7]. Recent studies have shown that the gradient descent method is no longer able to solve the multicarrier power allocation function [8]. Artificial intelligence-based algorithms were introduced into communication engineering for solving multi-objective optimization problems [9] and have since been used to calculate the optimal functions of parameters such as the system BER, outage probability, and channel gain [10,11]. However, the above methods are prone to poor algorithm convergence, local optima, and high complexity and have been discarded.
In recent years, scholars have developed a keen interest in the study of meta-inspired search methods for energy allocation in multi-objective optimization problems and the sparrow algorithm and seagull algorithm have become the mainstream algorithms used to solve these types of problems [12]. In 2020, Xue, J. and Shen, B. first proposed the sparrow algorithm to solve multiple local optimization problems [13]. Because of its fast convergence speed and high accuracy in finding the best solution, this algorithm became a classical algorithm for solving multi-objective optimization. Since then, many scholars have continuously optimized its computational complexity and the sparrow algorithm has become a meta-inspired mainstream algorithm. Zhao, J. and Tang, D. et al. proposed the Chaos Theory Improved Sparrow Search Algorithm [14]. The algorithm overcomes the drawback of the traditional SSA method, which is prone to falling into local optima. The study improved the accuracy of the search results and convergence speed but the application environment required by the algorithm is more demanding. Ji, Y., Tu, J., and Zhou et al. improved the sparrow algorithm by combining Corsi variance and backward learning [15]. The algorithm has a faster convergence speed and more detailed search capability. Hamid, M. and Tavakkoli-Moghaddam, R. et al. proposed an improved sparrow algorithm based on a hybrid sine cosine approach [16]. The search range of the algorithm was improved by at least 49 orders of magnitude. However, the improved algorithm requires a high number of hardware devices. Duan, Y. and Liu, C. proposed a sparrow search algorithm based on the Sobol sequence and the vertical and horizontal interleaving strategy [17]. The convergence speed of this algorithm was nearly doubled. However, the algorithm cannot be applied to complex large-scale communication. Zhang, H. and Tang, M. et al. designed a sparrow search algorithm incorporating the Corsi variance [18]. The algorithm has high convergence speed and accuracy but the algorithm cannot solve engineering problems. Li, W. and Shi, R. designed an improved sparrow search algorithm with multi-strategy fusion [19]. The algorithm increases the diversity of populations and speeds up convergence. Karimullah, S. and Vishnuvardhan, D. proposed an adaptive variational sparrow search algorithm [20]. The algorithm can complete the multivariate function-solving problem with more input parameters. Although the above research completes the fast search problem, the sparrow algorithm still needs to be improved in terms of convergence speed and the optimization search process.
At present, it can be seen from Table 1 that the improved sparrow algorithm for solving optimization functions still faces challenges such as premature convergence and local wandering. In addition, a clustered network has a large number of communication nodes and the sparrow algorithm is prone to local optima when solving. Therefore, the sparrow algorithm needs to be improved in order to be used for solving these types of problems. A sparrow algorithm based on small-habitat genetic factors has been proposed to solve the problem of premature convergence. The small-habitat rule can increase population diversity, speed up algorithm convergence, and prevent the occurrence of local optima during the optimization process. Since the original algorithm tends to fall into local optima, it has been improved as follows: (1) moving the convergence operation to a distant point, and (2) reducing the smooth movement of the nearest point and replacing it with a comparison of the nearest point jumps in multiple clusters. Simulation experiments were conducted to compare the effectiveness of the improved algorithm, and the experimental results showed that the improved algorithm outperformed other algorithms in terms of convergence speed and complexity. This study shows that the improved sparrow algorithm is practical and advanced for solving large-scale cluster network energy allocation applications.

2. Mathematical Model of Cooperative Communication

The cooperative communication process shown in Figure 1 consists of two main phases. The first phase of communication consists of the source node broadcasting a signal to the relay node, which is usually the base station or other signal source. The second phase of communication involves the relay node forwarding signals to the destination node, which is often a UAV or other type of mobile equipment [21,22]. In this study, the source node is defined as S. The relay node is defined as R. The set R consists of {R1,R2,R3,..., Rn}. The destination node is defined as D.

Optimal Relay Cooperative Communication

Energy distribution in cooperative communication occurs mainly in the second stage of communication, as shown in Figure 2. During the first stage of communication, the signals broadcast by the source node S are received by both the relay node R and the destination node D, resulting in signal gain for both nodes. During the second stage of communication, the signal from the best relay node is accepted by the destination node [5,6,23]. The signals received by the nodes in both phases can be expressed as a mathematical equation in Figure 2.
In the first stage of collaborative communication, the signal received by the destination node is represented as discussed in [5].
y s d = h s d P 1 x + z s d
where y denotes the signal received by the node, h denotes the link channel gain, P1 denotes the energy consumed by the transmission, and Z denotes the channel noise.
The signal received by the relay node is represented as [6]
y s r = h s r P 1 x + z s r
In the second phase of cooperative communication, the signal received by the destination node is represented as discussed in [5,6]
y r d = h r d · P 2 · G · y s r + z r d
In the formula, the amplification and forwarding coefficient of the relay node is
G = ( ( p 1 + | h s r | 2 + z s r ) 1 ) 1 2
The destination section re-decodes the different signals according to the maximum integration ratio principle [4,5,6]. The expression of the final signal is
y s d = 1 N s d ( h s d P 1 y s d + h s r h r d P 1 G y r d )
In collaborative communication, the energy of the system is mainly used by relay nodes to forward signals. To simplify the study process, it is assumed that the energy consumed by multiple relay nodes during cooperative communication can be mathematically expressed equivalently as
y c , k = w k H c , k t k s c , k + a r c , k w k b ( j c ) a T ( q r ) u k s r , k + w k n c , k
where W is the weight factor and the value is related to the number of nodes. k is the number of relay nodes and c is the best relay node number. H is the channel matrix involved in signal forwarding, and b and a are the energy consumption coefficients of the relay nodes for signal forwarding and link distribution, respectively. H, a, and b are solved as follows:
H c , k = [ H c , 1 , 1 , k H c , 1 , N T , k H c , N R , 1 , k H c , N R , N T , k ]
b ( φ c ) = [ 1 , e j π sin φ c , , e j π ( N R 1 ) sin φ c ] T a ( θ r ) = [ 1 , e j π sin θ r , , e j π ( N T 1 ) sin θ r ] T
The energy of the communication system is limited. The energy is mainly supplied to the relay nodes for signal forwarding so the cooperative communication power allocation is mainly in the forwarding phase. Assume that the transmit power of the source node is P1, the transmit power of the relay node is P2, and the total power of the system is P. The constraints are P1 + P2 = P. The method of determining P2 is the problem to be solved in this study.
The communication links are all independent and the links contain relay nodes that can be duplicated [24]. The energy consumed by the relay nodes is link-dependent. The minimum signal-to-noise ratio is the criterion for link communication, and the relationship between the energy consumed by each relay node and the link signal-to-noise ratio can be abstracted into a mathematical expression. The formula for the minimum SNR in the link where the K-th relay is located is as follows:
SIN R c , k = E { | w k H c , k t k s c , k | 2 } E { | a rc , k w k b ( φ c ) a T ( θ r ) π k s r , k + w k n c , k | 2 } = P c , k | w k H c , k t k | 2 w k R u , k w k + σ n , c , k 2 w k w k
where E denotes the energy, R is the energy utilization matrix, and σ is the energy distribution function.
R u , k = E { C ¯ u k u k C ¯ } σ 2 = a r c , k b ( j c ) a T ( q r ) s r , k
The energy distribution function for multi-relay cooperative communication is constructed by calculating the signal-to-noise ratio of multiple links. The mathematical expression of the energy function for relay forwarding under the total power constraint is as follows:
arg   min [ f ( P 2 ) ] = i = 1 K [ K i · Δ f i log 2 ( 1 + SNR i ) + δ k ]
s . t .   P = P 1 + P 2
After analysis, the power distribution function is a multivariate function. There are many optimal solutions for the multivariate function so the optimal solution cannot be solved using the gradient descent method. It is necessary to choose the best energy distribution coefficient among many nodes.

3. Optimal Power Allocation Solution

The smart algorithm is a mainstream algorithm for computing optimal solutions for multivariate functions [25,26,27]. Because the sparrow algorithm can calculate the optimal solution using only the location information, the improved sparrow algorithm is often used to calculate the energy distribution function. However, the sparrow algorithm has two main limitations. One is that it can converge prematurely and the other is a wandering phenomenon that can slow down the solution speed.

3.1. Small-Habitat Delineation Groups

The sparrow algorithm can suffer from premature convergence because of its reliance on a single population. Increasing population diversity is a common method for avoiding this issue. Cluster networks require a finite number of populations and the small-habitat rule is the best way to increase the population diversity of cluster networks.
The microhabitat law is a method of dividing populations in biology [28]. The rules for dividing populations are designed to mimic the activities of similar organisms. High-quality individuals are identified and filtered using a suitable individual distance threshold. Then, more populations are generated by mutation and hybridization between these good individuals. The penalty function in the rule is modified to divide the nodes for cluster communication. After dividing the network into several populations according to the rule that each node is less than the average node distance, the excellent nodes are selected by calculating the sharing functions G(X,Y) for each population.
G ( X , Y ) = { 1 , d ( X , Y ) = 0 1 ( d ( X , Y ) d ) α , d ( X , Y ) d 0 , d ( X , Y ) d
where d(X,Y) is the Euclidean distance between any two different individuals X and Y; d is the set distance parameter; and α is the group division parameter, which is usually a positive real number. After the function is applied, each individual shares the function with groups using shared functions.
A diversity of species rule is established using the following formula. The cluster network consists of S populations and the number of node populations is increased by an improved minor-habitat rule.
δ ˜ ( X ) = s δ ^ ( X ) / i = 1 s G ( X , Y i )
A diverse population of sparrows was created to solve the energy function using the above equation. The energy function of the population satisfies the matrix conditional mathematical expression [29].
X = [ x 1 1 x 1 2 x 1 d x 2 1 x 2 2 x 2 d x n 1 x n 2 x n d ]
The adaptive function energy function was established based on the positions of the original species, with the expansion of the population within the range of similar species. The mathematical formulation of the adaptive function is expressed as follows, where Fx represents the fitness function value [30]:
F x = [ f [ x 1 1 x 1 2 x 1 d ] f [ x 2 1 x 2 2 x 2 d ] f [ x n 1 x n 2 x n d ] ]

3.2. Sparrow Algorithm for Solving Energy Distribution

The Sparrow Search Algorithm (SSA) is an intelligent algorithm used to solve multivariate equations in parallel that was proposed in 2020. Its advantage is that it relies on location information to solve multiple optimal individual values. Its limitations are that the computational process is time-consuming and local optima can occur [13].
There are two types of members in the SSA, searchers and feeders. The searcher’s job is to find food for the group and the feeder’s job is to feed. The searcher has a high energy level and the group size of the feeder is not fixed. The identities of the two are interchangeable. The feeder relies on distance information to follow the searcher. The individual with the highest energy is defined as the searcher and is solved using an iterative formula. The iterative formulas are organized by different distances into the Formula (13).
X i , j t + 1 = { X i , j exp ( i α   itermax   ) ,   if   R 2 < S T X i , j + Q L ,   if   R 2 S T
where t represents the current number of iterations, Xi,j represents the position information of the i-th sparrow population in the j-th dimension, alpha represents a random number from 0 to 1, itermax represents the maximum number of iterations, and Q represents a random number that obeys a normal distribution. L is a 1*d matrix with all elements of 1; R2 is between 0 and 1, indicating the early warning value of the sparrow population position; and is between 0.5 and 1, indicating the safety value of the sparrow population position.
When R2 < ST, the early warning value is less than the safe value. At this time, there are no predators in the foraging environment and the finder can carry out extensive search operations; when R2 > ST, some sparrows in the population have discovered predators and sent them to the population. The other sparrows in the group issue an alert and all sparrows need to fly to a safe area for foraging.
During the foraging process, some joiners will always monitor the finder. When the finder finds better food, the joiner will compete with it. If successful, the finder’s food will be obtained immediately. Otherwise, the joiner will follow Formula (14) for location updates:
X i , j t + 1 = { Q . exp ( X worst   X i , j t i 2 ) , i f i > n / 2 X P t + 1 + | X i , j X P t + 1 | A + + . L , otherwise  
where XP represents the optimal position found by the current discoverer, Xworst represents the current global worst position, and A represents a 1*d matrix whose elements are randomly assigned to 1 or −1 and satisfy the relationship outlined below.
L is a 1*d matrix with all 1s. When i > n/2, the i-th joiner has not obtained food and is in a hungry state and needs to fly to other places for foraging to obtain more energy.
In the sparrow population, the number of sparrows aware of danger accounts for 10% to 20% of the total number of sparrows. The positions of these sparrows are randomly generated, and the position of the sparrows that are aware of danger is continuously updated according to Formula (15).
The location of the vigilante is updated as follows:
X i , j t + 1 = { X b e s t   t + β | X i , j t X b e s t t | ,   i f     f i   > f g X i , j t + K ( | X i , j t X w o r s t t | ( f i f i v ) + ε ) ,   i f   f i = f g
where Xbest represents the current global optimal position, which is a random number that obeys the standard normal distribution and is used as a step-size control parameter; beta is a random number between −1 and 1, fi is the fitness value of the current sparrow individual, fg is the global best fitness value, and f is the global worst fitness value. Unwashed is a constant that avoids having a denominator of 0. When fi > fg, the sparrow is at the edge of the population at this time and is extremely vulnerable to predators. When fi = fg, the sparrow in the middle of the population is also in danger. At this time, it needs to be close to other sparrows to reduce the risk of predation.
This study found that the slow convergence of the sparrow algorithm is due to its tendency to hover between the optimal solution position and the original position, requiring necessary selection to approach the optimal point. Because the sparrow algorithm directly jumps to the current optimal solution when solving the optimal solution rather than moving smoothly, it tends to suffer from the local optima phenomenon. Therefore, the algorithm has been improved to address this issue.

3.3. Sparrow Search Algorithm Improvements

Since the original algorithm tends to converge to local optima, the algorithm needs to be improved in order to solve the multivariate energy function. The first improvement is to remove the iterations that converge toward the distant point. Another improvement is to reduce the jumping process at the optimal value position, and the smooth moving search becomes the main solution action.
x i , d t + 1 = { x i , d t ( 1 + Q ) , R 2 < S T x i , d t + Q , R 2 S T
At the same time, the predator’s status is constantly updated through the following formula.
x i , d t + 1 = x b i , d t + 1 D d = 1 D ( rand { 1 , 1 } ( | x b i , d t x i , d t | )
In the cooperative sparrow search algorithm (CSSA), the systematic search behavior includes all nodes. The search behavior starts from the first position and spreads to the local best points around it. The best nodes within the population are searched and the nodes of other populations are compared with the best values. The smoothing search operation was proposed to solve the intra-population wandering phenomenon.
x i , d t + 1 = { x i , d t + β ( x i , d t x b i , d t ) , f i f g x i , d t + β ( x w i , d t x b i , d t ) , f i = f g
It was found that the sparrow would flee to a random position between the optimal position and the worst position if it was in the optimal position, and to a random position between it and the optimal position if it was not in the optimal position. The improved pseudocode is designed in Algorithm 1.
Algorithm 1: the framework of the CSSA
Input:
       G: the maximum iterations
       PD: the number of producers
       SD: the number of sparrows who perceive the danger
       R2: the alarm value
       n: the number of sparrows
       Initialize a population of n sparrows and define its relevant parameters.
Output:
       Xbest: the location of the optimal solution.
       Fg: the value of the best adaptation
1: while (t < G)
2:  Rank the fitness values
3:   R2 = rand(1)
4:    for i = 1: PD
5:      Using Equation (3), update the sparrow’s location;
6:    end for
7:    for i = (PD + 1): n
8:      Using Equation (4), update the sparrow’s location;
9:    end for
10:      for l = 1: SD
11:       Using Equation (5), update the sparrow’s location;
12:   end for
13:   Get the current new location;
14:   If the new location is better than before, update it;
15:      t = t + 1
16:   end while
17: Return Xbest, fg.

4. Algorithm Performance Simulation Verification

A comprehensive experiment was carried out to verify the effectiveness of the designed collaborative sparrow algorithm. The experimental design consists of three parts: the benchmark design, simulation, and discussion of results. A benchmark principle is determined by referring to the IEEE CEC standard, and three different types of benchmark functions are introduced that contain high-dimensional single-peaked functions, as shown in Table 2; high-dimensional multi-peaked functions; and low-dimensional multi-peaked functions [31,32,33,34]. Five meta-inspired mainstream algorithms are compared to verify the effectiveness of the proposed algorithm. The simulation results are presented by comparing the max FE values in order to verify the feasibility and superiority of the improved algorithm.

4.1. Parameter Settings

A collection of benchmark functions was created to test the effectiveness of the improvement method. The benchmark test functions contained multimodal and unimodal types. Considering that the sparrow algorithm is a variant of the metaheuristic algorithm, with reference to the requirements of the metaheuristic test and the CEC 2017 test suite [31,35,36], the set of benchmark functions used only contained three typical unconstrained optimization problems. These benchmark problems contained one multimodal multi-peak type, one unimodal multi-peak type, and one multimodal single-peak type. Table 3 presents information on the three types of test functions, including the name, expression, type, search space (range), and global optimum of each function.

4.2. Comparison Algorithm Selection

All the comparison functions are shown in Table 3. The complexity values of the mainstream algorithms, i.e., PSO (particle swarm optimization), GWO (gray wolf optimization), and WOA (whale optimization algorithm), were calculated to compare the effectiveness of the CSSA. In the simulation calculations, the dimensionalities of the algorithms were set to 30 and 50. In addition, the nonparametric Wilcoxon rank-sum test was used to calculate the significance of the differences for all the algorithms [31,33,34,35,37]. The search performance of the improved algorithms in the different dimensions was shown to be improved. Lastly, the convergence curves of the various algorithms were compared under the actions of the different composite functions.
In the test study, five algorithms were compared by computing a hybrid function. The hybrid function is a composite function that eliminated the iterative effects of the algorithms and was used to compare important measures of improvements in the effectiveness of the CSSA. The multi-peak classical benchmark functions cited in Table 1 were used to evaluate the exploration capability of the five leading search algorithms, whereas users of the single-peak problem verified the scalability of the five search algorithms.

4.3. Chapter Name Remains Unchanged

A summary of the results for the 30-dimensional problem is presented in Table 4. For functions f1, f2, and f3, all algorithms found the global optimum. All algorithms showed similar performance for the above functions. A summary of the results for the 50-dimensional problem is presented in Table 5. All algorithms showed better performance for functions f1 and f2. For function f3, the CSSA algorithm outperformed the other algorithms. In both tables, the mean and standard deviation of the absolute error values are shown for the two different dimensional test functions.
According to the results, all algorithms easily handled the optimization problem for the unimodal single-peaked functions. For the solution process of the multimodal low-peaked functions, the search ability and search for the optimal function were similar, but for the solution problem of the multimodal multi-peaked functions, the search ability of the improved CSSA was more successful than that of the mainstream algorithms. This shows that the improved CSSA could explore the global optimum for searching multidimensional multi-peaked functions.
Figure 3 shows the convergence profiles of the six competing algorithms on the 30-dimensional f1, f2, and f3 functions. The different colored curves in the figure indicate the convergence effects of the six algorithms, the BSA, GWO, LSA, CSA, SSA, and CSSA. It can be seen in the figure that the above algorithms achieved high-speed convergence in the 30-dimensional f1-f3 functions, and the improved CSSA avoided premature convergence due to the introduction of the small-habitat algorithm.
In the figure, it can be seen that the SSA had better search ability compared with the BSA, GWO, LSA, and CSA algorithms, but the convergence ability was still better with the improved CSSA. The main reason for this phenomenon is that the CSSA algorithm added a small-habitat algorithm to keep up with the diversity of the population and the algorithm did not terminate by converging prematurely.
The complexities of multiple algorithms were simulated according to IEEE CEC 2017. The complexities of the compared algorithms under the 50-dimensional conditions are shown in Figure 4. The ascending order of algorithm complexity was GWO, BSA, LSA, CSA, SSA, and CSSA. The curves in the figure indicate a gradual decrease in the complexity of the comparison algorithm, which was due to the stabilization of the algorithm’s ability in performing subsequent searches. The improved algorithm had a clear advantage because it balanced the comparison of each local optimal solution using smooth jumps and did not fall prey to a wandering solution.
In summary, the CSSA significantly improved the performance of the three types of benchmark functions. The method had good stability and robustness, especially for functions f2 and f3. The performance of the CSSA was 10 orders of magnitude higher than the other four algorithms, which gives it obvious advantages. This research verified the performance of the proposed algorithm under the same conditions. The results showed the high accuracy and search capability of the comparison algorithm (CSSA), which proves its feasibility and superiority.

5. Conclusions

An algorithm based on sparrow foraging was proposed to solve the problem of uneven power distribution in cooperative communication. The study introduced the division method of small-habitat groups, increased population diversity, and effectively solved the premature convergence problem of the original algorithm. By improving the sparrow algorithm, the wandering process between multiple optimal points in the global optimization was effectively eliminated and the convergence speed and accuracy of the algorithm in the late stage were accelerated. Experimental results showed that the improved algorithm had certain advantages over the mainstream algorithms in convergence speed and accuracy.
Due to the limitations of simulation software and hardware, meta-inspired search algorithms have not yet been compared at the same time in the literature. The study of improved algorithms and other search algorithms is the subject of future work. However, the performance of this algorithm was proven by comparing it with five mainstream algorithms. In conclusion, the improved CSSA algorithm is advanced and practical in cooperative communication in cluster networks.

6. Patents

The patent entitled “The heterogeneous cognitive wireless sensor network cluster routing method” is disclosed under CN110708735B.

Author Contributions

Conceptualization, G.C. (Guangjiao Chen) and G.C. (Guifen Chen); methodology, G.C. (Guangjiao Chen); validation, G.C. (Guangjiao Chen) and G.C. (Guifen Chen); data curation, G.C. (Guangjiao Chen); writing—original draft preparation, G.C. (Guangjiao Chen); writing—review and editing, G.C. (Guangjiao Chen); visualization, G.C. (Guangjiao Chen); project administration, G.C. (Guifen Chen); proofreading, G.C. (Guifen Chen); funding acquisition, G.C. (Guifen Chen). All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Open Research Fund from the National 13th Five-Year Plan Advance Research Program of China under Grant 6141B012826, the National Natural Science Foundation of China under Grant 61540022, and the Special Project on Industrial Technology Research and Development of Jilin Province, Research on Self-Organizing Network Systems of Unmanned Platforms for Optoelectronic Composite Communication, 2022C047-8.

Data Availability Statement

The data used to support the findings of this study are included within the article.

Acknowledgments

Drone data were provided by DJI UAV.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Durand, T.G.; Visagie, L.; Booysen, M.J. Evaluation of next-generation low-power communication technology to replace GSM in IoT-applications. IET Commun. 2019, 13, 2533–2540. [Google Scholar] [CrossRef]
  2. Li, D.; Ho, C.N.M. A delay-tolerable master–slave current-sharing control scheme for parallel-operated interfacing inverters with low-bandwidth communication. IEEE Trans. Ind. Appl. 2020, 56, 1575–1586. [Google Scholar] [CrossRef]
  3. Tsuchida, H.; Kawamoto, Y.; Kato, N.; Kaneko, K.; Tani, S.; Uchida, S.; Aruga, H. Efficient power control for satellite-borne batteries using Q-learning in low-earth-orbit satellite constellations. IEEE Wirel. Commun. Lett. 2020, 9, 809–812. [Google Scholar] [CrossRef]
  4. Chen, G.; Wang, Y.; Chen, G.; Gu, X. Research on the Improvement of Relay Selection Algorithm for Cooperative Communication in Cluster Network. In Proceedings of the 2021 International Conference on Electronic Information Engineering and Computer Science (EIECS), Changchun, China, 23–26 September 2021; pp. 115–118. [Google Scholar]
  5. Chen, G.; Chen, G. A Method of Relay Node Selection for UAV Cluster Networks Based on Distance and Energy Constraints. Sustainability 2022, 14, 16089. [Google Scholar] [CrossRef]
  6. Chen, G.; Chen, G. A Cooperative Automatic Retransmission Request Technique Based on Listening Node Participation Competition. Appl. Sci. 2023, 13, 2161. [Google Scholar] [CrossRef]
  7. Li, X.; Chen, G.; Wu, G.; Sun, Z.; Chen, G. D2D Communication Network Interference Coordination Scheme Based on Improved Stackelberg. Sustainability 2023, 15, 961. [Google Scholar] [CrossRef]
  8. Gupta, N.; Swarnkar, A.; Niazi, K.R. Distribution network reconfiguration for power quality and reliability improvement using Genetic Algorithms. Int. J. Electr. Power Energy Syst. 2014, 54, 664–671. [Google Scholar] [CrossRef]
  9. Jiang, S.; Wang, Y.; Ji, Z. Convergence analysis and performance of an improved gravitational search algorithm. Appl. Soft Comput. 2014, 24, 363–384. [Google Scholar] [CrossRef]
  10. Ginardi, R.H.; Izzah, A. A new operator in gravitational search algorithm based on the law of momentum. In Proceedings of the International Conference on Information, Communication Technology and System, Surabaya, Indonesia, 24 September 2014; pp. 105–110. [Google Scholar]
  11. Kumar, V.; Swapnil, S.; Ranjan, R.; Singh, V.R. Enhanced bat algorithm for analyzing the reliability and contingency issue in radial distribution power system. Electr. Power Compon. Syst. 2018, 46, 2071–2083. [Google Scholar] [CrossRef]
  12. Kahraman, H.T.; Aras, S.; Gedikli, E. Fitness-distance balance (FDB): A new selection method for meta-heuristic search algorithms. Knowl. -Based Syst. 2020, 190, 105169. [Google Scholar] [CrossRef]
  13. Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
  14. Zhao, J.; Tang, D.; Liu, Z.; Cai, Y.; Dong, S. Spherical search optimizer: A simple yet efficient meta-heuristic approach. Neural Comput. Appl. 2020, 32, 9777–9808. [Google Scholar] [CrossRef]
  15. Ji, Y.; Tu, J.; Zhou, H.; Gui, W.; Liang, G.; Chen, H.; Wang, M. An adaptive chaotic sine cosine algorithm for constrained and unconstrained optimization. Complexity 2020, 2020, 6084917. [Google Scholar] [CrossRef]
  16. Hamid, M.; Tavakkoli-Moghaddam, R.; Golpaygani, F.; Vahedi-Nouri, B. A multi-objective model for a nurse scheduling problem by emphasizing human factors. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2019, 234, 179–199. [Google Scholar] [CrossRef]
  17. Duan, Y.; Liu, C. Sparrow search algorithm based on Sobol sequence and crisscross strategy. J. Comput. Appl. 2022, 42, 36. [Google Scholar]
  18. Zhang, H.; Tang, M.; Liu, Y.; Li, X. Sardine Optimization Algorithm with Agile Locality and Globality Strategies for Real Optimization Problems. Arab. J. Sci. Eng. 2022, 1–39. [Google Scholar] [CrossRef]
  19. Li, W.; Shi, R.; Dong, J. Harris hawks optimizer based on the novice protection tournament for numerical and engineering optimization problems. Appl. Intell. 2022, 1–26. [Google Scholar] [CrossRef]
  20. Karimullah, S.; Vishnuvardhan, D. Pin density technique for congestion estimation and reduction of optimized design during placement and routing. Appl. Nanosci. 2022, 1–10. [Google Scholar] [CrossRef]
  21. Shrivastava, R.; Kumar, P.; Tripathi, S.; Tiwari, V.; Rajput, D.S.; Gadekallu, T.R.; Suthar, B.; Singh, S.; Ra, I.H. A Novel Grid and Place Neuron’s Computational Modeling to Learn Spatial Semantics of an Environment. Appl. Sci. 2020, 10, 5147. [Google Scholar] [CrossRef]
  22. Benmahdi, M.B.; Lehsaini, M. Performance evaluation of main approaches for determining optimal number of clusters in wireless sensor networks. Int. J. Ad Hoc Ubiquitous Comput. 2020, 33, 184–195. [Google Scholar] [CrossRef]
  23. Tnunay, H.; Li, Z.; Ding, Z. Distributed nonlinear Kalman filter with communication protocol. Inf. Sci. 2020, 513, 270–288. [Google Scholar] [CrossRef]
  24. Agrawal, D.; Pandey, S.; Gupta, P.; Goyal, M.K. Optimization of cluster heads through harmony search algorithm in wireless sensor networks. J. Intell. Fuzzy Syst. 2020, 39, 8587–8597. [Google Scholar] [CrossRef]
  25. Martinaa, M.; Santhi, B.; Raghunathan, A. An energy-efficient and novel populated cluster aware routing protocol (PCRP) for wireless sensor networks (WSN). J. Intell. Fuzzy Syst. 2020, 39, 8529–8542. [Google Scholar] [CrossRef]
  26. Kumar, J.N.; Singh, Y.D.; Ajay, V. Neuro-fuzzy and fuzzy schemes for cooperative communication in wireless sensor network: A military battlefield scenario. IET Commun. 2020, 14, 3761–3770. [Google Scholar]
  27. Praba, T.S.; Sethukarasi, T.; Venkatesh, V. Krill herd based TSP approach for mobile sink path optimization in large scale wireless sensor networks. J. Intell. Fuzzy Syst. 2020, 38, 6571–6581. [Google Scholar] [CrossRef]
  28. Remika, N.; Ashraf, H.; Alok, S. Improved low energy adaptive clustering hierarchy and its optimum cluster head selection. Int. J. Electron. 2020, 107, 390–402. [Google Scholar]
  29. Ren, Q.; Yao, G. An Energy-Efficient Cluster Head Selection Scheme for Energy-Harvesting Wireless Sensor Networks. Sensors 2020, 20, 187. [Google Scholar] [CrossRef] [Green Version]
  30. Yang, X.; Liu, J.; Liu, Y.; Xu, P.; Yu, L.; Zhu, L.; Chen, H.; Deng, W. A novel adaptive sparrow search algorithm based on chaotic mapping and t-distribution mutation. Appl. Sci. 2021, 11, 11192. [Google Scholar] [CrossRef]
  31. Wu, G.; Mallipeddi, R.; Suganthan, P.N. Problem Definitions and Evaluation Criteria for the CEC 2017 Competition on Constrained Real-Parameter Optimization; National University of Defense Technology: Changsha, China, 2017. [Google Scholar]
  32. Ouyang, Q.; Wu, Z.; Cong, Y.; Wang, Z. Formation control of unmanned aerial vehicle swarms: A comprehensive review. Asian J. Control 2022, 25, 570–593. [Google Scholar] [CrossRef]
  33. Nagendranth, M.V.S.S.; Khanna, M.R.; Krishnaraj, N.; Sikkandar, M.Y.; Aboamer, M.A.; Surendran, R. Type II fuzzy-based clustering with improved ant colony optimization-based routing (t2fcatr) protocol for secured data transmission in manet. J. Supercomput. 2022, 78, 9102–9120. [Google Scholar] [CrossRef]
  34. Li, X.; Chen, G.; Wu, G.; Sun, Z.; Chen, G. Research on Multi-Agent D2D Communication Resource Allocation Algorithm Based on A2C. Electronics 2023, 12, 360. [Google Scholar] [CrossRef]
  35. Duman, S.; Kahraman, H.T.; Sonmez, Y.; Guvenc, U.; Kati, M.; Aras, S. A powerful meta-heuristic search algorithm for solving global optimization and real-world solar photovoltaic parameter estimation problems. Eng. Appl. Artif. Intell. 2022, 111, 104763. [Google Scholar] [CrossRef]
  36. Gao, R.; Li, R.; Hu, M.; Suganthan, P.N.; Yuen, K.F. Dynamic ensemble deep echo state network for significant wave height forecasting. Appl. Energy 2023, 329, 120261. [Google Scholar] [CrossRef]
  37. Kumar, V.; Lalotra, G.S.; Sasikala, P.; Rajput, D.S.; Kaluri, R.; Lakshmanna, K.; Shorfuzzaman, M.; Alsufyani, A.; Uddin, M. Addressing binary classification over class imbalanced clinical datasets using computationally intelligent techniques. Healthcare 2022, 10, 1293. [Google Scholar] [CrossRef]
Figure 1. Demonstration of cooperative communication process in a cluster network.
Figure 1. Demonstration of cooperative communication process in a cluster network.
Electronics 12 01153 g001
Figure 2. Signal forwarding model in cooperative communication.
Figure 2. Signal forwarding model in cooperative communication.
Electronics 12 01153 g002
Figure 3. Performance comparison of different algorithms. (a) Beginning of the convergence method. (b) Enlarged view of rapid convergence. (c) Enlarged view of the maximum convergence speed node. (d) Enlarged view of the end of convergence of some nodes.
Figure 3. Performance comparison of different algorithms. (a) Beginning of the convergence method. (b) Enlarged view of rapid convergence. (c) Enlarged view of the maximum convergence speed node. (d) Enlarged view of the end of convergence of some nodes.
Electronics 12 01153 g003
Figure 4. Comparison of complexities of different algorithms. (a) Algorithm complexity calculation starting point. (b) Curve flattening trend turning point. (c) Algorithm stabilization node.
Figure 4. Comparison of complexities of different algorithms. (a) Algorithm complexity calculation starting point. (b) Curve flattening trend turning point. (c) Algorithm stabilization node.
Electronics 12 01153 g004
Table 1. Comparison of classical literature on improved sparrow algorithm.
Table 1. Comparison of classical literature on improved sparrow algorithm.
Innovation PointsResearch ContentLiterature
Original algorithmThe algorithm searches and feeds in two parts; the nodes with high energy are defined as the searchers and the other nodes are defined as the feeders.[13]
Searcher rulesThe searcher algorithm was modified and the complexity of the algorithm was reduced.[14,15,16]
Expanded searchThe algorithm expanded the scope of the search by designing a joint search method.[17,19]
Improved speedA pre-processing process was added to improve search speed.[18]
Improved searchJump search was proposed to prevent the occurrence of local optima.[20]
Cross-applicationIntegration with other algorithms to simplify the process of the algorithm.[14,15]
Table 2. Classical test problems.
Table 2. Classical test problems.
NameFunctionTypeRangeMin
Ackley f 1 ( x ) = 20 - 20 exp - 0 . 2 ( i = 1 D x i 2 · 1 D ) 1 2   - exp 1 D ( i = 1 D cos ( 2 px i ) ) + e M[−100, 100]0
Cigar f 2 ( x ) = x 1 2 + 10 6 i = 1 D x i 2 U[−100, 100]0
Levy f 3 ( x ) = sin 2 ( 3 π x 1 ) + | x D - 1 | ( 1 + sin 2 ( 3 π x D ) ) + i = 1 D - 1 [ ( x i - 1 ) 2 ( 1 + sin 2 ( 3 π x i + 1 ) ) ] M[−100, 100]0
Table 3. Parameter settings for all algorithms.
Table 3. Parameter settings for all algorithms.
AlgorithmParametersLiterature
SSAComparison Algorithm[31]
CSSA--
BSAMixrate = 1.00, F = 3 ∗ randn[32]
GWOA linearly decreases from 2 to 0[33]
LSA-[34]
CSAFlight length = 2, awareness probability = 0.1[35]
Table 4. Comparison of the mean error and standard deviation of the test function values. (30 dimensions).
Table 4. Comparison of the mean error and standard deviation of the test function values. (30 dimensions).
FnSSA (Original Value)CSSABSAGWOCSALSA
f15.09 × 10³ (5.68 × 10³)5.27 × 10³ (5.89 × 10³)1.37 × 10³ (9.89 × 10³)1.85 × 10³ (1.27 × 10³)1.01 × 10³ (5.04 × 10³)4.51 × 10³ (4.86 × 10³)
f23.59 × 10³ (1.13 × 10³)3.81 × 10³ (1.89 × 10³)8.69 × 10³ (1.37 × 10³)5.68 × 10³ (1.03 × 10³)2.50 × 10³ (7.50 × 10³)7.35 × 10³ (2.24 × 10³)
f34.02 × 10³ (1.19 × 10³)4.54 × 10³ (1.89 × 10³)9.43 × 10³ (5.66 × 10³)5.62 × 10³ (1.74 × 10³)2.11 × 10³ (7.68 × 10³)2.18 × 10³ (1.28 × 10³)
Table 5. Comparison of the mean error and standard deviation of the test function values. (50 dimensions).
Table 5. Comparison of the mean error and standard deviation of the test function values. (50 dimensions).
FnSSA (Original Value)CSSABSAGWOCSALSA
f15.87 × 10³ (8.08 × 10³)6.12 × 10³ (6.84 × 10³)5.14 × 10³ (2.18 × 10³)8.38 × 10³ (3.58 × 10³)3.10 × 10³ (1.20 × 10³)3.30 × 10³ (6.48 × 10³)
f21.17 × 10³ (3.23 × 10³)4.66 × 10³ (2.53 × 10³)1.85 × 10³ (2.89 × 10³)1.09 × 10³ (2.10 × 10³)6.99 × 10³ (1.32 × 10³)1.68 × 10³ (3.31 × 10³)
f31.30 × 10³ (2.60 × 10³)5.31 × 10³ (2.16 × 10³)3.66 × 10³ (1.61 × 10³)7.36 × 10³ (4.33 × 10³)9.34 × 10³ (2.27 × 10³)8.02 × 10³ (3.76 × 10³)
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

Chen, G.; Chen, G. An Improved Sparrow Algorithm Based on Small Habitats in Cooperative Communication Power Allocation. Electronics 2023, 12, 1153. https://doi.org/10.3390/electronics12051153

AMA Style

Chen G, Chen G. An Improved Sparrow Algorithm Based on Small Habitats in Cooperative Communication Power Allocation. Electronics. 2023; 12(5):1153. https://doi.org/10.3390/electronics12051153

Chicago/Turabian Style

Chen, Guangjiao, and Guifen Chen. 2023. "An Improved Sparrow Algorithm Based on Small Habitats in Cooperative Communication Power Allocation" Electronics 12, no. 5: 1153. https://doi.org/10.3390/electronics12051153

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