Abstract

This paper deals with the hybrid particle swarm optimization-Cuckoo Search (PSO-CS) algorithm which is capable of solving complicated nonlinear optimization problems. It combines the iterative scheme of the particle swarm optimization (PSO) algorithm and the searching strategy of the Cuckoo Search (CS) algorithm. Details of the PSO-CS algorithm are introduced; furthermore its effectiveness is validated by several mathematical test functions. It is shown that Lévy flight significantly influences the algorithm’s convergence process. In the second part of this paper, the proposed PSO-CS algorithm is applied to two different engineering problems. The first application is nonlinear parameter identification for the motor drive servo system. As a result, a precise nonlinear Hammerstein model is obtained. The second one is reactive power optimization for power systems, where the total loss of the researched IEEE 14-bus system is minimized using PSO-CS approach. Simulation and experimental results demonstrate that the hybrid optimal algorithm is capable of handling nonlinear optimization problems with multiconstraints and local optimal with better performance than PSO and CS algorithms.

1. Introduction

Optimization problems are ubiquitous and critical in controller design [1], system identification [2], power systems [3], etc. These engineering problems are often nonlinear with various variables under complex constraints. Modern metaheuristic algorithms have been developed with an aim to carry out global search. The typical examples are Genetic Algorithm (GA) [4], PSO [5], etc. Two important characteristics of the metaheuristic algorithms are intensification and diversification. Intensification focuses around the current best solutions and selects the best candidates or solutions, while diversification makes sure that the algorithm can explore the search space more efficiently, often by randomization [6].

PSO and CS [6] are both relatively new evolutionary algorithms which can find optimal or suboptimal solutions in search space. PSO is a population-based heuristic global optimization technique. In this algorithm, the population is called a swarm, and the trajectory of each particle in the search space is dynamically adjusted by altering its velocity according to its own flying experience and swarm experience in the search space. CS is inspired by the interesting breeding pattern of cuckoos. In addition to the breeding behavior, cuckoos have been assumed to follow a Lévy flight movement pattern in the CS algorithm. The Lévy flight is a movement along a straight line followed by sudden turns in random directions. The attributes of the CS allow enhanced exploration of the search space in comparison with other evolutionary computing algorithms. Since the PSO and CS algorithms are both inspired by the survival and migration of avifauna, it is nature to utilize the superiority of Cuckoo Search algorithm with the purpose of improving the searching ability of traditional particle swarm optimization algorithm [7].

Some studies are undertaken in the improvement of traditional metaheuristic algorithms [810]. In [8], the MapReduce programming paradigm is implemented in the Apache Spark tool. The Cuckoo Search binary algorithm is proposed and applied to different instances of the crew scheduling problem. In [9], the modifications of the original CS algorithms are summarized. The continuous, binary, and multiobjective CS algorithms are compared both in the aspects of benchmark tests and in the applications.

In our former work, the advanced PSO algorithm was applied to nonlinear parameters identification of motor drive servo system [10, 11]. In [10], a switched nonlinear model is proposed to the description of multistates in motor servo system, and former algorithm is able to deal with the nonlinear multiobjective problem with constraints. Our recent researches show that the success rate can be further increased with less iteration times among the convergence process by the combination of PSO and CS.

This paper aims to formulate a new algorithm named Particle Swarm Optimization-Cuckoo Search (PSO-CS) and analyzes its performance through numerical computing and industrial applications. The major contributions of this paper are (i) the improvement of success rate and convergence iteration for the hybrid PSO algorithm and (ii) the improved method is applied to two totally different application; both results are better than traditional algorithm.

The first application deals with the nonlinear parameter identification of a motor drive radar antenna servo system. A Hammerstein structure nonlinear model is introduced to describe the nonlinear elements, such as friction, dead-zone, and backlash of the servo system. The PSO-CS algorithm plays a critical part in the Hammerstein model parameter estimation. The comparison of field data and model output demonstrates the effectiveness of the algorithm and validates the optimal results. In the second application, the optimal reactive power dispatch problem (ORPD) for standard IEEE systems is realized by the CS-PSO algorithm. The fitness function of the optimization model is the total loss of the power system. The nodal voltages of generators, reactive power compensations, and transformer taps are optimized in the IEEE 14-bus system. The simulation result proves the feasibility and improved searching ability of the proposed algorithm.

