A method, device, equipment and storage medium for predicting aircraft angle of attack change

By embedding the aircraft dynamics equation in the LSTM neural network and combining the incoming flow direction and aircraft status history information, the problem of the traditional LSTM neural network's lack of physical connotation in predicting the aircraft's angle of attack and aerodynamic force changes is solved, and the problem of incoming flow disturbance conditions is realized. Accurate predictions and early warnings improve the accuracy and reliability of predictions.

CN118627405BActive Publication Date: 2024-10-18CALCULATION AERODYNAMICS INST CHINA AERODYNAMICS RES & DEV CENT
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411110540.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-10-18
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

The traditional LSTM neural network lacks physical connotation in predicting changes in aircraft angle of attack and aerodynamic force, making it difficult to guarantee prediction accuracy and generalization performance. It is especially difficult to accurately predict changes in aircraft angle of attack within a certain period of time in the future under incoming flow disturbance conditions.

Method used

By embedding the dynamic equations of the aircraft as physical constraints in the loss function of the long-short-term memory neural network, combined with the incoming flow direction and the historical information of the aircraft motion state, the neural network is trained to improve the accuracy and physical rationality of prediction.

Benefits of technology

It achieves accurate prediction of changes in the angle of attack of the aircraft within a certain period of time in the future under the condition of incoming flow disturbances, provides early warning of the danger of aerodynamic divergence of the aircraft, provides instant reference information for flight control, and improves the accuracy and reliability of the prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627405B_ABST
    Figure CN118627405B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for predicting the change of the angle of attack of an aircraft, and relates to the field of aircraft technology, including: screening the historical information of the incoming flow direction and the motion state of the aircraft to obtain the target incoming flow direction and the historical information of the target aircraft; setting a target long short-term memory neural network, and determining the input of the target long short-term memory neural network based on the target incoming flow direction and the historical information of the target aircraft; embedding the dynamic equation of the aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; training the target long short-term memory neural network based on the target loss function and the input of the target long short-term memory neural network to obtain the trained neural network; predicting the motion state of the aircraft based on the trained neural network, and completing the prediction of the change of the angle of attack of the aircraft based on the prediction result of the motion state. The present application can improve the accuracy of the prediction of the change of the angle of attack of the aircraft within a certain period of time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aircraft technology, and in particular to a method, device, equipment and storage medium for predicting changes in an aircraft angle of attack. Background Art

[0002] When an aircraft encounters severe oncoming flow disturbances such as clear-air turbulence during navigation, or when the aircraft is maneuvering, the oncoming flow direction on the aircraft surface is prone to change dramatically, causing rapid changes in the lift and drag of the aircraft, which may pose a fatal threat to flight safety. Therefore, under the condition of continuous changes in the oncoming flow direction, the prediction of the aircraft's angle of attack and moment coefficient is of great significance to the design and control of the aircraft. In particular, under the condition of continuous changes in the aircraft's angle of attack, predicting the aircraft's angle of attack and aerodynamic properties in a certain period of time in the future can provide early warning of flight safety risks, which has important reference value for the real-time control of the aircraft under actual flight conditions. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for predicting changes in aircraft angle of attack, which can break through the technical bottleneck of the lack of physical connotation of the traditional LSTM (Long Short Time Memory) neural network and improve the accuracy of the LSTM neural network in predicting changes in aircraft angle of attack and aerodynamic force within a certain period of time in the future. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a method for predicting a change in an aircraft angle of attack, comprising:

[0005] Screening the incoming flow direction and the historical information of the aircraft motion state to obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state;

[0006] Setting a target long short-term memory neural network, and determining an input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information;

[0007] Embedding the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; training the target long short-term memory neural network based on the target loss function and the input of the target long short-term memory neural network to obtain a trained neural network;

[0008] The motion state of the target aircraft is predicted based on the trained neural network, so as to complete the prediction of the change of the angle of attack of the target aircraft based on the prediction result of the motion state.

[0009] Optionally, the filtering of the incoming flow direction and the historical information of the aircraft motion state includes:

[0010] The incoming flow direction and the historical information of the aircraft motion state are screened based on the timing signal by controlling the gate function.

[0011] Optionally, the filtering of the incoming flow direction and the historical information of the motion state of the aircraft based on the timing signal by controlling the gate function includes:

[0012] The time sequence information related to the change of the angle of attack of the target aircraft in the incoming flow direction and the aircraft motion state history information is selected by controlling the forget gate function and the input gate function;

