Tilting four-rotor aircraft sliding mode attitude control method and device, medium and product

By constructing a set of state space equations and sliding mode control theory, and designing a disturbance observer and control law, the problem of poor autonomous flight control of the tilting quadcopter was solved, and better anti-disturbance and flight quality were achieved.

CN118732704APending Publication Date: 2024-10-01NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410804092.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing tilting quadcopter's autonomous flight control effect is not good, especially in the case of nonlinearity, time variation, coupling and parameter and structure uncertainty, the effect of the PID controller is not ideal.

Method used

Construct the state space equations of the tilting quad-rotor aircraft, design the interference observer for interference compensation, and construct the position subsystem control law and attitude subsystem control law based on the sliding mode control theory, including interference compensation, and use the sliding mode control method to control the aircraft Take control.

Benefits of technology

It improves the autonomous flight control effect of the tilting quadcopter, enhances disturbance resistance and response speed, and optimizes flight quality, especially the control performance in transition states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732704A_ABST
    Figure CN118732704A_ABST
Patent Text Reader

Abstract

The invention discloses a tilt four-rotor aircraft sliding mode attitude control method and device, a medium and a product, and relates to the technical field of unmanned aerial vehicle attitude control. The method comprises the following steps: constructing a state-space equation set of the tilting four-rotor aircraft; constructing a disturbance observer according to the state space equation set; compensating the interference of the tilt four-rotor aircraft according to the interference observer to obtain interference compensation; constructing a position subsystem control law and an attitude subsystem control law based on a sliding-mode control theory, and performing sliding-mode control on the tilt four-rotor aircraft according to the position subsystem control law and the attitude subsystem control law; the position subsystem control law and the attitude subsystem control law include interference compensation. The problem that the autonomous flight control effect of an existing tilting four-rotor aircraft is poor can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle attitude control, and in particular to a sliding mode attitude control method, equipment, medium and product for a tilt-quadrotor aircraft. Background Art

[0002] Tilt-rotor aircraft have the configuration characteristics of both helicopters and fixed-wing aircraft. They have the vertical take-off and landing, hovering, and side-flight characteristics of helicopters and the high-speed cruising and long flight time of fixed-wing aircraft, making them one of the hottest research topics in the field of aircraft. However, they also have problems such as severe coupling of control channels and complex control surfaces, which increases the complexity of flight control law design.

[0003] The autonomous flight control system of a tiltrotor aircraft is the core of the UAV system, and its performance depends largely on the design of the flight control law. The most widely used control algorithm in actual control problems is the PID controller, which has the advantage of simple algorithms, but the disadvantage is that when the object has nonlinearity, time-varying, coupling, and parameter and structural uncertainty, its effect in autonomous flight control is not ideal. Summary of the invention

[0004] The purpose of the present invention is to provide a sliding mode attitude control method, device, medium and product for a tilt-quadrotor aircraft, which can solve the problem that the autonomous flight control effect of the existing tilt-quadrotor aircraft is poor.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A sliding mode attitude control method for a tilt quadrotor aircraft, comprising:

[0007] Construct the state-space equations for the tilt-quadrotor aircraft;

[0008] Construct a disturbance observer based on the state-space equations;

[0009] Interference compensation is obtained by compensating the interference of the tilt-quadrotor aircraft according to the interference observer;

[0010] Based on the sliding mode control theory, the position subsystem control law and the attitude subsystem control law are constructed, and the tilt-quadrotor aircraft is subjected to sliding mode control according to the position subsystem control law and the attitude subsystem control law; the position subsystem control law and the attitude subsystem control law include interference compensation.

[0011] Optionally, construct a state space equation group of the tilt-quadrotor aircraft, specifically including:

[0012] Construct the dynamic and kinematic equations of the tilt-quadrotor aircraft;

[0013] The state space equations of the tilt-quadrotor aircraft are constructed based on the dynamic equations and kinematic equations.

[0014] Optionally, the disturbance observer is:

[0015] in, represents the estimation of d, d represents interference compensation, d=[d1,d2,d3,d4], d1 represents bounded interference compensation, d2 represents roll angle interference compensation, d3 represents pitch angle interference compensation, d4 represents yaw angle interference compensation, z represents auxiliary variable, p(x) represents the first-order partial derivative of L with respect to x, Represents the first-order partial derivative of z, L represents the gain matrix, g2(x) represents the coupling function between the first state quantity and the control law, f(x) represents the state vector, g1(x) represents the coupling function between the second state quantity and the control law, u represents the control vector, and x represents the state quantity of the tilt-rotating quadrotor aircraft.

