A preset performance-oriented six-rotor unmanned aerial vehicle sliding mode disturbance control method and system

By constructing a finite-time disturbance observer and a dynamic sliding mode controller based on the obstacle Lyapunov function, the problem of unconstrained trajectory tracking accuracy and attitude transient error of a hexarotor UAV in complex disturbance environments was solved, achieving high-precision and fast-converging trajectory tracking and attitude control, thus improving the UAV's anti-disturbance capability and flight safety.

CN123177488APending Publication Date: 2026-11-27FUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611306493.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing hexacopter UAVs suffer from poor trajectory tracking accuracy, uncontrollable attitude transient errors, and insufficient anti-disturbance capabilities in complex and disturbed environments, making it difficult to simultaneously achieve tracking accuracy, convergence speed, and robustness.

Method used

A finite-time disturbance observer and a second-order terminal sliding mode controller are used to perform real-time disturbance estimation and compensation for the position subsystem. A dynamic sliding mode controller based on the obstacle Lyapunov function is combined to apply a preset performance boundary constraint to the attitude tracking error. A dual-loop control architecture is constructed to achieve finite-time convergence of the position tracking error and preset performance boundary constraint of the attitude tracking error.

Benefits of technology

It significantly improves the trajectory tracking accuracy and flight safety of UAVs in complex environments, ensures that attitude tracking errors are within preset boundaries, and enhances anti-disturbance capabilities and attitude dynamic performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177488A_ABST
    Figure CN123177488A_ABST
Patent Text Reader

Abstract

The application discloses a kind of six-rotor unmanned aerial vehicle sliding mode anti-interference control methods and systems for preset performance, which comprises: establishing six-rotor unmanned aerial vehicle pose dynamics model considering external disturbance and model uncertainty;For position subsystem, build finite-time disturbance observer, estimate and compensate comprehensive uncertainty in real time, and build second-order terminal sliding mode controller, realize position tracking error finite-time convergence, output position control vector;According to the output of position controller, calculate the desired attitude angle and total thrust of unmanned aerial vehicle;For attitude subsystem, build dynamic sliding mode controller based on barrier lyapunov function, constrain attitude tracking error, output attitude control vector;Total thrust and attitude control vector are distributed to each rotor actuator, and trajectory tracking control is realized.The application can inhibit the adverse effects caused by external disturbance and model parameter perturbation, and improve the trajectory tracking accuracy and flight safety of unmanned aerial vehicle in complex environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of autonomous flight control technology for unmanned aerial vehicles (UAVs), specifically relating to a sliding mode anti-disturbance control method and system for a six-rotor UAV with preset performance. Background Technology

[0002] As an important component of multi-rotor aircraft, hexacopter UAVs are characterized by high structural redundancy, strong payload capacity, excellent hovering performance, and good fault tolerance. In recent years, they have been widely used in logistics transportation, power line inspection, disaster monitoring, environmental mapping, and military reconnaissance. With the continuous expansion of application scenarios, UAVs often need to complete tasks such as high-precision trajectory tracking, fixed-point hovering, and autonomous maneuvering in various complex environments. Therefore, higher requirements are placed on the dynamic performance, tracking accuracy, and anti-disturbance capabilities of their control systems.

[0003] Hexacopter UAVs are essentially typical nonlinear, strongly coupled, and underactuated systems. Their flight dynamics models contain uncertainties, and their input-output coupling is severe. During actual flight, UAVs inevitably suffer from various wind disturbances, which can easily lead to deterioration of control performance and, in severe cases, loss of control and crashes. Therefore, researching UAV trajectory tracking control methods that combine high precision, high robustness, and fast convergence has significant theoretical research value and engineering practical implications.

