Otwarty dostęp

Quadrotor Formation Inversion Control Method Based on Unit Quaternion


Zacytuj

INTRODUCTION

In recent years, with the rapid development of small unmanned aerial vehicles, researchers are concerned with quadrotor because it has simple structure and is easy to control. Quadrotor can not only carry out vertical takeoff, landing and autonomous hover function, but also the task efficiently under the uncertain and dangerous environment. However, faced with diverse combat missions, single UAV is more and more difficult to meet the needs of the multi-UAV collaborative control concept come into being. UAV formation control is an important basic research track in the field of multi-UAV collaborative control. Reasonable formation control method can make the UAV formation quickly get the air superiority and finish the combat task more efficiently. On the future battlefield, UAV will play an irreplaceable role.

The research of methods of formation control mainly contains leader-follower method, virtual structure, graph theory and behavior-based[1]. At present, the mainstream is the integration of the above methods. Early formation control mainly uses centralized control method that is characterized by high precision and easy to control, but depends on the calculation capabilities and global communication capabilities of the central control unit. With the increasing number of the formation members, the calculation of the central control unit increases exponentially, therefore this method lacks scalability and flexibility. Later, people propose the distributed control method, in which each UAV only communicates with the adjacent UAV. The surrounding UAV relative position relationship is acquired, compared to the expected formation by using of UAV’s own computing power. The actual position of the UAV is corrected to eliminate the formation error.

In recent years, many scholars aim at problems of the quadrotor formation, and they do a lot of research and design different types of controllers. In literature [2-6], the controller is designed with different degree of simplification to quadrotor model by feedback linearization and small perturbation linearization. However, the quadrotor is a typical underactuated system, a cascade nonholonomic system with complex constraint equations, which has a strong nonlinearity and thus needs a higher requirement for the control system. In literature [7], the quadrotor is also modeled by unit quaternion and the concept of manifold is introduced. The attitude control algorithm is designed under the differential geometry framework and gets a nice effect. Literature [8] combines the nonlinear part of the system identified by neural network online and leader-follower method to realize the formation control of the quadrotor. In literature [9], the kinetics and kinematics models of the quadrotor are described by quaternion and the intermediate control is introduced. The formation is stabilized by setting the appropriate intermediate control for each UAV. In literature [10], the error of the actual position and the expected position is introduced, and the tracking error model is established. Literature [11] also divides quadrotor model into two independent subsystems of position and attitude, and each of them uses backstepping method to design the time-varying feedback in order to make the system stable. The backstepping method is a design method of forward and backward recursion. It makes the system error progressive and stable, and it can also reduce the difficulty of design by designing the Lyapunov function step by step. Based on the above research, the quadrotor mathematical model is established by using the unit quaternion method. Then the geometric center position of the formation is calculated by the consistency algorithm and is used as the expected trajectory. Finally the whole formation is stable by designing Backstepping Control for each quadrotor.

THE PROPERTY OF UNIT QUATERNION[12]

Quaternion is a number such as a + bi + cj + dk, where a b c d is real numbers and i, j, k is imaginary units. And a set of quaternion H = {a + bi + cj + dk|a, b, c, dR} is a four-dimensional vector space on real field R. η = a is the quaternion scalar part, and q=bi+cj+dk is the quaternion vector part. The quaternion can be written as follows: q=(η,q) The mold of the unit quaternion is a constant one, that is:η2+q2=1

Unit quaternary can be seen as a point on the unit sphere S3. Quaternion is a powerful tool that represents rotation in three-dimensional space. Based on Euler theorem, any rotation in a three-dimensional space can be obtained by rotating an angle about the characteristic axis and the corresponding unit quaternion is q=(cosα2,sinα2n)α[0,2π], therein n is unit vector.

Given a unit quaternion, the relationship between the corresponding attitude matrix and the unit quaternion is:R(q)=(η2+q2)I3+2ηS(q)+2qTq.

Where I3R3×3 is the unit matrix. The Euler angle is Θ = [φ θ Ψ], the attitude matrix can be expressed as:R(Θ)=[cθcψcϕsψ+sϕsθcψsϕsψ+cϕsθcψcθsψcϕcψ+sϕsθsψsϕcψ+cϕsθsψsθsϕcθcϕcθ]