[0016] Optionally, the position subsystem control law is: Among them, u1 represents the virtual thrust, m represents the mass of the aircraft, represents the position vector of the center of gravity of the body axis system, k1 represents the first parameter of the position subcontroller, ρ1 represents the second parameter of the position subcontroller, s1 represents the sliding surface of the position subsystem control law, s1 = x 1d -x1,x 1d is the expected position, x1 is the current position, represents the expected speed, represents the speed at the current moment, sat(s1) represents the saturation function, f1(x1) represents the part of the dynamics known, and d1 represents the bounded disturbance compensation.

[0017] Optionally, the attitude subsystem control law includes:

[0018] Subsystem control law for roll angle:

[0019] Subsystem control law for pitch angle:

[0020] Subsystem control law for yaw angle:

[0021] Where u2 represents the roll angle controller input, I xx represents the inertia product in the x-axis direction under the body axis system, represents the angular acceleration in the x-axis direction at the current moment, represents the angular velocity in the x-axis direction at the current moment, f(θ, ψ) represents the part of the roll angle subsystem where the dynamics are known, represents the position vector of the center of gravity of the body axis system, k2 represents the first parameter of the roll angle sub-controller, s2 represents the attitude angle control rate sliding surface, ρ2 represents the second parameter of the roll angle sub-controller, sat(s) represents the saturation function, d2 represents the roll angle interference compensation, u3 represents the pitch angle sub-controller input, I yy represents the inertia product in the y-axis direction under the body axis system, represents the angular velocity in the y-axis direction at the current moment, e represents the exponential vector, k3 represents the first parameter of the pitch angle sub-controller, ρ3 represents the second parameter of the pitch angle sub-controller, d3 represents the pitch angle interference compensation, u4 represents the yaw angle sub-controller input, I zz represents the inertia product in the z-axis direction under the body axis system, represents the angular velocity in the z-axis direction at the current moment, k4 represents the first parameter of the yaw angle sub-controller, ρ4 represents the yaw angle sub-controller parameter, d4 represents the yaw angle interference compensation, θ represents the pitch angle, and ψ represents the yaw angle.

[0022] Optionally, sliding mode control is performed on the tilt quadrotor aircraft according to the position subsystem control law and the attitude subsystem control law, specifically including:

[0023] The desired position and the current position are input into the position subsystem control law to obtain the virtual thrust;

[0024] Obtaining a desired roll angle and a desired pitch angle according to the virtual thrust;

[0025] Inputting the desired attitude angle and the angular velocity at the current moment into the attitude subsystem control law to obtain the attitude angle error; the attitude angle includes yaw angle, roll angle and pitch angle;

[0026] Input the attitude angle error into the control distributor to obtain the aileron rudder deflection, the vertical tail rudder deflection and the total pitch of the four rotors;

[0027] The tilt quadrotor aircraft is controlled according to the aileron rudder deflection, the vertical tail rudder deflection and the total pitch of the four rotors to obtain the angular acceleration and the acceleration at the next moment;

[0028] The angular velocity and the position at the next moment are obtained according to the angular acceleration and the acceleration at the next moment, and then the moment is updated, and the step of inputting the desired position and the position at the current moment into the position subsystem control law to obtain the virtual thrust is returned.

[0029] A computer device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned sliding mode attitude control method for a tilt quadrotor aircraft.

[0030] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned sliding mode attitude control method for a tilt-quadrotor aircraft.

[0031] A computer program product includes a computer program, which, when executed by a processor, implements the above-mentioned sliding mode attitude control method for a tilt-quadrotor aircraft.

[0032] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0033] The present invention constructs a state space equation group of a tilt-rotor quadrotor aircraft; constructs a disturbance observer according to the state space equation group; compensates for the disturbance of the tilt-rotor quadrotor aircraft according to the disturbance observer to obtain disturbance compensation; constructs a position subsystem control law and an attitude subsystem control law based on the sliding mode control theory, and performs sliding mode control on the tilt-rotor quadrotor aircraft according to the position subsystem control law and the attitude subsystem control law; the position subsystem control law and the attitude subsystem control law include disturbance compensation, and the disturbance observer is used to perform disturbance compensation, and the control law is obtained based on the sliding mode control theory, which can solve the problem that the existing tilt-rotor quadrotor aircraft has poor autonomous flight control effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0035] Figure 1 A flow chart of a sliding mode attitude control method for a tilt quadrotor aircraft provided in an embodiment of the present invention;

[0036] Figure 2 This is the transition corridor result diagram of the tilt-quadrotor aircraft;

[0037] Figure 3 The schematic diagram of the sliding mode attitude control method for a tilt-quadrotor aircraft is shown below;

[0038] Figure 4 A diagram of the internal structure of a computer device;

[0039] Figure 5 This is the time domain response diagram of the state quantity of the tilting process of the tilting quadrotor at 9(°) / s;

