Methods for attitude control of quadrotor unmanned aerial vehicle (UAV)

12498735 ยท 2025-12-16

Assignee

Inventors

Cpc classification

International classification

Abstract

The present disclosure discloses a method for attitude control of a quadrotor UAV, comprising establishing an attitude dynamics model of the quadrotor UAV, establishing a motion equation and a state-space equation of a UAV control system, determining an LADRC-CFO, and establishing a differential tracker for reducing a system overshoot.

Claims

1. A method for attitude control of a quadrotor unmanned aerial vehicle (UAV), wherein the method is performed by a UAV control system; the UAV control system includes a UAV body, a plurality of sensors disposed on the quadrotor UAV, a processing device, and a controller; the method comprising: S1, establishing an attitude dynamics model of the quadrotor UAV; S2, establishing a motion equation and a state-space equation of the UAV control system, and determining a linear active disturbance rejection controller with a compensation function observer (LADRC-CFO); S3, establishing a differential tracker for reducing a system overshoot; S4, after obtaining an actual control input u, which is an output value u.sub.0 of a PD controller compensated for disturbance through the LADRC-CFO and the differential tracker, obtaining a motor speed parameter using the attitude dynamics model of the quadrotor UAV based on expected attitude of the quadrotor UAV and an distribution of motors; S5, generating an adjustment instruction for a motor speed based on the motor speed parameter to adjust a motor speed of the quadrotor UAV, wherein the adjustment instruction includes an electronic speed controller (ESC) signal to drive mechanical rotation of a motor; the method further comprising: obtaining attitude data based on an attitude sensor, the attitude sensor including at least one of a gyroscope and an accelerometer; obtaining an actual system overshoot based on the attitude data; in response to determining that the actual system overshoot does not satisfy a steady state condition, obtaining candidate control parameters, the candidate control parameters including a candidate first parameter and a candidate second parameter; determining, based on the candidate control parameters, environmental monitoring data, and flight mission information, a control score for each of the candidate control parameters through a control prediction model; wherein the control prediction model is a trained machine learning model, an input of the control prediction model includes the candidate control parameters, the environmental monitoring data, and the flight mission information, an output of the control prediction model includes the control score for the each of the candidate control parameters, the control prediction model is obtained by training based on a training sample set, the training sample set includes a plurality of sets of training samples and labels corresponding the training samples, each set of the plurality of sets of training samples includes sample candidate control parameters, sample environmental monitoring data, and sample flight mission information, each of the labels corresponding the training samples is an actual control score corresponding to one set of the plurality of sets of training samples, and the training based on the training sample set includes: determining a value of a loss function based on a difference between an output of an initial model and the labels corresponding the training samples, and updating parameters of the initial model iteratively based on the value of the loss function until a training termination condition is met, and determining an updated initial model as the control prediction model; obtaining a target first model parameter and a target second model parameter by updating a first model parameter and a second model parameter based on the control score; wherein the first model parameter includes a gain L.sub.1 and a gain L.sub.2 of CFO, and controller parameters k.sub.p and k.sub.d of the PD controller, and the second model parameter includes a speed factor g and a sampling period T; wherein the updating the first model parameter and the second model parameter based on the control score includes: determining the first model parameter and the second model parameter included in the candidate control parameters with a highest control score as an updated first model parameter and an updated second model parameter; determining a flight influence factor based on the sample environmental monitoring data and the sample flight mission information; determining a preset count threshold based on the flight influence factor; and in response to determining that a count of consecutive updates of the first model parameter and the second model parameter is greater than the preset count threshold, generating a flight termination instruction and transmitting the flight termination instruction to the motor to execute a grounding operation of the quadrotor UAV; where in the S1, the attitude dynamics model of the quadrotor UAV is expressed as: [ U 1 U 2 U 3 U 4 ] = [ C T .Math. i = 1 4 i 2 C T ( 1 2 + 4 2 - 2 2 - 3 2 C T ( 3 2 + 4 2 - 1 2 - 2 2 C M ( 2 2 + 4 2 - 3 2 - 1 2 ] ( 1 ) where C.sub.T is a lift coefficient, C.sub.M is a drag coefficient, U.sub.1 is a total lift T from a propeller driven by the motor, and U.sub.2, U.sub.3 and U.sub.4 are torques of an x-axis, a y-axis, and a z-axis; .sub.i.sup.2 is a motor speed of each motor, i=1, 2, 3, 4; according to Newton-Euler Equations, the attitude dynamics model of the quadrotor UAV is expressed as: { .Math. = . . I y - I z I x + lC T U 2 I x - k x . I x - I R I x . ( - 1 - 2 + 3 + 4 ) .Math. = . . I z - I x I y + lC T U 3 I y - k y . I y - I R I y . ( - 1 - 2 + 3 + 4 ) .Math. = . . I x - I y I z + lC T U 4 I z - k z . I z ( 2 ) where l is a distance from a body center of mass to a motor rotor, I.sub.R is a combined inertia torque of the motor rotor and the motor, k=[k.sub.x,k.sub.y,k.sub.z].sup.T is a aerodynamic drag coefficient, and , , are a roll angle, a pitch angle, and a yaw angle, respectively, {dot over ()}, {dot over ()}, {dot over ()} are angular velocities of a body frame about the x-axis, the y-axis, and the z-axis, respectively, {umlaut over ()}, {umlaut over ()}, {umlaut over ()} are angular accelerations of the body frame about the x-axis, the y-axis, and the z-axis, respectively, I.sub.x, I.sub.y, I.sub.z are moments of inertia about an xx-axis, a yy-axis, and a zz-axis of the body frame, respectively; categorizing strong coupling effects as internal disturbances x.sub.i,=1, 2, 3; the attitude dynamics model is expressed as: { .Math. = lC T U 2 I x - k x . I x + x 1 .Math. = lC T U 3 I y - k y . I y + x 2 .Math. = lC T U 4 I z - k z . I z + x 2 ( 3 ) where , { x 1 = I R I x . ( - 1 - 2 + 3 + 4 ) - . . I y - I z I x x 2 = I R I x . ( - 1 - 2 + 3 + 4 ) - . . I y - I z I x x 3 = . . I y - I x I z ( 31 ) modifying the attitude dynamics model as follows based on external disturbances: { .Math. = lC T U 2 I x - k x . I x + f 1 .Math. = lC T U 3 I y - k y . I y + f 2 .Math. = lC T U 4 I z - k z . I z + f 3 ( 4 ) where .sub.i=.sub.i+d.sub.i, (i=1,2,3), and d.sub.i are unknown or unmeasurable disturbances; in the S2, an attitude dynamics equation of the quadrotor UAV is expressed as follows based on Equation (4):
=a{dot over (y)}+bu+d(5) where y is denoted as an output of a system, u is an input of the system, d is denoted as the unknown or unmeasurable disturbances of the system, a is denoted as a parameter of the system, and b is a control gain of a second order control system; by treating a{dot over (y)}+d as a total disturbance of the system, Equation (5) is expressed as:
=bu+(6) let x.sub.1=y, x.sub.2={dot over (y)}, the attitude dynamics equation of the system is expressed as follows based on Equation (6): { x . 1 = x 2 x . 2 = bu + f ( 7 ) the compensation function observer adopting a compensation function in a derivative form is configured to address a non-derivative form limitation of a linear extended state observer, according to Equation (7): { z . 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + bu f ^ = z . 2 - bu = L 1 e 1 + L 2 e 2 ( 8 ) where e.sub.1=x.sub.1z.sub.1, e.sub.2=x.sub.2z.sub.2; z.sub.1, z.sub.2, and are estimates of x.sub.1, x.sub.2, and , respectively; L.sub.1 and L.sub.2 are gains of the compensation function observer; let Equation (7) subtract Equation (8) to obtain: { e . 1 = e 2 e . 2 = - ( L 1 e 1 + L 2 e 2 ) + f ( 9 ) according to Equation (9), a pure differential relationship between e.sub.1 and e.sub.2 is established and an estimation error (e.sub.1,e.sub.2) is related to the total disturbance , a compensation function {tilde over ()} is introduced for mitigating an effect of the total disturbance on the estimation error: { z . 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + f ~ + bu f ^ = L 1 e 1 + L 2 e 2 + f ~ ( 10 ) by subtracting Equation (10) from Equation (7), an observation error with the compensation function {tilde over ()} is obtained: { e . 1 = e 2 e . 2 = - ( L 2 e 1 + L 2 e 2 ) + ( f - f ~ ) ( 11 ) in response to determining that the compensation function {tilde over ()} approaches the total disturbance , the estimation error is significantly decreased; coupling two variables using a low-pass filter to obtain: f ~ = s + f ^ ( 12 ) where =2.sub.c, and .sub.c denotes a cutoff frequency of the low-pass filter; thus, the compensation function observer is expressed as: { z . 1 = z 2 z . 2 = L 1 e 1 = L 2 e 2 + f ~ + bu f ^ = L 1 e 1 + L 2 e 2 + f ~ f ~ = s + f ^ ( 13 ) let z.sub.3={tilde over ()}, simplifying Equation (13) to: { z . 1 = z 2 z . 2 = L 1 e 1 = L 2 e 2 + z 3 + bu z . 3 = ( L 1 e 1 + L 2 e 2 ) f ^ = L 1 e 1 + L 2 e 2 + z 3 ( 14 ) wherein {circumflex over ()} denotes a compensated disturbance estimate; a characteristic equation of the compensation function observer is derived as follows based on Equation (14):
s.sup.3+L.sub.1s.sup.2+(L.sub.1+L.sub.2)s+L.sub.2=0(15).

2. The method of claim 1, wherein from Equation (15), the compensation function observer is stable when all roots of the characteristic equation lie in a left half plane, and a control quantity u is designed as follows based on the compensation function observer and the PD controller: { u 0 = k p ( u d - z 1 ) - k d ( u . d - z 2 ) + u .Math. d u = u 0 - f ^ b ( 16 ) wherein u.sub.d is an expected input, and k.sub.p, and k.sub.d are controller parameters of the PD controller.

3. The method of claim 1, further comprising: in response to determining that a real-time system overshoot and a flight speed of the quadrotor UAV satisfy a speed adjustment condition, determining a speed adjustment instruction and sending the speed adjustment instruction to the motor to adjust an operation parameter of the motor, wherein the operation parameter includes the motor speed parameter; the speed adjustment condition refers to a condition that requires adjusting the flight speed of the quadrotor UAV, including at least one of the following: the flight speed of the quadrotor UAV being greater than a first speed threshold, and the real-time system overshoot being greater than a second overshoot threshold; wherein the first speed threshold is determined based on the flight influence factor.

4. The method of claim 1, wherein a training of the control prediction model is a phased training, wherein the phased training includes a first training phase, a second training phase, and a third training phase, a training sample set corresponding to the first training phase, a training sample set corresponding to the second training phase, and a training sample set corresponding to the third training phase are different from each other, and the phased training is related to a mission difficulty corresponding to a sample flight mission, and the mission difficulty corresponding to a flight mission reflects a degree of difficulty in completing the flight mission.

5. The method of claim 4, further comprising: obtaining a plurality of historical flight missions; grouping the plurality of historical flight missions to obtain a low difficulty mission group, a medium difficulty mission group, and a high difficulty mission group; constructing a first training sample set for the first training phase, a second training sample set for the second training phase, and a third training sample set for the third training phase based on historical data of the low difficulty mission group, the medium difficulty mission group, and the high difficulty mission group, respectively, and performing an iterative training based on the first training sample set, the second training sample set, and the third training sample set in turn.

6. The method of claim 5, further comprising: setting a first learning rate, a second learning rate, and a third learning rate corresponding to the first training phase, the second training phase, and the third training phase, respectively, wherein the first learning rate, the second learning rate, and the third learning rate increase in sequence.

7. The method of claim 6, wherein the phased training further includes: in the first training phase, training an initial control prediction model based on the first training sample set to obtain a first control prediction model; in the second training phase, training the first control prediction model obtained in the first training phase based on the second training sample set to obtain a second control prediction model; and in the third training phase, training the second control prediction model obtained in the second training phase based on the third training sample set to obtain a trained control prediction model.

8. The method of claim 1, wherein the updating the first model parameter and the second model parameter includes: updating the gain L.sub.1 of the CFO in the first model parameter to adjust a tracking speed of the CFO for a disturbance error; updating the gain L.sub.2 of the CFO in the first model parameter to adjust a dynamic response capability of the CFO for the compensated disturbance estimate; updating the controller parameter k.sub.p to adjust a response speed to an attitude error; updating the controller parameter k.sub.d to adjust a variation rate of the attitude error; and updating the speed factor g and the sampling period T in the second model parameter to optimize the differential tracker.

9. The method of claim 1, further comprising: in response to determining that the count of consecutive updates of the first model parameter and the second model parameter is greater than the preset count threshold, issuing a warning and instructing the quadrotor UAV to fly to a nearest maintenance point.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a flowchart illustrating an exemplary method for attitude control of a quadrotor UAV according to some embodiments of the present disclosure.

DETAILED DESCRIPTION

(2) In order to make the purpose and the advantages of the present disclosure clearer and more understandable, the present disclosure is hereinafter specifically described with reference to embodiments. It should be understood that the following text is only for describing one or more specific embodiments of the present disclosure, and is not intended to strictly limit the scope of protection of the specific claims of the present disclosure.

(3) It is understood that the terms system, unit, module, and/or block used herein are a way to distinguish between different components, elements, sections, parts, or assemblies at different levels in an ascending order. However, the terms may be replaced by other expressions if other words accomplish the same purpose.

(4) FIG. 1 is a flowchart illustrating an exemplary method for attitude control of a quadrotor UAV according to some embodiments of the present disclosure. In some embodiments, as shown in FIG. 1, the method for attitude control of the quadrotor UAV may be performed by a UAV control system. It should be noted that the UAV control system includes physical components and/or software systems related to the UAV. For example, the UAV control system includes a UAV body, various sensors disposed on the UAV, a processing device and/or a controller configured to implement the method described by the embodiments of the present disclosure, etc. A process 100 may include following operations.

(5) S1: establishing an attitude dynamics model of a quadrotor UAV.

(6) The attitude dynamics model refers to a mathematical model that describes a relationship between an attitude and dynamics of the quadrotor UAV. Power is supplied by a motor (e.g., motor thrust) of the quadrotor UAV (hereinafter referred to as the UAV). The attitude of the UAV may include flight attitudes such as a roll attitude, a pitch attitude, a yaw attitude, etc.

(7) The roll attitude is configured to describe an attitude of the UAV rotating around an x-axis of a body frame to achieve left-right tilting. The pitch attitude is configured to describe an attitude of the UAV rotating around a y-axis of the body frame to achieve a nose-up/nose-down attitude. The yaw attitude is configured to describe an attitude of the UAV rotating around a z-axis of the body frame to achieve a heading direction variation.

(8) The attitude of the UAV may be described by an attitude angle (e.g., a roll angle, a pitch angle, and a yaw angle), an angular velocity (e.g., a roll angular velocity, a pitch angular velocity, and a yaw angular velocity), and an angular acceleration (e.g., a roll angular acceleration, a pitch angular acceleration, and a yaw angular acceleration).

(9) In some embodiments, the attitude of the quadrotor UAV is maintained primarily by motor speeds of four motors, and the attitude dynamics model of the UAV is expressed as:

(10) [ U 1 U 2 U 3 U 4 ] = [ C T .Math. i 4 i 2 C T ( 1 2 + 4 2 - 2 2 - 3 2 C T ( 3 2 + 4 2 - 1 2 - 3 2 C M ( 2 2 + 4 2 - 3 2 - 1 2 ] ( 1 ) where C.sub.T is a lift coefficient, C.sub.M is a drag coefficient, U.sub.1 is a total lift T from a propeller driven by the motor, and U.sub.2, U.sub.3 and U.sub.4 are torques of an x-axis, a y-axis, and a z-axis, respectively; .sub.i.sup.2 is the motor speed of each motor, i=1, 2, 3, 4.

(11) According to Newton-Euler Equations, the attitude dynamics model of the quadrotor UAV is expressed as:

(12) { .Math. = I y - I z I x + l C T U 2 I x - k x . I x - I R I x ( - 1 - 2 + 3 + 4 ) .Math. = I z - I x I y + l C T U 3 I y - k y . I y - I R I y ( - 1 - 2 + 3 + 4 ) .Math. = I x - I y I z + l C T U 4 I z - k z . I z ( 2 ) where l is a distance from a body center of mass to a motor rotor, I.sub.R is a combined inertia torque of the motor rotor and the motor, k=[k.sub.x,k.sub.y,k.sub.z].sup.T is a aerodynamic drag coefficient, and k.sub.x, k.sub.y, and k.sub.z denote the aerodynamic drag coefficients of the UAV rotating around the x-axis (roll), the y-axis (pitch), and the z-axis (yaw), respectively. , , are the roll angle, the pitch angle, and the yaw angle, respectively, {dot over ()}, {dot over ()}, and {dot over ()} are the angular velocities of the body frame about the x-axis, the y-axis, and the z-axis, respectively, {umlaut over ()}, {umlaut over ()}, {umlaut over ()} are the angular accelerations of the body frame about the x-axis, the y-axis, and the z-axis, respectively, and I.sub.x, I.sub.y, I.sub.z are moments of inertia about an xx-axis, a yy-axis, and a zz-axis of the body frame, respectively.

(13) In some embodiments, the UAV control system may also establish the attitude dynamics model based on environmental monitoring data and a parameter of the quadrotor UAV.

(14) The environmental monitoring data refers to various environmental information in a UAV flight environment, which includes data such as a temperature, a barometric pressure, a humidity, a wind speed, an altitude, etc. The environmental monitoring data may be obtained by various sensors (e.g., a temperature sensor, a barometric pressure sensor, etc.).

(15) The parameter of the quadrotor UAV includes an intrinsic parameter of the quadrotor UAV, such as a size (e.g., a length, and a thickness), a weight, a material, or the like, of the UAV, which may be determined based on an actual condition (e.g. factory configuration information) of the UAV.

(16) In some embodiments, the UAV control system may adjust the aerodynamic drag coefficient k based on the environmental monitoring data. For example, the aerodynamic drag coefficient may be corrected in real time based on a relationship between the aerodynamic drag coefficient and the environmental monitoring data. Merely by way of example, the aerodynamic drag coefficient is negatively correlated with environmental temperature data and positively correlated with environmental barometric pressure data.

(17) In some embodiments, the UAV control system may adjust the moments of inertia of the body frame based on the parameter of the quadrotor UAV. For example, I.sub.x, I.sub.y, I.sub.z may be adjusted based on an arm length and the weight of the UAV by increasing the arm length of the UAV to increase I.sub.x, selecting a motor with a relatively light mass to reduce I.sub.z, or mounting a UAV component (e.g., a battery) closer to a center of the UAV to reduce I.sub.x, I.sub.y, etc.

(18) In some embodiments, the UAV control system may adjust the attitude dynamics model based on the environmental monitoring data and/or the parameter of the quadrotor UAV based on Equation (2) to obtain an adjusted attitude dynamics model.

(19) In some embodiments of the present disclosure, by considering the real-time environmental monitoring data and the parameter of the quadrotor UAV, it is possible to incorporate actual flight scenarios of the UAV, so as to make the attitude dynamics model more in line with an actual situation.

(20) In some embodiments, the parameter of the quadrotor UAV may further include load variation information. The load variation information may be configured to reflect a variation in a load of the UAV in real time. The UAV control system may obtain the load variation information in real time based on devices such as a load pressure sensor. For example, in a flight mission where the UAV performs unmanned spraying (e.g., sprinkling of crops, spraying of pesticides, etc.), an amount of remaining liquid may be monitored by the load pressure sensor in a liquid carrying tank to obtain the load variation information of the UAV.

(21) In some embodiments, the UAV control system may construct a wind resistance feature vector based on the environmental monitoring data and the parameter of the quadrotor UAV. The UAV control system may determine the aerodynamic drag coefficient based on the wind resistance feature vector using a vector database.

(22) The wind resistance feature vector is configured to characterize a feature of the UAV as well as an environmental feature in a flight environment, which may be generated based on the environmental monitoring data and the parameter of the quadrotor UAV. For example, the wind resistance feature vector may be (E.sub.1, . . . , E.sub.n, P.sub.1, . . . , P.sub.m), where E.sub.1, . . . , E.sub.n are the environmental features (e.g., the temperature, the humidity, the altitude, etc.) generated based on environmental monitoring data, P.sub.1, . . . , P.sub.m are the features (e.g., a length, a weight, a current load, etc.) of the UAV generated based on the parameter of the quadrotor UAV.

(23) The vector database (e.g., Milvus) may include a reference wind resistance feature vector and a reference aerodynamic drag coefficient corresponding to the reference wind resistance feature vector. The reference wind resistance feature vectors and the reference aerodynamic drag coefficient corresponding to the reference wind resistance feature vector may be generated based on historical data or experimental data.

(24) Merely by way of example, a plurality of reference wind resistance feature vectors and corresponding reference aerodynamic drag coefficients may be generated based on the UAV performing flight tests in different environments, or based on historical flight mission data.

(25) The UAV control system may perform a vector matching process in the vector database based on a current wind resistance feature vector to determine the corresponding reference wind resistance feature vector, and determine a reference aerodynamic drag coefficient corresponding to the reference wind resistance feature vector as the aerodynamic drag coefficient. The vector matching process may be vector similarity matching or retrieval, and the matching is successful when a similarity (e.g., a vector distance) between the wind resistance feature vector and the reference wind resistance feature vector is greater than a preset threshold.

(26) In some embodiments, the UAV control system may correct the attitude dynamics model in real time (e.g., correction of the aerodynamic drag coefficient) based on the load variation information, thereby obtaining a corrected attitude dynamics model.

(27) A strong coupling effect of the UAV system makes a model-based (e.g., a mathematical model such as the attitude dynamics model or a mathematical process) controller design very difficult; accordingly, the strong coupling effect is categorized as an internal disturbance Et, where i=1, 2, 3.

(28) The strong coupling effect is a relationship of nonlinear effect or influence that exists between different UAV attitudes (e.g., the roll attitude, the pitch attitude, and the yaw attitude). For example, when the attitude is adjusted by controlling the motor speeds of the four motors of the UAV, a thrust or motor speed difference between different motors may cause a variation in a roll, pitch, and/or yaw torque, leading to a disturbance in the flight attitude. Merely by way of example, when the roll torque U.sub.2 is adjusted, it may change the yaw torque U.sub.4 due to a variation in the motor speed of the motor.

(29) In some embodiments, considering the internal disturbances, the attitude dynamics model is expressed as:

(30) { .Math. = l C T U 2 I x - k x . I x + 1 .Math. = lC T U 3 I y - k y . I y + 2 .Math. = l C T U 4 I z - k z . I z + 3 ( 3 ) where .sub.1, .sub.2, .sub.3 respectively represent the internal disturbances affecting the roll attitude (e.g., the roll angular acceleration), the pitch attitude (e.g., the pitch angular acceleration), and the yaw attitude (e.g., the yaw angular acceleration). Where:

(31) { 1 = I R I x . ( - 1 - 2 + 3 + 4 ) - . . I y - I z I x 2 = I R I y ( - 1 - 2 + 3 + 4 ) - I z - I x I y 3 = I y - I x I z ( 31 )

(32) In some embodiments, the attitude dynamics model is modified as follows based on external disturbances:

(33) { .Math. = l C T U 2 I x - k x . I x + w 1 .Math. = lC T U 3 I y - k y . I y + w 2 .Math. = l C T U 4 I z - k z . I z + w 3 ( 4 ) where w.sub.i=.sub.i+d.sub.i, (i=1,2,3), w.sub.i denotes the total disturbance of the flight attitudes (e.g., the roll attitude, the pitch attitude, the yaw, etc.), .sub.i denotes the internal disturbance of each flight attitude, and d.sub.i denote the external disturbances such as unknown or unmeasurable disturbances of each flight attitude. The unknown or unmeasurable disturbances refer to disturbances (e.g., a turbulence, an electromagnetic interference, etc.) that are random or difficult to measure directly. In some embodiments, the external disturbances may include measurable environmental disturbances. The environmental disturbances include, but are not limited to, the temperature, the wind speed, the humidity, the altitude, or the like, of the flight environment.

(34) S2, establishing a motion equation and a state-space equation of a UAV control system, and determining a linear active disturbance rejection controller with a compensation function observer (LADRC-CFO).

(35) The linear active disturbance rejection controller with the compensation function observer is simplified as a compensated active disturbance rejection controller, i.e., LADRC-CFO. In some embodiments, the CFO is configured to perform disturbance estimation and suppression (e.g., noise reduction) to obtain a high-accuracy disturbance estimation result. The LADRC may generate a required control quantity based on the disturbance estimation result obtained by the CFO.

(36) The attitude dynamics equation of the quadrotor UAV is expressed as follows based on Equation (4):
=ay+bu+d(5) where y denotes as an output of a system, u denotes an input of the system, d denotes the unknown or unmeasurable disturbances of the system, a denotes a parameter of the system, and b denotes a control gain of a second order control system. Here, the system refers to the attitude dynamics equation (e.g., Equation (5)) or a mathematical model obtained by mathematical modeling based on the equation. y denotes as the output of the system, which is a second derivative of y, denoted as , and obtained from the equation. a, b may be coefficient matrices of the system (e.g., a preset constant matrix). The unknown or unmeasurable disturbance denoted as d represent the external disturbances during UAV flight.

(37) In some embodiments, in addition to considering the external disturbance d, the internal disturbance may also be considered. According to Equation (4), the attitude dynamics equation of the UAV may be expressed as:
=a{dot over (y)}+bu+w(51) where w denotes an actual total disturbance of the system, which includes the internal disturbances and the external unknown disturbances d during UAV flight.

(38) In some embodiments, a{dot over (y)} may also be regarded as a disturbance to the system.

(39) By regarding a{dot over (y)}+d as the total disturbance of the system, Equation (5) is expressed as:
=bu+(6)

(40) In some embodiments, according to Equation (51), a{dot over (y)}+w is denoted as the total disturbance of the system, and Equation (51) may also be expressed as Equation (6).

(41) let x.sub.1=y, x.sub.2={dot over (y)}, the attitude dynamics equation of the system is expressed as follows based on Equation (6):

(42) { x . 1 = x 2 x . 2 = bu + f ( 7 ) where x.sub.1 denotes a state variable, which is configured to express a fundamental physical quantity of the system. For example, x.sub.1 may be the attitude angle (e.g., the roll angle, the pitch angle, and the yaw angle). Here, setting x.sub.1=y, indicates that the output y of the system represents the state variable corresponding to x.sub.1. x.sub.2 denotes the state variable, x.sub.2={dot over (y)} represents a first derivative of y or x.sub.1. For example, x.sub.2 denotes the first derivative of the attitude angle, which indicates that x.sub.2 represents an attitude angular velocity (e.g., the roll angular velocity, the pitch angular velocity, the yaw angular velocity); {dot over (x)}.sub.2 denotes the first derivative of x.sub.2, which represents a second derivative of x.sub.1, indicating an attitude angular acceleration (e.g., the roll angular acceleration, the pitch angular acceleration, and the yaw angular acceleration).

(43) The compensation function observer adopting a compensation function in a derivative form is configured to address a non-derivative form limitation of the LESO so as to improve the accuracy of an observation value.

(44) The LESO is an observer-based position tracking control strategy that may be used for MATLAB simulation. During a simulation process, the LESO calculates a position error and achieves position tracking by adjusting a gain of the controller.

(45) According to Equation (7):

(46) { z 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + b u f = z 2 - b u = L 1 e 1 + L 2 e 2 ( 8 ) where e.sub.1=x.sub.1z.sub.1 and e.sub.2=x.sub.2z.sub.2. z.sub.1, z.sub.2, and are estimates of x.sub.1, x.sub.2, and , respectively; L.sub.1 and L.sub.2 are the gains of the compensation function observer. e.sub.1 represents an estimation error between x.sub.1 and a corresponding estimate z.sub.1; e.sub.2 denotes an estimation error between x.sub.2 and a corresponding estimate z.sub.2. let Equation (7) subtract Equation (8) to obtain:

(47) 0 { e . 1 = e 2 e . 2 = - ( L 1 e 1 + L 2 e 2 ) + f ( 9 )

(48) According to Equation (9), a pure differential relationship between e.sub.1 and e.sub.2 is introduced, which addresses error accumulation in the observer. The estimation error (e.sub.1,e.sub.2) is related to the total disturbance , and a compensation function {tilde over ()} is introduced for mitigating the effect of the total disturbance on the estimation error:

(49) { z 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + f + b u f = L 1 e 1 + L 2 e 2 + f ( 10 )

(50) By subtracting Equation (10) from Equation (7), an observation error of the compensation function {tilde over ()} is obtained:

(51) { e . 1 = e 2 e . 2 = - ( L 1 e 1 + L 2 e 2 ) + ( f - f ~ ) ( 11 )

(52) In response to determining that the compensation function {tilde over ()} approaches the total disturbance , the estimation error is significantly decreased.

(53) The two variables are coupled using a low-pass filter, where the two variables refer to {circumflex over ()} and {tilde over ()}:

(54) f = s + f ( 12 ) where =2.sub.c, and .sub.c denotes a cutoff frequency of the low-pass filter.

(55) Thus, the CFO is expressed as:

(56) { z 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + f + b u f = L 1 e 1 + L 2 e 2 + f f = s + f ( 13 ) let z.sub.3={tilde over ()}, simplifying Equation (13) to:

(57) { z 1 = z 2 z . 2 = L 1 e 1 + L 2 e 2 + z 3 + b u z . 3 = ( L 1 e 1 + L 2 e 2 ) f = L 1 e 1 + L 2 e 2 + z 3 ( 14 ) where {circumflex over ()} denotes a compensated disturbance estimate.

(58) A characteristic equation of the CFO is derived as follows based on Equation (14):
s.sup.3+L.sub.1s.sup.2+(L.sub.1+L.sub.2)s+L.sub.2=0(15) where s is a complex frequency variable after Laplace transform, Equation (14) is a time-domain expression, which is transformed into a complex domain by the Laplace transform, then a transfer function is derived, and then a characteristic Equation (10) is obtained.

(59) According to Equation (15), the CFO is stable when all roots of the characteristic equation lie in a left half plane. The CFO is estimable, and the CFO has the ability to compensate for the disturbances, which in turn satisfies a control demand by using a PD observer. A control quantity u is designed as follows based on the CFO and the PD controller:

(60) { u 0 = k p ( u d - z 1 ) - k d ( u . d - z 2 ) + u .. d u = u 0 - f b ( 16 ) where u.sub.d is an expected input, u.sub.0 is an output value of the PD controller, k.sub.p, k.sub.d are controller parameters of the PD controller. .sub.d is a second derivative of the expected input u.sub.d, and {dot over (u)}.sub.d is a first derivative.

(61) S3, establishing a differential tracker for reducing a system overshoot.

(62) The system overshoot is a maximum magnitude by which the output of the system exceeds a steady state value for the first time before reaching the steady state value. Reducing the system overshoot allows the UAV to make a smooth transition in reaching the steady state value. The system herein refers to a UAV system with the LADRC-CFO. In some embodiments, and the differential tracker may be configured to improve the performance of the UAV system with the LADRC-CFO. The differential tracker is expressed as:

(63) { r 1 ( k + 1 ) = r 1 ( k ) + r 2 ( k ) * T r 2 ( k + 1 ) = r 2 ( k ) + fhan ( u d ( k ) , r 1 ( k ) , r 2 ( k ) , g , h ) * T ( 17 ) where u.sub.d(k) is the expected input (e.g., the attitude angle (e.g., the roll angle)), T is a sampling period, g>0 is a speed factor, r.sub.1(k) is a tracking signal of an initial signal, r.sub.2(k) is a derivative of the tracking signal, and fhan( ) is a time-optimal control synthesis function.

(64) An attitude control law is expressed as follows based on Equation (17):

(65) { u 0 = k p ( r 1 - z 1 ) - k p ( r 2 - z 2 ) + u .. d u = u 0 - f ^ b ( 18 )

(66) In some embodiments, the UAV control system may obtain attitude data based on an attitude sensor; obtain an actual system overshoot based on the attitude data; in response to determining that the actual system overshoot does not satisfy a steady state condition: update a first model parameter and a second model parameter based on the actual system overshoot.

(67) In some embodiments, the first model parameter may include the gains L.sub.1 and L.sub.2 of the CFO, and the controller parameters k.sub.p and k.sub.d of the PD controller. The second model parameter may include the speed factor g and the sampling period T. The UAV control system may, during a plurality of attitude adjustments of the UAV, record the attitude data and the actual system overshoot corresponding to each adjustment, and update the first model parameter and the second model parameter based on the actual system overshoot and the steady state condition.

(68) The attitude sensor may be various sensing devices (e.g., a gyroscope, an accelerometer, and other devices) capable of monitoring the attitude of the UAV, which may be configured to obtain real-time attitude data of the UAV. The attitude data may be configured to reflect a real-time flight state of the UAV after each attitude adjustment. For example, the attitude data may include a roll angle, a roll angular velocity, and/or a roll angular acceleration before and after a roll attitude adjustment. The attitude data may further include the system overshoot during the adjustment.

(69) The steady state condition is a condition under which the UAV control system controls the attitude of the UAV to achieve an expected attitude (e.g., the roll, the pitch, and the yaw) and maintain a steady state. In some embodiments, the actual system overshoot not satisfying the steady state condition may include that a count of times that the system overshoot is greater than a first overshoot threshold during a preset time period is greater than a preset count threshold. The first overshoot threshold may be a preset percentage (e.g., 5%) greater than the expected attitude. The preset time period (e.g., 10 min) and the preset count threshold (e.g., 10 times) may be determined according to actual needs (e.g., a flight mission, and a flight environment).

(70) It should be noted that the steady state condition may include the steady state condition corresponding to various expected attitudes, such as the roll angle , the pitch angle , and the yaw angle . When the UAV control system adjusts a current attitude of the UAV to the expected attitude through the output of the controller based on the plurality of adjustments, the system overshoot may cause an oscillation (i.e., instability) in the UAV flight.

(71) In some embodiments, in response to determining that the actual system overshoot does not satisfy the steady state condition, the UAV control system may update the gain L.sub.1 of the CFO in the first model parameter to adjust a tracking speed of the CFO for a disturbance error. In some embodiments, the UAV control system may update the gain L.sub.2 of the CFO in the first model parameter to adjust a dynamic response capability of the CFO for the disturbance estimate. For example, the gain L.sub.1 and/or the gain L.sub.2 may be increased, and an increase magnitude may be positively correlated with a size of the actual system overshoot. Merely by way of example, the larger the actual system overshoot, the greater the increase magnitude of L.sub.1 and/or L.sub.2, so as to improve the speed and accuracy of the disturbance estimate.

(72) In some embodiments of the present disclosure, by adjusting L.sub.1 and L.sub.2, the efficiency and accuracy of the disturbance estimate can be improved, thereby providing a reliable basis for subsequent attitude adjustment.

(73) In some embodiments, the UAV control system may update the controller parameter k.sub.p to adjust a response speed to an attitude error (e.g., a difference between an initial roll angle and an expected roll angle). For example, increasing the k.sub.p may accelerate the response speed to the attitude error, thereby quickly reducing the attitude error. In some embodiments, the UAV control system may update the controller parameter k.sub.d to adjust a variation rate of the attitude error. For example, increasing ka may slow down the variation rate of the attitude error and avoid an overshoot caused by quick adjustment.

(74) In some embodiments of the present disclosure, the adjustment of the first model parameter enhances the precision and efficiency of the attitude adjustment of the UAV from the current attitude to the expected attitude, makes the process of the adjustment smoother, and avoids the oscillation or the overshoot caused by quick adjustment.

(75) In some embodiments, in response to determining that the actual system overshoot does not satisfy the steady state condition, the UAV control system may update the speed factor g and the sampling period T in the second model parameter to optimize the differential tracker. In some embodiments, an increase magnitude of the speed factor g may be positively correlated with the actual system overshoot, and a size of the sampling period T may be negatively correlated with the actual system overshoot. For example, when the actual system overshoot increases, the speed factor g may be increased to accelerate the tracking of the initial signal r.sub.1(k); or the sampling period T may be reduced to improve the accuracy of the differential signal r.sub.2.

(76) In some embodiments of the present disclosure, by adjusting the second model parameter, the smoothness of the signal tracking by the differential tracker can be improved by the adjustment of the speed factor g. By the adjustment of the sampling period T, the accuracy and computational load of the signal tracking can be balanced.

(77) In some embodiments, in response to determining that the actual system overshoot does not satisfy the steady state condition, the UAV control system may obtain candidate control parameters; determine, based on the candidate control parameters, the environmental monitoring data, and flight mission information, a control score for each of the candidate control parameters through a control prediction model; obtain a target first model parameter and a target second model parameter by updating the first model parameter and the second model parameter based on the control score. More descriptions regarding the environmental monitoring data may be found in S1 and the related descriptions thereof.

(78) The candidate control parameters may include a candidate first parameter and a candidate second parameter. The candidate first parameter may include the gain L.sub.1 and the gain L.sub.2 of the CFO in the first model parameter, the controller parameter k.sub.p, and the controller parameter k.sub.d of the PD controller, or any combination thereof. The candidate second parameter may include the speed factor g and the sampling period T, or any combination thereof.

(79) The flight mission information refers to information corresponding to a mission that the UAV needs to perform. The flight mission information may include a mission type (e.g., logistics and transportation, aerial photography, search and rescue and inspection, pesticide spraying, etc.), flight route information (e.g., a UAV flight route, a location of a region involved in the flight route, information about a regional topography, regional weather, etc.), and load information (e.g., information about a weight of the loaded materials, pesticides, etc.). The flight mission information may be determined based on an actual mission situation, and the environmental monitoring data may be determined based on an actual environmental situation at the time of performing the flight mission.

(80) In some embodiments, the UAV control system may select the candidate control parameters based on the flight mission information. Merely by way of example, in a strong wind environment, larger gains L.sub.1 and L.sub.2 of the CFO may be selected to improve the efficiency and accuracy of the disturbance estimate for strong winds. As another example, for the load mission, k.sub.p and k.sub.d may be selected to optimize the variation rate of the attitude error, thereby avoiding the overshoot or the oscillation of the attitude adjustment of the UAV due to a load variation of the UAV.

(81) The control prediction model refers to a model used to determine the control score for the candidate first parameter and the candidate second parameter. In some embodiments, the control prediction model may be a trained machine learning model. For example, the control prediction model may be a neural network (NN) model.

(82) An input of the control prediction model may include the candidate control parameters, the environmental monitoring data, and the flight mission information, and an output of the control prediction model may include the control score for each of the candidate control parameters. Merely by way of example, the input of the control prediction model includes the controller parameter k.sub.p and the controller parameter k.sub.d of the PD controller, the environmental monitoring data and the flight mission information, and the output of the control prediction model includes the control score corresponding to the controller parameter k.sub.p and the controller parameter k.sub.d, respectively.

(83) In some embodiments, the control prediction model may be obtained by training based on a training sample set. The training sample set includes a plurality sets of training samples and labels corresponding the training samples. Each set of the plurality sets of training samples includes sample candidate control parameters, sample environmental monitoring data, and sample flight mission information, and each label is an actual control score corresponding to each of the training samples.

(84) The training sample set may be obtained based on historical data corresponding to a historical flight mission. For example, a training sample may be generated based on the mission type, the flight route information, the load information, the environmental monitoring data during a certain historical flight mission, and the control parameters used in the historical flight mission, and the actual control score corresponding to the training sample may be used as the label of the training sample. The label may be labeled based on manual annotation or other ways. The training sample set is generated based on a plurality of training samples constructed from a plurality of historical flight missions.

(85) The actual control score corresponding to the training sample may be determined based on an actual control effects of this historical flight mission. The actual control effect may include but is not limited to a duration for the UAV to reach a steady state, the overshoot, an oscillation frequency, and energy consumption (e.g., power consumption of the motor), which is determined based on a historical real-time overshoot record. The duration for the UAV to reach the steady state, the overshoot, the oscillation frequency, and the energy consumption may be negatively correlated with the actual control score. For example, the longer the duration for the UAV to reach the steady state, the lower the actual control score; the shorter the duration for the UAV to reach the steady state, the higher the actual control score.

(86) In some embodiments, the actual control score corresponding to the training sample may be determined based on weighted summation of the duration for the UAV to reach the steady state, the overshoot, the oscillation frequency, and the energy consumption. A weight may be determined based on a specific flight mission or a flight scenario. Merely by way of example, for an aerial photography mission, the weights of the overshoot and the oscillation frequency may be set larger; and for a logistics mission, the weights corresponding to the duration for the UAV to reach the steady state and the energy consumption may be set larger.

(87) In some embodiments, during the training, a value of a loss function may be determined based on a difference between an output of an initial model and the label. Parameters of the initial model may be iteratively updated based on the value of the loss function until a training termination condition is met (e.g., the loss function converges, a specific count of iterations are performed, etc.). An updated initial model may be used as a trained control prediction model.

(88) In some embodiments, the training of the control prediction model may be phased training. The phased training may include a first training phase, a second training phase, and a third training phase, and the training sample set corresponding to the first training phase, the second training phase, and the third training phase may be different. The phased training may be related to a mission difficulty corresponding to a sample flight mission.

(89) The mission difficulty corresponding to the flight mission reflects a degree of difficulty in completing the flight mission. The mission difficulty may be determined by evaluating the environmental monitoring data and the flight route during execution of the flight mission. For example, the mission difficulty may be set higher for the presence of a strong wind interference, rainy days, a high altitude, etc. As another example, the mission difficulty may be set higher when a count of obstacles in a region covered by the flight route is relatively high or the complexity of the flight route (e.g., a count of turns, etc.) is significant. The UAV control system may determine the mission difficulty corresponding to the flight mission based on the environmental monitoring data and the flight mission information. For example, the mission difficulty may be set to a low difficulty, a medium difficulty, a high difficulty, etc.

(90) In some embodiments, the first training phase, the second training phase, and the third training phase may be determined based on a sample mission difficulty corresponding to the sample flight mission. For example, the first training phase, the second training phase, and the third training phase correspond to the training conducted for the sample flight mission at the low difficulty, the medium difficulty, and the high difficulty, respectively. The training sample set used for the first training phase, the second training phase, and the third training phase may be different.

(91) In some embodiments, the UAV control system may obtain the plurality of historical flight missions and group the plurality of historical flight missions to obtain a low difficulty mission group, a medium difficulty mission group, and a high difficulty mission group, and construct a first training sample set for the first training phase, a second training sample set for the second training phase, and a third training sample set for the third training phase based on the historical data of the low difficulty mission group, the medium difficulty mission group, and the high difficulty mission group, respectively, and then perform iterative training based on the first training sample set, the second training sample set, and the third training sample set in turn.

(92) In some embodiments, the UAV control system may set a first learning rate, a second learning rate, and a third learning rate corresponding to the first training phase, the second training phase, and the third training phase, respectively. Considering that the mission difficulty of the sample flight mission corresponding to the first training phase, the second training phase, and the third training phase increases in sequence, the first learning rate, the second learning rate, and the third learning rate may increase in sequence. For example, for the first training phase, a lower learning rate may be set to improve the training efficiency. For the third training phase, a large set of training samples targeting high difficult flight missions may be used for training, making the model estimate the control effect in a complex terrain, a complex route, and a complex environment.

(93) In some embodiments, in the first training phase, an initial control prediction model may be trained based on the first training sample set to obtain a first control prediction model; in the second training phase, the first control prediction model obtained in the first training phase may be trained based on the second training sample set to obtain a second control prediction model; in the third training phase, the second control prediction model obtained in the second training phase may be trained based on the third training sample set to obtain the trained control prediction model, In practical applications, the control score for each of the candidate control parameters may be determined using the control prediction model.

(94) In some embodiments, the higher the actual control score corresponding to the control parameter, the better the control effect, and the lower the actual control score, the worse the control effect (e.g., too much overshoot, frequent oscillations, longer duration to reach the expected attitude, etc.). Accordingly, the UAV control system may determine the first model parameter and the second model parameter included in the candidate control parameter with the highest control score as an updated first model parameter and an updated second model parameter.

(95) In some embodiments of the present disclosure, learning of the relationship between the adjustment of the candidate control parameters and the environmental monitoring data and the flight mission information can be realized through the control prediction model, so as to make the adjustment of the first model parameter and the second model parameter more quickly. In addition, considering different flight missions and corresponding environmental information makes predicted control scores more consistent with actual situations, which in turn makes the optimization of the first model parameter and the second model parameter more accurate.

(96) In some embodiments, the UAV control system may determine a flight influence factor based on the sample environmental monitoring data and the sample flight mission information; determine the preset count threshold based on the flight influence factor; and in response to determining that a count of consecutive updates of the first model parameter and the second model parameter is greater than the preset count threshold, generate a flight termination instruction and transmit the flight termination instruction to the motor to execute a grounding operation of the quadrotor UAV.

(97) In some embodiments, the UAV control system may determine corresponding environmental information such as the temperature, the barometric pressure, the humidity, the wind speed, and the altitude, as well as the flight mission information such as the mission type and the flight route information from the sample environmental monitoring data and the sample flight mission information, and determine the flight influence factor (e.g., the strong winds, the rainy days, the complex terrain, etc.). More descriptions regarding the flight influence factor may be found elsewhere in the present disclosure.

(98) The preset count threshold is a count of times required to adjust to the expected attitude, which may be a preset value based on experience. In some embodiments, the flight influence factor may include the mission difficulty of the flight mission. For example, for a low difficulty flight mission, the corresponding preset count threshold may be set to a relatively low value. For example, for a high difficulty flight mission, the corresponding preset count threshold may be set to a relatively high value.

(99) When the count of consecutive updates of the first model parameter and the second model parameter is greater than the preset count threshold, it reflects a possible malfunction of the UAV. The UAV control system may generate the flight termination instruction and transmit the flight termination instruction to the motor to execute a grounding operation of the quadrotor UAV, and may also issue a warning and instruct the UAV to fly to the nearest maintenance point.

(100) In some embodiments, the process 100 may include the following operations.

(101) S4, generating a motor speed parameter based on the differential tracker and the LADRC-CFO.

(102) The motor speed parameter may be configured to adjust the motor speed of the motors of the UAV, which in turn adjusts the attitude of the UAV.

(103) In some embodiments, after obtaining the actual control input u, which is the output value u.sub.0 of the PD controller compensated for disturbance through the compensated active disturbance rejection controller and the differential tracker, the UAV control system may obtain the motor speed parameter using Equation (1) based on the expected attitude of the UAV and the distribution of the motors.

(104) The expected attitude may include the roll attitude, the pitch attitude, the yaw attitude, or any combination thereof. The expected attitude may be determined based on the actual situation. For example, the expected attitude may involve flying with a specific roll angle in a certain direction (e.g., rolling to the right). The distribution of the motors may include a position relationship of different motors. For example, the four motors of the UAV may be symmetrically distributed on both sides of the body frame. For example, among the four symmetrically distributed motors of the UAV, the motor M.sub.1 and the motor M.sub.3 may be located on one side (e.g., a left side) of the body frame, and the motor M.sub.2 and the motor M.sub.4 may be located on the other side (e.g., a right side) of the body frame.

(105) If the expected attitude requires only the roll attitude (e.g., rolling to the right side of the UAV), the motor speed of the motors on the left side (e.g., M.sub.1 and/or M.sub.4) may be increased and the motor speed of the motors on the right side (e.g., M.sub.2 and/or M.sub.3) may be decreased, thereby achieving the rightward roll attitude of the UAV. Merely by way of example, the motor speed parameters

(106) 1 2 , 2 2 , 3 2 , and 4 2
of each motor may be solved based on the expression

(107) 0 U 2 = C T ( 1 2 + 4 2 - 2 2 - 3 2 )
for the roll torque U.sub.2 in Equation (1). It should be noted that this is only an example. The actual generation and/or adjustment of the motor speed parameter needs to consider practical requirements. For example, if the pitch attitude is required simultaneously with the roll attitude, the coordinated effect of the roll torque U.sub.2 and the pitch torque U.sub.3 is considered.

(108) In some embodiments, in response to determining that a real-time system overshoot and a flight speed satisfy a speed adjustment condition, a speed adjustment instruction may be determined and sent to the motor to adjust an operation parameter of the motor, the operation parameter including the motor speed parameter.

(109) The real-time system overshoot refers to a magnitude by which the UAV exceeds the expected attitude or the steady state value during each attitude adjustment, which may be used to evaluate the accuracy of the attitude adjustment of the UAV and the duration for the UAV to reach the steady state. The greater the real-time system overshoot, the more adjustments may be required, or the higher the probability of a high duration for the UAV to reach the steady state.

(110) The speed adjustment condition refers to a condition that the flight speed of the UAV needs to be adjusted, which may be various conditions preset according to the actual needs. The speed adjustment of the UAV may be realized based on the control of the operation parameter (e.g., the motor speed parameter) of the motor. For example, the UAV control system may reduce the motor speed of the motor through the speed adjustment instruction to decrease the flight speed.

(111) In some embodiments, the speed adjustment condition may include that the real-time system overshoot is greater than a second overshoot threshold and the flight speed is greater than a first speed threshold, or any combination thereof. The first speed threshold may be determined based on the flight influence factor.

(112) The flight influence factor refers to various factors that negatively impact the safety flight of the UAV, such as the strong winds, dense regions of obstacles, etc. In some embodiments, the first speed threshold may be related to the flight influence factor. The UAV control system may preset a safety index of a plurality of different flight influence factors for the safety flight of the UAV, and set the first speed threshold based on the safety index.

(113) In some embodiments, the UAV control system may set different a mapping relationship (e.g., a data table) between different flight influence factors and the safety indices based on historical experience. For example, the safety index corresponding to the strong winds may be set lower. In some embodiments, the safety index may be positively correlated with the first speed threshold. For example, the lower the safety index, the smaller the corresponding first speed threshold may be set. Merely by way of example, the strong winds may cause fatal damage to the UAV, indicating a low safety index, so that the first speed threshold may be set low or even grounded (i.e., the first speed threshold is set to 0).

(114) The second overshoot threshold may be the same as the first overshoot threshold. In some embodiments, the second overshoot threshold may be positively correlated with the safety index. For example, the lower the safety index, the lower the second overshoot threshold may be set. It is understood that the higher the real-time system overshoot and the longer the duration for the UAV to reach the steady state, the easier it is for the UAV to cause the oscillation, and it is more likely to cause a safety hazard. For example, when the safety index is low (e.g., due to the flight influence factor such as sudden strong winds), the speed adjustment needs to be triggered in time (e.g., significantly reducing the flight speed in time), and setting a lower second overshoot threshold makes it easier to trigger the speed adjustment instruction, so as to enhance the fault tolerance of safety flight, and avoid safety accidents caused by untimely adjustment.

(115) In some embodiments of the present disclosure, by monitoring the real-time system overshoot, setting the second overshoot threshold, and the dynamic adjustment of the first speed threshold, adaptive adjustment of the speed of the UAV can be achieved, thereby improving the flight stability and safety.

(116) S5, adjusting a motor speed of the quadrotor UAV based on the motor speed parameter.

(117) In some embodiments, the UAV control system may generate an adjustment instruction (e.g., an electronic speed controller (ESC) signal) for the motor speed based on the motor speed parameter to adjust the motor speed of the quadrotor UAV. The adjustment instruction may be the ESC signal to drive mechanical rotation of the motor.

(118) It should be noted that the foregoing description is intended to be exemplary and illustrative only and does not limit the application scope of the present disclosure. For a person skilled in the art, various improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications should also be regarded as the scope of protection of the present disclosure. Structures, apparatuses, and methods of operation that are not specifically described and explained in the present disclosure are implemented in accordance with the conventional means in the art, if not otherwise specified and limited.