[0013] The incoming flow direction and the historical information of the aircraft motion state are screened based on the timing information and the output gate function.

[0014] Optionally, setting a target long short-term memory neural network includes:

[0015] The target long short-term memory neural network is set by presetting the number of hidden layers and the number of neurons in each layer.

[0016] Optionally, embedding the dynamics equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function includes:

[0017] The corresponding dynamic equation is determined based on the flight speed domain and airspace of the target aircraft, the dynamic equation is combined with the loss function of the target long short-term memory neural network, and the loss function is physically constrained to obtain the target loss function.

[0018] Optionally, predicting the motion state of the target aircraft based on the trained neural network to complete the prediction of the change of the angle of attack of the target aircraft based on the prediction result of the motion state includes:

[0019] The current incoming flow direction is input into the trained neural network to obtain the corresponding motion state prediction result of the target aircraft, and the change of the angle of attack of the target aircraft is determined based on the motion state prediction result.

[0020] Optionally, the method further includes:

[0021] A danger warning prompt is given to the target aircraft based on the change trend of the angle of attack of the target aircraft, so that the staff can control the flight of the target aircraft based on the danger warning prompt.

[0022] In a second aspect, the present application discloses a device for predicting changes in angle of attack of an aircraft, comprising:

[0023] A screening module is used to screen the incoming flow direction and the historical information of the aircraft motion state, and obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state;

[0024] An input determination module, used to set a target long short-term memory neural network, and determine the input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information;

[0025] A neural network training module is used to embed the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; based on the target loss function and the input of the target long short-term memory neural network, the target long short-term memory neural network is trained to obtain a trained neural network;

[0026] The attack angle change prediction module is used to predict the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the attack angle change of the target aircraft based on the prediction result of the motion state.

[0027] In a third aspect, the present application discloses an electronic device, comprising:

[0028] Memory, used to store computer programs;

[0029] A processor is used to execute the computer program to implement the aforementioned aircraft angle of attack change prediction method.

[0030] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned method for predicting changes in the angle of attack of an aircraft.

[0031] When predicting the change of the aircraft angle of attack, the present application first screens the incoming flow direction and the historical information of the aircraft motion state, and obtains the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state; then sets the target long and short-term memory neural network, and determines the input of the target long and short-term memory neural network based on the target incoming flow direction and the historical information of the target aircraft; then embeds the dynamic equation of the target aircraft into the loss function of the target long and short-term memory neural network to determine the target loss function; trains the target long and short-term memory neural network based on the target loss function and the input of the target long and short-term memory neural network to obtain the trained neural network; finally, predicts the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the change of the target aircraft angle of attack based on the prediction result of the motion state. It can be seen that the present application embeds the aircraft dynamic equation as a physical constraint in the loss function of the long and short-term memory neural network, so that the prediction result of the neural network satisfies the physical constraint of the equation. In this way, under the condition of incoming flow disturbance, the trend of the aircraft angle of attack change within a certain period of time in the future can be predicted more accurately, and the danger of aircraft aerodynamic divergence can be warned in advance, providing instant reference information for flight control. At the same time, when predicting the future angle of attack of the aircraft, it can also be based on the incoming flow angle and historical information of the flight status. This method can predict the changes in the aircraft torque and angle of attack within a certain period of time. In this way, the technical bottleneck of the lack of physical connotation of the traditional long and short-term memory neural network is broken through, and the accuracy of the long and short-term memory neural network in predicting the changes in the aerodynamic force of the aircraft angle of attack within a certain period of time in the future is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0033] Figure 1 A flow chart of a method for predicting changes in the angle of attack of an aircraft disclosed in the present application;

[0034] Figure 2 A schematic diagram of the basic structure of an LSTM control gate disclosed in this application;

[0035] Figure 3 This is a schematic diagram of an enlarged NACA0012 calculation grid area disclosed in this application;

[0036] Figure 4 A schematic diagram for comparing prediction results disclosed in this application;

[0037] Figure 5 This is a schematic diagram of the structure of a device for predicting the change in angle of attack of an aircraft disclosed in the present application;

