Intelligent deformation decision-making method for variable-length aircraft under aerodynamic uncertainty

By establishing a three-degree-of-freedom operation model and a reinforcement learning model for variable-span aircraft, and combining Markov decision-making and Kalman filtering algorithms to correct aerodynamic parameters, the problem of traditional deformation aircraft being difficult to consider aerodynamic uncertainty in complex environments is solved. It realizes intelligent deformation decision-making without human intervention and improves flight performance.

CN118131649BActive Publication Date: 2024-09-13NINGBO INST OF NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410573284.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-09-13
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

It is difficult for traditional morphing aircraft to actively consider aerodynamic uncertainties in complex flight environments, resulting in the need for human intervention or offline databases to make deformation decisions, which limits the application scope and efficiency of the aircraft.

Method used

Multi-rigid body dynamics modeling and Newton Euler method are used to establish a three-degree-of-freedom operating model of the variable-span aircraft. First-order Markov decision-making and extended Kalman filter algorithms are combined to perform online correction of aerodynamic parameters, and a reinforcement learning model is built to maximize Lift-to-drag ratio is the deformation decision-making performance index, and the deep deterministic policy gradient algorithm is used to train the deformation strategy.

Benefits of technology

Under aerodynamic uncertainty, the variable-span aircraft can make intelligent deformation decisions without human intervention or offline databases, improve flight performance, and achieve adaptability and flexibility in the gliding phase.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118131649B
    Figure CN118131649B
Patent Text Reader

Abstract

The present invention relates to an intelligent deformation decision method for a variable-length aircraft under aerodynamic uncertainty. The method actively considers the aerodynamic uncertainty existing in the actual flight process, adopts a first-order Markov decision to describe the uncertainty of aerodynamic parameters, and estimates and corrects the aerodynamic parameter perturbation based on a Kalman filter algorithm. Then, a deep deterministic policy gradient algorithm is used to train the variable-length aircraft, so that the variable-length aircraft can make corresponding deformation decisions without human intervention or an offline database when facing a complex flight environment, so that the flight performance of the variable-length aircraft can be improved under aerodynamic uncertainty during the gliding stage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aircraft control, and in particular to an intelligent deformation decision method for a variable-length aircraft under aerodynamic uncertainty. Background Art

[0002] With the continuous development of science and technology, human beings' demand for aircraft is also growing. Traditional aircraft have certain limitations in terms of flight altitude, speed and maneuverability, and it is difficult to adapt to the complex and changeable flight environment. Therefore, research and development of an aircraft that can achieve deformable flight has become one of the current hot topics. Deformable aircraft have the ability to change shape and adapt to different flight environments during flight, which can greatly improve the airworthiness and maneuverability of aircraft, and provide new possibilities for humans to explore unknown areas and perform complex tasks. Among the various deformation scheme designs, the retractable wing method provides a large-scale deformation method, which can significantly change the motion characteristics of the aircraft, and the deformation mechanism design is simple and reliable, easy to implement in engineering, so it is widely used in the overall design of deformable aircraft.

[0003] At present, most of the literature on the control of deformable aircraft focuses on the coordination of flight control and deformation mechanism of aircraft under the premise of deformation command input given by the outside world, and few methods provide deformation command generation strategies. The study of deformation decision-making, especially intelligent deformation decision-making, that is, the aircraft has the ability to make autonomous deformation decisions, is to improve the adaptability and flexibility of the aircraft in complex environments.

[0004] Traditional deformation decision methods often require human intervention or offline databases to make corresponding deformation decisions when facing complex flight environments. This limits the application scope and efficiency of the aircraft, and fails to actively consider the inevitable aerodynamic uncertainties in the actual flight process. Summary of the invention

[0005] The technical problem to be solved by the present invention is how to actively consider the influence factors of aerodynamic uncertainty of the aircraft in the gliding phase and provide an effective intelligent deformation strategy. In order to overcome the defects of the above-mentioned prior art, the present invention provides an intelligent deformation decision method for a variable-length aircraft under aerodynamic uncertainty.

