Next Article in Journal
Flexible Mechanoluminescent SrAl2O4:Eu Film with Tracking Performance of CFRP Fracture Phenomena
Next Article in Special Issue
Real-Time Ship Segmentation in Maritime Surveillance Videos Using Automatically Annotated Synthetic Datasets
Previous Article in Journal
Realtime Monitoring of Local Sweat Rate Kinetics during Constant-Load Exercise Using Perspiration-Meter with Airflow Compensation System
Previous Article in Special Issue
A New Multidimensional Repulsive Potential Field to Avoid Obstacles by Nonholonomic UAVs in Dynamic Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Asymmetrical Artificial Potential Field as Framework of Nonlinear PID Loop to Control Position Tracking by Nonholonomic UAVs

Department of Robotics and Mechatronics, Faculty of Mechanical Engineering, Bialystok University of Technology, Wiejska St. 45C, 15-351 Bialystok, Poland
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(15), 5474; https://doi.org/10.3390/s22155474
Submission received: 28 June 2022 / Revised: 19 July 2022 / Accepted: 20 July 2022 / Published: 22 July 2022
(This article belongs to the Special Issue Tracking and Sensing Based on Autonomous Aerial Vehicles)

Abstract

:
Precise position tracking plays a key role in formation flights of UAVs (unmanned aerial vehicles) or other applications based on the idea of the leader–following scheme. It decides on the integrity of a formation or increasing the position error when a UAV follows the desired flight path. This is especially difficult in the case of nonholonomic vehicles having limited possibilities of making turns, causing a lack of stability. An asymmetrical artificial potential field (AAPF) is the way to achieve the stability of position tracking by nonholonomic UAVs, but it is only a nonlinear proportional relation to feedback given by a tracking error. Therefore, there can still be a steady-state error or error overshoots. Combining an AAPF with integral and derivative terms can improve the response of control by damping overshoots and minimizing the steady-state error. Such a combination results in a regulator whose properties allow defining it as nonlinear PID. Numerical simulation confirms that integral and derivative terms together with an AAPF create a control loop that can minimize overshoots of the tracking error and the steady-state error and satisfy conditions of asymptotical stability.

1. Introduction

Position tracking is one of the most useful features of present unmanned aerial vehicles. It can be adopted in a variety of applications, starting from formation flights [1,2,3],through operations such as moving platforms [4,5], ending with visual feature tracking [6,7], such person tracking [8], which is common in commercial drone solutions (e.g., DJI). In each of them, the precision of keeping the desired position or distance from a moving reference point plays a crucial role. Therefore, most of them focus on the usage of multirotor construction, whose main advantage is the capability of omnidirectional movement. This class of vehicles belongs to holonomic robots [9,10], in which the controllable degrees of freedom are equal to the total degrees of freedom. Omnidirectional maneuverability makes it easier to achieve a smooth tracking of reference points, maintaining control stability. Whereas, in the case of unmanned fixed-wing aircraft, the problem is more difficult and complex due to nonholonomic constraints. Limited maneuverability resulting in minimum turn radius requires applying different approaches. Therefore, the leader–follower formation control scheme is more popular in the case of fixed-wing UAVs (unmanned aerial vehicles) than other methods [3,11,12,13,14]. The leader–follower control scheme assumes that the follower UAV tracks the leader UAV’s position at a predefined safe distance, which is, in fact, the predefined set-point value of the tracking error. This eliminates situations when it changes its sign unintentionally, limiting the range of allowable heading angle change. Other methods used in fixed-wing formation flights are based on structure and motion synchronization [15], model predictive control algorithms applied to track the reference trajectory [16], and artificial potential fields [14]. The artificial potential field (APF) is one of the methods that allow achieving optimal flight path, guiding a UAV among obstacles towards a mission target [17]. Mathematical nonlinear functions used to create the APF and related velocity vector fields possess satisfactory requirements to be candidates for Lyapunov functions [18]. Lyapunov functions are scalar functions that guarantee the asymptotical stability of equilibrium of an ordinary differential equation. Therefore, in most cases of APF methods, UAV guidance applies a velocity vector field that is symmetrical around the point where the potential function reaches its minimum. Such a kind of potential field fails in the case of a nonholonomic vehicle [19]. The artificial potential field (APF) combined with nonholonomic constraints of a UAV causes instability as the result of violent heading and airspeed changes due to the inertia in a UAV’s response to changing relative position. Therefore, novel formulas of a potential field solve this stability issue [19,20]. The idea is to bound the allowable range of heading angles and airspeed which corresponds to the nonholonomic constraints of fixed-wing UAV. This requires an adequate potential field in which gradients smoothly target in one specified direction. One of the solutions in the field of artificial potential fields satisfying that requirement is described in [20] and its further evolution in [21]. The solution is called a method of an asymmetrical artificial potential field (AAPF). The main feature of the proposed method of an AAPF is an asymmetrical distribution of velocity vector field in relation to a line of instantaneous direction of the tracked point movement. Although there is proof that such an AAPF provides asymptotically stability of position tracking, it does not include resistance to external factors, such as wind gusts which disturb the dynamics and precision of position tracking [20]. This is because potential artificial fields define only a nonlinear geometrical relationship between velocity vector and the position of a UAV relative to the tracked point (i.e., tracking error) without including data about how it changes in time. Hence, AAPF can be treated only as a nonlinear function of tracking error, which acts as a nonlinear proportional term of a PID regulator. This article shows that it is possible to extend the definitions of AAPF and related velocity vector field with derivative and integral terms of PID controller, which will be defined also as nonlinear functions of position tracking error. This approach results in the novel form of nonlinear PID controller which is perfectly suited to control dynamics of position tracking by nonholonomic UAVs. We can consider it as geometrical nonlinear PID control like in [22], but in contrast, it inherits properties of the AAPF, which guarantees asymptotic stability for nonholonomic vehicles. There are definitions of novel nonlinear integral (I) and derivative (D) elements of PID controllers with position tracking error as input and the AAPF as the nonlinear proportional element in this article. The usage of D and I terms with the AAPF makes the guidance of position tracking able to respond to both dynamics and steady-state tracking error, still providing the asymptotical stability in the case of nonholonomic UAVs [20]. We carried out numerical simulations and it was proved that the effectiveness of the proposed position tracking approach is better than in the case of the approach based only on an AAPF, especially if a UAV flight is during windy conditions. Therefore, highlighting the advantages of the proposed fusion of AAPF properties with the benefits of a PID controller in reference to the standalone approach AAPF applied to the problem of position tracking by nonholonomic UAVs is the main contribution and the novelty of the article. Moreover, the AAPF approach is an advantage itself in reference to other known methods of position tracking. The following part of the article has five sections. In Section 2, there is a description of the asymmetrical potential field presented as nonlinear proportional terms independently for each axis of the reference frame. Section 3 and Section 4 present respectively definitions of I and D terms, which together with an asymmetrical potential field create a nonlinear PID loop, which determines the novelty of the proposed approach. Section 5 presents numerical simulations and their results. The article ends with conclusions (Section 7) based on simulations results presented in Section 6. In Table 1 there is a list of symbols and acronyms used throughout the article.

2. Artificial Asymmetrical Potential Field as Nonlinear Proportional Term

To achieve global asymptotical stability, the artificial asymmetrical potential field approach decouples a position control in longitudinal and lateral directions. In the longitudinal direction, the control is based on nonlinear asymmetrical control of velocity which increases or decreases according to the sign of position tracking error in axis x, i.e., along the direction of a reference point movement. Therefore, on both sides of axis y, there are areas named an acceleration zone, when the position tracking error in axis x is positive, and a deceleration zone, when the error is negative. The x-axis component of a velocity vector is an output of the velocity control. In turn, control in lateral directions must align the UAV’s heading and pitch angles to the heading and pitch angles of the reference point. A control of heading and pitch angles assumes a symmetrical nonlinear relation between tracking errors in axes y and z, and velocity in these axes. The control of heading and pitch angles defines components of the velocity vector respectively in axis y and axis z. The decoupled position control for each axis based on the AAPF is shown in Figure 1a–c, where the components of the velocity vector field around and respected to each axis are presented as cross-sections of velocity vector subfields in planes x-y or x-z. Figure 1d presents the superposition of all subfields composing the resultant velocity vector field based on the AAPF, shown as cross-section in the plane x-y.
In Figure 1a,d, velocity vector fields are in different colors to indicate areas of the acceleration and deceleration zones. Figure 1 explains the global asymptotical stability of position tracking based on the AAPF approach. A potential function for the velocity vector field in Figure 1a reaches its minimum equal to zero along the line of axis y (1). Similarly, potential functions for the velocity vector fields in Figure 1b,c have minimums equal to zero along axis x. Therefore, the sum of all potential functions giving the AAPF from Equation (1) has a minimum located exactly at the point of intersection of two lines of axes x and y. If the minimum equals zero and the value of the function for each value of x, y, and z, is greater than zero, the function will satisfy conditions for Lyapunov function and global asymptotical stability [20].
The definition of asymmetrical potential function U i S ( x , y , z ) formulated (Figure 2b) in [20] is as follows:
U i S ( x , y , z ) = V L · arctan α · x + 1 3 · γ · y 3 + 1 3 · γ · z 3 x 0 V L · α · x + 1 3 · β · x 3 + 1 3 · γ · y 3 + 1 3 · γ · z 3 x < 0 ,
where V L —airspeed of the tracked virtual point, α , β , γ —coefficients regulating the slope of the potential function, i.e., in the forward longitudinal direction, ( x 0 ) —the rate of deceleration, in the backward direction, ( x < 0 ) —the rate of acceleration, and in both perpendicular directions, lateral and vertical, (y and z)—respectively, rate of heading and pitch.
The gradient of the potential function U i S used to create control velocity vector field V i S (Figure 2) is as follows [20]:
U i S x , y , z = α · V L 1 + α · x 2 , γ · s g n y · y 2 , γ · s g n z · z 2 x 0 s g n x · α · V L + β · x 2 , γ · s g n y · y 2 , γ · s g n z · z 2 x < 0 ,
Equation (2) defines velocity vector field V i S (Figure 2a) based on gradient U i S [21].
V i S x , y , z = U i S x U i S y U i S z · D Ψ L ˙ = U i S x U i S y U i S z · c o s ε · Ψ L ˙ s i n ε · Ψ L ˙ 0 s i n ε · Ψ L ˙ c o s ε · Ψ L ˙ 0 0 0 1 ,
where Ψ L ˙ —rate of heading angle of the tracked virtual point, U i S ( x ) —component of gradient U i S in axis x, U i S ( y ) —component of gradient U i S in axis y, U i S ( z ) —component of gradient U i S in axis z, and ϵ —a gain coefficient having the meaning of time constant related to the inertia of response to tracked point turn.
Rewriting Equation (3) into Equation (4) allows splitting the velocity vector field into subfields from Figure 1a (axis x), Figure 1b (axis y), and Figure 1c (axis z).
V i S x , y , z = U i S x 0 0 P a x i s x + 0 U i S y 0 P a x i s y + 0 0 U i S z P a x i s z · D Ψ L ˙ ,
Each vector specified for the associated axis in Equation (4) is a nonlinear function of tracking error in a given axis such as gradient U i S ( x , y , z ) itself. Their lengths are strictly dependent on magnitudes of tracking errors in the related axis and therefore they can be considered as nonlinear proportional terms of PID loops. Let us formulate those PID terms for each axis based on Equation (4).
P x = U i S x 0 0 , P y = 0 U i S y 0 , P z = 0 0 U i S z ,
Proportional control based only on relative position is insufficient for a precise and stable position tracking control under the influence of disturbances like wind gusts. Therefore, an integral term should extend the definition from (4). This allows minimizing the steady-state error. Nonlinear integral terms for each axis are in the next section.

3. Nonlinear Integral Term of PID Control Loop

The general purpose of the integral term of the PID control loop is to minimize the steady-state error. It amplifies the response of the control system as a function of the integral of error which grows with time in the case of the presence of the steady-state error. The side effect is the deterioration of stability. In the case of position tracking, it compensates for the permanent influence of wind and improves the precision of the control. The AAPF is a nonlinear function of tracking error and therefore there are two ways to implement integral terms. At first, they are simple additions to the proportional term as it is in definitions of traditional PIDs and PIs. In the second, they create a uniform nonlinear function of PI controller depending on constraints of the output and specific properties of the control that excludes a simple sum of P and I terms [23,24,25]. In the case of position tracking based on the AAPF, the implementation of integral terms should be independent of the longitudinal and traversal directions, and the zones of the acceleration and deceleration. This is because of the deceleration zone, where the steady-state error in the axis x should decrease the UAV’s velocity in this axis smoothly starting from a maximum value, i.e., reference position velocity. Reversely, in the acceleration zone or along axes y and z it should increase the velocity respectively in each axis up to the speed limit of the UAV. Therefore, definitions of integral terms for each axis are different. For axis x a nonlinear PI controller is as follows:
P I x = f P I x , I x 0 0 ,
where f P I is nonlinear function based on U i S ( x ) replacing coefficients and by sums of them with the integral I ( x ) amplified by δ I x 1 and δ I x 2 .
f P I x , I x = α · V L 1 + α + δ I x 1 · I x · x 2 x 0 s g n x · α · V L + β + δ I x 2 · I x · x 2 x < 0 ,
Comparing Equations (6) and (7) with (5), it can be noticed that if the integral I ( x ) equals zero, the following identity is true f P I ( x , I ( x ) ) = U i S ( x ) . While for nonzero values of the integral I ( x ) , the strength of the acceleration or deceleration effect is proportional to I ( x ) . The purpose of integral terms is to overcome the disturbance impacts on position tracking. Therefore, the integral I ( x ) should compensate for the steady-state error in axis x, only when the source of disturbance and a UAV are on the opposite sides of the tracked point. If a UAV is on the same side of the tracking point where the wind gust comes from, the integral will only amplify the wind effect, causing instability. Hence, the integral I ( x ) has the meaning for position tracking only when its sign is the same as the sign of the tracking error. Hence, a definition of the integral I ( x ) is as follows:
I x = 0 τ x d t x 0 0 τ x d t 0 x < 0 0 τ x d t < 0 0 ,
Figure 3 explains the definition of I ( x ) and its usage in the control.
As mentioned above in lateral directions, integral terms should increase components of velocity vector respectively in axes y and z according to the tracking errors in each axis. There are no constraints on velocity in these axes related to the velocity of the tracked point as it is in the case of the acceleration zone. Therefore, integral terms simply sum to the proportional terms. Definitions of nonlinear PI controllers for y and z axes are as follows:
P I y = 0 U i S y 0 P + 0 δ I y · I y 0 I , P I z = 0 0 U i S z P + 0 0 δ I z · I z I ,
where I ( y ) —the integral of tracking error in axis y, I ( z ) —the integral of tracking error in axis z, δ I y , and δ I z —integrals’ coefficients.
Similar to Equation (8), the action of integrals terms in the control for axes y and z should be correlated to the direction of wind and UAV’s relative position (Figure 4). Hence, their definitions are identical:
I y = 0 τ y d t y 0 0 τ y d t 0 y < 0 0 τ y d t < 0 0 ,
I z = 0 τ z d t z 0 0 τ z d t 0 z < 0 0 τ z d t < 0 0 ,
The next step is to prepare and define derivative terms, which are important elements in the position tracking control. They improve the dynamics of the control and a response to a rapid change of the tracking error, to reduce relative position overshoots.

4. Nonlinear Derivative Term of PID Control Loop

The derivative term of the PID controller is useful in minimizing overshoots of a system’s error and regulation time, which improves response and stability in transient state. Therefore, extending position tracking control with derivative terms should result in the improvement of response to sudden position change due to disturbances such as wind gusts. The position tracking control based on the AAPF defines derivative terms in the same manner as integral terms. In axis x for x > 0 , i.e., in the acceleration zone, a derivative term must be inside the nonlinear function of gradient U i S ( x ) to keep the limit of UAV’s maximum velocity equals to the velocity of the tracked point in the point of equilibrium. To achieve this, identity f P D ( x , D ( x ) ) = f P I D ( x , I ( x ) , D ( x ) ) = U i S ( x ) for x = 0 must also be true. Hence, definitions of a nonlinear PID controller for axis x and the function f P I D ( x , I ( x ) , D ( x ) ) is as follows:
P I D x = f P I D x , I x , D x 0 0 ,
f P I D x , I x , D x = α · V L 1 + α + δ I x 2 · I x + δ D x 1 · D x · x 2 x 0 s g n x · α · V L + β + δ I x 2 · I x + δ D x 2 · D x · x 2 x < 0 ,
where δ D x 1 , δ D x 2 —coefficients of derivative term D ( x ) = d x d t , δ I x 1 , δ I x 2 —coefficients of integral term I ( x ) .
In the case of axes y and z, derivative terms D added to PI controllers from Equation (9) create definitions of nonlinear PID controllers for these axes:
P I D y = 0 U i S y 0 P + 0 δ I y · I y 0 I + 0 δ D y · D y 0 D ,
P I D z = 0 0 U i S z P + 0 0 δ I z · I z I + 0 0 δ D z · D z D ,
where δ D y 1 , δ D y 2 —coefficients of derivative term D ( y ) = d y d t , δ D z 1 , δ D z 2 —coefficients of derivative term D ( z ) = d z d t , δ I y —a coefficient of integral term I ( y ) , δ I z —a coefficient of integral term I ( z ) , U i S ( y ) , and U i S ( z ) —elements of the gradient from Equation (2).
Equations (12)–(15) together formulate a novel nonlinear PID controller dedicated for position tracking in-flight by nonholonomic UAVs such as fixed-wings. Because it applies the AAPF as proportional terms of feedback of position error, it keeps Lyapunov function properties to provide the global asymptotical stability. Extending the AAPF with integral and derivative terms it is possible to reduce control overshoots and steady-state errors. To verify and adjust the coefficients of the nonlinear PID controller, a series of numerical simulations were carried out. The simulation results are in the next section.

5. Numerical Simulations

The output of the nonlinear PID controller applied to the control of position tracking is a velocity vector whose length and spatial attitude guide the UAV toward the tracking point. Usually, UAV’s guidance applies loops of lateral and longitudinal control based on three following state variables: heading angle, pitch angle, and airspeed. Outputs of these loops are set-point inputs for inner control loops of deflections of steering elements, i.e., ailerons, elevators, and the throttle of a propeller engine. Therefore, the UAV’s control system has a hierarchical structure, typically based on traditional PID controllers with feedforward terms and gains scheduling. Figure 5 presents the structure of lateral and longitudinal control of a fixed-wing UAV. The nonlinear PID controller of the loop of position tracking is the most outer loop in the structure, hence the velocity vector is the input for the guidance layer. To calculate set-points for heading, pitch, and airspeed loops, it is necessary to apply the following equations [20]:
ψ D = a t a n 2 P I D ( y ) , P I D ( x ) ,
θ D = a t a n 2 P I D z , P I D ( x ) 2 + P I D ( y ) 2 ,
V D = P I D ( x ) 2 + P I D ( y ) 2 + P I D ( z ) 2 ,
where P I D ( x ) is the nonlinear PID’s output for axis x (Equation (12)). P I D ( y ) and P I D ( z ) are outputs of the nonlinear PID respectively for axes y and z given by Equations (14) and (15).
The UAV’s control system uses saturations on inputs of PID loops of angles of roll, pitch, and airspeed which confine the state-space of UAV’s dynamics to a zone in which the UAV is controllable by onboard electronics. Numerical simulations apply saturation thresholds of these loops’ inputs, typically for small fixed-wing UAVs (wingspan less than 1.5 m and total payload mass than 2 kg), i.e., the limit of roll angle is a range of ± 30 ° , the limit of pitch angle is a range of ± 15 ° and for airspeed is a range of 10–20 m/s. To simulate the UAV’s dynamics, numerical simulations use the 6DoF mathematical model of a fixed-wing UAV [26] and discrete wind gust model implementing a wind gust of the standard “1-cosine” shape as it is in the Military Specification MIL-F-8785C. In simulations, the maximum gust magnitudes are 3 m/s and 5 m/s, respectively for the longitudinal and lateral directions. To verify the response of the control to varying wind direction, simulations assume two scenarios, where it changes about 180 ° in the lateral and longitudinal direction of a flight path. Each scenario verifies the tracking control in each of the directions for different values of coefficients γ , δ I y , δ D y in the first scenario and α , β , δ I x 1 , δ I x 2 , δ D x 1 , δ D x 2 in the second one. Values of δ I z and δ D z are the same as in sequence δ I y and δ D y .

5.1. Lateral Wind Gust Case

The first scenario of simulations assumes that there is a wind gust on the left side of the flight path. It starts at the 50th second of simulations and changes its direction to about 180 ° at the 70th second. The tracked reference point is moving with a constant speed equal to 15 m/s along a straight line. The maximum speed of wind gust is 5 m/s. The scenario is in Figure 6.

5.2. Longitudinal wind Gust Case

In the second scenario, there is a backwind gust which also starts at the 50th second of simulations and it changes to a headwind at the 70th second. Similarly, as it is in the first scenario, the tracked reference point is moving straightly along axis x and its speed steeply increases to 15 m/s at the beginning of the simulation. The maximum airspeed of the UAV (20 m/s) is greater than the sum of the wind speed (3 m/s) and the speed of the tracked point (15 m/s). In turn, the minimum airspeed of the UAV (10 m/s) is lower than the difference between the wind speed and the speed of the tracked point. These assumptions are obligatory to make the UAV able to achieve relative velocity with respect to the tracked point which is necessary to align position and velocity. The second scenario is in Figure 7.
Figure 8 presents time plots of velocityof simulated discrete wind gusts in the same coordinates frame, in which the UAV tracks a target position. Simulations used the model of a wind gust of the standard “1-cosine” shape as it is in the Military Specification MIL-F-8785C [27,28].

6. Results