[0004] Currently, commonly used control methods for trajectory tracking of hexacopter UAVs include PID control, backstepping control, adaptive control, model predictive control, and sliding mode control. PID control has a simple structure and is easy to implement in engineering, but it is sensitive to changes in model parameters and external disturbances, and it is difficult to guarantee high control accuracy under complex operating conditions. Backstepping control can make full use of the system's dynamic characteristics and has good control accuracy, but the design process is complex and highly dependent on an accurate dynamic model. Adaptive control can compensate for system parameter perturbations online, but its ability to compensate for rapid time-varying disturbances is limited. Model predictive control can handle system constraints and has good control effects, but it is highly dependent on the accuracy of the dynamic model and has a large computational cost for online optimization. Sliding mode control has strong robustness and good suppression capabilities for parameter perturbations and external disturbances, and is an important research direction in the field of UAV trajectory tracking.

[0005] When a hexarotor UAV performs high-speed maneuvering and complex trajectory tracking tasks, attitude control not only needs to ensure system stability but also imposes specific requirements on attitude dynamic performance, such as small attitude tracking error overshoot, fast convergence speed, and high steady-state accuracy. Traditional attitude control methods mostly only guarantee asymptotic stability or eventual uniform bounded stability, failing to effectively constrain the dynamic evolution of attitude tracking error. When the UAV is affected by external disturbances or model uncertainties, the attitude tracking error is prone to large transient overshoot, thus affecting the overall flight stability and trajectory tracking performance.

[0006] Existing technologies lack a robust hexarotor UAV control scheme that can simultaneously achieve finite-time disturbance estimation, fast trajectory tracking, and attitude satisfaction of preset performance constraints. It is difficult to simultaneously balance tracking accuracy, convergence speed, and robustness, and flight control accuracy and flight safety under complex disturbance environments need to be further improved. Summary of the Invention

[0007] The purpose of this invention is to overcome the shortcomings of existing technologies and provide a sliding mode disturbance rejection control method and system for hexacopter UAVs with preset performance, solving the technical problems of poor trajectory tracking accuracy, unconstrained attitude transient errors, and insufficient disturbance rejection capability of existing hexacopter UAVs in complex disturbance environments. This invention can simultaneously achieve real-time compensation for external disturbances and model uncertainties, finite-time convergence of position tracking errors, and preset performance boundary constraints for attitude tracking errors, thereby improving the trajectory tracking accuracy and flight safety of UAVs in complex environments.

[0008] To achieve the above objectives, the present invention adopts the following technical solution: a sliding mode disturbance rejection control method for a six-rotor unmanned aerial vehicle (UAV) with preset performance, comprising the following steps:

[0009] S1: Using Newton's second law and Euler's theorem, establish a hexacopter UAV attitude dynamics model that considers external disturbances and model uncertainties. The hexacopter UAV attitude dynamics model includes a mutually coupled position subsystem and attitude subsystem.

[0010] S2: For the position subsystem, a finite-time disturbance observer (FTDO) is constructed to estimate and compensate for the overall uncertainty of the system in real time. A second-order terminal sliding mode controller (SOTSMC) is also constructed. Combined with the disturbance observation output, the position tracking error is converged in finite time, and the position control vector is output.

[0011] S3: Calculate the desired attitude angle and total thrust of the UAV based on the position controller output;

[0012] S4: For the attitude subsystem, a dynamic sliding mode controller BLF-DSMC based on the obstacle Lyapunov function is constructed. A preset performance boundary constraint is applied to the attitude tracking error so that the attitude tracking error is always limited within the preset boundary range. The attitude control vector is output, and each component of the attitude control vector corresponds to the three-axis attitude control torque of the UAV.

[0013] S5: Distributes the total thrust and attitude control vector to each rotor actuator to achieve trajectory tracking control of the six-rotor UAV.

[0014] Further, in step S1, the body coordinate system o-xyz and the ground coordinate system O-XYZ are defined, and the attitude dynamics model of the six-rotor UAV considering external disturbances and model uncertainties is established as follows:

[0015]

[0016] in, For position vectors, For attitude vector, For the mass matrix The estimated value, The rotational inertia matrix The estimated value, For position control vector, This is the attitude control vector. For gravity term The estimated value of (i.e., the gravity vector acting on the drone), Gyroscope coupling term The estimated value of (i.e., the inertial torque generated by multi-axis angular velocity coupling during the attitude motion of the UAV) This represents the overall uncertainty term of the location subsystem. This represents the overall uncertainty term of the attitude subsystem.