[0006] The present invention provides an intelligent deformation decision method for a variable-length aircraft under aerodynamic uncertainty, comprising:

[0007] Step 1. Based on the multi-rigid body dynamics modeling method and Newton-Euler method, a three-degree-of-freedom operation model of a variable-length aircraft with symmetrical and continuously retractable wings on both sides is established;

[0008] Step 2. Based on the three-degree-of-freedom operation module of the variable-length aircraft, the uncertainty of the aerodynamic parameters is described by using the first-order Markov decision to obtain the expanded system equation; then, the measurement equation is constructed according to the apparent acceleration acquired by the acceleration, and an online correction method for aerodynamic parameters based on the extended Kalman filter is designed to obtain the estimated value of the aerodynamic parameter perturbation and the estimated value of the lift-to-drag ratio;

[0009] Step 3. Taking the maximum lift-to-drag ratio as the deformation decision performance index, a reinforcement learning model of the variable-length aircraft in the gliding stage is built, and the deep deterministic policy gradient algorithm is used to train the reinforcement learning model to obtain the deformation strategy of the variable-length aircraft in the gliding stage;

[0010] Step 4. Use MATLAB to verify the effectiveness of the deformation strategy of the variable-length intelligent body under the uncertainty of aerodynamic parameters.

[0011] Compared with the prior art, the method of the present invention has the following advantages: for a variable-length aircraft in the gliding stage, the influence of aerodynamic uncertainty factors is actively considered, an online correction method for aerodynamic parameters is designed, and then an intelligent deformation decision method is designed from the perspective of improving the lift-to-drag ratio of the aircraft, so that the flight performance of the variable-length aircraft can be improved under aerodynamic uncertainty during the gliding stage.

[0012] In a possible implementation manner, the three-degree-of-freedom operation model expression of the variable-length aircraft established in step 1 is:

[0013] ;

[0014] In the formula, They are respectively expressed as the flight speed, track inclination and track deviation of the variable-span aircraft; They represent lift, drag, and side force, respectively; It is expressed as the projection of gravitational acceleration in the half-velocity coordinate system; It is expressed as the projection of the deformation additional force in the half-velocity coordinate system;

[0015] Among them, about lift ,resistance and lateral force The calculation formula is:

[0016] ;

[0017] In the formula, Indicates dynamic pressure, It represents the reference area of ​​the variable-span aircraft when the wings are not deformed; It is expressed as the equivalent aerodynamic coefficient of lift, drag and side force, and its calculation formula is:

[0018] ;

[0019] In the above formula, Indicates the rudder deflection angle of the x, y, and z channels; Indicates the change in reference area as deformation rate Function of deformation rate Positioned as the normalized parameter of wing span, , is the wing span, Expressed as the minimum value of the wingspan, Expressed as the maximum value of the wingspan; They represent Mach number, angle of attack, and sideslip angle respectively;

[0020] About the acceleration due to gravity The calculation formula is:

[0021] ;

[0022] In the formula, Expressed as the Earth's gravitational constant; Expressed as the radius of the Earth; It is expressed as the radius vector from the aircraft to the center of the earth;

[0023] The calculation formula for the deformation attachment force in the body coordinate system is:

[0024] ;

[0025] In the formula, Expressed as the three-axis rotation angular velocity of the aircraft; It is expressed as the radius vector of the deformed wing's center of mass relative to the fuselage's center of mass.

[0026] In a possible implementation, in step 2, based on the three-degree-of-freedom operation module of the variable-length aircraft, the uncertainty of the aerodynamic parameters is described by using a first-order Markov decision, and the system equation after dimensional expansion is expressed as:

[0027] ;

[0028] In the formula, denote the perturbation of the drag coefficient and the perturbation of the lift coefficient respectively; is the system state noise.

[0029] In a possible implementation manner, the apparent acceleration measurement equation constructed by the acceleration acquisition in step 2 is expressed as:

[0030] ;

[0031] In the formula, Measuring noise for accelerometers.

