CN112230670A - Formation control method for multi-four-rotor aircraft with predictor - Google Patents

Formation control method for multi-four-rotor aircraft with predictor Download PDF

Info

Publication number
CN112230670A
CN112230670A CN202011180857.8A CN202011180857A CN112230670A CN 112230670 A CN112230670 A CN 112230670A CN 202011180857 A CN202011180857 A CN 202011180857A CN 112230670 A CN112230670 A CN 112230670A
Authority
CN
China
Prior art keywords
output
unit
operation unit
attitude
comparator
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
CN202011180857.8A
Other languages
Chinese (zh)
Other versions
CN112230670B (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 Posts and Telecommunications
Original Assignee
Nanjing University of Posts and Telecommunications
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 Posts and Telecommunications filed Critical Nanjing University of Posts and Telecommunications
Priority to CN202011180857.8A priority Critical patent/CN112230670B/en
Publication of CN112230670A publication Critical patent/CN112230670A/en
Application granted granted Critical
Publication of CN112230670B publication Critical patent/CN112230670B/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/0833Control of attitude, i.e. control of roll, pitch, or yaw specially adapted for aircraft to ensure stability using limited authority control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a formation control method of a multi-four-rotor aircraft with a predictor, which comprises the following steps: step 1, setting a four-rotor aircraft as a leader, setting N four-rotor aircraft with unknown dynamics as followers, and using a networked system formed by connecting the followers and the leader through a one-way topological graph as a controlled object; step 2, the ith follower in the N followers is provided with a position controller and an attitude controller, the input ends of the position controller and the attitude controller of the ith follower are connected with the output end of the directed graph G, the output end of the position controller of the ith follower is connected with the input end of the position controller of the ith follower, and the output end of the attitude controller of the ith follower is connected with the input end of the attitude controller of the ith follower; the control method realizes collision avoidance, connection maintenance and completion of the expected formation among the multi-four-rotor aircraft, avoids obstacles and completes the formation control target within a preset performance range.

Description

Formation control method for multi-four-rotor aircraft with predictor
Technical Field
The invention relates to a design of a multi-four-rotor aircraft formation collision avoidance controller with an estimator, and belongs to the technical field of industrial process control.
Background
In recent years, the four-rotor aircraft is very suitable for tasks such as near-field reconnaissance, monitoring, aerial photography, agricultural scattering and the like due to the advantages of small volume, light weight and the like, and is widely applied to military and civil fields. However, quad-rotor aircraft have had a centurie history of development, and the first quad-rotor helicopter in the world was first manufactured by the Breguet brother Louis france in 1907. The french engineer, etianne oemhen, by the mark automobile company, designed the oldest hover-capable quad-rotor aircraft in 1924. In 1956, the american designer Convertawing built a quad-rotor aircraft using two engines, the attitude of which was controlled by varying the speed of each propeller. However, due to limitations in generator size, etc., until the nineties of the twentieth century, there has been no significant progress in the development of quad-rotor aircraft. In recent decades, with the development of microsystem technology, sensor technology, control theory, etc., research on quad-rotor aircrafts has begun to break through.
The modern four-rotor aircraft has light weight and weak anti-interference capability, and has high requirement on the attitude control precision of the aircraft, so that the establishment of an aircraft mathematical model and the design of a control system become complicated, great challenges exist, and important research significance is realized in theory and practical application. In addition, the system control research of the multi-aircraft has stronger superiority than the system control research of a single aircraft, and can efficiently complete tasks and realize complex tasks which are difficult to complete by the single aircraft through mutual cooperation. By using the formation control technology of the unmanned aerial vehicle, the purposes of high efficiency and rapidness can be achieved in the aspects of agricultural seeding, pesticide spraying and the like, and the potential safety hazard is reduced; in the military aspect, the unmanned aerial vehicle group has the characteristics of penetration reconnaissance, decoy interference, cooperative operation and the like, and can meet the effective implementation of the modern military attack strategy. Therefore, the formation control technology of the unmanned aerial vehicle has wide application prospect in the fields of agriculture and military.
In the practical application of the four-rotor aircraft, a single aircraft is difficult to complete complex tasks, and due to the fact that the aircraft has unknown dynamics, the aircraft can be subjected to external unknown disturbances such as strong wind and airflow, and the aircraft can encounter obstacles in the flight process, and other complex conditions, the controller design has important practical significance for the anti-disturbance formation of the multiple four-rotor aircraft including the conditions of obstacle avoidance, collision avoidance and the like.
Disclosure of Invention
The invention aims to provide a formation control method of a multi-four-rotor aircraft with an estimator, which is used for realizing collision avoidance, connection maintenance and completion of expected formation among the multi-four-rotor aircraft, avoiding obstacles and completing a formation control target within a preset performance range.
In order to achieve the above purpose, the invention provides a formation control method of a multi-four-rotor aircraft with an estimator, which comprises the following steps:
step 1, setting a four-rotor aircraft as a leader, setting N four-rotor aircraft with unknown dynamics as followers, and using a networked system formed by connecting the followers and the leader through a one-way topological graph as a controlled object; step 2, the ith follower in the N followers is provided with a position controller and an attitude controller, and the input ends of the position controller and the attitude controller of the ith follower are connected with the directed graph
Figure BDA0002750127340000011
The output end of the position controller of the ith follower is connected with the input end of the position controller of the ith follower, and the output end of the posture controller of the ith follower is connected with the input end of the posture controller of the ith follower; and 3, providing a leader expectation signal by the leader, outputting position information by the position controller of the follower, outputting posture information by the posture controller of the follower, and forming an expected formation form by the output of the follower and the leader by utilizing the position information and the posture information of the follower.
As a further technical solution of the present invention, the position controller in the step 2The specific definition is as follows: the system comprises a potential energy function operation unit, an error conversion operation unit, a first nonlinear operation unit, a first comparator unit, a first tracking differentiator unit, a position system neural network weight updating unit, a position system neural network activation function unit, a second nonlinear operation unit, a position system predictor operation unit, a second comparator unit, a position system disturbance observer unit, a third nonlinear operation unit, a first filtering unit and a position input nonlinear operation unit; two input ends of the potential energy function operation unit are respectively the output χ of the ith followeri,1And the position of the obstacle ×c(ii) a The input ends of the error conversion operation units are directed graphs respectively
Figure BDA0002750127340000021
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent communication aijAnd biLeader information χdAnd
Figure BDA0002750127340000022
output χ of ith followeri,1(ii) a The input ends of the first nonlinear operation units are directed graphs respectively
Figure BDA0002750127340000023
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure BDA0002750127340000024
Output of potential energy function arithmetic unit
Figure BDA0002750127340000025
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0(ii) a The first comparator unit is an error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ(ii) a The input end of the first tracking differentiator unit is a first nonlinear operationOutput of the computing unit alphai,2,χ(ii) a The input end of the position system neural network activation function unit is a position system state xi,2And the output u of the first filtering uniti,χ,f(ii) a The input end of the position system neural network weight updating unit is the output phi of the position system neural network activation function uniti,χAnd the output of the second comparator unit
Figure BDA0002750127340000026
The input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure BDA0002750127340000027
And the output of the second comparator unit
Figure BDA0002750127340000028
The input ends of the position system predictor operation unit are respectively the output of the second comparator unit
Figure BDA0002750127340000029
Output of the second non-linear operation unit
Figure BDA00027501273400000210
Output of a position system disturbance observer unit
Figure BDA00027501273400000211
And the output u of the third non-linear operation uniti,χ(ii) a The input end of the second comparator unit is the output of the position system predictor operation unit
Figure BDA00027501273400000212
And position system state χi,2(ii) a The input end of the position system disturbance observer unit is the output of the second comparator unit
Figure BDA00027501273400000213
Position system state ×i,2The first stepOutput of two non-linear arithmetic units
Figure BDA00027501273400000214
And the output u of the third non-linear operation uniti,χ(ii) a The input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,jThe output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure BDA00027501273400000215
Output of the second non-linear operation unit
Figure BDA00027501273400000216
The input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ
As a further technical solution of the present invention, the attitude controller in step 2 is specifically defined as follows: the system comprises an expected attitude angle linear operation unit, a third comparator unit, a second differential tracker unit, a fourth nonlinear operation unit, a second filtering unit, a fourth comparator unit, an attitude system neural network activation function unit, an attitude system neural network weight updating unit, a fifth nonlinear operation unit, an attitude system predictor operation unit, a fifth comparator unit, an attitude system disturbance observer unit, a sixth nonlinear operation unit and a third filtering unit; the input of the expected attitude angle linear operation unit is the output u of the position input nonlinear operation uniti,1And the desired yaw angle ψ of the leaderd(ii) a The input ends of the third comparator units are respectively the attitude angle p of the ith followeriDesired attitude angle nonlinear operation unit output pd(ii) a The input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd(ii) a The input of the fourth nonlinear operation unit is a second differential tracker unitOutput ri,2,pAnd the output e of the third comparator uniti,1,p(ii) a The input end of the second filtering unit outputs alpha to the fourth nonlinear operation uniti,2,p(ii) a The fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure BDA0002750127340000031
The input end of the attitude system neural network activation function unit is an attitude system state pi,2And the output u of the third filtering uniti,p,f(ii) a The input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure BDA0002750127340000032
The input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pOutput of the weight updating unit
Figure BDA0002750127340000033
And the output of the fifth comparator unit
Figure BDA0002750127340000034
The input ends of the attitude system predictor operation units are respectively the output of a fifth comparator unit
Figure BDA0002750127340000035
Output of the fifth nonlinear operation unit
Figure BDA0002750127340000036
Output of the attitude system disturbance observer unit
Figure BDA0002750127340000037
And the output u of the sixth nonlinear operation uniti,p(ii) a The input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure BDA0002750127340000038
And attitude System State pi,2(ii) a The input end of the attitude system disturbance observer unit is the output of a fifth comparator unit
Figure BDA0002750127340000039
Output of the fifth nonlinear operation unit
Figure BDA00027501273400000310
And the output u of the sixth nonlinear operation uniti,p(ii) a The input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure BDA00027501273400000311
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure BDA00027501273400000312
Output of the fifth nonlinear operation unit
Figure BDA00027501273400000313
The input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p
As a further technical scheme of the invention, the directed graph in the step 2 is defined as
Figure BDA00027501273400000314
Wherein
Figure BDA00027501273400000315
Representing a set of N nodes, v1,…,νNRepresenting follower 1 through follower N,
Figure BDA00027501273400000316
representing sets of edges, topological graphs
Figure BDA00027501273400000317
Is represented by (v)ij),νijRespectively representing the ith follower and the jth follower; if it is
Figure BDA00027501273400000318
V is thenjV isiAdjacent node of (2) representing viIs a neighboring node of
Figure BDA00027501273400000319
The adjacency matrix of followers in the directed graph is defined as
Figure BDA00027501273400000320
If it is not
Figure BDA00027501273400000321
Then aij1, otherwise aij0; the degree matrix of the follower in the directed graph is defined as D ═ diag [ D ═ D1,…,dN]Wherein
Figure BDA00027501273400000322
The Laplace matrix of followers in the directed graph is defined as
Figure BDA00027501273400000323
Figure BDA00027501273400000324
Wherein
Figure BDA00027501273400000325
The adjacency matrix between the leader and the follower in the directed graph is defined as B ═ diag [ B ═ B1,…,bN]If the ith follower can access the information of the leader, b i1, otherwise bi=0。
As a further technical solution of the present invention, the mathematical model of the ith four-rotor aircraft in the follower in step 2 is:
Figure BDA0002750127340000041
wherein
Figure BDA0002750127340000042
Indicating the positional acceleration of the ith follower,
Figure BDA0002750127340000043
respectively represents three attitude angular accelerations of the i-th follower, namely roll, pitch and yaw, miIs the quality of the ith follower, Ix,i、Iy,i、Iz,iIs the moment of inertia, ξ, of the ith followerx,i、ξy,i、ξz,i、ξφ,i、ξθ,i、ξψ,iRepresenting the aerodynamic damping coefficient of the i-th follower, g is the gravitational acceleration, di,1、di,2、di,3、di,4、di,5、di,6Is the disturbance, u, to the ith followeri,1、ui,2、ui,3、ui,4Is the control force of the ith follower;
let the position system status of the follower be Xi,1=[χi,1,xi,1,yi,1,z]T=[xi,yi,zi]TAnd
Figure BDA0002750127340000044
let the state of the follower's posture system be pi,1=[pi,1,φ,pi,1,θ,pi,1,ψ]T=[φiii]TAnd
Figure BDA0002750127340000045
wherein the virtual control input in the x, y, z directions is Qi,x、Qi,y、Qi,z
Figure BDA0002750127340000046
The mathematical model of a quad-rotor aircraft may be transformed into fourRotorcraft position system
Figure BDA0002750127340000047
And four-rotor aircraft attitude system
Figure BDA0002750127340000048
Wherein u isi,χ=[Qi,x,Qi,y,Qi,z]TAnd ui,p=[ui,2,ui,3,ui,4]TRespectively inputting a position system and an attitude system;
Fi,χ,f=fi,χ+gi,χui,χ,f-ui,χ,ffor the system dynamics of the converted position,
Fi,p,f=fi,p+gi,pui,p,f-ui,p,fis a transformed pose system dynamic, wherein
Figure BDA0002750127340000051
Figure BDA0002750127340000052
gi,χ=diag[1/mi,1/mi,1/mi],
Figure BDA0002750127340000053
ui,χ,fAnd ui,p,fRespectively as position system input ui,χAnd gesture System input ui,pOutput through a first order filter; the error generated by the conversion of the position system and the error generated by the conversion of the attitude system are respectively Δ Fi,χ=(gi,χ-1)(ui,χ-ui,χ,f) And Δ Fi,p=(gi,p-1)(ui,p-ui,p,f) (ii) a The unknown disturbance on the position system and the attitude system is di,χ=[di,1,di,2,di,3]TAnd di,p=[di,4,di,5,di,6]T
As a further technical solution of the present invention, the specific operation content of the position controller in step 3 is as follows, a1, and a potential energy function operation unit: two input ends of the potential energy function operation unit are respectively the output χ of the ith followeri,1And the position of the obstacle ×c(ii) a Is a potential energy function of the energy calculation unit of
Figure BDA0002750127340000054
Wherein s isi,c=χicDifference between position coordinates of i-th follower and c-th obstacle, χc=[xc,yc,zc]TFor the coordinates of the c-th obstacle,
Figure BDA0002750127340000055
the distance between the ith follower and the c-th obstacle is defined as r, the obstacle detection distance is defined as r, and d is the minimum obstacle avoidance distance; potential energy function pair chiiThe partial derivatives of (a) are obtained by calculation of the following formula:
Figure BDA0002750127340000056
a2, error conversion arithmetic unit: the input ends of the error conversion arithmetic units are respectively directed graphs
Figure BDA0002750127340000057
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent communication aijAnd biLeader information χdAnd
Figure BDA0002750127340000058
output χ of ith followeri,1(ii) a Calculating the error position conversion function by the following formula
Figure BDA0002750127340000059
And calculate
Figure BDA00027501273400000510
Figure BDA00027501273400000511
Wherein
Figure BDA0002750127340000061
Li,jAnd Li,0Indicates the connection holding distance, Di,jAnd Di,0Indicating the desired formation distance, Ri,jAnd Ri,0Represents the minimum safe distance, si,j=χijDistance error, s, for follower i and follower ji,0=χidThe distance error between the follower i and the leader is obtained;
a3, first nonlinear operation means: the input ends of the first nonlinear operation units are directed graphs respectively
Figure BDA0002750127340000062
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure BDA0002750127340000063
Output of potential energy function arithmetic unit
Figure BDA0002750127340000064
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0(ii) a The output alpha of the first nonlinear operation unit is obtained through calculation of the following formulai,2.χ
Figure BDA0002750127340000065
Wherein k isi,1,χ>0 is a parameter to be designed,
Figure BDA0002750127340000066
a4, first comparator cell error surface ei,2,χ: first comparator sheetElement is error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ(ii) a E is obtained by calculation of the following formulai,2,χ:ei,2,χ=χi,2i,2,χ
A5, first tracking differentiator unit: the input end of the first tracking differentiator unit is the output alpha of the first nonlinear operation uniti,2,χ(ii) a The first tracking differentiator output r is obtained by calculation of the following formulai,2,χDerivative of (2)
Figure BDA0002750127340000067
Figure BDA0002750127340000068
Wherein r isi,2,χIs the output alpha of the first non-linear operation uniti,2,χEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
a6, a position system neural network activation function unit: the input end of the position system neural network activation function unit is the position system state xi,2And the output u of the first filtering uniti,χ,f(ii) a Position system neural network activation function unit output phii,χThe following formula is used for calculation:
Figure BDA0002750127340000069
wherein gamma isi,χ>0 is a parameter to be designed,
Figure BDA00027501273400000610
Figure BDA00027501273400000611
Figure BDA0002750127340000071
as a function of activation,%i,2,x、χi,2,yHexix-i,2,zIs a position system state χi,2Element of (5), Qi,x,f、Qi,y,fAnd Qi,z,fIs the output u of the first filtering uniti,χ,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure BDA0002750127340000072
A6, a location system neural network weight updating unit: the input end of the position system neural network weight value updating unit is the output phi of the position system neural network activation function uniti,χAnd the output of the second comparator unit
Figure BDA0002750127340000073
The weight value updating unit output of the neural network of the position system is obtained through the calculation of the following formula
Figure BDA0002750127340000074
Figure BDA0002750127340000075
Figure BDA0002750127340000076
Wherein phii,x、Φi,yAnd phii,zActivating the output phi of the functional unit for the neural network of the position systemi,χThe elements (A) and (B) in (B),
Figure BDA0002750127340000077
and
Figure BDA0002750127340000078
is the output of the second comparator unit
Figure BDA0002750127340000079
Of (b), gammai,χ>0 and σi,χ>0 is a parameter to be designed; finally obtaining the output
Figure BDA00027501273400000710
A7, second nonlinear operation means: the input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure BDA00027501273400000711
And the output of the second comparator unit
Figure BDA00027501273400000712
Performing product calculation on all input ends to obtain the output of the second nonlinear operation unit
Figure BDA00027501273400000713
A8, position system predictor operation unit: the input ends of the position system predictor operation units are respectively the output ends of the second comparator units
Figure BDA00027501273400000714
Output of the second non-linear operation unit
Figure BDA00027501273400000715
Output of a position system disturbance observer unit
Figure BDA00027501273400000716
And the output u of the third non-linear operation uniti,χ(ii) a The output of the computing unit of the position system predictor is obtained through the calculation of the following formula
Figure BDA00027501273400000717
Figure BDA00027501273400000718
Wherein h isi,χ>0 is a parameter to be designed;
A9、a second comparator unit: the input end of the second comparator unit is the output of the position system predictor operation unit
Figure BDA00027501273400000719
And position system state χi,2
The output estimated error of the second comparator is obtained through the calculation of the following formula
Figure BDA00027501273400000720
Figure BDA00027501273400000721
A10, position system disturbance observer unit: the input end of the position system disturbance observer unit is the output of the second comparator unit
Figure BDA00027501273400000722
Position system state ×i,2The output of the second non-linear operation unit
Figure BDA00027501273400000723
And the output u of the third non-linear operation uniti,χ(ii) a The output of the position system disturbance observer is obtained by the calculation of the following formula
Figure BDA00027501273400000724
Figure BDA00027501273400000725
Wherein c isd,i,χ>0 is a parameter to be designed;
a11, third nonlinear operation means: the input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,j,0The output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure BDA0002750127340000081
Output of the second non-linear operation unit
Figure BDA0002750127340000082
Obtaining the virtual control input u of the position system by the calculation of the following formulai,χ
Figure BDA0002750127340000083
Wherein k isi,2,χ>0 is a parameter to be designed;
a12, first filtering unit: the input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the first filtering unit is obtained through the calculation of the following formulai,χ,f:
Figure BDA0002750127340000084
Wherein eta isi,χIs the filter time constant;
a13, position input nonlinear operation means: the input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the position input nonlinear operation unit is obtained by the calculation of the following formulai,1
Figure BDA0002750127340000085
Wherein Qi,x、Qi,yAnd Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1); to this end, a position system input u is obtainedi,1
As a further technical solution of the present invention, the specific calculation content of the attitude controller in step 3 is as follows, B1, desired attitude angle nonlinear calculation means: the input of the desired attitude angle linear operation unit is the output u of the third nonlinear operation uniti,χAnd the desired yaw angle ψ of the leaderd(ii) a Phi is obtained by the calculation of the following formuladAnd thetadThen obtaining the expected attitude angleNon-linear arithmetic unit output
Figure BDA0002750127340000086
Figure BDA0002750127340000087
Wherein Qi,x、Qi,y、Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1);
b2, design of third comparator cell: the input ends of the third comparator units are respectively the attitude angle p of the ith followeri,1Desired attitude angle nonlinear operation unit output pd(ii) a The output e of the third comparator unit is obtained by calculation of the following formulai,1,p:ei,1,p=pi,1-pd(ii) a B3, second differential tracker unit: the input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd(ii) a The output r of the second differential tracker is obtained by calculation of the following formulai,2,p
Figure BDA0002750127340000088
Wherein r isi,2,pIs the output p of the desired attitude angle nonlinear arithmetic unitdEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
b4, fourth nonlinear operation means: the input of the fourth nonlinear operation unit is the output r of the second differential tracker uniti,2,pAnd the output e of the third comparator uniti,1,p(ii) a The output alpha of the fourth nonlinear operation unit is obtained through the calculation of the following formulai,2,p
αi,2,p=-ki,1,pei,1,p+ri,2,pWherein k isi,1,p>0 is a parameter to be designed;
b5, second filtering unit: of the second filtering unitThe input end is the output alpha of the fourth nonlinear operation uniti,2,p(ii) a The output of the second filtering unit is obtained through the calculation of the following formula
Figure BDA0002750127340000091
And
Figure BDA0002750127340000092
Figure BDA0002750127340000093
wherein etai,pIs the filter time constant.
B6, fourth comparator unit: the fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure BDA0002750127340000094
The output e of the fourth comparator unit is obtained by calculation of the following formulai,2,p
Figure BDA0002750127340000095
B7, a neural network activation function unit of the attitude system: the input end of the neural network activation function unit of the attitude system is an attitude system state pi,2And the output u of the third filtering uniti,p,f(ii) a The output phi of the neural network activation function unit of the attitude system is obtained by calculation of the following formulai,p
Figure BDA0002750127340000096
Wherein gamma isi,p>0 is a parameter to be designed,
Figure BDA0002750127340000097
Figure BDA0002750127340000098
Figure BDA0002750127340000099
for activating functions, pi,2,φ、pi,2,θAnd pi,2,ψIs an attitude system state pi,2Element (ii) ui,2,f、ui,3,fAnd ui,4,fIs the output u of the third filtering uniti,p,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure BDA00027501273400000910
B8, a posture system neural network weight updating unit: the input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure BDA00027501273400000911
The weight value updating unit output of the neural network of the attitude system is obtained through the calculation of the following formula
Figure BDA00027501273400000912
Figure BDA00027501273400000913
Figure BDA00027501273400000914
Wherein phii,φ、Φi,θAnd phii,ψActivating the output phi of the functional unit for the neural network of the attitude systemi,pThe elements (A) and (B) in (B),
Figure BDA00027501273400000915
and
Figure BDA00027501273400000916
is the output of the second comparator unit
Figure BDA00027501273400000917
Wherein, Γi,p>0 and σi,p>0 is a parameter to be designed; finally obtain the outputGo out
Figure BDA00027501273400000918
B9, fifth nonlinear operation means: the input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pOutput of the weight updating unit
Figure BDA00027501273400000919
And the output of the fifth comparator unit
Figure BDA00027501273400000920
Performing product calculation on all input ends to obtain the output of a fifth nonlinear operation unit
Figure BDA00027501273400000921
B10, attitude system predictor operation unit: the input ends of the attitude system predictor operation units are respectively the output of the fifth comparator unit
Figure BDA0002750127340000101
Output of the fifth nonlinear operation unit
Figure BDA0002750127340000102
Output of the attitude system disturbance observer unit
Figure BDA0002750127340000103
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system predictor operation unit is obtained through the calculation of the following formula
Figure BDA0002750127340000104
Figure BDA0002750127340000105
Wherein the content of the first and second substances,
Figure BDA00027501273400001018
is a parameter to be designed;
b11, fifth comparator unit: the input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure BDA0002750127340000106
And attitude System State pi,2(ii) a The estimated error of the output attitude system of the fifth comparator is obtained through the calculation of the following formula
Figure BDA0002750127340000107
Figure BDA0002750127340000108
B12, attitude system disturbance observer unit: the input end of the attitude system disturbance observer unit is the output of the fifth comparator unit
Figure BDA0002750127340000109
Output of the fifth nonlinear operation unit
Figure BDA00027501273400001010
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system disturbance observer is obtained through the calculation of the following formula
Figure BDA00027501273400001011
Figure BDA00027501273400001012
Wherein
Figure BDA00027501273400001019
Is a parameter to be designed;
b13, sixth nonlinear operation means: the input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure BDA00027501273400001013
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure BDA00027501273400001014
Output of the fifth nonlinear operation unit
Figure BDA00027501273400001015
Obtaining the control input u of the attitude system by the calculation of the following formulai,p
Figure BDA00027501273400001016
Wherein
Figure BDA00027501273400001020
Is a parameter to be designed;
b14, third filtering unit: the input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p(ii) a The output u of the third filtering unit is obtained through the calculation of the following formulai,p,f
Figure BDA00027501273400001017
Wherein eta isi,pIs the filter time constant.
Compared with the prior art, the invention has the following technical effects: 1) the invention designs a novel potential energy function, which has the advantages that after an obstacle enters the detection range of an aircraft, the designed potential energy function is smoothly increased from zero along with the approach of the distance between the aircraft and the obstacle, so that the potential energy function is prevented from being suddenly changed when the aircraft meets the obstacle, and the abrasion of an actuator mechanism is prevented from occurring for a long time.
2) The invention designs a neural network based on a predictor, estimates the norm of the ideal weight of the neural network, reduces the number of learning parameters required by a controller, overcomes the problem of excessive learning parameters in the traditional neural network method, updates the weight by using a prediction error, improves the approximation performance of the neural network and enlarges the selection range of the parameters of the controller.
3) The invention designs a disturbance observer which is used for observing generalized disturbance including external unknown disturbance, system transformation error and neural network approximation error, the disturbance observer and the neural network based on estimation error update have combined action, the approximation precision of the system dynamic is greatly improved, and the disturbance observer avoids the occurrence of high-frequency oscillation phenomenon caused by overlarge self-adaptive control parameters or improper proportion by means of the neural network based on the predictor.
Drawings
Fig. 1 is a schematic structural diagram of a formation collision avoidance controller for a multi-quad rotor aircraft including an estimator according to the present invention.
Figure 2 is a topology of two quad-rotor aircraft and a leader.
Fig. 3 is a diagram of the obstacle avoidance formation motion trajectories of two quad-rotor aircraft and a leader.
Figure 4 shows the collision avoidance and communication maintenance performance effects of two quad-rotor aircraft.
Fig. 5 is a control input curve for two quad-rotor aircraft.
Figure 6 is a dynamic approximation of the effect of the first quad-rotor aircraft.
Fig. 7 shows the potential energy function and its partial derivative when the first aircraft encounters an obstacle.
Detailed Description
The technical scheme of the invention is further explained in detail by combining the attached drawings 1-2:
the invention provides a formation control method of a multi-four-rotor aircraft with a predictor, which comprises the following steps:
step 1, setting a four-rotor aircraft as a leader, setting N four-rotor aircraft with unknown dynamics as followers, and using a networked system formed by connecting the followers and the leader through a one-way topological graph as a controlled object;
step 2, N follow-upThe ith follower is provided with a position controller and an attitude controller, and the input ends of the position controller and the attitude controller of the ith follower are connected with a directed graph
Figure BDA0002750127340000111
The output end of the position controller of the ith follower is connected with the input end of the position controller of the ith follower, and the output end of the posture controller of the ith follower is connected with the input end of the posture controller of the ith follower;
the position controller is specifically defined as follows:
the system comprises a potential energy function operation unit, an error conversion operation unit, a first nonlinear operation unit, a first comparator unit, a first tracking differentiator unit, a position system neural network weight updating unit, a position system neural network activation function unit, a second nonlinear operation unit, a position system predictor operation unit, a second comparator unit, a position system disturbance observer unit, a third nonlinear operation unit, a first filtering unit and a position input nonlinear operation unit; two input ends of the potential energy function operation unit are respectively the output χ of the ith followeri,1And the position of the obstacle ×c(ii) a The input ends of the error conversion arithmetic units are respectively directed graphs
Figure BDA0002750127340000112
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent communication aijAnd biLeader information χdAnd
Figure BDA0002750127340000113
output χ of ith followeri,1(ii) a The input ends of the first nonlinear operation units are directed graphs respectively
Figure BDA0002750127340000114
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure BDA0002750127340000115
Output of potential energy function arithmetic unit
Figure BDA0002750127340000116
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0(ii) a The first comparator unit being an error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ(ii) a The input end of the first tracking differentiator unit is the output alpha of the first nonlinear operation uniti,2,χ(ii) a The input end of the position system neural network activation function unit is the position system state xi,2And the output u of the first filtering uniti,χ,f(ii) a The input end of the position system neural network weight value updating unit is the output phi of the position system neural network activation function unitAnd the output of the second comparator unit
Figure BDA0002750127340000121
The input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure BDA0002750127340000122
And the output of the second comparator unit
Figure BDA0002750127340000123
The input ends of the position system predictor operation units are respectively the output ends of the second comparator units
Figure BDA0002750127340000124
Output of the second non-linear operation unit
Figure BDA0002750127340000125
Output of a position system disturbance observer unit
Figure BDA0002750127340000126
And a third non-linear operation unitOutput ui,χ(ii) a The input end of the second comparator unit is the output of the position system predictor operation unit
Figure BDA0002750127340000127
And position system state χi,2(ii) a The input end of the position system disturbance observer unit is the output of the second comparator unit
Figure BDA0002750127340000128
Position system state ×i,2The output of the second non-linear operation unit
Figure BDA0002750127340000129
And the output u of the third non-linear operation uniti,χ(ii) a The input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,jThe output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure BDA00027501273400001210
Output of the second non-linear operation unit
Figure BDA00027501273400001211
The input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ
The attitude controller is specifically defined as follows: the system comprises an expected attitude angle linear operation unit, a third comparator unit, a second differential tracker unit, a fourth nonlinear operation unit, a second filtering unit, a fourth comparator unit, an attitude system neural network activation function unit, an attitude system neural network weight updating unit, a fifth nonlinear operation unit, an attitude system predictor operation unit, a fifth comparator unit, an attitude system disturbance observer unit, a sixth nonlinear operation unit and a third filtering unit; the input of the desired attitude angle linear operation unit isOutput u of position input nonlinear operation uniti,1And the desired yaw angle ψ of the leaderd(ii) a The input ends of the third comparator units are respectively the attitude angle p of the ith followeriDesired attitude angle nonlinear operation unit output pd(ii) a The input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd(ii) a The input of the fourth nonlinear operation unit is the output r of the second differential tracker uniti,2,pAnd the output e of the third comparator uniti,1,p(ii) a The input end of the second filter unit outputs alpha for the fourth nonlinear operation uniti,2,p(ii) a The fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure BDA00027501273400001212
The input end of the neural network activation function unit of the attitude system is an attitude system state pi,2And the output u of the third filtering uniti,p,f(ii) a The input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure BDA00027501273400001213
The input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pOutput of the weight updating unit
Figure BDA00027501273400001214
And the output of the fifth comparator unit
Figure BDA00027501273400001215
The input ends of the attitude system predictor operation units are respectively the output of the fifth comparator unit
Figure BDA00027501273400001216
Output of the fifth nonlinear operation unit
Figure BDA00027501273400001217
Output of the attitude system disturbance observer unit
Figure BDA00027501273400001218
And the output u of the sixth nonlinear operation uniti,p(ii) a The input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure BDA0002750127340000131
And attitude System State pi,2(ii) a The input end of the attitude system disturbance observer unit is the output of the fifth comparator unit
Figure BDA0002750127340000132
Output of the fifth nonlinear operation unit
Figure BDA0002750127340000133
And the output u of the sixth nonlinear operation uniti,p(ii) a The input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure BDA0002750127340000134
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure BDA0002750127340000135
Output of the fifth nonlinear operation unit
Figure BDA0002750127340000136
The input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p
The directed graph in step 2 is defined as
Figure BDA0002750127340000137
Wherein
Figure BDA0002750127340000138
Representing a set of N nodes, v1,…,νNRepresenting follower 1 through follower N,
Figure BDA0002750127340000139
representing sets of edges, topological graphs
Figure BDA00027501273400001310
Is represented by (v)ij),νijRespectively representing the ith follower and the jth follower; if it is
Figure BDA00027501273400001311
V is thenjV isiAdjacent node of (2) representing viIs a neighboring node of
Figure BDA00027501273400001312
The adjacency matrix of followers in the directed graph is defined as
Figure BDA00027501273400001313
If it is not
Figure BDA00027501273400001314
Then aij1, otherwise aij0; the degree matrix of the follower in the directed graph is defined as D ═ diag [ D ═ D1,…,dN]Wherein
Figure BDA00027501273400001315
The Laplace matrix of followers in the directed graph is defined as
Figure BDA00027501273400001316
Wherein
Figure BDA00027501273400001317
The adjacency matrix between the leader and the follower in the directed graph is defined as B ═ diag [ B ═ B1,…,bN]If the ith follower can access the information of the leader, b i1, otherwise bi=0。
The mathematical model for the ith four-rotor aircraft in the follower was:
Figure BDA00027501273400001318
wherein
Figure BDA00027501273400001319
Indicating the positional acceleration of the ith follower,
Figure BDA00027501273400001320
respectively represents three attitude angular accelerations of the i-th follower, namely roll, pitch and yaw, miIs the quality of the ith follower, Ix,i、Iy,i、Iz,iIs the moment of inertia, ξ, of the ith followerx,i、ξy,i、ξz,i、ξφ,i、ξθ,i、ξψ,iRepresenting the aerodynamic damping coefficient of the i-th follower, g is the gravitational acceleration, di,1、di,2、di,3、di,4、di,5、di,6Is the disturbance, u, to the ith followeri,1、ui,2、ui,3、ui,4Is the control force of the ith follower;
let the position system status of the follower be Xi,1=[χi,1,xi,1,yi,1,z]T=[xi,yi,zi]TAnd
Figure BDA0002750127340000141
let the state of the follower's posture system be pi,1=[pi,1,φ,pi,1,θ,pi,1,ψ]T=[φiii]TAnd
Figure BDA0002750127340000142
wherein the virtual control input in the x, y, z directions is Qi,x、Qi,y、Qi,z
Figure BDA0002750127340000143
The mathematical model of the quad-rotor aircraft can be converted into a quad-rotor aircraft position system
Figure BDA0002750127340000144
And four-rotor aircraft attitude system
Figure BDA0002750127340000145
Wherein u isi,χ=[Qi,x,Qi,y,Qi,z]TAnd ui,p=[ui,2,ui,3,ui,4]TRespectively inputting a position system and an attitude system;
Fi,χ,f=fi,χ+gi,χui,χ,f-ui,χ,ffor the system dynamics of the converted position,
Fi,p,f=fi,p+gi,pui,p,f-ui,p,fis a transformed pose system dynamic, wherein
Figure BDA0002750127340000146
Figure BDA0002750127340000147
gi,χ=diag[1/mi,1/mi,1/mi],gi,p=diag[1/Ix,i,1/Iy,i,1/Iz,i];
ui,χ,fAnd ui,p,fRespectively as position system input ui,χAnd gesture System input ui,pOutput through a first order filter; the error generated by the conversion of the position system and the error generated by the conversion of the attitude system are respectively Δ Fi,χ=(gi,χ-1)(ui,χ-ui,χ,f) And Δ Fi,p=(gi,p-1)(ui,p-ui,p,f) (ii) a The unknown disturbance on the position system and the attitude system is di,χ=[di,1,di,2,di,3]TAnd di,p=[di,4,di,5,di,6]T
And 3, providing a leader expectation signal by the leader, outputting position information by the position controller of the follower, outputting posture information by the posture controller of the follower, and forming an expected formation form by the output of the follower and the leader by utilizing the position information and the posture information of the follower.
The specific operation of the position controller is as follows,
a1, potential energy function arithmetic unit:
two input ends of the potential energy function operation unit are respectively the output χ of the ith followeri,1And the position of the obstacle ×c
Is a potential energy function of the energy calculation unit of
Figure BDA0002750127340000151
Wherein s isi,c=χicDifference between position coordinates of i-th follower and c-th obstacle, χc=[xc,yc,zc]TFor the coordinates of the c-th obstacle,
Figure BDA0002750127340000152
the distance between the ith follower and the c-th obstacle is defined as r, the obstacle detection distance is defined as r, and d is the minimum obstacle avoidance distance;
potential energy function pair chiiThe partial derivatives of (a) are obtained by calculation of the following formula:
Figure BDA0002750127340000153
a2, error conversion arithmetic unit:
the input ends of the error conversion arithmetic units are respectively directed graphs
Figure BDA0002750127340000154
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent throughLetter aijAnd biLeader information χdAnd
Figure BDA0002750127340000155
output χ of ith followeri,1
Calculating the error position conversion function by the following formula
Figure BDA0002750127340000156
And calculate
Figure BDA0002750127340000157
Figure BDA0002750127340000158
Wherein
Figure BDA0002750127340000159
Li,jAnd Li,0Indicates the connection holding distance, Di,jAnd Di,0Indicating the desired formation distance, Ri,jAnd Ri,0Represents the minimum safe distance, si,j=χijDistance error, s, for follower i and follower ji,0=χidThe distance error between the follower i and the leader is obtained;
a3, first nonlinear operation means:
the input ends of the first nonlinear operation units are directed graphs respectively
Figure BDA00027501273400001510
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure BDA0002750127340000161
Output of potential energy function arithmetic unit
Figure BDA0002750127340000162
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0(ii) a The output alpha of the first nonlinear operation unit is obtained through calculation of the following formulai,2.χ
Figure BDA0002750127340000163
Wherein k isi,1,χ>0 is a parameter to be designed,
Figure BDA0002750127340000164
a4, first comparator cell error surface ei,2,χ
The first comparator unit being an error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ(ii) a E is obtained by calculation of the following formulai,2,χ
ei,2,χ=χi,2i,2,χ
A5, first tracking differentiator unit:
the input end of the first tracking differentiator unit is the output alpha of the first nonlinear operation uniti,2,χ(ii) a The first tracking differentiator output r is obtained by calculation of the following formulai,2,χDerivative of (2)
Figure BDA0002750127340000165
Figure BDA0002750127340000166
Wherein r isi,2,χIs the output alpha of the first non-linear operation uniti,2,χEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
a6, a position system neural network activation function unit:
the input end of the position system neural network activation function unit is the position system state xi,2And the output u of the first filtering uniti,χ,f(ii) a Position system neural network activation function unit output phii,χThe following formula is used for calculation:
Figure BDA0002750127340000167
wherein gamma isi,χ>0 is a parameter to be designed,
Figure BDA0002750127340000168
Figure BDA0002750127340000169
Figure BDA00027501273400001610
as a function of activation,%i,2,x、χi,2,yHexix-i,2,zIs a position system state χi,2Element of (5), Qi,x,f、Qi,y,fAnd Qi,z,fIs the output u of the first filtering uniti,χ,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure BDA0002750127340000171
A6, a location system neural network weight updating unit:
the input end of the position system neural network weight value updating unit is the output phi of the position system neural network activation function uniti,χAnd the output of the second comparator unit
Figure BDA0002750127340000172
The weight value updating unit output of the neural network of the position system is obtained through the calculation of the following formula
Figure BDA0002750127340000173
Figure BDA0002750127340000174
Figure BDA0002750127340000175
Wherein phii,x、Φi,yAnd phii,zActivating the output phi of the functional unit for the neural network of the position systemi,χThe elements (A) and (B) in (B),
Figure BDA0002750127340000176
and
Figure BDA0002750127340000177
is the output of the second comparator unit
Figure BDA0002750127340000178
Of (b), gammai,χ>0 and σi,χ>0 is a parameter to be designed; finally obtaining the output
Figure BDA0002750127340000179
A7, second nonlinear operation means:
the input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure BDA00027501273400001710
And the output of the second comparator unit
Figure BDA00027501273400001711
Performing product calculation on all input ends to obtain the output of the second nonlinear operation unit
Figure BDA00027501273400001712
A8, position system predictor operation unit:
the input ends of the position system predictor operation units are respectively the output ends of the second comparator units
Figure BDA00027501273400001713
Output of the second non-linear operation unit
Figure BDA00027501273400001714
Output of a position system disturbance observer unit
Figure BDA00027501273400001715
And the output u of the third non-linear operation uniti,χ(ii) a The output of the computing unit of the position system predictor is obtained through the calculation of the following formula
Figure BDA00027501273400001716
Figure BDA00027501273400001717
Wherein h isi,χ>0 is a parameter to be designed;
a9, second comparator unit:
the input end of the second comparator unit is the output of the position system predictor operation unit
Figure BDA00027501273400001718
And position system state χi,2(ii) a The output estimated error of the second comparator is obtained through the calculation of the following formula
Figure BDA00027501273400001719
Figure BDA00027501273400001720
A10, position system disturbance observer unit:
the input end of the position system disturbance observer unit is the output of the second comparator unit
Figure BDA00027501273400001721
Position system state ×i,2The output of the second non-linear operation unit
Figure BDA00027501273400001722
And the output u of the third non-linear operation uniti,χ(ii) a The output of the position system disturbance observer is obtained by the calculation of the following formula
Figure BDA00027501273400001723
Figure BDA0002750127340000181
Wherein c isd,i,χ>0 is a parameter to be designed;
a11, third nonlinear operation means:
the input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,j,0The output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure BDA0002750127340000182
Output of the second non-linear operation unit
Figure BDA0002750127340000183
Obtaining the virtual control input u of the position system by the calculation of the following formulai,χ
Figure BDA0002750127340000184
Wherein k isi,2,χ>0 is a parameter to be designed;
a12, first filtering unit:
the input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the first filtering unit is obtained through the calculation of the following formulai,χ,f
Figure BDA0002750127340000185
Wherein eta isi,χIs the filter time constant;
a13, position input nonlinear operation means:
the input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the position input nonlinear operation unit is obtained by the calculation of the following formulai,1
Figure BDA0002750127340000186
Wherein Qi,x、Qi,yAnd Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1); to this end, a position system input u is obtainedi,1
The specific operation of the attitude controller is as follows,
b1, desired attitude angle nonlinear operation unit:
the input of the desired attitude angle linear operation unit is the output u of the third nonlinear operation uniti,χAnd the desired yaw angle ψ of the leaderd(ii) a Phi is obtained by the calculation of the following formuladAnd thetadThen obtaining the output p of the desired attitude angle nonlinear operation unitd=[φddd]T
Figure BDA0002750127340000187
Figure BDA0002750127340000188
Wherein Qi,x、Qi,y、Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1);
b2, design of third comparator cell:
the input ends of the third comparator units are respectively the attitude angle p of the ith followeri,1Desired attitude angle nonlinearityOutput p of arithmetic unitd(ii) a The output e of the third comparator unit is obtained by calculation of the following formulai,1,p:ei,1,p=pi,1-pd
B3, second differential tracker unit:
the input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd(ii) a The output r of the second differential tracker is obtained by calculation of the following formulai,2,p
Figure BDA0002750127340000191
Wherein r isi,2,pIs the output p of the desired attitude angle nonlinear arithmetic unitdEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
b4, fourth nonlinear operation means:
the input of the fourth nonlinear operation unit is the output r of the second differential tracker uniti,2,pAnd the output e of the third comparator uniti,1,p(ii) a The output alpha of the fourth nonlinear operation unit is obtained through the calculation of the following formulai,2,p
αi,2,p=-ki,1,pei,1,p+ri,2,pWherein k isi,1,p>0 is a parameter to be designed;
b5, second filtering unit:
the input end of the second filter unit outputs alpha for the fourth nonlinear operation uniti,2,p(ii) a The output of the second filtering unit is obtained through the calculation of the following formula
Figure BDA0002750127340000192
And
Figure BDA0002750127340000193
Figure BDA0002750127340000194
wherein etai,pIs the filter time constant.
B6, fourth comparator unit:
the fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure BDA0002750127340000195
The output e of the fourth comparator unit is obtained by calculation of the following formulai,2,p
Figure BDA0002750127340000196
B7, a neural network activation function unit of the attitude system:
the input end of the neural network activation function unit of the attitude system is an attitude system state pi,2And the output u of the third filtering uniti,p,f(ii) a The output phi of the neural network activation function unit of the attitude system is obtained by calculation of the following formulai,p
Figure BDA0002750127340000197
Wherein gamma isi,p>0 is a parameter to be designed,
Figure BDA0002750127340000198
Figure BDA0002750127340000199
Figure BDA0002750127340000201
for activating functions, pi,2,φ、pi,2,θAnd pi,2,ψIs an attitude system state pi,2Element (ii) ui,2,f、ui,3,fAnd ui,4,fIs the output u of the third filtering uniti,p,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure BDA0002750127340000202
B8, a posture system neural network weight updating unit:
the input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure BDA0002750127340000203
The weight value updating unit output of the neural network of the attitude system is obtained through the calculation of the following formula
Figure BDA0002750127340000204
Figure BDA0002750127340000205
Figure BDA0002750127340000206
Wherein phii,φ、Φi,θAnd phii,ψActivating the output phi of the functional unit for the neural network of the attitude systemi,pThe elements (A) and (B) in (B),
Figure BDA0002750127340000207
and
Figure BDA0002750127340000208
is the output of the second comparator unit
Figure BDA0002750127340000209
Wherein, Γi,p>0 and σi,p>0 is a parameter to be designed; finally obtaining the output
Figure BDA00027501273400002010
B9, fifth nonlinear operation means:
the input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pRight of chargeOutput of the value update unit
Figure BDA00027501273400002011
And the output of the fifth comparator unit
Figure BDA00027501273400002012
Performing product calculation on all input ends to obtain the output of a fifth nonlinear operation unit
Figure BDA00027501273400002013
B10, attitude system predictor operation unit:
the input ends of the attitude system predictor operation units are respectively the output of the fifth comparator unit
Figure BDA00027501273400002014
Output of the fifth nonlinear operation unit
Figure BDA00027501273400002015
Output of the attitude system disturbance observer unit
Figure BDA00027501273400002016
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system predictor operation unit is obtained through the calculation of the following formula
Figure BDA00027501273400002017
Figure BDA00027501273400002018
Wherein the content of the first and second substances,
Figure BDA00027501273400002019
is a parameter to be designed;
b11, fifth comparator unit:
the input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure BDA00027501273400002020
And attitude System State pi,2(ii) a The estimated error of the output attitude system of the fifth comparator is obtained through the calculation of the following formula
Figure BDA00027501273400002021
Figure BDA00027501273400002022
B12, attitude system disturbance observer unit:
the input end of the attitude system disturbance observer unit is the output of the fifth comparator unit
Figure BDA00027501273400002023
Output of the fifth nonlinear operation unit
Figure BDA00027501273400002024
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system disturbance observer is obtained through the calculation of the following formula
Figure BDA0002750127340000211
Figure BDA0002750127340000212
Wherein
Figure BDA0002750127340000213
Is a parameter to be designed;
b13, sixth nonlinear operation means:
the input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure BDA0002750127340000214
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure BDA0002750127340000215
Output of the fifth nonlinear operation unit
Figure BDA0002750127340000216
Obtaining the control input u of the attitude system by the calculation of the following formulai,p
Figure BDA0002750127340000217
Wherein
Figure BDA0002750127340000218
Is a parameter to be designed;
b14, third filtering unit:
the input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p(ii) a The output u of the third filtering unit is obtained through the calculation of the following formulai,p,f
Figure BDA0002750127340000219
In the present invention, a multi-quad rotor aircraft system with two followers and one leader is taken as an example, and the communication topology is shown in fig. 2, where 0 is the number of the leader and 1 and 2 are the numbers of the two followers. Further obtaining a Laplace matrix
Figure BDA00027501273400002110
Leader adjacency matrix B ═ diag [ 11]. The mathematical models for two four-rotor aircraft are:
Figure BDA00027501273400002111
wherein
Figure BDA00027501273400002112
Indicating the positional acceleration of the ith follower,
Figure BDA00027501273400002113
respectively represents three attitude angular accelerations of the i-th follower, namely roll, pitch and yaw, miIs the mass of the ith four-rotor aircraft, Ix,i、Iy,i、Iz,iIs the moment of inertia, ξ, of the ith four-rotor aircraftx,i、ξy,i、ξz,i、ξφ,i、ξθ,i、ξψ,iExpressing the aerodynamic damping coefficient of the ith four-rotor aircraft, g is the gravitational acceleration, di,1、di,2、di,3、di,4、di,5、di,6Is the disturbance to the ith four-rotor aircraft, ui,1、ui,2、ui,3、ui,4Is the control force of the ith quad-rotor aircraft;
let's Chii,1=[χi,1,xi,1,yi,1,z]T=[xi,yi,zi]TAnd
Figure BDA0002750127340000221
is the position system state, pi,1=[pi,1,φ,pi,1,θ,pi,1,ψ]T=[φiii]TAnd
Figure BDA0002750127340000228
is an attitude system state, and
Figure BDA0002750127340000222
Qi,x、Qi,y、Qi,zvirtual control inputs in the x, y, and z directions, respectively;
the quad-rotor model may be converted into a quad-rotor position system
Figure BDA0002750127340000223
And four-rotor aircraft attitude system
Figure BDA0002750127340000224
Wherein
ui,χ=[Qi,x,Qi,y,Qi,z]TAnd ui,p=[ui,2,ui,3,ui,4]TRespectively inputting a position system and an attitude system;
Fi,χ,f=fi,χ+gi,χui,χ,f-ui,χ,fand Fi,p,f=fi,p+gi,pui,p,f-ui,p,fDynamic for the transformed position system and attitude system, respectively, wherein
Figure BDA0002750127340000225
Figure BDA0002750127340000226
gi,χ=diag[1/mi,1/mi,1/mi],
Figure BDA0002750127340000227
ui,χ,fAnd ui,p,fRespectively as position system input ui,χAnd gesture System input ui,pOutput through a first order filter; Δ Fi,χ=(gi,χ-1)(ui,χ-ui,χ,f) And Δ Fi,p=(gi,p-1)(ui,p-ui,p,f) Errors generated for systematic transformations; di,χ=[di,1,di,2,di,3]TAnd di,p=[di,4,di,5,di,6]TUnknown disturbance to the position system and the attitude system;
two four-rotor aircraft model parameter selections: acceleration of gravity g-9.8 m/s2Mass m 2kg, moment of inertia Ix=1.25N·s2/rad、Iy=1.25N·s2/rad、Iz=2.5N·s2Rad, aerodynamic damping coefficient ξx=0.012N·s2/rad、ξy=0.012N·s2/rad、ξz=0.012N·s2/rad、ξφ=0.012N·s2/rad、ξθ=0.012N·s2/rad、ξψ=0.012N·s2(ii)/rad. The system is disturbed by di,1=0.2sin(t)、di,2=0.5cos(t)+sin(χi,1,y)、di,3=1.5、di,1=0.2+sin(10t)、di,1=0.5、di,1=2+cos(5pi,1,θ)。
Aircraft control parameter selection: r1,0=[3,-3,-1]T、R2,0=[-2,2,-1]T,D1,0=[4,-4,0]T、D2,0=[-4,4,0]T,L1,0=[5,-5,1]T、L2,0=[-5,5,1]T;r=2、d=1;ki,1,χ=2、ki,1,χ=5、ki,1,p=2、ki,2,p=2、Γi,χ=10、Γi,p=10、σi,χ=0.01、σi,p=0.01、hi,χ=2、hi,p=2、cd,i,χ=5、cd,i,p=10、λTD=10、αTD=0.8、ηi,χ=0.5、ηi,p=0.1、γi,χ=1、γi,p1, i is 1,2 in all parameters; leader signal χd(t)=[t,t,3-3e-2t]T(m), desired yaw angle ψd(t) 0 (rad); number 1 machine initial position chi1(0) X, 2 # machine starting position ═ 3.5, -3.5,0) (m)2(0) (-3.5,3.5,0) (m), obstacle position χ1,c=(8.5,1.5,3)(m)、χ2,c=(1.8,10.2,3)(m)。
As shown in FIGS. 3-5, system input u is entered at a locationi,1I ═ 1,2 and attitude system control input ui,p=[ui,2,ui,3,ui,4]TUnder the action of 1 and 2, the followers and the leader of the two four-rotor aircraft keep flying in a parallel formation. At coordinates (7.6, -0.3,3) when the system is running for 3.8s, the obstacle enters the detection range of follower # 1, and the potential energy function unit in the control input starts to function, as shown in fig. 7. At this time, the No. 1 follower begins to avoid the obstacle and has potential energyFunction(s)
Figure BDA0002750127340000231
Peak 1.6 was reached at 5 s. In the process, the error conversion function unit limits the distance between the follower No. 1 and the leader to the minimum safe distance R1,0=[3,-3,-1]TTo a connection holding distance L1,0=[5,-5,1]TAs shown in fig. 4. When the system runs for 6s, at the coordinates (10.5,2 and 3), the obstacle leaves the detection range of the follower No. 1, the follower No. 1 finishes obstacle avoidance and continues to form a formation with the leader.
When the system runs for 4.6s, the obstacle enters the detection range of the follower No. 2 at the coordinates (0.6,8.6 and 3), and the follower No. 2 starts to avoid the obstacle. In the process, the error conversion function unit limits the distance between the No. 2 follower and the leader to the minimum safe distance R2,0=[-2,2,-1]TTo a connection holding distance L2,0=[-5,5,1]TAs shown in fig. 4. When the system runs for 7.2s, the barrier leaves the detection range of the follower No. 2, the follower No. 2 finishes obstacle avoidance and continues to form a formation with the leader. Fig. 5 is a control input curve for two quad-rotor aircraft, where it can be seen that after an obstacle enters the detection range of flight, the change is smooth and no jump occurs. Fig. 6 shows the system dynamics approximation effect of the first quad-rotor aircraft, and it can be found that under the combined action of the neural network based on the predictor and the disturbance observer, the system dynamics can still keep good approximation effect when changing. Fig. 7 is a numerical curve of the potential energy function and the partial derivative value thereof when the follower No. 1 encounters an obstacle, and it can be found that, during the obstacle avoidance period of the follower No. 1 from 3.8s to 6s, the change of the potential energy function is smooth, and no sudden jump occurs, which has an important effect on protecting the actuator mechanism.
The above embodiments are only specific examples of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can understand that the modifications or substitutions within the technical scope of the present invention are included in the scope of the present invention, and therefore, the scope of the present invention should be subject to the claims.