Figure 9 presents a comparison of time plots of position tracking errors for the nonlinear P, PI, and PID controllers based on the AAPF in the case of a lateral wind gust. To observe differences in the response of each type of nonlinear controller, the used values for each coefficient of γ , δ I y , δ I z , δ D y , δ D z y , are as follows: 0.1, 1, and 10.
In each simulation, the other parameters are constant, i.e., α = β = 10 , ε = 0.3 . The longitudinal control of position tracking uses only the nonlinear proportional term P, therefore, the following parameters δ I x 1 , δ I x 2 , δ D x 1 , and δ D x 2 are zero. Based on subplots in Figure 9(1a–1c), the increment of the value of γ results in the decrement of tracking error E y , rise and set time, and in the increment of regulation overshoots, but the tracking error in the steady-state remains constant. This confirms that the coefficient γ has the property of the gain K P of the proportional term in the standard PID controller. Whereas the increment of δ I y value progressively reduces the steady-state error in time (Figure 9(2a–2c), simultaneously it increases the magnitude and frequency of overshoots after the appearance of gusts. Therefore, coefficients δ I y and δ I z have the same meaning as the gain K I = K P T I of the integral term of PID, and they are inversely proportional to the time constant T I . Finally, the increment of δ D y value reduces the magnitude and the frequency of overshoots like the derivative term of the standard PID does. The role of the derivative term is to react and suppress rapid changes of position tracking errors. Therefore, coefficients δ D y and δ D z are identical to gains of the derivative term of PID, i.e., K D = K P · T D , and they are proportional to the time constant T D . Comparing Figure 9(1a) with Figure 9(3c) proves the effectiveness of the nonlinear PID controller based on AAPF. There is a significant improvement in the response of the position tracking control to a lateral wind gust by a conspicuous reduction of the position tracking error, also in the steady-state, the decrement of rising and setting time, and the minimization of overshoots. Because the nonlinear PID controller uses the AAPF as the base, even large values of discussed coefficients will not cause instability and therefore PID tuning by Ziegler–Nicholson method is not possible in this case. Figure 10 presents results for the second scenario which assumes a sequence of gusts in the longitudinal direction relative to the flight path. For the control in the lateral direction, it uses values of coefficients γ , δ I y , δ I z , δ D y , δ D z from Figure 9(3c). Time plots of tracking error in this figure allow formulating conclusions that are identical as it is in the case of lateral gusts. Coefficients α and β are gains of the proportional terms of the nonlinear PID, δ I x 1 , δ I x 2 are gains of the integral terms, and δ D x 1 , δ D x 2 are gains of the derivative terms, respectively for the deceleration zone and the acceleration zone according to the asymmetry of the velocity vector field V i S ( x , y , z ) (Figure 1). Gains of the proportional terms minimize the tracking error and rising and setting time, while gains of the integral terms minimize the steady-state error but increase overshoots, and gains of derivative terms decrease overshoot magnitude and frequency.
Because there is an interdependence between the lateral and the longitudinal controls observed as oscillations of E x when lateral gusts appear in Figure 9, it is necessary to verify the response of the control in the case of simultaneous gusts in both lateral and longitudinal directions. The sequence of gusts and their speeds are identical to what was in the previous scenarios. Figure 11 presents time plots of tracking errors for such a situation while it uses the nonlinear PID controller with coefficients α = 10 , β = 10 , γ = 10 , δ I x 1 = δ I x 2 = δ I y = δ I z = 1 and δ D x 1 = δ D x 2 = δ D y = δ D z =10. There are overshoots at the 70th second of simulation in comparison to plots from Figure 9(3c) and Figure 10(3c), but generally, the tracking error does not exceed 1 m and it decreases smoothly in time. This confirms the effectiveness of the control and the validity of the extension of AAPF with integral and derivative PID terms, making position tracking control for nonholonomic UAVs more stable and robust to environmental disturbances.

7. Conclusions

The asymmetrical potential function fulfills requirements for the Lyapunov functions, therefore it provides asymptotical stability in the control of position tracking by nonholonomic, fixed-wing UAVs in applications such as formation flight or target tracking [20]. However, the approach based on the AAPF is ineffective in the case of disturbances that can cause steady-state errors and overshoots. The idea of this work is to extend the definition of the AAPF with the integral and derivative terms to define the novel form of nonlinear PID control loop for the position tracking control by nonholonomic UAVs. The proposed nonlinear PID control loop inherits properties of AAPF, thus it also guarantees the asymptotical stability, and additionally, it gets new properties, enabling the possibility to reduce the steady-state error by the proposed form of the integral terms and to minimize overshoots by the derivative terms. Results of numerical simulations prove the effectiveness of the nonlinear PID controller in improving the control response. The increment of gains of each term gives benefits that are typical for the standard PID controller, i.e., the gain of proportional term minimizes error, rise, and setting time but increases oscillations’ amplitude and frequency, and the gain of integral term minimizes the steady-state error, but increases clearly the amplitude and frequency of oscillations, the gain of derivative term decreases overshoots and oscillations significantly. Because the proportional term results from AAPF, it is not possible to induce system oscillation required to tune the PID loop according to the Ziegler–Nicholson approach. This means that independently of gains of the nonlinear PID loop, the position tracking control remains stable, disturbed only with damped high-frequency oscillations limited by inertia and performance of actuators, which can cause their damage (Figure 12). Similar combinations are applicable for other artificial potential functions having properties of the Lyapunov function, designed for other applications where the precision and the stability of control are highly expected.

Author Contributions

Conceptualization, C.K. and L.A.; methodology, C.K.; software, C.K.; validation, C.K.; formal analysis, C.K and L.A.; investigation, L.A.; resources, L.A.; data curation, C.K.; writing—original draft preparation, C.K and L.A.; writing—review and editing, L.A.; visualization, L.A.; supervision, C.K.; project administration, C.K. and L.A.; funding acquisition, C.K. and L.A. All authors have read and agreed to the published version of the manuscript.

Funding

The following research has been carried out within the framework of grant No. WZ/WM-IIM/2/2022 and financed by the Polish Ministry of Science and Higher Education.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ambroziak, L.; Ciężkowski, M. Virtual Electric Dipole Field Applied to Autonomous Formation Flight Control of Unmanned Aerial Vehicles. Sensors 2021, 21, 4540. [Google Scholar] [CrossRef] [PubMed]
  2. Dongwoo, L.; Seung-Keun, K.; Jinyoung, S. Design of a Track Guidance Algorithm for Formation Flight of UAVs. In Proceedings of the AIAA Guidance, Navigation, and Control Conference, Kissimmee, FL, USA, 5–9 January 2015. [Google Scholar] [CrossRef]
  3. Kownacki, C. Multi-UAV Flight Using Virtual Structure combined with Behavioral Approach. Acta Mech. Autmatica 2016, 10, 92–99. [Google Scholar] [CrossRef] [Green Version]
  4. Ambroziak, L.; Ciężkowski, M.; Wolniakowski, A.; Romaniuk, S.; Bożko, A.; Ołdziej, D.; Kownacki, C. Experimental tests of hybrid VTOL unmanned aerial vehicle designed for surveillance missions and operations in maritime conditions from ship-based helipads. J. Field Robot. 2022, 39, 203–217. [Google Scholar] [CrossRef]
  5. Daewon, L.; Tyler, R.; Kim, H.J. Autonomous landing of a VTOL UAV on a moving platform using image-based visual servoin. In Proceedings of the IEEE International Conference on Robotics and Automation, Saint Paul, MN, USA, 14–18 May 2012. [Google Scholar] [CrossRef]
  6. Hsiu-Min, C.; Dongqing, H.; Akio, N. Autonomous Target Tracking of UAV Using High-Speed Visual Feedback. Appl. Sci. 2019, 9, 4552. [Google Scholar] [CrossRef] [Green Version]
  7. Zhao, X.; Pu, F.; Wang, Z.; Chen, H.; Xu, Z. Detection, Tracking, and Geolocation of Moving Vehicle From UAV Using Monocular Camera. IEEE Access 2019, 7, 101160–101170. [Google Scholar] [CrossRef]
  8. Shen, Q.; Jiang, L.; Xiong, H. Person Tracking and Frontal Face Capture with UAV. In Proceedings of the IEEE 18th International Conference on Communication Technology, Chongqing, China, 8–11 October 2018. [Google Scholar] [CrossRef]
  9. Berry, C.A. Mobile Robotics for Multidisciplinary Study; Morgan & Claypool: Chicago, IL, USA, 2015. [Google Scholar]
  10. Pin, F.G.; Killough, S.M. A New Family of Omnidirectional and Holonomic Wheeled Platforms for Mobile Robots. IEEE Trans. Robot. Autom. 1994, 10, 480–489. [Google Scholar] [CrossRef] [Green Version]
  11. Xu, Y.; Zhen, Z. Multivariable adaptive distributed leader-follower flight control for multiple UAVs formation. Aeronaut. J. 2017, 121, 877–900. [Google Scholar] [CrossRef]
  12. Wilson, D.B.; Göktoǧan, H.; Sukkarieh, S. A Vision Based Relative Navigation Framework for Formation Flight. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Hong Kong, China, 31 May–7 June 2014. [Google Scholar] [CrossRef]
  13. Gosiewski, Z.; Ambroziak, L. Two stage switching control for autonomous formation flight of unmanned aerial vehicles. Aerosp. Sci. Technol. 2015, 46, 221–226. [Google Scholar]
  14. Zhang, J.; Yan, J.; Zhang, P. Fixed-wing UAV Formation Control Design with Collision Avoidance Based on an Improved Artificial Potential Field. IEEE Access 2018, 6, 78342–78351. [Google Scholar] [CrossRef]
  15. Norman, L.H.M.; Hugh, L.H.T. Formation UAV flight control using virtual structure and motion synchronization. In Proceedings of the 2008 American Control Conference, Seattle, WA, USA, 11–13 June 2008. [Google Scholar] [CrossRef]
  16. Hu, J.; Sun, X.; He, L. Time-Varying Formation Tracking for Multiple UAVs with Nonholonomic Constraints and Input Quantization via Adaptive Backstepping Control. Int. J. Aeronaut. Space Sci. 2019, 20, 710–721. [Google Scholar] [CrossRef]
  17. Chen, Y.B.; Luo, G.C.; Mei, Y.S.; Yu, J.Q.; Su, X.L. UAV path planning using artificial potential field. Int. J. Syst. Sci. 2016, 47, 1407–1420. [Google Scholar] [CrossRef]
  18. Frew, E.W.; Lawrence, D.A.; Dixon, C.; Elston, J.; Pisano, W.J. Lyapunov Guidance Vector. In Proceedings of the American Control Conference, New York, NY, USA, 9–13 July 2007. [Google Scholar] [CrossRef]
  19. Nagao, Y.; Uchiyama, K. Formation flight of fixed-wing UAVs using artificial potential field. In Proceedings of the 29th Congress of the International Council of the Aerospace Sciences, St. Petersburg, Russia, 7–12 September 2014. [Google Scholar]
  20. Kownacki, C.; Ambroziak, L. Local and asymmetrical potential field approach to leader tracking problem in rigid formations of fixed-wing UAVs. Aerosp. Sci. Technol. 2017, 68, 465–474. [Google Scholar] [CrossRef]
  21. Kownacki, C.; Ambroziak, L. Adaptation Mechanism of Asymmetrical Potential Field Improving Precision of Position Tracking in the Case of Nonholonomic UAVs. Robotica 2019, 37, 1823–1834. [Google Scholar] [CrossRef]
  22. Daewon, L.; Taeyoung, L.; Farhad, G. Geometric Nonlinear PID Control of a Quadrotor UAV on SE(3). In Proceedings of the European Control Conference (ECC), Zürich, Switzerland, 17–19 July 2013. [Google Scholar] [CrossRef] [Green Version]
  23. Castillo-Zamora, J.J.; Camarillo-GóMez, K.A.; PéRez-Soto, G.I.; RodríGuez-ReséNdiz, J. Comparison of PD, PID and Sliding-Mode Position Controllers for V–Tail Quadcopter Stability. IEEE Access 2018, 6, 38086–38096. [Google Scholar] [CrossRef]
  24. Rodríguez-Abreo, O.; Rodríguez-Reséndiz, J.; Fuentes-Silva, C.; Hernández-Alvarado, R.; Falcón, M.D.C.P.T. Self-Tuning Neural Network PID with Dynamic Response Control. IEEE Access 2021, 9, 65206–65215. [Google Scholar] [CrossRef]
  25. García-Martínez, J.R.; Cruz-Miguel, E.E.; Carrillo-Serrano, R.V.; Mendoza-Mondragón, F.; Toledano-Ayala, M.; Rodríguez-Reséndiz, J. A PID-Type Fuzzy Logic Controller-Based Approach for Motion Control Applications. Sensors 2020, 20, 5323. [Google Scholar] [CrossRef]
  26. Beard, R.W.; McLain, T.W. Small Unmanned Aircraft: Theory and Practice; Princeton University Press: Princeton, NJ, USA, 2012. [Google Scholar]
  27. Moorhouse, D.J.; Woodcock, R.J. Background Information and User Guide for MIL-F-8785C, Military Specification—Flying Qualities of Piloted Airplanes; Report; Air Force Wright Aeronautical Labs Wright-Patterson AFB: Dayton, OH, USA, 1982. [Google Scholar]
  28. Langelaan, J.W.; Alley, N.; Neidhoefer, J. Wind Field Estimation for Small Unmanned Aerial Vehicles. J. Guid. Control Dyn. 2011, 34, 1016–1030. [Google Scholar] [CrossRef]
Figure 1. Velocity vector subfields, components of the velocity vector field defined around: (a) axis x, a cross-section in the plane x-y, (b) axis y, a cross-section in the plane x-y, (c) axis z, a cross-section in the plane x-z, (d) the velocity vector field based on APF as a superposition of subfields (ac) (a cross-section in plane x-y).
Figure 1. Velocity vector subfields, components of the velocity vector field defined around: (a) axis x, a cross-section in the plane x-y, (b) axis y, a cross-section in the plane x-y, (c) axis z, a cross-section in the plane x-z, (d) the velocity vector field based on APF as a superposition of subfields (ac) (a cross-section in plane x-y).
Sensors 22 05474 g001
Figure 2. (a) The velocity field V i S ( x , y , z ) , the zone indicated with a red vector is the zone of acceleration, the zone with a blue vector is the zone of deceleration, (b) potential field U i S as function of x and y, z is constant [20].
Figure 2. (a) The velocity field V i S ( x , y , z ) , the zone indicated with a red vector is the zone of acceleration, the zone with a blue vector is the zone of deceleration, (b) potential field U i S as function of x and y, z is constant [20].
Sensors 22 05474 g002
Figure 3. Switching a value of I ( x ) according to the relative position of a UAV in respect to the tracked point and direction of wind gust. (a) the value of I ( x ) is different than zero, (b) the value of I ( x ) equals zero.
Figure 3. Switching a value of I ( x ) according to the relative position of a UAV in respect to the tracked point and direction of wind gust. (a) the value of I ( x ) is different than zero, (b) the value of I ( x ) equals zero.
Sensors 22 05474 g003
Figure 4. Switching a value of I ( y ) according to the relative position of a UAV in respect to the tracked point and the direction of wind gust. (a) the value of I ( y ) is different than zero, (b) the value of I ( y ) equals zero.
Figure 4. Switching a value of I ( y ) according to the relative position of a UAV in respect to the tracked point and the direction of wind gust. (a) the value of I ( y ) is different than zero, (b) the value of I ( y ) equals zero.
Sensors 22 05474 g004
Figure 5. The structure of lateral and longitudinal control of a UAV. Ψ D —the desired heading from Equation (16), Ψ A —the actual heading, ϕ D —the desired roll angle, ϕ A —the actual roll angle, δ a —aileron’s deflection, θ D —the desired pitch angle from Equation (17), θ A —the actual pitch angle, δ e —elevator deflection, V D —the desired airspeed from (18), V A —the actual airspeed, and δ t —throttle.
Figure 5. The structure of lateral and longitudinal control of a UAV. Ψ D —the desired heading from Equation (16), Ψ A —the actual heading, ϕ D —the desired roll angle, ϕ A —the actual roll angle, δ a —aileron’s deflection, θ D —the desired pitch angle from Equation (17), θ A —the actual pitch angle, δ e —elevator deflection, V D —the desired airspeed from (18), V A —the actual airspeed, and δ t —throttle.
Sensors 22 05474 g005
Figure 6. The first scenario of simulations for lateral wind gust case.
Figure 6. The first scenario of simulations for lateral wind gust case.
Sensors 22 05474 g006
Figure 7. The second scenario of simulations for longitudinal wind gust case.
Figure 7. The second scenario of simulations for longitudinal wind gust case.
Sensors 22 05474 g007
Figure 8. Simultaneous discrete wind gusts along x and y axes at 50th second and changing its directions to opposite at 75th second.
Figure 8. Simultaneous discrete wind gusts along x and y axes at 50th second and changing its directions to opposite at 75th second.
Sensors 22 05474 g008
Figure 9. Time plots of position tracking errors for different coefficients γ , δ I y , δ I z , δ D y , and δ D z for the nonlinear P, PI, and PID controllers in the case of lateral wind gusts. The applied values of the coefficients are given in Table 2.
Figure 9. Time plots of position tracking errors for different coefficients γ , δ I y , δ I z , δ D y , and δ D z for the nonlinear P, PI, and PID controllers in the case of lateral wind gusts. The applied values of the coefficients are given in Table 2.
Sensors 22 05474 g009
Figure 10. Time plots of position tracking errors for different coefficients α , β , δ I x 1 , δ I x 2 , δ D x 1 and δ D x 2 for the nonlinear P, PI, and PID controllers in the case of longitudinal wind gusts. Applied values of coefficients are given in Table 3.
Figure 10. Time plots of position tracking errors for different coefficients α , β , δ I x 1 , δ I x 2 , δ D x 1 and δ D x 2 for the nonlinear P, PI, and PID controllers in the case of longitudinal wind gusts. Applied values of coefficients are given in Table 3.
Sensors 22 05474 g010
Figure 11. Time plots of position tracking errors for the nonlinear PID controller in the case of simultaneous longitudinal and lateral wind gusts. Applied values of coefficients are as follows: α = 10 , β = 10 , γ = 10 , δ I x 1 = δ I x 2 = δ I y = δ I z = 1 and δ D x 1 = δ D x 2 = δ D y = δ D z = 10.
Figure 11. Time plots of position tracking errors for the nonlinear PID controller in the case of simultaneous longitudinal and lateral wind gusts. Applied values of coefficients are as follows: α = 10 , β = 10 , γ = 10 , δ I x 1 = δ I x 2 = δ I y = δ I z = 1 and δ D x 1 = δ D x 2 = δ D y = δ D z = 10.
Sensors 22 05474 g011
Figure 12. Time plots of position tracking errors for the nonlinear PID controller in the case of simultaneous longitudinal and lateral wind gusts while gains of the PID’s terms are greater than 10,000.
Figure 12. Time plots of position tracking errors for the nonlinear PID controller in the case of simultaneous longitudinal and lateral wind gusts while gains of the PID’s terms are greater than 10,000.
Sensors 22 05474 g012
Table 1. List of symbols and acronyms.
Table 1. List of symbols and acronyms.
SymbolDescription
UAVUnmanned aerial vehicle
APFArtificial potential field
AAPFAsymmetrical artificial potential field
P I D ( ) Proportional integral derivative controller (function of x, y, or z)
P ( ) Proportional term (function of x, y, or z)
I ( ) Integral term (function of x, y, or z)
D ( ) Derivative term (function of x, y, or z)
P I ( ) Proportional–integral term (function of x, y, or z)
V L Tracked point velocity
α , β , γ Gain coefficients of AAPF (proportional term)
D ( Ψ L ˙ ) Rotation matrix of angular rate of heading angle
ε Gain coefficient of rotation matrix
Ψ L ˙ Angular rate of heading angle of tracked point
U i S Asymmetrical artificial potential function
U i S Gradient of artificial potential function
V i S Velocity vector field
δ I x 1 , δ I x 2 Gain coefficients of integral term for x
δ I y Gain coefficient of integral term for y
δ I z Gain coefficient of integral term for z
δ D x 1 , δ D x 2 Gain coefficients of derivative term for x
δ D y 1 , δ D y 2 Gain coefficients of derivative term for y
δ D z 1 , δ D z 2 Gain coefficients of derivative term for z
Table 2. Coefficient list for position tracking error plots from Figure 9.
Table 2. Coefficient list for position tracking error plots from Figure 9.
Controller
(Subfigure)
α β γ ε δ Iy δ Iz δ Dy δ Dz
P (1a)10.010.00.010.30.00.00.00.0
P (1b)10.010.010.30.00.00.00.0
P (1c)10.010.010.00.30.00.00.00.0
PI (2a)10.010.010.30.10.10.00.0
PI (2b)10.010.010.31.01.00.00.0
PI (2c)10.010.010.310.010.00.00.0
PID (3a)10.010.010.31.01.00.10.1
PID (3b)10.010.010.31.01.01.01.0
PID (3c)10.010.010.31.01.010.010.0
Table 3. Coefficient list for position tracking error plots from Figure 10.
Table 3. Coefficient list for position tracking error plots from Figure 10.
Controller
(Subfigure)
α β γ ε δ Ix 1 δ Ix 2 δ Dx 1 δ Dx 2
P (1a)0.10.110.00.30.00.00.00.0
P (1b)1.01.010.00.30.00.00.00.0
P (1c)10.010.010.00.30.00.00.00.0
PI (2a)1.01.010.00.30.10.10.00.0
PI (2b)1.01.010.00.31.01.00.00.0
PI (2c)1.01.010.00.310.010.00.00.0
PID (3a)1.01.010.00.31.01.00.10.1
PID (3b)1.01.010.00.31.01.01.01.0
PID(3c)1.01.010.00.31.01.010.010.0
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kownacki, C.; Ambroziak, L. Asymmetrical Artificial Potential Field as Framework of Nonlinear PID Loop to Control Position Tracking by Nonholonomic UAVs. Sensors 2022, 22, 5474. https://doi.org/10.3390/s22155474

AMA Style

Kownacki C, Ambroziak L. Asymmetrical Artificial Potential Field as Framework of Nonlinear PID Loop to Control Position Tracking by Nonholonomic UAVs. Sensors. 2022; 22(15):5474. https://doi.org/10.3390/s22155474

Chicago/Turabian Style

Kownacki, Cezary, and Leszek Ambroziak. 2022. "Asymmetrical Artificial Potential Field as Framework of Nonlinear PID Loop to Control Position Tracking by Nonholonomic UAVs" Sensors 22, no. 15: 5474. https://doi.org/10.3390/s22155474

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop