Literature DB >> 30577657

Novel Fuzzy PID-Type Iterative Learning Control for Quadrotor UAV.

Jian Dong1, Bin He2.   

Abstract

Due to the under-actuated and strong coupling characteristics of quadrotor aircraft, traditional trajectory tracking methods have low control precision, and poor anti-interference ability. A novel fuzzy proportional-interactive-derivative (PID)-type iterative learning control (ILC) was designed for a quadrotor unmanned aerial vehicle (UAV). The control method combined PID-ILC control and fuzzy control, so it inherited the robustness to disturbances and system model uncertainties of the ILC control. A new control law based on the PID-ILC algorithm was introduced to solve the problem of chattering caused by an external disturbance in the ILC control alone. Fuzzy control was used to set the PID parameters of three learning gain matrices to restrain the influence of uncertain factors on the system and improve the control precision. The system stability with the new design was verified using Lyapunov stability theory. The Gazebo simulation showed that the proposed design method creates effective ILC controllers for quadrotor aircraft.

Entities:  

Keywords:  fuzzy control; iterative learning control; proportional-interactive-derivative (PID); quadrotor unmanned aerial vehicle (UAV); trajectory tracking

Year:  2018        PMID: 30577657      PMCID: PMC6339156          DOI: 10.3390/s19010024

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.576


1. Introduction

The quadrotor [1,2,3], as a branch of unmanned aerial vehicles (UAVs), is highly favored in both military and civilian applications given its vertical take-off and landing ability, insensibility to varying environments, high mobility and stability, and easy operation modes. The quadrotor system is highly-coupled, under-actuated, and inherently non-linear, which challenges the system stability involving the microprocessor, the sensor, the mechanism, and the navigation and control algorithm. Over the past few years, much work has been completed on the modeling [4,5] and control [6,7,8] of the quadrotor UAV. The concept was introduced as early as 1907. Since then, the theoretical and experimental research results on the aspects of posture balance and perfect trajectory tracking have been extensively reported, such as adaptive control [9], fuzzy control [10], optimal control [11], and loop shaping theory [12]. Bouadi et al. [13] used a sliding mode control algorithm based on the reverse step to control the aircraft and derived the attitude angle from the higher-order nonholonomic constraints, but the change in the position loop was not used as feedback in real time. Shakev et al. [14] applied the linear feedback method to achieve the steady control of the quadrotor aircraft but did not consider aerodynamic interference. Courbon et al. [15] used novel navigation and positioning to control the quadrotor aircraft in position and attitude control. The quadrotor UAV was chosen in this study as the research object. We attached importance to the UAV model and the control algorithm to improve the robustness and stability of the system. Considering uncertainty and random disturbance in the process of aircraft flight, we used the iterative learning control (ILC) method to improve system robustness. The ILC [16,17,18] method has a simple and clear form, and can also compensate for uncertainty, nonlinearity, coupling, modeling error, and other factors through the online learning process. The advantage of using ILC is that there is no need for accurate knowledge of the quadrotor aircraft or physical parameters of the system. However, there has been relatively little focus on the ILC of quadrotor aircraft. Angela et al. [19] applied ILC to the trajectory tracking of a quadrotor. Ma et al. [20] combined the ILC and PD algorithm for the attitude tracking control of a reference attitude trajectory. We think it will be extended to include the PID-ILC scheme for quadrotor systems in order to improve the tracking performance and vibration control. Our proposed PID algorithm, which differs from the common PID algorithm [21,22,23] in the literature, uses the integral and differential of the derivative of the current error to improve the tracking performance of the system. Juan et al. [24] proposed a nonlinear robust PID controller for attitude regulation of the quadrotor. Ahmet et al. [25] presented a fault-tolerant PID control scheme for nonlinear quadcopter system to guarantee the stability of attitude and path control. Meanwhile, fuzzy control was added to the proposed algorithm. Fuzzy control [26,27,28] is fast and highly stable and can adjust the gain of the control algorithm according to the needs of the ILC to improve the convergence speed and tracking the accuracy of the ILC. The proposed scheme combines the PID-ILC with fuzzy control, and fuzzy control optimizes the parameters of the ILC law to find the optimal gain so that the algorithm can learn faster, and the system can accurately converge to the desired path with fewer iterations. The paper is structured as follows: Section 2 depicts the complete model of the quadrotor UAV. Section 3 presents the fuzzy PID-ILC algorithm used to control the UAV. Section 4 presents the convergence analysis of the proposed algorithm. In Section 5, the Gazebo simulation results are provided. Finally, our conclusion is presented in Section 6.

2. Model for The Quadrotor UAV