Claims (7)

1. A formation control method of a multi-four-rotor aircraft with an estimator is characterized by comprising the following steps:
step 1, setting a four-rotor aircraft as a leader, setting N four-rotor aircraft with unknown dynamics as followers, and using a networked system formed by connecting the followers and the leader through a one-way topological graph as a controlled object;
step 2, the ith follower in the N followers is provided with a position controller and an attitude controller, and the input ends of the position controller and the attitude controller of the ith follower are connected with the directed graph
Figure FDA0002750127330000011
The output end of the position controller of the ith follower is connected with the input end of the position controller of the ith follower, and the output end of the posture controller of the ith follower is connected with the input end of the posture controller of the ith follower;
and 3, providing a leader expectation signal by the leader, outputting position information by the position controller of the follower, outputting posture information by the posture controller of the follower, and forming an expected formation form by the output of the follower and the leader by utilizing the position information and the posture information of the follower.
2. A method of controlling formation of a plurality of quad-rotor aircraft including forecaster according to claim 1, wherein: the position controller in step 2 is specifically defined as follows:
the system comprises a potential energy function operation unit, an error conversion operation unit, a first nonlinear operation unit, a first comparator unit, a first tracking differentiator unit, a position system neural network weight updating unit, a position system neural network activation function unit, a second nonlinear operation unit, a position system predictor operation unit, a second comparator unit, a position system disturbance observer unit, a third nonlinear operation unit, a first filtering unit and a position input nonlinear operation unit;
two input ends of the potential energy function operation unit are respectively the output χ of the ith followeri,1And the position of the obstacle ×c
The input ends of the error conversion operation units are directed graphs respectively
Figure FDA0002750127330000012
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent communication aijAnd biLeader information χdAnd
Figure FDA0002750127330000013
output χ of ith followeri,1
The input ends of the first nonlinear operation units are directed graphs respectively
Figure FDA0002750127330000014
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure FDA0002750127330000021
Output of potential energy function arithmetic unit
Figure FDA0002750127330000022
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0
The first comparator unit is an error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ
The input end of the first tracking differentiator unit is the output alpha of the first nonlinear operation uniti,2,χ
The input end of the position system neural network activation function unit is a position system state xi,2And a firstOutput u of the filter uniti,χ,f
The input end of the position system neural network weight updating unit is the output phi of the position system neural network activation function uniti,χAnd the output of the second comparator unit
Figure FDA0002750127330000023
The input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure FDA0002750127330000024
And the output of the second comparator unit
Figure FDA0002750127330000025
The input ends of the position system predictor operation unit are respectively the output of the second comparator unit
Figure FDA0002750127330000026
Output of the second non-linear operation unit
Figure FDA0002750127330000027
Output of a position system disturbance observer unit
Figure FDA0002750127330000028
And the output u of the third non-linear operation uniti,χ
The input end of the second comparator unit is the output of the position system predictor operation unit
Figure FDA0002750127330000029
And position system state χi,2
The input end of the position system disturbance observer unit is the output of the second comparator unit
Figure FDA00027501273300000210
Position system state ×i,2The output of the second non-linear operation unit
Figure FDA00027501273300000211
And the output u of the third non-linear operation uniti,χ
The input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,jThe output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure FDA00027501273300000212
Output of the second non-linear operation unit
Figure FDA00027501273300000213
The input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ
3. A method of controlling formation of a plurality of quad-rotor aircraft including forecaster according to claim 2, wherein: the attitude controller in step 2 is specifically defined as follows:
the system comprises an expected attitude angle linear operation unit, a third comparator unit, a second differential tracker unit, a fourth nonlinear operation unit, a second filtering unit, a fourth comparator unit, an attitude system neural network activation function unit, an attitude system neural network weight updating unit, a fifth nonlinear operation unit, an attitude system predictor operation unit, a fifth comparator unit, an attitude system disturbance observer unit, a sixth nonlinear operation unit and a third filtering unit;
the input of the desired attitude angle linear operation unit is position inputOutput u of non-linear arithmetic uniti,1And the desired yaw angle ψ of the leaderd
The input ends of the third comparator units are respectively the attitude angle p of the ith followeriDesired attitude angle nonlinear operation unit output pd
The input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd
The input of the fourth nonlinear operation unit is the output r of the second differential tracker uniti,2,pAnd the output e of the third comparator uniti,1,p
The input end of the second filtering unit outputs alpha to the fourth nonlinear operation uniti,2,p
The fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure FDA0002750127330000031
The input end of the attitude system neural network activation function unit is an attitude system state pi,2And the output u of the third filtering uniti,p,f
The input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure FDA0002750127330000032
The input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pOutput of the weight updating unit
Figure FDA0002750127330000041
And the output of the fifth comparator unit
Figure FDA0002750127330000042
The input ends of the attitude system predictor operation units are respectively the output of a fifth comparator unit
Figure FDA0002750127330000043
Output of the fifth nonlinear operation unit
Figure FDA0002750127330000044
Output of the attitude system disturbance observer unit
Figure FDA0002750127330000045
And the output u of the sixth nonlinear operation uniti,p
The input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure FDA0002750127330000046
And attitude System State pi,2
The input end of the attitude system disturbance observer unit is the output of a fifth comparator unit
Figure FDA0002750127330000047
Output of the fifth nonlinear operation unit
Figure FDA0002750127330000048
And the output u of the sixth nonlinear operation uniti,p
The input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure FDA0002750127330000049
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure FDA00027501273300000410
Output of the fifth nonlinear operation unit
Figure FDA00027501273300000411
The input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p
4. A method of fleet control for a multi-quad rotor aircraft with forecaster, according to claim 3, wherein: the directed graph in the step 2 is defined as
Figure FDA00027501273300000412
Wherein
Figure FDA00027501273300000413
Representing a set of N nodes, v1,…,νNRepresenting follower 1 through follower N,
Figure FDA00027501273300000414
representing sets of edges, topological graphs
Figure FDA00027501273300000415
Is represented by (v)ij),νijRespectively representing the ith follower and the jth follower; if it is
Figure FDA00027501273300000416
V is thenjV isiAdjacent node of (2) representing viIs a neighboring node of
Figure FDA00027501273300000417
The adjacency matrix of followers in the directed graph is defined as
Figure FDA00027501273300000418
If it is not
Figure FDA00027501273300000419
Then aij1, otherwise aij0; the degree matrix of the follower in the directed graph is defined as D ═ diag [ D ═ D1,...,dN]Wherein
Figure FDA00027501273300000420
The Laplace matrix of followers in the directed graph is defined as
Figure FDA00027501273300000421
Figure FDA00027501273300000422
Wherein
Figure FDA00027501273300000423
The adjacency matrix between the leader and the follower in the directed graph is defined as B ═ diag [ B ═ B1,…,bN]If the ith follower can access the information of the leader, bi1, otherwise bi=0。
5. The method of claim 4 for fleet control of a multi-quad rotor aircraft with forecaster, wherein: the mathematical model of the ith four-rotor aircraft in the follower in step 2 is:
Figure FDA0002750127330000051
wherein
Figure FDA0002750127330000052
Indicating the positional acceleration of the ith follower,
Figure FDA0002750127330000053
respectively represents three attitude angular accelerations of the i-th follower, namely roll, pitch and yaw, miIs the quality of the ith follower, Ix,i、Iy,i、Iz,iIs the moment of inertia, ξ, of the ith followerx,i、ξy,i、ξz,i、ξφ,i、ξθ,i、ξψ,iRepresenting the aerodynamic damping coefficient of the i-th follower, g is the gravitational acceleration, di,1、di,2、di,3、di,4、di,5、di,6Is the disturbance, u, to the ith followeri,1、ui,2、ui,3、ui,4Is the control force of the ith follower; let the position system status of the follower be Xi,1=[χi,1,xi,1,yi,1,z]T=[xi,yi,zi]TAnd
Figure FDA0002750127330000054
let the state of the follower's posture system be pi,1=[pi,1,φ,pi,1,θ,pi,1,ψ]T=[φiii]TAnd
Figure FDA0002750127330000055
wherein the virtual control input in the x, y, z directions is Qi,x、Qi,y、Qi,z
Figure FDA0002750127330000056
The mathematical model of the quad-rotor aircraft can be converted into a quad-rotor aircraft position system
Figure FDA0002750127330000057
And four-rotor aircraft attitude system
Figure FDA0002750127330000061
Wherein u isi,χ=[Qi,x,Qi,y,Qi,z]TAnd ui,p=[ui,2,ui,3,ui,4]TRespectively inputting a position system and an attitude system;
Fi,χ,f=fi,χ+gi,χui,χ,f-ui,χ,ffor the system dynamics of the converted position,
Fi,p,f=fi,p+gi,pui,p,f-ui,p,fis a transformed pose system dynamic, wherein
Figure FDA0002750127330000062
Figure FDA0002750127330000063
gi,χ=diag[1/mi,1/mi,1/mi],
Figure FDA0002750127330000066
ui,χ,fAnd ui,p,fRespectively as position system input ui,χAnd gesture System input ui,pOutput through a first order filter; the error due to the conversion of the position system and the error due to the conversion of the attitude system are respectively Δ Fi,χ=(gi,χ-1)(ui,χ-ui,χ,f) And Δ Fi,p=(gi,p-1)(ui,p-ui,p,f) (ii) a The unknown disturbance on the position system and the attitude system is di,χ=[di,1,di,2,di,3]TAnd di,p=[di,4,di,5,di,6]T
6. The method of claim 5, wherein the method comprises: the specific operation content of the position controller in the step 3 is as follows,
a1, potential energy function arithmetic unit:
two potential energy function arithmetic unitsThe input ends are respectively the output χ of the ith followeri,1And the position of the obstacle ×c
Is a potential energy function of the energy calculation unit of
Figure FDA0002750127330000064
Wherein s isi,c=χicDifference between position coordinates of i-th follower and c-th obstacle, χc=[xc,yc,zc]TFor the coordinates of the c-th obstacle,
Figure FDA0002750127330000065
the distance between the ith follower and the c-th obstacle is defined as r, the obstacle detection distance is defined as r, and d is the minimum obstacle avoidance distance;
potential energy function pair chiiThe partial derivatives of (a) are obtained by calculation of the following formula:
Figure FDA0002750127330000071
a2, error conversion arithmetic unit:
the input ends of the error conversion arithmetic units are respectively directed graphs
Figure FDA0002750127330000072
Output information χ of jth follower in (1)j,1Hexix-j,2Adjacent communication aijAnd biLeader information χdAnd
Figure FDA0002750127330000073
output χ of ith followeri,1(ii) a Calculating the error position conversion function by the following formula
Figure FDA0002750127330000074
And calculate
Figure FDA0002750127330000075
Figure FDA0002750127330000076
Wherein
Figure FDA0002750127330000077
Li,jAnd Li,0Indicates the connection holding distance, Di,jAnd Di,0Indicating the desired formation distance, Ri,jAnd Ri,0Represents the minimum safe distance, si,j=χijDistance error, s, for follower i and follower ji,0=χidThe distance error between the follower i and the leader is obtained;
a3, first nonlinear operation means:
the input ends of the first nonlinear operation units are directed graphs respectively
Figure FDA0002750127330000078
State χ of jth follower in (1)j,2Adjacent communication aijAnd biLeader derivative information
Figure FDA0002750127330000079
Output of potential energy function arithmetic unit
Figure FDA00027501273300000710
Output e of error conversion arithmetic uniti,1、Πi,jAnd pii,0(ii) a The output alpha of the first nonlinear operation unit is obtained through calculation of the following formulai,2.χ
Figure FDA0002750127330000081
Wherein k isi,1,χ>0 is a parameter to be designed,
Figure FDA0002750127330000082
a4, first comparator cell error surface ei,2,χ
The first comparator unit being an error surface ei,2,χThe input end of the system is in a position system state xi,2And the output alpha of the first non-linear operation uniti,2,χ(ii) a E is obtained by calculation of the following formulai,2,χ
ei,2,χ=χi,2i,2,χ
A5, first tracking differentiator unit:
the input end of the first tracking differentiator unit is the output alpha of the first nonlinear operation uniti,2,χ(ii) a The first tracking differentiator output r is obtained by calculation of the following formulai,2,χDerivative of (2)
Figure FDA0002750127330000083
Figure FDA0002750127330000084
Wherein r isi,2,χIs the output alpha of the first non-linear operation uniti,2,χEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
a6, a position system neural network activation function unit:
the input end of the position system neural network activation function unit is the position system state xi,2And the output u of the first filtering uniti,χ,f(ii) a Position system neural network activation function unit output phii,χThe following formula is used for calculation:
Figure FDA0002750127330000085
wherein gamma isi,χ>0 is a parameter to be designed,
Figure FDA0002750127330000086
Figure FDA0002750127330000087
Figure FDA0002750127330000091
as a function of activation,%i,2,x、χi,2,yHexix-i,2,zIs a position system state χi,2Element of (5), Qi,x,f、Qi,y,fAnd Qi,z,fIs the output u of the first filtering uniti,χ,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure FDA00027501273300000918
A6, a location system neural network weight updating unit:
the input end of the position system neural network weight value updating unit is the output phi of the position system neural network activation function uniti,χAnd the output of the second comparator unit
Figure FDA0002750127330000092
The weight value updating unit output of the neural network of the position system is obtained through the calculation of the following formula
Figure FDA0002750127330000093
Figure FDA0002750127330000094
Figure FDA0002750127330000095
Wherein phii,x、Φi,yAnd phii,zActivating functions for location system neural networksOutput of cell phii,χThe elements (A) and (B) in (B),
Figure FDA0002750127330000096
and
Figure FDA0002750127330000097
is the output of the second comparator unit
Figure FDA0002750127330000098
Of (b), gammai,χ>0 and σi,χ>0 is a parameter to be designed; finally obtaining the output
Figure FDA0002750127330000099
A7, second nonlinear operation means:
the input ends of the second nonlinear operation units are respectively the output phi of the position system neural network activation function uniti,χOutput of the weight updating unit
Figure FDA00027501273300000910
And the output of the second comparator unit
Figure FDA00027501273300000911
Performing product calculation on all input ends to obtain the output of the second nonlinear operation unit
Figure FDA00027501273300000912
A8, position system predictor operation unit:
the input ends of the position system predictor operation units are respectively the output ends of the second comparator units
Figure FDA00027501273300000913
Output of the second non-linear operation unit
Figure FDA00027501273300000914
Output of a position system disturbance observer unit
Figure FDA00027501273300000915
And the output u of the third non-linear operation uniti,χ(ii) a The output of the computing unit of the position system predictor is obtained through the calculation of the following formula
Figure FDA00027501273300000916
Figure FDA00027501273300000917
Wherein h isi,χ>0 is a parameter to be designed;
a9, second comparator unit:
the input end of the second comparator unit is the output of the position system predictor operation unit
Figure FDA0002750127330000101
And position system state χi,2(ii) a The output estimated error of the second comparator is obtained through the calculation of the following formula
Figure FDA0002750127330000102
Figure FDA0002750127330000103
A10, position system disturbance observer unit:
the input end of the position system disturbance observer unit is the output of the second comparator unit
Figure FDA0002750127330000104
Position system state ×i,2The output of the second non-linear operation unit
Figure FDA0002750127330000105
And the output u of the third non-linear operation uniti,χ(ii) a The output of the position system disturbance observer is obtained by the calculation of the following formula
Figure FDA0002750127330000106
Figure FDA0002750127330000107
Wherein c isd,i,χ>0 is a parameter to be designed;
a11, third nonlinear operation means:
the input end of the third nonlinear operation unit is the output e of the error conversion operation uniti,1,χAnd pii,j,0The output r of the first tracking differentiator uniti,2,χThe output e of the first comparator uniti,2,χOutput of a position system disturbance observer unit
Figure FDA0002750127330000108
Output of the second non-linear operation unit
Figure FDA0002750127330000109
Obtaining the virtual control input u of the position system by the calculation of the following formulai,χ
Figure FDA00027501273300001010
Wherein k isi,2,χ>0 is a parameter to be designed;
a12, first filtering unit:
the input end of the first filtering unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the first filtering unit is obtained through the calculation of the following formulai,χ,f
Figure FDA00027501273300001011
Wherein eta isi,χIs the filter time constant;
a13, position input nonlinear operation means:
the input end of the position input nonlinear operation unit is the output u of the third nonlinear operation uniti,χ(ii) a The output u of the position input nonlinear operation unit is obtained by the calculation of the following formulai,1
Figure FDA0002750127330000111
Wherein Qi,x、Qi,yAnd Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1); to this end, a position system input u is obtainedi,1
7. The method of claim 6, wherein the method comprises: the specific operation content of the attitude controller in the step 3 is as follows,
b1, desired attitude angle nonlinear operation unit:
the input of the desired attitude angle linear operation unit is the output u of the third nonlinear operation uniti,χAnd the desired yaw angle ψ of the leaderd(ii) a Phi is obtained by the calculation of the following formuladAnd thetadThen obtaining the output p of the desired attitude angle nonlinear operation unitd=[φddd]T
Figure FDA0002750127330000112
Figure FDA0002750127330000113
Wherein Qi,x、Qi,y、Qi,zIs the output u of the third non-linear operation uniti,χ=[Qi,x,Qi,y,Qi,z]TThe elements of (1);
b2, design of third comparator cell:
the input ends of the third comparator units are respectively the attitude angle p of the ith followeri,1Desired attitude angle nonlinear operation unit output pd(ii) a The output e of the third comparator unit is obtained by calculation of the following formulai,1,p:ei,1,p=pi,1-pd
B3, second differential tracker unit:
the input end of the second differential tracker unit is the output p of the expected attitude angle nonlinear operation unitd(ii) a The output r of the second differential tracker is obtained by calculation of the following formulai,2,p
Figure FDA0002750127330000121
Wherein r isi,2,pIs the output p of the desired attitude angle nonlinear arithmetic unitdEstimation of the derivative, λTD>0 is the tracking differentiator velocity factor, αTDE (0,1) is a filtering factor of a tracking differentiator;
b4, fourth nonlinear operation means:
the input of the fourth nonlinear operation unit is the output r of the second differential tracker uniti,2,pAnd the output e of the third comparator uniti,1,p(ii) a The output alpha of the fourth nonlinear operation unit is obtained through the calculation of the following formulai,2,p:αi,2,p=-ki,1,pei,1,p+ri,2,p
Wherein k isi,1,p>0 is a parameter to be designed;
b5, second filtering unit:
second oneThe input end of the filter unit is the output alpha of the fourth nonlinear operation uniti,2,p(ii) a The output of the second filtering unit is obtained through the calculation of the following formula
Figure FDA0002750127330000122
And
Figure FDA0002750127330000123
Figure FDA0002750127330000124
wherein etai,pIs the filter time constant.
B6, fourth comparator unit:
the fourth comparator unit is an error surface ei,2,pWith input terminal in attitude system state pi,2And the output of the second filtering unit
Figure FDA0002750127330000125
The output e of the fourth comparator unit is obtained by calculation of the following formulai,2,p
Figure FDA0002750127330000126
B7, a neural network activation function unit of the attitude system:
the input end of the neural network activation function unit of the attitude system is an attitude system state pi,2And the output u of the third filtering uniti,p,f(ii) a The output of the neural network activation function unit of the attitude system is obtained through the calculation of the following formula
Φi,p
Figure FDA0002750127330000127
Wherein gamma isi,p>0 is to be setThe parameters are measured, and the parameters are calculated,
Figure FDA0002750127330000131
Figure FDA0002750127330000132
Figure FDA0002750127330000133
for activating functions, pi,2,φ、pi,2,θAnd pi,2,ψIs an attitude system state pi,2Element (ii) ui,2,f、ui,3,fAnd ui,4,fIs the output u of the third filtering uniti,p,fThe element in (1) is the central value of the activation function, mu and xi are the widths of the activation function; finally obtaining the output
Figure FDA00027501273300001318
B8, a posture system neural network weight updating unit:
the input end of the attitude system neural network weight updating unit is the output phi of the attitude system neural network activation function uniti,pAnd the output of the fifth comparator unit
Figure FDA0002750127330000134
The weight value updating unit output of the neural network of the attitude system is obtained through the calculation of the following formula
Figure FDA0002750127330000135
Figure FDA0002750127330000136
Figure FDA0002750127330000137
Wherein phii,φ、Φi,θAnd phii,ψActivating the output phi of the functional unit for the neural network of the attitude systemi,pThe elements (A) and (B) in (B),
Figure FDA0002750127330000138
and
Figure FDA0002750127330000139
is the output of the second comparator unit
Figure FDA00027501273300001310
Wherein, Γi,p>0 and σi,p>0 is a parameter to be designed; finally obtaining the output
Figure FDA00027501273300001311
B9, fifth nonlinear operation means:
the input ends of the fifth nonlinear operation units are respectively the output phi of the attitude system neural network activation function uniti,pOutput of the weight updating unit
Figure FDA00027501273300001312
And the output of the fifth comparator unit
Figure FDA00027501273300001313
Performing product calculation on all input ends to obtain the output of a fifth nonlinear operation unit
Figure FDA00027501273300001314
B10, attitude system predictor operation unit:
the input ends of the attitude system predictor operation units are respectively the output of the fifth comparator unit
Figure FDA00027501273300001315
Output of the fifth nonlinear operation unit
Figure FDA00027501273300001316
Output of the attitude system disturbance observer unit
Figure FDA00027501273300001317
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system predictor operation unit is obtained through the calculation of the following formula
Figure FDA0002750127330000141
Figure FDA0002750127330000142
Wherein the content of the first and second substances,
Figure FDA0002750127330000143
is a parameter to be designed;
b11, fifth comparator unit:
the input end of the fifth comparator unit is the output of the attitude system predictor operation unit
Figure FDA0002750127330000144
And attitude System State pi,2(ii) a The estimated error of the output attitude system of the fifth comparator is obtained through the calculation of the following formula
Figure FDA0002750127330000145
Figure FDA0002750127330000146
B12, attitude system disturbance observer unit:
the input end of the attitude system disturbance observer unit is the output of the fifth comparator unit
Figure FDA0002750127330000147
Fifth nonlinear operation unitOutput of (2)
Figure FDA0002750127330000148
And the output u of the sixth nonlinear operation uniti,p(ii) a The output of the attitude system disturbance observer is obtained through the calculation of the following formula
Figure FDA0002750127330000149
Figure FDA00027501273300001410
Wherein
Figure FDA00027501273300001411
Is a parameter to be designed;
b13, sixth nonlinear operation means:
the input end of the sixth nonlinear operation unit is the output e of the third comparator uniti,1,pThe output of the second filtering unit
Figure FDA00027501273300001412
Fourth comparator unit output ei,2,pOutput of a disturbance observer unit of an attitude system
Figure FDA00027501273300001413
Output of the fifth nonlinear operation unit
Figure FDA00027501273300001414
Obtaining the control input u of the attitude system by the calculation of the following formulai,p
Figure FDA00027501273300001415
Wherein
Figure FDA00027501273300001416
Is a parameter to be designed;
b14, third filtering unit:
the input end of the third filtering unit is the output u of the sixth nonlinear operation uniti,p(ii) a The output u of the third filtering unit is obtained through the calculation of the following formulai,p,f
Figure FDA0002750127330000151
Wherein eta isi,pIs the filter time constant.
CN202011180857.8A 2020-10-29 2020-10-29 Formation control method for multi-four-rotor aircraft with predictor Active CN112230670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011180857.8A CN112230670B (en) 2020-10-29 2020-10-29 Formation control method for multi-four-rotor aircraft with predictor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011180857.8A CN112230670B (en) 2020-10-29 2020-10-29 Formation control method for multi-four-rotor aircraft with predictor