[0040] Figure 6 It is the time domain response diagram of the state quantity of the sinusoidal tilt process. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] The method of the present invention focuses on the design of control laws, and the introduction of flight control laws is the main means to improve the flight quality of aircraft. The control structure has developed from the early single-input, single-output system to the current multi-input, multi-output system; the control method has developed from being adapted to linear systems to the current nonlinear systems, and its design has been continuously improved and matured, and the performance of the system has been greatly improved. Moreover, the difficulty in designing a control system for a tilt-rotor aircraft lies in the tilt transition state, in which the aircraft has strong coupling and significant model differences. Compared with a tilt-rotor twin-rotor aircraft, a tilt-quadrotor aircraft needs to control more variables, and its control law design is more complex. The sliding mode control method is a special type of nonlinear control, and its nonlinearity is manifested as control discontinuity. It has the advantages of strong anti-disturbance, fewer parameters, and fast response speed. Unlike other control methods, the sliding mode variable structure control method continuously adjusts the control input according to the changes in the aircraft attitude angle and the angular velocity, forcing the system to move along the designed sliding mode surface trajectory. Based on this, an embodiment of the present invention provides a sliding mode attitude control method for a tilt-quadrotor aircraft, such as Figure 1 As shown, including:

[0044] Step 101: Construct a state space equation group of the tilt-quadrotor aircraft.

[0045] Step 102: Construct a disturbance observer according to the state-space equations.

[0046] Step 103: Compensate the disturbance of the tilt-quadrotor aircraft according to the disturbance observer to obtain the disturbance compensation. The rotor-wing aerodynamic disturbance of the tilt-quadrotor aircraft and the disturbance that may be generated externally are compensated by using the disturbance observer.

[0047] Step 104: construct a position subsystem control law and an attitude subsystem control law based on sliding mode control theory, and perform sliding mode control on the tilt-quadrotor aircraft according to the position subsystem control law and the attitude subsystem control law; the position subsystem control law and the attitude subsystem control law include interference compensation.

[0048] In practical applications, the state space equations of the tilt-quadrotor aircraft are constructed, including:

[0049] Construct the dynamic and kinematic equations of the tilt-quadrotor aircraft.

[0050] The state space equations of the tilt-quadrotor aircraft are constructed based on the dynamic equations and kinematic equations.

[0051] In practical applications, the dynamic equations and kinematic equations for building a tilt-rotating quadrotor aircraft specifically include:

[0052] Build the rotor model of the tilt-quadrotor aircraft:

[0053] When the nacelle is tilted, the hub center position can be expressed as:

[0054]

[0055] In the formula, x H ,y H , z H is the center coordinate of the hub center under the hub body axis system, x Hh ,y Hh , z Hh represents the coordinate of the hub center under the hub center body axis system in helicopter mode, L is the distance from the hub center to the nacelle tilting fulcrum, β nac is the tilt angle. At this moment, the three velocity components of the tilt quadrotor body axis are u, v, and w. Then the velocity component u of the hub wind axis located at the right rotor is hub ,v hub ,w hub It can be expressed as:

[0056]

[0057] In the formula, is the transformation matrix from the body coordinate axis system to the hub coordinate axis system, and p, q, r are the three-axis angular velocities.

[0058] Therefore, the advance ratio and sideslip angle of the rotor are:

[0059]

[0060] Where Ω is the rotation speed of the rotor and R is the radius of the rotor. The velocity component of the blade element in the two-dimensional wind axis system is specifically expressed as follows:

[0061]

[0062] Where U T is the tangential velocity of the blade section, U R is the radial velocity of the blade element section, U P is the vertical velocity of the blade element section. ψ is the azimuth angle of the blade, vi is the induced speed generated by the rotor, r b is the distance between the blade element and the hub center, β is the flapping angular velocity, is the swing angular acceleration.

[0063] The vector synthesis of the velocity gives the two-dimensional blade flow velocity U and the inflow angle φ b Respectively expressed as:

[0064]

[0065] The blade element's angle of attack α b is the pitch angle θ * The function of the inflow angle can be expressed as follows:

[0066]

[0067] Among them, θ0 is the installation angle of the blade root, θ1 is the negative twist of the blade, A1 is the lateral periodic pitch change, and B1 is the longitudinal periodic pitch change. The definition of lift and drag of a two-dimensional blade element is consistent with that of a two-dimensional airfoil, that is, the lift generated by the blade element is perpendicular to the incoming flow velocity U, and the drag is parallel to the incoming flow velocity U and in the opposite direction. Therefore, the lift dL and drag dD of a small thin blade element can be obtained:

[0068]

[0069] Where ρ is the air density, C lα is the lift line slope, c is the chord length of the blade element airfoil, C d is the drag coefficient, dr b is the length of the blade tip.