The quadrotor model is described in this section. is the inertial coordinate system, is the body coordinate system, represents the Euler angle, and the rotation matrix from the inertial frame to the body frame is: According to Newton’s law of motion and the Euler equation, the dynamic equation of the quadrotor can be expressed as where is the external force on the quadrotor, is the mass of the quadrotor, is the rotational torque of the airframe, is the angular momentum of the body under the inertial coordinate system, represents the distance from the motor shaft to the center of the body, represents the inertia of the motor, represents the lift provided by the -th rotor, and and represent the lift and drag coefficients of the rotors, respectively. represents the inertia matrix of the airframe, represents the coefficient of rotational resistance moment, and represents the coefficient of translational resistance. According to the structural characteristics of the quadrotor UAV, , , and can be expressed as diagonal arrays: represents the position of the quadrotor centroid in the inertial coordinate system and represents the rotational angular velocity around three axes in the body coordinate system, expressed as where , , and is the rotational angular velocity of the rotor of the -th rotor. represent the axial inertial moment of the aircraft in the x, y, and z directions, respectively. Equations (5) and (6) describe the centroid translational motion and the body rotation motion of the quadrotor UAV, respectively. The following relationship exists between the Euler angular velocity and angular velocity in the body coordinate system: When the quadrotor is hovering or flying at low speeds indoors, we define vectors as . represent the lift torque, roll torque, pitch torque, and yaw torque of the aircraft, respectively, and are defined as: The following simplified model of the quadrotor UAV can be obtained: where represent the longitudinal displacement, lateral displacement, height, roll angle, pitch angle, and yaw angle of the aircraft, respectively, and is the gravitational acceleration. The physical parameters for the quadrotor are provided in Table 1.
Table 1

Parameters of the quadrotor unmanned aerial vehicle (UAV).

ParameterDescriptionValueUnit
m Total quadrotor mass1kg
l Quadrotor radius length0.25m
Ix Moment of inertia about X-axis4 × 10−3Kg·m2
Iy Moment of inertia about Y-axis4 × 10−3kg·m2
Iz Moment of inertia about Z-axis8 × 10−3kg·m2
ω max Maximum rotor speed200rad/s
g Gravitational acceleration9.81ms2
The quadrotor aircraft relies on the four rotors to generate lift and torque, enabling lifting, yaw, roll, pitch, lateral, and transverse movements. Its four propeller crosses are driven by four direct current (DC) motors, and motion in space is achieved by changing the speed of the four DC motors. The structure diagram of the quadrotor aircraft is shown in Figure 1.
Figure 1

Quadrotor structure.

To facilitate the formula derivation, we simplified the aircraft model. The state variable is , and the virtual input is . The mathematical model of the quadrotor was rewritten into an equation of the state format: where and . We divided the whole system into six relatively independent channels: height control, horizontal X-axis control, horizontal Y-axis control, roll control, pitch control, and yaw control. The mathematical model of the height channel can be obtained by Equation (10): The desired height is and the tracking error is . We defined the Lyapunov function as , and the derivative of the Lyapunov function is: Set , , is parameter of control system and is the virtual control input. Equation (12) can be simplified as: We defined the new Lyapunov function as , and the derivative of this formula can be written as: So, we obtained this formula where , and the same is true for the other control channels, all are parameters of control system. Substituting Equation (15) into Equation (10), the new mathematical system model of the quadrotor aircraft is: The system model of the quadrotor aircraft is simplified as: where , , is the system matrix, is the input matrix, and is the output matrix.

3. Controller Design for Quadrotor UAV

The designed iterative learning control algorithm in Figure 2 is where , , , and . The three iterative learning gain matrices are expressed as , , . , , and are the initial given values, and the fuzzy controller is used to adjust , , and .
Figure 2

System architecture of the fuzzy PID-ILC for the quadrotor.

The fuzzy controller in this paper has three parameters , , and as the output. , , , , , , and . , , and , , represent the expected position coordinates and the actual position coordinates of the quadrotor aircraft of the -th iteration, respectively. , , and , , represent the desired attitude angle and the actual attitude angle of the quadrotor aircraft in the -th iteration, respectively. The fuzzy rules table is shown in Table 2. In these figures, PB is positive big, PM is positive middle, PS is positive small, NB is negative big, and ZO is zero. The rules of the controllers are expressed in Table 2 with all the possible combinations. Based on the control experience of the four-rotor aircraft, the fuzzy rules were established according to the output error of the system and the adjustment of the parameters. The membership function of the fuzzy controller is shown in Figure 3.
Table 2

Fuzzy rules.

ςm /γm /ηm e
NBZOPB
eθ NB PB/PS/PMPB/PS/PSPB/PS/PS
ZO PM/PM/PBPS/PB/PMPM/PM/PB
PB PB/PS/PSPB/PS/PSPB/PS/PM
Figure 3

Fuzzy membership functions.

4. Convergence Analysis

