Abstract

Collective motion is a promising field that studies how local interactions lead groups of individuals to global behaviors. Biologists try to understand how those subjects interplay in nature, and engineers are concerned with the application of interaction strategies to mobile vehicles, satellites, robots, etc. There are several models in literature that employ strategies observed in groups of beings in nature. The aim is not to literally mimic them but to extract suitable strategies for the chosen application. These models, constituted of multiple mobile agents, can be used in tasks such as data collection, surveillance and monitoring. One approach is to use phase-coupled oscillators to design the mobile agents, in which each member is an oscillator and they are coupled according to an interconnection network. This design usually does not keep track and handle the possible collisions within the group, and real applications obviously must manage these situations to prevent the equipment from crashing. This paper introduces a collision avoidance mechanism to a model of particles with phase-coupled oscillators dynamics for symmetric circular formations.

1. Introduction

Phase-coupled oscillators may be employed to model several systems of interacting individuals, such as neurons in a brain, coupled pendulums, groups of living beings [1] and applications of collective motion [2, 3]. One of the most prominent paradigms of the field of phase-coupled oscillators is the Kuramoto model [4], in which the oscillators’ interactions are mediated via sinusoidal coupling. This model opened possibilities for the study of synchronization [59].

Biologists try to identify local interaction rules that lead groups of agents to ordered collective motion such as flocks of birds [10, 11], schools of fish [12], and several other living beings [13]. Some models consider such knowledge, as in the case of the well-known boids [14] which interact with each other according to three rules: attraction, repulsion and alignment.

A well-known model for collective motion was proposed by Vicsek et al. [15] in which, depending on the density of the particles and the noise amplitude, the particles converge to an ordered motion. This motion is also known as flocking and is characterized by particles moving in parallel to the same direction.

Sepulchre et al. [2, 16] developed a model to lead particles with coupled-oscillator dynamics to synchronized and balanced states, showing parallel and circular formations with symmetric patterns. Jain and Ghose [3] stabilized their models to formations whose centroid converges to a desired spatial coordinate. Besides, the radii of the circular formations may vary for each agent, with the same (or not) center of rotation, and is divided into synchronization subgroups.

Circular formations are found in groups of fishes and bacteria [13]. Engineering applications of this kind of motion are related to tasks that require the agents to visit places periodically, like in surveillance, data collection, transport, etc.

In this work we improve the control for symmetric circular formations proposed in Sepulchre et al. [2, 16] by adding a collision avoidance term, based on the balanced states of Kuramoto model. The purpose is to guarantee that the agents do not collide with the neighbors in their vicinity, so that the model can be applied to more general scenarios such as the ones founded in autonomous vehicles and satellite constellations.

Moreover, we solve the inverse problem of optimization to find the optimal control parameters, using the Multiobjective Generalized Extremal Optimization (M-GEO) algorithm [1719]. The aim is to establish a combination of parameters that leads the group to the symmetric circular formations and guarantees that the agents are not going to crash.

The application of such model in real applications may require the usage of a data assimilation technique [2022]. Its role is to incorporate the sensor readings into the model to correct the discrepancies between its state and the real state of the device. Still, the model may also be deployed along with a control strategy [23] whose role is to apply changes in the machine state, considering its inertia, limited speed, maximum angular velocity, etc.

We consider here that the agents communicate according to three network schemes: (1) all-to-all, (2) a ring-like topology, and (3) a dynamic network. The first case was used in the optimization procedure and deals with agents that are able to communicate with neighbors at any distance. The ring-like topology is the circulant network topology with the fewer possible number of connections. It is applicable when the agents’ hardware is limited to the point of not being able to process all the data coming from the other agents. In this topology, each agent receives data from only two neighbors. Lastly, the agents communicate through a dynamic network whose connections are created or removed according to the Euclidean distance between agents. When a neighbor approaches the sensory region (radius) of an agent, one adds a connection between them. On the other hand, when the neighbor leaves this radius, the connection is broken.

2. Particles with Coupled-Oscillator Dynamics

Our underlying system consists of identical individuals with unitary mass and velocity. They maneuver at constant speed according to steering controls. Each particle position is given by , the direction of the velocity vector by , and phase for . The phase represents the heading angle of the particle, pointing out the direction of motion.

Let be the vector of particles’ positions, the velocity vector, and the maneuver control (feedback control).

The particle model is the following:

When the particles move in a straight line towards their initial phase (heading angle) . Still, when , i.e., if not coupled with others, particle moves in circular trajectories centered at with radius , as shown in the following:

The center of mass of the group is

When for all pairs and , particles are synchronized. On the other hand, if the phases are spread in such a way that they cancel each other with opposite values, they are said to be balanced. These two extreme states are measured with the Kuramoto order parameter [24], given by the following equation:with , and . The order parameter corresponds to the velocity of the particles center of mass, since . When , they are in a balanced state with the center of mass in a steady position, and stands for the synchronized state, in which the center of mass moves at unitary velocity.

The order parameter represents the centroid of the first harmonic of the particle headings and is used to define the potential (5) [2]:whose maximum and minimum are characterized by synchronized and balanced phases, respectively. This potential is a direct candidate to be a Lyapunov function, because it is strictly positive, and it is zero only in the equilibrium point, that is, when the phases are balanced, and therefore . It reaches its unique minimum (balancing) when , and its unique maximum (synchronization) when all phases are identical. All other critical points of are saddle points [2]. Its gradient, with relation to phase , is described by the following:

This inner product is defined by , for , and is the conjugate of the complex number [2]. Thus,with a gain.

Sepulchre et al. [2] showed that all solutions of this system are asymptotically stable for the described case, with all-to-all coupling.

2.1. Circular Formations

Circular formations are achieved with a composed potential which contains an orientation control and a spacing control. Their aim is to stabilize both the relative orientations of the velocity vectors and the positions relative to the center of mass of the group, respectively [25].

Let the rotation centroids of particles be represented by the vector .

Definition 1 (circular formations). A circular formation is a relative equilibrium regime in which all particles travel around the same centroid, i.e., for every pair and .

Consider the following potential:so that is the Laplacian matrix, withand being the set of neighbors of in the interconnection network. For an all-to-all coupling, .

The control for the -th particle associated with this potential is shown in the following [26]:in which is the -th row of the Laplacian matrix. It is able to stabilize the particles rotation centers to the same position.

The circular formations can be used in systems of multiple agents to perform tasks like area monitoring or data collection, since the particles visit the same places periodically. Hereafter, we show how to form clusters of particles inside the circular formation.

Consider the following rewritten order parameter [2]:representing the -th harmonic of the particle phases, with . corresponds to the synchronization of the -th phase harmonic, and is its antisynchronized state. The centroid of the phase harmonic is [25].

The synchronized state is characterized by . Note that implies for . The splay state is given by , ; i.e., the phases are evenly distributed around the unit circle.

Now consider a natural generalization of the potential (5):

Theorem 2. Let . The potential reaches its minimum when (balancing modulo ) and its unique maximum when the phase difference between any two phases is an integer multiple of (synchronization modulo ). All other critical points of are saddle points of (proof in [2]).

The idea is to use linear combinations of this potential to achieve arrangements of particles inside the formation. For this purpose, consider a positive integer, divisor of . A pattern is a symmetric arrangement of phases divided into clusters. corresponds to the synchronized state, in which all particles have the same phase, and the pattern relates to the splay state, when the phases are uniformly distributed around the unitary circle (balanced state).

An arrangement of particles, with clusters is a pattern . For example, if there are 12 particles in the system and they form two clusters, of 6 particles each, this arrangement represents a pattern.

Consider the potential formed with the linear combinations of :

An arrangement is formed if and only if the set of phases leads to its global minimum, with , for and (proof in [2]).

The resulting control to achieve symmetric circular formations with all-to-all interaction is the composition of controls (10) and (16), as follows:for is the natural frequency, a gain, is the set of particles’ centers, and is the projection matrix -th row, defined as ,and potential gradient

Figure 1 shows simulations with particles with random initial conditions and control (14) for all-to-all interaction.

The corresponding control to more general undirected interconnection networks is the following:with gradient

The stability of (18) is guaranteed under the condition that the communication network is circulant [3, 16]. A circulant network is completely defined by its first row and each subsequent row is the previous row shifted one position to the right with the first entry of the row equal to the last entry of the previous row.

3. Collision Avoidance Mechanism

Considering the control of (7), when the particles achieve a balanced state, with the phases well distributed around the unitary circle such that the order parameter tends to zero. Motivated by this behavior, we propose the introduction of a repulsion term rep in (14) and (17), so that the phases of close range particles are adjusted to avoid collision, by moving apart.

The repulsion term comes from a generalization of the potential from (5), for limited communication:

Substituting the term by , so that and are the Projection and Laplacian matrices, respectively, results in

Equation (20) is also called Laplacian phase potential [26]. Its correspondent gradient is given bywhich corresponds tofor is the set of neighbors of agent and is the number of neighbors in the set . This gradient leads the solutions to the stationary points when the Laplacian matrix is circulant. We employ the gradient of the Laplacian phase potential as a repulsion term:with being the strength of the repulsion. An agent belongs to if it is within a predefined radius , centered at .

The idea behind the repulsion term of (23) is that the agent tries to balance its heading angle with its closest neighbors . This results in an adjustment of agent’s heading angle to the opposite direction in relation to .

One drawback of this approach is that it is not possible to guarantee that the matrix is circulant, since is time-varying. However, the neighbors indeed repel the agent as desired.

The new controls for symmetric circular formation with the term are shown in (24) and (25) for all-to-all and limited coupling networks, respectively:with .

4. Optimization Problem

The gain is related to the circular formations and the to the collisions control. One has to deal with the trade-off between the gains and , since the possible combinations lead the system to numerous behaviors. When is much higher than , the particles achieve a circular formation but are susceptible to crash. The opposite () is also problematic, since the clusters may never emerge due to the excessive repulsion.

This trade-off between and characterizes a multiobjective problem, in which one wishes the agents not to collide and to keep the balanced formation. Thus, there can exist more than one optimum, and these values constitute the so-called Pareto frontier, whose number of dimensions correspond to the number of objective functions. Finding optimal values of and is the objective of this section.

The basic structure of evolutionary algorithms consists of the selection of an initial population, application of random modifications and evolutionary operations into the individuals, evaluation according to a fitness criterion, and selection of the next generation [27]. In this section, we use the term “population” to the solutions of the optimization problem and not to the particles of the model.

The chosen algorithm is the Multiobjective Generalized Extremal Optimization (M-GEO). The main advantage of this algorithm over others is that it has only two parameters, the number of bits to represent the design variables and an exponent that controls the rate of mutation of the design variables, in order to avoid local minima.

In the M-GEO, each individual of the population is a bit of a sequence of bits that represents a solution. This sequence is converted into real values for the design variables and and is then used to calculate the objective functions. This solution evolves according to operations of bit flip, following a probability distribution that generates different values of and . This mechanism guarantees that the solution is not stuck at local minima (or maxima). The algorithm heuristic guides the solution to the direction of minimization (or maximization) of the chosen objective functions. The aim is to seek for the most adapted solutions for the problem.

The minimum number of bits necessary to represent a design variable in order to obtain a desired precision is calculated as follows:such that and are the lower and upper bounds, respectively, of variable , with . We use here project variables, namely, , with boundaries and . We chose our precision to be , which results in bits for each variable, sincefrom (26). A solution of the M-GEO in our problem has then 14 bits, corresponding to the two design variables.

We used two objective functions:(i): In (4), when , we say the agents are in a balanced state. As aforementioned, these symmetric formations are indeed balanced formations. Thus, we want to minimize this parameter.(ii): it is the number of imminent collisions per second. When two particles and are too close to each other, with , for is a threshold distance, we say the agents are in a situation of imminent collision. Each time it happens, we accumulate a score, by adding unit for each second an agent is in this state. At the end of the simulation, there is a number of imminent collisions, which we want to minimize as much as possible.

We model this multiobjective minimization problem as follows:so that , and is the maximum simulation time of the model 1.

The M-GEO configurations are the following (for more details about the algorithm, see [18, 19]):(i). This range was used in the simulations performed by [28] with monobjective problems. Reference [18] also used it in the multiobjective case, finding best results in the interval .(ii)Number of bits per design variable is , corresponding to a precision of .(iii)Number of runs for each is .(iv)Total number of objective function evaluations is . It means that the algorithm evaluates the objective functions times for each .

The initial conditions and parameters for the model of phase-coupled oscillators are as follows:(i) agents randomly positioned inside a rectangle of dimensions , for (ii)Control of (24), for all-to-all coupling.(iii)(iv), the collision radius(v)(vi) being the total time of each simulation.

As we are dealing with a multiobjective optimization problem, there is not only one optimal result. Instead, we have the so-called Pareto frontier that contains the set of trade-off solutions. Every solution in this set is considered optimal. Our results are depicted in Figure 2. If we run the M-GEO with a more accurate precision and a higher number of evaluations of the objective function NFE, other optimal values may appear. It means that the values found so far are possibly suboptimal solutions.

5. Simulation Results

In this section, we present three simulation scenarios of network coupling: (1) all-to-all, (2) ring-like topology, and (3) dynamic network.

The choice of which solution one should use in the simulations is possible. One approach is to choose the one whose distance until the utopian solution is minimum. The utopian solution would be composed of the best possible values for each objective function. In our case, this point is . The closest solution to this point is generated by and . In fact the scales for and are completely different and the distance is dictated pretty much by . Nevertheless, we would choose this solution anyways, since the symmetric circular formations are guaranteed and the number of collision is minimum when compared to the others.

The optimization process did not impose any hierarchy relation between the objective functions and . Indeed, we seek for combinations of and that achieve the symmetric circular formations and avoid collisions. If the optimization procedures were applied considering only the objective function , the particles would probably not collide at the cost of never achieving the circular shapes.

The following simulations are then performed with control gains and .

5.1. All-to-All

The simulations for the all-to-all communication topology, with the optimal control parameters, are presented in Figure 3, with , , and . Particles seem to establish the formation and the clusters, accordingly. Figure 4 shows simulations with not optimal parameters, for comparison purposes. One may observe that the balancing between collision avoidance and the clusters does not hold in this last setup.