[0038] Figure 6 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Considering the actual flight conditions, the flight control system requires the immediate prediction of the aircraft angle of attack and aerodynamic performance, and only the aerodynamic prediction mathematical / physical model means can meet this requirement. Compared with the traditional reduced-order mathematical and physical models that require complete aerodynamic mathematical modeling, the aerodynamic performance prediction model based on deep learning methods such as neural networks can bypass the difficulties of strongly nonlinear aerodynamic mathematical modeling, and directly construct a nonlinear prediction between the incoming flow conditions and the change of the aircraft angle of attack, which has a high application potential. However, the prediction results of the traditional LSTM neural network method do not have physical connotations, and the generalization performance is difficult to guarantee. In order to solve the above-mentioned technical problems, the present application discloses a method for predicting changes in the aircraft angle of attack, which can break through the technical bottleneck of the lack of physical connotations of the traditional LSTM neural network, and improve the accuracy of the LSTM neural network in predicting changes in the aircraft angle of attack and aerodynamic forces within a certain period of time in the future.

[0041] See also Figure 1 As shown, an embodiment of the present invention discloses a method for predicting a change in an angle of attack of an aircraft, comprising:

[0042] Step S11: Screen the incoming flow direction and the historical information of the aircraft motion state to obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state.

[0043] In this embodiment, the long short-term memory neural network is essentially a recurrent neural network with added control gates, which is suitable for modeling and predicting time series. By controlling the gate function, historical information can be selectively added or deleted, so as to select the time series signal that is most relevant to the time series signal to be predicted, thereby improving the prediction efficiency of the neural network and alleviating the gradient vanishing or gradient exploding problems that occur in the recurrent neural network during the training of time series data. LSTM uses three gate switch functions to replace the hidden layer of the recurrent neural network, and pre-screens the input state vector of the neural network in time series, thereby improving the learning efficiency and prediction ability of the neural network. The gate structure is as follows: Figure 2 As shown, Represents a "memory cell" that contains information about the previous time series, the hidden state Contains information at a certain moment, and is controlled by the forget gate and input gate to select the state to be predicted at the next moment Related forward time series information, and finally output the state matrix at the next moment , as the input vector of the neural network. The subscript t in the figure represents the number of time steps. (e represents the Euler number, x is the function independent variable) is the sigmoid function, is the hyperbolic sine function. is the forget gate function, and is the input gate function, is the output gate function, and the calculation formula of the forget gate function is as follows:

[0044] ;

[0045] Where subscript f represents the forget gate, subscript t represents the time step, and are the weight and bias matrices of the neural network, represents the state of the previous time step, Represents the input at the current time step. Function controlled by weight matrix Which moments of information are filtered out to increase memory cells The proportion of effective time domain information.

[0046] The input gate adds information to the "memory cell" The input gate contains two outputs. The specific calculation formula is as follows:

[0047] ;

[0048] ;

[0049] Subscript represents the input gate, and the subscript c represents the candidate cell state, where and are the cell states transformed by the sigmoid function and the hyperbolic tangent function, respectively, and are the intermediate functions that ultimately update the system state. and Represent the weight of the input gate and the weight of generating candidate cell states, respectively. represents the state of the previous time step, represents the input of the current time step, and They represent the bias of the input gate and the bias of generating candidate states respectively. Finally, the cell state is updated .

[0050] Finally, the output gate determines the final output state of the LSTM unit, which serves as the input information for the next moment and the output of the neural network. The calculation formula is as follows:

[0051] ;

[0052] ;

[0053] in, represents the output gate, and are the weight and bias of the output gate respectively. is the input state vector of the neural network after filtering through the control gate.

[0054] Therefore, the preceding time series signals (i.e., the incoming flow direction and the historical information of the aircraft's motion state) are screened through the control gate, and the time series signals most relevant to the change in the angle of attack that needs to be predicted are selected as the input of the neural network. Specifically, the time series information related to the change in the angle of attack of the aircraft in the incoming flow direction and the historical information of the aircraft's motion state is selected through the forget gate function and the input gate function; the incoming flow direction and the historical information of the aircraft's motion state are screened based on the time series information and the output gate function, and then the part of the incoming flow direction and the historical information of the aircraft's motion state that is most relevant to the prediction of the aircraft's motion state is obtained.

[0055] Step S12: setting a target long short-term memory neural network, and determining the input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information.

[0056] In this embodiment, the target long short-term memory neural network is set by presetting the number of hidden layers and the number of neurons in each layer. After the target long short-term memory neural network is set, the input of the target long short-term memory neural network is determined based on the target incoming flow direction and the target aircraft historical information.

[0057] Step S13, embedding the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; training the target long short-term memory neural network based on the target loss function and the input of the target long short-term memory neural network to obtain a trained neural network.

[0058] In this embodiment, the corresponding dynamic equation is determined based on the flight speed domain and airspace of the target aircraft, the dynamic equation is combined with the loss function of the target long short-term memory neural network, and the loss function is physically constrained to obtain the target loss function. That is, the physical constraint of the equation is embedded in the neural network loss function. In a specific embodiment, the moment equation of the airfoil in two-dimensional pitch motion is:

[0059] ;

[0060] Where M is the moment, I is the airfoil moment of inertia, is the angular acceleration when the airfoil rotates. This equation is embedded in the LSTM neural network training loss function, and the specific expression is as follows:

[0061] ;

[0062] Among them, Loss represents the loss function, n represents the total time step, the subscript pt represents the predicted value of the physical quantity of the neural network at time t, and the subscript rt represents the reference value of the physical quantity at time t. In this way, the loss function embedded in the physical constraint is determined.

[0063] Step S14: predicting the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the change of the angle of attack of the target aircraft based on the prediction result of the motion state.

[0064] In this embodiment, the current incoming flow direction is input into the trained neural network to obtain the corresponding motion state prediction result of the target aircraft, and the change in the angle of attack of the target aircraft is determined based on the motion state prediction result. At the same time, based on the change trend of the angle of attack of the target aircraft, a danger warning prompt is given to the aircraft so that the staff can control the flight of the aircraft based on the danger warning prompt. In this way, based on the incoming flow angle and the historical information of the flight status, the method can automatically predict the changes in the aircraft torque and angle of attack in a certain subsequent time period. In actual flight, the incoming flow angle can be obtained through a detector, and the historical motion state information of the aircraft can be obtained through a gyroscope and other equipment. The present application can make advance predictions of the change in the angle of attack in a certain future time period under certain incoming flow disturbance conditions, and has certain engineering application potential.

[0065] In summary, when predicting the change of the aircraft angle of attack, the present application first screens the incoming flow direction and the historical information of the aircraft motion state, and obtains the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state; then sets the target long and short-term memory neural network, and determines the input of the target long and short-term memory neural network based on the target incoming flow direction and the historical information of the target aircraft; then embeds the dynamic equation of the target aircraft into the loss function of the target long and short-term memory neural network to determine the target loss function; trains the target long and short-term memory neural network based on the target loss function and the input of the target long and short-term memory neural network to obtain the trained neural network; finally, predicts the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the change of the target aircraft angle of attack based on the prediction result of the motion state. It can be seen that the present application embeds the aircraft dynamic equation as a physical constraint in the loss function of the long and short-term memory neural network, so that the prediction result of the neural network satisfies the physical constraint of the equation. In this way, under the condition of incoming flow disturbance, the trend of the aircraft angle of attack change within a certain period of time in the future can be predicted more accurately, and the danger of aircraft aerodynamic divergence can be warned in advance, providing instant reference information for flight control. At the same time, when predicting the future angle of attack of the aircraft, it can also be based on the incoming flow angle and historical information of the flight status. This method can predict the changes in the aircraft torque and angle of attack within a certain period of time. In this way, the technical bottleneck of the lack of physical connotation of the traditional long and short-term memory neural network is broken through, and the accuracy of the long and short-term memory neural network in predicting the changes in the aerodynamic force of the aircraft angle of attack within a certain period of time in the future is improved.

[0066] In a specific embodiment, for a NACA0012 airfoil, Figure 3 As shown, different free flow disturbance directions are obtained by changing the parameters of the trigonometric function equation. The disturbance equation formula is as follows:

[0067] ;

[0068] in, is the incoming flow direction, is the initial flow direction, and the random change parameters include , , , , , , satisfy , randomly generate an array within this range, thereby changing the incoming flow direction at time t. With the help of CFD (Computational Fluid Dynamics) method, the time series of the angle of attack (pitch angle) changing with the incoming flow disturbance is obtained, such as Figure 4 Shown by the blue line.

[0069] Figure 4 The comparison between the LSTM neural network embedded with physical constraints and the original LSTM neural network in the prediction of the change of NACA0012 pitch angle (equivalent to the angle of attack in a two-dimensional motion state) is shown. The red dotted line is the prediction result of the LSTM neural network with physical constraints, the green dotted line is the prediction result of the original LSTM neural network, and the blue solid line is the CFD calculation result. It should be noted that in the prediction process, the input quantity is only the incoming flow angle, and the torque change in the future time period is predicted by the neural network itself. The method of this application greatly improves the prediction ability. At the same time, the aircraft dynamics equation is embedded in the LSTM neural network loss function as a physical constraint, so that the neural network prediction result satisfies the physical constraint of the equation.

[0070] See also Figure 5 As shown, an embodiment of the present invention discloses a device for predicting change in angle of attack of an aircraft, comprising:

[0071] A screening module 11 is used to screen the incoming flow direction and the historical information of the aircraft motion state, and obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state;

[0072] An input determination module 12 is used to set a target long short-term memory neural network, and determine the input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information;

[0073] A neural network training module 13 is used to embed the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine a target loss function; train the target long short-term memory neural network based on the target loss function and the input of the target long short-term memory neural network to obtain a trained neural network;

[0074] The attack angle change prediction module 14 is used to predict the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the attack angle change of the target aircraft based on the prediction result of the motion state.

[0075] When predicting the change of the aircraft angle of attack, the present application first screens the incoming flow direction and the historical information of the aircraft motion state, and obtains the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state; then sets the target long and short-term memory neural network, and determines the input of the target long and short-term memory neural network based on the target incoming flow direction and the historical information of the target aircraft; then embeds the dynamic equation of the target aircraft into the loss function of the target long and short-term memory neural network to determine the target loss function; trains the target long and short-term memory neural network based on the target loss function and the input of the target long and short-term memory neural network to obtain the trained neural network; finally, predicts the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the change of the target aircraft angle of attack based on the prediction result of the motion state. It can be seen that the present application embeds the aircraft dynamic equation as a physical constraint in the loss function of the long and short-term memory neural network, so that the prediction result of the neural network satisfies the physical constraint of the equation. In this way, under the condition of incoming flow disturbance, the trend of the aircraft angle of attack change within a certain period of time in the future can be predicted more accurately, and the danger of aircraft aerodynamic divergence can be warned in advance, providing instant reference information for flight control. At the same time, when predicting the future angle of attack of the aircraft, it can also be based on the incoming flow angle and historical information of the flight status. This method can predict the changes in the aircraft torque and angle of attack within a certain period of time. In this way, the technical bottleneck of the lack of physical connotation of the traditional long and short-term memory neural network is broken through, and the accuracy of the long and short-term memory neural network in predicting the changes in the aerodynamic force of the aircraft angle of attack within a certain period of time in the future is improved.

[0076] In some specific embodiments, the screening module 11 may specifically include:

[0077] A screening unit is used to screen the incoming flow direction and the historical information of the aircraft motion state based on the timing signal by controlling the gate function.

[0078] In some specific embodiments, the screening unit may specifically include:

[0079] A selection subunit, used for controlling the selection of the incoming flow direction and the timing information related to the change of the angle of attack of the target aircraft in the aircraft motion state history information through a forget gate function and an input gate function;

[0080] The screening subunit is used to complete the screening of the incoming flow direction and the historical information of the aircraft motion state based on the timing information and the output gate function.

[0081] In some specific embodiments, the input determination module 12 may specifically include:

[0082] The neural network setting unit is used to set the target long short-term memory neural network by presetting the number of hidden layers and the number of neurons in each layer.

[0083] In some specific embodiments, the neural network training module 13 may specifically include:

[0084] The target loss function acquisition unit is used to determine the corresponding dynamic equation based on the flight speed domain and airspace of the target aircraft, combine the dynamic equation with the loss function of the target long short-term memory neural network, and physically constrain the loss function to obtain the target loss function.

[0085] In some specific embodiments, the attack angle change prediction module 14 may specifically include:

[0086] The angle of attack change prediction unit is used to input the current incoming flow direction into the trained neural network to obtain the corresponding motion state prediction result of the target aircraft, and determine the angle of attack change of the target aircraft based on the motion state prediction result.

[0087] In some specific embodiments, the device may further include:

[0088] The early warning prompt module is used to provide a danger early warning prompt to the target aircraft based on the attack angle change trend of the target aircraft, so that the staff can control the flight of the target aircraft based on the danger early warning prompt.

[0089] Furthermore, the present application also discloses an electronic device. Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0090] Figure 6The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for predicting the change in the angle of attack of an aircraft disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0091] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0092] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.

