Design and Testing of Cooperative Motion Controller for UAV-UGV System
Abstract:
Unmanned ground vehicles (UGVs) and quadrotor unmanned aerial vehicles (UAVs) can work together to solve challenges like intelligent transportation, thanks to their excellent performance complements in perception, loading, and endurance. This study presents a UAV-UGV system cooperative control mechanism. To achieve collaborative trajectory tracking, the leader-follower strategy based on a centralized control structure is firstly established in conjunction with the application scenario. The fuzzy robust controller is created to control the quadrotor UAV and improve attitude stability. Meanwhile, the UGV's controller uses the pure pursuit algorithm and a proportional integral derivative (PID) controller. In order to evaluate the cooperative control strategy and algorithm, the UAV-UGV experimental platform is set up based on the QDrone and QCar, and the experimental results show the viability of the suggested plan.
1. Introduction
Autonomous unmanned systems, such as unmanned aerial vehicles (UAVs) and unmanned ground vehicles (UGVs), have gradually gained public attention in recent years [1], [2]. Quadrotor UAVs can perform vertical take-off and landing, hovering, and complete flexible and agile movements. Their application potential is immense in aerial photography, intelligent distribution, and urban patrol, owing to their simple mechanical design and low cost [3]. The UAV's 3D motion characteristics result in a greater field of vision and perception, and fewer restrictions from obstacles [4].
Albeit the distinctive motion characteristics above, quadrotor UAVs nevertheless have several shortcomings when it comes to carrying out missions because of the limitations of the related technical development. Even though work on high-energy density batteries is currently progressing, UAVs fall short of UGV systems in terms of durability. The UGVs can operate nearly regardless of the endurance duration because they can be powered by engines and power batteries. However, in dense building clusters, UGVs' sensing range is limited, and communications are vulnerable to interference and disruptions [5]. The UAV-UGV synergistic systems can efficiently combine the advantages of the two and offer solutions that are not possible with only one unmanned system. Because of this, the UAV-UGV systems have a wide range of application requirements in both the military and civilian sectors, including environmental parameter monitoring in intelligent agriculture, assisted landing in complicated terrain, and post-disaster rescue [6].
Numerous studies have been done on the leader-follower strategy [7], the virtual structure method [8], the artificial potential field [9], and the behavior-based method [10] of UAV-UGV systems. A quadrotor UAV was utilized by Chamry et al. [11] to track the movements of a UGV and realize the takeoff or landing on the moving UGV platform. Askari et al. [12] used a virtual structure method along with formation input to build a centrally controlled quadrotor UAV formation flight. When there are several dynamic and static obstacles, Zhao et al. [13] developed an enhanced artificial potential field method coupled with formation division to provide more flexible formation avoidance of obstacles. Balch and Arkin [10] designed and applied new reactive behaviors to multi-robot formations, and combined formation behaviors with other navigation behaviors. In this way, the teams of robots can avoid hazards, maintain formation, and reach navigation goals.
Due to its simple idea and minimal communication needs, the leader-follower system is easier to apply in engineering and is more frequently used in practice [14]. This research suggests a leader-follower cooperation technique for the UAV-UGV systems in conjunction with the application scenarios of intelligent transportation. The UGV is designated as the leader of the collaborative system to conduct course planning based on environmental maps, for UGVs are more susceptible to traffic limitations. The follower UAV's motion planning is accomplished through the cooperative controller, combined with the states of the UGV. Pure pursuit is used to achieve the motion control of the UGV in the low-velocity situation. The quadrotor UAV uses a dual-loop control structure, with the position subsystem in the outer loop and the attitude subsystem in the inner loop. When the attitude is controlled, the motion robustness and attitude stability are improved thanks to the fuzzy robust controller. The UAV-UGV experimental platform is constructed using Quanser QCar and QDrone, and trajectory tracking tests are run to assess the efficiency of the cooperative control strategy and algorithm.
The remainder of this paper is divided into five sections: Section 2 establishes mathematical models of the UAV-UGV cooperative system; Section 3 proposes the collaborative control strategy based on the leader-follower method, and designs the controller; Section 4 introduces the experimental platform and verifies the proposed strategy; Section 5 draws the main conclusions.
2. Problem Statement
In the inertial coordinate system, the states of the UGV are described by $P_c=\left[x_r, y_r, \psi_c\right]^T$, where $x_r$ and $y_r$ represent the position coordinates at the midpoint of the rear axis, respectively, and $\psi_c$ represents the vehicle orientation whose positive direction is taken counterclockwise from the X-axis. Suppose the wheels purely roll during low-velocity driving, and the UGV travels at the velocity of V. In Figure 1, E represents the axis of the real axis with coordinates $\left[x_r, y_r\right]$, F represents the axis of the front with coordinates $\left[x_f, y_f\right]$, C represents the intersection of the front wheel FC and the rear wheel normal EC, R represents the steering radius, δ represents the turning angle of the front wheel, and l represents the wheelbase of the UGV.
Then, the kinematic model of the UGV can be established as [15]:
As shown in Figure 2, the position and attitude of the quadrotor UAV can be described using two coordinate systems, namely, the inertial coordinate system $O_e X_e Y_e Z_e$ and the body coordinate system $O_b X_b Y_b Z_b$. In this paper, our coordinate system is oriented in the counterclockwise direction, and the orientation is determined by the right-hand rule. $\boldsymbol{X}=[x, y, z]^T$ and $\boldsymbol{V}=[u, v, w]^{\mathrm{T}}$ denote the center of the mass position and linear velocity in the inertial coordinate system, respectively; $[\phi, \theta, \psi]^T$ denote the UAV attitude angle; $[p, q, r]^T$ denote the roll, pitch, and yaw angular velocities of rotation around the body axis, respectively.
According to the Newton-Euler formula, the UAV’s motion can be modeled as [4]:
where, $R_b^e$ is the rotation matrix from the body coordinate system to the inertial coordinate system in the order of $\psi-\theta-\phi$; J is the inertial matrix of the quadrotor UAV; M is the combined moment, including rotor lift moment, anti-torsional pitch, and gyroscopic moment.
Considering the structural symmetry, the moment of inertia generated by the rotation of the rotor can be described as a diagonal matrix $J_{R P}=\operatorname{diag}\left(J_{r x}, J_{r y}, J_{r z}\right)$. Substituting the matrix into the above equation, the nonlinear dynamics of the quadrotor UAV can be obtained as [4]:
In a cooperative system, the motion states of the adjacent unmanned vehicles need to be considered in path planning. As shown in Figure 3, the individual unmanned vehicles (UVs) within the cooperative system can be illustrated by a point set $V(G)=\left\{V_1, V_2\right\}$, and the information exchange between the UVs by an edge set $E(G)=\left\{\left(V_1, V_2\right),\left(V_2, V_1\right)\right\}$. Note that $\left(V_i, V_j\right)$ indicates that information can be transmitted from Vi to Vj.
The interaction intensity between UVs can be described by an adjacency matrix $W=\left[w_{i j}\right]$. In the directed graph, if there are edges pointing from Vi to Vj, then $w_{i j}$ is equal to the weight of the influence. If i=j and $w_{i j}=0$, and if no edges point from Vi to Vj, then $w_{i j}=\infty$.
The degree matrix of the directed graph is denoted as $D=\operatorname{diag}\left\{d_1, d_2, \ldots, d_n\right\}$, where $d_i=\sum_{j=1}^n w_{i j}$. The Laplacian matrix of the directed graph is $L=D-W$. Ignoring the system difference in motion features, UVs can be regarded as abstract points in the collaborative system.
As shown in Figure 3, the adjacency of the UAV-UGV system is $W_{1,2}=\left(\begin{array}{ll}0 & 1 \\ 1 & 0\end{array}\right)$. It is generally considered that the UGV travels on a plane, and its motion state can be represented by $\boldsymbol{x}_G=\left[x_{U G V}, y_{U G V}, \psi_{U G V}\right]^T$. Meanwhile, the quadrotor UAV moves in the three-dimensional space with motion states $\boldsymbol{x}_A=\left[x_{U A V}, y_{U A V}, z_{U A V}, \phi_{U A V}, \theta_{U A V}, \psi_{U A V}\right]^T$. The number of the state variables should be unified to facilitate subsequent information processing and enhance the feasibility of the collaborative system.
Position control is getting more attention from researchers of the cooperative system. The height control and planar motion control can be decoupled, so that the cooperative system only needs to consider the motion of the UAV in the X and Y directions. Thus, the UAV states can be expressed as $x_A=\left[x_{U A V}, y_{U A V}, z_{U A V}\right]^T$. In summary, the UAV-UGV cooperative system can be modeled as:
3. Design of Cooperative Controller
In the general urban scene (Figure 4), the UGV encounters a more complicated traffic environment, a variety of impediments, and numerous unanticipated hazards, all of which necessitate better real-time decision-planning. In addition, the UGV functions more as an executor in a system due to its huge loading capacity. By contrast, the quadrotor UAVs' path planning involves less consideration of external obstacles, and they are known for their quick maneuvering. These UAVs serve more as the system's "eye" and perform perceptual tasks.
As a result, this study chooses a leader-follower method-based collaborative approach. While the UAV follows the movement of the UGV and provides environmental information, the UGV is the leader and plans the path in accordance with the traffic environment it must navigate. The UAV's sensing data can improve the predictability and dependability of decision-making. The leader-follower strategy is simpler to apply in engineering applications and requires less communication skill.
The UAV must fly around the UGV for its role in the system is to sense environmental data about the immediate area surrounding the UGV. The relative distance between the UAV and the UGV must satisfy the formation requirement during motion, so that the UAV can be brought into the desired position:
where, $x_{R F}=\left[x_{R F}, y_{R F}\right]^T$ and $\psi_{R F}$ are the reference trajectory of the follower; $\boldsymbol{x}_L=\left[x_{U G V}, y_{U G V}\right]^T$; $\boldsymbol{x}_F=\left[x_{U A V}, y_{U A V}\right]^T$; $\psi_L=\psi_{U G V}$.
With the position subsystem acting as the outer loop and the attitude subsystem acting as the inner loop, the quadrotor UAV adopts a dual-loop structure. After a rough linearization close to the equilibrium point, the proportional-integral-derivative (PID) controller is used for the quadrotor UAV's position subsystem [16]. Given the inevitable disturbances during flight, such as wind perturbations, the attitude subsystem of the UAV is developed using a fuzzy robust controller to increase attitude stability and anti-disturbance capacity. Prior to building the attitude controller, the attitude subsystem must first be linearized. A nonlinear system is fitted to a collection of linear systems using the T-S fuzzy model, whose fundamental premise is to linearize at numerous operational points [17]. The UAV is supposed to conduct a modest angle maneuver, without considering the impact of gyroscopic moment. Thus, the attitude subsystem can be modeled by:
Setting the state vector as $\boldsymbol{x}=\left[\begin{array}{llllll}\phi & \theta & \psi & \dot{\phi} & \dot{\theta} & \dot{\psi}\end{array}\right]^T$, the state space of the attitude subsystem can be expressed as:
where,
$\begin{aligned} \boldsymbol{u} &=\left[\begin{array}{lllll}\Gamma_\phi & \Gamma_\theta & \Gamma_\psi\end{array}\right]^T \\ \mathbf{y} &=\left[\begin{array}{llllll}\phi & \theta & \psi & \dot{\phi} & \dot{\theta} & \dot{\psi}\end{array}\right]^T \end{aligned}$
$\boldsymbol{A}(\boldsymbol{x})=\left[\begin{array}{cccccc}0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & \frac{J_y-J_z}{J_x} \dot{\theta} \\ 0 & 0 & 0 & 0 & 0 & \frac{J_z-J_x}{J_y} \dot{\phi} \\ 0 & 0 & 0 & \frac{J_x-J_y}{J_z} \dot{\theta} & 0 & 0\end{array}\right]$
$\boldsymbol{B}(\boldsymbol{x})=\left[\begin{array}{cccccc}0 & 0 & 0 & 1 / J_x & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 / J_y & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 / J_z\end{array}\right]^T$
The fuzzy premise variables can be selected as [17]:
Suppose the angular velocity is within a certain range:
The number of weight functions is p=3. Thus, the number of fuzzy rules for the UAV system is $r=2^3=8$. The if-then rules for the fuzzy model can be expressed as:
The T-S fuzzy model of the attitude subsystem can be expressed as
where, $h_i$ is the membership functions:
$\begin{array}{ll}h_1\left(\mu_i\right)=M_1^1 * M_2^1 * M_3^1 & h_2\left(\mu_i\right)=M_1^2 * M_2^1 * M_3^1 \\ h_3\left(\mu_i\right)=M_1^1 * M_2^2 * M_3^1 & h_4\left(\mu_i\right)=M_1^2 * M_2^2 * M_3^1 \\ h_5\left(\mu_i\right)=M_1^1 * M_2^1 * M_3^2 & h_6\left(\mu_i\right)=M_1^2 * M_2^1 * M_3^2 \\ h_7\left(\mu_i\right)=M_1^1 * M_2^2 * M_3^2 & h_8\left(\mu_i\right)=M_1^2 * M_2^2 * M_3^2\end{array}$
The weighting functions $M_i^j$ can be expressed as:
$M_i^1=\frac{\mu_{i M a x}-\mu_i(t)}{\mu_{i M a x}-\mu_{i M i n}}$
$M_i^2=\frac{\mu_i(t)-\mu_{i M i n}}{\mu_{i M a x}-\mu_{i M i n}}$
$i=1,2,3$
$A_i=\left[\begin{array}{cc}A_{i 1} & A_{i 2} \\ A_{i 3} & A_{i 4}\end{array}\right], A_{i 4}=\left[\begin{array}{ccc}0 & 0 & \frac{J_y-J_z}{J_x} \mu_{2 i} \\ 0 & 0 & \frac{J_z-J_x}{J_y} \mu_{1 i} \\ \frac{J_x-J_y}{J_z} \mu_{1 i} & 0 & 0\end{array}\right]$
$\mu_{1 i}=\left[\begin{array}{llllllll}\mu_{1 Min} & \mu_{1 Max } & \mu_{1 Min } & \mu_{1 Max} & \mu_{1 Min } & \mu_{1 M a x} & \mu_{1 Min} & \mu_{1 Max}\end{array}\right]$
$\mu_{2 i}=\left[\begin{array}{llllllll}\mu_{2 Min} & \mu_{2 Min } & \mu_{2 Max } & \mu_{2 Max} & \mu_{2 Min } & \mu_{2 Min } & \mu_{2 Max } & \mu_{2 Max}\end{array}\right]$
$\mu_{3 i}=\left[\begin{array}{llllllll}\mu_{3 Min} & \mu_{3 Min } & \mu_{3 Min } & \mu_{3 Min } & \mu_{3 \text { Max}} & \mu_{3 Max} & \mu_{3 Max} & \mu_{3 Max}\end{array}\right]$
Based on the T-S fuzzy model, the controller designed for the attitude subsystem can be expressed as:
The fuzzy state control law should satisfy $\lim _{t \rightarrow \infty} x(t)=0$. Moreover, the pole distribution of the closed-loop fuzzy control system is limited to a predetermined region D, such that the system can make transient responses:
Theorem 1 [18]: The closed-loop system (14) can achieve asymptotic stabilization, if and only if there exists a common positive symmetric matrix $\boldsymbol{P}$ such that:
$\boldsymbol{Q}_s=\boldsymbol{P}^{-1}, \boldsymbol{Y}_{\boldsymbol{i}}=\boldsymbol{K}_i \boldsymbol{Q}_s$. The quadratic stability problem of the system can be converted into the feasibility problem of linear matrix inequality.
Theorem 2 [18]: The closed-loop system (14) is stable if there exists a common positive symmetric matrix $Q_s$ and matrix $Y_{s i}$ such that the following LMI condition holds:
The fuzzy state feedback gain is $\boldsymbol{K}_{s i}=\boldsymbol{Y}_{s i} \boldsymbol{Q}_s^{-1}$. It is assumed that the pole configuration area D is a circular area with the center of $(-q, 0)$ and the radius of r:
where, $\boldsymbol{L}=\left[\begin{array}{cc}r & q \\ q & -r\end{array}\right], \boldsymbol{M}=\left[\begin{array}{ll}0 & 1 \\ 0 & 0\end{array}\right]$.
Theorem 3 [19]: The closed-loop fuzzy system (14) is D-stable if there exists a common positive symmetric matrix $Q_p$ and matrix $Y_{p i}$ such that the following LMI condition holds:
The state feedback gain is $K_{p i}=Y_{p i} Q_p^{-1}$.
Theorem 4 [17], [19]: The closed-loop fuzzy system (14) is stable in the specified region D if there exists a common positive symmetric matrix Q and matrix Yi such that the following LMI condition holds:
The fuzzy robust control gain is $K_i=Y_i Q^{-1}, i=1,2, \ldots, 8$.
The lateral control is realized by the pure pursuit algorithm. In Figure 5, the target point $\left(x_g, y_g\right)$ that needs to be reached at the next moment is determined according to the preview distance. Based on the geometric relationship, we have:
The desired rotation angle of the front wheel can be derived by:
The proportional-integral (PI) and feedforward controllers are adopted to control longitudinal velocity. The velocity control input can be expressed as:
4. Experimental Testing
Figure 6 depicts the experimental platform of the UAV-UGV system, which consists of the QCar intelligent vehicle, QDrone quadrotor, Optitrack motion capture system, and ground workstation PC. The 10 cameras of the Optitrack motion capture system send the workstation the acquired position data over data lines. The workstation combines and processes the acquired data to determine the location and attitude information of UAV and UGV. Then, it generates the appropriate cooperative control command in accordance with the cooperative motion requirements. The information and control command between them are transmitted through a 5GHz WiFi network.
The UGV's initial position in the defined coordinate system is (-2,-0.2), and its final position is (0.5,1.6). The Matlab/Simulink program simultaneously executes the quadrotor UAV procedure, the UGV control method, and the mission server procedure. As depicted in Figure 7, when the take-off command is sent, the UAV, which was initially parked close to the UGV, takes off and hovers above the initial position. The cooperative motion mode is then activated. The UAV-UGV system monitors the movement of the desired trajectory.
The UGV tracks the planned path, and the quadrotor UAV follows the motion of the UGV at a height of 1m. The forward-looking direction of the UAV during the movement is consistent with the velocity direction of the UGV, such as to provide a better view field and capture the information about the UGV surroundings. The whole collaborative motion progress and the actual spatial trajectory are displayed in Figure 8.
The trajectory curve of the UGV (Figure 9) reveals that the longitudinal and lateral errors are less than 0.1m. Figure 10 and Figure 11 demonstrate the quadrotor UAV performance in cooperative motion. The actual flight trajectory is shown as the solid blue line in Figure 10, while the X and Y reference trajectories are shown as the red dashed lines, which were generated online based on the real-time position state of the UGV and the formation requirements. The motion in Z-axis is set to a fixed height of 1m. The reference yaw angle in Figure 11 was also generated online based on the real-time forward direction of the UGV, which is equal to the UGV’s direction angle. The tracking errors in the X and Y directions are smaller than 0.08m and 0.09m, respectively, and the tracking error of the yaw angle is below 10 degrees.
The above results demonstrated that the UAV is capable of stable flight in close proximity to the UGV, which preserves the consistency of direction and position to deliver ongoing information on the UGV's surroundings. To produce stable aerial images, the UAV's attitude must be maintained stably during the movement. The quadrotor UAV's error in height direction is 0-0.1m, while the absolute values of pitch and roll angles may vary by 0 to 5 degrees. The in-flight attitudes are stable and satisfy the requirements of the cooperative motion scenario.
5. Conclusions
This study developed and tested a cooperative strategy for the UAV-UGV system based on the leader-follower method. First of all, the UAV-UGV system's leader-follower strategy was suggested while taking into account the urban traffic environment. The UGV took charge of the collaborative system since it was subject to stricter traffic limitations. As the follower, the UAV was in charge of various environmental perceptions. The UGV's states and cooperative motion requirements were used to create the UAV's position commands. Second, the UGV's horizontal and longitudinal motion control were implemented using the pure pursuit method and the proportional-integral controller, respectively. The dual-loop control mechanism was adopted by the quadrotor UAV. The position subsystem utilizes the PID contorller. To improve attitude stability and motion robustness, the attitude subsystem was linearized utilizing a T-S fuzzy model and a fuzzy robust controller. Finally, the experimental platform for the QCar and QDrone-based cooperative system was constructed to run tests for trajectory tracking. The reliability and efficiency of the cooperative control strategy and control algorithm were confirmed by the experimental results.
The data used to support the findings of this study are available from the corresponding author upon request.
The authors declare that they have no conflicts of interest.