The error between the actual attitude matrix R and the expected attitude matrix Rd is defined as:R˜=RRdT

Let q=(η,q)=[ηq1q2q3] and p=(ε,p)=[εp1p2p3] be two units of quaternions. the quaternion multiplication is defined as:qp=(ηεqpT,ηp+εq+S(q)pT)

The quaternion does not satisfy the exchange law, which is qppq, but it satisfies the law of union, which is (qp)s = q(ps), and also satisfies the distribution law, which is (p + q)s = ps + qs. Defining q*=(η,q) as the conjugate of the quaternion q. The conjugate of qp Satisfies (qp)* = p*q*.

QUADROTOR MODEL BASED ON UNIT QUATERNION

The quadrotor UAVs are usually divided into Type X and Type +, with four inputs and six outputs, which are typical underactuated systems. The quadrotor carries out the movements, pitch, roll and yaw of the aircraft by controlling the speed of four independent motors and propellers. Quaternion is a simple and effective mathematical tool that describes the rotation and movement of rigid bodies in three-dimensional space, which can effectively avoid the appearance of singularity and have the characteristics of high efficiency etc. The quadrotor UAV is regarded as the rigid body structure. Assuming that the center of gravity is located at the origin of the coordinate system of the body. The motor has no installation error angle, and the motor lift surface is located on the same plane as the aircraft center of mass. Using the quaternion to establish the quadrotor of the dynamics model and kinematics model, the quadrotor is decomposed into the position subsystem Σ1 and the attitude subsystem Σ2, and getting the following model:{1:{ξ˙=v,v˙=ge3TmR(q)Te3,2:{q˙=12qω¯,ω˙=τS(ω)ω,

In the formula, ξ, vR3 is the position and velocity of the quadrotor in the inertial coordinate system, g and m are the mass and gravitational acceleration of the quadrotor. Defining vector ω¯=(0,ωT)T, Where ωR3 represents the angular velocity in the body coordinate system. The unit vector for the z-axis is e3 [0 0 1]T. T is the lift to provide power system, τR3 is the role which has effect on the body in the rolling moment, pitch torque and yaw moment. S(ω) is the antisymmetric matrix for ω. For ω = [ω1ω2ω3[T, there is:S(ω)=[0ω3ω2ω30ω1ω2ω10]

CONTROLLER DESIGN AND CONVERGENCE ANALYSIS
Problem description

Considering the UAV formation has N + 1 member, number 1 is assigned for the formation of unmanned aerial vehicles. Assuming that each UAV can access the status information of itself and other members of the formation through its own sensor and wireless communication network. According to the information exchange among unmanned aerial vehicles, UAV formation can be in the form of modeling. Assuming that the UAV communication topology is an inbound connection diagram. As shown in Fig. 1. At the beginning of the formation, the formation members obtain their own and other members of the formation of state information through the wireless communication network, then the formation of the desired location center and the expected speed are obtained by consistency algorithm, and output to the pose controller, making the UAVs close to the scheduled formation center aggregation. After reaching the specified spacing, the formation of the task is finished.

Figure 1.

Schematic diagram of quadrotor formation

Regardless of the difference in the quadrotor in the formation, the quadrotor is isomorphic and conforms to the model (6):{i1:{ξ˙i=vi,v˙i=ge3TimiR(qi)Te3,i2:{q˙i=12qiω¯i,ω˙i=τiS(ωi)ωi,

Define the position error of the i UAV is ξ˜i=ξiξdδi, the velocity error is v˜i=viξ˙id, the angular velocity error is ω˜=ωRωd, and the error system model of the i unmanned aerial vehicle which derivatived from above parameters is:{ξ˜˙i=v˜iv˜˙i=ge31mRide3Tidξ¨id+1m(IR˜id)e3Tidq˜˙i=12(S(q˜i)+ηiI3)ω˜iω˜˙i=J1(τid(ω˜i+R˜iωid)×J(ω˜i+R˜iωid))R˜i(ω˙idS(ω˜i)ωid)

In the formula, nid = Ride3 is the last column of the expected attitude matrix, Tid and τid is the parameter of control for the system. q˜=(n˜,q˜) is the error quaternion, and its calculation satisfies the quaternion multiplication algorithm:q˜=qqd=(ηηdqqdT,ηqd+ηdq+S(q)qdT)

R˜ is the attitude error matrix, By the formula (2) available:q˜

The work which is done in this paper is to design the virtual control volume Ti and the control torque τi for the i th four-rotor unmanned aerial vehicle, so that the four-rotor formation maintains a fixed formation and a fixed distance. That is:.vivjvd,ξiξjδiδj=δij.

In the formula, vd is the expected speed for the formation reference, δij is the desired distance between the i th unmanned aerial vehicle and the j th unmanned aerial vehicle, and is satisfied with δij = −δji.

Controller design

According to the cascade system analysis method, the quadrotor error system model is decomposed into position error subsystem and attitude error subsystem.

1:{ξ˜˙i=v˜iv˜˙i=ge31mnidTidξ¨id2:{q˜˙=12(S(q˜i)+ηiI3)ω˜iω˜˙i=J1(τid(ω˜i+R˜ωid)+J(ω˜i+R˜iωid))R˜i(ω˙idS(ω˜i)ωid)

The following reference [] uses the BackStepping method to design the position subsystem controller and the attitude subsystem controller separately. First step is to define the error between the system state and the virtual feedback:{z1=ξ˜iz2=v˜iα1(z1)

In the formula, α1 is the virtual control. V function is defined for each virtual feedback so that each state component has an appropriate progressive. The equation (14) is essentially a differential homeomorphism. To stabilize the original system, it is only necessary to stabilize the error between the original system state and the virtual feedback.

Step 1: Find the derivative of xz˙1=ξ˜˙i=v˜i

Define the first Lyapunov function: V1=z1Tz1/2:{z˙1=α1(z1)+z2=k1z1+z2V˙1=z1Tz˙1=z1T(α1(z1)+z2)=k1z1Tz1+z1Tz2

Obviously, if z2 = 0, z1 asymptotically stable by the above formula, but in general z2 ≠ 0, therefore it needs to proceed to the next step, so that z2 has the desired progressive characteristics. V2 the derivative of time is:V˙2=k1z1Tz1+z1Tz2+z2T(ge31mnidTidξ¨id+k1(z2k1z1))

take 1mnidTid=ge3ξ¨id+(1k2)z1+(1+k1k2)z2, now V˙2=k1z1Tz1k2z2Tz2 There are positive numbers k1, k2 in the formula. Thus, the z1 and z2 exponents converge to 0, which is globally exponentially stable. According to the nature of the attitude matrix, nid is a unit vector ||nid|| = 1. so each member of the formation of the expected lift Tid and virtual control of the amount of nid is acquired.

{Tid=mge3ξ¨id+(k1+k2)v˜i+(1+k1k2)ξ˜inid=(ge3ξ¨id+(k1+k2)v˜i+(1+k1k2)ξ˜i)/(Tid/m)

In the formula, nid satisfy the constraint equation ||nid|| = 1, Since nid does not contain all the desired gesture information Where the aircraft can be in the course of flight to maintain the heading angle of 0°, that is, Ψid = 0. ψid and θid can be obtained by calculation. The desired attitude matrix Rid is obtained according to equation (3) and then the desired quaternion (ηid and qid) is obtained according to equation (2). Quaternion error η˜i and q˜i can be obtained through the formula (10). The same method is used to design the control law for the attitude subsystem to stabilize the global exponent, and the error between the system state and the virtual feedback is defined as{z3=q˜iz4=ω˜α2(z3)

α2 is the virtual control amount. Formation control is mainly concerned with the position control subsystem of the aircraft. Therefore, the quadrotor UAV i posture subsystem inversion control law is given directly next, the specific derivation process reference literature [10].

τid=ωi×Jωi+J(R˜iω˙idR˜iS(ω˜i)ωid)+α˙2(ε3)k4ε412(S(ε3)+1ε3Tε3I3)ε3

The reference signal is negotiated by the formation members through a coherence algorithm. The reference signal needs to meet certain constraints. Assuming that the reference signals ξid, ξid,ξ˙id,ξ¨id and ξid(3) are bounded and visible to all formation members.

The desired position ξid and the desired velocity vid are obtained by taking the weighted average of all the members in the formationξid=1Nij=1Niξjvid=1Nij=1Nivj

It translates the formation problem into a trajectory tracking problem for a given reference signal. In the formula, Ni is the number of aircraft in the formation with the i th unmanned aerial vehicle as a neighbor. Considering the situation that the formation communication topology is no omnidirectional graph, at this time, in addition to the pilot, any aircraft in the formation has the same status, so the subscript i can be ignored. Formula (21) and (22) are rewritten as follows:ξd=1Nj=1Nξj,vd=1Nj=1Nvj

The formation of the ith UAV can be guaranteed through the inversion control law. ξiξd + δi, vivd, ξiξjδiδj = δij, vivj can be guaranteed.

EXPERIMENTAL SIMULATION
Parameter setting

Regardless of the differences among the quadrotor systems, the system quality is assumed m = 0.6 kg. The moment of inertia is Jx = Jy = 0.2kg·m2, Jz = 0.04kg·m2.

Setting the formation size N = 5, k1 = 10, k2 = 10. Specify the number five of the quadrotor for the pilot, the remaining four for the followers. Assuming that the pilot broadcasts its own state information, the followers are able to receive that in real time, and the communication topology between the followers is an undirected graph. The follower initial position matrix P0 is:P0=[ξ10ξ20ξ30ξ40]=[0.81.50.411.50.90.51.2021.50]

The pilot does uniform circular motion in a fixed height, the movement trajectory is:{x=cosπty=sinπtz=5

The relative positional deviation of the formation is described by:δ=[δ1δ2δ3δ4]=[00.500.50.500.500000]

The simulation time is 9.5s and the simulation step is 0.001s

Simulation results

According to the above parameters, the system model is built with Simulink module in MATLAB, and the control algorithm is verified. Figure 2 is the three-dimensional map of the formation simulation. In the figure, the black curve is the trajectory of the pilot, and the triangle “△” indicates the final position of each quadrotor UAV. At the beginning of the simulation, the pilot does circular motion in the air, followers locates on the different positions on the ground, taking off after receiving the state information of the pilot, the first team members calculate the formation center position through the negotiation of calculation, and as a reference tracking signal, Algorithm (18) eventually converges the five quadrilateral to the intended formation. A variety of formation can be easily designed by setting a different relative position error.

Figure 2.

Quadrotor formation track simulation curve

Fig. 3-Fig. 5 shows the change of the position and velocity of the fleet members in the formation and maneuvering process. It can be seen from the figure that the followers quickly move closer to the pilot after takeoff. At t = 1s, the distance from the pilot tends to be the designated position and remains at the same speed as the pilot, and is well tracked by the pilot. The validity of the tactics proposed in this paper is verified.

Figure 3.

X-direction UAV position and speed curve

Figure 4.

Y-direction UAV position and speed curve

Figure 5.

Z-direction UAV position and speed curve

Fig. 6 shows the error between the formation center trajectory and the pilot’s trajectory calculated by the formation member’s negotiation. It can be seen that the formation center finally converges to the position of the pilot.

Figure 6.

Reference trajectory and pilot trajectory error

CONCLUSION

Aiming at the control problem of quadrotor formation, the nonlinear dynamic model and kinematic model are described by unit quaternion. The formation control is achieved by tracking the geometric center of the formation. At the beginning of the formation, team members calculate the formation of the geometric center as a reference signal through the wireless network exchange position, speed and other state information. Each UAV is designed with time-varying feedback control law through the Back stepping method which translates the formation problem into a tracking problem for a given reference signal. The simulation results of matlab show that the method is fast and accurate and the convergence speed of the formation system is improved. The simulation results show that the proposed method is fast and accurate. At present, the method has not yet considered the formation problem and the formation problem with the maximum velocity constraint. The subsequent study will consider the problem of formation, maintenance and reconstruction of the formation under the constraint of uniformity and maximum speed.

eISSN:
2470-8038
Język:
Angielski
Częstotliwość wydawania:
4 razy w roku
Dziedziny czasopisma:
Computer Sciences, other