Learning and Adaptation for Optimization and Control of Complex Renewable Energy SystemsView this Special Issue
Research Article | Open Access
Jianhua Zhang, Yang Li, Wenbo Fei, "Neural Network-Based Nonlinear Fixed-Time Adaptive Practical Tracking Control for Quadrotor Unmanned Aerial Vehicles", Complexity, vol. 2020, Article ID 8828453, 13 pages, 2020. https://doi.org/10.1155/2020/8828453
Neural Network-Based Nonlinear Fixed-Time Adaptive Practical Tracking Control for Quadrotor Unmanned Aerial Vehicles
This brief addresses the position and attitude tracking fixed-time practical control for quadrotor unmanned aerial vehicles (UAVs) subject to nonlinear dynamics. First, by combining the radial basis function neural networks (NNs) with virtual parameter estimating algorithms, a NN adaptive control scheme is developed for UAVs. Then, a fixed-time adaptive law is proposed for neural networks to achieve fixed-time stability, and convergence time is dependent only on control gain parameters. Based on Lyapunov analyses and fixed-time stability theory, it is proved that the fixed-time adaptive neural network control is finite-time stable and convergence time is dependent with control parameters without initial conditions. The effectiveness of the NN fixed-time control is given through a simulation of the UAV system.
During the last decades, more attention has been paid to UAVs by the engineering communities because of their potential for commercial, military, and academic platforms [1–3]. To support military and civilian applications, the ability of UAVs to hover stably, maneuver sharply, and operate safely is considerably important, especially in take-off and landing stages [4–6]. However, tracking control design for UAVs in complex environments is challenging because of the nonlinear dynamics of UAVs. In order to meet various application requirements, especially military requirements, UAVs are required to have better robustness, stability, and fast maneuverability . Drones have a wealth of applications in various fields, such as monitoring, spraying pesticides, and delivering couriers.
Since the advent of the first rotorcraft in the twentieth century, in order to solve the impact of the actual situation and better complete the motion control of the four-rotor UAV, scholars have published numerous documents to solve a series of problems. With the advancement of science and the development of NNs [8–10], NNs have been widely used and verified in the quadrotor intelligent control. As we all know, the neural network has been questioned by some scholars in the long history since it was proposed, but it is finally proved after research by scholars in many fields that the neural network is an advantageous control algorithm [11–13]. Although neural networks have long been used in the quadrotor intelligent control and have achieved good results in many research studies, the research is not comprehensive. In recent years, the study of finite time adaptive neural networks has been carried out by scholars, and a fixed-time control is proposed to solve the dependence of convergence on the initial state. In this paper, the nonlinear fixed-time adaptive neural network control of the quadcopter UAV is studied.
Although the quadrotor has many advantages, due to the nonlinearity, coupling, underdrive, and susceptibility to interference of the dynamics of the UAV, it is necessary to develop tracking control in uncertain environments. In the past few years, the authors studied the design of the dynamic mathematic model of the UAV in , as well as dynamic control of the UAV. In [15–17], the authors proposed a PID/PD control method to maintain flight stability, but due to the shortcomings of the algorithm, the authors designed a neural network adaptive PID algorithm in . In order to solve the underdrive of the quadrotor, the authors proposed four additional control inputs in  to represent a fully driven aircraft. In , the authors used sliding film control. The quadrotor is susceptible to a variety of unknown disturbances during flight. In [21–23], the authors designed a variety of controllers to stabilize the disturbances, but they were not perfect. Backstepping control design has been widely used [24, 25] for a class of nonlinear system control. The four-rotor aircraft has obtained relevant research results during take-off, hover, and landing [26–28]. The interference caused by machine failure cannot be avoided during flight. In , the authors proposed a method to solve the loss of control effectiveness of the aircraft through adaptive control and quantum logic. It is well known that neural network algorithms have advanced control performance. In [30, 31], the authors proposed neural network algorithms to control flight attitude and position. Some researchers also used NNs to model a quadrotor aircraft in , which can more accurately describe the quadrotor model. In order to ensure the tracking error, the inversion controller was used in  to study the adaptive flight control neural network and dynamic inversion control. Quadrotor flight control researchers have proposed a wide variety of control algorithms. In , the authors proposed dynamic feedback linearization of a four-axis aircraft for chart learning. In order to enhance the stability of the UAV, the author applied the feedforward control method in . Finite-time control [36, 37] plays an important role in solving the convergence time problem.
In this paper, practical fixed-time adaptive NN control for the UAV system is proposed. The closed-loop UAV position and attitude tracking error system is practically fixed-time stable, whereas the convergence time is independent of initial states and tracking error is convergence to a small neighborhood of the origin point. The major contributions of this brief can be stated as follows:(1)Based on NNs adaptive control and practical fixed-time stability theory, the controller parameters for the UAVs position and attitude tracking are designed.(2)The fixed-time adaptive law is designed for NNs, and error weight is practically stable in finite time. Therefore, the NNs can approximate the nonlinear system in finite time independent of ideal weight and initial value of estimated weight.(3)To avoid the finite-time control singular problem in the high-order system, a switch virtual control law is proposed to guarantee the feasibility of the fixed-time control.
2. Preliminary Problem Formulation
A dynamic model [30, 38] is established according to the motion laws of the four-rotor power system; the body coordinate system and the ground coordinate system are selected, as shown in Figure 1. In the Newton–Euler formula, indicates the Euclidean position and indicates the Euler angles of UAVs. When the four-rotor drone changes its motion, the body coordinate system will change continuously with the drone and the ground coordinate system will remain constant. Due to the need to analyze the problem in the ground coordinate system, the spatial rotation of the body coordinate system relative to the geographic coordinate system is usually expressed in the order of yaw angle, pitch angle, and roll angle. The matrix is used to describe the yaw angle , pitch angle , and roll angle . Based on the relationship between the angles in the coordinate system B and the coordinate system E, the coordinate transformation matrix can be obtained.
The transformation from body coordinates to ground coordinates is performed by the rotation matrix:
When modeling the quadrotor as a rigid body with uniform mass distribution, symmetry, and constant, according to Newton’s second law:where m is the weight of the quadrotor drone and are the acceleration in three directions, and the force in three directions is obtained.
According to the force analysis of the drone in motion, it can be known that the external force received has its own gravity G, the lift force generated by the rotor, and the rising resistance:
According to equation (3), the centroid motion equation of the quadrotor UAV with the positive Z axis in the ground coordinate system can be obtained:
To sum up, we can get the centroid motion equations of the quadrotor UAV aswhere is the motor pulling force coefficient, is the motor speed, and is the air resistance coefficient.
Four-rotor drones are divided into cross-shaped structure and X-shaped structure. Due to the difference in structure, the rotation dynamic equation of the drone will also be different. The cross-shaped structure is selected to build a model based on the Newton–Euler equation:and then
Among them, is the combined external moment on the body, is the moment of inertia of the three coordinate axes in the body coordinate system, and is the rotational angular velocity in the body coordinate system. The force analysis of the moving four-rotor UAV shows that there are torque generated by the rotor, air reaction force, and gyro effect.
The moment produced by the rotor is as follows:where is the distance between the center of mass and the rotor axis, is the drag coefficient, is the reverse torque coefficient, and is the motor speed.
The air reaction force is as follows:where is the air drag moment coefficient in the airframe coordinate system and is the rotor angular velocity.
The torque of the quadcopter is as follows:where is the rotor inertia, is the rotor angular velocity, and is the overall remaining rotor angle.
In summary, when the rotation angle is small, the dynamic model of the quadrotor can be obtained as
In order to facilitate the design of the controller, the dynamic model of the quadrotor flight was rewritten into a compact dynamic equation. and take into account the external disturbance of the position and attitude of the quadrotor in motion.(1)Translational dynamics:(2)Rotational dynamics:where
Lemma 1 (see [30, 39, 40]). Suppose that is a continuous radically unbounded function and the following two conditions holdwhere are the positive real numbers with . Then, the origin of the system is practically fixed-time stable. Furthermore, the following inequality holds:where is the equation roots, and
Lemma 2 (see ). For and , , , and , and then
Proof. Inequalities (19) and (20) hold trivially forFor inequality (19), using the fact for and , we havewhich proves the inequalityBased on the Holder inequality,for , and let ,which proved inequality (19).
Based on the Holder inequality,for , and let , which proved the inequality holdsFor inequality (20) using the fact for and , we havewhich proves the inequalitywhich proved inequality (20).
Lemma 3 (see ) (Young’s inequality). For any constant , the following inequality holds:where , and .
Lemma 4 (see ). For positive constant , the vector quantities and satisfy and the following inequality holds:
Proof. For any constant , , , and , based on Lemma 3 (Young’s inequation), the following inequations hold:Based on inequations (32) and (33), it givesTherefore,and thenTherefore,and then the following inequation holds:This is the proof.
Notation 1. To avoid control singularity problem in virtual control, if , then design is chosen asTherefore, is continuous and differentiable.
Let rational number , matrix , and matrix denote element-by-element powers, where denotes the transposition of matrix , where
3. Neural Network Control
Based on the dynamic model of the quadrotor (12), the translational and rotational tracking errors are defined as
To facilitate the control design, the derivation of translational and rotational tracking errors is as follows:
Therefore, the translational and rotational tracking error control system is as follows:
Theorem 1. Considering the quadrotor UAV system (12), the translational dynamic system (13), and the translational error control system (44), the fixed-time control parameters and the virtual control are designed as
The fixed-time neural network adaptive control can be designed asWith the neural fixed-time adaptive law,
The translational dynamic system is fixed-time stable and the fixed time is .
For the rotational dynamic system (14), the desired roll and pitch references are obtained from
Based on the translational errors control system (45), the virtual control is designed asand the fixed-time neural network adaptive control can be designed asWith the neural fixed-time adaptive law,
The rotational dynamic system is fixed-time stable and the fixed time is .
Then, the error translational and rotational dynamic closed-loop systems are practically fixed-time stable; the output tracking error and error of estimate weights can converge to the origin in finite time, and all the signals in the closed-loop system are bounded.
Proof. The proof of the sufficiency of Theorem 1 is divided into two parts. The first part gives translational dynamic system controller design and stability analysis, and the second one proposes rotational dynamic system controller design and stability analysis.
Step 1. According to the translational tracking error control system, letand then based on (44), we havewhereand then we haveNeural networks approximate the nonlinear system asBased on the neural networks adaptive law (48) and the control design (47), we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveBased on Lemmas 3 and 4, the following inequations holdThen, based on Lemma 3, we haveThen, based on Lemma 2, we havewhereTherefore, based on Lemma 1, the closed-loop system is practically fixed-time stable, and convergence time .
Step 2. There are six degrees of freedom, namely, and angles , where can be obtained by using which was designed by using (47) and . The arbitrary desired yaw references can be designed in advance, and then based on the mathematic model (12), the desired roll and pitch references and can be generated as (49) and (50). Then, the rotational tracking errors control system can be controlled in fixed-time neural network adaptive control.
Therefore, neural network control for the rotational tracking errors control system (45) is designed as follows:Then, based on (45), we havewhereand then we haveNeural networks approximate the nonlinear system asBased on the neural networks adaptive law (53) and the control design (52), we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveIf we choose the Lyapunov candidate functionthen we haveBased on Lemmas 3 and 4, the following inequations hold:Then, based on Lemma 3, we haveThen, based on Lemma 2, we havewhereTherefore, based on Lemma 1, the closed-loop system is practically fixed-time stable, and convergence time .
The proof for the theorem is completed.
In this section, simulation is conducted to verify the effectiveness of the presented fixed-time adaptive neural network adaptive control for UAVs.
Example 1. Consider the UAV dynamic system (12) with the parameters asThe reference trajectory is selected as follows:In addition, the desired yaw angle is .
Choose the parameters of controllers and NNs asBased on such parameters and the fixed-time control result in Theorem 1, , which is independent with system initial conditions. Then, the virtual control, control input, and adaptive law of NNs are given as follows:The initialization of the variable are selected asThe simulation results of the neural network controller are shown in Figures 2–9. The trajectories of positions can be seen in Figures 2–4. The position tracking errors show that the proposed neural fixed-time control has good tracking performance, and based on parameters selected, the convergence time is . Figure 5 shows the 3-D moving trajectory by neural network control. The trajectories of attitudes can be seen in Figures 6–8, which indicate better tracking performance of neural network control. The trajectories of NNs can be seen in Figure 9. The attitude tracking errors show that the proposed neural fixed-time control has good tracking performance, and based on parameters selected, the convergence time is .
In this paper, based on the backstepping algorithm, fixed-time Lyapunov practical stable theory, and neural network adaptive control technology, a new fixed-time adaptive practical tracking control method is developed for quadrotor UAVs for the first time. The states of close-loop systems which contain error states and weights of the NNs are practically fixed-time stable, which are independent of states. Simulation result shows that the adaptive neural network controller ensures stable position and attitude tracking of UAVs in finite time, which only depends on controller parameters. Bench simulation results showed the effectiveness of the adaptive fixed-time NN control method.
No data were used to support this study.
Conflicts of Interest
The funding did not lead to any conflicts of interest regarding the publication of this manuscript. There are no conflicts of interest in this study.
This work was partially supported by the National Nature Science Foundation of China under grants 61273188 and 61473312 and Taishan Scholar Construction Engineering Special Funding, Shandong, China. This work was supported by Hebei Province Nature Fund (F2015208128) and Projects of Hebei Province Department of Education (QN20140157 and BJ2016020).
- J. Zhang, Q. Zhu, L. Yang, and X. Wu, “Homeomorphism mapping based neural networks for finite time constraint control of a class of nonaffine pure-feedback nonlinear systems,” Complexity, vol. 2019, pp. 1–11, 2019.
- X. Luo, S. Ge, J. Wang, and X. Guan, “Time delay estimation-based adaptive sliding-mode control for nonholonomic mobile robots,” International Journal of Applied Mathematics in Control Engineering, vol. 1, no. 1, pp. 1–8, 2018.
- S. Wang, H. Yu, X. Gao, and N. Wang, “Adaptive barrier control for nonlinear servomechanisms with friction compensation,” Complexity, vol. 2018, pp. 1–10, 2018.
- Y. Du, J. Fang, and C. Miao, “Frequency-domain system identification of an unmanned helicopter based on an adaptive genetic algorithm,” IEEE Transactions on Industrial Electronics, vol. 61, no. 2, pp. 870–881, 2014.
- Q. Zhu, W. Zhang, J. Zhang, and B. Sun, “U-neural network-enhanced control of nonlinear dynamic systems,” Neurocomputing, vol. 352, pp. 12–21, 2019.
- S. Shi, M. Liu, and J. Ma, “Fractional-order sliding mode control for a class of nonlinear systems via nonlinear disturbance observer,” International Journal of Applied Mathematics in Control Engineering, vol. 1, no. 1, pp. 103–110, 2018.
- A. Tayebi and S. McGilvray, “Attitude stabilization of a VTOL quadrotor aircraft,” IEEE Transactions on Control Systems Technology, vol. 14, no. 3, pp. 562–571, 2006.
- J. Na, Y. Huang, X. Wu, S.-F. Su, and G. Li, “Adaptive finite-time fuzzy control of nonlinear active suspension systems with input delay,” IEEE Transactions on Cybernetics, vol. 50, no. 6, pp. 2639–2650, 2020.
- S. Wang and J. Na, “Parameter estimation and adaptive control for servo mechanisms with friction compensation,” IEEE Transactions on Industrial Informatics, vol. 16, no. 11, pp. 6816–6825, 2020.
- S. Wang, L. Tao, Q. Chen, J. Na, and X. Ren, “USDE-based sliding mode control for servo mechanisms with unknown system dynamics,” IEEE/ASME Transactions on Mechatronics, vol. 25, no. 2, pp. 1056–1066, 2020.
- Q. Chen, H. Shi, and M. Sun, “Echo state network-based backstepping adaptive iterative learning control for strict-feedback systems: an error-tracking approach,” IEEE Transactions on Cybernetics, vol. 50, no. 7, pp. 3009–3022, 2020.
- J. Na, B. Wang, G. Li, S. Zhan, and W. He, “Nonlinear constrained optimal control of wave energy converters with adaptive dynamic programming,” IEEE Transactions on Industrial Electronics, vol. 66, no. 10, pp. 7904–7915, 2019.
- S. Wang, J. Na, and Y. Xing, “Adaptive optimal parameter estimation and control of servo mechanisms: theory and experiments,” IEEE Transactions on Industrial Electronics, vol. 2020, p. 1, 2020.
- J. De Jesus Rubio, J. Humberto Perez Cruz, Z. Zamudio, and A. J. Salinas, “Comparison of two quadrotor dynamic models,” IEEE Latin America Transactions, vol. 12, no. 4, pp. 531–537, 2014.
- L. L. Gomes, L. Leal, T. R. Oliveira, J. P. V. S. Cunha, and T. C. Revoredo, “Unmanned quadcopter control using a motion capture system,” IEEE Latin America Transactions, vol. 14, no. 8, pp. 3606–3613, 2016.
- J. Li and Y. Li, “Dynamic analysis and PID control for a quadrotor,” in Proceedings of the IEEE International Conference on Mechatronics and Automation, Beijing, China, August 2011.
- C. Rosales, S. Tosetti, C. Soria, and F. Rossomando, “Neural adaptive PID control of a quadrotor using EFK,” IEEE Latin America Transactions, vol. 16, no. 11, pp. 2722–2730, 2018.
- B. Zhang, G. Yoon, and H. Lim, “Attitude control and altitude control of a four-rotor flying robot,” in Proceedings of the 2018 14th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), Huangshan, China, July 2018.
- M. Ryll, H. H. Bülthoff, and P. R. Giordano, “A novel overactuated quadrotor unmanned aerial vehicle: modeling, control, and experimental validation,” IEEE Transactions on Control Systems Technology, vol. 23, no. 2, pp. 540–556, 2015.
- M. J. Reinoso, L. I. Minchala, P. Ortiz, D. F. Astudillo, and D. Verdugo, “Trajectory tracking of a quadrotor using sliding mode control,” IEEE Latin America Transactions, vol. 14, no. 5, pp. 2157–2166, 2016.
- L. Benziane, A. El Hadri, A. Seba, A. Benallegue, and Y. Chitour, “Attitude estimation and control using linearlike complementary filters: theory and experiment,” IEEE Transactions on Control Systems Technology, vol. 24, no. 6, pp. 2133–2140, 2016.
- R. Zhang, Q. Quan, and K.-Y. Cai, “Attitude control of a quadrotor aircraft subject to a class of time-varying disturbances,” IET Control Theory & Applications, vol. 5, no. 9, pp. 1140–1146, 2011.
- S. Islam, P. X. Liu, and A. El Saddik, “Robust control of four-rotor unmanned aerial vehicle with disturbance uncertainty,” IEEE Transactions on Industrial Electronics, vol. 62, no. 3, pp. 1563–1571, 2015.
- Y.-C. Choi and H.-S. Ahn, “Nonlinear control of quadrotor for point tracking: actual implementation and experimental tests,” IEEE/ASME Transactions on Mechatronics, vol. 20, no. 3, pp. 1179–1192, 2015.
- D. Matouk, O. Gherouat, F. Abdessemed, and A. Hassam, “Quadrotor position and attitude control via backstepping approach,” in Proceedings of the 2016 8th International Conference on Modelling, Identification and Control (ICMIC), Algiers, Algeria, November 2016.
- H. Alazki, A. G. Escobar, J. E. Valenzuela, and O. Garcia, “Embedded super twisting control for the attitude of a quadrotor,” IEEE Latin America Transactions, vol. 14, no. 9, pp. 3974–3979, 2016.
- D. Cabecinhas, R. Naldi, C. Silvestre, R. Cunha, and L. Marconi, “Robust landing and sliding maneuver hybrid controller for a quadrotor vehicle,” IEEE Transactions on Control Systems Technology, vol. 24, no. 2, pp. 400–412, 2016.
- P. Castillo, A. Dzul, and R. Lozano, “Real-time stabilization and tracking of a four rotor mini-rotorcraft,” in Proceedings of the 2003 European Control Conference (ECC), Cambridge, UK, September 2003.
- F. Chen, Q. Wu, B. Jiang, and G. Tao, “A reconfiguration scheme for quadrotor helicopter via simple adaptive control and quantum logic,” IEEE Transactions on Industrial Electronics, vol. 62, no. 7, pp. 4328–4335, 2015.
- Y. Song, L. He, D. Zhang, J. Qian, and J. Fu, “Neuroadaptive fault-tolerant control of quadrotor UAVs: a more affordable solution,” IEEE Transactions on Neural Networks and Learning Systems, vol. 30, no. 7, pp. 1975–1983, 2019.
- Y. Teng, B. Hu, Z. Liu, J. Huang, and Z. Guan, “Adaptive neural network control for quadrotor unmanned aerial vehicles,” in Proceedings of the 2017 11th Asian Control Conference (ASCC), Gold Coast, Australia, December 2017.
- N. Mohajerin and S. L. Waslander, “Modelling a quadrotor vehicle using a modular deep recurrent neural network,” in Proceedings of the 2015 IEEE International Conference on Systems, Man, and Cybernetics, Hong Kong, October 2015.
- Q. Lin, Z. Cai, Y. Wang, J. Yang, and L. Chen, “Adaptive flight control design for quadrotor UAV based on dynamic inversion and neural networks,” in Proceedings of the 2013 Third International Conference on Instrumentation, Measurement, Computer, Communication and Control, Shenyang, China, September 2013.
- D. E. Chang and Y. Eun, “Global chartwise feedback linearization of the quadcopter with a thrust positivity preserving dynamic extension,” IEEE Transactions on Automatic Control, vol. 62, no. 9, pp. 4747–4752, 2017.
- Y. Bai, X. Gong, Z. Hou, and Y. Tian, “Stability control of quad-rotor based on explicit model following with inverse model feedforward method,” in Proceedings of the 2011 IEEE International Conference on Mechatronics and Automation, Beijing, China, August 2011.
- J. Zhang, Q. Zhu, and Li Yang, “Convergence time calculation for supertwisting algorithm and application for nonaffine nonlinear systems,” Complexity, vol. 2019, Article ID 6235190, pp. 1–15, 2019.
- Q. Chen, Y. Wang, and Z. Hu, “Finite time synergetic control for quadrotor UAV with disturbance compensation,” International Journal of Applied Mathematics in Control Engineering, vol. 1, no. 1, pp. 31–38, 2018.
- F. Chen, R. Jiang, K. Zhang, B. Jiang, and G. Tao, “Robust backstepping sliding-mode control and observer-based fault estimation for a quadrotor UAV,” IEEE Transactions on Industrial Electronics, vol. 63, no. 8, pp. 5044–5056, 2016.
- J. Zhang, L. Yang, W. Fei, and X. Wu, “U-model based adaptive neural networks fixed-time backstepping control for uncertain nonlinear system,” Mathematical Problems in Engineering, vol. 2020, Article ID 8302627, 2020.
- M. Chen, H. Wang, and X. Liu, “Adaptive fuzzy practical fixed-time tracking control of nonlinear systems,” IEEE Transactions on Fuzzy Systems, vol. 2019, p. 1, 2019.
Copyright © 2020 Jianhua Zhang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.