Publications (2)

Publication Number Publication Date
CN112230670A true CN112230670A (en) 2021-01-15
CN112230670B CN112230670B (en) 2022-08-30

Family

ID=74109888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011180857.8A Active CN112230670B (en) 2020-10-29 2020-10-29 Formation control method for multi-four-rotor aircraft with predictor

Country Status (1)

Country Link
CN (1) CN112230670B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220032A (en) * 2021-05-17 2021-08-06 浙江安防职业技术学院 Unmanned aerial vehicle cluster control method and device, unmanned aerial vehicle and storage medium
CN113238568A (en) * 2021-04-26 2021-08-10 天津小鲨鱼智能科技有限公司 Following method, aircraft and first equipment
CN113885548A (en) * 2021-10-28 2022-01-04 南京邮电大学 Many four rotor unmanned aerial vehicle output restraint state unanimous game controller
CN114115335A (en) * 2021-11-05 2022-03-01 桂林航天工业学院 Multi-quad-rotor unmanned aerial vehicle safety formation control method based on tracking differentiator

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180074520A1 (en) * 2016-09-13 2018-03-15 Arrowonics Technologies Ltd. Formation flight path coordination of unmanned aerial vehicles
CN108388269A (en) * 2018-03-17 2018-08-10 青岛理工大学 UAV Formation Flight control method based on quadrotor
CN108646758A (en) * 2018-03-20 2018-10-12 南京邮电大学 A kind of multiple mobile robot's default capabilities formation control device structure and design method
CN109557818A (en) * 2019-01-10 2019-04-02 南京航空航天大学 The sliding formwork fault tolerant control method of multiple agent tracking system with actuator and sensor fault
CN110488606A (en) * 2019-07-25 2019-11-22 中北大学 A kind of more quadrotor master-slave mode guaranteed cost nerve self-adapting synergizing formation control methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180074520A1 (en) * 2016-09-13 2018-03-15 Arrowonics Technologies Ltd. Formation flight path coordination of unmanned aerial vehicles
CN108388269A (en) * 2018-03-17 2018-08-10 青岛理工大学 UAV Formation Flight control method based on quadrotor
CN108646758A (en) * 2018-03-20 2018-10-12 南京邮电大学 A kind of multiple mobile robot's default capabilities formation control device structure and design method
CN109557818A (en) * 2019-01-10 2019-04-02 南京航空航天大学 The sliding formwork fault tolerant control method of multiple agent tracking system with actuator and sensor fault
CN110488606A (en) * 2019-07-25 2019-11-22 中北大学 A kind of more quadrotor master-slave mode guaranteed cost nerve self-adapting synergizing formation control methods

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238568A (en) * 2021-04-26 2021-08-10 天津小鲨鱼智能科技有限公司 Following method, aircraft and first equipment
CN113220032A (en) * 2021-05-17 2021-08-06 浙江安防职业技术学院 Unmanned aerial vehicle cluster control method and device, unmanned aerial vehicle and storage medium
CN113885548A (en) * 2021-10-28 2022-01-04 南京邮电大学 Many four rotor unmanned aerial vehicle output restraint state unanimous game controller
CN113885548B (en) * 2021-10-28 2023-10-31 南京邮电大学 Multi-quad-rotor unmanned helicopter output constraint state consistent game controller
CN114115335A (en) * 2021-11-05 2022-03-01 桂林航天工业学院 Multi-quad-rotor unmanned aerial vehicle safety formation control method based on tracking differentiator