In this section, the convergence condition of the controllers for the quadrotor aircraft system is given and proved. The quadrotor aircraft system in Equation (17) meets the conditions: Moreover, an approximation to the value of , obtained long before exact termination should occur, is often sufficient. Therefore, the following iteration termination criterion is chosen: where is a strict accuracy bound. After iterations, it is possible to obtain an approximation to from the iteration procedure. Under the action of the proposed algorithm in Equation (18), when , we obtained the conclusion of this theorem , . The error variables are By integration by parts, the formula can be obtained: where . Substitute Equation (23) into Equation (22) Then, the norm of both sides of Equation (24) can be obtained: where and . Multiplying both sides of Equation (14) by to compute the -norm, we obtain: where . We found a sufficiently large positive number , so we obtained . Therefore, we could reasonably choose a group control parameter in order to reach the conclusion of this theorem . □

5. Gazebo Environment Simulation

To demonstrate the tracking performance and robustness of the proposed ILC law, the overall system was tested using Gazebo simulations. The modeling of the Gazebo simulation does not depend on the mathematical model of the quadrotor itself or any special graphics package and can simulate various dynamic relationships between spatial objects in virtual space, which has the advantages of other simulation software. The physical parameters of the whole quadrotor system are shown in Table 1. The parameters of the fuzzy control laws are listed in Table 2. The simulation time is 45 s. The desired helical trajectory is . The external aerodynamic interference during the quadrotor flight is: . Figure 4 presents the model of the quadrotor aircraft in the Gazebo simulation environment. Figure 5 and Figure 6 show the three-dimensional (3D) trajectory tracking the result of the quadrotor. We can see almost asymptotic convergence toward the actual tracking trajectory after 10 iterations. Simulation results for each direction of the reference trajectories and initial conditions showed better tracking results. The fuzzy PID-ILC demonstrated remarkable performance in terms of control and stability of the system compared with the conventional PID-ILC algorithm. The maximum tracking errors in the directions from iteration to iteration are depicted in Figure 7. Figure 8 shows the tracking errors in the last iteration controlled by both fuzzy PID-ILC and traditional PID-ILC. The fuzzy PID-ILC performed much better than the PID-ILC in terms of the convergence speed and tracking error reductions. In the presence of wind disturbances, there are smaller errors for the motions in all three directions controlled by the fuzzy PID-ILC. These results show the importance of fuzzy control. Therefore, the fuzzy PID-ILC algorithm has indicated its capability to solve the trajectory-tracking control problem experienced by quadrotor UAVs.
Figure 4

The model of quadrotor aircraft in the Gazebo simulation environment.

Figure 5

The flying process of the quadrotor aircraft in the Gazebo simulation environment.

Figure 6

Trajectory of the quadrotor flight.

Figure 7

Maximum absolute values of the tracking error.

Figure 8

The changing curves of the tracking errors in the final iteration.

6. Conclusions

The novel fuzzy PID-ILC algorithm was successfully applied to the trajectory tracking of a quadrotor UAV. A simple fuzzy law to tune the PID-ILC gains was developed. The PID-ILC algorithm adjusts and produces a group of the optimal input compensation for each iteration so that the overall error is reduced and converges to a minimized tracking error. By comparing the results of the Gazebo simulation, fuzzy PID-ILC demonstrated its remarkable capability to not only maintain the stability of the system and reduce the shaking and concussion of the system but also to achieve perfect tracking of the trajectory. Future research directions will include applications of the fuzzy iterative learning algorithm for the selection of the controller parameters.
  6 in total

1.  Generalized Linear Quadratic Control for a Full Tracking Problem in Aviation.

Authors:  Franciszek Dul; Piotr Lichota; Artur Rusowicz
Journal:  Sensors (Basel)       Date:  2020-05-22       Impact factor: 3.576

2.  Indoor Mapping Guidance Algorithm of Rotary-Wing UAV Including Dead-End Situations.

Authors:  Jongho Park; Jaehyun Yoo
Journal:  Sensors (Basel)       Date:  2019-11-07       Impact factor: 3.576

3.  Velocity-Free Attitude Control of Quadrotors: A Nonlinear Negative Imaginary Approach.

Authors:  Ahmed G Ghallab; Ian R Petersen
Journal:  Sensors (Basel)       Date:  2021-03-30       Impact factor: 3.576

4.  Design of a Real-Time Salinity Detection System for Water Injection Wells Based on Fuzzy Control.

Authors:  Bo You; Yuandong Yue; Mingxiao Sun; Jiayu Li; Deli Jia
Journal:  Sensors (Basel)       Date:  2021-04-28       Impact factor: 3.576

5.  Comparative Manufacturing of Hybrid Composites with Waste Graphite Fillers for UAVs.

Authors:  Veena Phunpeng; Karunamit Saensuriwong; Thongchart Kerdphol
Journal:  Materials (Basel)       Date:  2022-10-01       Impact factor: 3.748

6.  Fuzzy Gain-Scheduling PID for UAV Position and Altitude Controllers.

Authors:  Aurelio G Melo; Fabio A A Andrade; Ihannah P Guedes; Guilherme F Carvalho; Alessandro R L Zachi; Milena F Pinto
Journal:  Sensors (Basel)       Date:  2022-03-10       Impact factor: 3.576

  6 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.