[0070] By decomposing the lift and drag of the blade element into the plane of the hub wind axis system, the blade drag dF can be obtained. x The pulling force dF in the direction perpendicular to the hub z They are:

[0071]

[0072] Thus, the aerodynamic force and anti-torque of the rotor under the hub wind shaft system are obtained as follows:

[0073]

[0074] In the formula, T is the pulling force, H is the backward force, S is the lateral force, Q is the counter torque, and C is T is the tensile coefficient, C H is the backward force coefficient, C S is the lateral force coefficient, m k is the counter torque coefficient.

[0075] The rotor force / torque calculated in the hub wind axis system can be expressed as follows by transforming the coordinates to the body axis system:

[0076]

[0077]

[0078] In the formula, F x,r and M x,r They represent the force and moment on the x-axis of the rotor, F y,r and M y,r They represent the force and moment on the rotor y-axis, F z,r and M z,r They represent the force and moment on the z-axis of the rotor, represents the transformation matrix from wind axis to hub axis, Represents the transformation matrix from the hub shaft system to the nacelle coordinate system. Nacelle coordinate system, Represents the transformation matrix from the nacelle coordinate system to the body axis system.

[0079] Similarly, the wing model, vertical tail model and fuselage model of the tilt-rotating quadrotor aircraft can be obtained.

[0080] After building the model based on such sub-components, the forces / torques generated by the components of the tilt-quadrotor are numerically synthesized in the body axis system, that is, the three-axis resultant force / torque components of the tilt-quadrotor aircraft in the body axis system can be obtained:

[0081]

[0082] Wherein, the subscripts r, w, vt and f represent the rotor, wing, vertical tail and fuselage respectively.

[0083] F x ,F y ,F z ,M x ,M y ,M z By substituting the aircraft dynamics equation, i.e., equation (13) combined with the kinematic equations shown in equation (14), the nine state variables of the aircraft can be solved.

[0084]

[0085] The kinematic equations are:

[0086]

[0087] In practical applications, the state space equations of the tilt-quadrotor aircraft are: Where: δ = [δ col1 ,δ col2 ,δcol3 ,δ col4 ,δ air1 ,δ air2 ,δ rub ] T , state variables x = [u,v,w,p,q,r,φ,θ,ψ] T , t is the time variable; x is the state quantity of the tilt-rotor quadrotor aircraft, φ, θ, ψ represent the roll angle, pitch angle and yaw angle of the tilt-rotor quadrotor aircraft respectively, δ coli represents the total pitch of the i-th rotor (i=1, 2, 3, 4); δ air1 ,δ air2 They represent the aileron control surface on the left and right sides of the body axisymmetric plane respectively; δ rub Indicates the rudder surface.

[0088] In practical applications, the sliding mode attitude control method for the tilt quadrotor aircraft also includes:

[0089] According to the obtained formula (13), based on the force / torque balance relationship in the longitudinal plane, combined with the stall condition of the wing and the rated power limit of the engine, the transition corridor of the tilt-quadrotor aircraft is obtained, as follows: Figure 2 The tilt transition corridor expresses the forward flight speed u and the tilt angle β nac Relationship, in the subsequent attitude control process, the transition corridor is used as a constraint condition, the selected transition corridor is within the flight envelope, and the flight state is along the proposed curve, which ensures the safety of the transition flight process and is conducive to improving the flight quality.

[0090] In practical applications, a disturbance observer is designed according to the state-space equations, and the nonlinear sliding mode control law of the tilt-quadrotor aircraft is obtained, as shown in formula (19), formula (21), formula (22), and formula (23), and the jitter is reduced by the disturbance compensation of the disturbance observer, as shown in formula (15).

[0091] The disturbance observer is designed as:

[0092]

[0093] in, represents the estimation of d, d represents interference compensation, d=[d1,d2,d3,d4], d1 represents bounded interference compensation, d2 represents roll angle interference compensation, d3 represents pitch angle interference compensation, d4 represents yaw angle interference compensation, z represents auxiliary variable, p(x) represents the first-order partial derivative of L with respect to x, Represents the first-order partial derivative of z, L represents the gain matrix, g2(x) represents the coupling function between the first state quantity and the control law, f(x) represents the state vector, g1(x) represents the coupling function between the second state quantity and the control law, u represents the control vector, and x represents the state quantity of the tilt-rotating quadrotor aircraft.

[0094] In practical applications, the design of the position sub-controller is divided into two steps. The first step is to design a cascade sliding mode control law based on a disturbance observer. The second step is to find the required attitude angle and thrust u1 from the control law designed in the first step, and perform manipulation distribution in the control distributor to obtain the required attitude angle. The velocity dynamics equation of the tilt-rotating quadrotor aircraft in the body coordinate system is:

[0095]

[0096] where F r is the rotor force, F air represents the wing force.

[0097] The above formula is written in the form of state equation:

[0098]

[0099] Where: x1 = [u, v, w] T is the three-axis velocity vector under the body axis system, is the three-axis acceleration vector under the body axis system, f1(x1) represents the known part of the dynamics, which can be calculated by the current state of the system, d1 = [d 11 ,d 12 ,d 13 ] T represents bounded interference, d 11 ,d 12 ,d 13 Represent the three axis components of interference respectively.

[0100] The simple sliding surface is defined as:

[0101] s1=e1 (18)

[0102] in, u d ,v d ,w d is the expected velocity of the three axes under the body axis system. Based on this, the reaching law of the sliding mode control method is designed to make the system move stably along s=0, and the control law of the position subsystem is:

[0103]

[0104] Among them, u1 represents the virtual thrust, m represents the mass of the aircraft, and x 1crepresents the position vector of the center of gravity of the body axis system, k1 represents the first parameter of the position subcontroller, ρ1 represents the second parameter of the position subcontroller, s1 represents the sliding surface of the position subsystem control law, x 1d is the expected position, x1 is the current position, represents the expected speed, represents the speed at the current moment, sat(s1) represents the saturation function, f1(x1) represents the part of the dynamics known, and d1 represents the bounded disturbance compensation.

[0105] In practical applications, the subsystem of the roll angle can be rewritten as follows:

[0106]

[0107] in,

[0108]

[0109] Where: represents the second-order derivative of the roll angular velocity, d2 represents the roll angle interference compensation, and the subscript c represents the roll angle.

[0110] By designing the control law u2 so that the sliding surface has s = 0, the subsystem control law of the rolling angle can be solved as:

[0111] Similarly, the subsystem control law of the pitch angle of the tilt-rotating quadrotor aircraft is:

[0112] The subsystem control law of the yaw angle is:

[0113] Where u2 represents the roll angle controller input, I xx represents the inertia product in the x-axis direction under the body axis system, represents the angular acceleration in the x-axis direction at the current moment, represents the angular velocity in the x-axis direction at the current moment, f(θ, ψ) represents the part of the roll angle subsystem where the dynamics are known, represents the position vector of the center of gravity of the body axis system, k2 represents the first parameter of the roll angle sub-controller, s2 represents the attitude angle control rate sliding surface, ρ2 represents the second parameter of the roll angle sub-controller, sat(s) represents the saturation function, d2 represents the roll angle interference compensation, u3 represents the pitch angle sub-controller input, I yy represents the inertia product in the y-axis direction under the body axis system, represents the angular velocity in the y-axis direction at the current moment, e represents the exponential vector, k3 represents the first parameter of the pitch angle sub-controller, ρ3 represents the second parameter of the pitch angle sub-controller, d3 represents the pitch angle interference compensation, u4 represents the yaw angle sub-controller input, I zz represents the inertia product in the z-axis direction under the body axis system, represents the angular velocity in the z-axis direction at the current moment, k4 represents the first parameter of the yaw angle sub-controller, ρ4 represents the yaw angle sub-controller parameter, d4 represents the yaw angle interference compensation, θ represents the pitch angle, and ψ represents the yaw angle.

[0114] In practical applications, the flight control system of a tilt-rotating quad-rotor drone consists of two parts: a cascade controller and a control distributor. The cascade controller includes a position sub-controller and an attitude controller, which are used to generate virtual control quantities for position and attitude control. The outer loop is used for position control, and the inner loop is used for attitude control of the tilt-rotating quad-rotor drone.

[0115] The three-axis force components under the body axis system are:

[0116] u1=[U x ,U y ,U z ] T (twenty four)

[0117] The input of the position sub-controller is the desired position x, y, z (input command), which can be obtained including the virtual thrust u1 = [U x ,U y ,U z ] T , and output the desired roll angle and the desired pitch angle. The desired yaw angle is generally given directly by the guidance law, so it is known by default when designing the controller. When simulating, the desired yaw angle is always 0°. The desired pitch angle and the desired roll angle can be calculated by converting the linear displacement error into the rotation angle error in the position subcontroller according to the current position. The relationship between the desired roll angle and the desired pitch angle φ, θ and U is as follows:

[0118]

[0119] In the position control loop of the cascade controller, the vertical position z is caused by the change of the pitch angle. In order to ensure that the trajectory tracking error converges to zero asymptotically, a saturated control input u1 is designed based on the sliding mode control method of the auxiliary dynamic system, which can limit the position sub-control output φ,θ. Then, the attitude loop of the SMC method and the disturbance observer is used to solve the uncertainty and disturbance of the model change.

