Reconfigurable formations of quadrotors on Lissajous curves for surveillance applications
Aseem V. Borkar, Swaroop Hangal, Hemendra Arya, Arpita Sinha, Leena, Vachhani

TL;DR
This paper develops smooth trajectory planning methods for reconfiguring multi-quadrotor formations on Lissajous curves, enabling collision-free surveillance and area coverage with theoretical analysis, simulations, and real-world experiments.
Contribution
It introduces a novel calculus of variations-based approach for collision-free reconfiguration of quadrotor formations on Lissajous curves, validated through simulations and real experiments.
Findings
Successful collision-free reconfiguration demonstrated in simulations.
Validated trajectory planning with quadrotors in a motion capture environment.
Effective area coverage and rogue target detection capabilities confirmed.
Abstract
This paper proposes trajectory planning strategies for online reconfiguration of a multi-agent formation on a Lissajous curve. In our earlier work, a multi-agent formation with constant parametric speed was proposed in order to address multiple objectives such as repeated collision-free surveillance and guaranteed sensor coverage of the area with ability for rogue target detection and trapping. This work addresses the issue of formation reconfiguration within this context. In particular, smooth parametric trajectories are designed for the purpose using calculus of variations. These trajectories have been employed in conjunction with a simple local cooperation scheme so as to achieve collision-free reconfiguration between different Lissajous curves. A detailed theoretical analysis of the proposed scheme is provided. These surveillance and reconfiguration strategies have also been…
| Number of agents before reconfiguration | ||||
|---|---|---|---|---|
|
||||
|
||||
| Number of agents after reconfiguration | ||||
|
||||
|
||||
|
||||
|
||||
|
|
10 | 7 | 4.7 | 9.5 | 0.5 | 2 | 1.05 | ||
|
10 | 7 | 1.5 | 3.2 | 1 | 2 | 1.05 | ||
|
25 | 16 | 7 | 11 | 0.3 | 1 | 1.05 | ||
| Experiment | 5 | 5 | 2.7 | 5.5 | 0.2 | 1 | 1.05 |
|
5 | 3.5 | 2 | 3 | 5 | 4 | 6 | 0.0345 | 0.481 | |||
|
5 | 3.5 | 4 | 11 | 15 | 14 | 16 | 0.023 | 0.074 | |||
|
12.5 | 8 | 3 | 7 | 0 | 10 | 9 | 10 | 0.0045 | 0.459 | ||
| Experiment | 2.5 | 2.5 | 3 | 2 | 0 | 5 | 4 | 5 | 0.0222 | 0.407 |
| Structure |
|
|||
|---|---|---|---|---|
| Motors | EMax RS2205S 2300kV | |||
| Propellers |
|
|||
| Speed Controllers |
|
|||
| Flight Controller |
|
|||
| Companion Computer |
|
|||
| Battery |
|
|||
| Total Weight | 1.18 kg | |||
| Endurance | 12-14 minutes |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Reconfigurable formations of quadrotors on Lissajous curves for surveillance applications
Aseem V. Borkar
Swaroop Hangal
Hemendra Arya
Arpita Sinha
Leena Vachhani
Interdisciplinary Programme in Systems and Control Engineering, Indian Institute of Technology Bombay, Mumbai 400076, India
Department of Aerospace Engineering, Indian Institute of Technology Bombay, Mumbai 400076, India
Abstract
This paper proposes trajectory planning strategies for online reconfiguration of a multi-agent formation on a Lissajous curve. In our earlier work [2], a multi-agent formation with constant parametric speed was proposed in order to address multiple objectives such as repeated collision-free surveillance and guaranteed sensor coverage of the area with ability for rogue target detection and trapping. This work addresses the issue of formation reconfiguration within this context. In particular, smooth parametric trajectories are designed for the purpose using calculus of variations. These trajectories have been employed in conjunction with a simple local cooperation scheme so as to achieve collision-free reconfiguration between different Lissajous curves. A detailed theoretical analysis of the proposed scheme is provided. These surveillance and reconfiguration strategies have also been validated through simulations in MATLAB{}^{\tiny\mbox{\textregistered}}\for agents performing parametric motion along the curves, and by Software-In-The-Loop simulation for quadrotors. In addition, they are validated experimentally with a team of quadrotors flying in a motion capture environment.
keywords:
Lissajous curves , Multi-agent systems , Calculus of variations , Formation reconfiguration , Area surveillance
1 Introduction
The autonomous area surveillance task involves planning paths for a single/multiple autonomous agents with a limited sensing range. This could be done so as to ensure that all points in an area of interest are viewed /sensed repeatedly in finite time, with guaranteed detection of a target of interest in the area being monitored. Multi-agent systems offer several advantages over single agent systems for repeated coverage and target detection tasks. The most significant the search and detection of a rogue element, and reduction of the time required for a single agent, which is alleviated by the parallelism implicit in multi-agent implementations. Another notable advantage is the increased robustness due to redundancy. Some major application domains are searching for threats [28], surveillance ([21], [24]), and so on. Some preliminary results in regard to the proposed strategy were presented in [2], where a trajectory plan was proposed for a multi-agent formation on a Lissajous curve in order to achieve the following objectives simultaneously:
- O1
Complete and periodic coverage of the rectangular region of interest. 2. O2
Collision-free patrolling for agents having finite non-zero size with agent speed bounded above by . 3. O3
Finite time entrapment and detection of a rogue element held at the center of the region.
The prior work in [2] considered a non-cooperating group of agents on a Lissajous curve and exploited the geometric properties of the curve to meet the above objectives simultaneously. Also, in [2] a sufficient upper bound on the agent size was derived in order to guarantee collision-free motion of the multi-agent formation.
In this paper, we extend the work of [2] to a cooperating reconfigurable multi-agent formation on Lissajous curves. Our proposed reconfigurable multi-agent formation guarantees smooth and collision-free trajectories for formation reconfiguration, considering the following operations:
[TABLE]
The key features of the proposed reconfiguration strategy are:
A connected communication graph between the formation agents having limited communication range for cooperation. 2. 2.
Parametric trajectories for smooth acceleration, deceleration and transitions between Lissajous curves. 3. 3.
Cooperative assignment schemes for each reconfiguration operation to ensure collision-free multi-agent transitions from one Lissajous curve to another. 4. 4.
Collision-free trajectories are designed for agents having finite non-zero size satisfying the size bound derived in [2].
The proposed strategy has potential applications to target search, repeated surveillance, monitoring and mapping of dynamic environments, area sweeping for cleaning, spraying, etc.
The rest of this paper is organized as follows: Section 2 recalls some related works. Section 3 discusses some preliminaries about Lissajous curves and the design of smooth trajectories using the calculus of variations approach. Section 4 discusses the theoretical details of the proposed surveillance strategy and gives a systematic algorithm to implement it, recalling some earlier work from [2]. Section 5 discusses the proposed formation reconfiguration strategies for addition, removal and replacement of agents in the multi-agent formation proposed for the surveillance strategy discussed in Section 4. Section 6 validates the proposed surveillance and reconfiguration strategies through simulations and experiment. Section 7 concludes the paper.
2 Literature survey
The novelty of the work presented here is in simultaneously addressing multiple surveillance objectives, while ensuring collision-free paths for the multiple agents having a finite non-zero size. In literature, several methods have been proposed to address the aerial surveillance problem [13, 12, 3, 23, 11]. [13] takes an approach based on temporal logic. [12] proposes a strategy based on parametrized curves using splines. In contrast, [3] takes a ‘planning’ viewpoint based upon casting the problem as a partially observed Markov decision process (POMDP). [23] have addressed the surveillance problem with a particle swarm optimization based approach. The article [11] takes into account energy considerations leading to a distinctive estimation/optimization problem. Our proposed surveillance strategy is based on tracking a parametric curve, viz., the Lissajous curve, that lends itself to a clean analytic way of path planning with a priori guarantees in certain performance criteria.
While complete area coverage is subsumed in our objective, our scheme goes well beyond it towards surveillance and detection of rogue elements. Coverage by itself has been extensively researched as a stand-alone theme. We recall a few relevant works here. One of the approaches for single agent area coverage is cell decomposition (discussed in [5]) wherein an area is divided into cells and these cells are searched systematically using zig-zag scan patterns. Occupancy grid based strategies studied in [29], use a distance transform to assign a specific numeric value to each free grid element starting from a ‘goal’ point, and a pseudo-gradient descent approach to generate a coverage path from ‘start’ to ‘goal’. The grid based algorithms such as Spiral Spanning Tree Coverage Algorithm [7] and the Backtracking Spiral Algorithm [9] ensure that the robot returns to its starting grid location after completion of the coverage task. Thus these algorithms can be used for repeated coverage tasks. Some of these approaches have also been extended to multi-agent scenarios ([30], [15]). Another problem relevant to patrolling is target search and detection. Recent works in this direction include: gradient based strategies for multi-UAV search [8], Voronoi partition based strategy using an uncertainty map [10], and game theoretic search strategies [26]. In comparison to these approaches, the proposed strategy gives deterministic guarantee on repeated complete coverage and target detection in finite time.
Closer in spirit to our approach are the works based on well defined geometric curves such as raster scanning zigzag paths used in cell based schemes discussed in [5], [15], etc., and space filling curves such as the Hilbert curve for multi-agent coverage in [25], and for non-uniform priority based coverage in [22] and [20]. These curves often involve sharp turns and require additional path planning to return to the ‘start’ position to repeat the task. However, Lissajous curves have a simple parametric form and an appropriate choice of describing variables results in a smooth periodic curve called a ‘non-degenerate Lissajous curve’ ([6]) of prescribed mesh density within a rectangle of any dimensions. The parametric form of the Lissajous curve simplifies the expression for a moving reference point that can be tracked by a robot. The problem of optimal choice of a Lissajous curve for multi-agent persistent monitoring of 2-D spaces has been addressed in [14], where each agent is assigned a separate Lissajous curve. Unlike [14], the aim of this work is to explore the advantage of multiple agents following a single curve so that each agent covers the entire area over the period of time. This feature allows robustness against failure and fast coverage due to parallelism. It also makes this approach suitable for surveillance tasks where each agent is equipped with different types of sensors.
In this work we also propose collision-free online reconfiguration trajectories for the multi-agent formation on Lissajous curves proposed in [2]. We highlight some literature in broadly related areas with similar motivations regarding multi-agent formation reconfiguration. [27] have proposed a decentralised trajectory planner which guarantees convergence of a multi-robot formation to a centralised trajectory. Additionally, they use a simple rule based assignment methodology for collision-free formation shape reconfiguration. In [1], a quadrotor team is employed for building a structure. For this task, collision-free routes to shared resources, such as battery charging stations, are computed using reserved passing lanes and reservation systems.
The problem of agent removal for recharging or refuelling in long endurance missions has been posed as a problem of scheduling and goal-reassignment task in [19] and [18]. [19] present a heuristic method to solve a Mixed Integer Linear program (MILP) formulation in order to efficiently cover a set of targets with agent removal for recharging. In [18], this approach has been extended considering an energy aware optimisation objective with an initially uncertain energy expenditure model.
In [16] and [17], a Mixed Integer Quadratic Program (MIQP) formulation has been used to plan piecewise smooth collision-free trajectories for formation reconfiguration. Of these, [16] use integer constraints to enforce collision avoidance for formation reconfiguration of a heterogeneous team of quadrotors. In [17] trajectories are computed for online substitution of quadrotors in a multi-quadrotor formation. In [19, 18, 17] and [16] the reported experiments have been conducted by implementing the proposed trajectory planners with appropriate optimisation solvers on a central computer which commands the robots in flight.
Other recent approaches of formation reconfiguration and control include the Virtual Rigid Body abstraction in [31] and the use of path planning algorithms based on sequential convex programming (SCP) in [4]. In [31], collision-free trajectories are obtained to maintain a fixed relative quadrotor formation in a manoeuvre and also to switch between a sequence of quadrotor formations. In [4], an incremental sequential convex programming algorithm has been proposed for finding feasible collision-free trajectories for quadrotor teams. These are computed in near real time on a central computer.
Note that these works depend significantly more on centralised processing as compared to our proposed reconfiguration scheme.
3 Preliminaries
Let the dimensions of rectangular environment be with . We consider the Lissajous curves with parametric equation
[TABLE]
where is the parameter, and are co-prime positive integer constants (having common factors, results in the same Lissajous curve, e.g., and ). The coordinates and are defined along the directions parallel to the sides of the rectangle and the origin is chosen to be the center of the rectangular region.
For the work presented in this paper, only non-degenerate Lissajous curves (refer [6]) are considered, with the property that its entire curve length is traversed only once along a single direction by the running parameter in the parametric period of . To ensure non-degeneracy of (1), must be an odd integer. The properties of non-degenerate Lissajous curves used to derive some results in this paper are stated with proofs in the online supplement111 https://drive.google.com/open?id=0B4lbdPZ-BnshS25qcVc3TlNnV1U . The points on the Lissajous curve which are encountered twice within a complete traversal of the curve are called intersection points (red and green points in Fig. 1), and the points where the Lissajous curve touches the boundaries of the rectangular region of interest are called boundary points (black and magenta points in Fig. 1). Together, the intersection and boundary points are referred to as node points.
To guarantee smooth collision-free motion of the agents while ensuring that the speed of the agents is bounded above by (the maximum allowable speed of the agents), smooth transition trajectories are used. The trajectories are designed to be at least twice continuously differentiable, using calculus of variations approach.
For this purpose, we consider the solutions of the calculus of variations problem given in Lemma 1:
Lemma 1
The optimal function minimizing the integral for fixed end time , subject to the following sets of boundary conditions, is as follows:
- C1
*For , , , *free, , , it is:
. 2. C2
For , , , , , , it is:
.
The proof for Lemma 1 is given in the appendix.
Notation : We define the following notations for brevity of representation: , are start and end times of a parametric trajectory. is the time period of the transition trajectory. where is the current time. where are initial and final parametric positions at times and respectively. Similarly , where are initial and final parametric speeds at times and respectively.
Lemma 1 gives the template for designing the following trajectories for the reconfiguration strategy:
Monotone transition trajectory
To design a monotone transition trajectory for smooth acceleration or deceleration for a parameter from an initial parameter value and speed to a final parameter value and speed, we use the solution for the free end state and fixed end time boundary conditions C1 of the calculus of variations problem discussed in Lemma 1. In this case the boundary conditions on parameter value and speed are , and , and the terminal value of is free. Thus parameter trajectory and its derivatives are as follows:
[TABLE]
Some properties of the and its derivatives are summarised as follows:
, implying constant parametric speed at the beginning and the end of the transition trajectory in the time window . 2. 2.
From (4), and are the solutions of , and they are the only extremizers of . For from (5), and which implies is monotonically increasing in with minimum value at and maximum value at . By similar arguments, for , is monotonically decreasing in with minimum value at and maximum value at .
The value of the free terminal parameter depends on the fixed end time . Thus it depends on the width of the time interval specified for the transition. As a result, to obtain a desired final parameter value , the appropriate transition interval size , and can be calculated by substituting (i.e., ) in (2) and we get
[TABLE]
An example of this class of trajectories is shown in Fig. 2. The parameters that completely specify such a monotone trajectory are
[TABLE]
Symmetric transition trajectory
In order to move a parameter from the initial boundary conditions , and , to the final boundary condition , , and (i.e., parameter is stationary at initial and final time) over a fixed time window , we design a smooth trajectory that accelerates and decelerates symmetrically. This is done using the fixed end state and fixed end time boundary conditions C2 of the calculus of variations problem discussed in Lemma 1. Thus the parameter trajectory and its derivatives are as follows:
[TABLE]
Some properties of the and its derivatives are summarised as follows:
, , and . 2. 2.
From (10), and are the solutions of , and are the only extremizers of . For , from (11), and which implies attains maximum value at , and minimum value at and . By similar arguments, for , attains its minimum value at and maximum value at and . 3. 3.
For , the maximum value for the case and the minimum value for case are both attained at and
[TABLE]
An example of this class of trajectories is shown in Fig. 3. The constants which completely specify this trajectory are:
[TABLE]
The monotone transition trajectory is used to decelerate and accelerate the multi-agent formation along the Lissajous curve. The symmetric transition trajectory is used to design collision-free trajectories between Lissajous curves. The next section summarises and builds upon the prior work in [2].
4 Proposed surveillance strategy
The proposed surveillance strategy discussed in this section meets the objectives O1,O2 and O3 listed in Section 1 (as shown in [2]). To develop the theory for the proposed trajectory plans, we make the following assumptions:
Agents are helicopter or quadrotor like agents capable of hovering. 2. 2.
The search area is an obstacle-free rectangle of dimensions and all agents are homogeneous and identical. 3. 3.
Each agent has a circular noise-free sensor footprint of radius (i.e., half the diagonal length). 4. 4.
Position and timing information for each agent is available from an external source (e.g., visual feedback using cameras, GPS, etc.). 5. 5.
We assume ideal communication links without any delays or packet losses.
Given any non-degenerate Lissajous curve, the proposed multi-agent surveillance strategy defines collision-free trajectories for multiple agents on this curve, while ensuring that the agent formation lies on an elliptical locus centered around the origin at any instant of time. This is done by initially placing agents at equi-parametric separations on the Lissajous curve with constants in (1), and moving them along the curve at equal parametric speed.
We briefly recall the results of the surveillance strategy from [2] in the following subsections. Later in the paper, we extend this strategy to a reconfigurable formation of agents on Lissajous curves.
4.1 Multi-Agent formation
For the proposed placement of agents on the Lissajous curve, the initial parameter value of the agent is where . For the surveillance strategy, since all agents move at the same parametric rate on the Lissajous curve, the parameter value of the agent at any given point in time is given by , where . The position of the agent is a function of . From (1), and . Using the identity , . With a little abuse of notation, we denote the running parameter by for brevity. In Claim 2 given in the online supplement1, we have shown that by appropriate renumbering of the index by , the agents can be numbered along the elliptical locus rather than the Lissajous curve, and the resulting position coordinates of the agent with this new renumbering is given by
[TABLE]
where for .
There can be many pairs of mutually co-prime integers satisfying the relation . For example, with the mutually co-prime pairs satisfying are and . In [2] an algorithm was proposed for choosing the optimal pair that maximises the size bound on the agent and minimises the area coverage time (discussed in subsection 4.6). This algorithm could select a degenerate pair with even and odd , for example for . In [2], this issue was addressed by swapping the value of with and with , so as to get a non-degenerate Lissajous curve. This is equivalent to a rotation of reference frame.
In this paper, we propose an online formation reconfiguration strategy that switches between Lissajous curves. Hence it is convenient to maintain the same reference frame across the selected Lissajous curves. Therefore, we represent the swapping of with and with , by an equivalent phase shift in the original frame as follows:
After the swap, the position coordinates of agent on the resulting non-degenerate Lissajous curve are
[TABLE]
These coordinates can be expressed in the original reference frame by a rotation of , as given below:
[TABLE]
By substituting a negative parameter (reversing the direction of traversal), we get . Thus the general representation of the agent positions on the Lissajous curve for the proposed strategy is
[TABLE]
where and the offset is
[TABLE]
4.2 Elliptical formation locus
In [2], it has been shown that the agent positions given by (15) lie on a conic curve given by
[TABLE]
which represents an elliptical locus that is always centered about the origin .
For different values of parameter , different elliptical loci are obtained as shown in Fig. 4. For all , by (17) the parameter values result in the ellipse . Similarly parameter values result in a degenerate ellipse
[TABLE]
which is the straight line along the diagonals of the rectangular region defined by .
Notice that the equation of the ellipse given by (17), which is the locus for the multi-agent formation, is only dependent on the parameter and not . Now in (15), for an agent , if we make constant (fixing the ellipse) and vary the parameter , then we can achieve a parametric motion along the formation ellipse. Note that the formation ellipse has a parametric length in terms of the parameter , thus the proposed formation places the agents at equi-parametric intervals ( for ) along the parametric length of the formation ellipse. We use this idea later to move the agents from one Lissajous curve to another for formation reconfiguration.
4.3 Speed profile of the agents
Let be the largest permissible linear speed for each agent. Differentiating (15) and assuming the running parameters and to be functions of time, the components of velocity along the -direction and the -direction are
[TABLE]
and the resultant speed is given by
[TABLE]
It is desirable to have a continuous velocity profile of the agents in order to facilitate a practical implementation of the proposed surveillance and formation reconfiguration strategy. Furthermore, the resultant speed must be maintained below . For the surveillance mission, it was proposed in [2] that the parameter be a constant and the agents move on the Lissajous curve at a constant non-zero parametric speed given by
[TABLE]
Thus and it was shown in [2] that selecting the nominal value of guarantees .
4.4 Sensing and communication range of agents
From (15), the and coordinate separation between any two agents in the proposed formation, is given by
where , and . As a result the Euclidean distance between the agents and is
[TABLE]
For adjacent agents along the elliptical locus, , because for the proposed strategy, the agents are equi-parametrically distributed along the elliptical locus for all time. Hence the Euclidean distance between adjacent agents is given by
[TABLE]
is bounded above by . As a result, if each agent has a circular sensor footprint of radius , then overlapping sensor footprints of parametrically adjacent agents along the elliptical locus can be guaranteed at any value of the parameter by ensuring . Similarly, by ensuring that each agent’s spherical communication range has radius , we guarantee that the adjacent agents can communicate for cooperation during formation reconfiguration manoeuvres. In practice, considering the presence of curve tracing errors in the implementation using real robotic platforms such as quadrotors, the lower bounds on sensor footprint radius and communication range radius are chosen as
[TABLE]
respectively, where is a safety factor to ensure sufficient sensor footprint overlap and communication range.
4.5 Agents with non-zero size and coverage time
In practice, real agents such as ground robots or quadrotors have a non-zero size and are not point agents. Thus in [2], an upper bound , on the radius of the circular hull was derived, which contains the physical dimensions of the agent. This upper bound is given by:
[TABLE]
Agents having sizes smaller than this bound are guaranteed to have collision-free trajectories for the proposed surveillance strategy.
Since agents (where ) are initially placed along the curve with a parametric separation of and all agents move with equal parametric speed along the curve, a parametric displacement of for all the agents guarantees that the entire Lissajous curve is collectively traversed by all the agents. As a consequence, an upper bound on the time taken to collectively cover the entire rectangular area by the multi-agent formation is
[TABLE]
The results proved in [2] can be summarised by the following theorem:
Theorem 1
*Given a non-degenerate Lissajous curve described by (1) having parameters , the multi-agent formation of parametric point agents on the curve given by (14), equipped with a circular sensor footprint of radius given by (24) and moving along the curve with an equal parametric speed given by (21) guarantees the fulfilment of objectives:
-
Collision-free paths for the agents in the formation, with agent speed bounded above by .
-
Complete and repeated coverage of the rectangular area by the multi-agent formation.
-
Finite time detection of a rogue element trying to escape from the region starting from the center of the region.*
4.6 Selection of Lissajous curve parameters
Suppose the number of agents to be used for the proposed surveillance strategy is , and they monitor a rectangular area of dimensions . Then we choose the Lissajous curve constants and in (1). Recall that to achieve the proposed multi-agent formation the agent positions are defined by (15) where for a pair of co-prime positive integers . For the proposed strategy we select the pair considering the following claim.
Claim 1
([2]) For a given , the value with is the minimizer of and maximizer of , where and are given by (27) and (26) respectively.
In [2], it has been argued that for a , . Hence, though may not be an integer, we find the positive integer such that it is the nearest integer to that yields a co-prime pair. Then we select . This choice is the coprime integer pair that minimises the value of and maximises while satisfying . We search for this mutually co-prime pair iteratively using Algorithm 1. The completeness of this algorithm has been proved in [2]. In the worst case, Algorithm 1 selects the following:
[TABLE]
In case the selected pair corresponds to a degenerate Lissajous curve, then instead of the swapping with and with , as done in [2], the Algorithm 1 computes the phase offset given by (16).
4.7 Number of agents in the formation
To practically implement the proposed surveillance strategy we need to ensure the following:
Sufficient sensor footprint radius to ensure overlapping sensing ring formation (i.e., in (24)). 2. 2.
Sufficient communication range between agents for cooperation (i.e., in (25)).
To ensure this for a given sensing capability and communication range of a single agent, we need to compute the minimum number of agents for which the formation is defined. Thus from (24), defining , the minimum number of agents necessary to ensure is
[TABLE]
Similarly, from (25), the minimum number of agents required to ensure are
[TABLE]
Thus the minimum number of agents in the formation that are necessary to guarantee both and , is given by
[TABLE]
For the reconfiguration strategy, we design trajectories for addition, removal and replacement of agents in the subsequent section. We assume that the maximum number of extra agents to be used in addition to the agents is pre-defined, and the maximum number of agents in the formation is thus calculated as
[TABLE]
For normal operation we use agents where .
4.8 Bound on agent size
Our objective is to design smooth trajectories for reconfiguring the multi-agent formation from one Lissajous curve to another depending on the number of agents being used. Given a number of agents and the corresponding Lissajous curve selected using Algorithm 1, from (26) the upper bound on the circular hull radius encompassing the dimensions of the agent for the reconfigurable formation is selected as
[TABLE]
where . Thus
Thus we have Algorithm 2, which initialises all the parameters discussed above for all the agents.
5 Formation reconfiguration strategy
In this section, we extend the proposed surveillance strategy (discussed in Section 4) for a more practical setting where agents may need to be added, removed or replaced from the formation on the go. This is useful for applications where the surveillance task might last for long durations. Furthermore, the trajectories designed for these tasks must guarantee collision-free motion of the agents. For this an appropriate selection of trajectories is done by the agents via cooperation. This is achieved by information exchange on a communication channel and this channel is established between adjacent agents of the formation by ensuring that the communication range (given by (25)).
Suppose the formation initially consists of agents and our objective is to switch to a formation of or agents. For a reconfiguration, the trajectories are planned to move these agents from the current Lissajous curve corresponding to agents to the Lissajous curve corresponding to or agents (selected in either case by Algorithm 1). For the replacement operation, we design a simple exchange step where the agent to be replaced is removed and a new agent takes its place on the same Lissajous curve. The proposed surveillance and reconfiguration strategy has been designed considering aerial agents such as helicopters and quadrotors, which are capable of safely decelerating to a zero speed in flight (hover) during operation.
Using the parametric representation in (15), we design collision-free parametric trajectories based on cooperation for removal, addition and replacement of a single agent. For the discussions in subsequent subsections, we use the notations given in Table 1.
Prior to any reconfiguration, the agents lie on an elliptical locus defined by the value of the parameter according to (17). Also for agents on Lissajous curve described by , the agents are equi-parametrically spaced along an ellipse in terms of parameter (refer (15)). Thus parametric separation between the adjacent agents in terms of parameter is . This fact is used by each agent to identify its adjacent agents’ parameters through communication.
5.1 Steps for formation reconfiguration
A brief outline of the steps involved in the reconfiguration operation are as follows:
- •
The multi-agent formation of agents decelerates to a stop on the Lissajous curve described by constants . This is done by using the monotone deceleration trajectory (2) for the parameter , where the value of is decelerated smoothly to
- •
For addition and removal operations, where the number of agents after reconfiguration , a motion of the agents along the formation ellipse is necessary to reconfigure to the destination Lissajous curve for agents (described by constants ). Thus the parameter transformation is done to express the curve parameters in terms of the destination Lissajous curve as , for all agents.
- •
The agents are then assigned a destination position on the Lissajous curve for agents by a cooperative assignment scheme, and this is followed by a motion of the agents along the formation ellipse to these assigned positions by variation of parameter . Since the agents require to accelerate from rest from the Lissajous curve for agents and decelerate back to rest on their assigned positions on the Lissajous curve for agents, the parameter is varied using the symmetric transition trajectory (8).
- •
Upon reaching the Lissajous curve for agents, the agents now accelerate along this new Lissajous curve to using the monotone trajectory in (2) for parameter to resume normal surveillance operation.
The common steps involved in a reconfiguration operation are discussed in further detail below:
5.1.1 Monotone decelaration of
When any one of the three reconfiguration operations is initiated at time , all the formation agents are brought to a halt on the Lissajous curve for agents. This is done by decelerating the to [math]. One of the formation agents chosen as the reconfiguration initiator agent , computes . The choice of for each reconfiguration operation is operation specific and will be discussed later. If is used as the stopping parameter value for all active formation agents the formation locus lies on the elliptical locus given by (17) for .
For the replacement operation the final stopping value for agent in the formation is selected as
[TABLE]
and this value is communicated to all formation agents by agent via the communication links.
For the addition and removal applications, we intend to reconfigure the formation by moving along this ellipse. For agents having non-zero dimensions, collisions can occur for a narrow elliptical locus as shown in Fig. 5. Thus it is necessary to derive the range of parameter for which motion along the ellipse should be prohibited, and accordingly select an appropriate stopping parameter value . To do this, we have the following proposition:
Proposition 1
For adjacent agents, and of an agent formation having dimensions within a circular hull bound , and minimum parameter separation , all elliptical loci corresponding to parameter
[TABLE]
are feasible for collision-free agent transitions along these loci, where , with , .
The proof of Proposition 1 is given in the appendix.
Remark 1
In Proposition 1 if the value of decreases, the increases as it is proportional to . If then no ellipse is feasible for collision-free transitions as . Thus to have a feasible elliptical locus for transitions we must ensure .
It will be shown in later sections that for addition and for removal . Thus the stopping parameter value for agent is chosen as:
[TABLE]
where and are as defined in Proposition 1. The value of is communicated to the remaining agents in the formation using the communication links and
[TABLE]
We assume that the transition is initiated for all agents at the same time, i.e., . The formation agents use the monotone transition trajectory given by (2) (discussed in Section 3) to smoothly decelerate to rest at . Thus from (7), the constants that characterize this trajectory for agent are:
[TABLE]
5.1.2 Parameter transformation
This step is carried out by each formation agent after completion of the monotone deceleration of to [math] (discussed in Section 5.1.1). For brevity of notation, parameters and , which are functions of time, are written as and respectively. This step is common to the agent addition and removal operations as both involve agent motion from Lissajous curve for agents to the Lissajous curve for agents along the formation ellipse, and is not necessary for agent replacement as . For such a motion to be possible, the agent positions on the current Lissajous curve and the assigned positions on the Lissajous curve for agents must lie on the same ellipse at any given instant. In other words, for and , (17) must result in the same ellipse. This implies that , or,
[TABLE]
From (15), the position of agent on the Lissajous curve in terms of parameters and is:
[TABLE]
where is a constant . We can rewrite and . From (36), substituting leads to
[TABLE]
where
[TABLE]
Thus is unchanged under this transformation. Note that the number pairs and are co-prime and both and cannot hold simultaneously as (). This implies that which means . Thus we see that (36) and (37) transform the parameters of the Lissajous curve with to the parameters of the Lissajous curve with without affecting the position coordinates of the agents. Since agents are at rest, from (36), and for all .
Remark 2
The parameter separation between agents and along the ellipse is remains unchanged under the parameter transformation in (37) ,i.e.,
[TABLE]
5.1.3 Symmetric transition of
For both agent addition and removal operations the formation agents move from the Lissajous curve for agents to the Lissajous curve for agents. Separate cooperative leader selection and transition assignment schemes are proposed for either operation in later sections that guarantee collision-free transition trajectories. These schemes assign a destination parameter value (on the Lissajous curve for agents) to each agent , from the set
[TABLE]
These correspond to the agent formation positions on the Lissajous curve for agents from (15). Suppose the formation agent is assigned destination parameter values at time . Each formation agent must travel the parametric displacement to reach the assigned value equal to
[TABLE]
For both addition and removal, the cooperative leader selection and transition assignment schemes also communicate necessary information to the formation agents that allows them to compute
[TABLE]
The agents then use the symmetric transition trajectory given by (8) to move to the positions corresponding to the assigned values. For this transition, and as a result the agent speed depends only on . From (20), . Therefore, , if , where . Thus from (12), considering peak parametric speed as for parametric interval , rearrangement of the equation gives
[TABLE]
Using as transition time period in (8) for the agent guarantees that its maximum parametric speed is (hence limiting physical speed below ). We also use as the transition time period for the remaining formation agents. Thus from (12), for all , . Hence speeds of all the agents are bounded above by .
From (13), the constants that characterise the symmetric trajectory in (8) for agent are
[TABLE]
For both addition and removal the destination parameter values in are assigned such that the symmetric transitions along the ellipse are in the same direction. Assuming negligible communication delays, the transition start times for formation agents () satisfy . As a consequence we have the following result for the relative parametric displacement :
Proposition 2
For formation agents moving along the symmetric transition trajectories for parameter characterised by (42) for the time window , given by (38) is monotone in nature and achieves its extremal values at .
Proof: Since symmetric transition trajectory for reconfiguration is initiated at and ends at , from (9), the relative parametric speed between agents and , is given by
[TABLE]
where , and are given by (40). Thus from (43), for , . This proves that is monotone in nature and its extremal values are attained at .
5.1.4 Monotone acceleration of
This step is common to all three reconfiguration operations. After completing the symmetric transition trajectory along the elliptical locus for agent addition and removal operations, and agent exchange for the replacement operation, all the agents have reached their destination values on the Lissajous curve selected for agents, and are at rest. Now the agents accelerate along this curve using the monotone transition trajectory for parameter given by (2) to resume performing the proposed surveillance strategy with agents with parametric speed according to (21) for the new Lissajous curve with . This is initiated by an initiator agent (operation specific) via the communication links. We assume that the transition is initiated by the leader at for agent (where for and ). From (7) the constants that specify this trajectory in (2) for each agent are
[TABLE]
5.1.5 Symmetric transition to way-point
Here an agent moves from its initial position with coordinates , to a final way-point position with coordinates by performing a symmetric transition trajectory (given by (8)) for the displacement along the vector ( having length ). Assuming this transition is done over a time window with where , then from (12) selecting the constants
[TABLE]
in (13) for the trajectory given by (8), ensures that the agent speed is bounded above by .
We now discuss the reconfiguration steps involved in each of the three operations separately.
5.2 Agent removal
The removed agent has two adjacent neighbours and on the formation ellipse with parameter values and respectively. The algorithmic sketch of the steps for the agent removal operation are as follows:
1:**Initial condition: ** Proposed formations of agents moving on the Lissajous curve for surveillance at altitude .
2:**Removal initialisation: **Agent stops communication lowers altitude at to , and returns to base to land. Number of formation agents remaining .
3:Monotone deceleration of parameter : initiated by agent for formation agents.
4:**Parameter transformation: ** from to , done when for all formation agents .
5:Leader selection: Leader agent selected from
6:**Transition assignment: **Destination positions on the Lissajous curve for agents are assigned to formation agents by leader
7:**Symmetric transition trajectory of parameter : **Agents move along formation ellipse to reach assigned destination positions on the Lissajous curve for agents.
8:Monotone acceleration of parameter : initiated by agent after the previous step, formation agents accelerate along the Lissajous curve for agents to resume area surveillance.
The reconfiguration steps for the formation agents unique to the agent removal operation are as follows:
5.2.1 Removal initialisation
When agent is removed from the formation of agents at time , its next agent alerts the remaining agents about the removal of agent via the communication links. We assume that the remaining formation agents (having indices ) are updated about the removal at time . This is followed by the monotone deceleration of the parameter for which agent is the initiator agent (refer Section 5.1.4).
5.2.2 Leader selection and transition assignment
For the agent removal operation , assuming agent is removed, the leader agent is selected from the agents and (neighbours of in the formation with parameter values and respectively). If agent is selected as the leader (as shown in Fig 6) then after the parameter transformation, the direction of transition along the ellipse is selected in the direction of the increasing parameter (,i.e., ) as shown in the Fig. 6, as it is guaranteed to have an adjacent agent within its communication range of (at parameter before the parameter transformation). Similarly, if agent is selected as the leader then the direction of transition along the ellipse is selected in the direction of the decreasing parameter (i.e., ).
The destination parameter values on the Lissajous curve for agents lie in the set given by (39). The element in which is nearest to along the chosen direction of transition is selected as the destination parameter value for the leader . For agent (shown in Fig. 6), the nearest element of encountered along the direction is at , and parametric interval as shown in Fig. 6. Similarly for agent , the nearest element of encountered along the direction is at , and parametric interval as shown in Fig. 6. Both agents and compute the values of and , and the leader agent is selected as follows:
[TABLE]
The destination parameter and the corresponding parametric distance (given by (40)) for the leader is selected as
[TABLE]
As a consequence of choices in (45) and (46), the selected leader has smaller value of the parametric transition distance assigned for reconfiguration. The leader communicates and values to the remaining formation agents using the communication links between adjacent agents. The subsequent values in are assigned as destination parameter values to the subsequent agents, in the sequence in which they are encountered on the formation ellipse along the direction for and direction for (shown in Fig. 6). Mathematically this can be written as
[TABLE]
where is the count of agent relative to along the transition direction, and is computed as
[TABLE]
Here is an integer because prior to any transition along the ellipse, is an integer multiple of for the agents .
For the destination parameter assignment given by (46) and (47), (given by (40)) is the parametric transition distance that each agent must move along the formation ellipse to reach the assigned destination value . Suppose the leader agent . Then as illustrated in Fig. 6, the values of for agents are given by
[TABLE]
Equation (49) also holds for the case . From (49), for the agent removal case, the longest parametric transition distance in (41) is obtained for and , and is given by
[TABLE]
This is followed by the symmetric transition in the parameter for the formation agents as discussed in Section 5.1.3.
Claim 2
The destination parameter assignment scheme given by (47) guarantees collision-free symmetric transition trajectories in parameter for the formation agents.
Proof: Prior to the agent removal, for adjacent agents and . We assume that agent succeeds agent along the selected direction of transition, i.e., satisfy in (48). Thus in the time interval for the symmetric transition of formation agents, with and , the initial and final parametric displacement (in parameter ) from agent to the adjacent agent on the formation ellipse along the direction of transition is given by:
[TABLE]
From Proposition 2, we know that is monotone for and attains its maximum and minimum values at or . Thus from (50) and (51), the minimum value of for the agent removal operation. From Proposition 1 and (31),
Since and are co-prime positive integers, . Moreover, as the formation agents stop on a feasible ellipse with (which is ensured as discussed in Section 5.1.1), the symmetric transition trajectories in the parameter for the proposed transition assignment scheme are collision-free.
5.3 Agent addition
For the agent addition operation, and are the formation agents parametrically preceding and succeeding the assigned formation position for added agent respectively. The algorithmic sketch of the steps for adding agent to a formation of agents to get a formation of agents are as follows:
1:**Initial condition: ** Proposed formations of agents moving on the Lissajous curve for surveillance at altitude .
2:**Addition Initialisation: **Agent waiting at height , alerts the closest formation agent to initiate the agent addition operation when in communication range.
3:Monotone deceleration of parameter : initiated by agent at for all formation agents.
4:Parameter update for added agent: The formation agents cooperatively calculate the , parameters for the formation position of agent , and communicate the same to . moves to its assigned formation position at height
5:**Parameter transformation: ** From to , done for formation agents at height when .
6:Leader selection: Leader agent is selected from
7:**Transition assignment: **Destination positions on the Lissajous curve for agents are assigned to formation agents by .
8:**Symmetric transition trajectory of parameter : **Agents move along formation ellipse to reach assigned destination positions on new Lissajous curve.
9:Agent enters formation: During the symmetric transition trajectory, rises to height when the ascent is collision-free.
10:Monotone acceleration of parameter : initiated by agent after the previous two steps. The formation agents accelerate along the Lissajous curve for agents to resume area surveillance.
We now discuss the reconfiguration steps specific to the addition operation for the added agent and the formation agents.
5.3.1 Addition initialisation
The agent to be added to the formation is launched from the home base and it hovers at altitude . When formation agent is in communication range, it is alerted by to initiate the agent addition operation. Agent then initiates the monotone deceleration of the parameter for the formation agents.
5.3.2 Parameter update for added agent
The formation agents calculate the position of entry on the elliptical locus for the added new agent and communicate the corresponding and values to the added agent. The calculation of these values is done considering Lemma 2 (proof given in the Appendix).
Lemma 2
Suppose are parametrically equi-spaced points on a closed curve with the convention , and are parametrically equi-spaced points on the same curve with convention . Then there is exactly one pair of adjacent points contained in the interval of adjacent points for some .
From (15), we know that for the proposed formation, the agent positions on the Lissajous curve partition the elliptical locus in parametrically equal parts in terms of parameter . Thus from Lemma 2, at any point in time exactly two adjacent agent positions on the Lissajous curve for agents (shown as green spots in Fig. 7) must lie between two adjacent agent positions on the Lissajous curve for agents (shown as blue spots in Fig. 7) along the elliptical locus.
Hence after the calculation of the stopping parameter value as discussed in Section 5.1.1, each of the formation agents computes the transformed values and of the stopping parameter value and using (36) and (37) respectively. Defining as in (39), each formation agent then computes the following terms:
[TABLE]
where is the parameter separation between and the closest destination position on the Lissajous curve for agents (from the set ) along the direction. As a consequence of Lemma 2, the value of for exactly one of the formation agents (as shown in Fig. 7). We call this agent as agent . Agent then selects the value of the destination parameter (from the set ) for the entry position of the added agent as follows:
[TABLE]
It will be shown later in the transition assignment step that this choice ensures a shorter transition along the elliptical locus for the formation agents to reconfigure to the Lissajous curve for agents. Assuming that the reconfiguration is initiated at time , the values of , , and are communicated to agent by the formation agents. Agent transforms to using (36), and also calculates coordinates of the entry point into the formation using (15) as
[TABLE]
It then computes the time period for monotone deceleration of for agent using (6) as . Agent then moves to position given by (55) using the symmetric transition for a way-point (discussed in Section 5.1.5) with transition period . This ensures that the added agent does not reach its formation position before the formation agents decelerate to a halt with .
5.3.3 Leader selection and transition assignment
After the parameter transformation step is completed for the formation agents at height , and the agent has reached formation position given by (55) at height , the formation agents must be assigned a destination parameter values on the Lissajous curve for agents, from the set given by (39), so that they can transition along the formation ellipse t these locations for reconfiguration. This can be achieved by motion along the or the direction.
The parameter value of the formation agent on the Lissajous curve for agents ( corresponding to the blue spots in Fig. 7) and elements of set , corresponding to the location of the formation agents on the Lissajous curve for agents (green spots in Fig. 7), are equi-spaced on the formation ellipse, with a parametric separation of and respectively. In Section 5.3.2 from Lemma 2, agent was identified as the only formation agent having exactly one pair of destination values from in the interval (i.e., with in (53)). We call the adjacent agent parametrically succeeding as , having parameter value . From (54), the formation position of agent lies between and on the formation ellipse. The leader agent to initialise the direction of transition assignment is chosen as
[TABLE]
Thus the destination values from are assigned to the formation agents as the closest value along for , and along for . This is mathematically written as
[TABLE]
As a consequence of Lemma 2, outside the segment , the positions corresponding to values of and elements of alternate along the elliptical locus as shown in Fig. 7. Thus this assignment yields parametrically non-overlapping transition intervals as shown in Fig. 7. The destination parameter values from are assigned according to (47) and (48) (as in the removal case).
Also, the magnitude of the parametric transition distance (given by (40)) for agent can be expressed in terms of the parametric transition distance of the leader using (49), where is calculated according to (48). If as shown in Fig. 7, then . Similarly if , then . Thus the leader selection in (56) ensures that the transition direction corresponding to the shorter parametric transition distance is selected. Since from (49), the longest transition interval for any formation agent for the agent addition case is given by
[TABLE]
This is followed by the symmetric transition in the parameter for the formation agents at formation height (as discussed in Section 5.1.3).
Claim 3
The destination parameter assignment scheme given by (47) guarantees collision-free symmetric transition trajectories in parameter for the formation agents at formation height .
Proof: We discuss collision-free transition between (waiting at formation height ) and leader separately in the subsection 5.3.4. The remaining agents are at formation altitude and equi-parametrically spaced along the elliptical locus prior to any transitions in parameter at time . We assume agent succeeds agent along the selected direction of transition, i.e., satisfy in (48). Thus the initial value of (given in (38)) for adjacent formation agents and prior to reconfiguration is
[TABLE]
After the symmetric transition is over, is at its formation position at height and we have agents at their assigned parameter values given by (57). As a consequence of Lemma 2, outside the segment , the positions corresponding to values of and elements of assigned by (57) alternate along the elliptical locus as shown in Fig. 7. Thus after the completion of the symmetric transition,
[TABLE]
As a consequence of Proposition 2, from (58) and (59), the minimum value of for the agent addition operation. From Proposition 1 and (31), .
Since and are co-prime positive integers, . Moreover, as the formation agents stop on a feasible ellipse with (which is ensured as discussed in Section 5.1.1), the symmetric transition trajectories in the parameter for the proposed transition assignment scheme are collision-free.
5.3.4 Entry of agent in the formation
Recall that agent is still waiting at its formation position at . As a consequence of leader selection in (56) and parameter assignment in (54), agent is the nearest formation agent to agent in terms of the parametric separation in before the commencement of the transition along the formation ellipse. During the symmetric transition in parameter , agent rises to formation altitude when its Euclidean distance from agent is greater than . This guarantees the collision-free rise of agent to result in a formation of agents at height at the end of the symmetric transition trajectory discussed in Section 5.1.3.
5.4 Agent replacement
The agent replacement operation replaces formation agent with a new agent . The algorithmic sketch of the steps for replacing an agent in the formation of agents are as follows:
1:**Initial condition: ** Proposed formations of agents moving on the Lissajous curve for surveillance.
2:**Replacement Initialisation: **Agent initialised with id of agent , and waiting at height , alerts the closest formation agent to initiate the agent replacement operation.
3:Monotone deceleration of parameter : initiated by agent for all formation agents.
4:Parameter update for agent : Formation agent (at height ) communicates the , parameters to agent . moves to the position of at height .
5:**Position exchange of and : ** This is done after the previous two steps are complete. Agent returns to base and lands.
6:Monotone acceleration of parameter : initiated by agent after the previous step, formation agents accelerate along the Lissajous curve for agents to resume area surveillance.
We discuss the reconfiguration steps unique to the replacement of the formation agent by agent below.
5.4.1 Replacement initialisation
The agent is initialised with the id of the formation agent that it is meant to replace. Agent takes off from the base location and waits at height for the formation agents (at height ) to approach. When the closest formation agent is within communication range, agent alerts agent to initiate the agent replacement operation. Also, agent communicates the id of the formation agent to the formation agents via agent . Agent then initiates the monotone deceleration of the parameter (discussed in Section 5.1.1 ) for the formation agents.
5.4.2 Parameter update of agent
With the initiation of the monotone deceleration trajectory for , the agent sends its parameter , and parameter corresponding to the stopping formation ellipse, to agent using the communication links via agent . Using (15), the agent at height calculates coordinates directly below agent at height as
[TABLE]
Similar to the addition case (in Section 5.3.2) the agent computes time period for monotone deceleration of using (6) as , and moves to the position given by (60) using the symmetric transition for a way-point (discussed in Section 5.1.5) with transition period .
5.4.3 Position exchange of and
After the formation agents decelerate to rest at height , and agent reaches the position coordinates (60) at height (say at time ), then the agents and are both at rest at the same position coordinates, and are separated in altitude by distance . In Section 4.2, we have seen that for a fixed value of , is the parametric equation of an ellipse with parameter . Thus the tangent vector is given by Consider the vector . Then the inner product for all , which implies that it gives the direction of the local normal to the ellipse. If is an outward normal to the elliptical locus at the point , then , because the elliptical locus is always centered at the origin, and is a convex curve. Thus to ensure the selection of the outward normal, is chosen as
[TABLE]
where .
The agent computes a way-point on unit outward normal direction at distance , and moves to this point using the symmetric trajectory to a waypoint (discussed in Section 5.1.5) with . Upon completion of this motion, the agent alerts agent , which rises to the formation height and agent simultaneously reduces its altitude to . The formation containing agent , then performs monotone acceleration of parameter along the Lissajous curve for agents (discussed in Section 5.1.4) and agent returns to base to land.
Remark 3
In both reconfiguration operations of removal and replacement, the removed or replaced agent is at a height at the end of the reconfiguration and is made to return to the base and land, using the symmetric trajectory to a way-point (discussed Section 5.1.5) with .
6 Simulation and experimental validation
The proposed surveillance strategy of using an elliptical formation of multiple agents on a Lissajous curve discussed in Section 4 was validated through simulation and experiments with differential drive robots in prior work in [2]. The video of these experiments and simulation can be found at the web-link:
The reconfiguration scheme for the formation discussed in Section 5 is validated here by simulation in MATLAB{}^{\tiny\mbox{\textregistered}}\for parametric agents (agents whose positions are defined by (15)) having finite non-zero sizes. In order to achieve a decentralized implementation of the reconfiguration strategy on actual quadrotors, we first develop and test the on-board software for path planning and inter-agent communication for the quadrotors as agents, using a Software-In-The-Loop (SITL) simulator in a ROS-Gazebo environment. The same software is then used on the actual quadrotors (developed in-house) to experimentally validate the reconfiguration strategy in a motion capture environment.
6.1 MATLAB{}^{\tiny\mbox{\textregistered}}\simulations
To validate the theory of the proposed surveillance (discussed in Section 4) and reconfiguration strategy (discussed in Section 5), we present two MATLAB{}^{\tiny\mbox{\textregistered}}\simulations: The first to illustrate the nature of the agent trajectories and the second to demonstrate scalability. The inputs to Algorithm 2 for both simulations are given in Table 2 and the corresponding outputs are given in Table 3. The addition of agent 6 to a 5 agent formation at time is considered for discussion here, and the simulated trajectories shown in the Fig. 8 include the speeds of the agents, the parameter rates and parameter values of all agents. As illustrated by the Fig. 8, the monotone parametric trajectory (2) smoothly accelerates and decelerates the agents along the Lissajous curve and the symmetric trajectory (8) smoothly transitions the agents from one Lissajous curve to the other. Furthermore, as discussed in the theory, the speeds of the agents are always maintained below in the X-Y plane. (For altitude changes we use step change commands when X-Y plane velocities are zero). The parameter trajectories are smooth except for the step just before the interval. This jump in the parameter value corresponds to the parameter transformation step where the agent parameters and for the current Lissajous curve are expressed in terms of the destination Lissajous curve while conserving position coordinates (as discussed in Section 5.1.2). The parameter trajectories of agents 1-5 overlap as they all lie on the same formation ellipse, both before and after the reconfiguration. The parameter value of the agent 6 is initialised on the destination Lissajous curve as it reaches its assigned formation position directly after the transition. The parameter values prior to the addition at and after reconfiguration are equispaced, indicating equi-parametric formation along the elliptical locus on both the Lissajous curves, before and after reconfiguration.
In order to demonstrate the scalability for the second simulation, we assume a smaller sensor footprint radius and communication range (refer to Table 2). Thus the number of agents required for this case is larger. For both simulations, the circular hull radius of the agents is selected as the sufficient bound given by Algorithm 2. From the simulations, we observe that the motion of the agents both during surveillance along the Lissajous curve and during reconfiguration are collision-free, thus validating the strategies for surveillance and reconfiguration designed in Sections 4 and 5.
Remark 4
*The videos of both the MATLAB{}^{\tiny\mbox{\textregistered}}\simulations for all three reconfiguration operations can be found at the web-link:
6.2 Software-In-The-Loop simulation
Since the proposed surveillance and reconfiguration strategies are developed for aerial agents such as quadrotors or helicopters, our final objective is to implement it using programmable autonomous quadrotors.
The quadrotors built for the experiment use the Pixhawk v1222 https://docs.px4.io/en/flight_controller/pixhawk.html flight controller running the PX4 flight stack333 https://dev.px4.io/en/ for stabilisation of the drone. Reference commands (such as commanded position) can be sent to the Pixhawk using the MAVLink communication packets444 https://mavlink.io/en/ on a serial channel.
To simulate this setup, we use the Software-In-The-Loop (SITL) simulator555 https://dev.px4.io/en/simulation/gazebo.html for the PX4 flight stack that uses the Robot Operating System (ROS) (Version: Kinetic Kame666 http://wiki.ros.org/kinetic) along with the physics simulator Gazebo777 http://gazebosim.org/ (Version 8). This simulation is done on a computer system equipped with a NVIDIA Geforce GTX 1060 graphics card and running the Ubuntu 16.04 Xenial LTS operating system. For each quadrotor, an instance of the PX4 flight stack is simulated, and the proposed strategy for surveillance (Sectiopn 4) and reconfiguration (Section 5) is implemented as a C++ script, which is written adhering to the node-topic structure of ROS (called UAV_i_ctrl node for agent ). The MAVROS888 http://wiki.ros.org/mavros package is used to translate between the ROS interface and the MAVLink packets, which are sent via a UDP port to the PX4 flight stack simulation (SITL component) of the corresponding quadrotor. In this manner the SITL simulation environment allows simulation of the physics for multiple quadrotors along with a simulated instance of the PX4 flight stack for each agent. The SITL component acquires the quadrotor states as feedback and sends actuator command values to the Gazebo simulator as shown in the Fig. 9.
Each quadrotor receives communication data from all other quadrotors in the simulation. This is done for ease of implementing the multi-agent network in ROS, and the limited communication range is simulated in the navigation code for each agent by ignoring received data from agents outside a sphere of radius centered around the agent. We use the joy999 http://wiki.ros.org/joy package to issue basic commands to the multi-agent formation such as take-off, mission start, land, and reconfiguration commands, namely:
-
removal command with agent ID
-
replacement command with agent ID
-
addition command to initiate formation reconfiguration.
The inputs and outputs of the Algorithm 2 for the SITL simulation are given in Tables 2 and 3 respectively. From Table 3, we see that the upper bound on circular hull radius of the agents is . For the SITL simulator, we have selected the 3DR Iris quadrotor101010 http://www.arducopter.co.uk/iris-quadcopter-uav.html model (shown in Fig. 9) from the available models. This quadrotor has a motor to motor length of and a propeller diameter of (or ). Thus it has a circular hull of radius (calculated as ). Gazebo simulates the complete physics of all the 3DR Iris quadrotors, along with an instance of the simulated PX4 flight stack for each quadrotor, which tracks the reference position commands issued using its internal PID control loops.
Remark 5
*The video of the SITL multi-quadrotor simulation can be found at the web-link:
The top-left window is a video recording of the Gazebo SITL simulation, and the top-right window shows the video of the recorded simulation coordinates of the quadrotors, plotted in MATLAB{}^{\tiny\mbox{\textregistered}}\.*
6.3 Implementation
The experiment discussed here has been performed in an indoor laboratory space using a motion capture system for localisation. This system comprises of ten Vantage V5111111 https://www.vicon.com/products/camerasystems/vantage cameras as shown in Fig. 10. The quadrotors used for the experiment were made in-house (shown in Fig. 11). The design specifications of the quadrotors are given in Table 4. The sensor calibration and inner PID control-loops tuning for these quadrotors for the PX4 flight stack running on the Pixhawk v1 flight controller was done using the QGroundControl121212http://qgroundcontrol.com/ software.
The inputs and outputs of the Algorithm 2 for the experiment are given in Tables 2 and 3 respectively. From Table 3 we see that the upper bound on circular hull radius of the agents is . The quadrotor we have constructed has a motor to motor length of and a propeller diameter of (or ). Thus it has a circular hull of radius (calculated as ). The same C++ script UAV_i_ctrl developed for the SITL simulation in Section 6.2 is used for implementing the proposed surveillance and reconfiguration strategy with the quadrotors shown in Fig. 11. Each quadrotor has a Raspberry Pi 3B131313https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ companion computer onboard which runs the UAV_i_ctrl and MAVROS nodes for the corresponding quadrotor. As a result, the proposed strategy is implemented in a decentralized manner. A block diagram of the experimental setup is shown in Fig. 10. The quadrotors are fitted with reflective markers for operation in the VICON motion capture space. The VICON cameras detect these markers and the HP workstation processes the camera data using the VICON Tracker V3.4 software141414https://docs.vicon.com/display/Tracker34/Vicon+Tracker+User+Guide and broadcasts its data stream on a Local Area Network. The roscore node151515http://wiki.ros.org/roscore which is the master node for handling the complete ROS network runs on a central computer running ROS Indigo Igloo161616 http://wiki.ros.org/indigo on the Ubuntu 14.04 LTS. This computer processes the VICON data stream and converts it to a ROS compatible format using the vicon_bridge node171717 http://wiki.ros.org/vicon_bridge in ROS Indigo. It also runs the joy node to read joystick commands for initiating take off, land, agent removal with ID, agent replacement with ID and agent addition. The roscore node running on the central computer interacts with the Raspberry Pi’s via a Wi-Fi network setup using a wireless router. For this we use the concept of a multicomputer ROS network181818 http://wiki.ros.org/ROS/Tutorials/MultipleMachines. Thus each Raspberry Pi receives localisation as well as inter-agent communication data via Wi-Fi within this multi-computer ROS network, and in turn commands the Pixhawk flight controller via a local instance of the MAVROS Node, using a USB wired link. The Raspberry Pi issues position commands corresponding to the parameters of agent , and the flight altitude ( or ). It also issues a constant heading command of . The Pixhawk v1 flight controller tracks these commands using the PID loops in the PX4 firmware. These loops in turn use the on-board sensor data and localisation data available from the motion capture system as feedback.
Remark 6
*The video of the multi-quadrotor experiment discussed above can be found at the web-link:
The top-left window is a video recording of the quadrotors in flight, and the top-right window shows the video of recorded position coordinates of the quadrotors as captured by the motion capture system (orthographic top view), plotted in MATLAB{}^{\tiny\mbox{\textregistered}}\. The bottom left video shows the motion capture markers on the quadrotors seen by the VICON cameras on the VICON Tracker V3.4 software.*
From the videos in Remark 5 and Remark 6, we see that for the SITL simulation and the experiment in a VICON environment, all three reconfiguration operations are performed with smooth collision-free trajectories of the quadrotors in the same simulation/flight, hence validating our proposed multi-agent surveillance and formation reconfiguration strategy. The step commands are only used for initialisation of the quadrotor positions in the formation, and for changing altitude from to and vice-versa.
7 Conclusion
We have proposed in [2], a multi-agent formation on Lissajous curves which performs collision-free surveillance of a rectangular area. We have proposed here a reconfiguration strategy whereby a quadrotor can be added, removed or replaced using a decentralized cooperating scheme.
We have validated our results through MATLAB{}^{\tiny\mbox{\textregistered}}\simulations for agents having a non-zero size satisfying a theoretically derived size bound. To demonstrate the practical applicability of the proposed surveillance and reconfiguration strategies, we have also presented simulations, for quadrotors in a ROS-Gazebo based Software-In-The-Loop simulator and have implemented the same with a team of five quadrotors in a motion capture environment. This work has potential applications in security, asset protection, agricultural monitoring, distributed sensing, etc.
Acknowledgements
We thank Vraj Parikh and Shoeb Ahmed Adeel for their help with the design and construction of the quadrotors. We also thank Gaurav Gardi for assistance with setting up the SITL simulator, and Mr. Kumar Khot for help with logistics and setting up of the VICON motion capture system. The quadrotors were constructed and flight tested in the Miniature Aerial Vehicle (MAV) Laboratory at the Department of Aerospace Engineering, IIT Bombay, and the experiments were conducted in the Autonomous Robots and Multi-agent Systems (ARMS) Laboratory at the Interdisciplinary Progamme in Systems and Control Engineering, IIT Bombay.
Appendix
Proof of Lemma 1: Let , then cost . For convenience of notation denoting detivative of as , the first variation is computed as:
[TABLE]
and by the necessary condition for optimality, at the optimal trajectory (denoted as for short), . Thus using Taylor series expansion in (62) about yields By repeated application of integration by parts,
[TABLE]
From the fixed boundary conditions, , , . Thus, the first variation simplifies to
[TABLE]
By substituting , the Euler-Lagrange equation (63) simplifies to . Then from the Euler-Lagrange equation, for some constants and ,
[TABLE]
The solutions for both the boundary value conditions C1 and C2 are as follows:
- Since and need not be zero, in addition to the Euler-Lagrange equation. This simplifies to and from (69), . From the given boundary conditions at and (64), (65), (66) we get , and respectively. The boundary conditions at gives and which gives rise to this linear system of equations
[TABLE]
Solving this system of linear equations, . Thus,
- The second set of boundary conditions C2 represent a fixed end-time and fixed end state problem. Thus at and , (64)- (69) result in the following Linear system of equations.
[TABLE]
Solving (71), gives
Thus, \qed
Lemma 3
For ,
Proof: Consider the following cases:
*Case 1: *For , . Thus the claim holds true at these values.
*Case 2: *For , let . By differentiating and simplifying the resultant expression, . Using the infinite Taylor series for for , .
Thus for , which implies that is monotone increasing and thus which implies or . Similarly for , which implies that is monotone decreasing and thus which implies or . Hence, Case 1 and Case 2 considered together prove the claim.
Proof of Proposition 1: For any two agents in the formation, . From (22), the Euclidean distance between agents and is given by and . From Lemma 3 in the appendix, we get a parabolic lower bound for and as and respectively, where for some . Thus , where
[TABLE]
Solving we get which is a minimizer as is a sum of parabolic functions having positive coefficients. Thus if is the minimum distance between the agents and , then . Substituting value of in this inequality and simplifying the resultant expression leads to
[TABLE]
where . Hence if we guarantee
[TABLE]
where , then we can ensure and the transition along the ellipse is guaranteed to be collision-free. Rearranging (73) results in the following inequalities: and , where for is the parameter value for which the agents lie on the the degenerate ellipse (or the diagonal line) as shown in Fig. 4, and . Thus all ellipses corresponding to all the values satisfying
[TABLE]
are feasible for agent transitions.\qed
Proof of Lemma 2: If are equi-spaced points on , by pigeonhole principle, at least one of the segments contains two ’s. This proves the existence of at least one such pair within a segment (with ).
There are equi-spaced segments of the form which are disjoint and cover , so if two of them contain a pair of ’s each, the remaining of ’s are distributed among the remaining segments, thus at least one of them does not contain any points. Suppose the segment for some , doesn’t contain a , then this segment in turn is contained within a segment for some . But if the parametric curve length of is , then is of length and is of length and , which is a contradiction. Thus there is exactly one pair contained in a segment.\qed
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Augugliaro et al. [2014] Augugliaro, F., Lupashin, S., Hamer, M., Male, C., Hehn, M., Mueller, M. W., Willmann, J. S., Gramazio, F., Kohler, M., D’Andrea, R., 2014. The flight assembled architecture installation: Cooperative construction with flying machines. IEEE Control Systems 34 (4), 46–64.
- 2Borkar et al. [2016] Borkar, A., Sinha, A., Vachhani, L., Arya, H., 2016. Collision-free trajectory planning on Lissajous curves for repeated multi-agent coverage and target detection. In: IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). pp. 1417–1422.
- 3Capitán et al. [2016] Capitán, J., Merino, L., Ollero, A., 2016. Cooperative decision-making under uncertainties for multi-target surveillance with multiples UA Vs. Journal of Intelligent & Robotic Systems 84 (1), 371–386.
- 4Chen et al. [2015] Chen, Y., Cutler, M., How, J. P., 2015. Decoupled multiagent path planning via incremental sequential convex programming. In: IEEE International Conference on Robotics and Automation (ICRA). pp. 5954–5961.
- 5Choset et al. [2005] Choset, H. M., Lynch, K., Hutchinson, S., Kantor, G., Burgard, W., Kavraki, L., Thrun, S., 2005. Principles of Robot Motion: Theory, Algorithms, and Implementation. MIT press.
- 6Erb et al. [2016] Erb, W., Kaethner, C., Ahlborg, M., Buzug, T. M., 2016. Bivariate Lagrange interpolation at the node points of non-degenerate Lissajous curves. Numerische Mathematik 133 (4), 685–705.
- 7Gabriely and Rimon [2002] Gabriely, Y., Rimon, E., 2002. Spiral-STC: An on-line coverage algorithm of grid environments by a mobile robot. In: IEEE International Conference on Robotics and Automation (ICRA). Vol. 1. pp. 954–960.
- 8Gan and Sukkarieh [2011] Gan, S. K., Sukkarieh, S., 2011. Multi-UAV target search using explicit decentralized gradient-based negotiation. In: IEEE International Conference on Robotics and Automation (ICRA). pp. 751–756.
