Abstract

This paper considers the consensus problem of second-order multiagent systems. Firstly, an improved consensus control protocol is proposed. Then, the convergence of the proposed control protocol is analyzed by applying Lyapunov stability theory. In order to improve the control effect of a given system, the particle swarm optimization (PSO) algorithm is introduced and an improved PSO algorithm is proposed. Additionally, a mapping relationship with agents and the individuals of PSO algorithm is designed. Finally, two simulation examples are provided to illustrate the effectiveness of proposed control protocol and the control effect of PSO algorithm.

1. Introduction

The cooperative control problem of multiagent systems has been attracting outstanding attention in the past few years. The main reason is its widespread application in various fields, such as robot systems [1], sensor networks [2], and unmanned aerial vehicle (UAV) systems [3]. The basic problem of the cooperative control of multiagent systems is consensus, which is to design a suitable control law such that the output of all agents can achieve synchronization.

In existing literature, the consensus problem of multiagent systems has been widely researched. In [4], an observer-based distributed output feedback was considered to solve the consensus tracking problem of multiagent systems. In [5, 6], the iterative learning control was applied to deal with the consensus problem of multiagent systems, while the same problem was studied by using linear quadratic regulator (LQR) in [7, 8]. Moreover, the cooperative tracking problem of nonlinear multiagent systems was analyzed in [9, 10], and the consensus control problem of a class of third-order nonlinear multiagent was studied in [11]. Furthermore, distributed control method [12], impulsive control method [13], and adaptive fuzzy output feedback control approach [14] were also applied to solve the consensus problem of multiagent systems.

To improve the control effect, some optimization algorithms, such as genetic algorithm [15], differential evolution algorithm [16], and PSO algorithm [17], have been considered by researchers. As an optimization method, PSO algorithm has the advantages of good search performance, simple implementation, and few adjustment parameters [18]. Due to these advantages, PSO algorithm has gained increasing interest since it was first presented. Currently, there are many results on the applications of the PSO algorithm. For example, to analyze how different algorithmic parameters in a distributed implementation affect the total evaluation and resulting fitness, a distributed PSO algorithm for a class of multirobot systems with the obstacle surroundings was researched in [19]. The nondeterministic navigation problem of UAVs was solved by using the PSO algorithm in [20], where a neighborhood control scheme was designed to eliminate the inherent weakness of PSO algorithm. In [21], the PSO algorithm was applied to deal with the three-dimensional path planning problem of UAVs.

Different from the above research results, a clustering routing algorithm with nonlinear dynamic adaptive PSO algorithm for wireless sensor networks was proposed in [22], where the whole sensor field was positioned via the improved nonlinear dynamic adaptive inertia weight and evaluation of fitness function. In [23], the PSO algorithm was applied to deal with the space trajectory optimization problem. Additionally, the result that the PSO algorithm was an efficient, reliable, and accurate method for determining optimal space trajectory was demonstrated. Furthermore, the relevant parameters of PSO algorithm are still prespecified with fixed value in some papers [1921].

Motivated by these facts, we divert our attention to the consensus problem of a class of second-order multiagent systems in this work. The main contributions are outlined in two aspects. On the one hand, an improved control protocol for the given multiagent systems is proposed, and then the convergence is analyzed by the designed Lyapunov function. On the other hand, the PSO algorithm is introduced to improve control effect, where two adaptive laws are designed to adjust the updating laws of PSO algorithm. Also, a new mapping method is applied to solve the mapping problem of the agents’ states and the individuals of PSO algorithm. Finally, some simulation examples are provided to illustrate the validity of our results.

The remainder of this paper is organized as follows. In Section 2, some preliminaries are briefly given. In Section 3, the consensus control problem of multiagent systems is analyzed. The fundamental theory of PSO algorithm and the mapping relationship with agents are introduced in Section 4, and simulation examples are provided in Section 5. Finally, some conclusions are drawn in Section 6.

2. Preliminaries

Let denote an undirected graph which consists of nodes, where is the set of vertices and is the set of edges. The weighted adjacency matrix is denoted by , where if and only if and otherwise. A path between and is a sequence of distinct vertices , where . An undirected graph is connected if there exists a path from any node to any other node . Multiagent systems consist of agents. Each agent can be described as a node and the exchange information among agents can be expressed as an edge with definite weight in a generalized graph. Therefore, the problem of multiagent systems can be solved through the graph theory.

For the sake of disscusion below, some difinitions and lemmas are given as follows.

Definition 1. The consensus of a multiagent systems is said to be achieved if, for any initial condition, there exist and for and .

Lemma 2 (see [24]). Let , , and ; if is a symmetric matrix, that is, , then we havewhere represents an odd function.

3. Consensus Analysis of Multiagent Systems

Considering a general second-order multiagent systems with undirected graph, the dynamics of the agent are described aswhere , and are the position, velocity, and control input of agent , respectively; and is the number of agents.

In this paper, a suitable control protocol needs to be chosen for the multiagent systems (2) to achieve consensus. Inspired by the results of [25, 26], an improved control protocol is given asand the general form of (3) is described aswhere and are positive constants; is the element of and is an odd function.

For the convenience of analysis, the time variable will be ignored from here on.

According to (4), (2) is rewritten as

Hence, we have the following Theorem.

Theorem 3. Consider the multiagent systems (2) with the consensus protocol (4), and let the exchange information topology graph of agents be undirected and connected; then the consensus can be achieved, i.e., and as for and .