[0120] The outputs φ, θ and ψ of the position sub-controller are directly used as the inputs of the attitude controller, and the inner loop controller completes the control of the UAV. In the attitude controller, the error signals between the attitude angle fed back by the aircraft and the attitude commands φ, θ and ψ are output to obtain Δφ, Δθ, Δψ.

[0121] The control distributor, which maps virtual control commands to individual actuators, is used to handle the mismatch problem between the virtual control volume and the number of actual actuators.

[0122] The control quantity δ is calculated by the control distributor using a known procedure. col1 ,δ col2 ,δ col3 ,δ col4 ,δ air1 ,δ air2 ,δ rub ] T ,Finally, the tilt-rotating quadrotor is manipulated. Then the acceleration and angular acceleration of the tilt-rotating quadrotor are calculated by the integrator to obtain the actual position, and the angular velocity is fed back to the position sub-controller and attitude controller respectively to achieve closed-loop control.

[0123] In practical applications, sliding mode control is performed on the tilt-rotating quadrotor aircraft according to the position subsystem control law and the attitude subsystem control law, including:

[0124] The desired position and the current position are input into the position subsystem control law to obtain the virtual thrust.

[0125] The desired roll angle and the desired pitch angle are obtained according to the virtual thrust.

[0126] The desired attitude angle and the angular velocity at the current moment are input into the attitude subsystem control law to obtain the attitude angle error; the attitude angle includes the yaw angle, the roll angle and the pitch angle.

[0127] The attitude angle error is input into the control distributor to obtain the aileron rudder deflection, vertical tail rudder deflection and the total pitch of the four rotors.

[0128] The tilt quadrotor aircraft is controlled according to the aileron rudder deflection, the vertical tail rudder deflection and the total pitch of the four rotors to obtain the angular acceleration and the acceleration at the next moment.

[0129] The angular velocity and the position at the next moment are obtained according to the angular acceleration and the acceleration at the next moment, and then the moment is updated, and the step of inputting the desired position and the position at the current moment into the position subsystem control law to obtain the virtual thrust is returned.

[0130] In order to verify the attitude and position inner and outer loop hierarchical structure control law design proposed in this invention, the precise aerodynamic interference effect is simulated in the time domain simulation environment, and the tilt angle is used as the weight factor of the rotor controller and the fixed-wing controller for manipulation allocation. The fixed-altitude flight control of the transition mode under the linear and sinusoidal tilt angle curve changes is completed, and the state quantities of the aircraft transition mode under the two curves are compared. Finally, simulation verification is carried out. The results show that the designed controller has good dynamic performance, fast response speed, strong robustness, and can ensure that the tilt-quadrotor maintains good altitude stability in the transition state.

[0131] The flight condition at an altitude of 100m is selected as the initial state, and the tilt angle rate is kept at 9(°) / s. The simulation results are as follows: Figure 5 ,in, Figure 5 Part (a) is the roll angle, Figure 5 Part (b) is the pitch angle. Figure 5 Part (c) is the yaw angle, Figure 5 The middle part (d) is the height.

[0132] from Figure 5 It can be seen that the designed controller can control the longitudinal attitude of the tilt-quadrotor well. The rotor aerodynamic interference of the tilt-quadrotor is strong in the front part of the transition mode, and the flight speed is relatively low in this stage, and the aerodynamic effect generated by the wing is not high; in the middle part of the tilt transition, the rotor wake has a certain acceleration effect on the airflow passing through the wing. As the forward flight speed increases further, the rotor-wing interference effect is obvious; at the same time, the acceleration of the entire aircraft increases significantly, and the body attitude angle changes by a large magnitude in this stage. When the tilt-quadrotor is in the latter part of the tilt transition, since the rotor only has an acceleration effect on the wing, the handling characteristics of the tilt-quadrotor are similar to those of a propeller fixed-wing aircraft, and the attitude control is relatively stable at this time. During the simulation, the maximum amplitude of the roll angle appears in the middle of the tilt transition mode, specifically 0.6°; the pitch angle, as the main balancing value of the longitudinal profile, has a maximum amplitude change of 3.6°, which meets the safety requirements of the transition section of the tilt-quadrotor; the yaw angle changes significantly at 2s and 4s during the tilt process, with the maximum amplitude reaching 7.6°. The forward flight speed in the latter part of the tilt transition is relatively large, the fixed-wing mode characteristics of the tilt-quadrotor are obvious, and the yaw angle and roll angle are coupled with each other.

[0133] The initial conditions are set to be the same as those for uniform tilting, and the sinusoidal rate tilting strategy is:

[0134] Where: t e is the end time of the tilt transition mode. And select the transition time t e is 10s, which is consistent with the completion time of uniform tilting. The simulation results are as follows: Figure 6 , Figure 6 Part (a) is the roll angle, Figure 6 Part (b) is the pitch angle. Figure 6 Part (c) is the yaw angle, Figure 6 The middle part (d) is the height.

[0135] from Figure 6 It can be seen that the attitude angle response rules are the same under the two tilt strategies when the transition is completed in the same 10s. The sinusoidal controller weight distribution makes the transition speed between the early and mid-term faster, and the response amplitude of the attitude angle shows a large phase change. The peak time of the yaw angle amplitude is advanced from 11.0s under the uniform tilt strategy to 6.8s, and the value changes from -18° to -9.5°. The time domain simulation results of the roll angle also show the same trend of change. The peak time is advanced from 7.0s under the uniform tilt strategy to 5.2s, and the maximum value is reduced from 1° to 0.75°. The overall yaw angle and roll angle response have been optimized to a certain extent. The change in pitch angle is only a phase change, from the maximum 2.4° at 10s of uniform tilt to 8s. The response change of height is not much different under the two different tilt strategies.

[0136] like Figure 3 As shown, the present invention inputs the desired position to the position sub-controller, and the output of the position sub-controller is directly used as the reference input φ, θ of the attitude controller, and the inner loop controller completes the control of the UAV. φ, θ, ψ, are input to the attitude controller to obtain Δφ, Δθ, Δψ, that is, the control loop is divided into attitude and position loops, and the control amount δ is calculated by the control distributor to obtain [δ col1 ,δ col2 ,δ col3 ,δ col4 ,δ air1 ,δ air2 ,δ rub ] T ,Finally, the tilt-rotating quadrotor is manipulated. Then the acceleration and angular acceleration of the tilt-rotating quadrotor are calculated by the integrator to obtain the actual position. The position and angular velocity are fed back to the position sub-controller and attitude controller respectively to achieve closed-loop control. Figure 3 In the figure, the “∫” box indicates that the angular acceleration is input to calculate the current aircraft attitude; the “∫∫” box indicates that the acceleration is input to calculate the current aircraft position, which can solve the problem of poor autonomous flight control effect of existing methods and improve the flight quality of the tilt-rotor quadrotor UAV.

[0137] The present invention has the following beneficial effects:

[0138] 1. The present invention is not only applicable to the tilt-rotor quad-rotor UAV system, but also applicable to other UAV systems by appropriately generalizing and deforming the formula of the present invention method. It effectively solves the difficult modeling of the tilt-rotor quad-rotor UAV system, the environmental diversity during the flight, and the frequent interference.

[0139] 2. The present invention uses the premise of longitudinal symmetrical section force / torque balance, combines the wing stall condition and the engine available power limit to calculate the low-speed tilt angle-forward flight speed envelope and the high-speed tilt angle-speed envelope of the tilt quadrotor aircraft, that is, within the flight safety envelope, ensuring the safety of the transition process, and can effectively improve the flight quality of the tilt quadrotor aircraft during the transition process. The adaptability of this method to the tilt quadrotor aircraft is verified by calculating and analyzing the transition corridor of the tilt quadrotor aircraft.

[0140] 3. The present invention solves the problem of poor autonomous flight control effect of existing quad-rotor UAVs. While having a certain degree of anti-interference, the simulation results of the optimized control law obtain a smaller attitude angle overshoot and response time, so as to improve the flight quality of the quad-rotor UAV.

[0141] In one embodiment, a computer device is also provided, including a memory and a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the sliding mode attitude control method for the tilt quadrotor aircraft described in the above method embodiments is implemented. The computer device may be a database, and its internal structure diagram may be as shown in FIG. Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method is implemented.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the sliding mode attitude control method of the tilt-quadrotor aircraft described in the above method embodiments is implemented.

[0143] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the sliding mode attitude control method for a tilt-quadrotor aircraft described in the above method embodiments.

[0144] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards.

[0145] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0147] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A sliding mode attitude control method for a tilt quadrotor aircraft, characterized in that: include: Construct the state-space equations for the tilt-quadrotor aircraft; Construct a disturbance observer based on the state-space equations; Interference compensation is obtained by compensating the interference of the tilt-quadrotor aircraft according to the interference observer; Based on the sliding mode control theory, the position subsystem control law and the attitude subsystem control law are constructed, and the tilt-quadrotor aircraft is subjected to sliding mode control according to the position subsystem control law and the attitude subsystem control law; the position subsystem control law and the attitude subsystem control law include interference compensation.

2. The sliding mode attitude control method for a tilt quadrotor aircraft according to claim 1, characterized in that: Construct the state space equations of the tilt-quadrotor aircraft, including: Construct the dynamic and kinematic equations of the tilt-quadrotor aircraft; The state space equations of the tilt-quadrotor aircraft are constructed based on the dynamic equations and kinematic equations.

3. The sliding mode attitude control method for a tilt quadrotor aircraft according to claim 1, characterized in that: The disturbance observer is: in, represents the estimation of d, d represents interference compensation, d=[d1,d2,d3,d4], d1 represents bounded interference compensation, d2 represents roll angle interference compensation, d3 represents pitch angle interference compensation, d4 represents yaw angle interference compensation, z represents auxiliary variable, p(x) represents the first-order partial derivative of L with respect to x, Represents the first-order partial derivative of z, L represents the gain matrix, g2(x) represents the coupling function between the first state quantity and the control law, f(x) represents the state vector, g1(x) represents the coupling function between the second state quantity and the control law, u represents the control vector, and x represents the state quantity of the tilt-rotating quadrotor aircraft.

4. The sliding mode attitude control method for a tilt quadrotor aircraft according to claim 1, characterized in that: The control law of the position subsystem is: Among them, u1 represents the virtual thrust, m represents the mass of the aircraft, represents the position vector of the center of gravity of the body axis system, k1 represents the first parameter of the position subcontroller, ρ1 represents the second parameter of the position subcontroller, s1 represents the sliding surface of the position subsystem control law, x 1d is the expected position, x1 is the current position, represents the expected speed, represents the speed at the current moment, sat(s1) represents the saturation function, f1(x1) represents the part of the dynamics known, and d1 represents the bounded disturbance compensation.

5. The sliding mode attitude control method for a tilt quadrotor aircraft according to claim 1, characterized in that: The attitude subsystem control law includes: Subsystem control law for roll angle: Subsystem control law for pitch angle: Subsystem control law for yaw angle: Where u2 represents the roll angle controller input, I xx represents the inertia product in the x-axis direction under the body axis system, represents the angular acceleration in the x-axis direction at the current moment, represents the angular velocity in the x-axis direction at the current moment, f(θ, ψ) represents the part of the roll angle subsystem where the dynamics are known, represents the position vector of the center of gravity of the body axis system, k2 represents the first parameter of the roll angle sub-controller, s2 represents the attitude angle control rate sliding surface, ρ2 represents the second parameter of the roll angle sub-controller, sat(s) represents the saturation function, d2 represents the roll angle interference compensation, u3 represents the pitch angle sub-controller input, I yy represents the inertia product in the y-axis direction under the body axis system, represents the angular velocity in the y-axis direction at the current moment, e represents the exponential vector, k3 represents the first parameter of the pitch angle sub-controller, ρ3 represents the second parameter of the pitch angle sub-controller, d3 represents the pitch angle interference compensation, u4 represents the yaw angle sub-controller input, I zz represents the inertia product in the z-axis direction under the body axis system, represents the angular velocity in the z-axis direction at the current moment, k4 represents the first parameter of the yaw angle sub-controller, ρ4 represents the yaw angle sub-controller parameter, d4 represents the yaw angle interference compensation, θ represents the pitch angle, and ψ represents the yaw angle.

6. The sliding mode attitude control method for a tilt quadrotor aircraft according to claim 1, characterized in that: The sliding mode control of the tilt-rotating quadrotor aircraft is performed according to the position subsystem control law and the attitude subsystem control law, which specifically includes: The desired position and the current position are input into the position subsystem control law to obtain the virtual thrust; Obtaining a desired roll angle and a desired pitch angle according to the virtual thrust; Inputting the desired attitude angle and the angular velocity at the current moment into the attitude subsystem control law to obtain the attitude angle error; the attitude angle includes yaw angle, roll angle and pitch angle; Input the attitude angle error into the control distributor to obtain the aileron rudder deflection, the vertical tail rudder deflection and the total pitch of the four rotors; The tilt quadrotor aircraft is controlled according to the aileron rudder deflection, the vertical tail rudder deflection and the total pitch of the four rotors to obtain the angular acceleration and the acceleration at the next moment; The angular velocity and the position at the next moment are obtained according to the angular acceleration and the acceleration at the next moment, and then the moment is updated, and the step of inputting the desired position and the position at the current moment into the position subsystem control law to obtain the virtual thrust is returned.

7. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the sliding mode attitude control method for a tilt-quadrotor aircraft as described in any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the sliding mode attitude control method for a tilt-quadrotor aircraft described in any one of claims 1 to 6 is implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the sliding mode attitude control method for a tilt-quadrotor aircraft described in any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Aircraft landing method and system and vertical take-off and landing aircraft

    CN119247989A

  • Autonomous carrier landing control method for tilting quad-rotor unmanned aerial vehicle and related device

    CN119645100A

  • Method for stably controlling deformation process of unmanned aerial vehicle in complex environment

    CN119828570A

  • Aircraft gravity center self-adaptive control method and system, medium and product

    CN122195051A