[0093] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, and can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the aircraft angle of attack change prediction method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.

[0094] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed method for predicting the change in the angle of attack of an aircraft is implemented. The specific steps of the method can be referred to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0095] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0096] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0097] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0098] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0099] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for predicting changes in aircraft angle of attack, It is characterized in that include: Screening the incoming flow direction and the historical information of the aircraft motion state to obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state; Setting a target long short-term memory neural network, and determining an input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information; Embedding the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; training the target long short-term memory neural network based on the target loss function and the input of the target long short-term memory neural network to obtain a trained neural network; Predicting the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the change of the angle of attack of the target aircraft based on the prediction result of the motion state; The step of embedding the dynamics equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function includes: Determine a corresponding dynamic equation based on the flight speed domain and airspace of the target aircraft, combine the dynamic equation with the loss function of the target long short-term memory neural network, and physically constrain the loss function to obtain the target loss function; Among them, the moment equation of the airfoil in two-dimensional pitching motion is: ; Where M is the moment, I is the airfoil moment of inertia, is the angular acceleration when the airfoil rotates; the torque equation is embedded in the LSTM neural network training loss function to determine the target loss function embedded in the physical constraint; the expression is: ; Among them, Loss represents the target loss function, n represents the total time step, and the subscript pt Indicates the predicted value of the physical quantity of the neural network at time t, with the subscript rt Represents the reference value of the physical quantity at time t.

