Aircraft attitude tracking control method, system and computer equipment

Information

  • Patent Application
  • 20250091737
  • Publication Number
    20250091737
  • Date Filed
    December 05, 2024
    5 months ago
  • Date Published
    March 20, 2025
    2 months ago
Abstract
The invention provides an aircraft attitude tracking control method, system and computer equipment, which belongs to the field of aircraft attitude control, comprising: obtaining aircraft operating parameters and establishing a kinematic model of the attitude tracking error of the aircraft. A specified time performance constraint function and attitude error boundary based on the hyperbolic cosecant composite function are then constructed. A constrained attitude error conversion function and its inverse function are utilized to obtain an unconstrained attitude tracking conversion error. Virtual control instructions are solved in kinematics using a sigmoid tracking differentiator to obtain a numerical derivative. The control moment in the dynamics is solved and the complete form of the attitude tracking algorithm is given for the aircraft attitude tracking system. This method provides a computationally efficient means of controlling aircraft to ensure that error convergence is achieved within a preset time.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese Patent Application No. 202311664381.9, filed on Dec. 6, 2023 before the China National Intellectual Property Administration, the disclosure of which is incorporated herein by reference in entirety.


TECHNICAL FIELD

The present invention belongs to the technical field of attitude control of rigid body aircraft, and specifically relates to an aircraft attitude tracking control method, system and computer equipment.


BACKGROUND

With the advancement of technology and the continuous growth of mission requirements, aircraft and space missions have become increasingly complex and diversified, and mission types have gradually evolved from traditional single-aircraft missions such as earth observation and communication relay to emerging multi-aircraft cluster missions such as rendezvous, docking and formation flight. For all kinds of aircraft, effective attitude control is related to various flight processes such as aircraft take-off, landing and flight direction, and is an important foundation to ensure the smooth execution of various aerospace missions. Due to the relatively close relative distance between the aircraft in a swarm mission, for the sake of the mission time window and safety collision avoidance, it is necessary to pay attention not only to the final steady-state goal of attitude control, but also to transient performance characteristics such as convergence speed, overshoot, and trajectory boundary during the motion processes. Although the transient performance of the system can be adjusted by changing the parameters of traditional control methods, transient performance is not considered in the control design process. Thus, there is no theoretical framework to guarantee suitable transient performance, making it difficult to meet the requirements for the safety and reliability of attitude control in swarm aerospace missions.


Preset performance control is a convenient, effective and widely used method to achieve a priori constraints on transient performance such as overshoot and convergence time. However, there are two main problems in current implementations of preset performance attitude control of aircraft: (1) the traditional exponential performance constraint function has limitations of not enabling preset convergence time, requiring initial error information for the system, and not allowing fine adjustment of convergence speed. These functions have the characteristics of fast convergence speed in the initial stage, and large systematic error in the initial stage. Thus, it is easy to cause phenomena such as surge of initial control quantity and jitter, which then cause performance degradation or even instability of the closed-loop system. (2) Most of the existing control algorithm designs focus is on theoretical derivation results, and simulation tests are carried out on high-performance computers with abundant computing resources. However, available computing resources in actual airborne flight control systems are very limited, and most of the attitude control algorithms do not take into account the need for lightweight processing of calculations. Thus it is easy for a huge disparity between simulation test performance and practical application effects to emerge.


SUMMARY

In order to solve the problem of high-performance, robust practical aircraft attitude tracking control under the condition of limited computing resources, the present invention provides an aircraft attitude tracking control method, system and computer equipment, which is based on the composite hyperbolic cosecant composite function to carry out the design of an attitude tracking controller with preset performance at specified time, which can simultaneously solve the problems in existing methods of infinite theoretical convergence time, dependence on initial state information, and difficulty in adjusting convergence speed. Based on a sigmoid tracking differentiator, the method obtains the derivative information of the virtual control instruction in the backstep design, which can solve the problems of complex controller form and the sharp increase of online computation caused by the analytical derivation of existing methods.


In order to achieve the above purpose, the invention provides the following technical scheme:


An aircraft attitude tracking control method comprises the following steps:

    • Obtain the operating parameters of the aircraft;
    • Based on the operation parameters and quaternion description of the aircraft, the kinematic model and dynamic model of the attitude tracking error of the aircraft were established;
    • Based on the hyperbolic cosecant composite function, the performance constraint function of the specified time convergence is constructed, and the attitude tracking error constraint boundary is set based on the performance constraint function.


Construct a constrained attitude error conversion function based on the attitude tracking error constraint boundary, and solve the inverse function of the constrained attitude error conversion function to obtain the dynamic equation of the unconstrained attitude tracking conversion error.


According to the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error, establish a dynamic equation of the unconstrained conversion.


Solve the virtual control instructions in the kinematic model based on the dynamic equation and the backstepping method of the unconstrained transformation error, and construct a Sigmoid tracking differentiator to obtain the numerical derivative of the virtual control instructions;


Wherein the control torque is designed based on the virtual control instructions and numerical derivatives, the actual control input is solved by the backstepping method in the dynamic model, and the control torque and the actual control input are used in the aircraft attitude tracking system to realize the aircraft attitude tracking control.


Preferably, the specific construction methods of the kinematic model and dynamic model of the aircraft attitude tracking error are as follows:


FI denotes the earth's inertial system, FB is the aircraft system, FD is the desired motion coordinate system, and the motion of the aircraft unit is expressed as FB relative to F1 motion. The single body attitude kinematics model and dynamics model based on quaternion description are:











q
˙

B

=


1
2



q
B



ω
B
B






(
1
)














J
B




ω
˙

B
B


=



-

ω
B
B


×

J
B



ω
B
B


+

τ
B






(
2
)









    • wherein, qB and ωBB are the attitude quaternion and angular velocity of the aircraft, {dot over (q)}B and {dot over (ω)}BB are the derivatives of the attitude quaternion and angular velocity of the aircraft, respectively, JB is the moment of inertia of the aircraft and τB is the control input torque;





Desired motion is described as FD relative to FI motion that satisfies:











q
˙

D

=


1
2



q
D



ω
D
D






(
3
)









    • where qD and ωDD are the desired attitude and the desired angular velocity, respectively;





The tracking motion of the aircraft is described as the motion of FB relative to FD. Based on formulas (1)-(3), the kinematic model and dynamic model of the aircraft attitude tracking error are established as follows:











q
˙

e

=


1
2



q
e



ω
e
B






(
4
)














J
B




ω
˙

e
B


=



-

ω
B
B


×

J
B



ω
B
B


+


J
B

(



C
e




ω
˙

D
D


-


ω
e
B

×

C
e



ω
D
D



)

+

τ
B






(
5
)









    • wherein, qe=[qe0, qeT]T is the attitude tracking error quaternion, qe0 is the scalar part of the quaternion, qe=[qe1, qe2, qe3]T is the vector part of the quaternion, ωeB is the angular velocity tracking error, JB is the moment of inertia of the aircraft, ωBB is the angular velocity of the aircraft, WB and co are the expected angular velocity and angular acceleration respectively, Ce is the rotation matrix, and τB is the control torque.





Preferably, the performance constraint function of the specified time convergence is constructed based on the hyperbolic cosecant composite function, and the attitude tracking error constraint boundary is set based on the performance constraint function, specifically:


Based on the hyperbolic cosecant composite function, a performance constraint function for the convergence of the specified time is constructed ρi(t):











ρ
i

(
t
)

=

