CN111338369A - Multi-rotor flight control method based on nonlinear inverse compensation - Google Patents

Multi-rotor flight control method based on nonlinear inverse compensation Download PDF

Info

Publication number
CN111338369A
CN111338369A CN202010193902.7A CN202010193902A CN111338369A CN 111338369 A CN111338369 A CN 111338369A CN 202010193902 A CN202010193902 A CN 202010193902A CN 111338369 A CN111338369 A CN 111338369A
Authority
CN
China
Prior art keywords
rotor
axis
motor
aircraft
moment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010193902.7A
Other languages
Chinese (zh)
Other versions
CN111338369B (en
Inventor
张永
左婷婷
刘自力
谢志鸿
王力立
徐志良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN202010193902.7A priority Critical patent/CN111338369B/en
Publication of CN111338369A publication Critical patent/CN111338369A/en
Application granted granted Critical
Publication of CN111338369B publication Critical patent/CN111338369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/08Control of attitude, i.e. control of roll, pitch, or yaw
    • G05D1/0808Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft
    • G05D1/0816Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability
    • G05D1/0825Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using mathematical models
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Abstract

The invention discloses a multi-rotor flight control method based on nonlinear inverse compensation. The method comprises the following steps: firstly, performing dynamics analysis on a multi-rotor aircraft, and establishing a multi-rotor dynamics equation according to Newton's second law and the theorem of moment of momentum; secondly, establishing an equivalent model of the brushless direct current motor, deducing a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors, and determining a flight control equation set of the multiple rotors; and finally, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through the inverse mapping, and designing the controller based on the inner and outer ring control structure. The multi-rotor flight control method based on the nonlinear inverse compensation has the advantages of high track tracking precision, high response speed and strong anti-interference capability, and can realize stable and accurate control on the position and the attitude of the multi-rotor aircraft.

Description

Multi-rotor flight control method based on nonlinear inverse compensation
Technical Field
The invention belongs to the technical field of automatic control, and particularly relates to a multi-rotor flight control method based on nonlinear inverse compensation.
Background
The multi-rotor aircraft is an unmanned aircraft which can fly autonomously or remotely by relying on rotors to provide lift. The multi-rotor wing has wide application range, and can be used for aerial photography, rescue, plant protection, monitoring and the like, particularly in the civil field. The flight control system is an inner ring control system which uses information generated by a sensor as a feedback signal in an unmanned aerial vehicle control system to realize the stability or maneuvering action of the unmanned aerial vehicle, and common multi-rotor flight control methods comprise PID (proportion integration differentiation), optimal control, sliding mode control and fuzzy logic control.
At present, a controller is designed by a conventional PID control method widely adopted in engineering, the conventional controller has no great requirement on the precision of a multi-rotor aircraft model, the influence of an uncertain item in the multi-rotor aircraft model is neglected, the approximation is only realized when the multi-rotor aircraft is in a near hovering state, and when the multi-rotor aircraft carries out large-maneuvering flight, the performance of the conventional controller is sharply deteriorated, and potential safety hazards exist. Meanwhile, the conventional controller only provides a feedback channel for the output of the control system, the control law design process is simple, the control precision is low, the control performance is poor, and the strong coupling in the flight process, the uncertainty of a multi-rotor aircraft model and the external interference are difficult to deal with.
Disclosure of Invention
The invention aims to provide a multi-rotor flight control method based on nonlinear inverse compensation, which has high track tracking precision, high response speed and strong anti-interference capability.
The technical solution for realizing the purpose of the invention is as follows: a multi-rotor flight control method based on nonlinear inverse compensation comprises the following steps:
step 1, performing dynamics analysis on a multi-rotor aircraft, and establishing a multi-rotor dynamics equation according to a Newton second law and a momentum moment theorem;
step 2, establishing an equivalent model of the brushless direct current motor, deducing a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors, and determining a flight control equation set of the multiple rotors;
and 3, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through the inverse mapping, and designing the controller based on the inner and outer ring control structure.
Compared with the prior art, the invention has the following remarkable advantages: (1) the interference of a nonlinear link and external interference on the flight process can be reduced, and the control precision and the control performance of the multi-rotor aircraft model are improved, so that the flight safety and operability of the multi-rotor aircraft are improved; (2) the multi-rotor-wing tracking system has the advantages of high track tracking precision, high response speed and high anti-interference capability, and can well control the positions and the postures of multiple rotors.
Drawings
Fig. 1 is a flowchart of a method for controlling a multi-rotor flight based on nonlinear inverse compensation according to an embodiment of the present invention.
Fig. 2 is a schematic view of a multi-rotor aircraft according to an embodiment of the present invention.
Fig. 3 is a structural diagram of flight control of a multi-rotor unmanned aerial vehicle based on nonlinear inverse compensation according to an embodiment of the present invention.
Fig. 4 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention2Structure diagram.
Fig. 5 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention2A control block diagram of (1).
Fig. 6 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention1Structure diagram.
Fig. 7 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention1A control block diagram of (1).
FIG. 8 is a graph of a desired thrust versus a desired acceleration provided by an embodiment of the present invention.
Fig. 9 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention3Structure diagram.
Fig. 10 is a pseudo linear segment Γ based on a nonlinear inverse compensation method according to an embodiment of the present invention3A control block diagram of (1).
Fig. 11 is a simulation diagram of attitude angle step signal control provided by the embodiment of the present invention, in which (a) is a step signal response curve diagram, and (b) is a step response error curve diagram.
Fig. 12 is a simulation diagram of position step signal control provided by the embodiment of the present invention, in which (a) is a step response curve diagram, and (b) is a step response error curve diagram.
Fig. 13 is a simulation diagram of the "go back" shape trajectory tracking provided by the embodiment of the present invention, in which (a) is a trajectory tracking curve graph and (b) is a trajectory tracking error curve graph.
Fig. 14 is a simulation diagram of plane tracking of the circular trajectory XOY according to the embodiment of the present invention, where (a) is a projection diagram of the trajectory on the XOY plane, and (b) is a Y-direction tracking error curve diagram.
Fig. 15 is a simulation diagram of "go back" type track height tracking according to an embodiment of the present invention, in which (a) is a graph of height tracking and (b) is a graph of height tracking error.
Detailed Description
With reference to fig. 1, the present invention provides a multi-rotor flight control method based on nonlinear inverse compensation, which includes the following steps:
step 1, performing dynamics analysis on a multi-rotor aircraft, and establishing a multi-rotor dynamics equation according to a Newton second law and a momentum moment theorem;
step 2, establishing an equivalent model of the brushless direct current motor, deducing a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors, and determining a flight control equation set of the multiple rotors;
and 3, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through the inverse mapping, and designing the controller based on the inner and outer ring control structure.
Further, step 1 said carry on dynamics analysis to many rotor crafts, establish many rotor dynamics equation according to newton's second law and momentum moment theorem, specifically as follows:
first, the following 4 assumptions are made:
(1) the aircraft is a rigid body with six degrees of freedom, and the mass of the aircraft is kept unchanged in the flight process;
(2) the center of mass of the aircraft is positioned on the geometric center line of the aircraft and is positioned at the origin of the coordinate system of the aircraft body;
(3) the external interference and gravity on the aircraft are not influenced by the flight height;
(4) the rotor wing is a rigid body;
secondly, establishing a moment equation set, a motion equation set and a position equation set which represent a dynamic model of the multi-rotor aircraft:
the set of moment equations is expressed as follows:
Figure BDA0002416883110000031
wherein, p, q and r respectively represent angular velocities around an x axis, a y axis and a z axis of a body axis, and are in a moment form;
Figure BDA0002416883110000032
respectively representing roll angular acceleration, pitch angular acceleration and yaw angular acceleration; dp,Dq,DrRespectively representing the components of the external interference D along the x axis, the y axis and the z axis of the machine system in a moment form; j. the design is a squarebx,Jby,JbzRespectively, the moments of inertia about the x, y, z axes of the machine system, JrotorRepresenting the moment of inertia of the rotor, Ω is the sum of the angular speeds of the 4 motors; mφ(F)、Mθ(F)、Mψ(F) The components of the moment of the combined external force on the center of mass of the multi-rotor wing on the x axis, the y axis and the z axis of the aircraft system are respectively;
the set of equations of motion is expressed as follows:
Figure BDA0002416883110000033
wherein phi, theta and psi are respectively a roll angle, a pitch angle and a yaw angle,
Figure BDA0002416883110000034
respectively roll angle change rate, pitch angle change rate and yaw angle change rate;
the set of position equations is expressed as follows:
Figure BDA0002416883110000041
wherein T represents motor tension;
Figure BDA0002416883110000042
respectively representing the acceleration of the mass center of the aircraft along the x axis, the y axis and the z axis of a ground coordinate system; dx,Dy,DzRespectively representing the components of the external interference D along the x axis, the y axis and the z axis of the ground coordinate system in the form of force; g represents the gravitational acceleration, m represents the mass of the aircraft; a isnx、any、anzAre the x-, y-, and z-axis components of acceleration in the navigational coordinate system.
Further, step 2, establishing an equivalent model of the brushless dc motor, and deriving a relationship between the motor speed and the force and torque applied to the multiple rotors, specifically as follows:
the phase voltage of each phase winding of the brushless direct current motor consists of a resistance voltage drop part and a winding induced potential, wherein the winding induced potential comprises potentials generated by self inductance of the windings and mutual inductance between the windings, and counter electromotive force generated by cutting magnetic lines of force by the windings in a magnetic field;
if the control voltage at two ends of the armature circuit of the motor is u, the winding current is i, and the angular velocity of the rotor is ω, the voltage balance equation of the armature circuit is:
Figure BDA0002416883110000043
wherein R isaIs the equivalent resistance of the motor, LaIs the equivalent inductance of the motor, keIs the back electromotive force coefficient, t is the time;
electromagnetic torque T of motore=kti, where ktIs an electric torque coefficient and a load torque of TmA viscous friction coefficient of BaThe moment of inertia of the motor is JrotorThen, the torque balance equation of the motor is:
Figure BDA0002416883110000044
when the motor is in steady state, di/dt is 0, the voltage balance equation of the armature loop becomes:
Figure BDA0002416883110000045
thus, under steady state conditions, the mathematical model of the motor is:
Figure BDA0002416883110000051
because of TmRelated to omega, the mathematical model of the motor of the above formula shows nonlinearity, and the mathematical model of the motor of the above formula is corresponding to the rotating speed point omega0Linearization was performed to obtain:
Figure BDA0002416883110000052
wherein A, B and C are constants;
Figure BDA0002416883110000053
is the time derivative of the motor speed omega.
Further, step 2 determines a multi-rotor flight control equation set, specifically as follows:
selecting variables as control variables according to the motion mechanism of the multi-rotor aircraft, and selecting parameters which can be obtained through a sensor as much as possible as state variables according to the requirement of reducing uncertainty;
the control quantity comprises: u. of1,u2,u3,u4The expression is:
Figure BDA0002416883110000054
wherein u is1Is the total tension input, u2,u3,u4Respectively roll, pitch, yaw input, T1,T2,T3,T4For the pull of four motors, omega1234At four motor speeds, KTIs the tension coefficient; kQIs a coefficient of resistance;
considering external interference, the multi-rotor flight control equation set is as follows:
Figure BDA0002416883110000055
wherein lbx、lbyThe lengths of the force arms of the x axis and the y axis of the body axis respectively,
Figure BDA0002416883110000056
are the x-axis, y-axis and z-axis components of the acceleration in the navigational coordinate system.
Further, step 3, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through inverse mapping, and designing a controller based on the inner and outer ring control structures, specifically as follows:
the transfer function of the attitude control system is as follows:
Figure BDA0002416883110000061
R1(s) is a gesture input signal, Y1(s) is the attitude output signal, H2(s)=diag{h21,h22,h23Is the state feedback matrix of the angular velocity control loop, K2p=diag{k2p1,k2p2,k2p3Is the proportionality coefficient of the angular velocity control loop, K1p=diag{k1p1,k1p2,k1p3Is the proportionality coefficient of the attitude control loop, K1d=diag{k1d1,k1d2,k1d3Is the differential coefficient of the attitude control loop;
the transfer function of the position control system is:
Figure BDA0002416883110000062
wherein, a1=(H2+K1dK2p),a2=(K1pK2p+K1dK2pK4p),a3=(K1dK2pK4p+K1dK2pK3pK4p),a4=K1pK2pK3pK4p,b1=K1dK2pK3pK4p,b2=K1pK2pK3pK4p,K3p=diag{k3p1,k3p2,k3p3Is the proportionality coefficient of the speed control loop, K4p=diag{k4p1,k4p2,k4p3Is the proportionality coefficient of the position control loop.
The invention is described in further detail below with reference to the figures and the embodiments.
Examples
The embodiment provides a multi-rotor flight control method based on nonlinear inverse compensation, which comprises the following steps:
s1: firstly, carrying out comprehensive dynamics analysis on a multi-rotor aircraft, and establishing a multi-rotor dynamics equation according to Newton's second law and the theorem of moment of momentum;
s2: then, establishing an equivalent model of the brushless direct current motor, deducing a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors, and determining a flight control equation set of the multiple rotors;
s3: and finally, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through the inverse mapping, and designing the controller based on the inner and outer ring control structure.
According to the multi-rotor flight control method based on the nonlinear inverse compensation, firstly, comprehensive dynamics analysis is carried out on a multi-rotor aircraft, and a multi-rotor dynamics equation is established according to Newton's second law and the theorem of moment of momentum. Secondly, an equivalent model of the brushless direct current motor is established, and a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors is deduced. And then, a control method based on nonlinear link inverse compensation is provided based on an inner ring control structure and an outer ring control structure, so that the interference of the nonlinear link and the external interference to the flight process can be reduced, the control precision and the control performance of the multi-rotor aircraft model are improved, and the flight safety and the operability of the multi-rotor aircraft model are improved.
First, building a multi-rotor aircraft model based on the multi-rotor aircraft mathematical model and accuracy requirements includes:
a multi-rotor aircraft is shown in figure 2. The inherent parameters are shown in the table 1, and the maximum lifting force provided by a single steering engine is 300 g.
TABLE 1 Multi-rotor intrinsic parameters
Figure BDA0002416883110000071
The control quantity comprises: u. of1,u2,u3,u4. The expression is as follows:
Figure BDA0002416883110000072
wherein T is1,T2,T3,T4Power, omega, supplied to rotors 1, 2, 3, 4, respectively1234At four motor speeds, KTIs the coefficient of tension.
In this embodiment, based on flight mechanics and aerodynamics principle to according to the control performance requirement, carry out atress analysis to many rotor crafts, and combine the relevant knowledge of kinematics, confirm many rotor crafts mathematical model through following step, many rotor craft kinetic model includes: a set of moment equations, a set of motion equations and a set of position equations representing a multi-rotor aircraft dynamics model;
the set of moment equations is expressed as follows:
Figure BDA0002416883110000081
wherein p, q, r respectively represent a roll angular velocity, a pitch angular velocity and a yaw angular velocity,
Figure BDA0002416883110000082
respectively representing roll angular acceleration, pitch angular acceleration and yaw angular acceleration, Dp,Dq,DrRespectively representing the components of the external disturbance D along the x-axis, the y-axis and the z-axis of the body system, in the form of moments. (J)bx,Jby,Jbz) Respectively, the moments of inertia about the x, y, z axes of the machine system, JrotorRepresenting the moment of inertia of the rotor, Ω is the sum of the angular speeds of the 4 motors.
The set of equations of motion is expressed as follows:
Figure BDA0002416883110000083
the set of position equations is expressed as follows:
Figure BDA0002416883110000084
wherein, T represents the pulling force of the motor,
Figure BDA0002416883110000085
representing the acceleration of the aircraft's centre of mass along the x-, y-and z-axes, respectively, of the ground coordinate system, Dx,Dy,DzRepresenting the components of the external disturbance D along the x-, y-and z-axes, respectively, of the ground coordinate system, in the form of a force. g denotes the gravitational acceleration and m denotes the mass of the aircraft.
After an initial state is given, the angular acceleration of the multi-rotor aircraft is completely determined by the moment generated by the rotation of the rotors, namely the control of the angular motion can be realized by controlling the moment of the mass center of the multi-rotor; the acceleration of the multiple rotors is not only related to the tension of the rotors, but also related to the attitude angles of the rotors, under the condition of known initial state, the acceleration of the multiple rotors needs to be controlled by controlling the tension and the attitude angles of the rotors, so that the control of the linear motion of the multiple rotors is realized, and the attitude angles cannot be directly controlled, which shows that the coupling and the relation exist between the angular motion and the linear motion. The relationship between multi-rotor angular motion and linear motion is shown in figure 3. Considering external interference, the multi-rotor flight control equation set is as follows:
Figure BDA0002416883110000091
according to the step 3, the control method based on the nonlinear link inverse compensation is provided based on the inner and outer ring control structure, and comprises the following steps: and (3) establishing inverse mapping of a nonlinear link, establishing a pseudo-linear system through inverse mapping, and designing a controller based on an inner ring control structure and an outer ring control structure.
Setting attitude angle of multiple rotors as state y1Angular velocity as a control input v1The rotational kinematic link of which can be written as a map T1:v1→y1
Figure BDA0002416883110000092
Wherein:
Figure BDA0002416883110000093
is provided with
Figure BDA0002416883110000094
Because of the matrix B1Is reversible, so that the link (6) has inverse mapping T1 -1:
Figure BDA0002416883110000095
Figure BDA0002416883110000096
Link T1 -1:
Figure BDA0002416883110000097
Is the first-order integral inverse mapping of the original link.
Let the angular velocity states of the multiple rotors be y2Motor control input is v2The rotational dynamics can be written as a map T2:v2→y2
Figure BDA0002416883110000098
Wherein:
Figure BDA0002416883110000101
Figure BDA0002416883110000102
is provided with
Figure BDA0002416883110000103
Because of the matrix B2Is reversible, so that the link (10) has inverse mapping T2 -1:
Figure BDA0002416883110000104
Figure BDA0002416883110000105
Link T2 -1:
Figure BDA0002416883110000106
Is the first order inverse mapping of the original link.
Inverse mapping the first order to T2 -1:
Figure BDA0002416883110000107
Is connected in series with the original ring segment to obtain a composite link with the symbol gamma2The structure is shown in FIG. 4.
Figure BDA0002416883110000108
To y2Equivalent pull ofThe Fourier transform is:
Figure BDA0002416883110000109
design link gamma2The state feedback controller of (2) is shown in fig. 5.
Wherein:
Figure BDA00024168831100001010
the transfer function of the link shown in fig. 5 is:
Figure BDA00024168831100001011
r2as links t2The physical meaning of which is the desired angular velocity. Introduction of a proportionality coefficient K2pIs provided with r2And link T1 -1:
Figure BDA00024168831100001012
The relationship of (1) is:
r2=K2pv1=diag{k2p1,k2p2,k2p3}v1(17)
at the following link F2On the basis of the link T1:v1→y1Pseudo linear link gamma of1As shown in fig. 6.
Figure BDA0002416883110000111
To y1The equivalent lagrange transformation of (a) is:
Figure BDA0002416883110000112
design link gamma1As shown in fig. 7.
r1Is the desired pose, PD represents the proportional-derivative element:
Figure BDA0002416883110000113
wherein, K1p=diag{k1p1,k1p2,k1p3},K1d=diag{k1d1,k1d2,k1d3}。
The transfer function of the link shown in fig. 8 is:
Figure BDA0002416883110000114
equation (20) is the attitude control link transfer function based on the inverse mapping method.
For position control, when a desired position is given, a desired acceleration can be obtained from the current position, which can be converted into a desired roll angle φdAnd a desired pitch angle θdDesired yaw angle psidGiven by a control instruction (phi)ddd) That is, the desired value of the attitude control loop, the attitude can be controlled using an attitude controller. The desired acceleration and desired attitude angle conversion relationship is given in the position control loop.
The attitude of the multiple rotors can be obtained in navigation information, and the expected acceleration a is obtained through a position control equationnd
Figure BDA0002416883110000115
Let the acceleration corresponding to the desired thrust of the multiple rotors be aTdIt and the desired acceleration andThe relationship of (2) is shown in FIG. 8.
Wherein, aTdDesired acceleration a for multiple rotorsndSum and interference force DnCorresponding to the vector difference of acceleration and gravitational acceleration g, aTdThe expression under the inertial system is:
Figure BDA0002416883110000121
wherein D isn=[Dx;Dy;Dz]。
Let the axial unit vector of the desired machine system be [ i ]bdjbdkbd]Vector k due to the fixed structure of the multiple rotorsbdA direction ofTdIn opposite directions, thus aTdThe expression under the desired regime is:
Figure BDA0002416883110000122
the current yaw angle psi is obtained by a sensor to obtain aTdThen, let the navigation system be the rotation matrix of the desired system
Figure BDA0002416883110000123
Substitution into aTdAfter that
Figure BDA0002416883110000124
Satisfies the following conditions:
Figure BDA0002416883110000125
wherein:
Figure BDA0002416883110000126
from the orthogonality of the rotation matrix, the desired attitude angle is derived:
Figure BDA0002416883110000127
due to the limited range of attitude adjustability of the multiple rotors, clipping of the desired attitude is required. To maintain stability, limit its desired roll angle φdAnd a desired pitch angle θdComprises the following steps:
Figure BDA0002416883110000131
at this time, the clipping processing is performed on equation (26) so as to satisfy:
Figure BDA0002416883110000132
the translational kinetic equation of the multi-rotor is as follows:
Figure BDA0002416883110000133
wherein, | aTAnd | is the magnitude of the acceleration corresponding to the motor thrust. Setting the position state of multiple rotors as y3Control input is v3The rotational dynamics can be written as a map T3:v3→y3
Figure BDA0002416883110000134
Wherein:
Figure BDA0002416883110000135
Figure BDA0002416883110000136
is provided with
Figure BDA0002416883110000137
In the case of a known yaw angle command, the link T3There is an inverse mapping T3-1:
Figure BDA0002416883110000138
Figure BDA0002416883110000139
Figure BDA0002416883110000141
The expression of (a) is:
Figure BDA0002416883110000142
link T3 -1:
Figure BDA0002416883110000143
Is a second order inverse mapping of the original link, where the output v3The physical meaning of (A) is a desired thrust and a desired Euler angle, and r1The relationship of (1) is:
Figure BDA0002416883110000144
inverse mapping the second order to T3 -1:
Figure BDA0002416883110000145
Connected in series with its original ring segment to obtain a complete composite system, denoted by the symbol Γ3The structure is shown in FIG. 9.
Figure BDA0002416883110000146
To y3The equivalent lagrange transformation of (a) is:
Figure BDA0002416883110000147
design system gamma3As shown in fig. 10:
wherein:
Figure BDA0002416883110000148
the transfer function of the system shown in fig. 10 is:
Figure BDA0002416883110000149
wherein,a1=(H2+K1dK2p),a2=(K1pK2p+K1dK2pK4p),a3=(K1dK2pK4p+K1dK2pK3pK4p),a4=K1pK2pK3pK4p,b1=K1dK2pK3pK4p,b2=K1pK2pK3pK4p
The external interference is set to be zero, and the attitude controller parameters obtained through parameter setting are shown in table 2. Assuming that the initial state of the multiple rotors is zero, the desired attitude angle is 30 °. Using the parameters of table 2, an attitude response curve is obtained as shown in fig. 11(a), and an error curve is obtained as shown in fig. 11 (b). As can be seen from the simulation curve, the step response errors of all attitude angles approach to 0, overshoot is avoided, and the yaw angle adjusting time (5%) reaching the steady state at the latest is about 0.42s, which indicates that the steady state performance and the dynamic performance of the system both meet the design index, and the dynamic characteristic of the actual attitude angle is matched with the theoretical analysis conclusion, so that the attitude controller is effective.
The external interference is set to be zero, and the parameters of the position controller obtained through parameter setting are shown in table 3. Let the initial state of the multiple rotors be zero and the desired position be [ x ]nd,ynd,alt]=[5m,5m,5m]. Using the parameters of table 3, a position response curve is obtained as shown in fig. 12(a), and an error curve is obtained as shown in fig. 12 (b). As can be seen from the simulation curve, the step response errors of all the positions are close to 0, no overshoot exists, and the state regulation time of reaching the steady state at the latest is about 3.08s, which shows that the steady state performance and the dynamic performance of the system both meet the design index, so that the designed position controller has a good control effect.
TABLE 2 attitude control parameters
Figure BDA0002416883110000151
TABLE 3 position control parameters
Figure BDA0002416883110000152
The following analyzes the tracking characteristics of the control system. A set of position instructions (0,0,0) → (0,0,5) → (5,0,5) → (5,5,5) → (0,5,5) → (0,0,5) is designed to form a 'return' font track, and the design instruction running time is 25 s. The trajectory tracking curve is shown in fig. 13(a), and the tracking error graph 13 (b). From the above simulation curves, it can be seen that the multi-rotor ensemble is able to track trajectory commands. And the tracking effect in the horizontal direction is consistent with the response characteristic of the step signal, and before the next command is switched, the multiple rotors reach the current command position without overshoot. As can be seen from fig. 14(a) and 14(b), in the XOY plane, the multi-rotor trajectory substantially conforms to the command trajectory, and the tuning time in the y direction is 3.09s, which meets the design requirements. As can be seen from fig. 15(a) and 15(b), the multi-rotor is stable in the height direction as a whole, and small fluctuation occurs when the command is switched (the horizontal direction changes more sharply), and the amplitude of the fluctuation does not exceed 0.081 m. And (4) conclusion: the controller can meet the requirement of tracking the 'return' font track instruction.
In this embodiment, a multi-rotor aircraft simulation model is established according to a resolvable nonlinear link compensation controller, adjustment parameters of a nonlinear inverse compensation controller are adjusted until control performance meets control requirements, and preliminary verification is performed on the multi-rotor aircraft simulation model based on the nonlinear inverse compensation controller, where the control performance includes: response time overshoot, interference rejection capability.

Claims (5)

1. A multi-rotor flight control method based on nonlinear inverse compensation is characterized by comprising the following steps:
step 1, performing dynamics analysis on a multi-rotor aircraft, and establishing a multi-rotor dynamics equation according to a Newton second law and a momentum moment theorem;
step 2, establishing an equivalent model of the brushless direct current motor, deducing a relational expression of the motor rotating speed and the force and the moment borne by the multiple rotors, and determining a flight control equation set of the multiple rotors;
and 3, establishing inverse mapping of the nonlinear link, establishing a pseudo-linear system through the inverse mapping, and designing the controller based on the inner and outer ring control structure.
2. The method for multi-rotor flight control based on nonlinear inverse compensation of claim 1, wherein step 1 is performed on a multi-rotor aircraft to perform a dynamics analysis, and a multi-rotor dynamics equation is established according to newton's second law and the theorem of moment of momentum as follows:
first, the following 4 assumptions are made:
(1) the aircraft is a rigid body with six degrees of freedom, and the mass of the aircraft is kept unchanged in the flight process;
(2) the center of mass of the aircraft is positioned on the geometric center line of the aircraft and is positioned at the origin of the coordinate system of the aircraft body;
(3) the external interference and gravity on the aircraft are not influenced by the flight height;
(4) the rotor wing is a rigid body;
secondly, establishing a moment equation set, a motion equation set and a position equation set which represent a dynamic model of the multi-rotor aircraft:
the set of moment equations is expressed as follows:
Figure FDA0002416883100000011
wherein, p, q and r respectively represent angular velocities around an x axis, a y axis and a z axis of a body axis, and are in a moment form;
Figure FDA0002416883100000012
respectively representing roll angular acceleration, pitch angular acceleration and yaw angular acceleration; dp,Dq,DrRespectively representing the components of the external interference D along the x axis, the y axis and the z axis of the machine system in a moment form; j. the design is a squarebx,Jby,JbzRespectively, the moments of inertia about the x, y, z axes of the machine system, JrotorRepresenting the moment of inertia of the rotor, Ω is the sum of the angular speeds of the 4 motors; mφ(F)、Mθ(F)、Mψ(F) The components of the moment of the combined external force on the center of mass of the multi-rotor wing on the x axis, the y axis and the z axis of the aircraft system are respectively;
the set of equations of motion is expressed as follows:
Figure FDA0002416883100000021
wherein phi, theta and psi are respectively a roll angle, a pitch angle and a yaw angle,
Figure FDA0002416883100000022
respectively roll angle change rate, pitch angle change rate and yaw angle change rate;
the set of position equations is expressed as follows:
Figure FDA0002416883100000023
wherein T represents motor tension;
Figure FDA0002416883100000024
respectively representing the acceleration of the mass center of the aircraft along the x axis, the y axis and the z axis of a ground coordinate system; dx,Dy,DzRespectively representing the components of the external interference D along the x axis, the y axis and the z axis of the ground coordinate system in the form of force; g represents the gravitational acceleration, m represents the mass of the aircraft; a isnx、any、anzAre the x-, y-, and z-axis components of acceleration in the navigational coordinate system.
3. The method for controlling flight of multiple rotors based on nonlinear inverse compensation according to claim 1, wherein step 2 is to establish an equivalent model of the brushless dc motor and derive a relation between the motor speed and the force and moment applied to the multiple rotors, specifically as follows:
the phase voltage of each phase winding of the brushless direct current motor consists of a resistance voltage drop part and a winding induced potential, wherein the winding induced potential comprises potentials generated by self inductance of the windings and mutual inductance between the windings, and counter electromotive force generated by cutting magnetic lines of force by the windings in a magnetic field;
if the control voltage at two ends of the armature circuit of the motor is u, the winding current is i, and the angular velocity of the rotor is ω, the voltage balance equation of the armature circuit is:
Figure FDA0002416883100000025
wherein R isaIs the equivalent resistance of the motor, LaIs the equivalent inductance of the motor, keIs the back electromotive force coefficient, t is the time;
electromagnetic torque T of motore=kti, where ktIs an electric torque coefficient and a load torque of TmA viscous friction coefficient of BaThe moment of inertia of the motor is JrotorThen, the torque balance equation of the motor is:
Figure FDA0002416883100000031
when the motor is in a steady state, di/dt is 0, equation (4) becomes:
Figure FDA0002416883100000032
thus, under steady state conditions, the mathematical model of the motor is:
Figure FDA0002416883100000033
because of TmRelated to omega, the expression (7) shows nonlinearity, and the pair of the expression (7) is at the rotating speed point omega0Linearization was performed to obtain:
Figure FDA0002416883100000034
wherein A, B and C are constants;
Figure FDA0002416883100000035
is the time derivative of the motor speed omega.
4. The method for multi-rotor flight control based on nonlinear inverse compensation of claim 1, wherein the multi-rotor flight control equation set determined in step 2 is as follows:
selecting variables as control variables according to the motion mechanism of the multi-rotor aircraft, and selecting parameters which can be obtained through a sensor as much as possible as state variables according to the requirement of reducing uncertainty;
the control quantity comprises: u. of1,u2,u3,u4The expression is:
Figure FDA0002416883100000036
wherein u is1Is the total tension input, u2,u3,u4Respectively roll, pitch, yaw input, T1,T2,T3,T4For the pull of four motors, omega1234At four motor speeds, KTIs the tension coefficient; kQIs a coefficient of resistance;
considering external interference, the multi-rotor flight control equation set is as follows:
Figure FDA0002416883100000041
wherein lbx、lbyThe lengths of the force arms of the x axis and the y axis of the body axis respectively,
Figure FDA0002416883100000042
are the x-axis, y-axis and z-axis components of the acceleration in the navigational coordinate system.
5. The nonlinear inverse compensation-based multi-rotor flight control method according to claim 1, wherein the inverse mapping of the nonlinear element is established in step 3, a pseudo-linear system is built through the inverse mapping, and the controller is designed based on an inner and outer ring control structure, specifically as follows:
the transfer function of the attitude control system is as follows:
Figure FDA0002416883100000043
R1(s) is a gesture input signal, Y1(s) is the attitude output signal, H2(s)=diag{h21,h22,h23Is the state feedback matrix of the angular velocity control loop, K2p=diag{k2p1,k2p2,k2p3Is the proportionality coefficient of the angular velocity control loop, K1p=diag{k1p1,k1p2,k1p3Is the proportionality coefficient of the attitude control loop, K1d=diag{k1d1,k1d2,k1d3Is the differential coefficient of the attitude control loop;
the transfer function of the position control system is:
Figure FDA0002416883100000044
wherein, a1=(H2+K1dK2p),a2=(K1pK2p+K1dK2pK4p),a3=(K1dK2pK4p+K1dK2pK3pK4p),a4=K1pK2pK3pK4p,b1=K1dK2pK3pK4p,b2=K1pK2pK3pK4p,K3p=diag{k3p1,k3p2,k3p3Is the proportionality coefficient of the speed control loop, K4p=diag{k4p1,k4p2,k4p3Is the proportionality coefficient of the position control loop.
CN202010193902.7A 2020-03-19 2020-03-19 Multi-rotor flight control method based on nonlinear inverse compensation Active CN111338369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010193902.7A CN111338369B (en) 2020-03-19 2020-03-19 Multi-rotor flight control method based on nonlinear inverse compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010193902.7A CN111338369B (en) 2020-03-19 2020-03-19 Multi-rotor flight control method based on nonlinear inverse compensation

Publications (2)

Publication Number Publication Date
CN111338369A true CN111338369A (en) 2020-06-26
CN111338369B CN111338369B (en) 2022-08-12

Family

ID=71186188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010193902.7A Active CN111338369B (en) 2020-03-19 2020-03-19 Multi-rotor flight control method based on nonlinear inverse compensation

Country Status (1)

Country Link
CN (1) CN111338369B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464359A (en) * 2020-11-03 2021-03-09 中国直升机设计研究所 Flight quality modeling and checking method of multi-gyroplane

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080147251A1 (en) * 2006-12-19 2008-06-19 Jia Luo Multi-axis trim processing
CN104932512A (en) * 2015-06-24 2015-09-23 北京科技大学 Quadrotor posture control method based on MIMO nonlinear uncertain backstepping approach
CN105739513A (en) * 2016-02-05 2016-07-06 北京航空航天大学 Quadrotor flying robot non-linear trajectory tracking controller and tracking control method thereof
CN106933104A (en) * 2017-04-21 2017-07-07 苏州工业职业技术学院 A kind of quadrotor attitude based on DIC PID and the mixing control method of position
CN108445895A (en) * 2018-02-05 2018-08-24 天津大学 Robust control method for the control of three rotor wing unmanned aerial vehicle position of tilting type
CN108803639A (en) * 2018-05-29 2018-11-13 南京理工大学 A kind of quadrotor flight control method based on Backstepping
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
WO2019055025A1 (en) * 2017-09-15 2019-03-21 Sanyal Amit K Integrated guidance and feedback control for autonomous vehicle
CN110018691A (en) * 2019-04-19 2019-07-16 天津大学 Small-sized multi-rotor unmanned aerial vehicle state of flight estimating system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080147251A1 (en) * 2006-12-19 2008-06-19 Jia Luo Multi-axis trim processing
CN104932512A (en) * 2015-06-24 2015-09-23 北京科技大学 Quadrotor posture control method based on MIMO nonlinear uncertain backstepping approach
CN105739513A (en) * 2016-02-05 2016-07-06 北京航空航天大学 Quadrotor flying robot non-linear trajectory tracking controller and tracking control method thereof
CN106933104A (en) * 2017-04-21 2017-07-07 苏州工业职业技术学院 A kind of quadrotor attitude based on DIC PID and the mixing control method of position
WO2019055025A1 (en) * 2017-09-15 2019-03-21 Sanyal Amit K Integrated guidance and feedback control for autonomous vehicle
CN108445895A (en) * 2018-02-05 2018-08-24 天津大学 Robust control method for the control of three rotor wing unmanned aerial vehicle position of tilting type
CN108803639A (en) * 2018-05-29 2018-11-13 南京理工大学 A kind of quadrotor flight control method based on Backstepping
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
CN110018691A (en) * 2019-04-19 2019-07-16 天津大学 Small-sized multi-rotor unmanned aerial vehicle state of flight estimating system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张惠平: "高超声速飞行器自抗扰轨迹线性化控制器的优化设计", 《战术导弹技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464359A (en) * 2020-11-03 2021-03-09 中国直升机设计研究所 Flight quality modeling and checking method of multi-gyroplane
CN112464359B (en) * 2020-11-03 2022-12-06 中国直升机设计研究所 Flight quality modeling and checking method of multi-gyroplane

Also Published As

Publication number Publication date
CN111338369B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
Wang et al. Dynamics modelling and linear control of quadcopter
Kaufman et al. Design and development of a free-floating hexrotor UAV for 6-DOF maneuvers
Raffo et al. An integral predictive/nonlinear H∞ control structure for a quadrotor helicopter
Madani et al. Backstepping control with exact 2-sliding mode estimation for a quadrotor unmanned aerial vehicle
Arellano-Muro et al. Backstepping control with sliding mode estimation for a hexacopter
CN112346470A (en) Four-rotor attitude control method based on improved active disturbance rejection control
Huang et al. Generic adaptive sliding mode control for a quadrotor UAV system subject to severe parametric uncertainties and fully unknown external disturbance
CN111459188B (en) Quaternion-based multi-rotor nonlinear flight control method
Chen et al. Autonomous flight control for multi-rotor UAVs flying at low altitude
Zha et al. Quaternion-based nonlinear trajectory tracking control of a quadrotor unmanned aerial vehicle
CN110824925A (en) Adaptive robust fault-tolerant control method for tilting type three-rotor unmanned aerial vehicle
CN110456816A (en) A kind of quadrotor Trajectory Tracking Control method based on continuous terminal sliding mode
Zareb et al. Fuzzy-PID hybrid control system to navigate an autonomous mini-Quadrotor
Sun et al. Nonlinear robust compensation method for trajectory tracking control of quadrotors
Kumar et al. Quaternion feedback based autonomous control of a quadcopter uav with thrust vectoring rotors
Zhang et al. Discrete-time adaptive neural tracking control and its experiments for quadrotor unmanned aerial vehicle systems
Qingtong et al. Backstepping-based attitude control for a quadrotor UAV using nonlinear disturbance observer
CN109976364B (en) Attitude decoupling control method for six-rotor aircraft
Akbar et al. Adaptive modified super-twisting control for a quadrotor helicopter with a nonlinear sliding surface
CN111338369B (en) Multi-rotor flight control method based on nonlinear inverse compensation
Song et al. Research on attitude control of quadrotor uav based on active disturbance rejection control
Bulka et al. A universal controller for unmanned aerial vehicles
Zhao et al. Trajectory tracking control for quadrotor uavs based on composite nonsingular terminal sliding mode method
CN115202213A (en) Four-rotor aircraft control method based on active disturbance rejection control
Gao et al. Event-triggered tracking control scheme for quadrotors with external disturbances: theory and validations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant