Stratospheric airship trajectory tracking method based on reinforcement learning optimal control

Through the optimal control method based on reinforcement learning and the cascade filter interference observer, the trajectory tracking problem of stratospheric airships under limited position and external interference is solved, and low energy consumption, high-precision trajectory tracking and robust control are achieved.

WO2024216870A1PCT designated stage expired Publication Date: 2024-10-24BEIJING UNIV OF TECH

Patent Information

Application Number
PCT/CN2023/123407
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-18
Filing Date
2023-10-08
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

During the flight of the stratospheric airship, it needs to consider the constraints of position limitation and power system energy consumption, and it needs to achieve high-precision trajectory tracking under external interference. It is difficult for existing technology to effectively solve these problems.

Method used

Using an optimal control method based on reinforcement learning, by establishing a six-degree-of-freedom dynamic model of the stratospheric airship, designing a penalty function for state transition, converting the constrained problem into an unconstrained problem, and using reinforcement learning to avoid the Hamilton-Jacobi-Bellman equation The complex solution process combines the cascade filtering interference observer to estimate unknown dynamics and external interference, and designs a robust optimal control law to achieve trajectory tracking.

Benefits of technology

It achieves high-precision trajectory tracking with low control energy consumption under position constraints, reduces the energy consumption of the power system, and improves the robustness of the controller, which can effectively deal with external interference and modeling uncertainty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023123407_24102024_PF_FP_ABST
    Figure CN2023123407_24102024_PF_FP_ABST
Patent Text Reader

Abstract

A stratospheric airship trajectory tracking method based on reinforcement learning optimal control. The method comprises the following specific steps: establishing a six-degree-of-freedom kinematics and dynamics model of a stratospheric airship, and representing the model in the form of a state space equation; according to a given expected trajectory, calculating an error between an expected position and the current position, so as to obtain an unconstrained position tracking error dynamics model; estimating an optimal performance function and an optimal control quantity by using a critic network, and obtaining an optimal control input quantity by means of using the minimization of an estimation error as an objective; designing an interference observer on the basis of cascade filtering, so as to obtain an estimation compensation quantity of an uncertain item in the tracking error dynamics model, and obtaining a robustness optimal control law on the basis of the optimal control input quantity and the estimation compensation quantity; and performing control calculation on a resultant force and a resultant moment on the basis of the layout of a power system, so as to obtain a rotation speed of a propeller, such that the stratospheric airship autonomously tracks the expected trajectory. By means of an estimator based on cascade filtering, the effects of an unknown modeling error and external interference on a system are effectively suppressed, such that a controller has higher robustness.
Need to check novelty before this filing date? Find Prior Art

Description

A stratospheric airship trajectory tracking method based on reinforcement learning optimal control Technical Field

[0001] The present invention provides a stratospheric airship trajectory tracking method based on reinforcement learning optimal control, which provides a new stratospheric airship trajectory tracking control method that takes into account external interference, position limitation, and energy consumption, and belongs to the field of automatic control technology. Background Art

[0002] Stratospheric airships are unmanned aerial vehicles that fly in the stratosphere at an altitude of 20-30 km. They have unique applications in deep space exploration, Earth observation, and communications services. For deep space exploration, they can provide satellite-like observation conditions across a wide range of wavelengths. For Earth observation, they offer higher resolution and longer-lasting observations than aircraft and satellites. For communications services, they can serve as small base stations, providing high-speed communications.

[0003] In recent years, with the continuous advancement of stratospheric airship technology and manufacturing, stratospheric airships have gradually moved from the development and test flight stage to the field application stage. Long-term, stable hovering flight capability is a prerequisite for the large-scale application of stratospheric airships. During hovering flight, the various constraints encountered during flight must be fully considered and addressed to enhance their "survival in the air" and "wide-area coverage" capabilities. Stratospheric airship flight control constraints primarily stem from two aspects: control capability constraints due to coupling with other subsystems, and position constraints imposed by the flight environment and mission requirements. On the one hand, to increase the airship's payload, its structure and power subsystems must be lightweight. Within the constraints of energy storage battery capacity and power system capabilities, stratospheric airships must minimize energy consumption and actuator losses during flight. On the other hand, as high-altitude mission platforms, their position must remain within a certain range during hovering missions. Therefore, a trajectory tracking control method for stratospheric airships is needed that can reduce power system losses and ensure position compliance.

[0004] This invention, "A Stratospheric Airship Trajectory Tracking Method Based on Reinforcement Learning Optimal Control," takes the above-mentioned issues as its starting point and proposes a targeted control theory to address the challenges of stratospheric airship trajectory tracking under position constraints, power system energy consumption constraints, and external interference. First, a stratospheric airship dynamics model with position constraints is established, and a penalty function is designed for state transition, converting the constrained dynamics model into an unconstrained dynamics model. Then, the optimal control law is solved based on reinforcement learning to minimize both the cumulative trajectory tracking error and control energy consumption throughout the tracking process. Simultaneously, a cascaded filter disturbance estimator is designed to estimate unknown dynamics and external interference. Finally, Lyapunov stability analysis and simulation verification demonstrate that the designed control method can achieve high-precision tracking of the desired trajectory with low control energy consumption while satisfying position constraints.