Also Published As

Publication number Publication date
CN112230670B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN112230670B (en) Formation control method for multi-four-rotor aircraft with predictor
CN109324636B (en) Multi-four-rotor master-slave type cooperative formation control method based on second-order consistency and active disturbance rejection
CN108388270B (en) Security domain-oriented cluster unmanned aerial vehicle trajectory attitude cooperative control method
Das et al. Dynamic inversion with zero-dynamics stabilisation for quadrotor control
CN108647442B (en) Auxiliary output-based six-rotor unmanned aerial vehicle fault estimation method
CN113157000B (en) Flight formation cooperative obstacle avoidance self-adaptive control method based on virtual structure and artificial potential field
CN111026146B (en) Attitude control method for composite wing vertical take-off and landing unmanned aerial vehicle
CN112631335A (en) Event-triggered multi-quad-rotor unmanned aerial vehicle fixed event formation method
CN113220021A (en) Flight formation cooperative self-adaptive tracking control method based on virtual leader
Chen et al. Distributed adaptive containment control of uncertain QUAV multiagents with time-varying payloads and multiple variable constraints
CN112947086A (en) Self-adaptive compensation method for actuator faults in formation control of heterogeneous multi-agent system consisting of unmanned aerial vehicle and unmanned vehicle
CN115431271A (en) Anti-interference pointing control method for tail end of aircraft mechanical arm
CN115556111A (en) Variable inertial parameter modeling-based coupling disturbance control method for aircraft mechanical arm
Xiang et al. Adaptive flight control for quadrotor UAVs with dynamic inversion and neural networks
Aruneshwaran et al. Neural adaptive flight controller for ducted-fan UAV performing nonlinear maneuver
CN113110593B (en) Flight formation cooperative self-adaptive control method based on virtual structure and estimation information transmission
Amir et al. Modeling and Neural Control of Quadrotor Helicopter
Zhan et al. Geometric-based prescribed performance control for unmanned aerial manipulator system under model uncertainties and external disturbances
Nemes Synopsis of soft computing techniques used in quadrotor UAV modelling and control
CN113885549B (en) Four-rotor gesture track control method based on dimension clipping PPO algorithm
Wang et al. Fuzzy sliding mode tracking control of the quadrotor unmanned aerial vehicle with unknown disturbances
Valencia et al. Trajectory tracking control for multiple quadrotors based on a neurobiological-inspired system
Gao et al. Event-triggered tracking control scheme for quadrotors with external disturbances: theory and validations
CN113359824A (en) Unmanned aerial vehicle cluster control method based on fuzzy model
CN113741491A (en) X-type quad-rotor unmanned aerial vehicle control method based on fault diagnosis result

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