Keywords

1 Introduction

When the UAV is flying in formation, it is necessary to keep electromagnetic silence to prevent external interference, to reduce the electromagnetic wave signal sent out, and to avoid causing sparse sensor nodes and uneven distribution of anchor nodes [1]. Aiming at the problem of low localization rate and large localization error caused by the random distribution of anchor nodes, Huang [2] proposed a wireless transmission and localization algorithm based on the connectivity of anchor nodes. MDS-MAP algorithm [3] is used to reduce the positioning error. So it is common to adjust the UAV's position, maintain formation based on bearings-only passive positioning. The formation of UAV has a fixed number, and other UAVs relative position does not change. Chen et al. [4] divided the network into many hexagons and proposed a path planning algorithm for auxiliary beacon nodes, which reduced the location time and the average location error. Wang et al. [5] proposed a static anchor node layout optimization method based on geometric precision and degree factor, but the positioning precision is constrained by the size of anchor nodes and the geometric area of points. Huang et al. [6] proposed a breadth-first search (BFS) algorithm to select virtual anchor nodes, reducing the number of virtual anchor nodes and the length of the moving path of the nodes. Cheng et al. [7] proposed to use the grid method to model the known land, map, introduce vectors to guide the path direction in the algorithm, through multiple rewards and punishment measures to carry out the path planning. The angle between the receiving UAV and any two transmitting UAV is direction information.

A common model is exhibited in Fig. 1.1: FY01, FY02, and FY03 send signals, FY04 receives the signal angle \(\theta_{1}\), \(\theta_{2}\), and \(\theta_{3}\). In Fig. 1.1, FY00 is a signal transmitter under the same height circle formation, and it transmits signal through the two UAVs in the formation and the UAV in the center of the circle. For the model in Fig. 1.1, we established the location model to receiving UAV, and studied the minimum number of UAV transmitting signals to ensure the precise UAV location in Sect. 1.2. Meanwhile, we designed UAV position adjustment program by the initial data in Fig. 1.2. In Sect. 1.2, we also discussed corresponding UAV position adjustment scheme in a cone bearing-only formation (Fig. 1.3).

Fig. 1.1
A diagram of 4 U A Vs in a formation. Drones F Y 03 and F Y 02 form an angle theta 1 with F Y 04 below. F Y 02 and F Y 01 form an angle theta 2 with F Y 04 below. F Y 03 and F Y 01 form an angle theta 3 with F Y 04 below.

Direction information of UAVs

Fig. 1.2
An illustration of U A Vs F Y 01 to F Y 09 in a circular formation around drone F Y 00 at the center.

Sketch of the formation of the circular UAVs

Fig. 1.3
An illustration of U A Vs F Y 01 to F Y 15 in a triangular formation, with F Y 01 at the vertex on the right, and F Y 11 and F Y 15 at the vertices on the left.

Cone-shaped formation of UVAs

2 Analysis of UAV Position

2.1 Triangulation Method on UAV Positioning

The triangulation [8] method can detect the target position in different directions based on two or more UAVs, and can locate the target UAV position using the principle of plane triangle geometry. When the UAV transmits or receives a signal passively, its azimuth is the core parameter in target locating. The location model of passive received signal is established in this part. The azimuth angle of UAV can locate the target UAV, so that the target UAV can be located effectively. The position of the UAV is presented in Fig. 1.4.

Fig. 1.4
A graph plots U A V positions. F Y 04 at (x j, y j) in the second quadrant is at a distance r j from F Y 00 at the origin and forms an angle alpha j with the y-axis. F Y 04 is at distances r j minus 1 and r j minus 2 from F Y 01 and F Y 02 in the first quadrant, with angles psi and alpha j minus 1.

Position of UAVs

Firstly, for special cases, we select special points FY01 and FY02 to send signals to FY04 to get the distance and angle, then establish the equation through the distance and angle, which can locate the position of FY04 effectively. From the position relation of the four UAVs in Fig. 1.4, we obtained:

$$ \tan \alpha_{j} = \frac{{x_{j} }}{{y_{j} }} $$
(1.1)
$$ \tan \alpha_{j - 1} = \frac{{r_{j} (\sin \alpha_{j} + 1)}}{{r_{j - 1} \cos \alpha_{j - 1} }} $$
(1.2)
$$ \left\{ {\begin{array}{*{20}l} {x_{{{\text{FY}}02}} = r_{j - 2} \cos \psi - r_{j} \sin \alpha_{j} } \\ {y_{{{\text{FY}}02}} = r_{j} \cos \alpha_{j} - r_{j - 2} \sin \psi } \\ \end{array} } \right. $$
(1.3)

Combining (1.1) to (1.3), three position relation equations of UAV can be obtained:

$$ \left\{ {\begin{array}{*{20}l} {x_{1} = r_{1} \sin \alpha_{1} } \\ {y_{1} = \frac{{r^{2}_{0} \sin 2\alpha_{0} }}{{2r_{1} (\sin \alpha_{1} + 1)}}} \\ \end{array} } \right. $$
(1.4)
$$ \left\{ {\begin{array}{*{20}l} {x_{2} = r_{2} \sin \alpha_{2} } \\ {y_{2} = \frac{{r^{2}_{1} \sin 2\alpha_{1} }}{{2r_{2} (\sin \alpha_{2} + 1)}}} \\ \end{array} } \right. $$
(1.5)
$$ \left\{ {\begin{array}{*{20}l} {x_{3} = r_{3} \sin \alpha_{3} } \\ {y_{3} = \frac{{r^{2}_{2} \sin 2\alpha_{2} }}{{2r_{3} (\sin \alpha_{3} + 1)}}} \\ \end{array} } \right. $$
(1.6)

\(\alpha_{j} (j = 1,2,3)\) is the azimuth angle of the target position \((x_{j} ,y_{j} )\), where the azimuth angle rotates clockwise from the positive half axis of the y axis, and the range is \(\left[ {0,2\pi } \right]\).

2.2 Three-Target Bearings-Only Triangulation on UAV Positioning

Three-target bearings-only triangulation are a method of transmitting signals from UAV at different positions to the same target. If the UAV position is unbiased, three azimuth lines intersect at one point, the position coordinates of the passive receiving UAV can be obtained. However, the UAV is affected by the noise in the atmosphere caused by an electromagnetic wave signal it sends. So there are some position deviations in the actual circumstances, causing that three lines cannot meet at a point, but form a target triangle.

In Fig. 1.5, the selecting UAVs randomly FY0M, FY0N, and FY00 send signals to FY0K at the same time. After the target triangle is determined, we determine the position of the UAV (Fig. 1.6) using the center method, where we take the intersection of the triangle's three bisectors as the target point.

Fig. 1.5
A graph depicts three-target cross-localization in the x-y plane. F F Y 0 k at (x k, y k) connects to F F Y 00 at (x 0, y 0), F F Y 0 n at (x n, y n), and F F Y 0 m at (x m, y m) with angles beta 3, beta 1, and beta 2 respectively.

Three-target cross-localization of geometric sketch

Fig. 1.6
A diagram of a triangle A B C with 3 angle bisectors that intersect at center O.

Triangle heart with angle bisector

As shown in Cartesian coordinate system in Fig. 1.6, we assume that the three transmitting targets are \(F_{nm} (x_{nm} ,y_{nm} )\), \(F_{n0} (x_{n0} ,y_{n0} )\), and \(F_{m0} (x_{m0} ,y_{m0} )\), and the passive receiving target is \({\text{FY}}0{\text{k}}(x_{0} ,y_{0} )\). In this situation, the angles between receiving target and three transmitting targets are \(\beta_{1}\),\(\beta_{2}\), and \(\beta_{3}\), respectively. According to the method of double-target triangulation, the intersection coordinates \((x_{nm} ,y_{nm} )\) of \({\text{FY}}0{\text{n}}\) and \({\text{FY}}0{\text{m}}\) are:

$$ \left\{ {\begin{array}{*{20}l} {x_{nm} = \frac{{x_{m} \sin \beta_{n} \cos \beta_{m} - x_{n} \cos \beta_{n} \sin \beta_{m} + (y_{n} - y_{m} )\sin \beta_{n} \cos \beta_{m} }}{{\sin (\beta_{n} - \beta_{m} )}}} \\ {y_{nm} = \frac{{y_{n} \sin \beta_{n} \cos \beta_{m} - y_{m} \cos \beta_{n} \sin \beta_{m} + (x_{m} - x_{n} )\sin \beta_{n} \cos \beta_{m} }}{{\sin (\beta_{n} - \beta_{m} )}}} \\ \end{array} } \right. $$
(1.7)

The intersection coordinates \((x_{n0} ,y_{n0} )\) of \({\text{FY}}0{\text{n}}\) and \({\text{FY}}00\) are:

$$ \left\{ {\begin{array}{*{20}l} {x_{n0} = \frac{{x_{0} \sin \beta_{n} \cos \beta_{0} - x_{n} \cos \beta_{n} \sin \beta_{0} + (y_{n} - y_{0} )\sin \beta_{n} \cos \beta_{0} }}{{\sin (\beta_{n} - \beta_{{\text{m}}} )}}} \\ {y_{n0} = \frac{{y_{n} \sin \beta_{n} \cos \beta_{0} - y_{0} \cos \beta_{n} \sin \beta_{0} + (x_{0} - x_{n} )\sin \beta_{n} \cos \beta_{0} }}{{\sin (\beta_{n} - \beta_{0} )}}} \\ \end{array} } \right. $$
(1.8)

The intersection coordinates \((x_{m0} ,y_{m0} )\) of \({\text{FY}}0{\text{m}}\) and \({\text{FY}}00\) are:

$$ \left\{ {\begin{array}{*{20}l} {x_{m0} = \frac{{x_{m} \sin \beta_{m} \cos \beta_{0} - x_{0} \cos \beta_{m} \sin \beta_{0} + (y_{m} - y_{0} )\sin \beta_{m} \cos \beta_{0} }}{{\sin (\beta_{{\text{n}}} - \beta_{{\text{m}}} )}}} \\ {y_{m0} = \frac{{y_{0} \sin \beta_{m} \cos \beta_{0} - y_{m} \cos \beta_{m} \sin \beta_{0} + (x_{0} - x_{m} )\sin \beta_{m} \cos \beta_{0} }}{{\sin (\beta_{m} - \beta_{0} )}}} \\ \end{array} } \right. $$
(1.9)

The vertex coordinates of the target triangle can be determined by (1.10). The inner coordinates of the triangle are

$$ x_{is} = \frac{{Ax_{nm} + Bx_{n0} + Cx_{m0} }}{A + B + C} $$
(1.10)
$$ y_{is} = \frac{{Ay_{nm} + By_{n0} + Cy_{m0} }}{A + B + C} $$
(1.11)

The length of the triangles is

$$ \begin{aligned} l_{1} & = \sqrt {(x_{n0} - x_{m0} )^{2} + (y_{n0} - y_{m0} )^{2} } \\ l_{2} & = \sqrt {(x_{nm} - x_{m0} )^{2} + (y_{nm} - y_{m0} )^{2} } \\ l_{3} & = \sqrt {(x_{nm} - x_{n0} )^{2} + (y_{nm} - y_{n0} )^{2} } \\ \end{aligned} $$
(1.12)

In conclusion, we discussed the situation of UAV transmitting and receiving signals under special circumstances, and we calculated the precise positioning of UAV by establishing polar coordinate equations. Due to the existence of errors, the azimuth lines form a target triangle, and the intersection points formed by the two azimuth lines of the UAV are calculated, finally, the intersection point formed by the triangle bisector of the target is obtained, which is the precise positioning of the UAV.

3 The Establishment and Solution of Model

Assuming that \({\text{FY}}00\) and \({\text{FY}}01\) send a signal to a misplaced UAV \((x_{u} ,y_{u} )\), the angle is \(\beta_{u}\), we establish the model equations:

$$ \begin{aligned} & \left\{ {\begin{array}{*{20}c} {x_{01} = \frac{{x_{1} \sin \beta_{0} \cos \beta_{1} - x_{0} \cos \beta_{0} \sin \beta_{1} + (y_{0} - y_{1} )\sin \beta_{0} \cos \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{01} = \frac{{y_{0} \sin \beta_{0} \cos \beta_{1} - y_{1} \cos \beta_{0} \sin \beta_{1} + (x_{1} - x_{0} )\sin \beta_{0} \cos \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}l} {x_{0u} = \frac{{x_{u} \sin \beta_{0} \cos \beta_{u} - x_{0} \cos \beta_{0} \sin \beta_{u} + (y_{0} - y_{u} )\sin \beta_{0} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{0u} = \frac{{y_{0} \sin \beta_{0} \cos \beta_{u} - y_{u} \cos \beta_{0} \sin \beta_{u} + (x_{u} - x_{0} )\sin \beta_{0} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{u} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}c} {x_{1u} = \frac{{x_{u} \sin \beta_{1} \cos \beta_{u} - x_{1} \cos \beta_{u} \sin \beta_{1} + (y_{1} - y_{u} )\sin \beta_{1} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{1u} = \frac{{y_{1} \sin \beta_{1} \cos \beta_{u} - y_{u} \cos \beta_{1} \sin \beta_{u} + (x_{u} - x_{1} )\sin \beta_{1} \cos \beta_{u} }}{{\sin (\beta_{1} - \beta_{u} )}}} \\ \end{array} } \right. \hfill \\ \end{aligned} $$
(1.13)
$$ \left\{ {\begin{array}{*{20}l} {x_{01} = x_{0u} = x_{1u} } \\ {y_{01} = y_{0u} = y_{1u} } \\ \end{array} } \right. $$

To solve the equations, we analyze coefficient matrix

$$ A = \left[ {\begin{array}{*{20}l} {\frac{{\sin \beta_{0} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{0} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {\frac{{ - \cos \beta_{u} \sin \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{1} \cos \beta_{u} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ \end{array} } \right] $$

The matrix determinant \(\left| A \right| \ne 0\). If the solution of linear equations exists, the UAV can locate target UAV effectively. According to the law of exhaustion, we suppose that there are two position deviations of UAVs in transmitting signal, so the position deviation subjected to the same point of constraint:

$$ \text{s.t.} \left\{ {\begin{array}{*{20}l} {x_{01} = x_{0u1} = x_{1u1} = x_{0u2} = x_{1u2} } \\ {y_{01} = y_{0u1} = y_{1u1} = y_{0u2} = y_{1u2} } \\ \end{array} } \right. $$
(1.14)

We obtained a nonlinear equation describing the position relationship between UAVs:

$$ \begin{aligned} & \left\{ {\begin{array}{*{20}c} {x_{01} = \frac{{x_{1} \sin \beta_{0} \cos \beta_{1} - x_{0} \cos \beta_{0} \sin \beta_{1} + (y_{0} - y_{1} )\sin \beta_{0} \cos \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{01} = \frac{{y_{0} \sin \beta_{0} \cos \beta_{1} - y_{1} \cos \beta_{0} \sin \beta_{1} + (x_{1} - x_{0} )\sin \beta_{0} \cos \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}c} {x_{{0{\text{u}}1}} = \frac{{x_{u1} \sin \beta_{0} \cos \beta_{u1} - x_{0} \cos \beta_{0} \sin \beta_{u1} + (y_{0} - y_{u1} )\sin \beta_{0} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{0u1} = \frac{{y_{0} \sin \beta_{0} \cos \beta_{u1} - y_{u1} \cos \beta_{0} \sin \beta_{u1} + (x_{u1} - x_{0} )\sin \beta_{0} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{u1} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}c} {x_{1u1} = \frac{{x_{u1} \sin \beta_{1} \cos \beta_{u1} - x_{1} \cos \beta_{u1} \sin \beta_{1} + (y_{1} - y_{u1} )\sin \beta_{1} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{1u1} = \frac{{y_{1} \sin \beta_{1} \cos \beta_{u1} - y_{u1} \cos \beta_{u1} \sin \beta_{1} + (x_{u1} - x_{1} )\sin \beta_{1} \cos \beta_{u1} }}{{\sin (\beta_{1} - \beta_{u1} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}c} {x_{0u2} = \frac{{x_{u2} \sin \beta_{0} \cos \beta_{u2} - x_{0} \cos \beta_{0} \sin \beta_{u2} + (y_{0} - y_{u2} )\sin \beta_{0} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{0u2} = \frac{{y_{0} \sin \beta_{0} \cos \beta_{u2} - y_{u2} \cos \beta_{0} \sin \beta_{u2} + (x_{u2} - x_{0} )\sin \beta_{0} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{u2} )}}} \\ \end{array} } \right. \hfill \\ & \left\{ {\begin{array}{*{20}c} {x_{1u2} = \frac{{x_{u2} \sin \beta_{1} \cos \beta_{u2} - x_{1} \cos \beta_{u2} \sin \beta_{1} + (y_{1} - y_{u2} )\sin \beta_{1} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {y_{1u2} = \frac{{y_{1} \sin \beta_{1} \cos \beta_{u2} - y_{u2} \cos \beta_{u2} \sin \beta_{1} + (x_{u2} - x_{1} )\sin \beta_{1} \cos \beta_{u2} }}{{\sin (\beta_{1} - \beta_{u2} )}}} \\ \end{array} } \right. \hfill \\ \end{aligned} $$
(1.15)

In transmitting electromagnetic wave signal, we established linear equations matrix based on (1.15) between the UAVs

$$ B = \left[ {\begin{array}{*{20}l} {\frac{{\sin \beta_{0} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{0} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{u1} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {\frac{{ - \cos \beta_{u1} \sin \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{1} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{\sin \beta_{u2} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {\frac{{\sin \beta_{0} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{0} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{u2} \cos \beta_{u1} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ {\frac{{ - \cos \beta_{u2} \sin \beta_{1} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{ - \sin \beta_{1} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} & {\frac{{\sin \beta_{u1} \cos \beta_{u2} }}{{\sin (\beta_{0} - \beta_{1} )}}} \\ \end{array} } \right] $$

The matrix determinant \(\left| B \right| \ne 0\) implies that (1.15) are linear equations, and the coordinates of the targets can be obtained. It can be concluded that the two UAVs can be used as the signal transmitter to locate other UAVs effectively. Given the initial position parameters of UAV, we can solve the linear equations of system to get the accurate positioning of UAV by MATLAB. The function code is \(x = f{\text{solve}}({\text{fun}},x0)\), where fun equation to be solved, x0 is the initial value of calculation and x is the solution.

3.1 Multi-objective Dynamic Scheduling Model

In multi-objective dynamic scheduling model, we take the times of unmanned scheduling and the shortest distance from the received signal UAV to the ideal position as the optimization objectives, and establish the multi-objective UAV scheduling optimization model.

Objective Function

In each UAV adjustment scheme, we set the objective function according to the optimal objective with the minimum distance between the adjusted UAV and the ideal position:

$$ \min z = \min N_{i}^{(k)} \times S^{(k)} $$
(1.16)

where \(N_{i}^{(k)}\) is the number of scheduled UAVs and \(S^{(k)}\) is the scheduling distance.

Constraint Conditions

  1. 1.

    Each UAV receives a signal in a dispatch only

    $$ \sum\limits_{i = 1}^{9} {N_{ni} } = 1 $$
    (1.17)
  2. 2.

    After receiving the signal, each UAV changes position to schedule

    $$ f_{i}^{(k + 1)} = f_{i}^{(k)} + x_{i}^{(k)} (1 - f_{i}^{(k)} ) $$
    (1.18)
  3. 3.

    The dispatching distance of UAV cannot exceed its next dispatching distance

    $$ \sum\limits_{k = 1}^{k} {\sum\limits_{i = 1}^{9} {x_{i}^{(k)} (s_{{\text{i}}}^{(k)} + s_{{{\text{Ti}}}}^{(k)} \times f_{i}^{(k)} )} } \le 9 \times S_{T} $$
    (1.19)
  4. 4.

    The k + 1th scheduling point \(p^{(k + 1)}\) is the end of kth scheduling point \(q^{{({\text{k}})}}\)

    $$ q^{(k)} = p^{(k + 1)} $$
    (1.20)
  5. 5.

    The number of UAVs on the circle increased by 1

    $$ N_{ni}^{(k + 1)} = N_{ni}^{(k)} + \sum\limits_{i = 1}^{9} {\left( {f_{i}^{(k)} + x_{i}^{(k)} } \right)} $$
    (1.21)
  6. 6.

    Before the first dispatch, there is one UAVs on circle

    $$ N_{n0}^{{}} = 1 $$
    (1.22)

Therefore, we established the scheduling model of UAVs based on the shortest deviation angle from the ideal distance

$$ \min z = \min N_{i}^{(k)} \times S^{(k)} $$
$$ {\text{s.t}}{.}\left\{ {\begin{array}{*{20}l} {k = 1,2,3 \ldots ,i = 1,2, \ldots 9} \\ {\max (N_{m}^{(k)} ,T_{i}^{(k)} ) = \min T_{i}^{(k)} } \\ {\sum\limits_{i = 1}^{9} {N_{ni} = 1} } \\ {f_{i}^{(k + 1)} = f_{i}^{(k)} + x_{i}^{(k)} (1 - f_{i}^{(k)} )} \\ {\sum\limits_{k = 1}^{k} {\sum\limits_{i = 1}^{9} {x_{i}^{(k)} (s_{{\text{i}}}^{(k)} + s_{{{\text{Ti}}}}^{(k)} \times f_{i}^{(k)} )} } \le 9 \times S_{T} } \\ {q^{{({\text{k}})}} = p^{{({\text{k}} + 1)}} } \\ {\begin{array}{*{20}l} {N_{ni}^{(k + 1)} = N_{ni}^{(k)} + \sum\limits_{i = 1}^{9} {(f_{i}^{(k)} + x_{i}^{(k)} )} } \\ {N_{n0}^{{}} = 1} \\ \end{array} } \\ \end{array} } \right. $$
(1.23)

3.2 The Solution of Model

Considering the angle of the UAV to reach ideal position, we obtained the heuristic information of the distance of UAV to reach the ideal position, and designed the objective function of the deviation angle

$$ S_{{}}^{(k)} = \min (s_{p(k)q(k)}^{(k)} + s_{i}^{(k)} N_{i}^{(k)} ) $$
(1.24)

In the dynamic optimization model of UAV formation, we establish the model taking optimal flying angle as the objective function.

  1. (1)

    The UAV has completed the scheduled tasks

For the scheduled UAVs, taking the optimal deviation angle as the objective function, we establish the model:

$$ \theta_{1} = \min \sum\limits_{m = 1}^{M} {\sum\limits_{k = 1}^{V} {\sum\limits_{z = 1}^{i} {F_{mk} Y_{kz} d_{z} } } } $$
(1.25)

\(F_{mk}\) is the number of UAVs, \(Y_{kz}\) is the size of the circle, and \(d_{z}\) is the distance between adjacent UAVs.

  1. (2)

    The UAVs have not completed scheduled tasks

If the UAV has not received the signal or moved to the target position, we take optimal flying angle as objective function, and the shortest flying distance as the constraint condition:

$$ \theta_{2} = \sum\limits_{m = 1}^{{\text{m}}} {\sum\limits_{k = 0}^{{{\text{I}}_{mk} }} {\sum\limits_{z = 0}^{{{\text{I}}_{mk} }} {F_{mk} Y_{kz} d_{z} L_{mk} + } } } \sum\limits_{n = 1}^{M} {\left( {\sum\limits_{{k = l_{mk} }}^{V} {\sum\limits_{{z = l_{mn} }}^{V} {F_{mk} Y_{kz} d_{z} l_{mk} + d_{m} l_{m} } } } \right)} $$
(1.26)

where \(\theta_{1}\) is the angle that drone approaches the target and \(\theta_{2}\) is the angle which the drone approaches the target:

$$ \theta = \theta_{1} + \theta_{2} $$
(1.27)

We take (1.26) pluses (1.27) as the function of the optimal flying angle in dynamic scheduling optimization model:

$$ {\text{s.t}}{.}\sum\limits_{k = 0,z = 0}^{V} {\sum\limits_{k \ne z}^{V} {P_{mk} O_{mk} d_{z} \le \theta } } $$
(1.28)

In this case, the objective function is a dynamic optimization model, so we can solve the model of adjustment scheme for UAV with step acceleration method. First, we select the UAVs in good position except FY00 and FY01 as the launch source according to the initial data, then use the signals from UAVs to determine the locations of other UAVs. The positions of UVAs are adjusted according to the position information obtained. After an adjustment of position, we compare the positions of the seven UAVs other than FY00 and FY01, and select the UAVs with better positions as the launch source again. Repeating the above steps, if the final distribution of the UAVs has no deviation, all UAVs on the circle move to the exact position.

The UAVs Reach the Same Height

The distribution of tapered formation UAVs at the same height is shown in Fig. 1.7.

Fig. 1.7
A graph depicts the tapered formation of U A Vs represented by points 1 to 15 in the x-y plane. Points 11 to 15 are along the y-axis form a triangle with point 1 in the first quadrant. Points 7, 4, and 2 are on the edge between 11 and 1. Points 10, 6, and 3 are on the edge between 15 and 1.

Distribution of tapered formation UAVs at the same height

The coordinates of UAV can be calculated combining (7)

$$ P_{{{\text{FY}}0{\text{p}}}} \left( {\frac{{x_{a} + x_{b} + x_{c} }}{3},\frac{{y_{a} + y_{b} + y_{c} }}{3},\frac{{z_{a} + z_{b} + z_{c} }}{3}} \right) $$

where

$$ \begin{aligned} x_{{{\text{FY}}0{\text{p}}}} & = \frac{{x_{b} \sin \beta_{a} \cos \beta_{b} - x_{a} \cos \beta_{a} \sin \beta_{b} + (y_{a} - y_{b} )\sin \beta_{a} \cos \beta_{b} }}{{3\sin (\beta_{a} - \beta_{b}^{{}} )}} \\ & \quad + \frac{{x_{c} \sin \beta_{a} \cos \beta_{c} - x_{a} \cos \beta_{a} \sin \beta_{c} + (y_{a} - y_{c} )\sin \beta_{a} \cos \beta_{c} }}{{3\sin (\beta_{a} - \beta_{b}^{{}} )}} \\ & \quad + \frac{{x_{b} \sin \beta_{b} \cos \beta_{c} - x_{c} \cos \beta_{b} \sin \beta_{c} + (y_{b} - y_{c} )\sin \beta_{b} \cos \beta_{c} }}{{3\sin (\beta_{a} - \beta_{b}^{{}} )}} \\ y_{{{\text{FY}}0{\text{p}}}} & = \frac{{y_{a} \sin \beta_{a} \cos \beta_{b} - y_{b} \cos \beta_{a} \sin \beta_{b} + (x_{b} - x_{a} )\sin \beta_{a} \cos \beta_{b} }}{{3\sin (\beta_{a} - \beta_{b}^{{}} )}} \\ & \quad + \frac{{y_{a} \sin \beta_{a} \cos \beta_{c} - y_{c} \cos \beta_{a} \sin \beta_{a} + (x_{c} - x_{a} )\sin \beta_{a} \cos \beta_{c} }}{{3\sin (\beta_{a} - \beta_{c}^{{}} )}} \\ & \quad + \frac{{y_{c} \sin \beta_{b} \cos \beta_{c} - y_{b} \cos \beta_{b} \sin \beta_{c} + (x_{c} - x_{b} )\sin \beta_{b} \cos \beta_{c} }}{{3\sin (\beta_{b} - \beta_{c}^{{}} )}} \\ {\text{z}}_{{{\text{FY}}0{\text{p}}}} & = H \\ \end{aligned} $$
(1.29)

\(P_{{{\text{FY}}0{\text{k}}_{1} }}\) is close to \(P_{{{\text{FY}}0{\text{p}}}}\), and the coordinates of \(P_{{{\text{FY}}0{\text{k}}_{1} }}\),\(P_{{{\text{FY}}0{\text{k}}_{2} }}\), \(P_{{{\text{FY}}0{\text{k}}_{3} }}\) are \((x_{1} ,y_{1} ,z_{1} )\),\((x_{2} ,y_{2} ,z_{2} )\), \((x_{3} ,y_{3} ,z_{3} )\), in which \(Z_{1} = Z_{2} = Z_{3} = H\). If \(P_{{{\text{FY}}0{\text{k}}_{1} }}\),\(P_{{{\text{FY}}0{\text{k}}_{2} }}\),\(P_{{{\text{FY}}0{\text{k}}_{3} }}\) are non-collinear, we can determine the position of plane, otherwise we search the UAV position coordinates, and find the non-collinear points.

UAVs Are Flying at Different Height

When the formation UAVs are flying at different altitudes, we adopt the multi-target dynamic scheduling model, and calculate the stochastic reconfiguration optimization combining the simulated annealing algorithm [9]. According to the simulated annealing algorithm, when the annealing temperature is high and the annealing temperature drop is slow sufficiently, the solution of system converges to the global optimal solution. The steps of simulated annealing algorithm are as follows.

Step 1. Initial Solution

We choose random initial solution \(x_{0}\) to generate the iterative algorithm at the initial simulated annealing temperature \(T_{k}\) (k = 0).

Step 2. The Objective Function

When the temperature fluctuates around \(T_{k}\), we continue the following operation until \(T_{k}\) reaches a stable equilibrium state. The difference of the solution \(\left| {f(x) - f(x^{\prime})} \right| = \Delta f\) is solved. If △ < 0, x′ is feasible, otherwise, x′ is accepted according to \(\min (1,\exp ( - \Delta f/T_{k} )) > {\text{rand}}\left[ {0,1} \right]\).

Step 3. Annealing Cooling

We select the annealing coefficient C to annealing cooling. Among them \(T_{k + 1} = C_{{T_{k} }}\),\(k = k + 1\),\(C \in (0,1)\), it should be noted that the initial annealing temperature should be high, and annealing temperature drops slow sufficiently.

Step 4. The End of Annealing

We judge that the simulated annealing is finished according to the termination annealing temperature. If the annealing temperature satisfies the convergence condition, the simulated annealing process ends, otherwise, returns to step 2.

The annealing temperature determines the optimal the solution of function, and the system accepts the non-optimal solution through the spatial probability. The simulated annealing algorithm can jump out of the local extremum and converge continuously, then get the global optimal solution. The multi-objective dynamic scheduling model is

$$ \left\{ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {f_{i}^{(k + 1)} = f_{i}^{(k)} + x_{i}^{(k)} (1 - f_{i}^{(k)} )} \\ {\sum\limits_{k = 1}^{k} {\sum\limits_{i = 1}^{15} {x_{i}^{(k)} (s_{i}^{(k)} + s_{i}^{(k)} \times f_{i}^{(k)} ) \le 15S} } } \\ \end{array} } \\ {q^{(k)} = p^{(k + 1)} } \\ \end{array} } \right. $$
(1.30)

Scheduling Scheme of UAV Formation in Different Shapes

In actual, there are many UAV formations, such as t-type, y-type, diamond-type, and so on. Therefore, many simulation stations are used to simulate, and the positioning accuracy of various stations is compared according to the GDOP. According to the GDOP, the positioning accuracy of Y and inverted Y formations is higher than other formations. The GDOP of two UAV formations is more uniform than other UAV formations, so it is suitable for large-scale formation of UAVs. At the same time, the formation of the UAV can maintain strong positioning accuracy when it is disturbed by electromagnetic interference.

In Fig. 1.8, we present the comparison of positioning accuracy of bearings-only UAVs with different formation shapes, and give the specific adjustment scheme according to the dynamic scheduling model.

Fig. 1.8
6 graphs plot concentric lines that represent U A V formations with accuracy indicated along the lines. Top. 2 graphs plot dumbbell shapes, while another plots a 4-petal rose curve, with lines along the x and y axes. Bottom. 2 graphs plot concentric circles, while another plots butterfly curves.

Positioning accuracy under different formation shapes of UVAs

4 Conclusions

In this paper, the formation of a cluster of UAVs during formation flying is discussed, and a suitable positioning model is constructed by using multi-objective dynamic programming. Taking the regular and simple circular formation scenario as the starting point, a multi-objective dynamic optimization model based on bearings-only is established on the premise of knowing part of the UAV's position information and number, and the adaptive adjustment scheme in the real scene is discussed.