[0017] Furthermore, step S2 specifically includes:

[0018] S2-1: Construct a finite-time perturbation observer (FTDO) for the position subsystem and synthesize the uncertainties of the position subsystem. Perform observations and output disturbance estimates. ;

[0019] Define velocity observation error , For the actual speed of the drone, The velocity observation value is used; the calculation equation for the observer is:

[0020]

[0021] in, , , , It is a diagonal gain matrix in sigmoid form; , ; It is a positive definite diagonal constant matrix; For intermediate calculation variables; To introduce a power function with hyperbolic tangent saturation treatment; for Numerical integration is performed to obtain the disturbance estimate. ;

[0022] S2-2: Perturbation estimation combining the output of a finite-time perturbation observer Construct a second-order terminal sliding mode controller (SOTSMC); define the position error. , Given the desired position trajectory vector; design the second-order terminal sliding mode function as follows:

[0023]

[0024] in, , , , It is a positive odd number and ; , It is a positive definite diagonal constant matrix;

[0025] The design position control law is as follows:

[0026]

[0027] in, The following update method is adopted:

[0028]

[0029] in, It is a positive definite diagonal constant matrix. It is a hyperbolic tangent function with a steepness parameter.

[0030] Furthermore, after executing step S2-1, the stability of the finite-time perturbation observer is analyzed using Lyapunov stability theory. Under the condition that its derivative is bounded, the observation error is guaranteed to be consistent and eventually bounded.

[0031] After executing step S2-2, the stability analysis of the second-order terminal sliding mode controller is carried out using Lyapunov stability theory to ensure that the sliding mode variables are consistent and eventually bounded.

[0032] Furthermore, in step S3, given the desired yaw angle... Then the expected roll angle and desired pitch angle for:

[0033]

[0034] In the formula, , , Position control vector The amount;

[0035] Based on the desired roll angle and desired pitch angle Calculate the total thrust as follows:

[0036] .

[0037] Furthermore, step S4 specifically includes:

[0038] Define attitude tracking error , Given the desired attitude vector; construct auxiliary variables. , , , ;in , It is a diagonal positive definite constant matrix; ,constant ; for The initial value;

[0039] Points update item satisfies , It is a hyperbolic tangent function with a steepness parameter;

[0040] Constructing a dynamic sliding mode control law based on a barrier Lyapunov function:

[0041]

[0042] in, It is a positive definite diagonal matrix; , The preset attitude error boundary function satisfies ; The derivative correlation matrix of the boundary functions; for The false rebellion.

[0043] Furthermore, step S4 also includes: constructing a Lyapunov function containing the Lyapunov logarithm of the obstacle, performing attitude closed-loop stability analysis, and ensuring that the attitude tracking error is constrained within a preset boundary. Within this range, the system signals are uniform and eventually bounded.

[0044] Furthermore, in step S5, a virtual control column vector is constructed. , For attitude control vectors Components; Establishing control and allocation relationships ;in Let A be the square vector of rotor speeds, and let A be the control allocation matrix. Solve for the square of each rotor speed, output the motor speed command, and complete the thrust torque allocation.

[0045] Furthermore, the expression for the control allocation matrix A is:

[0046]

[0047] in, The distance from the rotor to the center of mass. The lift coefficient, This is the rotational drag coefficient.

[0048] The present invention also provides a sliding mode anti-disturbance control system for a hexacoach UAV with preset performance, including a memory, a processor, and a computer program stored in the memory and capable of being executed by the processor. When the processor runs the computer program, it can implement the above-mentioned method.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] 1. This invention constructs a finite-time disturbance observer (FTDO), which can estimate the combined disturbance caused by external wind field disturbances and model parameter uncertainties in real time. The disturbance estimate is introduced into the control law for feedforward compensation, significantly improving the anti-interference capability of the position subsystem. The observer uses a sigmoid variable gain combined with a saturated power function, balancing convergence speed and chatter suppression.