[0032] In a possible implementation manner, the design of an online correction method for aerodynamic parameters based on extended Kalman filtering in step 2 includes:

[0033] First, construct the system equation and measurement equation of the extended Kalman filter:

[0034] ;

[0035] In the formula, the system state , measurement status ;

[0036] Secondly, the state estimation is performed based on the system equation of the extended Kalman filter:

[0037] ;

[0038] In the formula, is the state transfer matrix, where is the Jacobian matrix of the system equations; is the system noise matrix; Indicates Step state estimation, represents the integral, Indicates the sampling time ; represents the covariance matrix of the state vector;

[0039] Next, update the The state estimation of the step:

[0040] ;

[0041] In the formula, Expressed as the Jacobian matrix of the measurement equation, Represented as the measurement noise matrix;

[0042] Then, according to the state estimation result of the extended Kalman filter algorithm, the estimated value of the lift-to-drag ratio is calculated:

[0043] ;

[0044] In the formula, They respectively represent the perturbation estimate of the drag coefficient and the perturbation estimate of the lift coefficient estimated by the extended Kalman filter algorithm.

[0045] In a possible implementation manner, the expression for maximizing lift-to-drag ratio as the deformation decision performance index in step 3 is:

[0046] ;

[0047] In the formula, Expressed as a discount factor; It is expressed as the error between the lift-to-drag ratio and the maximum lift-to-drag ratio that the aircraft can achieve; is the reward function set;

[0048] The step 3 of building a reinforcement learning model for the gliding phase of a variable-length aircraft specifically includes:

[0049] First, set the action space , Observation Space Observation Space And the reward function ;in:

[0050] Action Space is the expected deformation rate of the variable-length aircraft, the action space The design is:

[0051] ;

[0052] Observation Space Designed for:

[0053] ;

[0054] In the formula, ;

[0055] Reward Function The expression is: ;

[0056] In the formula, ,in, is the weight of the first and second terms of the preset reward function; Expressed as the expected effect threshold of lift-to-drag ratio, It is expressed as the minimum tolerable threshold of lift-to-drag ratio;

[0057] Secondly, the reinforcement learning model includes an evaluation network , Action Network , Target Evaluation Network and target action network , the evaluation network To observe space and action space A deep neural network with action-value function as input and action-value function as output, action network To use a deep neural network with observation input and an action output.

[0058] In a possible implementation, the step 3 of using a deep deterministic policy gradient algorithm to train a reinforcement learning model specifically includes:

[0059] Step 301. Randomly initialize the evaluation network and action network Weight and ; Initialize the target evaluation network and target action network , and perform weight transfer , ; Initialize experience replay pool ;

[0060] Step 302. Initialize a random process of motion exploration , get the initial observation state ;

[0061] Step 303. Generate actions based on the current strategy and exploration noise , ; represents exploration noise; Indicates the current strategy;

[0062] Execute an action , get the next observation state and rewards ;

[0063] Collect the initial observation state, action, reward, and next observation state Deposit into experience replay pool ;

[0064] From the Experience Replay Pool Randomly extract small sample data , Indicates the current iteration training round;

[0065] Calculate the Q value: ;

[0066] Update the evaluation network by minimizing the loss function:

[0067] ;

[0068] Use policy gradients to update the action network:

[0069] ;

[0070] Update the target evaluation network and target action network:

[0071] ;

[0072] ;

[0073] Step 304: ,judge Is it satisfied? , Indicates the simulation duration of a single training. If yes, return to step 303. If no, calculate the average return, draw the average return curve, and judge whether the deformation decision performance index is reached according to the average return. If yes, go to step 4. If no, ,judge Is it satisfied? , M represents the total number of preset iterative training rounds.