[0005] Summary of the Invention

[0006] (1) Purpose: The purpose of the present invention is to provide a stratospheric airship trajectory tracking method based on reinforcement learning optimal control, which can be used by control engineers to achieve optimal control of stratospheric airship position-constrained trajectory tracking in accordance with the method in combination with actual parameter tuning, while having a certain degree of robustness to modeling uncertainty and external interference.

[0007] (2) Technical solution: The present invention "A method for tracking the trajectory of a stratospheric airship based on reinforcement learning optimal control" has the following main contents and steps: First, a six-degree-of-freedom fully driven motion model of the stratospheric airship is established when considering position constraints and external interference. The constraint dynamic model is converted into an unconstrained model by using penalty function state conversion; then, a robust optimal control law is designed for the unconstrained model, and the optimal control law is obtained by reinforcement learning estimation. The complex Hamilton-Jacobi-Bellman, HJB equation solution process in the optimal control is avoided by reinforcement learning, so that the cumulative control input and tracking error are minimized; unknown modeling errors and external interference are estimated by cascaded filter disturbance observers, so that the controller has robustness. In actual application, the current position, attitude, speed and other state quantities of the stratospheric airship measured by the navigation payload are input into the controller to obtain the resultant force and torque required for the stratospheric airship trajectory tracking task, and then the propeller speed of the power system is obtained by control solution, so that the stratospheric airship has the ability to autonomously track the trajectory.

[0008] The present invention "A method for tracking stratospheric airship trajectory based on reinforcement learning optimal control" has the following specific steps:

[0009] Step 1: Construction of kinematic and dynamic models: Based on the overall layout and aerodynamic shape of the stratospheric airship, the Newton-Euler method is used to analyze the forces acting on the flight process of the stratospheric airship, establish the six-degree-of-freedom kinematic and dynamic models of the stratospheric airship, and express them in the form of state-space equations.

[0010] Step 2: Position Constraint State Transformation: Consider the position constraints required during actual flight and establish a position constraint mathematical model. Given a desired trajectory, calculate the error between the desired position and the current position. Design a penalty function based on the position constraints and perform a state transformation on the position tracking error to obtain an unconstrained position tracking error dynamics model.

[0011] Step 3: Designing the optimal control law for position tracking: Based on the tracking error dynamics model obtained in Step 2, design the optimal control law without considering external disturbances. Use the critic network to estimate the optimal performance function and optimal control variable. With the goal of minimizing the estimation error, design the adaptive update rate of the critic network weights to obtain the optimal control variable based on the input.

[0012] Step 4: Design of robust optimal control for position tracking: Based on the tracking error dynamic model obtained in step 2, a disturbance observer is designed based on cascade filtering to obtain an estimated compensation for the uncertainties in the model. Combining the optimal control input designed in step 3 with the estimated compensation, a robust optimal control law is obtained, thereby obtaining the resultant force required by the stratospheric airship power system.

[0013] Step 5: Design robust optimal control for attitude tracking. The robust optimal control method developed in Step 4 is applied to the attitude tracking loop to obtain the net torque required by the stratospheric airship's propulsion system. In practice, the net force and torque can be controlled and solved based on the propulsion system layout to determine the propeller speed, enabling the stratospheric airship to autonomously track the desired trajectory.

[0014] The kinematic and dynamic model construction process described in step 1 is as follows:

[0015] The stratospheric airship consists of an ellipsoidal helium capsule, a tail, a propulsion system, and a pod, as shown in Figure 1. This configuration utilizes a fully driven propulsion system, meaning that the six degrees of freedom of the stratospheric airship can be controlled by six independent control variables. Specifically, the four main propellers at the front of the capsule rotate vertically, providing the main thrust and torque required for attitude adjustment. The attitude adjustment device at the head of the capsule swings horizontally, providing the torque required for heading adjustment.

[0016] In order to establish the stratospheric airship motion model, the following coordinate system is first defined: F e ={O e ,x e ,ye ,z e} is the inertial coordinate system, with the origin O e is the ground observation point, O e x e Along the north direction, O e y e Along the east direction, O e z e Vertically downward; F c ={O c ,x c ,y c ,z c} is the hull coordinate system, with the origin O c is the buoyancy center of the airship capsule, O c x c Along the symmetry plane of the airship, O c y c Perpendicular to the airship, symmetrically facing right, O c z c Perpendicular to O c x c y c Flat surface downward.

[0017] The kinematic model of the stratospheric airship is

[0018] Where p = (x, y, z) T To express the inertial coordinate system F e The airship position vector under θ is Θ = (φ,θ,ψ) T is the airship attitude angle vector, V=(u,v,w) T is expressed in the hull coordinate system F c The airship ground speed vector under Ω=(p,q,r) T is expressed in the hull coordinate system F c The airship attitude angular velocity vector under , R is the rotation matrix from the airship coordinate system to the inertial coordinate system, expressed as:

[0019] K is the posture transformation matrix, expressed as:

[0020] The dynamic model of the stratospheric airship is

[0021] Among them, m is the weight of the airship, r c =[x c ,y c ,z c ] T is the radius vector from the center of mass of the airship to the center of the body, I c =diag{I x ,Iy ,I z} is the airship inertia tensor matrix. G=R T [0,0,mg] T is the gravity in the body coordinate system, g is the acceleration due to gravity; M G is the gravitational moment caused by the separation of the airship's center of mass and center of buoyancy, expressed as

[0022] is the buoyancy in the body coordinate system, ρ is the atmospheric density at the altitude of the airship, is the total volume of the airship; since the buoyancy of the airship acts on the center of buoyancy, the buoyancy moment of the airship is M B =0; and are the additional inertial force on the airship and the moment it generates on the center of buoyancy, m a =diag{α1,α2,α3} and I a =diag{α4,α5,α6} are the additional mass matrix and additional inertia matrix respectively, α i , i=1,2,…,6 is the additional inertia coefficient, which can be obtained by analyzing the mechanical characteristics of the ellipsoid in the potential flow field; F A and M A are the aerodynamic force and aerodynamic moment acting on the airship, respectively, expressed as

[0023] V a is the airship airspeed, is the reference area, L is the capsule diameter, ρV a 2 / 2 is the dynamic pressure, α is the angle of attack, β is the sideslip angle, C x (α, β, q, r) is the drag coefficient of the airship, C y (β,p,r) is the airship side force coefficient, C z (α,p,q) is the lift coefficient of the airship, is the airship rolling moment coefficient, is the pitching moment coefficient of the airship, is the airship yaw moment coefficient; F T =[F Tx ,F Ty ,F Tz ] T and M T =[M Tx ,M Ty ,M Tz ] T are the active control force and active control torque of the airship respectively; F D and M Dare the unknown equivalent forces and moments composed of dynamic effects caused by external wind disturbances, system parameter uncertainties and capsule deformation.

[0024] By integrating the kinematic model and dynamic model of the stratospheric airship, the stratospheric airship motion model can be divided into a position loop motion model and an attitude loop motion model. The position loop motion model can be expressed as

[0025] The posture loop motion model can be expressed as

[0026] in, B0=χ 11 -1 , B2=χ 22 -1 , χ 11 =diag{m+α1,m+α2,m+α3},χ 22 =diag{I x +α4,I y +α5,I z +α6},

[0027] The position constraint state transition process described in step 2 is as follows:

[0028] Define the expected trajectory of the airship as p d =[x d ,y d ,z d ] T , the position tracking error is According to the mission requirements during the airship flight, the position tracking error must meet the restriction requirements of Where h is the upper limit of the constraint, which is set to a positive constant that can be adjusted according to the task requirements.

[0029] In order to meet the position tracking error constraint, the state transition method is introduced and the following new state variables are defined:

[0030] Among them, k p is a positive constant. It can be seen from the formula that if the initial value of the position tracking error meets the restriction requirements, that is, As long as ξ is bounded, it can be guaranteed that And when ξ=0,

[0031] Therefore, the position error dynamics equation with constraint limits can be transformed into a new state error dynamics equation:

[0032] in, is the identity matrix, B1=RB0.

[0033] definition Then the state error dynamics equation can be written as:

[0034] in, B=[0 3×3 ,B1],U=F T +F D .

[0035] The position tracking optimal control design process described in step 3 is as follows:

[0036] Define the performance indicator function as

[0037] in, r x and r u are all normal numbers, Enter an upper limit for the control.

[0038] Next, we need to design the optimal control law U * (t), so that the performance function index value is minimized, that is, the optimization goal is

[0039] To J * Taking the derivative, we can get the Hamilton-Jacobi-Bellman (HJB) equation as

[0040] Both sides are against U * Taking the derivative, we can get the optimal control law as

[0041] Since the optimal performance index value is difficult to express in analytical form, the adaptive critic neural network learning method is used to approximate the numerical solution. p The critic network of neurons estimates the optimal performance index value, denoted as J1 * =w c T χ(X)+ε c

[0042] in, is the critic network weight, χ(X) is the activation function, is the derivative of the activation function with respect to X, ε c is the neural network estimation error, is the derivative of the estimation error with respect to X. Then the optimal performance index and optimal control quantity can be written as

[0043] The corresponding HJB equation is

[0044] Then the HJB error is

[0045] right Taking the derivative, we can get

[0046] definition Design the following auxiliary system

[0047] in, is the auxiliary system state quantity;

[0048] is a positive number, satisfying k p1 <k p2 .

[0049] To maximize the use of historical information, select t p Auxiliary system state quantity corresponding to the moment and Used for critic network weight update. Among them, t p =argmax s∈[0,t] λ(M p (s)), λ(x) represents the minimum eigenvalue of x.

[0050] The critic network weight update formula is designed as

[0051] Among them, r p >0,δ p >0 is the learning rate, is the identity matrix, ρ p is the switching function, defined as

[0052] The switching function is designed to avoid the initial value of the control variable being infeasible.

[0053] Therefore, the optimal control law for position tracking is designed as

[0054] The position tracking robust optimal control design process described in step 4 is as follows:

[0055] According to U=F T +F D In step 3, the optimal expression of U has been obtained. In order to obtain the active control force F required by the airship power system, T , the unknown term F D Estimation is performed. The estimator based on cascade filtering is designed as

[0056] in, F D The estimated value of The output state of the following filter

[0057] in, ζ1,ζ2 are the outputs of another filter

[0058] Therefore, the position tracking robust optimal control law is designed as

[0059] The design process of the attitude tracking robust optimal control described in step 5 is as follows:

[0060] Define the desired attitude of the airship flight as The posture tracking error is Therefore, the attitude error dynamics model can be written as

[0061] in,

[0062] definition Then the above attitude error dynamic model can be rewritten as:

[0063] in, B a =[0 3×3 ,B2],M=M T +M D .

[0064] Define the performance indicator function as

[0065] in, r a and r m are all normal numbers, Limit value for control input.

[0066] Next, we need to design the optimal control law M * (t), so that the performance function index value is minimized, that is, the optimization goal is

[0067] Since the optimal performance index value is difficult to express in analytical form, the adaptive critic neural network learning method is used to approximate the numerical solution. a The critic network of neurons estimates the optimal performance index value, which is expressed as

[0068] in, is the estimated value of the critic network weight, χ(X a ) is the activation function. The optimal control law can be expressed as

[0069] in, is the activation function relative to X a The critic network estimates the weight update formula as follows:

[0070] Among them, r w >0,δ a >0 is the learning rate, ρ a is the switching function, defined as

[0071] and t a The auxiliary system state M corresponding to the moment a and P a ,Right now t a =argmax s∈[0,t] λ(M a The auxiliary systems are as follows:

[0072] in, is the auxiliary system state quantity; is a positive number, satisfying k a1 <k a2 .

[0073] To estimate the unknown term M D , the estimator based on cascade filtering is designed as

[0074] in, M D The estimated value of The output state of the following filter

[0075] in, ζ3,ζ4 are the outputs of another filter

[0076] Therefore, the attitude tracking robust optimal control law is designed as

[0077] (3) Advantages and effects:

[0078] Compared with the existing technology, the advantages of the present invention, "a stratospheric airship trajectory tracking method based on reinforcement learning optimal control", are:

[0079] 1) This method can effectively solve the problem of constrained position control of stratospheric airships. By using a penalty function-based state transition method, the constrained control problem is converted into an unconstrained control problem, ensuring that the position of the stratospheric airship is always within the predetermined constraints during the tracking control process, thereby meeting the flight mission requirements.

[0080] 2) This method designs an optimal control method based on reinforcement learning, which avoids the complex solution process of the HJB equation in traditional optimal control, minimizes the cumulative control input and tracking error, and can effectively reduce the energy consumption of the power system;

[0081] 3) This method designs a new critic network weight update strategy based on historical information. This update strategy does not need to meet the continuous incentive conditions required in general reinforcement learning control and is more practical.

[0082] 4) This method effectively suppresses the impact of unknown modeling errors and external interference on the system through an estimator based on cascade filtering, and the controller has high robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] FIG1 is a schematic diagram of the configuration and coordinate system of the stratospheric airship of the present invention;

[0084] The symbols are explained as follows:

[0085] p, p=(x,y,z) T is the current position of the airship in the inertial coordinate system;

[0086] Θ, Θ=(φ,θ,ψ) T is the current attitude angle of the airship;

[0087] V, V=(u,v,w) T is the current ground speed of the airship in the hull coordinate system;

[0088] Ω, Ω=(p,q,r) Tis the attitude angular velocity of the airship in the hull coordinate system;

[0089] R, the rotation matrix from the hull coordinate system to the inertial coordinate system;

[0090] K, posture transformation matrix;

[0091] m, airship mass;

[0092] m a , m a =diag{α1,α2,α3} airship additional mass matrix;

[0093] I a , I a =diag{α4,α5,α6} airship additional inertia matrix;

[0094] α i ,(i=1,2,…,6) airship additional inertia coefficient;

[0095] r c , r c =[x c ,y c ,z c ] T The radius vector from the center of mass of the airship to the center of the body;

[0096] I c , I c =diag{I x ,I y ,I z}airship inertia tensor matrix;

[0097] g, acceleration due to gravity;

[0098] r c , r c =[x c ,y c ,z c ] T The radius vector from the center of mass of the airship to the center of the body;

[0099] ρ, the atmospheric density at the airship's altitude;

[0100] Total volume of the airship;

[0101] S, reference area;

[0102] L, diameter of airship capsule;

[0103] α, the airship’s flight angle of attack;

[0104] α, airship sideslip angle;

[0105] V a , airship flight speed;

[0106] C x , airship drag coefficient;

[0107] C y , airship side force coefficient;

[0108] C z , airship lift coefficient;

[0109] C l , airship rolling moment coefficient;

[0110] C m , airship pitching moment coefficient;

[0111] C n , airship yaw moment coefficient;

[0112] G, G=R T [0,0,mg] T The gravity acting on the airship is expressed in the airship coordinate system;

[0113] B, The expression of the buoyancy force on the airship in the hull coordinate system;

[0114] M G , the gravitational moment acting on the airship;

[0115] M B , the buoyancy moment of the airship;

[0116] F a , the additional inertial force on the airship;

[0117] M a , the moment generated by the additional inertial force on the center of buoyancy of the airship;

[0118] F T , F T =[F Tx ,F Ty ,F Tz ] T The active control forces acting on the airship;

[0119] M T , M T =[M Tx ,M Ty ,M Tz ] T The active control torque acting on the airship;

[0120] F D , the airship is subject to unknown effects;

[0121] MD , the unknown equivalent moment acting on the airship;

[0122] p d , p d =[x d ,y d ,z d ] T is the expected position of the airship in the inertial coordinate system;

[0123] is the airship position tracking error;

[0124] h, is the upper limit of the airship position tracking constraint;

[0125] Position loop control coefficient;

[0126] r x ,r u ,r p ,δ p , learning coefficient of position loop neural network;

[0127] l p ,l a , the number of neurons;

[0128] w c ,w a , neural network weight coefficient;

[0129] Neural network weight coefficient estimates;

[0130] χ(·), neural network activation function;

[0131] Derivatives of neural network activation functions;

[0132] ε c ,ε a , neural network estimation error;

[0133] Derivatives of neural network estimation errors;

[0134] M p ,P p , auxiliary system state quantity;

[0135] ρ p , switching function;

[0136] Position loop control input upper limit;

[0137] Θ d , Desired attitude for the airship;

[0138] is the airship attitude tracking error;

[0139] Attitude loop control coefficient;

[0140] r a ,r m ,r w ,δ a , learning coefficients of the posture loop neural network;

[0141] Upper limit of attitude loop control input;

[0142] I3, three-dimensional identity matrix; DETAILED DESCRIPTION

[0143] The following further describes the design methods of each part of the present invention:

[0144] The present invention "A method for tracking stratospheric airship trajectory based on reinforcement learning optimal control" has the following specific steps:

[0145] Step 1: Kinematic and dynamic model construction

[0146] Define the motion state of the stratospheric airship: p = (x, y, z) T To express the inertial coordinate system F e The airship position vector under θ is Θ = (φ,θ,ψ) T is the airship attitude angle vector, V=(u,v,w) T is expressed in the hull coordinate system F c The airship ground speed vector under Ω=(p,q,r) T is expressed in the hull coordinate system F c The airship attitude angular velocity vector under .

[0147] According to the coordinate system transformation and Newton-Euler equations, the kinematic model and dynamic model of the stratospheric airship are established and integrated into the position loop motion model and attitude loop motion model. The position loop motion model can be expressed as

[0148] The posture loop motion model can be expressed as

[0149] Among them, R is the rotation matrix from the hull coordinate system to the inertial coordinate system, K is the attitude transformation matrix, and F D and M D are the unknown equivalent forces and moments composed of the dynamic effects caused by external wind disturbances, system parameter uncertainties and capsule deformation, B0=χ 11 -1 , B2=χ 22 -1 , χ 11 =diag{m+α1,m+α2,m+α3},χ 22 =diag{I x + α4,I y +α5,I z +α6},

[0150] Step 2: Position constraint state transition

[0151] Given the expected trajectory of the airship is p d =[x d ,y d ,z d ] T , the position tracking error is obtained as According to the mission requirements during the airship flight, the position tracking error must meet the restriction requirements of Where h is the upper limit of the constraint, which is set to a positive constant that can be adjusted according to the task requirements. In order to meet the position tracking error constraint, the state transition method is introduced and the following new state quantity is defined:

[0152] Among them, k p is a positive constant. It can be seen from the formula that if the initial value of the position tracking error meets the restriction requirements, that is, As long as ξ is bounded, it can be guaranteed that And when ξ=0,

[0153] Therefore, the position error dynamics equation with constraint limits can be transformed into a new state error dynamics equation:

[0154] in, is the identity matrix, B1=RB0.