[0051] 2. In this invention, the position loop adopts a second-order terminal sliding mode controller (SOTSMC) to achieve finite-time convergence of position tracking error, improve trajectory tracking response speed, and at the same time reduce the inherent chattering problem of sliding mode.

[0052] 3. In this invention, the attitude loop adopts a dynamic sliding mode control strategy based on the obstacle Lyapunov function, and introduces a preset performance boundary constraint. The attitude tracking error is always limited within the preset performance boundary, which effectively suppresses the transient overshoot of the attitude and ensures the transient performance and steady-state accuracy of the attitude response.

[0053] 4. This invention organically combines position loop disturbance observation compensation with attitude loop preset performance constraints. Under complex working conditions with external disturbances and model parameter perturbations, it simultaneously ensures trajectory tracking accuracy, disturbance resistance and attitude dynamic performance, and has high engineering application value. Attached Figure Description

[0054] Figure 1 This is a block diagram illustrating the control principle of a sliding mode disturbance rejection control method for a six-rotor unmanned aerial vehicle (UAV) with preset performance, provided in an embodiment of the present invention.

[0055] Figure 2 This is a simplified diagram of a six-rotor UAV model in an embodiment of the present invention;

[0056] Figure 3 This is a comparison diagram of the three-dimensional trajectory tracking of a six-rotor UAV obtained by the control method proposed in this embodiment of the invention and the control method of comparison.

[0057] Figure 4 This is a comparison chart of the position tracking errors of a six-rotor UAV obtained by the control method proposed in this embodiment and the control method in the control method comparison.

[0058] Figure 5 This is a comparison chart of the attitude tracking errors of a six-rotor UAV obtained by the control method proposed in this embodiment of the invention and the control method in the control method comparison. Detailed Implementation

[0059] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0060] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of this application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.

[0061] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments according to this application. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0062] This embodiment provides a sliding mode disturbance rejection control method for a six-rotor unmanned aerial vehicle (UAV) with preset performance, including the following steps:

[0063] S1: Using Newton's second law and Euler's theorem, establish a hexacopter UAV attitude dynamics model that considers external disturbances and model uncertainties. The hexacopter UAV attitude dynamics model includes a mutually coupled position subsystem and attitude subsystem.

[0064] S2: For the position subsystem, a finite-time disturbance observer (FTDO) is constructed to estimate and compensate for the overall uncertainty of the system in real time. A second-order terminal sliding mode controller (SOTSMC) is also constructed. Combined with the disturbance observation output, the position tracking error is converged in finite time, and the position control vector is output.

[0065] S3: Calculate the desired attitude angle and total thrust of the UAV based on the position controller output;

[0066] S4: For the attitude subsystem, a dynamic sliding mode controller BLF-DSMC based on the obstacle Lyapunov function is constructed. A preset performance boundary constraint is applied to the attitude tracking error so that the attitude tracking error is always limited within the preset boundary range. The attitude control vector is output, and each component of the attitude control vector corresponds to the three-axis attitude control torque of the UAV.

[0067] S5: Distributes the total thrust and attitude control vector to each rotor actuator to achieve trajectory tracking control of the six-rotor UAV.

[0068] The overall control principle of this control method is as follows: Figure 1 As shown, the entire control architecture is a dual-loop control system, consisting of an outer position loop and an inner attitude loop. First, the desired trajectory and desired yaw angle are input. The position loop controller outputs a position control vector, which is used to calculate the desired attitude angle and total thrust. The attitude loop controller receives the desired attitude and outputs attitude control torque. The control distribution module converts the total thrust and torque into speed commands for the six rotor motors, driving the UAV in flight. The UAV's sensors collect the actual position and attitude status and transmit it back to the controller, forming a closed loop.

[0069] The following section provides a further explanation of the relevant technical aspects involved in this method.

[0070] Step S1: Establish a pose dynamics model of a hexacopter UAV

[0071] In this embodiment, step S1 involves establishing a hexacopter UAV attitude dynamics model that considers external disturbances and model uncertainties. This model is used to describe the position and attitude motion characteristics of the hexacopter UAV during flight.