[0074] The method of the present invention actively considers the aerodynamic uncertainty existing in the actual flight process when facing a complex flight environment, adopts a first-order Markov decision to describe the uncertainty of aerodynamic parameters, and estimates and corrects the aerodynamic parameter perturbation based on the Kalman filter algorithm, and then adopts a deep deterministic policy gradient algorithm to train the variable-length aircraft, so that the variable-length aircraft can make corresponding deformation decisions without human intervention or an offline database when facing a complex flight environment, so that the flight performance of the variable-length aircraft can be improved under the condition of aerodynamic uncertainty during the gliding stage. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 Design a flow chart for the intelligent decision-making method of the variable-length aircraft of the present invention;

[0076] Figure 2 This is a diagram of the integrated training results of intelligent deformation decision control of the present invention;

[0077] Figure 3 This is the output result diagram of the intelligent deformation decision of the present invention;

[0078] Figure 4 This is a diagram showing the lift-to-drag ratio change of the variable-span aircraft of the present invention. DETAILED DESCRIPTION

[0079] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0080] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0081] In the embodiments of the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0082] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0083] like Figure 1 The intelligent deformation decision method of a variable-length aircraft under aerodynamic uncertainty shown in the figure includes:

[0084] Step 1. Based on the multi-rigid body dynamics modeling method and the Newton-Euler method, a three-degree-of-freedom operation model of a variable-length aircraft with symmetrical and continuously retractable wings on both sides is established; the three-degree-of-freedom operation model is expressed as:

[0085] ;

[0086] In the formula, They are respectively expressed as the flight speed, track inclination and track deviation of the variable-span aircraft; They represent lift, drag, and side force, respectively; It is expressed as the projection of gravitational acceleration in the half-velocity coordinate system; It is expressed as the projection of the deformation additional force in the half-velocity coordinate system;

[0087] Among them, about lift ,resistance and lateral force The calculation formula is:

[0088] ;

[0089] In the formula, Indicates dynamic pressure, It represents the reference area of ​​the variable-span aircraft when the wings are not deformed; It is expressed as the equivalent aerodynamic coefficient of lift, drag and side force, and its calculation formula is:

[0090] ;

[0091] In the above formula, Indicates the rudder deflection angle of the x, y, and z channels; Indicates the change in reference area as deformation rate Function of deformation rate Positioned as the normalized parameter of wing span, , is the wing span, Expressed as the minimum value of the wingspan, Expressed as the maximum value of the wingspan; They represent Mach number, angle of attack, and sideslip angle respectively;

[0092] About the acceleration due to gravity The calculation formula is:

[0093] ;

[0094] In the formula, Expressed as the Earth's gravitational constant; Expressed as the radius of the Earth; It is expressed as the radius vector from the aircraft to the center of the earth;

[0095] The calculation formula for the deformation attachment force in the body coordinate system is:

[0096] ;

[0097] In the formula, Expressed as the three-axis rotation angular velocity of the aircraft; It is expressed as the radius vector of the deformed wing's center of mass relative to the fuselage's center of mass.

[0098] Step 2. Based on the three-degree-of-freedom operation module of the variable-length aircraft, the uncertainty of the aerodynamic parameters is described by using the first-order Markov decision to obtain the expanded system equation; then the measurement equation is constructed according to the apparent acceleration acquired by the acceleration, and an online correction method for aerodynamic parameters based on the extended Kalman filter is designed to obtain the estimated value of the aerodynamic parameter perturbation and the estimated value of the lift-to-drag ratio; where:

[0099] The system equation after dimension expansion is expressed as:

[0100] ;

[0101] In the formula, denote the perturbation of the drag coefficient and the perturbation of the lift coefficient respectively; is the system state noise;

[0102] The apparent acceleration measurement equation of acceleration acquisition is expressed as:

[0103] ;

[0104] In the formula, Measuring noise for accelerometers;

[0105] The system equation and measurement equation of the extended Kalman filter are expressed as:

[0106] ;

[0107] In the formula, the system state , measurement status ;

[0108] Secondly, the state estimation is performed based on the system equation of the extended Kalman filter:

[0109] ;

[0110] In the formula, is the state transfer matrix, where is the Jacobian matrix of the system equations; is the system noise matrix; Indicates Step state estimation, represents the integral, Indicates the sampling time ; represents the covariance matrix of the state vector;

[0111] Next, update the The state estimation of the step:

[0112] ;

[0113] In the formula, Expressed as the Jacobian matrix of the measurement equation, Represented as the measurement noise matrix;

[0114] Then, according to the state estimation result of the extended Kalman filter algorithm, the estimated value of the lift-to-drag ratio is calculated:

[0115] ;

[0116] In the formula, They respectively represent the perturbation estimate of the drag coefficient and the perturbation estimate of the lift coefficient estimated by the extended Kalman filter algorithm.

[0117] Step 3. First, maximize the lift-to-drag ratio as the performance indicator for deformation decision:

[0118] ;

[0119] In the formula, Expressed as a discount factor; It is expressed as the error between the lift-to-drag ratio and the maximum lift-to-drag ratio that the aircraft can achieve; is the reward function set;

[0120] Next, we build a reinforcement learning model for the gliding phase of a variable-length aircraft, including:

[0121] Setting the Action Space , Observation Space Observation Space And the reward function ;in:

[0122] In this specific embodiment, the action space In the form of positional instructions, the action space is the expected deformation rate of the variable-length aircraft, the action space The design is:

[0123] ;

[0124] Observation Space design:

[0125] According to the deformation decision performance index, the observation space It is necessary to include the lift-to-drag ratio error, that is, the difference between the online estimated value of the lift-to-drag ratio and the maximum value that the aircraft can reach in any state; this specific embodiment takes into account that the lift-to-drag ratio has a direct relationship with the attitude angle, so the change trend of the lift-to-drag ratio is related to the change trend of the attitude angle, and the lift-to-drag ratio is mainly related to the attitude of the pitch channel. Therefore, the observation space of this specific embodiment It also includes the speed of angle of attack and pitch, observation space The initial design is:

[0126] ;

[0127] Further considering the inertia of the aircraft, this specific embodiment observes the space The state data of five historical periods is introduced and expressed as:

[0128] ;

[0129] In the later stage of training using the deep deterministic policy gradient algorithm, the above state quantities are normalized to [0,1];

[0130] Reward Function The expression is: ;

[0131] In the formula, ,in, is the weight of the first and second terms of the preset reward function; Expressed as the expected effect threshold of lift-to-drag ratio, It is expressed as the minimum tolerable threshold of lift-to-drag ratio;

[0132] Secondly, the reinforcement learning model includes an evaluation network , Action Network , Target Evaluation Network and target action network , the evaluation network To observe space and action space A deep neural network with action-value function as input and action-value function as output, action network To use a deep neural network with observation input and an action output;

[0133] Then, the deep deterministic policy gradient algorithm is used to train the reinforcement learning model to obtain the deformation strategy of the variable-length aircraft in the gliding phase; specifically, it includes:

[0134] Step 301. Randomly initialize the evaluation network and action network Weight and ; Initialize the target evaluation network and target action network , and perform weight transfer , ; Initialize experience replay pool ;

[0135] Step 302. Initialize a random process of motion exploration , get the initial observation state ;

[0136] Step 303. Generate actions based on the current strategy and exploration noise , ; represents exploration noise; Indicates the current strategy;

[0137] Execute an action , get the next observation state and rewards ;

[0138] Collect the initial observation state, action, reward, and next observation state Deposit into experience replay pool ;

[0139] From the Experience Replay Pool Randomly extract small sample data , Indicates the current iteration training round;

[0140] Calculate the Q value: ;

[0141] Update the evaluation network by minimizing the loss function:

[0142] ;

[0143] Use policy gradients to update the action network:

[0144] ;

[0145] Update the target evaluation network and target action network:

[0146] ;

[0147] ;

[0148] Step 304: ,judge Is it satisfied? , Indicates the simulation duration of a single training. If yes, return to step 303. If no, calculate the average return, draw the average return curve, and judge whether the deformation decision performance index is reached according to the average return. If yes, go to step 4. If no, ,judge Is it satisfied? , M represents the total number of preset iterative training rounds.

[0149] Step 4. Use MATLAB to verify the effectiveness of the deformation strategy of the variable-length intelligent body under the condition of aerodynamic parameter uncertainty. The verification results are as follows: Figure 4 As shown in the figure, the change results of the aircraft lift-to-drag ratio and the real-time estimation results of the lift-to-drag ratio, the intelligent deformation decision can effectively improve the lift-to-drag ratio, and the aerodynamic parameter correction method adopted can basically give effective real-time lift-to-drag ratio effective results.

[0150] In step 304, it is determined whether the deformation decision performance index is reached according to the average reward, specifically by looking at the change of the average reward curve, such as Figure 2 As shown in Figure 2, the intelligent deformation decision is added at 0.5s; the change of the average reward curve during the training of the deep deterministic policy gradient agent; after the intelligent deformation decision is added at 0.5s, Figure 3 The changing results of the deformation rate of the variable-length aircraft can be seen.

[0151] The method of the present invention actively considers the aerodynamic uncertainty existing in the actual flight process when facing a complex flight environment, adopts a first-order Markov decision to describe the uncertainty of aerodynamic parameters, and estimates and corrects the aerodynamic parameter perturbation based on the Kalman filter algorithm, and then adopts a deep deterministic policy gradient algorithm to train the variable-length aircraft, so that the variable-length aircraft can make corresponding deformation decisions without human intervention or offline database when facing a complex flight environment, so that the flight performance of the variable-length aircraft can be improved in the gliding stage under the condition of aerodynamic uncertainty.

[0152] In the description of the embodiments of the present application, it should be noted that in the description of the present application, terms such as "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for the convenience of description, and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present application.

[0153] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. An intelligent deformation decision method for a variable-length aircraft under aerodynamic uncertainty, characterized in that: include: Step 1. Based on the multi-rigid body dynamics modeling method and Newton-Euler method, a three-degree-of-freedom operation model of a variable-length aircraft with symmetrical and continuously retractable wings on both sides is established; Step 2. Based on the three-degree-of-freedom operation module of the variable-length aircraft, the uncertainty of the aerodynamic parameters is described by using the first-order Markov decision to obtain the expanded system equation; then, the measurement equation is constructed according to the apparent acceleration acquired by the acceleration, and an online correction method for aerodynamic parameters based on the extended Kalman filter is designed to obtain the estimated value of the aerodynamic parameter perturbation and the estimated value of the lift-to-drag ratio; Step 3. Taking the maximum lift-to-drag ratio as the deformation decision performance index, a reinforcement learning model of the variable-length aircraft in the gliding stage is built, and the deep deterministic policy gradient algorithm is used to train the reinforcement learning model to obtain the deformation strategy of the variable-length aircraft in the gliding stage; Step 4. Use MATLAB to verify the effectiveness of the deformation strategy of the variable-length intelligent body under the condition of aerodynamic parameter uncertainty; The three-degree-of-freedom operation model expression of the variable-length aircraft established in step 1 is: ; In the formula, They are respectively expressed as the flight speed, track inclination and track deviation of the variable-span aircraft; They represent lift, drag, and side force, respectively; It is expressed as the projection of gravitational acceleration in the half-velocity coordinate system; It is expressed as the projection of the deformation additional force in the half-velocity coordinate system; Among them, about lift ,resistance and lateral force The calculation formula is: ; In the formula, Indicates dynamic pressure, It represents the reference area of ​​the variable-span aircraft when the wings are not deformed; It is expressed as the equivalent aerodynamic coefficient of lift, drag and side force, and its calculation formula is: ; In the above formula, Represents the rudder deflection angle in the x, y, and z channels respectively; Indicates the change in reference area as deformation rate Function of deformation rate Positioned as the normalized parameter of wing span, , is the wing span, Expressed as the minimum value of the wingspan, Expressed as the maximum value of the wingspan; They represent Mach number, angle of attack, and sideslip angle respectively; About the acceleration due to gravity The calculation formula is: ; In the formula, Expressed as the Earth's gravitational constant; Expressed as the radius of the Earth; It is expressed as the radius vector from the aircraft to the center of the earth; About Deformation Attachment Force The calculation formula in the body coordinate system is: ; In the formula, Expressed as the three-axis rotation angular velocity of the aircraft; It is expressed as the radius vector of the deformed wing mass center relative to the fuselage mass center; In step 2, based on the three-degree-of-freedom operation module of the variable-length aircraft, the uncertainty of the aerodynamic parameters is described by using the first-order Markov decision, and the system equation after the expansion is expressed as: ; In the formula, denote the perturbation of the drag coefficient and the perturbation of the lift coefficient respectively; is the system state noise; The apparent acceleration measurement equation constructed by the acceleration acquisition in step 2 is expressed as: ; In the formula, Measuring noise for accelerometers; The method for online correction of aerodynamic parameters based on extended Kalman filtering designed in step 2 includes: First, construct the system equation and measurement equation of the extended Kalman filter: ; In the formula, the system state , measurement status ; Secondly, the state estimation is performed based on the system equation of the extended Kalman filter: ; In the formula, is the state transfer matrix, where is the Jacobian matrix of the system equations; is the system noise matrix; Indicates Step state estimation, represents the integral, Indicates the sampling time ; represents the covariance matrix of the state vector; Next, update the The state estimation of the step: ; In the formula, Expressed as the Jacobian matrix of the measurement equation, Represented as the measurement noise matrix; Then, according to the state estimation result of the extended Kalman filter algorithm, the estimated value of the lift-to-drag ratio is calculated: ; In the formula, They represent the perturbation estimate of the drag coefficient and the perturbation estimate of the lift coefficient estimated by the extended Kalman filter algorithm respectively; The expression of the step 3 taking the maximum lift-to-drag ratio as the deformation decision performance index is: ; In the formula, , Expressed as a discount factor; It is expressed as the error between the lift-to-drag ratio and the maximum lift-to-drag ratio that the aircraft can achieve; is the reward function set; The step 3 of building a reinforcement learning model for the gliding phase of a variable-length aircraft specifically includes: First, set the action space , Observation Space Observation Space And the reward function ;in: Action Space is the expected deformation rate of the variable-length aircraft, the action space The design is: ; Observation Space Designed for: ; In the formula, ; Reward Function The expression is: ; In the formula, ,in, is the weight of the first and second terms of the preset reward function; Expressed as the expected effect threshold of lift-to-drag ratio, It is expressed as the minimum tolerable threshold of lift-to-drag ratio; Secondly, the reinforcement learning model includes an evaluation network , Action Network , Target Evaluation Network and target action network , the evaluation network To observe space and action space A deep neural network with action-value function as input and action-value function as output, action network To use a deep neural network with observation input and an action output; In step 3, the deep deterministic policy gradient algorithm is used to train the reinforcement learning model, specifically including: Step 301. Randomly initialize the evaluation network and action network Weight and ; Initialize the target evaluation network and target action network , and perform weight transfer , ; Initialize experience replay pool ; Step 302. Initialize a random process of motion exploration , get the initial observation state ; Step 303. Generate actions based on the current strategy and exploration noise , ; represents exploration noise; Indicates the current strategy; Execute an action , get the next observation state and rewards ; Collect the initial observation state, action, reward, and next observation state Deposit into experience replay pool ; From the Experience Replay Pool Randomly extract small sample data , Indicates the current iteration training round; Calculate the Q value: ; Update the evaluation network by minimizing the loss function: ; Use policy gradients to update the action network: ; Update the target evaluation network and target action network: ; ; Step 304: ,judge Is it satisfied? , Indicates the simulation duration of a single training. If yes, return to step 303. If no, calculate the average return, draw the average return curve, and judge whether the deformation decision performance index is reached according to the average return. If yes, go to step 4. If no, ,judge Is it satisfied? , M represents the total number of preset iterative training rounds.