{







csch

(


ρ

i

0


+



r
i


t



T
i

-
t



)

+

ρ

i





,




0

t
<

T
i







ρ

i







t
<

T
i





,






(
6
)










i
=
1

,
2
,
3






    • wherein, t is the time variable, csch(⋅) is the hyperbolic cosecant composite function, Ti is the specified convergence time, ρi0 is used to adjust the initial point of the boundary function, ri is used to adjust the convergence speed of the function, and ρi∞ is the steady-state upper bound of the error;





Based on the performance constraint function, the attitude tracking error constraint boundary is designed as:












-


δ
i

_





ρ
i

(
t
)


<

q
ei

<



δ
i

_




ρ
i

(
t
)



,




(
7
)










i
=
1

,
2
,
3.






    • where δi and δi are the overshoot limit parameters, and δi, δi∈(0,1], qei are the corresponding components in the quaternion of the attitude tracking error.





Preferably, the constrained attitude error conversion function is constructed based on the attitude tracking error constraint boundary, and the inverse function of the constrained attitude error conversion function is solved to obtain a dynamic equation for the unconstrained attitude tracking conversion error, specifically:


Based on the boundary constraint of the attitude tracking error, the constrained attitude error conversion function is constructed, which is used to convert the constrained attitude tracking error into an unconstrained form, and the constrained attitude error conversion function S(⋅) is designed as follows











S

(

ε
i

)

=





δ
i

¯



e

ε
i



-



δ
i

¯



e

-

ε
i







e

ε
i


+

e

-

ε
i






,




(
8
)










i
=
1

,
2
,
3






    • wherein εi is the unconstrained transformation error, and the constrained actual attitude error qe and the unconstrained transformation error εi satisfy:














q
ei

=


ρ
i



S

(

ε
i

)



,




(
9
)










i
=
1

,
2
,
3






    • based on equation (9), the inverse function of the constrained attitude error conversion function S−1(⋅) is solved to give an explicit expression of the transformation error:














ε
i

=



S

-
1


(

z
i

)

=


1
2


ln



(



z
i

+


δ
i

_





δ
i

_

-

z
i



)




,




(
10
)











z
i

=



q
ei

(
t
)

/


ρ
i

(
t
)



,







i
=
1

,
2
,
3






    • where εi is the conversion error, and zi is the normalized conversion error.





Preferably, the dynamic equation of the unconstrained conversion error is established according to the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error, specifically:










ε
˙

=



RQ
e



ω
e


+
v





(
11
)









    • where ε=[ε1, ε2, ε3]T is the transformation error vector, {dot over (ε)} represents the derivative of ε; R=diag[r1, r2, r3], is a third-order diagonal matrix;











r
i

=





S

-
1






z
i



·

1

ρ

i






,







i
=
1

,
2
,
3
,








Q
e

=




q

e

0





I
3


+

q
e
×


2


,







v
=


[


v
1

,

v
2

,

v
3


]

T


,
,








v
i

=


-

r
i






q

ei






ρ
.

i



ρ
i




,







i
=
1

,
2
,

3
;





S−1 is the inverse of the error conversion function, ri is an element in the diagonal matrix, Qe is the attitude multiplication matrix, qe0 is the scalar part of the quaternion, I3 is the third-order identity matrix, qe× is the attitude cross product matrix, ν is the auxiliary vector, and νi is an element in the auxiliary vector.


Preferably, the virtual control instructions of the kinematic loop are solved based on the dynamic equation and the backstepping method of the unconstrained conversion error, and a sigmoid tracking differentiator is constructed to obtain the numerical derivative of the virtual control instructions, specifically:


Based on the dynamic equation of the unconstrained transformation error, the virtual control instructions in the kinematic model are designed as:










ω
ec

=


-

Q
e

-
1






R

-
1


(



k
p


ε

+
v

)






(
12
)









    • wherein kp>0 is the control parameter, and the −1 in the upper right corner of the parameter represents the inversion.





To build a tracking differentiator based on sigmoid function:






{







x
.

1

=

x
2









x
.

2

=



-

r
2




sig

(




x
1

-
w

;

a
1


,

b
1


)


-

sig

(



x
2

/
r

;


a
2



b
2



)






,








sig

(


x
;
a

,
b

)

=

a
[



(

1
+

e

-
bx



)


-
1


-
0.5

]







    • where sig(⋅) is the sigmoid function, a1, b1, a2, b2>0 is the design parameter, r>0 is the acceleration factor, w is the reference signal input, and x1 and x2 are the two states of the tracking differentiator.





The sigmoid tracking differentiator is used to find the derivative of the virtual control command:









{







ω
.

ecfi

=

x

ω

i










x
.


ω

i


=


r
i
2

[


sig

(




ω
ecfi

-

ω
eci


;

a

i

1



,

b

i

1



)

+

sig

(



x

ω

i



/

r
i


;


a

i

2




b

i

2




)







,





(
14
)










i
=
1

,
2
,
3






    • wherein ri, ai1, ai2, bi1, bi2>0, ωecf=[ωec1, ωec2, ωec3]T and {dot over (ω)}ecf=[xω1, xω2, xω3]T are the filtered signal and the filtered derivative of the virtual control command, respectively, and xωi is a state of the tracking differentiator.





Preferably, the control torque is designed based on the virtual control instruction and the numerical derivative, the actual control input quantity is solved by using the backstepping method in the dynamic model, and the control torque and the actual control input quantity are used in the aircraft attitude tracking system to realize the aircraft attitude tracking control, specifically:


Based on the virtual control instruction and its filtering signal, the angular velocity loop tracking error is defined as zωe−ωecf, and its dynamic equation is:











z
˙

w

=


J
B

-
1


(



-

ω
B
B


×

J
B



ω
B
B


-


J
B

(



C
e




ω
˙

D
D


-


ω
e
B

×

C
e



ω
D
D



)

+

τ
B







(
16
)







According to equation (16) and the principle of backstepping method, the control torque input τB is designed as:










τ
B

=


-
Ξ

+


J
B




ω
˙


e

c

f



-


k
d



z
ω


-


Q
e
T



R
T


ε






(
17
)









    • wherein kd>0 is the control parameter, and Ξ=−ωBB×JBωBB−JB(Ce{dot over (ω)}DDeB×CeωDD) is the auxiliary variable;





Substituting the control torque input τB into the dynamical model, the closed-loop dynamics equation is as follows:











z
˙

ω

=



-

k
d




z
ω


-


Q
e
T



R
T


ε






(
18
)







The candidate Lyapunov equation for defining the overall closed-loop system is:









V
=



1
2



ε
T


ε

+


1
2



z
ω
T



z
ω







(
19
)







The derivative V along the trajectory of the closed-loop system can be obtained {dot over (V)}=kpε2−kdzω2TRQes.


Preferably, the aircraft attitude tracking controller is:









{





ω

e

c


=


-
2



Q
e

-
1





R

-
1


(



k
p


ε

+
v

)








{







ω
˙

ecfi

=

x

ω

i



,

i
=
1

,
2
,
3








x
.


ω

i


=


r
i
2

[


sig


(




ω
ecfi

-

ω
eci


;

a

i

1



,

b

i

1



)


+

sig


(



x

ω

i


/

r
i


;


a

i

2




b

i

2




)















τ
B


=


-
Ξ

+


J
B




ω
˙

ecf


-


k
d



z
ω


-


Q
e
T



R
T


ε










(
20
)









    • wherein, xωi is a state of the tracking differentiator, kd is the control parameter and Ξ is the auxiliary variable.





The invention also provides an aircraft attitude tracking control system, comprising:

    • The data acquisition module is used to obtain the operating parameters of the aircraft;
    • The model building block is used to establish the kinematic model and dynamic model of the aircraft attitude tracking error based on the aircraft operating parameters and quaternion description methods;
    • The constraint boundary setting module is used to construct the performance constraint function of the specified time convergence based on the hyperbolic cosecant composite function, and to set the constraint boundary of the attitude tracking error based on the performance constraint function;
    • The first dynamic equation is used to construct a constrained attitude error conversion function based on the attitude tracking error constraint boundary, and to solve the inverse function of the constrained attitude error conversion function to obtain a dynamic equation of the unconstrained attitude tracking conversion error;
    • The second dynamic equation is used to construct a model based on the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error.


The derivative solving module is used for solving the virtual control instructions in the kinematic model based on the dynamic equation and the backstepping method of the unconstrained transformation error, and constructing a Sigmoid tracking differentiator to obtain the numerical derivative of the virtual control instructions;


The tracking module is used for designing the control moment based on the virtual control instruction and the numerical derivative, using the backstepping method to solve the actual control input quantity in the dynamic model, and using the control torque and the actual control input quantity for the aircraft attitude tracking system to realize the aircraft attitude tracking control.


The invention also provides a computer device, comprising a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize any of the steps described in the aircraft attitude tracking control method.


The aircraft attitude tracking control method provided by the present invention has the following beneficial effects:

    • The attitude tracking algorithm in the present invention is designed based on the preset performance method, and the performance constraints are applied in advance in the controller design process, so as to theoretically ensure the constraint and adjustability of the transient and steady-state performance of the closed-loop system; The performance constraint function based on the composite hyperbolic cosecant is constructed, and the prior constraints of overshoot and steady-state error, the pre-specified convergence time and the fine adjustment of the convergence speed are realized at the same time, so as to ensure the strict controllability and smooth reliability of the whole tracking process. The Sigmoid tracking differentiator is used to derive the virtual control instructions in the backstep design, so as to realize the computational lightweight of the control algorithm and ensure its practical application performance in the airborne flight control system.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to more clearly illustrate the embodiment of the present invention and its design scheme, the accompanying drawings required for the present embodiment will be briefly described below. The drawings described below are only partial embodiments of the present invention, and for those of ordinary skill in the art, other drawings may be obtained from these drawings without creative effort.



FIG. 1 is the flow chart of the aircraft attitude tracking control method of embodiment 1 of the present invention.



FIG. 2 is a schematic diagram of three coordinate systems used in the attitude tracking motion modeling in the present invention.



FIG. 3 is the closed-loop structure diagram of the lightweight specified time preset performance attitude tracking control system in the present invention.





DETAILED DESCRIPTION OF EMBODIMENTS

In order to enable those skilled in the art to better understand the technical scheme of the present invention and to be able to implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical scheme of the present invention and cannot be used to limit the scope of protection of the present invention.


Embodiment 1

The present invention provides an aircraft attitude tracking control method, as shown in FIG. 1 to FIG. 3, and comprises the following steps:


Step 1: Firstly, the aircraft operating parameters are obtained, and the kinematic model and dynamic model of the aircraft attitude tracking error based on the aircraft operating parameters and quaternion description are established.


In order to establish the aircraft attitude motion model (hereinafter referred to as the kinematic model), three coordinates are defined as shown in FIG. 2, in which the earth's inertial frame is denoted as F1, the aircraft system is denoted as, FB and the expected motion coordinate system is denoted as FD. The motion of the aircraft unit is expressed as FB. F1 represents relative motion, and the kinematic model and dynamic model of the attitude of the vehicle based on the quaternion description are as follows











q
˙

B

=


1
2



q
B



ω
B
B






(
1
)














J
B




ω
˙

B
B


=



-

ω
B
B


×

J
B



ω
B
B


+

τ
B







(
2
)










    • wherein, qB and ωBB are the attitude quaternion and angular velocity of the aircraft, {dot over (q)}B and ωBB are the derivatives of the attitude quaternion and angular velocity of the aircraft, respectively, JB is the moment of inertia of the aircraft and τB is the control input torque.





Desired motion is described as FD relative to F1 motion that satisfies:














q
˙

D


=


1
2



q
D



ω
D
D






(
3
)









    • where qD and ωDD are the desired attitude and the desired angular velocity, respectively;





The tracking motion of the aircraft is described as the motion of FB relative to FD. Based on formulas (1)-(3), the kinematic model and dynamic model of the aircraft attitude tracking error are established as follows:











q
˙

e

=


1
2



q
e



ω
e
B






(
4
)














J
B




ω
˙

e
B


=



-

ω
B
B


×

J
B



ω
B
B


+


J
B

(



C
e




ω
˙

D
D


-


ω
e
B

×

C
e



ω
D
D



)

+

τ
B






(
5
)









    • wherein, qe=qD*qB is the attitude tracking error quaternion, qe0 is the scalar part of the quaternion, qe=[qe1, qe2, qe3]T is the vector part of the quaternion, ωeBBB−CeωDD is the angular velocity tracking error, Ce is the rotation matrix from FD to FB, ωDD is the desired angular velocity, {dot over (ω)}DD is the is the desired attitude angular acceleration, JB is the moment of inertia of the aircraft, ωBB is the angular velocity of the aircraft, and τB is the control torque.





Step 2: Construct a specified time performance constraint function based on a hyperbolic cosecant composite function and a posture tracking error constraint boundary.


In order to achieve the goal of fine-tuning the convergence speed and pre-specifying the convergence time, a performance constraint function based on a piecewise composite hyperbolic cosecant composite function is constructed:












ρ
i

(
t
)

=



{







csch


(


ρ

i

0


+



r
i


t



T
i

-
t



)


+

ρ

i





,




0

t
<

T
i







ρ

i







t
<

T
i





,

i
=
1

,
2
,
3






(
6
)









    • wherein, t is the time variable, csch(⋅) is the hyperbolic cosecant composite function, Ti is the specified convergence time, ρi0 is used to adjust the initial value of the performance constraint function; with the help of the properties of the hyperbolic cosecant composite function,











lim

ρ


i

0


0




c

s

c


h

(
0
)



=

+






we can design a sufficiently small ρi0 to make the initial value of the performance constraint function sufficiently large, thereby ensuring that the initial conditions are always met and eliminating the dependence on the initial state of the system.


Based on the performance constraint function, the attitude tracking error constraint boundary is designed as:












-


δ
i

_





ρ
i

(
t
)


<

q

e

i


<



δ
i

¯




ρ
i

(
t
)



,

i
=
1

,
2
,
3.




(
7
)









    • where δi and δi are the overshoot limit parameters, and δi, δi∈(0,1], which is used to adjust the maximum boundary of the attitude tracking error, is the overshoot of the adjustment convergence process, and qei is the corresponding component in the quaternion of the attitude tracking error.





Step 3: Construct the constrained attitude error conversion function and its inverse function to obtain the dynamic equation of the unconstrained attitude tracking conversion error.


Based on the boundary constraint of the attitude tracking error constraint set in the second step, a constrained attitude error conversion function is constructed to convert the constrained attitude tracking error into an unconstrained form, and the constrained attitude error conversion function S(⋅) is designed as follows











S

(

ε
i

)

=





δ
i

¯



e

ε
i



-



δ
i

_



e

-

ε
i







e

ε
i


+

e

-

ε
i






,

i
=
1

,
2
,
3




(
8
)









    • wherein εi is the unconstrained transformation error, and the constrained actual attitude error qei and the unconstrained transformation error εi satisfy:














q

e

i


=


ρ
i



S

(

ε
i

)



,

i
=
1

,
2
,
3




(
9
)







Based on equation (9), the inverse function of the constrained attitude error conversion function S−1(⋅) is solved to give the explicit expression of the transformation error:











ε
i

=



S

-
1


(

z
i

)

=


1
2


ln


(



z
i

+


δ
i

_





δ
i

_

-

z
i



)




,


z
j

=



q

e

i


(
t
)

/


ρ
i

(
t
)



,

i
=
1

,
2
,
3



10








    • where εi is the conversion error, and zi is the normalized conversion error.





Combined with the kinematic model of the attitude tracking error of the aircraft established in the first step, the dynamic equation of the unconstrained conversion error is established:










ε
˙

=


R


Q
e



ω
e


+
v





(
11
)









    • where ε=[ε1, ε2, ε3]T is the transformation error vector, E represents the derivative of ε; R=diag[r1, r2, r3], is a third-order diagonal matrix;











r
i

=





s

-
1






z
i



·

1

ρ
i




,







i
=
1

,
2
,
3
,


Q
e

=




q

e

o




I
3


+

q
e
×


2


,

v
=


[


v
1

,

v
2

,

v
3


]

T


,


v
i

=


-

r
i






q

e

i





ρ
.

i



ρ
i




,

i
=
1

,
2
,

3
;





S−1 is the inverse of the error conversion function, ri is an element in the diagonal matrix, Qe is the attitude multiplication matrix, qe0 is the scalar part of the quaternion, I3 is the third-order identity matrix, qe× is the attitude cross product matrix, ν is the auxiliary vector, and νi is an element in the auxiliary vector.


Based on the dynamic equation of the unconstrained conversion error given in the third step, the virtual control instructions in the kinematic model are designed as follows:










ω

e

c


=


-

Q
e

-
1






R

-
1


(



k
p


ε

+
v

)






(
12
)









    • wherein kp>0 is a control parameter.





In order to obtain the derivatives of virtual control instructions and reduce the burden of online computation, a tracking differentiator based on Sigmoid function is constructed:









{







x
˙

1

=

x
2












x
˙

2

=


-

r
2



s

i

g


(




x
1

-
w

;

a
1


,











b
1

)

-

(

sig

(



x
2

/
r

;


a
2



b
2



)









,


sig

(


x
;
a

,
b

)

=


a
[



(

1
+

e


-
b


x



)


-
1


-

0
.
5


]

.







(
13
)









    • where sig(⋅) is the sigmoid function, a1, b1, a2, b2>0 is the design parameter, r>0 is the acceleration factor, w is the reference signal input, and x1 and x2 are the two states of the tracking differentiator. In order to ensure the best performance of the tracking differentiator, the following parameter adjustment rules are followed: first, gradually increase r to obtain the desired tracking accuracy; secondly, gradually increase a1 and b1 to ensure stability and speed with no overshoot; finally, gradually reduce a2 and b2 to obtain optimal dynamic performance. Under the action of this tracking differentiator, there are:












lim

t





x
1


=
w

,



lim

t





x
2


=

w
˙


,




i.e., x1 asymptotic convergence to the reference signal and w, x2 asymptotically converge to the reference signal derivative {dot over (w)}.


The sigmoid tracking differentiator is used to obtain the derivative signal of the virtual control instruction in the following form:









{







ω
.

ecfi

=

x

ω

i










x
.


ω

i


=


r
i
2

[


sig

(




ω
ecfi

-

ω
eci


;

a

i

1



,

b

i

1



)

+

sig

(



x

ω

i


/

r
i


;


a

i

2




b

i

2




)







,

i
=
1

,
2
,
3





(
14
)









    • wherein ri, ai1, ai2, bi1, bi2>0, ωecf=[ωec1, ωec2, ωec3]T and {dot over (ω)}ecf=[xω1, xω2, xω3]T are the filtered signal and the filtered derivative of the virtual control command, respectively, and xωi is a state of the tracking differentiator.





Where s=ωecf−ωec is denoted as the filter estimation error and zωe−ωecf is the angular velocity tracking error, then the dynamic equation that constrains the conversion error can be written as:










ε
˙

=



-

k
p



ε

+

R


Q
e


s

+

R


Q
e



z
ω







(
15
)







Step 5: Solve the control moment in the dynamic model and give the complete form of the attitude tracking algorithm for use in the flight control system.


Based on the virtual control command and its filtering information given in the fourth step, the angular velocity tracking error is defined as zωe−ωecf, and its dynamic equation is as follows:











z
˙

w

=


J
B

-
1


(



-

ω
B
B


×

J
B



ω
B
B


-


J
B

(



C
e




ω
˙

D
D


-


ω
e
B

×

C
e



ω
D
D



)

+

τ
B







(
16
)







According to the above derivation and the principle of backstep, the control torque input τB is designed as:










τ
B

=


-
Ξ

+


J
B




ω
˙

ecf


-


k
d



z
ω


-


Q
e
T



R
T


ε






(
17
)









    • wherein kd>0 is the control parameter, and Ξ=−ωBB×JBωBB−JB(Ce{dot over (ω)}DD−ωeB×CeωDD) is the auxiliary variable.





Substituting the control torque input τB into the dynamics model yields the closed-loop dynamics equation as follows:











z
˙

ω

=



-

k
d




z
ω


-


Q
e
T



R
T


ε






(
18
)







The candidate Lyapunov equation for defining the overall closed-loop system is:









V
=



1
2



ε
T


ε

+


1
2



z
ω
T



z
ω







(
19
)







The derivative V along the trajectory of the closed-loop system can be obtained {dot over (V)}=kpε2−kdzω2TRQes. According to the nature of the sigmoid tracking differentiator,









lim

t




s

=
0

,




so ε and zω are ultimately bounded. The attitude tracking error of the aircraft converges at a specified time and satisfies the requirements of the performance constraint function according to the backstepping method and the basic principle of preset performance control.


Finally, the complete form of the proposed lightweight aircraft attitude tracking controller with preset performance at specified time is given:









{





ω

e

c


=


-
2



Q
e

-
1





R

-
1


(



k
p


ε

+
v

)








{







ω
˙

ecfi

=

x
ωi


,

i
=
1

,
2
,
3








x
.


ω

i


=


r
i
2

[


s

i

g


(




ω
ecfi

-

ω

e

c

i



;

a

i

1



,

b

i

1



)


+

s

i

g


(



x

ω

i


/

r
i


;


a

i

2




b

i

2




)















τ
B


=


-
Ξ

+


J
B




ω
˙

ecf


-


k
d



z
ω


-


Q
e
T



R
T


ε










(
20
)









    • wherein, xωi is a state of the tracking differentiator, kd is the control parameter and Ξ is the auxiliary variable.





The aircraft attitude tracking control method in the present invention consists of a virtual control law (7), tracking differentiator (10), and the actual control torque (12). It is used in the aircraft motion control system to achieve high-performance attitude tracking control under the limitation of computing resources.


Based on the same invention concept, the invention also provides an aircraft attitude tracking control system, which comprises a data acquisition module, a model building module, a constraint boundary setting module, a first dynamic equation construction model, a second dynamic equation construction model, a derivative solving module and a tracking module.


Specifically, the data acquisition module is used to obtain the operating parameters of the aircraft. The model building module is used to establish the kinematic model and dynamic model of the aircraft attitude tracking error based on the aircraft operating parameters and quaternion description. The constraint boundary setting module is used to construct the performance constraint function of the specified time convergence based on the hyperbolic cosecant composite function, and set the constraint boundary of the attitude tracking error based on the performance constraint function. the first dynamic equation construction model is used to construct a constrained attitude error conversion function based on the constraint boundary of the attitude tracking error, and to solve the inverse function of the constrained attitude error conversion function to obtain a dynamic equation of the unconstrained attitude tracking conversion error. The second dynamic equation construction model is used to establish the dynamic equation of unconstrained conversion error according to the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error. the derivative solving module is used for solving the virtual control instructions in the kinematic model based on the dynamic equation and the backstepping method of the unconstrained transformation error, and constructs a Sigmoid tracking differentiator to obtain numerical derivatives for the virtual control instructions. The tracking module is used to design the control moment based on the virtual control instruction and the numerical derivative, uses the backstepping method to solve the actual control input quantity in the dynamic model, and applies the control torque and the actual control input quantity to the aircraft attitude tracking system to realize the aircraft attitude tracking control.


Each module in the aircraft attitude tracking control system can be realized in whole or in part through software, hardware and a combination thereof. Each module can be embedded in or independent of the processor in the computer equipment in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can be called to perform the corresponding operations of each of the above modules.


At the same time, the invention also provides a computer device, comprising a memory, a processor and a computer program stored on the memory, and the processor executes the steps in the embodiment of the aircraft attitude tracking control method for implementing the computer program. The specific implementation method can be found in the method embodiment, which will not be repeated here.


Those skilled in the art should understand that embodiments of the present invention may be provided as a process, system, or computer program product. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or a combination of software and hardware embodiments. Moreover, the invention may take the form of a computer program product implemented on one or more computer-available storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) containing computer-available program code.


The present invention is described with reference to a flow diagram and/or block diagram of a method, device (system) and computer program product according to an embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general-purpose computer, a specialized computer, an embedded processing machine, or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes and/or block diagrams, one or more boxes.


These computer program instructions may also be stored in computer-readable memory capable of directing a computer or other programmable data-processing device to work in a particular manner such that the instructions stored in the computer-readable memory result in a manufactured product comprising a directive device that implements the functions specified in a flowchart process or processes and/or block diagram boxes or boxes.


These computer program instructions may also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on the computer or other programmable device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable device provide steps for implementing the function specified in a flowchart process or processes and/or block diagram boxes or boxes.


It should be noted that the specific embodiments described above may enable those skilled in the art to understand the invention more comprehensively, but do not limit the invention in any way. Therefore, although the present specification and embodiments have described the invention in detail, those skilled in the art should understand that the present invention may still be modified or equivalent replaced; And all technical solutions and improvements that do not deviate from the spirit and scope of the present invention are covered by the scope of protection of the patent for the present invention. Any drawing mark in the claims shall not be deemed to be a limitation of the claims to which it relates.

Claims
  • 1. A method for aircraft attitude tracking control, characterized by comprising the following steps: acquire aircraft operating parameters;establish a kinematic model and a dynamic model of aircraft attitude tracking error based on aircraft operating parameters and quaternion description;construct a performance constraint function that converges at a specified time based on a hyperbolic cosecant composite function, and set an attitude tracking error constraint boundary based on the performance constraint function;construct a constrained attitude error conversion function based on the attitude tracking error constraint boundary, and solve the inverse function of the constrained attitude error conversion function to obtain a dynamic equation of an unconstrained attitude tracking conversion error;according to the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error, establish a dynamic equation of the unconstrained conversion error;solve the virtual control instructions in the kinematic model based on the dynamic equation of the unconstrained conversion error and the backstepping method, and construct a sigmoid tracking differentiator to obtain the numerical derivative of the virtual control instructions;design a control torque based on the virtual control instructions and the numerical derivative, use the backstepping method to solve the actual control input in the dynamic model, and use the control torque and the actual control input in the aircraft attitude tracking system to realize aircraft attitude tracking control.
  • 2. The aircraft attitude tracking control method of claim 1, wherein the specific construction method of the kinematic model and the dynamic model of the aircraft attitude tracking error is as follows: taking F1 as the earth's inertial system, FB as the aircraft system, and FD as the expected motion coordinate system, the motion of the aircraft unit is expressed as the motion of FB relative to F1 and the single body kinematic model and dynamic model based on quaternion description are, respectively:
  • 3. The aircraft attitude tracking control method of claim 2, wherein the performance constraint function of the specified time convergence is constructed based on the hyperbolic cosecant composite function, and the attitude tracking error constraint boundary is set based on the performance constraint function, specifically: based on the hyperbolic cosecant composite function, a performance constraint function for the convergence at the specified time is constructed ρi(t):
  • 4. The aircraft attitude tracking control method of claim 3, wherein the constrained attitude error conversion function is constructed based on the attitude tracking error constraint boundary, and the inverse function of the constrained attitude error conversion function is solved to obtain a dynamic equation of the unconstrained attitude tracking conversion error, specifically: based on the constraint boundary of the attitude tracking error, the constrained attitude error conversion function is constructed, which is used to convert the constrained attitude tracking error into an unconstrained form, and the constrained attitude error conversion function S(⋅) is designed as follows
  • 5. The aircraft attitude tracking control method of claim 4, wherein the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error are established, specifically:
  • 6. The aircraft attitude tracking control method of claim 5, wherein the virtual control instruction of the kinematic loop is solved based on the dynamic equation and the backstepping method of the unconstrained transformation error, and the sigmoid tracking differential is constructed to obtain the numerical derivative of the virtual control instruction, specifically: based on the dynamic equation of the unconstrained transformation error, the virtual control instructions in the kinematic model are designed as:
  • 7. The aircraft attitude tracking control method of claim 1, wherein the control moment is designed based on the virtual control instruction and the numerical derivative, the actual control input quantity is solved by using the backstepping method in the dynamic model, and the control moment and the actual control input quantity are used in the aircraft attitude tracking system to realize the aircraft attitude tracking control, specifically: based on the virtual control instruction and its filtering signal, the angular velocity loop tracking error is defined as zω=ωe−ωecf, and its dynamic equation is:
  • 8. The aircraft attitude tracking control method of claim 1, wherein the aircraft attitude tracking controller is:
  • 9. An aircraft attitude tracking control system, comprising: a data acquisition module configured to obtain the operating parameters of the aircraft;wherein, a model building block is used to establish the kinematic model and dynamic model of the aircraft attitude tracking error based on the aircraft operating parameters and quaternion description methods;a constraint boundary setting module is used to construct a performance constraint function of a specified time convergence based on a hyperbolic cosecant composite function, and to set the constraint boundary of the attitude tracking error based on the performance constraint function;a first dynamic equation is used to construct a constrained attitude error conversion function based on the attitude tracking error constraint boundary, and to solve the inverse function of the constrained attitude error conversion function to obtain a dynamic equation of the unconstrained attitude tracking conversion error;the second dynamic equation is used to construct a model based on the dynamic equation of the unconstrained attitude tracking conversion error and the kinematic model of the aircraft attitude tracking error;wherein, the derivative solving module is used for solving the virtual control instructions in the kinematic model based on the dynamic equation and the backstepping method of the unconstrained transformation error, and constructing a Sigmoid tracking differentiator to obtain the numerical derivative of the virtual control instructions;the tracking module is used for designing the control moment based on the virtual control instruction and the numerical derivative, using the backstepping method to solve the actual control input quantity in the dynamic model, and using the control torque and the actual control input quantity for the aircraft attitude tracking system to realize the aircraft attitude tracking control.
  • 10. A computer device comprising a non-transient memory, a processor and a computer program stored on the memory, wherein the processor executes the steps of a computer program configured to realize the method of claim 1.
Priority Claims (1)
Number Date Country Kind
202311664381.9 Dec 2023 CN national