2. Overview of PSO and CS

2.1. Particle Swarm Optimization Background

The swarm , which has particles is considered in the standard PSO. In D-dimensional space, the particle is a potential solution to the researched problem. The velocity of the particle is . For the particle, the best position in the step is expressed as .

Meanwhile, the best position of the entire swarm is defined as . Thus at the step, the new position of the particle is calculated as below.where and represent the position and velocity of the particle with respect to the dimension, is the inertia weight factor, and are two positive constants called acceleration coefficients, and and are two uniformly distributed random values in the range .

2.2. Cuckoo Search and Lévy Flights
2.2.1. Key Step of Cuckoo Search

CS is a kind of nature-inspired metaheuristic algorithms, and the aggressive reproduction strategy of special cuckoo species stimulates the proposal of CS. Three idealized rules [6] are delimited, and the last rule means introducing some new random solutions in the algorithm. It can be approximated by a friction of the host nests to produce new nests.

Following the cuckoo breeding behavior which can be found in [12] and was summarized in [13], and the basic steps of the CS can be determined. The optimization problem to be solved is described as an objective function in the D-dimensional space. In order to elaborate the constructional details of the PSO-CS algorithm, we normalized the variables of CS with PSO.

There are host nests within the specified search space. Each nest (the representations are the same with the particle in PSO) represents a possible solution of the optimization problem to be solved. One of the key steps of the CS is searching for the new population of nests . Furthermore, the new nests are obtained using Lévy flight as follows:where is the step size, represents the entry-wise multiplication operation, and is a Lévy flight parameter.

2.2.2. Lévy Flights

Lévy flight is a kind of random walk with the step length which has the Lévy distribution. It is introduced to the CS algorithm to get a Lévy-flight-style intermittent scale-free search pattern. In [9], it is demonstrated that Lévy flights are able to maximize the efficiency of resource searches in the uncertain environment. The Lévy distribution is defined aswhere is a minimum step and is a scale parameter. In Mantegna’s algorithm, the step length can be calculated bywhere and are drawn from normal distribution. That is, where is the Gamma function . In the case when is an integer,

3. Particle Swarm Optimization-Cuckoo Search Algorithm with Lévy Flights

It is mentioned that the entry-wise product is similar to that used in PSO, but the random walk via Lévy flight is more efficient in exploring the search space as its step length is much longer in the long run. Because a power-law distribution is often linked to some scale-free characteristics, the Lévy flight can thus show self-similarity and fractal behavior in flight patterns [14]. Naturally, with the purpose of improving the performance of PSO, the Lévy flight is considered to replace the random searching method of traditional PSO algorithm. Therefore, the modified PSO algorithm is named PSO-CS.

3.1. PSO – CS Algorithm

The searching ability of PSO is influence by random variables and , when we set the parameters , , and as fixed values [15]. We introduced the Lévy flight for the change of random step length. Thus the formed PSO-CS algorithm is detailed as follows.

Step 1. The priori values of parameters are initialized, such as population size of swarm , minimum and maximum weights , and acceleration coefficients .

Step 2. The lower and upper bounds for each particle and the particles’ velocities are specified in different neighborhood.

Step 3. The first generation of particles is randomly initialized within the specified space, ,

while or other stop criterion.

Step 4. The fitness function of each particle is evaluated. The best position and the best position of the whole swarm are found (similar to PSO).

Step 5. A friction of the worst performing particle is chosen in terms of the fitness function. The selected particles should be abandoned, and then the replacement of randomly generated ones is undertaken within the specified search space (similar to CS).

Step 6. The inertia weight is updated asThe velocity and position of each particle are updated according to Formulas (1) and (2). Parameters and vary with Lévy flight pattern following (4) to (7), which is different from the former PSO (hybrid of PSO and CS).

Step 7. The iteration step increases . The termination criterion is always the terminating generation or the ultimate value of fitness function, as other metaheuristic algorithms. If the termination criterion is not met, go to Step 4. Else return as the final solution to the optimization problem.

End while

Step 8. List the optimization results. Meanwhile plot each value of the best fitness function in the optimization processing.
The population size of swarm depends on the dimension of the problem. The parameters in the hybrid algorithm are problem-dependent [15] as the traditional PSO and CS algorithms. They are often determined after analysis and optimized by repeated calculation. For the performance analysis and parameter selection of the proposed method, a Monte Carlo method which is used in the research of traditional particle swarm optimization [16] can be introduced to obtain a set for fixed parameters. Besides, is realized by Gamma function using MATLAB.

The inertia weight changes from to . The friction controls the launching of a random long-distance exploration strategy, reflecting the probability whether the nest will be abandoned or be updated [17]. The higher the value of this parameter, the closer the search process is to the random search.

3.2. Benchmark Function Test

Eight benchmark functions [17] are chosen to evaluate the performance of the hybrid PSO-CS algorithm with the sizes of functions varying from 10 to 100. Definitions of benchmark problems are described as follows:

(1) Sphere function

(2) Rosenbrock function

(3) Shifted Schwefel’s function

(4) Shifted Ackley’s function

(5) Shifted Griewank’s Function

(6) Shifted rotated Griewank’s Function

(7) Shifted Rastrigin’s function

(8) Shifted rotated Rastrigin’s function

Some indexes are introduced for the comparison of different algorithms. MFV and SDFV stand for the mean and the standard deviation of the function value. Sometimes the convergence process falls into the local optimum failing to find the global optimal solution. The success rate is introduced as the percentage of reaching the global solution within specified error range. Confidence C represents the success rate by counting the number of optimization runs with an objective function value within a precision of from the optimum function value for all 200 runs. The details of benchmark test functions are listed in Table 1.

In the numerical experiment, the numbers of host nests and the friction are selected as trial variables. Usually, to are sufficient for most optimization problems. As parameter is a new parameter for the proposed PSO algorithm, the parameter study is undertaken in Ackley’s function test in 10D. The results are shown in Table 2. It is demonstrated that the proposed algorithm has good performance in convergence time and accuracy when to . This conclusion is similar to the research by Yang [13].

Therefore, after a large number of experimental programming and the parameter adjustment, the fixed parameters , , , , , and are used in the simulations. The results are shown in Tables 36.

The algorithm is coded in MATLAB 2017a, and experiments are made on i7-5600U CPU with a Pentium 2.6 GHz Processor and 8.00 GB of memory. The above benchmark functions f1 to f8 are tested in 10-dimension (10D), 30-dimension (30D), 50-dimension (50D), and 100-dimension (100D). For all test functions, the algorithms carry out 200 independent runs. The eight benchmark functions are tested in 10D and compared with PSO, CS and GA-PSO as shown in Table 3.

For the 30D, 50D, and 100D problems, we also conduct four different experiments for comparison with different groups of algorithms the same as those for the 10D problems. The detailed results are summarized in Tables 46.

The comparison results in Tables 35 can be summarized as follows. For the test functions in all the 10/30/50/100 dimensions, the proposed PSO-CS can find better optimal or close-to-optimal solutions with smaller standard deviations than traditional PSO, CS, and GA-PSO. These results also indicate the Lévy flights and worst solution abandon can effectively improve the performance of the hybrid algorithm, especially for 30 or lower dimensional problems. Note that the number of individuals N should not be too large. Otherwise, the optimal results may not be available.

It is possible that the standard PSO fails to find the global optimum in the Rosenbrock and Ackley problems [10]. The confidence will decrease with the reduction of the swarm particles and also increase with the addition of the swarm particles. In all examples, the PSO-CS is able to reach the global minimum within the specified precision. Additionally, compared with PSO and CS algorithms, the standard deviation of the results with the hybrid PSO-CS is lower.

The survival and migration of avifauna inspired the inventions of both PSO and CS algorithms. The individual and social attributes are both considered in PSO, represented by and . The competition mechanism and a special flight pattern are constructed in CS. To improve the searching ability of traditional PSO algorithm, the utilization of CS algorithm’s superiority is a conceivable way. The combination of these two algorithms is reasonable from the viewpoints of theory and realization. We apply this hybrid optimization algorithm to the engineering problems in the following part.

4. Engineering Applications I: Nonlinear Parameter Identification

Most systems encountered in the real world are nonlinear to some extent, and in many practical applications nonlinear models are required to achieve acceptable prediction accuracy. Modeling nonlinear systems therefore is of significant importance to the scientific community [18]. Parameter identification is an integrated part of modeling any products in engineering and industry. Nonlinear modeling problems are complex, and sometimes the mathematical model is not unique. In order to examine the PSO-CS algorithm’s performance, it is now used to deal with the nonlinear parameter identification of the radar antenna servo system [8].

4.1. Formulation of the Nonlinear Parameter Identification Problem

Electromechanical turntable servo systems play important roles as the foundation and driving mechanisms of radars and telescopes. The nonlinearities, such as friction, backlash, and dead-zone, degrade the system performance, especially during rotation changes direction or some other conditions varying. Experiments are carried out in the servo turntable for missile-borne radar as shown in Figures 1 and 2. It is a single-input-single-output (SISO) system, in which the input variable is the voltage of the motor torque and the output variable is the elevation angle velocity.

We choose the chirp signal as the experimental test stimulation, with the frequency changing from 1 Hz to 10 Hz. Meanwhile, for cross-validation, another set of chirp and multitone signals are also used. Sampling time in this experiment is 10ms. The input filed data and output data are recorded and shown in Figure 3. It can be seen that the output elevation angle velocity signal distorts around the zero-crossing point. Because of the friction and other nonlinear characteristics, the curve of output signal has a flat roof in the middle around the zero-crossing point.

A nonlinear Hammerstein model is introduced to describe the input-output relationship with nonlinear characteristics for the turntable servo system. There is a nonlinear subsystem followed by the linear part with Hammerstein model as shown in Figure 4.

The structures and orders of the subsystems have been determined in former research [14, 15], , , and . Thus the nonlinear model of the radar turntable servo system can be expressed as , and . Thus the nonlinear model of the radar turntable servo system can be expressed asThe coefficients , , , , , , , and need to be estimated. In the next step, the proposed PSO-CS algorithm is used to identify the Hammerstein nonlinear model of the radar antenna servo system. The fitness function should be able to describe the input-output relationship of the radar turntable servo system. The following equation is formulated, where the deviation between model output data and field experimental data is set as the fitness function and will be minimized.where is the estimated output of the model which is calculated iteratively in the PSO-CS algorithm and is measured in the experiment as displayed in Figure 2. is the error between field data and model output .

4.2. Application of PSO-CS Algorithm

Variable in the proposed algorithm is set as , where symbol represents predicted/estimated/identified parameters in the simulation. Choose the parameters of the hybrid PSO-CS algorithm as in Table 7 for nonlinear identification simulation.

It is worth particularly pointing out that, in order to improve searching efficiency and narrow searching scope, the Recurrence Least Squares (RLS) method is introduced to data preprocess [18]. The effectiveness on this method is proved by our former research. Because of the mechanism constraints, the searching space (position and velocity) of the coefficients and is different from other coefficients in the Hammerstein model for the radar turntable servo system.

4.3. Results of PSO-CS and Comparison with Traditional Algorithms

The PSO-CS is performed several times with the final results listed in Table 8, and the calculation results of parameter estimation using PSO and CS are also shown. One of the convergence processes of the fitness function is shown in Figure 5.

In Table 4, the MFV and SDFV have the same definitions as those in Table 2. It is obvious that the mean and standard deviations of the fitness function with the hybrid PSO-CS algorithm are both less than the results from the PSO and CS.

4.4. Cross-Validation and Analysis

In order to estimate the fitness quality of the model through cross-validation with the consideration of curve fitting, the fitness quality is defined as [7] The comparison between real and modeling output is shown in Figure 6. The fitness quality is for PSO-CS and only 91.71% and 92.33% for PSO and CS, respectively.

