A method and system for attitude control of fixed-wing airdrop UAV based on switching sliding mode control
By introducing switching sliding mode control theory into the airdrop control of fixed-wing UAVs and designing a nonlinear switching sliding mode controller, the problem of system instability during load delivery is solved, effective control of the longitudinal and transverse components is achieved, and the efficiency is improved Stability and robustness of the airdrop process.
Patent Information
- Application Number
- CN202410177081.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-02-08
AI Technical Summary
Existing fixed-wing UAV airdrop control technology fails to effectively consider the effects of longitudinal and transverse components, resulting in system instability when the load is dropped, and the traditional sliding mode control method cannot adapt to changes in system parameters under large load-to-weight ratio conditions.
Using a method based on switching sliding mode control, by establishing a nonlinear affine switching system model, a switching sliding mode controller with limited time convergence properties is designed, combining the robustness of sliding mode control and the ability of switching control to handle parameter mutations, Design a horizontally and vertically non-decoupled controller suitable for different load carrying situations.
It improves the stability and robustness of the drone during the airdrop process, is suitable for different payload loading situations, and ensures precise control of the airdrop process and system safety.
Smart Images

Figure CN118363395B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle attitude control, and in particular to a fixed-wing airdrop unmanned aerial vehicle attitude control method based on switching sliding mode control. Background Art
[0002] In recent years, with the rapid development of UAV design technology and automation technology, airdrop UAVs have been widely used in disaster relief and cargo distribution. Among them, fixed-wing UAVs have the advantages of fast flight speed, large load capacity, and long endurance, and are more suitable for long-distance, heavy-load transportation and airdrop missions. Compared with traditional cruise flight missions, in airdrop missions, fixed-wing UAVs have to carry a load that is larger than their own mass. In this case of a large load-to-weight ratio, the mass, center of mass position, and aerodynamic characteristics of the UAV will change after the launch, which can easily cause a jump in the flight state before and after the launch, and even cause the UAV to become unstable. This places high demands on the accuracy of the UAV airdrop process modeling and the robustness of the flight controller.
[0003] In the existing research on the flight control problem of airdrop UAVs, generally only the situation where the load is loaded into the geometric symmetric surface of the carrier aircraft (such as the belly, etc.) is considered. In this way, although the load is dropped in sequence, the mass distribution of the carrier aircraft and the load is always in a symmetrical state, and only the weight changes. This traditional research method simplifies the modeling process, but ignores the wider situation where the load is installed on asymmetric surfaces such as under the wing. In addition, the existing research on the control problem of fixed-wing airdrop UAVs often adopts a simplified longitudinal dynamic model of the UAV, which only considers the impact of the airdrop on the longitudinal components of the UAV, such as the angle of attack, pitch angle and other state variables, without considering the changes in lateral components such as the roll angle. Therefore, designing a non-decoupled controller for the lateral and longitudinal directions that considers the asymmetric load situation can be applied to a wider range of UAV airdrop problems and is more practical.
[0004] In the flight control of UAVs, the sliding mode control method can change the original control structure of the system by designing sliding modes, making it insensitive to disturbances and changes in system parameters, thereby improving the robustness of the system. Due to its excellent anti-disturbance performance, sliding mode control has been initially applied to the problem of UAV airdrops, solving a series of problems such as maintaining altitude and speed during the airdrop process, and has achieved certain results. However, in existing studies, the changes in the parameters of the UAV system caused by airdrops are always regarded as a control disturbance that can be offset by sliding modes. The basic structure and parameters of the controller used are not adaptively adjusted before and after the airdrop, which can still ensure a good control effect when the load weight is low. However, in large load-to-weight ratio delivery tasks, the system model and the controller often do not match. To address this problem, the switching control theory has the advantages of multi-modal adaptation and fault tolerance, and has been applied to robot systems with parameter jumps, such as quadcopter UAV control and unmanned vehicle control. Therefore, in order to combine the strong robustness of sliding mode control and the good processing ability of switching control for parameter mutation systems, it is imperative to introduce multi-modal switching control theory on the basis of traditional sliding mode control methods to improve the control performance of UAVs.
[0005] How to introduce multi-mode switching control theory based on the traditional sliding mode control method to improve the control performance of UAV, the existing technology does not provide a corresponding solution. Summary of the invention
[0006] The technical problems to be solved by the present invention are:
[0007] The purpose of the present invention is to provide a fixed-wing airdrop UAV attitude control method and system based on switching sliding mode control, so as to solve the problem that the existing UAV attitude control technology does not consider the influence of airdrop on longitudinal and lateral components, which limits the wide application of UAV airdrop, and solve the instability problem that may be caused by frequent system switching during continuous airdrop of fixed-wing UAV.
[0008] The technical solution adopted by the present invention to solve the above technical problems is:
[0009] The present invention provides a method for controlling the attitude of a fixed-wing airdrop UAV based on switching sliding mode control, comprising the following steps:
[0010] Step 1: Determine the parameters of the fixed-wing airdrop UAV (hereinafter referred to as the carrier) and the payload, including: carrier mass, moment of inertia, center of mass position, wing area, wingspan, average aerodynamic chord length, aerodynamic coefficient, etc.; the number, mass, installation position, etc. of the payload;
[0011] Step 2: Based on the parameters obtained in step 1, derive the kinematic and dynamic equations of the fixed-wing airdrop drone under different load-carrying conditions. The specific steps are: first, regard the load as a point mass and the carrier as a rigid body, and calculate the total center of mass, total mass and total moment of inertia of the carrier and the load as a whole (hereinafter referred to as the whole) under different load-carrying conditions based on the mass, center of mass position and moment of inertia of the carrier and the load obtained in step 1; then, establish the kinematic equation based on the coordinate system transformation relationship, and establish the dynamic equation based on Newton's law and Euler's equation;
[0012] Step 3: Determine the total external force and torque of the fixed-wing airdrop drone. The specific steps are as follows: Assuming that the change of the drone's aerodynamic shape during the airdrop process can be ignored, calculate the overall aerodynamic force based on the aerodynamic parameters obtained in step 1, and combine it with gravity and engine thrust to calculate the overall total external force. Calculate the overall aerodynamic torque based on the aerodynamic parameters and the offset of the total center of mass, that is, the total external torque of the drone; finally, substitute the obtained total external force and torque of the drone into the dynamics equation to complete the kinematic and dynamic modeling;
[0013] Step 4: According to the kinematic and dynamic models established in steps 2 and 3, establish the attitude error dynamics model of the fixed-wing airdrop UAV, and model it as a nonlinear affine switching system; the specific steps are: set the expected attitude angle and expected attitude angular velocity, substitute and establish the attitude error dynamics model of the UAV; assume that the change in the speed of the fixed-wing UAV during the delivery process is negligible, and rewrite the attitude error dynamics model of the UAV into a combination of linear switching terms, quadratic terms, and nonlinear perturbation switching terms;
[0014] Step 5: Based on the attitude error dynamics model established in step 4, design a switching sliding mode controller with finite time convergence properties. Specifically, it includes an attitude angle controller and an attitude angular velocity switching controller; the specific steps are: first, the attitude angle error is set as the outer loop sliding surface, and an attitude angle sliding mode controller with finite time convergence properties is designed. Then, on this basis, the attitude angular velocity error is designed as the inner loop sliding surface, and an attitude angular velocity switching sliding mode controller with finite time convergence properties is designed. The control gain is obtained by solving the linear matrix inequality;
[0015] Step 6: Based on the switching sliding mode controller designed in step 5, prove the stability of the fixed-wing UAV in the airdrop mission. Specifically, it includes: proving the finite time convergence property of the UAV in a single mode, analyzing the stability of the fixed-wing UAV in the continuous airdrop mission, and determining the minimum airdrop interval time.
[0016] A fixed-wing airdrop UAV attitude control system based on switching sliding mode control, the system has a program module corresponding to the steps of the above technical solution, and executes the steps of the above fixed-wing airdrop UAV attitude control method based on switching sliding mode control when running.
[0017] A computer-readable storage medium stores a computer program, wherein the computer program is configured to implement the steps of the above-mentioned method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control when called by a processor.
[0018] The present invention has the following beneficial technical effects:
[0019] The present invention is proposed to solve the flight control problem of fixed-wing airdrop UAVs with instantaneous mass characteristic jumps when the load is dropped. In view of the more common situation where the load is set on the asymmetric surface of the carrier aircraft, the impact of airdrop on the longitudinal and lateral components is comprehensively considered, and a nonlinear controller with finite time convergence property and lateral non-decoupling is designed, which is suitable for different types of airdrop UAVs; at the same time, the present invention regards the different load carrying conditions of the UAV as different modes of the system, and models the airdrop and the UAV parameter mutation process caused by it as the switching action of the system mode. On this basis, a switching sliding mode controller is designed, and the controller gain is solved according to the average residence time theory to determine the minimum airdrop interval time. The present invention introduces multi-mode switching control theory on the basis of the traditional sliding mode control method for improvement, so as to combine the strong robustness of sliding mode control and the good processing ability of switching control for parameter mutation systems, thereby improving the control performance of the UAV.
[0020] Starting from the establishment of a more universal fixed-wing airdrop UAV dynamics model system, the present invention proposes a design method for an airdrop UAV attitude controller based on switching sliding mode control, and further solves the controller gain according to the average residence time switching control theory to determine the minimum airdrop interval time. The relevant results can cover the flight control scheme of fixed-wing airdrop UAVs carrying different weights at different positions, and have good practical application value. In view of various loading conditions where the load is installed on asymmetric surfaces such as under the wing, the influence of the load on the change of the center of mass is comprehensively considered, and the horizontal and vertical non-decoupled dynamic modeling is proposed to achieve accurate modeling of the airdrop process. This modeling method is also applicable to the control problems of fixed-wing UAVs under various center of mass changes, and has a wide range of applications. In view of the instability problem that may be caused by frequent system switching in the continuous airdrop of fixed-wing UAVs, a switching controller based on sliding mode control is proposed, and the minimum airdrop interval time is determined according to the average residence time theory, providing stability guarantee for the continuous airdrop mission of the UAV.
[0021] In summary, the present invention utilizes sliding mode control and switching control theory to effectively solve the attitude control problem of fixed-wing UAV during the airdrop process, improves the safety and reliability of fixed-wing UAV during the airdrop process, and has a wide range of applications and high engineering application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0023] Figure 1 This is a flow chart of the attitude control method of fixed-wing airdrop UAV based on switching sliding mode control;
[0024] Figure 2 It is a schematic diagram of the attitude control method of fixed-wing airdrop UAV based on switching sliding mode control;
[0025] Figure 3 It is a comparison diagram of the attitude errors of the fixed-wing airdrop UAV in the embodiment; in the uppermost figure: the dotted line represents the PID, the middle solid line represents the switching sliding mode controller, and the lowermost solid line represents the traditional sliding mode controller; in the middle figure: the dotted line at the uppermost part represents the PID, the middle solid line represents the traditional sliding mode controller, and the lowermost solid line represents the switching sliding mode controller; in the uppermost figure: the dotted line represents the PID, and the solid line representing the switching sliding mode controller coincides with the solid line representing the traditional sliding mode controller. DETAILED DESCRIPTION Specific implementation method one:
[0027] Give Attachment Figures 1 to 3 The implementation of the fixed-wing airdrop UAV attitude control method based on switching sliding mode control described in the present invention is described as follows:
[0028] Step 1: Determine the parameters of the fixed-wing airdrop drone and payload:
[0029] In this embodiment, a carrier aircraft is assumed to carry four payloads, which are all set under the wings of the carrier aircraft and symmetrically distributed about the center plane of the drone. In the airdrop mission, the fixed-wing airdrop drone drops a payload every 1 second according to the payload number sequence until the payload is dropped.
[0030] The coordinate system of the drone body is defined as follows: the origin is set at the center of mass of the drone, the x-axis points forward along the nose, the z-axis is in the symmetry plane of the body, perpendicular to the x-axis and pointing downward, and the y-axis, x-axis and z-axis form a right-handed system.
[0031] The mass and center of mass of the payload and the drone are shown in Table 1:
[0032] Table 1 Mass and center of mass parameters of payload and UAV
[0033]
[0034] The UAV's moment of inertia is
[0035] J xx =1.6073kg·m 2 ,J yy =7.5085kg·m 2 ,J zz =7.1865kg·m 2 ,J xz =-0.56144kg·m 2
[0036] The average aerodynamic chord length of the drone is c = 0.76m, the wingspan is b = 1.96m, and the wing area is S = 1.37m 2 .
[0037] The aerodynamic parameters of the drone are:
[0038] C D0 =0.0722,C Dα =0.3824,C Dq =0,
[0039] C L0 =0,C Lα =6.9473,C Lq =0,
[0040] C m0 =0.0445,C mα =-0.7067,C mq =-1.7125,
[0041] C Y0 =-0.0221,C Yβ =0.2706,C Yp =4.2750,C Yr =-0.3168,
[0042] C l0 =-0.007,C lβ =-0.3666,C lp =-1.6623,C lr =0.1947,
[0043] C n0 =0.0023,Cnβ =0.1098,C np =-0.1840,C nr =-0.5745,
[0044] The control input of the attitude control of the UAV is selected as the aileron rudder δ a , elevator δ e , rudder δ r .
[0045] Step 2: Derive the kinematic and dynamic equations of fixed-wing airdrop drones under different load conditions:
[0046] Calculate the total mass of the drone and the payload under different payload conditions:
[0047] m i =m b +i·m s (1)
[0048] Among them, m i Represents the total mass of the UAV and its payload, m b It represents the mass of the UAV, and i=0,1,2,3,4 represents the number of payloads.
[0049] Calculate the center of mass position of the drone and the payload under different load conditions:
[0050]
[0051] Among them, x m i ,y m i , z m i The component representing the center of mass of the UAV and the payload as a whole in the coordinate system of the UAV itself, The component representing the installation position of each load in the coordinate system of the UAV.
[0052] Calculate the moment of inertia of the drone and the payload as a whole under different load conditions:
[0053]
[0054] Among them, J xx i , J yy i , J zz i , J xy i , J xz i , Jyz i Representing the total moment of inertia and product of inertia of the drone and the payload, it can be expressed in a matrix as:
[0055]
[0056] The ground coordinate system is defined as follows: the origin is set as the take-off point of the drone, the x-axis is the north geographic meridian passing through the coordinate origin, the z-axis points from the origin vertically to the center of the earth, and the y-axis points to the east.
[0057] The kinematic equation of the drone is obtained from the conversion relationship between the drone body coordinate system and the ground coordinate system, and the dynamic equation of the drone is obtained from Newton's law and Euler's equation, as follows:
[0058]
[0059] Among them, h represents the height of the drone, u, v, w represent the velocity components of the drone in this system, φ, θ, ψ represent the attitude angle of the drone, φ represents the roll angle, θ represents the pitch angle, ψ represents the yaw angle, p, q, r represent the angular velocity components of the drone in this system, V represents the speed of the drone, α, β represent the angle of attack and sideslip angle of the drone, Represents the force on the drone in this system, L i ,M i ,N i is the aerodynamic moment acting on the UAV.
[0060] Step 3: Determine the total external force and torque on the fixed-wing airdrop drone:
[0061] According to the force analysis, The specific expression is as follows:
[0062]
[0063] Among them, G i =m i g is the overall gravity of the drone, g is the local gravity acceleration, T represents the engine thrust, F L ,F Y ,F D and T are the lift, side force and drag of the UAV respectively. The specific expressions are as follows:
[0064]
[0065] ρ is the atmospheric density.
[0066] During the launch process, the center of mass of the drone as a whole changes. According to the mass point assumption of the payload, the center of pressure of the drone is not affected. Therefore, the aerodynamic moment of the drone will change. The amount of change is related to the position of the center of mass, L i ,M i ,N i The specific expression is:
[0067]
[0068] At this point, the kinematic and dynamic modeling of the fixed-wing airdrop UAV has been completed.
[0069] Step 4: Establish a UAV attitude error dynamics model with switching nonlinear affine form
[0070] The attitude angle and attitude angular velocity tracking error are defined as:
[0071]
[0072] Among them, φ d ,θ d ,ψ d represents the desired attitude angle, p d ,q d ,r d represents the desired attitude angular velocity,
[0073] Define x1 = [φ,θ,ψ] T ,x2=[p,q,r] T ,x 1d =[φ d ,θ d ,ψ d ] T ,x 2d =[p d ,q d ,r d ] T ,z1=[z φ ,z θ ,z ψ ] T ,z2=[z p ,z q ,z r ] T , assuming that the change in speed can be ignored during the airdrop process, the following error dynamics model of switching nonlinear affine form is established:
[0074]
[0075] in,
[0076]
[0077]
[0078]
[0079]
[0080]
[0081] u=[δ a δ e δ r ] T
[0082] Step 5: Design a switching sliding mode controller with finite-time convergence property.
[0083] First, the virtual control input x of z1 2d Design and define the sliding surface as:
[0084] s1=z1 (11)
[0085] The sliding mode controller with finite time convergence property is designed as follows:
[0086]
[0087] Where F1 = diag{f φ , f θ , f ψ}, f φ ,f θ ,f ψ >0, K1=diag{k φ ,k θ ,k ψ}, k φ ,k θ ,k ψ >0,ε1=diag{ε φ ,ε θ ,ε ψ}, ε φ ,ε θ ,ε ψ > 0, sgn(·) is the sign function, sgn γ (·)=[|·1| γ sgn(·1)|·2| γ sgn(·2)|·3| γ sgn(·3)] T , 0<γ<1.
[0088] On this basis, the control input u is designed and the sliding surface is defined as:
[0089] s2=z2 (13)
[0090] The switching sliding mode controller with finite-time convergence property is designed as follows:
[0091]
[0092] in, Obtained by solving the following linear matrix inequality:
[0093]
[0094] P i >μP j
[0095] j=i - , P i is a symmetric positive definite matrix, λ>0,μ>1; K2=diag{k p ,k q ,k r}, meet K2P i >η(λ max (P i )) (1+γ) / 2 ,η>0,λ max (·) represents the maximum eigenvalue of (·); ε2=diag{ε p ,ε q ,ε r}, ε p ,ε q ,ε r >0.
[0096] Step 6: Demonstrate the stability of fixed-wing drones in airdrop missions and determine the minimum airdrop interval time.
[0097] Firstly, the finite-time convergence property of the designed controller in mode i is proved.
[0098] Construct a Lyapunov function of the form:
[0099]
[0100] To derive it, we have
[0101]
[0102] Substitute the x designed in step 5 into 2d With u, we get
[0103]
[0104] According to F1, K1, ε1, The definition of K2,ε2 gives:
[0105]
[0106] Reference Lemma 1: For x i ∈R, i=1,2,…n and α∈(0,1], the following inequality holds:
[0107]
[0108] Then (18) can be transformed into:
[0109]
[0110] Where λ1=min{2f φ ,2f θ ,2f ψ ,λ},λ2=min{2 (1+γ) / 2 k φ ,2 (1+γ) / 2 k θ ,2 (1+γ) / 2 k ψ ,2η}.
[0111] Refer to Lemma 2: Consider the above nonlinear system, assume that there exists a continuous differentiable function V(x) that satisfies α1||x|| 2 ≤V(x)≤α2||x|| 2 , where α1, α2∈R, then if there exists λ1, λ2>0, α∈(0,1), then
[0112]
[0113] Then the system is finite-time stable, and its convergence time is given by
[0114]
[0115] For a Lyapunov function of the form (15), Make
[0116] α1||z|| 2 <V i (z1,z2)<α2||z|| 2 (20)
[0117] in
[0118] According to (19), the convergence time of system (10) satisfies:
[0119]
[0120] That is, the system (10) can achieve finite time convergence in mode i, which is proved.
[0121] Then analyze the stability of the system under continuous delivery, that is, continuous mode switching:
[0122] Definition 1: For a switching signal i(t), if there exist two positive real numbers N0 and τ a , so that
[0123]
[0124] Then τ a is called the average residence time, where N i (T, t) represents the number of times the switching signal i(t) is discontinuous in the interval (T, t).
[0125] Theorem 1: For the above switching system (10), if the average residence time τ a satisfy
[0126]
[0127] Then for each switching signal i(t) with an average dwell time, the system (10) is globally exponentially stable.
[0128] Proof: From (19), we can see that the system satisfies:
[0129]
[0130] Select any T>0, and consider the function on the interval (0,T]
[0131]
[0132] Assume t0 = 0, is the switching time, in the interval [t k ,t k+1 )
[0133]
[0134] From (24), (26) is less than 0. From P i >μP j , can be obtained
[0135] V i ≤μV j (27)
[0136] Substituting (27) into (25), we have
[0137]
[0138] Transform inequality (28) from k = 0 to k = N i (T,0) and we can get
[0139]
[0140] So there is
[0141]
[0142] If the switching signal i complies with the average dwell time rule, (30) can be transformed into
[0143]
[0144] From (20), we can get
[0145]
[0146] That is
[0147]
[0148] It can be seen that system (10) is globally exponentially stable, proved.
[0149] In summary, let the airdrop interval be τ k , k = 1, 2, 3, the average interval time is τ a , the sufficient condition for the switching system (10) to be stable is or
[0150] For this specific implementation, the relevant parameters of the fixed-wing airdrop drone and the payload determined in step 1 are described as follows:
[0151] In this embodiment, a carrier aircraft is assumed to carry four payloads, which are all set under the wings of the carrier aircraft and symmetrically distributed about the center plane of the drone. In the airdrop mission, the fixed-wing airdrop drone drops a payload every 1 second according to the payload number sequence until the payload is dropped.
[0152] The coordinate system of the drone body is defined as follows: the origin is set at the center of mass of the drone, the x-axis points forward along the nose, the z-axis is in the symmetry plane of the body, perpendicular to the x-axis and pointing downward, and the y-axis, x-axis and z-axis form a right-handed system.
[0153] Taking a certain type of fixed-wing airdrop UAV as an example, after measurement and calculation, the relevant parameters of this type of UAV and payload are obtained as follows:
[0154] The mass and center of mass of the payload and the drone are shown in Table 1:
[0155] Table 1 Mass and center of mass parameters of payload and UAV
[0156]
[0157] According to the measurement, the moment of inertia of this type of UAV is
[0158] J xx =1.6073kg·m 2 ,J yy =7.5085kg·m 2 ,J zz =7.1865kg·m 2 ,J xz =-0.56144kg·m 2
[0159] The average aerodynamic chord length of this type of UAV is c = 0.76m, the wingspan is b = 1.96m, and the wing area is S = 1.37m 2 .
[0160] The control input of the attitude control of this type of UAV is the aileron rudder δ a , elevator δ e , rudder δ r .
[0161] The aerodynamic parameters of this type of UAV are:
[0162] C D0 =0.0722,C Dα =0.3824,C Dq =0,
[0163] C L0 =0,C Lα =6.9473,C Lq =0,
[0164] C m0 =0.0445,C mα =-0.7067,C mq =-1.7125,
[0165] C Y0 =-0.0221,C Yβ =0.2706,C Yp =4.2750,C Yr =-0.3168,
[0166] C l0 =-0.007,C lβ =-0.3666,C lp =-1.6623,C lr=0.1947,
[0167] C n0 =0.0023,C nβ =0.1098,C np =-0.1840,C nr =-0.5745,
[0168] Among them, C ij (i=D,L,m,Y,l,n,m,j=α,β,p,q,r,L) represents the aerodynamic coefficient C of the aerodynamic force / torque i i The dimensionless partial derivative with respect to the drone’s associated state / input j, C i0 (i=D,L,m,Y,l,n,m) represents aerodynamic force / torque i aerodynamic coefficient C i The value when the relevant state / input is 0.
[0169] In this example, the relevant parameters of the system and controller are as follows:
[0170] V=30m / s
[0171]
[0172]
[0173]
[0174] λ=1,μ=2, λ1=λ=1,
[0175]
[0176]
[0177]
[0178]
[0179]
[0180]
[0181]
[0182] In this example, the state response obtained by the controller proposed by the present invention is compared with the conventional sliding mode controller and PID controller. Figure 3As shown, the black solid line represents the attitude error curve obtained by the switching sliding mode controller used in the present invention, the red solid line represents the attitude error curve obtained by the non-switching traditional sliding mode controller, and the dotted line represents the attitude error curve obtained by the PID controller. It can be seen from the figure that the airdrop UAV flight control method based on sliding mode control proposed in the present invention can effectively complete the flight control task during the UAV airdrop process. Compared with the traditional sliding mode controller and PID controller, it has better robustness and control accuracy, and has good engineering application prospects.
Claims
1. A method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control, characterized in that: The method comprises the following steps: Step 1: Determine the relevant parameters of the fixed-wing airdrop UAV (hereinafter referred to as the carrier) and the payload, including: carrier mass, moment of inertia, center of mass position, wing area, wingspan, average aerodynamic chord length, aerodynamic coefficient; the number, mass, and installation position of the payload; Step 2: Based on the parameters obtained in step 1, the kinematic and dynamic equations of the fixed-wing airdrop UAV under different load-carrying conditions are derived; the specific steps are: first, the load is regarded as a mass point and the carrier is regarded as a rigid body, and according to the mass, center of mass position and moment of inertia parameters of the carrier and the load obtained in step 1, the total center of mass, total mass and total moment of inertia of the carrier and the load as a whole (hereinafter referred to as the whole) under different load-carrying conditions are calculated; then, the kinematic equation is established according to the coordinate system transformation relationship, and the dynamic equation is established according to Newton's law and Euler's equation; Step 3: Determine the total external force and torque of the fixed-wing airdrop drone. The specific steps are as follows: Assuming that the change of the drone's aerodynamic shape during the airdrop process can be ignored, calculate the overall aerodynamic force based on the aerodynamic parameters obtained in step 1, and combine it with gravity and engine thrust to calculate the overall total external force. Calculate the overall aerodynamic torque based on the aerodynamic parameters and the offset of the total center of mass, that is, the total external torque of the drone; finally, substitute the obtained total external force and torque of the drone into the dynamics equation to complete the kinematic and dynamic modeling; Step 4: According to the kinematic and dynamic models established in steps 2 and 3, establish the attitude error dynamics model of the fixed-wing airdrop UAV, and model it as a nonlinear affine switching system; the specific steps are: set the expected attitude angle and expected attitude angular velocity, substitute and establish the attitude error dynamics model of the UAV; assume that the change in the speed of the fixed-wing UAV during the delivery process is negligible, and rewrite the attitude error dynamics model of the UAV into a combination of linear switching terms, quadratic terms, and nonlinear perturbation switching terms; Step 5: According to the attitude error dynamics model established in step 4, a switching sliding mode controller with finite time convergence properties is designed, which specifically includes an attitude angle controller and an attitude angular velocity switching controller; the specific steps are: firstly, the attitude angle error is set as the outer loop sliding mode surface, and an attitude angle sliding mode controller with finite time convergence properties is designed; then, on this basis, the attitude angular velocity error is designed as the inner loop sliding mode surface, and an attitude angular velocity switching sliding mode controller with finite time convergence properties is designed, and the control gain is obtained by solving the linear matrix inequality; Step 6: Based on the switching sliding mode controller designed in step 5, prove the stability of the fixed-wing UAV in the airdrop mission, including: proving the finite time convergence property of the UAV in a single mode, analyzing the stability of the fixed-wing UAV in continuous airdrop missions, and determining the minimum airdrop interval time.
2. According to claim 1, a method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control is characterized in that: In step 1, the relevant parameters of the fixed-wing airdrop drone and payload are determined as follows: Assume that a carrier aircraft is equipped with 4 payloads, all of which are set under the wings of the carrier aircraft and symmetrically distributed about the center plane of the drone. In the airdrop mission, the fixed-wing airdrop drone drops a payload at a certain interval (set time) according to the order of payload numbers until the payload is dropped. The coordinate system of the drone is defined as follows: the origin is set at the center of mass of the drone, the x-axis points forward along the nose, the z-axis is in the symmetry plane of the body, perpendicular to the x-axis and pointing downward, and the y-axis, x-axis, and z-axis form a right-handed system; According to the mass and center of mass of the payload and the UAV in the UAV system, determine the UAV's moment of inertia J xx , J yy , J zz , J xz ; The average aerodynamic chord length c and wingspan b of the UAV were measured, and the wing area S was calculated, which are all known parameters; Determine the following UAV aerodynamic parameters: C D0 ,C Dα ,C Dq ,C Dδe C L0 ,C Lα ,C Lq ,C Lδe C m0 ,C mα ,C mq ,C mδe C Y0 ,C Yβ ,C Yp ,C Yr ,C Yδa ,C Yδr C l0 ,C lβ ,C lp ,C lr ,C lδa ,C lδr C n0 ,C nβ ,C np ,C nr ,C nδa ,C nδr The control input of the attitude control of the UAV is selected as the aileron rudder δ a , elevator δ e , rudder δ r .
3. A method for controlling the attitude of a fixed-wing airdrop UAV based on switching sliding mode control according to claim 1 or 2, characterized in that: In step 2, the kinematic and dynamic equations of the fixed-wing airdrop drone under different load conditions are derived, specifically: Calculate the total mass of the drone and the payload under different payload conditions: m i =m b +i·m s (1) Among them, m i Represents the total mass of the UAV and its payload, m b Indicates the mass of the drone, i=0,1,2,3,4 represents the number of payloads; Calculate the center of mass position of the drone and the payload under different load conditions: Among them, x m i ,y m i , z m i The component representing the center of mass of the UAV and the payload as a whole in the coordinate system of the UAV itself, The component representing the installation position of each load in the coordinate system of the drone body; Calculate the moment of inertia of the drone and the payload as a whole under different load conditions: Among them, J xx i , J yy i , J zz i , J xy i , J xz i , J yz i Representing the total moment of inertia and product of inertia of the drone and the payload, it can be expressed in a matrix as: The ground coordinate system is defined as follows: the origin is set as the take-off point of the drone, the x-axis is the north geographic meridian passing through the origin, the z-axis points from the origin perpendicular to the ground to the center of the earth, and the y-axis points to the east; The kinematic equation of the drone is obtained from the conversion relationship between the drone body coordinate system and the ground coordinate system, and the dynamic equation of the drone is obtained from Newton's law and Euler's equation, as follows: Among them, h represents the height of the drone, u, v, w represent the velocity components of the drone in this system, φ, θ, ψ represent the attitude angle of the drone, φ represents the roll angle, θ represents the pitch angle, ψ represents the yaw angle, p, q, r represent the angular velocity components of the drone in this system, V represents the speed of the drone, α, β represent the angle of attack and sideslip angle of the drone, Represents the force on the drone in this system, L i ,M i ,N i is the aerodynamic moment acting on the UAV.
4. According to claim 3, a method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control is characterized in that: In step 3, the total external force and torque acting on the fixed-wing airdrop drone are determined, specifically: According to the force analysis, The specific expression is as follows: Among them, G i =m i g is the overall gravity of the drone, g is the local gravity acceleration, T represents the engine thrust, F L ,F Y ,F D and T are the lift, side force and drag of the UAV respectively. The specific expressions are as follows: ρ is the atmospheric density; During the launch process, the center of mass of the drone as a whole changes. According to the mass point assumption of the payload, the center of pressure of the drone is not affected. Therefore, the aerodynamic moment of the drone will change. The amount of change is related to the position of the center of mass, L i ,M i ,N i The specific expression is: At this point, the kinematic and dynamic modeling of the fixed-wing airdrop UAV has been completed.
5. The method for controlling the attitude of a fixed-wing airdrop UAV based on switching sliding mode control according to claim 4 is characterized in that: In step 4, a switching nonlinear affine form of the UAV attitude error dynamics model is established, specifically: The attitude angle and attitude angular velocity tracking error are defined as: Among them, φ d ,θ d ,ψ d represents the desired attitude angle, p d ,q d ,r d represents the desired attitude angular velocity, Define x1 = [φ,θ,ψ] T ,x2=[p,q,r] T ,x 1d =[φ d ,θ d ,ψ d ] T ,x 2d =[p d ,q d ,r d ] T ,z1=[z φ ,z θ ,z ψ ] T ,z2=[z p ,z q ,z r ] T , assuming that the change in speed can be ignored during the airdrop process, the following error dynamics model of switching nonlinear affine form is established: in, u=[δ a d e d r ] T 。 6. The method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control according to claim 5 is characterized in that: In step 5, a switching sliding mode controller with finite-time convergence properties is designed, specifically: First, the virtual control input x of z1 2d Design and define the sliding surface as: s1=z1 (11) The sliding mode controller with finite time convergence property is designed as follows: where, F1 = diag{f φ , f θ , f ψ}, f φ , f θ , f ψ > 0, K1 = diag{k φ , k θ , k ψ}, k φ , k θ , k ψ > 0, ε1 = diag{ε φ , ε θ , ε ψ}, ε φ , ε θ , ε ψ > 0, sgn(·) is the sign function, sgn γ (·) = [|·1| γ sgn(·1) |·2| γ sgn(·2) |·3| γ sgn(·3)] T , 0 < γ < 1; On this basis, the control input u is designed and the sliding surface is defined as s2=z2 (13) The switching sliding mode controller with finite-time convergence property is designed as follows: in, Obtained by solving the following linear matrix inequality: P i >μP j j=i - , P i is a symmetric positive definite matrix, λ>0,μ>1; K2=diag{k p ,k q ,k r }, meet K2P i >η(λ max (P i )) (1+γ) / 2 ,η>0,λ max (·) represents the maximum eigenvalue of (·); ε2=diag{ε p ,ε q ,ε r }, ε p ,ε q ,ε r >0.
7. The method for controlling the attitude of a fixed-wing airdrop UAV based on switching sliding mode control according to claim 6 is characterized in that: In step 6, the stability of the fixed-wing UAV in the airdrop mission is demonstrated and the minimum airdrop interval is determined, specifically: Firstly, the finite time convergence property of the designed controller in mode i is proved: Construct a Lyapunov function of the form: To derive it, we have Substitute the x designed in step 5 into 2d With u, we get According to F1, K1, ε1, The definition of K2,ε2 gives: For x i ∈R, i=1,2,…n and α∈(0,1], the following inequality holds: Then (18) can be transformed into: where λ1 = min{2f φ , 2f θ , 2f ψ , λ}, and λ2 = min{2 (1+γ) / 2 k φ , 2 (1+γ) / 2 k θ , 2 (1+γ) / 2 k ψ , 2η}; Consider the above nonlinear system, assuming that there exists a continuous differentiable function V(x) that satisfies α1||x|| 2 ≤V(x)≤α2||x|| 2 , where α1, α2∈R, then if there exists λ1, λ2>0, α∈(0,1), then Then the system is finite-time stable, and its convergence time is given by For a Lyapunov function of the form (15), Make α1||z|| 2 <V i (z1,z2)<α2||z|| 2 (20) in According to (19), the convergence time of system (10) satisfies: That is, system (10) can achieve finite time convergence in mode i; Then analyze the stability of the system under continuous delivery, that is, continuous mode switching: For the switching signal i(t), if there are two positive real numbers N0 and τ a , so that Then τ a is called the average residence time, where N i (T, t) represents the number of times the switching signal i(t) is discontinuous in the interval (T, t); For the above switching system (10), if the average dwell time τ a satisfy Then for each switching signal i(t) with an average dwell time, the system (10) is globally exponentially stable; From (19), we can see that the system satisfies: Select any T>0, and consider the function on the interval (0,T] Assume t0 = 0, is the switching time, in the interval [t k ,t k+1 ) From (24), (26) is less than 0; from P i >μP j , can be obtained In i ≤μV j (27) Substituting (27) into (25), we have Transform inequality (28) from k = 0 to k = N i (T,0) and we can get So there is If the switching signal i complies with the average dwell time rule, (30) can be transformed into From (20), we can get That is It can be obtained that system (10) is globally exponentially stable; In summary, let the airdrop interval be τ k , k = 1, 2, 3, the average interval time is τ a , the sufficient condition for the switching system (10) to be stable is or 8. A fixed-wing airdrop UAV attitude control system based on switching sliding mode control, characterized in that: The system has a program module corresponding to the steps of any one of claims 1 to 7 above, and executes the steps in the above-mentioned method for attitude control of a fixed-wing airdrop UAV based on switching sliding mode control when running.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is configured to implement the steps of a fixed-wing airdrop UAV attitude control method based on switching sliding mode control according to any one of claims 1 to 7 when called by a processor.