[0155] definition Then the state error dynamics equation can be written as:

[0156] in, B=[0 3×3 ,B1],U=F T +F D .

[0157] Step 3: Position tracking optimal control design

[0158] According to the state error dynamic equation obtained in step 2, the following optimal control law is designed:

[0159] in, is the derivative of the activation function, is the estimated value of the critic network weight, which is obtained by the following adaptive update law

[0160] Among them, r p >0,δ p >0 is the learning rate, is the identity matrix, is the upper limit of the control input, ρ p is the switching function, defined as

[0161] and t p The auxiliary system state M corresponding to the moment p and P p ,Right now t p =argmax s∈[0,t] λ(M p The auxiliary systems are as follows:

[0162] in, is a positive number, satisfying k p1 <k p2 ; r x and r u All are normal numbers.

[0163] Step 4: Position tracking robust optimal control design

[0164] According to U=F T +F D In step 3, the optimal expression of U has been obtained. In order to obtain the active control force F required by the airship power system, T , the unknown term F D Estimation is performed. The estimator based on cascade filtering is designed as

[0165] in, F D The estimated value of The output state of the following filter

[0166] in, ζ1,ζ2 are the outputs of another filter

[0167] Therefore, the position tracking robust optimal control law is designed as

[0168] Step 5: Design of robust optimal control for attitude tracking

[0169] Define the desired attitude of the airship flight as The posture tracking error is Therefore, the attitude error dynamics model can be written as

[0170] in,

[0171] definition Then the above attitude error dynamic model can be rewritten as:

[0172] in, B a =[0 3×3 ,B2],M=M T +M D .

[0173] According to the above attitude error dynamic equation, the following optimal control law is designed:

[0174] in, is the activation function relative to X a The derivative of is the limit value of the control input, is the estimated value of the critic network weight, which is obtained by the following adaptive update law

[0175] Among them, r w >0,δ a >0 is the learning rate, ρ a is the switching function, defined as

[0176] and t aThe auxiliary system state M corresponding to the moment a and P a ,Right now t a =argmax s∈[0,t] λ(M a The auxiliary systems are as follows:

[0177] in, is the auxiliary system state quantity; is a positive number, satisfying k a1 <k a2 ; r a and r m All are normal numbers.

[0178] To estimate the unknown term M D , the estimator based on cascade filtering is designed as

[0179] in, M D The estimated value of The output state of the following filter

[0180] in, ζ3,ζ4 are the outputs of another filter

[0181] Therefore, the attitude tracking robust optimal control law is designed as

Claims

1. A stratospheric airship trajectory tracking method based on reinforcement learning optimal control, characterized in that: The specific steps of this method are as follows: Step 1: Construction of kinematic and dynamic models: Based on the overall layout and aerodynamic shape of the stratospheric airship, the Newton-Euler method is used to analyze the force of the stratospheric airship during flight, and the six-degree-of-freedom kinematic and dynamic models of the stratospheric airship are established and expressed in the form of state space equations; Step 2: Position constraint state transition: Consider the position constraint requirements in actual flight and establish a position constraint mathematical model; given the desired trajectory, calculate the error between the desired position and the current position, and combine the position constraint to design a penalty function to perform state transition on the position tracking error, and obtain an unconstrained position tracking error dynamics model; Step 3: Design of optimal control for position tracking: Based on the tracking error dynamics model obtained in step 2, design the optimal control law without considering external interference; use the critic network to estimate the optimal performance function and the optimal control quantity, and design the weight adaptive update rate of the critic network with the goal of minimizing the estimation error to obtain the optimal control input quantity; Step 4: Design of robust optimal control for position tracking: Based on the tracking error dynamics model obtained in step 2, a disturbance observer is designed based on cascade filtering to obtain an estimated compensation for the uncertain terms in the model. The optimal control input designed in step 3 and the estimated compensation are combined to obtain a robust optimal control law, thereby obtaining the resultant force required to be provided by the stratospheric airship power system. Step 5, attitude tracking robust optimal control design: Apply the robust optimal control method designed in step 4 to the attitude tracking loop to obtain the resultant torque required by the stratospheric airship power system; In practical applications, the resultant force and resultant torque can be controlled and solved in combination with the power system layout to obtain the propeller speed and enable the stratospheric airship to autonomously track the desired trajectory.

2. The method for tracking stratospheric airship trajectory based on reinforcement learning optimal control according to claim 1, characterized in that: The kinematic and dynamic model construction described in step 1 is as follows: To establish the stratospheric airship motion model, we first define the following coordinate system: F e = {O e ,x e ,y e ,z e } is the inertial coordinate system, with the origin O e is the ground observation point, O e x e is the coordinate axis along the due north direction, O e y e is the coordinate axis along the east direction, O e z e F is the coordinate axis pointing vertically downward from the ground; c = {O c ,x c ,y c ,z c } is the hull coordinate system, with the origin O c is the buoyancy center of the airship capsule, O c x c is the coordinate axis along the symmetry plane of the airship, O c y c is the coordinate axis perpendicular to the right side of the symmetry plane of the airship, O c z c is perpendicular to O c x c y c The plane points downwards along the coordinate axis; The kinematic model of the stratospheric airship is Where p = (x, y, z) T To express the inertial coordinate system F e The airship position vector under the condition, x, y, z are the projection of the airship position on O e x e , O e y e , O e z e The axial component of θ = (φ,θ,ψ) T is the airship attitude angle vector, φ, θ, ψ are the airship roll angle, pitch angle and yaw angle respectively, V = (u, v, w) T is expressed in the hull coordinate system F c The airship ground speed vector under the condition, u, v, w are the projection of the airship ground speed on O e x e , O e y e , O e z e Axial component, Ω=(p,q,r) T is expressed in the hull coordinate system F c The airship attitude angular velocity vector under the condition, p, q, r are the airship roll angular velocity, pitch angular velocity and yaw angular velocity respectively, and R is the rotation matrix from the airship coordinate system to the inertial coordinate system, which is expressed as: K is the attitude transformation matrix, expressed as: T is the transpose symbol of the matrix; The dynamic model of the stratospheric airship is Where m is the weight of the airship, r c =[x c ,y c ,z c ] T is the radius vector from the center of mass of the airship to the center of the body, x c ,y c ,z c The distance from the center of mass of the airship to the center of the body is projected on O c x c , O c y c , O c z c Axial component, I c =diag{I x ,I y ,I z } is the airship inertia tensor matrix, diag represents the diagonal matrix, I x ,I y ,I z is the airship inertia tensor component; G = R T [0,0,mg] T is the gravity in the body coordinate system, g is the gravitational acceleration; M G is the gravitational moment caused by the separation of the airship's center of mass and center of buoyancy, expressed as is the buoyancy in the body coordinate system, ρ is the atmospheric density at the height of the airship, is the total volume of the airship; since the buoyancy of the airship acts on the center of buoyancy, the buoyancy moment of the airship is M B =0; and are the additional inertia force on the airship and the moment it produces on the center of buoyancy, m a =diag{α1,α2,α3} and I a =diag{α4,α5,α6} are the additional mass matrix and the additional Inertia matrix, α i , i = 1, 2, ..., 6 is the additional inertia coefficient, which is obtained by analyzing the mechanical characteristics of the ellipsoid in the potential flow field; F A and M A are the aerodynamic force and aerodynamic moment of the airship, respectively, expressed as V a is the airship airspeed, is the reference area, L is the capsule diameter, α is the angle of attack, β is the sideslip angle, C x (α, β, q, r) is the airship drag coefficient, C y (β,p,r) is the airship side force coefficient, C z (α,p,q) is the lift coefficient of the airship, is the airship rolling moment coefficient, is the pitching moment coefficient of the airship, is the airship yaw moment coefficient; F T =[F Tx ,F Ty ,F Tz ] T and M T =[M Tx ,M Ty ,M Tz ] T are the active control force and active control torque of the airship, F Tx ,F Ty ,F Tz is the three-dimensional component of active control force, M Tx ,M Ty ,M Tz is the three-dimensional component of active control torque; F D and M D are the unknown equivalent forces and moments composed of the dynamic effects caused by external wind disturbance, system parameter uncertainties and capsule deformation; The kinematic model and dynamic model of the stratospheric airship are integrated, and the stratospheric airship motion model is divided into a position loop motion model and an attitude loop motion model; the position loop motion model is expressed as The posture loop motion model is expressed as in, B0=χ 11 -1 , B2=x 22 -1 ,x 11 =diag{m+α1,m+α2,m+α3},x 22 =diag{I x +α4,I y +α5,I z +α6}, 3. The method for tracking stratospheric airship trajectory based on reinforcement learning optimal control according to claim 1, characterized in that: The design steps of the position constraint state transition described in step 2 are as follows: Define the expected trajectory of the airship as p d =[x d ,y d ,z d ] T , x d ,y d ,z d is the projection of the expected trajectory on O e x e , O e y e , O e z e The axial component of the position tracking error is is the position tracking error projected on O e x e , O e y e , O e z e The axial component of the airship; according to the mission requirements during the flight of the airship, the position tracking error meets the restriction requirements Where h is the upper limit of the constraint, which is set to a positive constant adjusted according to the task requirements. represents the field of real numbers; In order to meet the position tracking error constraint, the state conversion method is introduced and the following new state quantities are defined: Among them, k p is a positive constant; if the initial value of the position tracking error meets the restriction requirements, that is, As long as ξ is bounded, it is guaranteed And when ξ(t)→0, t0 is the initial time, t is the current time; According to the position loop motion model (3) and the state transition formula (5), the position error dynamics equation with constraints is expressed as: in, is the identity matrix, B1 = RB0; definition Then the state error dynamics equation can be written as: in, B=[0 3×3 ,B1],U=F T +F D 。 4. The method for tracking stratospheric airship trajectory based on reinforcement learning optimal control according to claim 1, characterized in that: The design steps of the position tracking optimal control design described in step 3 are as follows: Define the performance indicator function as in, r x and r u are all normal numbers, Enter an upper limit for control; Next, we need to design the optimal control law U * (t), so that the performance function index value is minimized, that is, the optimization goal is To J * Taking the derivative, we get the Hamilton-Jacobi-Bellman (HJB) equation: Both sides are right * Taking the derivative, we get the optimal control law as Use adaptive critic neural network learning to approximate the numerical solution; construct a p The critic network of neurons estimates the optimal performance index value, expressed as J1 * =w c T χ(X)+ε c , in, is the critic network weight vector, is the activation function vector, is the derivative of the activation function with respect to X, ε c is the neural network estimation error, is the derivative of the estimation error with respect to X; then the optimal performance index and the optimal control quantity are The corresponding HJB equation is Then the HJB error is right Seek guidance, get Where ⊙ represents the multiplication of corresponding elements in the vector; definition Design the following auxiliary system in, is the state quantity of the auxiliary system; is a positive number, satisfying k p1 <k p2 ; Select t p The state quantity of the auxiliary system corresponding to the moment and Used for critic network weight update; among them, t p = argmax s∈[0,t] λ(M p (s)), λ() means finding the minimum eigenvalue of the matrix; Design the critic network weight update formula as Among them, r p >0,δ p >0 is the learning rate, is the identity matrix, ρ p is the switching function, defined as The optimal control law for position tracking is designed as 5. The method for tracking stratospheric airship trajectory based on reinforcement learning optimal control according to claim 1, characterized in that: The design steps of the position tracking robust optimal control design described in step 4 are as follows: According to U=F T +F D In step 3, the optimal expression of U has been obtained. Active control force F to be provided T , the unknown term F D Estimation is performed; the estimator based on cascade filtering is designed as in, F D The estimated value of The output state of the following filter is in, ζ1,ζ2 are the outputs of another filter The position tracking robust optimal control law is designed as 6. The method for tracking stratospheric airship trajectory based on reinforcement learning optimal control according to claim 1, characterized in that: The design steps of the attitude tracking robust optimal control design described in step 5 are as follows: Define the desired attitude of the airship flight as θ d ,ψ d are the expected roll angle, expected pitch angle and expected yaw angle respectively, and the attitude tracking error is are the three-dimensional components of the attitude tracking error respectively; according to the attitude loop motion model (4), the attitude error dynamics model is in, definition Then the above attitude error dynamics model (23) is: in, B a =[0 3×3 ,B2],M=M T +M D ; Define the performance indicator function as in, r a and r m are all normal numbers, Limit values ​​for control inputs; Next, we need to design the optimal control law M * (t), so that the performance function index value is minimized, that is, the optimization goal is Build with l a The critic network of neurons estimates the optimal performance index value, which is expressed as in, is the estimated value of the critic network weight, is the activation function; the optimal control law is expressed as in, is the activation function relative to X a The derivative of ; the critic network estimated weight update formula is Among them, r w >0,δ a >0 is the learning rate, ρ a is the switching function, defined as and t a The state quantity M of the auxiliary system corresponding to the moment a and P a ,Right now t a = argmax s∈[0,t] λ(M a (s)); the auxiliary systems are as follows: in, is the state quantity of the auxiliary system; k a1 ,k a2 , is a positive number, satisfying k a1 <k a2 ; To estimate the unknown term M D , the estimator based on cascade filtering is designed as in, M D The estimated value of The output state of the following filter is in, ζ3,ζ4 are the outputs of another filter The attitude tracking robust optimal control law is designed as

Citation Information

Patent Citations

  • Stratospheric-airship-analytic-model-based prediction path tracking control method

    CN105116914A

  • Surrounding tracking moving target control method and system for stratospheric airship

    CN111596692A

  • Aircraft attitude control method, system and device based on reinforcement learning

    CN112198890A

  • Model predictive control trajectory tracking control system and method based on reinforcement learning

    CN114967676A

  • Stratospheric airship trajectory tracking method based on reinforcement learning optimal control

    CN116360497A

Cited By

  • Layered control method and system for trajectory tracking of non-coaxial two-wheeled unmanned platform

    CN119148538A

  • Unmanned ship tracking control method based on deep network offline iteration and online adjustment

    CN119512094A

  • High-energy-efficiency near-earth four-rotor unmanned aerial vehicle multi-mode flight control method and system and storage medium

    CN119620776A

  • Morphing aircraft level flight deceleration maneuver decision-making method based on reinforcement learning

    CN119670575A

  • A method for decision of variable aircraft steady flight deceleration maneuver based on reinforcement learning

    CN119670575B