Proof. Let , and then haveDesign the Lyapunov function candidatewithFrom (8) and (9), it is obvious that and ; then can be obtained. Taking the derivative of function , we getConsidering Lemma 2, we haveFrom (12) and (13), one getsDue to the assumption that is undirected and connected and is an odd function, it is obtained that . Hence, the following result is held:Let . From (14), hints that . Furthermore, can be deduced. Therefore, there exists such that , where , , and represents the vector space of .
Combining and (7), then we haveIn addition,In view of the exchange information topology graph is undirected, and there exists ; we haveFrom (16) and (18), can be obtained, indicating that is orthogonal to . Hence, is deduced, and then we haveandwhich hints thatFrom (21), we have , ; then , is obtained. Thereby, the results that and for and are obtained. The proof is completed.

In order to improve the control effect, the PSO algorithm will be introduced in the following disscusion.

4. PSO Algorithm and the Mapping Relationship with Agents

4.1. PSO Algorithm

As an optimization method, PSO algorithm seeks the optimum solution of an optimization problem via selecting some particles. The characteristics of each particle include position, velocity, and fitness value. The fitness value is calculated by the fitness function, where the merit of the particle is described by the fitness valule. In the solution space, each paritcle’s position and velocity are updated by the individual extremum and the population extremum , where and are updated by comparing the fitness value of the new particle.

Considering a dimension search space, let be a population with particles. The position and velocity of the particle are defined as and , respectively. The extremum of individual and population are defined as and , respectively. The velocity and position updating laws of the particle at the iteration are given aswhere and are the position and velocity component of the individual, respectively; is inertia weight; are acceleration factors; are random numbers between 0 and 1; is the best position component of the individual and is the best position of the entire population.

In this paper, the updating laws (22) and (23) are improved and the results are given aswhere

Remark 4. From (26) and (27), note that the attributes of and are the same as those of and . However, compared with and , and not only overcome the uncertainty of random variation but also have the capacity of adaptive adjustment. In addition, due to being introduced in the updating law (25), the smoothness of the convergence result can be guaranteed in the end of the algorithm.
As an important part of PSO algorithm, the fitness function in this paper is designed aswhere is the dimension of each particle; is the fitness value of the particle in the iteration; and are the initial states of agents and represents the iteration.
Let and be the simulation time and simulation step, respectively. Hence, the maximum number of iterations is defined as

4.2. Mapping Relationship Design

For a multiagent systems with agents, each agent is considered as a particle. Let and be the position and velocity of the agent, respectively. Then the sets of position and velocity are expressed as and , respectively. In the PSO algorithm, let and be the position and velocity of the particle, respectively. Consequently, the mapping relationship between particles and agents is shown in Figure 1.

The operation process of PSO algorithm is given as follows:

Step 1. Initialize the population and the position and velocity of all agents.

Step 2. Assign the position and velocity and to each particle.

Step 3. Run system model and calculate the fitness function (29).

Step 4. Judge the termination codmitions and update and according to (24) and (25).

Step 5. Repeat Steps 2 and 4.

The flowchart is shown in Figure 2.

5. Simulation Analysis

Considering the second-order multiagent systems (2) with four agents, the exchange information topology graph is shown in Figure 3.

The weighted adjacency matrix is

The parameter settings are shown in Table 1.

In addition, the updating laws (26), (27), and (28) are used for (24) and (25), respectively. According to the number of agents, it can be deducted that the dimension . To illustrate the validity of proposed control protocol (3) and the control effect of PSO algorithm, the following simulation examples are provided.

Example 5 (comparison the control protocol (3) and the standard PSO algorithm). In this example, we consider the consensus of multiagent systems (2) with control protocol (3) (scheme 1) and the standard PSO algorithm (22) and (23) (scheme 2); the simualtion results are shown in Figures 46.
The consensus of position and velocity with the control protocol (3) are shown in Figure 4. It can be found that the control effects are not good from Figure 4. Applying the standard PSO algorithm, the comparison results are drawn in Figures 5 and 6. Compared with control protocol (3), the consensus achieving time and the overshoot have been greatly improved by using the PSO algorithm.

Example 6 (comparison the standard PSO algorithm and the improved PSO algorithm). In this example, the consensus of the multiagent systems (2) with the standard PSO algorithm (22) and (23) (scheme 2) and the improved PSO algorithm (24) and (25) (scheme 3) is considered; the simualtion results are shown in Figures 7 and 8.
From Figures 7 and 8, it can be seen that the output of all agents have been further improved. Compared with the srtandard PSO alorithm, the improved PSO algorithm not only reduces the consensus achieving time and overshoot but also makes the curves smoother. In general, in the ability to improve the control effect of the multiagent systems, the improved PSO algorithm proposed in this paper is superior to the other two proposed approaches.

6. Conclusion

In this paper, we discussed the consensus problem of a class of second-order multiagent systems with the PSO algorithm. An improved consensus protocol was designed, and then the convergence was analyzed by the Lyapunov stability theory. The PSO algorithm was introduced to improve the control effect of the multiagent systems. And then an improved PSO algorithm was proposed. In addition, we designed a mapping relationship with the agents and the individuals of PSO algorithm. Finally, the simulation results showed that the consensus with the proposed control protocol can be achieved. Also, the control effect can be improved by using PSO algorithm; and the better control effect can be obtained by utilizing the improved PSO algorithm.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work is supported by the Aeronautical Science Foundation of China (Grant no. 20155896025).