Figure 6 shows the comparison of the fitting curves of the three models with different coefficients and the measured result. It is no doubt that the performance of nonlinear Hammerstein model from PSO-CS algorithm is better than the ones from PSO or CS in the aspect of describing the input-output relationship of the radar turntable servo system.

From Table 2 and Figures 5 and 6, following conclusions can be drawn:

(a) Using the proposed PSO-CS algorithm, better values of fitness function are obtained in the searching process than the ones using PSO and CS.

(b) Figure 5 demonstrates that the result of PSO-CS algorithm is able to converge in less iteration.

(c) Three sets of parameters for Hammerstein models are obtained and listed in Table 4. Their performances are tested in several validation experiments as shown in Figure 6. From the fitting curves and QF% data, it is obvious that the model applied with PSO-CS is best among all.

The input and output characteristics of the Hammerstein models from the PSO-CS are in best agreement with the experimental data. Searching process with Lévy flights may take longer time than original optimization algorithm. Fortunately, the chance of local minima trapping is meanwhile minimized along with fast convergence which is verified in experiment. The novel algorithm outperforms the traditional PSO and CS optimization methods both in benchmark tests and in engineering application.

5. Engineering Application II: Optimal Reactive Power Dispatch (ORPD)

Management of reactive power resources is essential for secure and stable operation of power systems in the standpoint of voltage stability [3]. The ORPD problem is essential for the security and economic aspects of power system. As a subproblem of the optimal power flow calculation, it aims to minimize transmission losses or other concerned objective functions. In the past, computational intelligence-based techniques, such as seeker optimization algorithm [19], wo-point estimate method [20], teaching learning algorithm [21], PSO [22], differential evolution algorithm [23], oppositional krill herd algorithm [24], exchange market algorithm [25], and firefly algorithm [26] have been applied for solving ORPD problem. In [3], the PSO-imperialist competitive algorithm (PSO-ICA) is proposed and applied to the ORPD problem to minimize the total voltage deviation (TVD). In [27], a hybrid approach, based on the original differential evolution (DE) algorithm, combines variable scaling mutation and probabilistic state transition rule of the ant system to deal with the ORPD problem. In this part, the application of PSO-CS approach to the solution of ORPD problem is introduced in detail.

5.1. ORPD Problem Formulation
5.1.1. Objective Function

In most of the ORPD problem, the total loss minimization, voltage deviation reduction, and voltage stability improvement are concerned. In our research, the total loss minimization is the main function with the consideration of transformer tap setting and capacitor switching costs. It is defined as follows [28]:where is active power loss of the power system and is the generator voltage of the bus. and are the maximum and minimum generator voltages of the bus, respectively. is the reactive power injection of the transmission line. and are the maximum and minimum reactive power injections of the transmission line, respectively. is the total number of load nodes. is the number of distributed generator. and are the cross-border penalty coefficients of load and reactive power generation, respectively. and are the costs of transformer tap setting and capacitor switching, respectively. contains the control variable at sampling time , such as generator voltage, tap changing transformers, and number of shunt compensators [10, 18].

5.1.2. Inequality Constraints

In ORPD problem, the tap position of transformers, generator bus voltages, and the amount of the reactive power source installations are the independent variables. The limits of these variables are considered as inequality constraints.where and are the minimum and maximum generator voltages of the bus, and are the minimum and maximum reactive power injections of the shunt compensator, and are the minimum and maximum tap setting of the transmission line, is the number of shunt compensators, and is the number of tap changing transformers. The reactive power output of generators and load voltages are the dependent variables. Their limits are also modeled aswhere and are the minimum and maximum reactive power generation of the generator bus, respectively. and are the minimum and maximum voltage of the load bus.

Besides, there are load bus voltage and the reactive power generation constraints as below.

5.1.3. Equality Constraint

The equality constraints of ORPD problem can be expressed as follows:where and are the active and reactive power generator of the bus. and are the active and reactive load demand of the bus. and are the transfer conductance and susceptance between and bus, respectively. is the voltage phase angle difference between and bus.

5.2. Proposed Methodology

The proposed hybrid PSO-CS is applied to the ORPD problem of IEEE 14-bus system. The researched IEEE14-bus system consists of 5 generators and 3 transformers. The generators are located at buses 1, 2, 3, 6, and 8. The load tap transformers are set as . The candidate reactive power compensation bus is node 9.

5.2.1. Individual Code and Constraints

The total loss of IEEE-14 bus system is calculated as Formula (21), and the constraints are defined as Formulas (23) to (27). The individual in PSO-CS application is encoded with the variables of generator voltages, reactive power compensator, and transmission tapes. Thus it is expressed as .

The generator voltage is set within the region of . Set as the integer within , and the transformer tap setting in our problem can be expressed as . Shut capacitor is defined as , in which equals in capacitive compensation and 1 in inductive compensation. The introductions of and form the ORPD into a mixed-integer problem.

Parameter Selection. The cross-border penalty coefficients of load and reactive power generation and are both selected as 500. The costs of transformer tap setting and capacitor switching, and , are 7kw and 4kw per time, up to 10 times a day. Some parameters in PSO-CS are set as , , , , , and .

The power flow calculation in the ORPD problem is dealt with the Revised Newton Raphson method [8]. The pseudocode of the hybrid PSO-CS algorithm is shown as follows. The variables in the ORPD problem , .

5.3. Results of ORPD Problem and Comparison

The ORPD program with the application of the hybrid PSO-CS algorithm is run 200 times. For comparison, the optimal solutions from the proposed method, traditional PSO, CS and hybrid PSO-ICA algorithms are all listed in Table 9. The fitness function of total loss reduces to 0.1862 using the hybrid PSO-CS algorithm. In the traditional PSO, original CS, and the hybrid PSO-ICA, the values are 0.1947, 0.1876, and 0.1864, which are higher than our proposed method. Convergence profiles of fitness function in ORPD for PSO-CS, PSO, CS, and PSO-ICA are demonstrated in Figure 7. It is demonstrated that the convergence profile of the proposed hybrid PSO-CS approach is also the promising one.

From this table, we can see that the PSO-CS technique is such an excellent hybrid global random search technique for ORPD problem and is structured incorporating the advantages of Cuckoo Search algorithm into particle swarm optimization (PSO). The quality of the proposed PSO-CS in application of ORPD has been compared with other prominent optimal methods such as PSO, CS, and PSO-ICA.

6. Conclusion

The hybrid PSO-CS algorithm has been proposed in this work. The approach is based on the combination of the basic PSO and CS algorithm. The selection scheme of individual and global best of PSO and the elimination mechanism and Lévy flight of CS constitute the key points in the new algorithm. The principal advantages are the high reliability and efficiency of the algorithm.

In the benchmark function test, the hybrid algorithm is able to find the global optimum. Besides, its standard deviation (SDFV) is low, indicating that the PSO-CS algorithm has good reliability and stability in finding an optimal solution. After the benchmark function test, the algorithm is applied to two different engineering problems.

In the first application, the hybrid PSO-CS algorithm is used to the parameter identification for the motor drive radar turntable servo system. Simulation results show that the PSO-CS algorithm further improves the identification accuracy of the Hammerstein model for the radar turntable and is more effective compared with traditional optimization algorithms. Then, the proposed hybrid approach is applied to the ORPD problem. The simulation result of the IEEE 14-bus system shows that the PSO-CS algorithm is capable of handling nonlinearity, multiple constraints, and multiple local minimum points in the ORPD problem.

Thus, the novel hybrid algorithm presents great superiority in obtaining the near-global optimum and effectiveness in solving nonlinear complicated engineering problems. The PSO-CS approach can be considered as a promising candidate for the future research and application.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This study was supported by the National Key R&D Program of China (2016YFB0900400), Research Project of State Grid Corporation of China Anhui Province (5212001700), National Natural Science Foundations of China under Grant (51507001), and Doctoral Research Foundation of Anhui University under Grant (J01001929).