We take into account the fact that each agent has a repulsion region of radius . The neighbors inside this region are used to calculate the repulsion term for each agent. Here, we consider the agents are particles, without a real size. However, in real applications, the bigger the agents are the higher the radius and/or the gain must be, as they have to start to avoid the neighbors before they reach a critical distance. The parameters and state the initial distance considered for the usage of and also the maneuver intensity.

5.2. Ring-like Topology

Now, consider the case in which the agents are able to communicate to each other at any distance, but they have limited processing capacity. This scenario is challenging, but possible to handle if we impose a fixed network topology for the agents’ communication, with fewer connections than the all-to-all topology. One good option is the ring-like topology, since it is circulant and has the minimum possible number of edges (connections). It allows the agents to have only two fixed neighbors and therefore do not overload their processing capacity.

Figure 5 exhibits simulation results for a ring-like coupling topology, using control (25), and Figure 6 presents results for simulations with not optimal control parameters, for comparison purposes. The control (25), for network-based coupling, is an approximation of the control (24), for the all-to-all case. It means that the results are not completely equivalent.

The pattern (splay state), that is when the phases are all uniformly distributed around the unitary circle, seemed to not have been achieved with this setup. The same problem is also observed in Figure 3. It is probably related to the rotation radius of the particles. The bigger it is, the more distributed inside the formation the particles look like.

5.3. Dynamic Network

We now show simulation results using dynamic network topologies. Each agent has a vision radius, simulating a limited sensory region. This region has a radius , indicating that if an agent is at a distance less than or equal to from agent , then is said to be neighbor of . This must be larger than .

There are no guarantees that the network is circulant, for any sensory region radius . Perhaps, an alternative to real applications is to establish a natural frequency so that the rotation radius is equivalent to the sensory region of the agents. It allows the agents to see nearly all the others. If , we can make sure all the agents will see each other, for certain , depending on the initial conditions.

The aforementioned scheme is applicable if the agents’ hardware is able to sense all the agents inside the radius . It is suitable when considering dynamic setups with agents being introduced, removed, or replaced online.

Figure 7 presents simulation results for symmetric circular formations of clusters, for different values. When , for , the circular formations rarely occur, due to the fact that the resulting networks are not circulant (Figure 7(a)). Figure 8 illustrates results of simulations with non-optimal control parameters and .

Figure 8 shows that results are better for the nonoptimal configuration, when . The optimal control parameters found for all-to-all coupling seem not suitable for the dynamic case, which suggests the employment of a specific optimization procedure.

The presented strategy for collision avoidance seemed to be effective in safely maintaining the agents close to each other without crashing. The better scenario is the all-to-all communication, because of its simplicity. However, it is possible that the agents’ hardware is not able: to process all the information coming from the neighbors or to send (receive) data to (from) long distances. These two cases are managed with the control for limited communication, which is an approximation of the all-to-all scenario.

6. Conclusions

For real applications involving vehicle in formation movement, namely, mobile robots, unmanned aerial vehicles, and others, one needs to define a collision avoidance mechanism. For this purpose, based on the Kuramoto model, in a model of phase-coupled oscillators for symmetric circular formations, a specific extra term was added. When an agent has neighbors in its vicinity, this term tries to balance its phase with them in such a way that it goes to their opposite direction.

The concept of vicinity is defined by a radius around the agent and its size depends also on the agents size, because of the reaction time before an imminent collision. The bigger the agents are the higher the radius must be, as they have to start maneuvering before they reach a critical distance.

We solved the inverse problem of optimization to find the proper parameters for the model, in order to both reach the symmetric circular formations and prevent the agents from colliding. This characterizes a multiobjective problem, which we solved with the evolutionary algorithm M-GEO.

To depict the results, we conducted simulations with the resulting parameters for all-to-all coupling, ring-like network topology and dynamic networks. The all-to-all coupling is useful when the agents do not have hardware limitations to both send (receive) data to (from) long distances and to process all the information received from the neighbors. However, when any of these two problems is present, the ring-like and dynamic topologies may be useful.

The results with the collision avoidance mechanism showed to be effective for its purpose. The next step of this research is to deploy this model into real applications and to also consider communication delays among agents.

Disclosure

This manuscript was partially presented in the 8th International Conference on Physics and Control (PhysCon) 2017.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research is supported by Sao Paulo Research Foundation (FAPESP), Grants 2015/50122-0, 2017/04552-9, and 2017/24224-6; DFG-IRTG, Grant 1740/2; Conselho Nacional de Desenvolvimento Cientifico e Tecnologico (CNPq), Grant 458070/2014-9; the Coordenacao de Aperfeicoamento de Pessoal de Nivel Superior (CAPES).