[0072] First, define the body coordinate system of the hexacopter UAV. and ground coordinate system In such Figure 2 In the hexacopter unmanned aerial vehicle system model shown, the body coordinate system With the center of mass position of the drone With the origin of the coordinate system, the positive y-axis represents the forward motion direction of the UAV, and the positive x-axis is perpendicular to the y-axis and points to the right side of the UAV; Ground coordinate system This serves as the system's inertial reference coordinate system. Assume the UAV's center of mass... The position coordinates in the inertial reference frame are: According to Newton's second law and Euler's theorem, the attitude dynamics model of a six-rotor UAV can be reorganized into the following matrix form:

[0073]

[0074] in, , For the quality of the drone; , , , These are the moments of inertia of the UAV about the x, y, and z axes, respectively. Let x be the position vector of the system, and let x, y, and z be the position coordinates of the system's centroid along each axis, respectively. Let be the system's attitude vector. , , These are the pitch angle, roll angle, and yaw angle of the drone, respectively. , ; This is the system's position control vector. , , These are the position control forces along the x, y, and z axes, respectively; and , , ; Let be the system's attitude control vector. , , These are the attitude control torques for the UAV's pitch, roll, and yaw angles, respectively. The expression is:

[0075]

[0076] in, This represents the distance from each rotor to the center of mass of the drone; , Let be the lift and torsional moment generated by the i-th rotor, respectively, which can be expressed as:

[0077]

[0078] in, The lift coefficient, The rotational drag coefficient is... Let be the rotational speed of the i-th rotor.

[0079] Considering the impact of external disturbances on the drone, a position external disturbance term is introduced. and attitude external disturbance terms ;in, , , These represent the positional disturbances experienced by the system along the x, y, and z axes, respectively. , , These represent the attitude disturbances experienced by the system in the pitch, roll, and yaw directions, respectively. Therefore, the system's attitude dynamics model can be rewritten as:

[0080]

[0081] Furthermore, considering the uncertainties in the mass and moment of inertia of the drone, using , They represent , The estimated value; then the above formula can be rearranged as:

[0082]

[0083] in, , , respectively , The estimated value; , These are the combined uncertainties of the position and attitude subsystems, respectively. , , , They are respectively , , , The difference between the actual value and the estimated value.

[0084] Step S2: Finite-time perturbation observer + second-order terminal sliding mode controller

[0085] In this embodiment, the specific implementation process of step S2 is as follows:

[0086] S2.1: Design a finite-time perturbation observer for the position subsystem.

[0087] Define intermediate auxiliary variables for:

[0088]

[0089] in, for Approximation value; for The One element; To introduce a column vector of power functions with hyperbolic tangent saturation treatment, its expression is: , Steepness; , Both are gain diagonal matrices in Sigmoid form, and their expressions are as follows: , ; , These are gain amplitude parameters, used to adjust... , The overall output magnitude of the function; , These are slope parameters, used to adjust... , The speed at which a function responds to changes in the absolute value of an input variable; The input threshold parameter is used to determine the characteristic input range where the nonlinear gain function undergoes significant changes; and , , , All are positive real numbers; , ; for The output of the finite-time perturbation observer is observed in the following way:

[0090]

[0091] in, It is a positive definite, diagonal constant matrix; , for The One element, To introduce a column vector of power functions with hyperbolic tangent saturation treatment, and ; and Both are gain diagonal matrices in Sigmoid form, and their expressions are as follows: , ; For steepness, , For gain amplitude parameters, , For the slope parameter, The input threshold parameter; and , , , All are positive real numbers. , ; This is the hyperbolic tangent function term.

[0092] Summarizing the above results, we can obtain:

[0093]

[0094] right Taking the first derivative, we get:

[0095]

[0096] S2.2: The stability of the observer is analyzed using Lyapunov stability theory.

[0097] Define Lyapunov functions as follows:

[0098]

[0099] Assumption and Bounded, that is , , For the estimable upper bound; Taking the first derivative yields

[0100]

[0101] in, , for The smallest eigenvalue.

[0102] because If this holds true, then:

[0103]

[0104] Obviously, when When selected to be large enough, The observation error of the observer will remain consistent and eventually become bounded.