2. The method for predicting the change in the angle of attack of an aircraft according to claim 1, It is characterized in that The filtering of the incoming flow direction and the historical information of the aircraft motion state includes: The incoming flow direction and the historical information of the aircraft motion state are screened based on the timing signal by controlling the gate function.

3. The method for predicting the change of the angle of attack of an aircraft according to claim 2, It is characterized in that The screening of the incoming flow direction and the historical information of the aircraft motion state based on the timing signal by controlling the gate function includes: The time sequence information related to the change of the angle of attack of the target aircraft in the incoming flow direction and the aircraft motion state history information is selected by controlling the forget gate function and the input gate function; The incoming flow direction and the historical information of the aircraft motion state are screened based on the timing information and the output gate function.

4. The method for predicting the change of the angle of attack of an aircraft according to claim 1, It is characterized in that The step of setting a target long short-term memory neural network comprises: The target long short-term memory neural network is set by presetting the number of hidden layers and the number of neurons in each layer.

5. The method for predicting the change of the angle of attack of an aircraft according to claim 1, It is characterized in that The predicting of the motion state of the target aircraft based on the trained neural network to complete the prediction of the change of the angle of attack of the target aircraft based on the prediction result of the motion state includes: The current incoming flow direction is input into the trained neural network to obtain the corresponding motion state prediction result of the target aircraft, and the change of the angle of attack of the target aircraft is determined based on the motion state prediction result.

6. The method for predicting the change of the angle of attack of an aircraft according to any one of claims 1 to 5, It is characterized in that Also includes: A danger warning prompt is given to the target aircraft based on the change trend of the angle of attack of the target aircraft, so that the staff can control the flight of the target aircraft based on the danger warning prompt.

7. A device for predicting changes in the angle of attack of an aircraft, It is characterized in that include: A screening module is used to screen the incoming flow direction and the historical information of the aircraft motion state, and obtain the target incoming flow direction and the historical information of the target aircraft related to the prediction of the target aircraft motion state; An input determination module, used to set a target long short-term memory neural network, and determine the input of the target long short-term memory neural network based on the target incoming flow direction and the target aircraft historical information; A neural network training module is used to embed the dynamic equation of the target aircraft into the loss function of the target long short-term memory neural network to determine the target loss function; based on the target loss function and the input of the target long short-term memory neural network, the target long short-term memory neural network is trained to obtain a trained neural network; An angle of attack change prediction module, used to predict the motion state of the target aircraft based on the trained neural network, so as to complete the prediction of the angle of attack change of the target aircraft based on the prediction result of the motion state; The neural network training module comprises: A target loss function acquisition unit is used to determine a corresponding dynamic equation based on the flight speed domain and airspace of the target aircraft, combine the dynamic equation with the loss function of the target long short-term memory neural network, and physically constrain the loss function to obtain the target loss function; Among them, the moment equation of the airfoil in two-dimensional pitching motion is: ; Where M is the moment, I is the airfoil moment of inertia, is the angular acceleration when the airfoil rotates; the torque equation is embedded in the LSTM neural network training loss function to determine the target loss function embedded in the physical constraint; the expression is: ; Among them, Loss represents the target loss function, n represents the total time step, and the subscript pt Indicates the predicted value of the physical quantity of the neural network at time t, with the subscript rt Represents the reference value of the physical quantity at time t.

8. An electronic device, It is characterized in that include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the method for predicting changes in the angle of attack of an aircraft as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that Used to store a computer program, which, when executed by a processor, implements the method for predicting changes in the angle of attack of an aircraft as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Neural network aerodynamic modeling method fusing tethered support kinetic equation

    CN118246338A