Jingyang ZHONG, Chen WANG, Hang ZHANG
School of Construction Machinery, Chang’an University, Xi’an 710061, China
KEYWORDS L1 adaptive control;Neural network;Transition control;Tail-sitter UAV;Transition strategy
Abstract The main task of this work is to design a control system for a small tail-sitter Unmanned Aerial Vehicle (UAV)during the transition process.Although reasonable control performance can be obtained through a well-tuned single PID or cascade PID control architecture under nominal conditions, large or fast time-varying disturbances and a wide range of changes in the equilibrium point bring nonlinear characteristics to the transition control during the transition process, which leads to control precision degradation.Meanwhile, the PID controller’s tuning method relies on engineering experiences to a certain extent and the controller parameters need to be retuned under different working conditions, which limits the rapid deployment and preliminary validation.Based on the above issues, a novel control architecture of L1 neural network adaptive control associated with PID control is proposed to improve the compensation ability during the transition process and guarantee the security transition.The L1 neural network adaptive control is revised to solve the multi-input and multi-output problem of the tail-sitter UAV system in this study.Finally,the transition characteristics of the time setting difference between the desired transition speed and the desired transition pitch angle are analyzed.
In recent years, with the development of sensors and unmanned technology, small Unmanned Aerial Vehicles(UAVs)have constantly attracted researchers’attention worldwide1,2.Regardless of civil fields, including cargo transportation, pipeline patrol and forest rescue, or military fields,including mission reconnaissance and target attack, small UAVs all play important roles in helping people improve work efficiency and mitigate risks3–5.
Small tail-sitter UAVs can both hover and rapidly fly forward, leading to rapid deployment ability under different working conditions, which makes them one of the most promising types of unmanned aerial vehicles6.In recent years,researchers and institutions from various countries have always maintained a high degree of enthusiasm for tail-sitter UAV related research.Olsson et al.7focused on aerodynamic coefficient identification over the entire flight envelope of a WingtraOne tail-sitter UAV, and the results showed that the model was well suited for predicting the forces and moments.Raj et al.8studied a real-time algorithm to iteratively learn a forward transition maneuver via repeated flight trials for a biplane-quadrotor tail-sitter UAV.Li et al.9focused on transition process optimization for a quad-rotor tail-sitter UAV,and both simulation and experimental results showed that the optimized transition trajectory could ensure a short transition time and small height increment.Swarnkar et al.10developed a control strategy for a novel biplane-quadrotor tail-sitter UAV and the numerical simulations verified the good controller performance.Manzoor et al.11used offset-free model predictive control to a ducted fan tail-sitter UAV and simulations were computed to investigate the control performance.Furthermore,a ducted fan tail-sitter UAV called V-bat has been studied by researchers from America and Korea since 2011.Related papers, patents and flight experiments have always been tracked in recent years12–14.All flight experiments are reported to be conducted in naval ships by U.S.military up to September 2021, which fully illustrates the much attention given to the tail-sitter UAV field.Furthermore, researchers from different countries and organizations, such as Gill and D’Andrea15,Smeur et al.16and Ritz and D’Andrea17all spread out the study in this field.
The most commonly used control architecture for tail-sitter UAVs is the PID controller.Although reasonable control effects can be obtained under general working conditions,the linear foundation of the PID controller may lead to control precision degradation when the tail-sitter UAV encounters large or fast time-varying disturbances18.A wide range of changes in the equilibrium point during the transition process also brings nonlinear characteristics that further increase the control difficulty which is disadvantageous for transition safety.Furthermore, to obtain a satisfactory control effect,the controller parameters need to be retuned according to different working conditions.The parameter tuning method also relies on engineering experiences to a certain extent19and a matter of trial and error has to be conducted to obtain ideal parameters.
The L1 adaptive control architecture20,21, proposed by Chengyu Cao and Naira Hovakimyan, can effectively compensate for the system’s uncertainties and improve control precision.L1 adaptive control grows out of the Model Reference Adaptive Control (MRAC), and the low-pass filter that L1 adaptive control brings into the system input makes the system performance not approach an ideal system, but a reference system22.This low-pass filter makes the stability and performance analysis different between L1 adaptive control and model reference adaptive control.L1 adaptive control only compensates for uncertainties within the control bandwidth, which could avoid the robustness decrease in fast adaptation.However, the standard MRAC does not possess this characteristic and the robustness degrades with fast adaptation.
From the research results in recent years,L1 adaptive control has been investigated in aeronautical fields.Lu and Liu23took the UAV carrier landing control problem as the research object, and nonlinear dynamic inversion and L1 adaptive control methods were used to deal with the disturbance during landing.Jafarnejadsani et al.24focused their research on the optimal low-pass filter design of L1 adaptive control and verified the design results in the trajectory tracking for a small quadrotor UAV.Ackerman et al.25presented the evaluation results of an L1 stability augmentation system implemented on a variable-stability Learjet aircraft for the first time and the results illustrate that the L1 stability augmentation system could significantly restore the dynamic characteristics and provide consistent and safe handling qualities in nonlinear working conditions.Banerjee et al.26studied the lateral/directional maneuver of a hypersonic glider along a descent trajectory.A pole placement controller augmented with an L1 adaptive controller is designed and verified through simulations on attitude and altitude control subjects.The architectures of L1 adaptive control theory have guaranteed performance and guaranteed robustness in the presence of fast adaptation,without introducing or enforcing persistence of excitation, without any gain scheduling in the controller parameters and without resorting to high-gain feedback.The speed of adaptation in L1 adaptive architectures is limited only by the available hardware, while robustness is resolved via conventional methods from classical and robust control and this is the advantage compared to the general adaptive or robust control in the real flight.
Although L1 adaptive control has been studied in aeronautical fields,there still exist problems worth further exploration.First,few researchers consider using an L1 adaptive controller to augment the PID controller for tail-sitter transition flight control.The control system that we design here can make use of L1 adaptive control’s fast compensation ability to cover the PID control shortage and accelerate the deployment of the PID controller under practical circumstances.Second, Radial Basis Function Networks (RBFNs) have the characteristics of simple construction, strong nonlinear approximation ability,and good extensibility and classification ability,which have received attention from researchers in different fields.However,most researchers consider uncertainties to be linear functions of system states, and the combination between L1 adaptive control and RBFN is rarely studied.Although Wang et al.27considered the combination of L1 adaptive control and RBFN to solve the autonomous aerial refueling problem, the control architecture that Wang et al.27mentioned could only deal with the Single-Input Multi-Output (SIMO) problem.Therefore, Wang et al.27divided the original problem into multiple SIMO problems for consideration.Finally, most researchers study the tail-sitter UAV transition process based on the optimal idea, and the altitude restriction is always added to the objective function.Few researchers have investigated the effects of the relationship between the time of the desired pitch angle and the time of the desired flight speed on the transition characteristics under a linear transition strategy.
Based on the above analysis,this study focuses on tail-sitter UAVs’attitude control during the transition process.The main contribution of this work is given as follows.(A)A complete dynamic model of a dual-rotor tail-sitter UAV is built and detailed features are considered.(B)A control architecture of L1 neural network adaptive control associated with PID control is proposed to address fast time-varying disturbances,a wide range of equilibrium point changes and uncertainties during the transition process.(C) L1 neural network adaptive control is improved to address Multi-Input Multi-Output(MIMO) problems, which has not been done before and the corresponding theories are revised.(D) The influences of the time setting between the desired pitch angle and desired flight speed on the transition characteristics are quantitatively analyzed, and initial conclusions are given.
To ensure the rationality and reliability of tail-sitter UAV transition control analysis, the system description and modeling process are given first.
The tail-sitter UAV in this study is shown in Fig.1, and the dual-rotor flying-wing configuration is adopted.In Fig.1, T is the thrust generated by two motors and propellers, ΔT1and ΔT2are the thrust variations generated by two motors for rolling control.
The coordination system’s definition is also illustrated in Fig.1.During the transition process, the thrusts generated by two motors and propellers are used to accelerate the UAV to reach the transition finish speed as quickly as possible.Furthermore, the differential thrusts generated by two propellers are also used to provide the rolling control moment.The symmetry and asymmetry deflection of the control surfaces are used for pitching and yawing control, and the slipstream generated by propellers has a critical impact on the efficiency of the control surfaces.
The tail-sitter UAV conceptual parameters in this study are shown in Table 1.
For the real UAV in this study,the maximal control surface deflection is approximately ±25°.To test the control performance under tougher simulation conditions,±20°is set here.
The transition process mainly occurs in the Xb-Zbcoordinate plane, and lateral/directional motion is small.Lateral/directional aerodynamics show a weak correlation with the angle of attack.Therefore, longitudinal aerodynamic characteristics are mainly considered and the data are provided by Sun et al.28as shown in Fig.228.
The remaining aerodynamic parameters were obtained by vortex lattice method from our previous studies and are shown in Table 2.
The tail-sitter UAV is regarded as a rigid body, and then the system kinematics and dynamics can be defined as
Fig.1 Prototype of tail-sitter UAV.
Table 1 Tail-sitter UAV’s conceptual parameters.
where Mtoris the propeller torsion moment; Maerois the aerodynamic moment; Menis the environmental disturbance moment; Mcis control moment generated by actuators; Munkis unmodeled moment.
2.3.1.Motor characteristics
The torsion moment and thrust generated by the propeller can be modeled by
where Ωiis the motor speed; kMand kTare the propeller torsion coefficient and force coefficient respectively.kMand kTare obtained through experiments and the values of them are 6.618 × 10-8and 1.35 × 10-9.The motor models are mainly used for control allocation.Although a nonlinear relationship between the square of motor speed and thrust or torque would better fit the experiment data,this would add complexity when calculating motor speed from thrust and torque.The coefficient of determination R2 for linear fit between the square of motor speed and thrust and torque in Tables 3 and 4 are 0.9997 and 0.9967, respectively, which means that the linear fit is pretty good.The experimental data, in which the thrusts and torques are calculated according to the sensor voltages,are listed in Table 3 and Table 4.
The tail-sitter UAV’s propellers are mounted on the leading edge of the wing, the aerodynamic characteristics were influenced by the slipstream propeller to a large extent and they are modeled as follows.
Fig.2 Static longitudinal aerodynamic coefficients of tail-sitter UAV.28
Table 2 Tail-sitter UAV’s aerodynamic coefficients.
Table 4 Torque experiment data.
Table 3 Thrust experiment data.
2.3.2.Propeller slipstream
The slipstream speed and slipstream area can be obtained through momentum theory.29
where Rpis the propeller-disc radius;Vavg0is the induced velocity near the propeller disc(x = 0); Vavg(x)is the slipstream speed behind the propeller disc at a distance of x; Rs(x)is the slipstream radius behind the propeller disc at a distance of x.Vavg0can be obtained as
where T is the propeller thrust; ρ is the air density; A is the propeller-disc area; w and Ugustare the flight speed and environment disturbance speed in the x-axis of the body coordinate, respectively.
Fig.3 Propeller slipstream (momentum theory).
The dynamic pressure and areas in different areas, which are within and outside the propeller slipstream, can be calculated based on the above equations (see Fig.3).
2.3.3.Dynamic pressure and angle of attacks in different areas
The propeller slipstream influences the dynamic pressure by changing the speed acting on the wing,which leads to different aerodynamic characteristics.In addition, speed changes also lead to variation in the angle of attack,which impacts aerodynamic coefficients.Therefore, the angles of attack in different areas are illustrated in Fig.4.
The angles of attack within and outside the propeller slipstream can be obtained as
where u and w are flight speeds in body coordinates;αoutis the angle of attack outside the propeller slipstream; αinis angle of attack within propeller slipstream;Vslipis slipstream speed generated from propeller.
2.3.4.Tail-sitter UAV dynamic characteristics
Considering that the wing and control surfaces are divided into different areas within and outside the propeller slipstream as shown in Fig.5,it is necessary to grasp these different characteristics.That means the aerodynamic force and moment should be considered separately in different areas.The detailed modeling process is given below.
Fig.5 Influence of propeller slipstream.
Fig.4 Angle of attack in different areas.
where Maerois the total moment acting on UAV, Maero(l),Maero(m),Maero(n)are the moment acting on the UAV’s Xbaxis,Ybaxis and Zbaxis, respectively, Mδais the roll moment generated by motor and propeller, Mδrand Mδeare the yaw moment and pitch moment generated by control surface,respectively,c and b are reference chord and span,respectively,l is the distance between central axis of motor and Zbaxis of the body, Vδe*is the sum of airspeed and slipstream speed near the quarter chord of the control surface.
2.3.5.Environment disturbance
Environmental disturbances are mainly caused by wind.According to the MIL-F-885C standard, wind can be divided into three different forms: gust, turbulence and wind shear30.The gust is illustrated here.Furthermore, turbulence and wind shear could also be modeled according to the MIL-F-885C standard which is not shown here.
where Vmis gust amplitude; dmis gust length; Vwindis wind in body coordinates.
The model established above is mainly used for flight simulation and controller verification,and the following controller design also refers to the established model.
The cascade PID controller is designed first for the tail-sitter UAV transition process.However,the nature of linear control for PID control would lead to performance degradation under large and fast time-varying nonlinear disturbances.The L1 neural network adaptive control is then designed for compensation to improve the tail-sitter UAV’s transition safety.
The cascade PID control consists of an angle loop and an angular rate loop.Eq.(1)constitutes the kinematical equation of the angle loop, which involves the coordinate transformation.Eq.(3) represents the angular rate dynamics.From the different forms of moment acting on the UAV in Eq.(4), the disturbances and uncertainties are all reflected in the angular rate loop.Since Eq.(1) is essentially a coordinate transformation equation, there are no uncertainties and unmodeled factors.Therefore, the first loop of cascade PID does not need to use the PID structure but the P control alone.Eq.(3) contains various sources of the moment, including aerodynamic moment,wind field disturbing moment,unmodeled error,control moment of actuators, and other factors.Integration is needed to compensate for these uncertainties and disturbances,so the final cascade PID uses the form P+PID to offer basic transition performance.The controller’s architecture and implementation details are given as Fig.6.
where Ωdare desired Euler angles that UAV should follow;Ωeare errors between desired and actual Euler angles; ωdare desired angular rates;ωeare errors between desired and actual angular rates;a/(s+a)is the low-pass filter and a is the bandwidth of the low-pass filter.
Then, L1 neural network adaptive control is designed for better compensation for disturbances and uncertainties.
3.2.1.Basic control architecture
In this section, a nonlinear controller is designed to compensate for the environmental disturbances and unmodeled uncertainties mentioned above.From the previous analysis, it is known that disturbances and uncertainties are mainly reflected in Eq.(3) and Eq.(4), therefore, the following dynamics are used for controller design:
where B ?R3×3is the inversion of the triaxial moment of inertia, ω ?R3is the UAV angular rate, uL1?R3is the control moment generated by the L1 neural network adaptive controller, f(ω,t):R3×R →R3is the total disturbances and uncertainties.
Fig.6 Cascade PID controller architecture.
The reason why we use f(ω,t)to represent the items within brackets on the right-hand side of Eq.(40) is presented as follows:The model errors between simulation and practical UAV systems are inevitable.The design ideas mentioned above can reduce the dependence of the control algorithm on the model accuracy.The effect of the design idea can be verified through simulation in section 4 because the controller design process only uses part of the model information while the simulation environment is a complete nonlinear model.If the controller could not cope with unknown uncertainties and disturbances well, the attitude tracking performance would be poor.
By defining a desired angular rate dynamic that the L1 neural network adaptive controller should follow,Eq.(41)can be rewritten as
The control objective is to design an L1 neural network adaptive controller so that UAV angular rate ω can follow a bounded continuous desired angular rate ωd, as shown in Eq.(36).
The system disturbances and uncertainties f(ω,t)represent the three-axis disturbances and uncertainties acting on the tailsitter UAV.The following RBF networks are designed to estimate these disturbances in different directions.
By defining ^η(t)= ︿W(t)H(ω(t)), the control law can be defined as
Compared to the MRAC algorithm, the L1 adaptive controller introduces a low-pass filter to the system input.This low-pass filter makes the stability analysis of the L1 adaptive controller not the same as that of the MARC algorithm.The following reference system should be given first.
Reference system
The reference system defines the best performance that the real system could approach or a nonadaptive version of the adaptive control system in Eq.(42)and Eq.(49).The following control law is used in the reference system:
where η(s)represents the ideal W(s)H(ωref(s)).By using the control law in Eq.(57), the closed-loop reference system can be obtained as
Fig.7 Complete control architecture.
where ωd(s), W(s)H(ω(s))and ε(s)are the Laplace transformations of ωd(t), W(t)H(ω(t))and ε(t), respectively.
Lemma 2 states that the closed-loop system is stable and the state ωref(s)is bounded.
Lemma 2.The control signal given by Eq.(57), subject to the condition Eq.(50), ensures that the state of the closed-loop system Eq.(58) remains within the following bound:
In this section, the control architecture designed before is verified through different simulation subjects.The simulation environment is given first, and the corresponding simulation results are then analyzed.
The aerodynamic force and moment rely on the propeller slipstream to a large extent as discussed in Section 2.The slipstream areas in different regions should be considered and the nominal condition is listed in Table 5.
The areas in different regions are illustrated in Table 5 under nominal conditions which means that the tail-sitter UAV is in the hover flight without any movement.The slipstream area changes with the propeller thrust, distance behind the propeller disc and induced velocity near the propeller disc in the simulation, as described in Eq.(7) and Eq.(8).
The simulation initial values are given in Table 6.
According to our previous embedded algorithm implementation experience, the following factors should be considered:
(1) The stability margin of the system.Although this may not be intuitive in some control algorithms,this determines how aggressive we can tune the control parameters.The pure time delay part within the system would significantly hurt the stability margin.
(2) The limited algorithm running frequency in flight control hardware should be noticed.For an L1 adaptive controller with continuous form, the maximal value of adaptation rate is restricted to the running frequency of the attitude control loop.
(3) The UAV’s practical physical performance should be considered when choosing control parameters.Excessive pursuit of control performance while ignoring the UAV’s practical physical performance will eventually lead to control performance degradation.
Table 5 Areas within and outside propeller slipstream.
Table 6 Tail-sitter UAV’s simulation initial values.
Furthermore,the trade-off between the computational burden and the control accuracy should also be considered.If the computational burden of the algorithm is too large, it will inevitably lead to a decrease in the algorithm’s running frequency for a specific flight control hardware.Low control algorithm running frequency has a detrimental effect on control performance.If the control precision cannot be violated,there are three ways to cope with it: (A) reducing the algorithm’s computational complexity in a certain way; (B) using a flight control hardware with more computing power; (C)seeking other control algorithms that need less computation.
The following control parameter and simulation parameters are selected based on the practical considerations described above.
According to our previous studies,the dynamics of the control surface and motor can be modeled as 1/(0.03 s+1)and 1/(0.02 s + 1), respectively.Furthermore, the original data discrete sampling, actuators’time delay and algorithm’s limited calculation frequency under real hardware would all bring time delay to system input.According to our previous studies, the controller’s time delay margin should be larger than 20 ms to offer sufficient robustness.In the following simulation, the system input time delay is set 25 ms for more rigorous tests.To make the simulation results more reliable, the maximal control efforts (the maximal control surface and deflection and motor thrust)are set as shown in Table1.The control constraints are guaranteed by setting upper and lower bound of the control surface and motor thrust during simulation.There are two situations that the desired control may exceed the actuators’maximal values: (A) If the desired controls exceed the UAV’s ability when UAV encounters overlarge disturbances,the performance degradation is inevitable; (B) If the desired controls exceed actuators’maximal value because of saturation, the anti-windup strategy could be used to guarantee the control performance.
Much time is spent in tuning the cascade PID controller and the parameters are given in Table 7.
The compensation for system uncertainties and environmental disturbances is realized by RBFN in L1 adaptive control.The neural network parameters are obtained by trial-anderror methods.The number of nodes in the network input layer, hidden layer and output layer are set as 3, 5 and 3,respectively, as shown in Fig.8.The center vector for neuron is defined as z= [-1, -0.5,0, 0.5, 1 ;-1, -0.5, 0, 0.5, 1 ; -1, -0.5, 0, 0.5, 1] and the width of radial basis is set to 2.From the actual parameter tuning process,the changes of RBFN coefficients within a certain range would not bring a noticeable impact on the estimation of uncertainties and disturbances.
Table 7 PID control parameters.
Fig.8 Illustration of RNFN in L1 adaptive control architecture.
A large adaptive gain helps to decrease the error dynamics deviation, and with the help of a low-pass filter, the system robustness would not hurt too much,however,larger adaptive gain requires higher computing efforts of the flight control hardware and the adaptive gain is set as 400.The bandwidth of the low-pass filter in the L1 adaptive controller is set as 15/(s + 15) to trade off between system performance and robustness.The desired dynamics of the angular rate loop are set as -10I3×3to obtain a quick angular rate tracking in this study.Although larger number setting of desired angular rate dynamics would make the UAV track angular rate faster in theory, the UAV’s limited physical ability (finite actuator bandwidth, the UAV’s moment of inertia, etc.) may not be able to follow overly aggressive control expectation.
In the simulation analysis, the desired transition trajectory should be given first.The different settings of desired pitch angles and desired speeds have a substantial impact on the transition result.The transition strategy using optimization method has been researched in our previous studies.In that study, an optimal function and constraints are defined, then gradient descent algorithm is used to obtain the desired pitch angles and speeds.Shorter transition time settings for pitch angles and speeds would lead to drastic changes in aerodynamic characteristics such as the variations of angle of attack and dynamic pressure, therefore, more control manipulations are needed.The linear transition trajectory is given as reference values because the focus of this article is control system design.The influence of different time settings between desired pitch angles and speeds under linear transition trajectory will be discussed in Section 4.2.3.
The transition finish time is set to 3 s moderately to test the control system in this study.The desired transition pitch angle and desired transition flight speed in the Zbaxis of the body coordinates are illustrated as Fig.9.
4.2.1.Nominal system without disturbance and uncertainty
In this simulation,the control system attitude tracking performance is tested in the nominal system without any environmental disturbances or system uncertainties.Comparisons are made between classical single-loop PID control, cascade PID and the algorithms proposed in this study.The singleloop PID uses errors between the desired attitude and real attitude as control input and outputs the desired control moment to actuators.The attitude expression is based on the Euler angle, therefore, the final desired pitch angle is set to -80°to avoid singularity.The simulation results are shown in Fig.10.In Fig.10, CMD represents the desired pitch angle during the transition process, L1 represents the pitch angle tracking result proposed in this study,PID(C)and PID(S)represent the pitch angle tracking results of the single-loop PID and cascade PID controllers, respectively.
Fig.10 Pitch angle tracing in nominal system.
Fig.11 Angle of attack.
Fig.9 Desired transition set point.
Fig.12 Speed control.
Fig.13 Altitude change.
From Fig.10, all three control methods could make the tail-sitter UAV finish transition in the nominal system.However, the single-loop PID controller shows the worst performance, and large tracking errors occur during the transition process.The fluctuation is also the largest among these three methods after transition.Cascade PID control shows great improvement and many of the tracking errors during the transition process are eliminated.However,the tracking errors are not as small as those of the L1 neural network adaptive controller in the level flight phase.In general, the control performance of cascade PID control and L1 neural network adaptive control show the same level under the nominal system.
The Angle of Attack (AOA) within and outside the propeller slipstream, flight speed and altitude change during the transition process are shown in Fig.11, Fig.12 and Fig.13,respectively.The results from the L1 neural network adaptive control system are displayed, where RES represents the real body speed in Zbaxis.
The speed control used here is a standard PID controller.Given the tail-sitter UAV coordinate definition, -20 m/s in Fig.12 actually means that the forward speed is 20 m/s.From Fig.12, the tail-sitter UAV reaches the desired flight speed after the transition and overshoots exist at the end of the transition.The overshoot is less than 2 m/s and the results are acceptable.From Fig.11 and Fig.13, it can be observed that the angles of attack within and outside the propeller slipstream are relatively small,which would lead to altitude climbing.The reason is that small angles of attack would generate sufficient lift for the tail-sitter UAV.However, remarkably, this small angle of attack and altitude climbing are related to the transition strategy, which will be discussed in Section 4.2.3.
4.2.2.Complete system with disturbances and uncertainties
In this part, the control performances of different controllers are tested under disturbances and uncertainties.Furthermore,the transition time is set to 2 s for more rigorous test.The step signal and low-frequency sinusoidal signal are mainly used to verify the attitude tracking performance of the tail-sitter UAV.Extra disturbances are added to the pitching channel to test the pitch tracking ability which is crucial to the transition process.The following triaxial superimposed moments are added to the system input as shown in Table 8.
Moreover, wind disturbances are also included in the analysis and they will bring changes in dynamic pressure and angle of attack to the tail-sitter UAV aerodynamics.The wind model is established according to the MIL-F-8785C standard, as mentioned in Section 2.3.5.The wind fields are shown in Fig.14 and have been transferred to the body coordinates.
Considering that the performance of single-loop PID is the worst among these three control architectures, comparisons are mainly made between cascade PID control and the L1 neural network adaptive control system.
The angles of attack within and outside the propeller slipstream under disturbances are shown in Fig.15.It can be observed that there exist more drastic fluctuations compared to the nominal system without disturbances, which would impact the tail-sitter UAV’s aerodynamic force and moment.
The triaxial Euler angle tracking performances are given in Fig.16.In Fig.16, CMD represents the desired Euler angle,PID(C) represents the attitude tracking performance using the cascade PID controller,L1 represents the attitude tracking performance using the method proposed in this study.
The outputs of the cascade PID controller and L1 neural network adaptive controller under the control architecture of Fig.7 are shown as Fig.17 and the contribution of these two controllers can be seen clearly.
The Maximal Absolute Error(MAE)and Integral Squared Error(ISE)are used to evaluate different control effects.MAE is defined as max |e|and ISE is defined as ∫tft0e2(t)dt.The corresponding computed results are listed in Tables 9 and 10,respectively.
Fig.14 Linear speed in wind field.
Table 8 Triaxial disturbance moments.
Fig.15 Angle of attack changes during transition process.
Fig.16 Triaxial Euler angle tracking performance.
By using a cascade PID controller, the maximal absolute error in roll and yaw control are 7.2053°and 6.45 respectively while the errors in the control system that we propose here are 0.1924°and 0.776 respectively.Smaller angle errors in roll and yaw angle would maintain UAV smooth and steady during transition process.Furthermore, visible errors of PID controller could also be observed after transition.The MAE in the pitch tunnel of PID controller is 17.2587 ° and that of L1 neural network controller is 9.4814 °.The relatively poor control precisions of PID controller increase the risk of safety transition.The MAE could reflect the transient performance during transition while the investigation of control process can be evaluated by ISE.Larger ISE means greater fluctuations during transition process.From the ISE results in Table 9 and Table 10, better process control can also be observed in the L1 neural network control system.In conclusion, the L1 neural network adaptive control system proposed in this study could attenuate the disturbances considerably and enhance flight safety compared to single use of cascade PID controller.
Table 9 Control performance evaluation (PID).
Table 10 Control performance evaluation (L1 neural network).
The changes in parameters related to the neural network are shown in Fig.18.
Furthermore, the control performances are also compared between the method proposed in this study and the method conducted in Ref.32.In Ref.32,the adaptation law is the product of adaptive gain and state errors between the real system and predictor.The mathematical description of the adaptation law is shown as
where ^x(t)is the state of the predictor, x(t)is the state of the real system, Γ is the adaptation gain.
The simulation results using these two control architectures are shown in Fig.19.The control performance of these two L1 adaptive controls is almost the same when the adaptation gain is chosen to be relatively large through early simulation.From our previous experience, the algorithm operating frequency,flashed into Pixhawk1 hardware, is between 200 Hz and 250 Hz and the maximal adaptation gain should not be larger than 160, otherwise, unexpected performance would occur,which means that the tail-sitter UAV’s attitude starts shaking.Therefore,the adaptation gains are both set to 160 to compare the control effect of the two L1 adaptive control architectures.In Fig.19,CMD represents the desired attitude,L1 represents the method proposed in this study,L1 in Ref.32 represents the method proposed in Ref.32.
Although the control architecture proposed in Ref.32 could obtain reasonable results, the tracking precision is still not as good as the controller proposed in this study.The complex desired attitude shown in Fig.18 leads the maximal roll angle tracking error to 11°and 25°by using the method proposed in this study and the method proposed in Ref.32,respectively.Furthermore,the method in this study also shows better yaw angle tracking performance with the maximal absolute error of 11°while the tracking error using method in Ref.32 is 18 °.The reason is that the adaptation law in Ref.32 is just a product between the adaptation gain and state errors.It is generally a linear integral of the state errors.However,the adaptation law in this study uses the good approximation ability of RBFN,which is a nonlinear function,to estimate the disturbances and uncertainties.More approximate and accurate estimations could be obtained and then be used for control output.Therefore, a better control precision could be obtained.
Fig.19 Comparison between L1 adaptive controllers.
Furthermore,the influences of transition time setting on the transition trajectory are also discussed.
4.2.3.Different transition time setting analysis
In the previous simulations,the desired pitch angle and desired flight speed were set as a linear relation with time during the transition process.The time durations of the desired pitch angle and desired flight speed are the same.Although there exist studies that compute a nonlinear transition strategy to guarantee relatively small altitude changes based on optimization ideas, the different time settings of these desired values under linear transition strategy are rarely analyzed and will be discussed in this section.To avoid the influences of disturbances and uncertainties, simulations are conducted based on the nominal system which does not contain disturbances and uncertainties.
Fig.18 Parameters related to neural network.
Fig.20 Relation between transition trajectory and time setting(flight speed time fixed).
The time of the desired flight speed during the transition process is set to 3 s and the time of the desired pitch angle is set to 0.5,1,2,4 s.The changes in altitude and angles of attack are investigated as Fig.20.
When the time setting of the desired transition flight speed is fixed,less time setting of the desired pitch angle would bring a smaller altitude change.When the desired pitch angle time setting is 0.5 s, the altitude change during transition is almost 0.However, it is worth noting that a transition time setting that is too small would lead to more drastic angle of attack changes.Furthermore,from Figs.20(b)and(c),the influences of transition pitch angle time setting on the angle of attack changes can also be observed.In general, a longer transition pitch angle time setting would also lead to greater height variation under the linear transition strategy.
Then the desired transition pitch angle time is fixed to 3 s,and the time of the desired flight speed is set to 0.5, 1, 2, 4 s.The changes in altitude and angles of attack during the transition process are discussed as Fig.21.
When the desired transition pitch angle time is fixed, the shorter the desired flight speed time is set, the higher the tailsitter UAV climbs.The reason is that a relatively short time setting of the desired flight speed would make the tail-sitter UAV reach the cruising speed quickly, and there still exists a relatively large pitch angle at this moment which leads to obvious altitude climbing.Compared to the results from a fixed transition flight speed time, it would be more efficient to change the transition altitude variation by changing the desired pitch angle time setting.
Fig.21 Relation between transition trajectory and time setting(pitch angle time fixed).
Based on the above analysis, transition altitude planning would be effectively realized by adjusting the time difference between the transition time setting of the desired pitch angle and desired flight speed.This provides another idea to cope with transition altitude variation instead of complicated nonlinear optimization solutions.However,it should be noted that the conclusion obtained in this paper can only be applied to the tail-sitter UAV of this study because different UAVs have different aerodynamic characteristics.However, the analysis method mentioned above can be extended to other types of tail-sitter UAVs.
The key features of the tail-sitter UAV during the transition process are modeled first in this paper, such as aerodynamic characteristics within full angles of attack, and the influences of the propeller slipstream on the dynamic pressure and angle of attack in the different parts of wings and control surfaces.These established models are the research foundation for the control system verification.
A novel control architecture of L1 neural network adaptive control system associated with cascaded PID control is developed to improve the compensation ability during the transition process and guarantee the security transition.The L1 neural network adaptive control algorithm is revised to cope with multi-input multi-output system and the corresponding theoretical analyses are given.Numerical simulation results show the effectiveness of the proposed control method.Using the evaluation criteria of MAE and ISE for transition process analysis, the pitch angle tracking of the method proposed in this study has at least twice the tracking precision of cascaded PID control.The roll and yaw control results show more obvious improvement of control effect.Furthermore, higher control precision and smaller overshoots could also be guaranteed by the method proposed in this study compared to the L1 control method proposed in the reference which uses a proportional adaptation law.
Finally,the influences of the transition time setting between the desired pitch angle and flight speed on the transition altitude variation are discussed.This raises a new idea to cope with the transition altitude change under a linear transition strategy instead of complicated nonlinear transition strategy computation.
Declaration of Competing Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Acknowledgements
This study was supported by the Natural Science Basic Research Plan in Shaanxi Province, China (No.2021JQ-214)and the Fundamental Research Funds for the Central Universities, China (No.300102251101).
CHINESE JOURNAL OF AERONAUTICS2023年7期