[0105] S2.3: Design a position tracking control method based on second-order terminal sliding mode by combining a finite-time disturbance observer.

[0106] Define the system's position error signal as:

[0107]

[0108] in, Let the desired trajectory vector of the UAV be its position. for The Each element.

[0109] Design a second-order terminal sliding mode function of the following form:

[0110]

[0111] in, , Let be the power term used to adjust the convergence characteristics of the system error, and , ; , The default positive odd exponent parameter is , and ; It is a diagonal, positive definite constant matrix. for The One element; It is a nonlinear gain matrix, and ; , , , They are respectively , The One element; for The Each element.

[0112] Design the following control law:

[0113]

[0114] in, The following update method is adopted:

[0115]

[0116] in, It is a diagonal, positive definite constant matrix. For hyperbolic tangent function terms, It is steep.

[0117] Substituting the above control law into the position dynamics model of the UAV, we can obtain:

[0118]

[0119] S2.4: Perform stability analysis on the control method using Lyapunov stability theory.

[0120] Define Lyapunov functions as follows:

[0121]

[0122] right Taking the first derivative, we get:

[0123]

[0124] Depend on We can obtain, , Further, we obtained:

[0125]

[0126] in, for The smallest eigenvalue, .

[0127] like If we choose a sufficiently large value, then It will approach 1; obviously, when hour, Conversely, the system tracking error will remain consistent and eventually become bounded.

[0128] Step S3: Desired Attitude and Total Thrust Calculation

[0129] In this embodiment, the specific implementation process of step S3 is as follows:

[0130] If defined For the desired yaw angle of a hexarotor UAV, the desired roll angle is... and pitch angle They can be represented as:

[0131]

[0132] Furthermore, based on the desired roll and pitch angles, the total thrust can be calculated as follows:

[0133]

[0134] Step S4: Dynamic sliding mode attitude controller BLF-DSMC based on obstacle Lyapunov function

[0135] In this embodiment, the specific implementation process of step S4 is as follows:

[0136] S4.1: Design an attitude tracking control method based on the Lyapunov obstacle function and satisfying preset performance.

[0137] Define the attitude tracking error signal as:

[0138]

[0139] in, Let be the desired attitude vector of the UAV. for The Each element.

[0140] Define the following auxiliary control variables:

[0141]

[0142]

[0143]

[0144]

[0145] in, , It is a diagonal, positive definite constant matrix; In order to keep pace with time The relevant exponential decay matrix, where e is the natural constant, It is a positive attenuation coefficient; for The initial value; for The One element; Update using the following method:

[0146]

[0147] in, For hyperbolic tangent function terms, It is steep.

[0148] The dynamic sliding mode control method for attitude tracking of a six-rotor UAV can be designed as follows:

[0149]

[0150] in, , All are diagonal matrices of control gain, and , , for The false reversal; The preset attitude tracking error boundary function is, i.e. ; It is a diagonal, positive definite constant matrix.

[0151] S4.2: The stability of the attitude control method is analyzed using Lyapunov stability theory.

[0152] Define Lyapunov functions as follows:

[0153]

[0154] right Taking the first derivative, we get:

[0155]

[0156] make , We can obtain:

[0157]

[0158] Assumption , , All have supremum, that is , , Then we have:

[0159]

[0160] in, , , , They are respectively , , and The smallest eigenvalue; for The largest eigenvalue.

[0161] Depend on We can obtain, Furthermore, we obtain:

[0162]

[0163] in, .

[0164] when , When the chosen term is sufficiently large, the first two terms on the right-hand side of the above inequality will both be less than zero. For the third term on the right-hand side of the inequality, when... When selected to be large enough, It will approach 1, obviously, when hour, Conversely, the system attitude tracking error will remain consistent and eventually become bounded.

[0165] Step S5: Rotor Control Assignment

[0166] In this embodiment, the specific implementation process of step S5 is as follows:

[0167] Using the solution obtained in step S3 and the results obtained in step S4 The virtual control column vector of the hexacopter unmanned aerial vehicle system is defined as follows:

[0168]

[0169] At the same time, by combining the dynamic characteristics of the hexacopter UAV, virtual control variables can be... The relationship between the rotational speeds of the various rotors of the UAV can be described as follows:

[0170]

[0171] in, This is a column vector composed of the squares of the rotational speeds of each rotor. The specific expression for the control allocation matrix is ​​as follows:

[0172]

[0173] Finally, based on the obtained rotational speed column vector... By generating target speed commands for each motor, the total thrust and control torque can be distributed to the six rotors, driving the UAV to complete the corresponding flight maneuvers and achieving precise control over the UAV's attitude and position. Specific Implementation

[0174] This embodiment uses the control method described above to perform trajectory tracking simulation control on a six-rotor unmanned aerial vehicle system. The overall control principle is as follows: Figure 2 As shown in Table 1, the parameters of the UAV used in the simulation are as follows.

[0175] Table 1 System parameters of the hexacopter UAV

[0176]

[0177] In the simulation, the estimated values ​​of the UAV's mass and various moments of inertia are assumed to be as follows: , , , The external disturbances experienced by the UAV's position and attitude subsystems are respectively defined as:

[0178] ,

[0179] The desired trajectory and desired yaw angle that the UAV intends to track are as follows:

[0180] ,

[0181] During simulation, the initial state of the system is assumed to be:

[0182] ,

[0183] ,

[0184] The boundary function for attitude tracking error is set as follows:

[0185]

[0186] The control parameters in the proposed control method are set as follows:

[0187] , , , , , , , ,

[0188] , , , , , ,

[0189] , , , , ,

[0190] , , ,

[0191] To verify the effectiveness of the control method proposed in this invention, this embodiment will conduct trajectory tracking simulation tests on a six-rotor UAV using both the sliding mode disturbance rejection control method (PROMETHOD) oriented towards preset performance and the control method without disturbance observation and attitude preset performance constraints (SOTSMC+DSMC). The simulation control results are as follows: Figure 3-5 As shown. By Figure 3 , Figure 4 It is evident that under the SOTSMC+DSMC control scheme, the position error during the UAV tracking process fluctuates significantly. The proposed control method effectively compensates for the negative impacts of model uncertainties and external disturbances on the system, enabling the hexacopter UAV to accurately track the desired three-dimensional spatial trajectory and ensuring that the tracking error in each axis remains within a small range. Figure 5It can be seen that under the SOTSMC+DSMC control scheme, the initial response speed of the UAV at each attitude angle is slow and exceeds the preset error range; while the proposed control method can enable the hexarotor UAV to quickly track the desired attitude angle, and the angle tracking error can always be kept within the preset performance range; the simulation results confirm the effectiveness of the proposed control method.

[0192] This embodiment also provides a sliding mode anti-disturbance control system for a six-rotor UAV with preset performance, including a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor runs the computer program, it can implement the above-described method.

[0193] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which implements the above-described method when executed by a processor.

[0194] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0195] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0196] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0197] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0198] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A sliding mode disturbance rejection control method for a six-rotor unmanned aerial vehicle (UAV) with preset performance, characterized in that, Includes the following steps: S1: Using Newton's second law and Euler's theorem, establish a hexacopter UAV attitude dynamics model that considers external disturbances and model uncertainties. The hexacopter UAV attitude dynamics model includes a mutually coupled position subsystem and attitude subsystem. S2: For the position subsystem, a finite-time disturbance observer (FTDO) is constructed to estimate and compensate for the overall uncertainty of the system in real time. A second-order terminal sliding mode controller (SOTSMC) is also constructed. Combined with the disturbance observation output, the position tracking error is converged in finite time, and the position control vector is output. S3: Calculate the desired attitude angle and total thrust of the UAV based on the position controller output; S4: For the attitude subsystem, a dynamic sliding mode controller BLF-DSMC based on the obstacle Lyapunov function is constructed. A preset performance boundary constraint is applied to the attitude tracking error so that the attitude tracking error is always limited within the preset boundary range. The attitude control vector is output, and each component of the attitude control vector corresponds to the three-axis attitude control torque of the UAV. S5: Distributes the total thrust and attitude control vector to each rotor actuator to achieve trajectory tracking control of the six-rotor UAV.

2. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 1, characterized in that, In step S1, the body coordinate system o-xyz and the ground coordinate system O-XYZ are defined, and the attitude dynamics model of the six-rotor UAV considering external disturbances and model uncertainties is established as follows: in, For position vectors, For the attitude vector, For the mass matrix The estimated value, The rotational inertia matrix The estimated value, For position control vector, This is the attitude control vector. For gravity term The estimated value, Gyroscope coupling term The estimated value, This represents the overall uncertainty term of the location subsystem. This represents the overall uncertainty term of the attitude subsystem.

3. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 1, characterized in that, Step S2 specifically includes: S2-1: Construct a finite-time perturbation observer (FTDO) for the position subsystem and synthesize the uncertainties of the position subsystem. Perform observations and output disturbance estimates. ; Define velocity observation error , For the actual speed of the drone, The velocity observation value is used; the calculation equation for the observer is: in, , , , It is a diagonal gain matrix in sigmoid form; , ; It is a positive definite diagonal constant matrix; For intermediate calculation variables; To introduce a power function with hyperbolic tangent saturation treatment; for Numerical integration is performed to obtain the disturbance estimate. ; S2-2: Perturbation estimation combining the output of a finite-time perturbation observer Construct a second-order terminal sliding mode controller (SOTSMC); define the position error. , Given the desired position trajectory vector; design the second-order terminal sliding mode function as follows: in, , , , It is a positive odd number and ; , It is a positive definite diagonal constant matrix; The design position control law is as follows: in, The following update method will be used: in, It is a positive definite diagonal constant matrix. It is a hyperbolic tangent function with a steepness parameter.

4. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 3, characterized in that, After performing step S2-1, the stability of the finite-time perturbation observer is analyzed using Lyapunov stability theory. Under the condition that its derivative is bounded, the observation error is guaranteed to be consistent and eventually bounded. After executing step S2-2, the stability analysis of the second-order terminal sliding mode controller is carried out using Lyapunov stability theory to ensure that the sliding mode variables are consistent and eventually bounded.

5. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 1, characterized in that, In step S3, the desired yaw angle is given. Then the expected roll angle and desired pitch angle for: In the formula, , , Position control vector The amount; Based on the desired roll angle and desired pitch angle Calculate the total thrust as follows: 。 6. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 1, characterized in that, Step S4 specifically includes: Define attitude tracking error , Given the desired attitude vector; construct auxiliary variables. , , , ;in , It is a diagonal positive definite constant matrix; ,constant ; for The initial value; Points update item satisfies , It is a hyperbolic tangent function with a steepness parameter; Constructing a dynamic sliding mode control law based on a barrier Lyapunov function: in, It is a positive definite diagonal matrix; , The preset attitude error boundary function satisfies ; The derivative correlation matrix of the boundary functions; for The false rebellion.

7. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 6, characterized in that, Step S4 further includes: constructing a Lyapunov function containing the Lyapunov logarithm of the obstacle, performing attitude closed-loop stability analysis, and ensuring that the attitude tracking error is constrained within a preset boundary. Within this range, the system signals are consistent and eventually bounded.

8. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 1, characterized in that, In step S5, a virtual control column vector is constructed. , For attitude control vector Components; Establishing control and allocation relationships ;in Let A be the square vector of rotor speeds, and let A be the control allocation matrix. Solve for the square of each rotor speed, output the motor speed command, and complete the thrust torque allocation.

9. The sliding mode disturbance rejection control method for a six-rotor UAV oriented towards preset performance as described in claim 8, characterized in that, The expression for the control allocation matrix A is: in, The distance from the rotor to the center of mass. The lift coefficient, This is the rotational drag coefficient.

10. A sliding mode disturbance rejection control system for a hexacopter unmanned aerial vehicle (UAV) with preset performance characteristics, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable by the processor, which, when executed by the processor, enables the implementation of the method as described in any one of claims 1-9.