UAV downwash wind field prediction method and device based on deep learning

Through the spatiotemporal prediction network model based on deep learning, the temporal and spatial characteristics of the UAV downwash wind field are captured, which solves the problem of inaccurate flow field prediction in the existing technology and achieves more accurate and faster wind field prediction.

CN118261057BActive Publication Date: 2024-10-08GUANGDONG POLYTECHNIC NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410448910.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-08
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

In the existing technology, UAV flow field prediction is inaccurate, especially the time variation characteristics of the flow field are ignored, resulting in inaccurate downwash wind field prediction.

Method used

Using a spatiotemporal prediction network model based on deep learning, the flow field model is established by analyzing and designing the rotor structure of the multi-rotor UAV, and the flow field numerical simulation method is used to calculate the historical flow field distribution image sequence, extract the temporal characteristics and spatial characteristics, and Based on these features, a sequence of future flow field distribution images is generated.

Benefits of technology

It improves the accuracy and speed of UAV downwash wind field prediction, enhances the generalization under different flight parameters, and provides more reliable prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118261057B_ABST
    Figure CN118261057B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for predicting downwash wind field of unmanned aerial vehicle based on deep learning, the method comprising: analyzing and designing the rotor structure of a target multi-rotor unmanned aerial vehicle, establishing a flow field model of the target multi-rotor unmanned aerial vehicle according to the rotor structure using basic control equations and turbulence models; calculating the historical flow field distribution image sequence of each of the multiple sections of the flow field model using a flow field numerical simulation method; extracting the time characteristics and spatial characteristics of the historical flow field distribution image sequence corresponding to the multiple sections using a spatiotemporal prediction network model, and generating the future flow field distribution image sequence of the target multi-rotor unmanned aerial vehicle based on the time characteristics and spatial characteristics; the spatiotemporal prediction network model is obtained by training the historical flow field distribution image sequence corresponding to the multiple sections in the flow field model of the multi-rotor unmanned aerial vehicle sample as a sample and using its real future flow field distribution image sequence as a label. The present invention improves the accuracy, efficiency and reliability of downwash wind field prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicles (UAVs), and in particular to a method and device for predicting downwash wind fields of UAVs based on deep learning. Background Art

[0002] With the development of society and the advancement of science and technology, the application of drone technology in the agricultural field has attracted more and more attention. Among them, drone spraying technology has been widely studied and explored to solve the problems of low efficiency, high cost and terrain restrictions of manual spraying. The wind field of plant protection drones is closely related to the distribution of spray droplets. Its wind field distribution is crucial to ensure the quality of spraying work and reduce droplet drift.

[0003] However, there are some challenges in predicting the wind field of drones. One of the main problems is to quickly and accurately predict the downwash wind field of drones. The downwash wind field is the airflow under the drone body coupled with the airflow in space. Its speed and distribution vary greatly, which has a direct impact on the optimal spraying of drones.

[0004] At present, mathematical modeling methods are generally used to conduct simulation experiments for flow field prediction problems, and some studies have also explored the use of simple deep learning techniques. However, the simulation time of numerical modeling methods is too long, and secondly, UAVs with different structures need to be modeled and analyzed; in addition, some use convolutional neural networks to predict flow fields, ignoring the time-varying characteristics of flow fields, and flow fields are usually complex nonlinear systems, which leads to inaccurate flow field predictions. Summary of the invention

[0005] The present invention provides a method and device for predicting the downwash wind field of a UAV based on deep learning, so as to solve the defect of inaccurate flow field of a UAV predicted by deep learning in the prior art, and improve the accuracy of the prediction of the flow field of the UAV.

[0006] The present invention provides a method for predicting downwash wind field of a UAV based on deep learning, comprising:

[0007] Analyze and design the rotor structure of the target multi-rotor UAV, and establish a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models;

[0008] Calculating a historical flow field distribution image sequence of each of the multiple sections of the flow field model using a flow field numerical simulation method;

[0009] Extracting the temporal features and spatial features of the historical flow field distribution image sequences corresponding to the multiple slices using a spatiotemporal prediction network model, and generating the future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features;

[0010] The spatiotemporal prediction network model is trained by using a historical flow field distribution image sequence corresponding to multiple slices in the flow field model of a multi-rotor UAV sample as samples and a real future flow field distribution image sequence corresponding to multiple slices in the flow field model of the multi-rotor UAV sample as labels.

[0011] According to a method for predicting downwash wind field of a UAV based on deep learning provided by the present invention, the analysis and design of the rotor structure of the target multi-rotor UAV includes:

[0012] Performing aerodynamic characteristic analysis on the target multi-rotor UAV to determine the rotor type and rotor layout of the target multi-rotor UAV;

[0013] The rotor structure of the target multi-rotor UAV is designed according to the rotor type and rotor layout of the target multi-rotor UAV.

[0014] According to a method for predicting downwash wind field of a UAV based on deep learning provided by the present invention, the flow field model of the target multi-rotor UAV is established according to the rotor structure using basic control equations and turbulence models, including:

[0015] Using RANS equations as basic control equations for calculating the unsteady flow field of the target multi-rotor UAV, the RANS equations including source terms caused by the rotor rotation of the target multi-rotor UAV;

[0016] The SSTk-ω turbulence model is used to simulate the viscous effect of turbulence of the target multi-rotor UAV;

[0017] The flow field model of the target multi-rotor UAV is established according to the rotor structure using basic control equations and turbulence models.

[0018] According to a UAV downwash wind field prediction method based on deep learning provided by the present invention, the formula of the RANS equation is:

[0019]

[0020]

[0021]

[0022] Where W is the conserved variable, F(W) and G(W) are the inviscid flux and viscous flux respectively, S is the control unit surface area, Q is the source term caused by the rotation of the rotor, V is the control unit volume, ρ is the fluid density, u, v and w are the three components of the fluid velocity, E is the unit fluid internal energy, p is the fluid pressure, H is the total enthalpy of the fluid, q n is the component of the fluid velocity along the normal direction of the mesh surface, q bis the component of the mesh movement velocity along the normal direction of the mesh surface, n x 、n y and n z To control the three components of the body normal vector, τ xx , τ yy , τ zz , τ xy , τ xz and τ yz are the components of the viscous force τ of the viscous flux G(W), φ x ,φ y and φ z is the viscosity term, and Ω is the angular velocity vector of the rotor.

[0023] According to a deep learning-based UAV downwash wind field prediction method provided by the present invention, the spatiotemporal prediction network model includes an encoder, a translator, and a decoder;

[0024] The encoder comprises a plurality of two-dimensional convolution blocks, wherein the two-dimensional convolution blocks are used to extract spatial features of the historical flow field distribution image sequence;

[0025] The translator includes a plurality of time attention units, and the time attention units are used to learn the flow field features at different times in the historical flow field distribution image sequence, and generate a spatiotemporal feature matrix according to the flow field features at different times;

[0026] The decoder includes a transposed convolution module and a ConvLSTM module. The transposed convolution module is used to restore the size of each flow field distribution image in the historical flow field distribution image sequence. The ConvLSTM module is used to fuse the spatial features and the spatiotemporal feature matrix, and then decode the fused features to obtain the future flow field distribution image sequence of the target multi-rotor UAV.

[0027] According to a UAV downwash wind field prediction method based on deep learning provided by the present invention, each of the temporal attention units includes a spatial attention module and a channel attention module;

[0028] The spatial attention module is used to capture the characteristic expression of the key area in each flow field distribution image;

[0029] The channel attention module is used to assign weights to different features.

[0030] According to a UAV downwash wind field prediction method based on deep learning provided by the present invention, the formula of the encoder is:

[0031] S j =σ(GN(Conv 3×3 (S j-1 )))

[0032] Among them, S j-1 is the input of the encoder, S j is the output of the encoder, S0∈R (B·T)×C×H×W is the input historical flow field distribution image sequence, B represents the batch size, T is the time dimension of each flow field distribution image, C is the channel dimension of each flow field distribution image, H is the height of each flow field distribution image, W is the width of each flow field distribution image, GN is group normalization, Conv 3×3 is a convolutional layer with a kernel size of 3, and σ is an activation function; or,

[0033] The formula of the translator is:

[0034] S j =TAU(S j-1 )

[0035] Among them, TAU is the temporal attention unit;

[0036] The formula of the temporal attention unit is:

[0037] SA=Conv 1×1 (DW-DConv(DWConv(S j-1 )))

[0038] DA=FC(AvgPool(S j-1 ))

[0039]

[0040] Among them, Conv 1×1 is a convolutional layer with a convolution kernel size of 1, DW-D Conv is an expanded depth convolution, DW Conv is a convolutional layer with a convolution kernel size of 3, FC is a fully connected layer, AvgPool is an adaptive pooling layer, S j-1 is the input of the translator, S j is the output of the translator, SA is the output of the spatial attention module, and DA is the output of the channel attention module; or,

[0041] The formula for the decoder is:

[0042] S j =UpSampling(S j-1 )

[0043] S j+1 =ConvLSTM(S j )

[0044] Among them, UpSampling is the upsampling module, S j-1is the input of the upsampling module, S j is the output of the upsampling module and the input of ConvLSTM, S j+1 is the output of ConvLSTM.

[0045] The present invention also provides a UAV downwash wind field prediction device based on deep learning, comprising:

[0046] A construction module is used to analyze and design the rotor structure of the target multi-rotor UAV, and establish a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models;

[0047] An acquisition module, used for calculating a historical flow field distribution image sequence of each of the multiple sections of the flow field model by using a flow field numerical simulation method;

[0048] A prediction module, used to extract the temporal features and spatial features of the historical flow field distribution image sequences corresponding to the multiple slices by using a spatiotemporal prediction network model, and generate a future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features;

[0049] The spatiotemporal prediction network model is trained by using a historical flow field distribution image sequence corresponding to multiple slices in the flow field model of a multi-rotor UAV sample as samples and a real future flow field distribution image sequence corresponding to multiple slices in the flow field model of the multi-rotor UAV sample as labels.

[0050] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for predicting downwash wind field of a UAV based on deep learning as described above is implemented.

[0051] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for predicting the downwash wind field of a UAV based on deep learning as described in any one of the above is implemented.

[0052] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned deep learning-based UAV downwash wind field prediction methods.

[0053] The deep learning-based UAV downwash wind field prediction method and device provided by the present invention comprehensively capture the characteristic information of the downwash wind field, including time characteristics and spatial characteristics, by utilizing the spatiotemporal prediction network model, and improve the accuracy of the downwash wind field prediction by performing prediction based on the time characteristics and spatial characteristics; the spatiotemporal prediction network model is used to provide a simpler future continuous sequence prediction method, thereby realizing the rapid prediction of the downwash wind field of a multi-rotor UAV; the spatiotemporal prediction network model can fully learn and utilize the characteristics of known flow field sequences, and provide more accurate spatiotemporal characteristics, thereby enhancing the generalization of the UAV downwash wind field prediction under different flight parameters, and providing more reliable multi-rotor UAV downwash wind field prediction results. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0055] Figure 1 This is one of the flow charts of the UAV downwash wind field prediction method based on deep learning provided by the present invention;

[0056] Figure 2 This is the second flow chart of the UAV downwash wind field prediction method based on deep learning provided by the present invention;

[0057] Figure 3 It is a structural schematic diagram of the spatiotemporal prediction network in the UAV downwash wind field prediction method based on deep learning provided by the present invention;

[0058] Figure 4 It is a structural schematic diagram of the ConvLSTM module in the UAV downwash wind field prediction method based on deep learning provided by the present invention;

[0059] Figure 5 It is a structural schematic diagram of a UAV downwash wind field prediction device based on deep learning provided by the present invention;

[0060] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0062] Combine the following Figure 1 A method for predicting downwash wind field of a UAV based on deep learning of the present invention is described, comprising:

[0063] Step 101, analyzing and designing the rotor structure of the target multi-rotor UAV, and establishing a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models;

[0064] The target multi-rotor UAV is a multi-rotor UAV that needs to predict the downwash wind field. The rotor structure and mechanical characteristics of the multi-rotor UAV are analyzed, the corresponding rotor layout is designed, and then the flow field model of the multi-rotor UAV is established based on the basic control equation and turbulence model.

[0065] Step 102, using a flow field numerical simulation method to calculate a historical flow field distribution image sequence of each of a plurality of sections of the flow field model;

[0066] The historical flow field distribution image sequences of the multi-rotor flow field in different sections are calculated by flow field numerical simulation software, such as the sequence from t-T+1 to time t.

[0067] The CFD (Computational Fluid Dynamics) numerical simulation method can be used to obtain the flow field distribution image of the target multi-rotor UAV from time t-T+1 to time t.

[0068] In order to better represent the flow field distribution, multiple slices in the computational domain are used to derive the flow field distribution image. Each set of slices is the sample data of the downwash airflow velocity field, and each set of slices extracts multiple continuous sequences from the downwash airflow field.

[0069] Since the flow field distribution images generated by the flow field numerical simulation software Fluent have some white background redundant information, in order to improve the information density and reduce the interference of redundant information on the prediction model, the data is preprocessed and the image is enhanced. By trimming, only the downwash wind field area with high information density is left. The processed image is used as the data set of the deep learning model.

[0070] Step 103, using a spatiotemporal prediction network model to extract the temporal features and spatial features of the historical flow field distribution image sequences corresponding to the multiple slices, and generating a future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features;

[0071] The spatiotemporal prediction network model is trained by using a historical flow field distribution image sequence corresponding to multiple slices in the flow field model of a multi-rotor UAV sample as samples and a real future flow field distribution image sequence corresponding to multiple slices in the flow field model of the multi-rotor UAV sample as labels.

[0072] Design a spatiotemporal prediction network model based on a hybrid network structure. The spatiotemporal prediction network model can extract temporal features such as trend lines, periodicity, randomness, and spatial features such as color features, shape features, and spatial relationship features. By comprehensively utilizing these features and performing feature fusion, more accurate spatiotemporal features of the flow field can be obtained. Predict the future flow field distribution image sequence based on the spatiotemporal features of the flow field, that is, the flow field distribution image from time t+1 to time t+T+1, to improve the accuracy of downwash wind field prediction. The complete flowchart is as follows: Figure 2 shown.

[0073] Before using the spatiotemporal prediction network model for prediction, the spatiotemporal prediction network model is trained using the historical flow field distribution image sequence of the collected multi-rotor UAV samples, and the UAV downwash wind field test data is input into the spatiotemporal prediction network model for network testing. Finally, the network after the test is evaluated and the results are analyzed. This method can effectively realize the effective prediction of the downwash wind field of multi-rotor UAVs.

[0074] The performance of the downwash wind farm spatiotemporal prediction network model can be evaluated by indicators such as SSIM (Structural Similarity), MAE (Mean Absolute Error) and MSE (Mean Squared Error). If the deviation between the predicted value and the true value is too large, continue to train the spatiotemporal prediction network model until the deviation value is at a lower level.

[0075] This embodiment uses a spatiotemporal prediction network model to comprehensively capture the characteristic information of the downwash wind field, including temporal characteristics and spatial characteristics, and improves the accuracy of the downwash wind field prediction based on the temporal characteristics and spatial characteristics; uses the spatiotemporal prediction network model to provide a simpler future continuous sequence prediction method to achieve rapid prediction of the downwash wind field of a multi-rotor UAV; the spatiotemporal prediction network model can fully learn and utilize the characteristics of known flow field sequences to provide more accurate spatiotemporal characteristics, thereby enhancing the generalization of the UAV downwash wind field prediction under different flight parameters and providing more reliable multi-rotor UAV downwash wind field prediction results.

[0076] Based on the above embodiment, the analysis and design of the rotor structure of the target multi-rotor drone described in this embodiment includes:

[0077] Performing aerodynamic characteristic analysis on the target multi-rotor UAV to determine the rotor type and rotor layout of the target multi-rotor UAV;

[0078] The rotor structure of the target multi-rotor UAV is designed according to the rotor type and rotor layout of the target multi-rotor UAV.

[0079] When designing the rotor structure of the target multi-rotor UAV, factors such as material, weight and strength can be considered, and further optimization and adjustment can be made to improve performance and efficiency.

[0080] On the basis of the above embodiment, the flow field model of the target multi-rotor UAV is established according to the rotor structure using the basic control equation and the turbulence model in this embodiment, including:

[0081] Using RANS equations as basic control equations for calculating the unsteady flow field of the target multi-rotor UAV, the RANS equations including source terms caused by the rotor rotation of the target multi-rotor UAV;

[0082] The SST k-ω turbulence model is used to simulate the viscous effect of turbulence of the target multi-rotor UAV;

[0083] The flow field model of the target multi-rotor UAV is established according to the rotor structure using basic control equations and turbulence models.

[0084] The RANS equation is used as the basic control equation for calculating the unsteady flow field of the target multi-rotor UAV. The source term Q caused by the rotation is added to the RANS equation to better simulate the high-speed rotation process of the UAV during operation. The RANS equation is solved using commercial computational fluid dynamics software such as ANSYS Fluent.

[0085] The SST k-ω turbulence model is used to simulate the viscous effect of turbulence. This turbulence model combines the advantages of the k-ε and k-ω turbulence models in calculations inside and outside the boundary layer. By considering the orthogonal divergence terms, the characteristics of flow field separation can be accurately predicted.

[0086] Based on the above embodiment, the formula of the RANS equation in this embodiment is:

[0087]

[0088]

[0089]

[0090] Where W is the conserved variable, F(W) and G(W) are the inviscid flux and viscous flux respectively, S is the control unit surface area, Q is the source term caused by the rotation of the rotor, V is the control unit volume, ρ is the fluid density, u, v and w are the three components of the fluid velocity, E is the unit fluid internal energy, p is the fluid pressure, H is the total enthalpy of the fluid, q n is the component of the fluid velocity along the normal direction of the mesh surface, q b is the component of the mesh movement velocity along the normal direction of the mesh surface, n x 、n y and n z To control the three components of the body normal vector, τ xx , τ yy , τ zz , τ xy , τ xz and τ yz are the components of the viscous force τ of the viscous flux G(W), φ x ,φ y and φ z is the viscosity term, and Ω is the angular velocity vector of the rotor.

[0091] Based on the above embodiments, Figure 3 As shown, the spatiotemporal prediction network model in this embodiment includes an encoder, a translator (Translator) and a decoder;

[0092] The encoder is formed by stacking a plurality of two-dimensional convolution blocks, and the two-dimensional convolution blocks are used to extract the spatial features of the historical flow field distribution image sequence;

[0093] The translator includes a plurality of temporal attention units (TAUs), which are used to learn flow field features at different moments in the historical flow field distribution image sequence from spatial features, and generate a spatiotemporal feature matrix according to the flow field features at different moments;

[0094] The decoder includes a transposed convolution module and a ConvLSTM (Convolutional Long Short Term Memory) module. The transposed convolution module is used to restore the size of each flow field distribution image in the historical flow field distribution image sequence. The ConvLSTM module is used to fuse the spatial features and the spatiotemporal feature matrix, and then decode the fused features to obtain the future flow field distribution image sequence of the target multi-rotor UAV.

[0095] The flow field is usually a complex nonlinear system, and its distribution has a high degree of spatiotemporal correlation. This spatiotemporal correlation can be used to obtain more accurate flow field prediction results through modeling of the spatiotemporal prediction network model.

[0096] Based on the above embodiments, Figure 3 As shown, in this embodiment, each of the temporal attention units includes a spatial attention module (VAN) and a channel attention module (SEnet);

[0097] The spatial attention module is used to capture the characteristic expression of the key area in each flow field distribution image;

[0098] The channel attention module is used to assign weights to different features.

[0099] Based on the above embodiment, the formula of the encoder in this embodiment is:

[0100] S j =σ(GN(Conv 3×3 (S j-1 )))

[0101] Among them, S j-1 is the input of the encoder, S j is the output of the encoder, S0∈R (B·T)×C×H×W is the input historical flow field distribution image sequence, B represents the batch size, T is the time dimension of each flow field distribution image, C is the channel dimension of each flow field distribution image, H is the height of each flow field distribution image, W is the width of each flow field distribution image, GN is group normalization, Conv 3×3 is a convolutional layer with a kernel size of 3, and σ is an activation function; or,

[0102] The encoder is used to extract the spatial features of the image, including multiple 2D convolutions, group normalization (GN) and activation function Leaky ReLU. The convolution layer is used to extract the spatial features of the flow field, GN is used to accelerate convergence, and the activation function is used to enhance nonlinearity.

[0103] Downsampling can be performed every two convolutional layers to halve the height and width of the feature map. Downsampling can effectively reduce the dimension and size of the feature map, thereby greatly reducing the computational cost while providing more advanced semantic information.

[0104] The formula of the translator is:

[0105] S j =TAU(S j-1 )

[0106] Among them, TAU is the temporal attention unit;

[0107] The formula of the temporal attention unit is:

[0108] SA=Conv 1×1 (DW-DConv(DWConv(S j-1 )))

[0109] DA=FC(AvgPool(S j-1 ))

[0110]

[0111] Among them, Conv 1×1 is a convolutional layer with a convolution kernel size of 1, DW-D Conv is an expanded depth convolution, DW Conv is a convolutional layer with a convolution kernel size of 3, FC is a fully connected layer, AvgPool is an adaptive pooling layer, S j-1 is the input of the translator, S j is the output of the translator, SA is the output of the spatial attention module, and DA is the output of the channel attention module; or,

[0112] The translator is used to learn the changes of space and time over time. It can capture the spatiotemporal motion state of the flow field by stacking multiple TAU modules to form a translator. The attention modules in the TAU module are mainly divided into spatial attention modules and channel attention modules.

[0113] The attention mechanism corresponding to the spatial attention module includes deep convolution (DW Conv), dilated deep convolution (DW-D Conv) and convolution layer with a convolution kernel of 1×1. Dilated convolution is to inject holes on the basis of standard convolution to increase the size of the receptive field. By obtaining a larger receptive field through convolutions of multiple scales, the long-range relationship within the frame is captured, allowing the translator to capture the spatial changes within the frame more accurately and effectively.

[0114] The attention mechanism corresponding to the channel attention module includes adaptive pooling and fully connected layers, which learn the attention weights of the temporal channels through squeezing and excitation (SENet), thereby learning the temporal evolution of high-level semantic features on the time axis.

[0115] The formula for the decoder is:

[0116] S j =UpSampling(S j-1 )

[0117] S j+1 =ConvLSTM(S j )

[0118] Among them, UpSampling is the upsampling module, S j-1 is the input of the upsampling module, S jis the output of the upsampling module and the input of ConvLSTM, S j+1 is the output of ConvLSTM.

[0119] The decoder is used to integrate spatiotemporal information. Adding recursive connections to the spatiotemporal prediction network model can usually improve the prediction performance. The decoder includes ConvLSTM blocks and upsampling blocks. In order to generate future spatiotemporal sequence images, this module merges the output features of the encoder and translator, and adds the two parts of features through jump connections to retain spatiotemporal related features and overcome information loss as much as possible. The decoder decodes the merged spatiotemporal features through the last ConvLSTM block to generate a sequence of future flow field distribution images at multiple moments.

[0120] The structure of the ConvLSTM module is as follows Figure 4 As shown in the figure, ConvLSTM is modified from LSTM (Long Short Term Memory) to adapt to image data. It has the same strong long-term memory retention ability as LSTM, thus capturing the spatiotemporal patterns of large-scale sequence data sets.

[0121] At time t, all inputs X t , Temporary unit status Unit Status C t , output hidden layer state H t and i t 、f t , o t All are three-dimensional tensors. The structure of ConvLSTM can be expressed as:

[0122] i t =σ(W xi *X t +W hi *H t-1 +b i )

[0123] f t =σ(W xf *X t +W hf *H t-1 +b f )

[0124]

[0125]

[0126] o t =σ(W xo *X t +W ho *Ht-1 +b o )

[0127] H t =o t tanh(C t )

[0128] Among them, * represents the convolution operation, ° represents the Hadamard product, σ(·) represents the sigmoid function, and tanh(·) represents the tanh activation function.

[0129] The UAV downwash wind field prediction device based on deep learning provided by the present invention is described below. The UAV downwash wind field prediction device based on deep learning described below and the UAV downwash wind field prediction method based on deep learning described above can refer to each other.

[0130] like Figure 5 As shown, the device includes a construction module 501, a collection module 502 and a prediction module 503, wherein:

[0131] The construction module 501 is used to analyze and design the rotor structure of the target multi-rotor UAV, and establish a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models;

[0132] The acquisition module 502 is used to calculate the historical flow field distribution image sequence of each of the multiple sections of the flow field model by using the flow field numerical simulation method;

[0133] The prediction module 503 is used to extract the time characteristics and spatial characteristics of the historical flow field distribution image sequences corresponding to the multiple slices by using the spatiotemporal prediction network model, and generate the future flow field distribution image sequence of the target multi-rotor UAV based on the time characteristics and spatial characteristics;

[0134] The spatiotemporal prediction network model is trained by using a historical flow field distribution image sequence corresponding to multiple slices in the flow field model of a multi-rotor UAV sample as samples and a real future flow field distribution image sequence corresponding to multiple slices in the flow field model of the multi-rotor UAV sample as labels.

[0135] This embodiment uses a spatiotemporal prediction network model to comprehensively capture the characteristic information of the downwash wind field, including temporal characteristics and spatial characteristics, and improves the accuracy of the downwash wind field prediction based on the temporal characteristics and spatial characteristics; uses the spatiotemporal prediction network model to provide a simpler future continuous sequence prediction method to achieve rapid prediction of the downwash wind field of a multi-rotor UAV; the spatiotemporal prediction network model can fully learn and utilize the characteristics of known flow field sequences to provide more accurate spatiotemporal characteristics, thereby enhancing the generalization of the UAV downwash wind field prediction under different flight parameters and providing more reliable multi-rotor UAV downwash wind field prediction results.

[0136] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor (processor) 610, a communication interface (Communications Interface) 620, a memory (memory) 630 and a communication bus 640, wherein the processor 610, the communication interface 620, and the memory 630 communicate with each other through the communication bus 640. Processor 610 can call logic instructions in memory 630 to execute a deep learning-based UAV downwash wind field prediction method, which includes: analyzing and designing the rotor structure of the target multi-rotor UAV, and using basic control equations and turbulence models to establish a flow field model of the target multi-rotor UAV according to the rotor structure; using a flow field numerical simulation method to calculate the historical flow field distribution image sequence of each of the multiple slices of the flow field model; using a spatiotemporal prediction network model to extract the temporal features and spatial features of the historical flow field distribution image sequence corresponding to the multiple slices, and generating a future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features; the spatiotemporal prediction network model is trained by using the historical flow field distribution image sequence corresponding to the multiple slices in the flow field model of the multi-rotor UAV sample as samples and its real future flow field distribution image sequence as labels.

[0137] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0138] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the deep learning-based UAV downwash wind field prediction method provided by the above-mentioned methods, the method including: analyzing and designing the rotor structure of the target multi-rotor UAV, and establishing the flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models; using a flow field numerical simulation method to calculate the historical flow field distribution image sequence of each of the multiple sections of the flow field model; using a spatiotemporal prediction network model to extract the temporal features and spatial features of the historical flow field distribution image sequence corresponding to the multiple sections, and generating the future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features; the spatiotemporal prediction network model is obtained by training with the historical flow field distribution image sequence corresponding to the multiple sections in the flow field model of the multi-rotor UAV sample as samples and its real future flow field distribution image sequence as labels.

[0139] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the deep learning-based UAV downwash wind field prediction method provided by the above-mentioned methods, the method comprising: analyzing and designing the rotor structure of the target multi-rotor UAV, and establishing the flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models; calculating the historical flow field distribution image sequence of each of the multiple sections of the flow field model using a flow field numerical simulation method; extracting the temporal and spatial features of the historical flow field distribution image sequence corresponding to the multiple sections using a spatiotemporal prediction network model, and generating the future flow field distribution image sequence of the target multi-rotor UAV based on the temporal and spatial features; the spatiotemporal prediction network model is trained by using the historical flow field distribution image sequence corresponding to the multiple sections in the flow field model of the multi-rotor UAV sample as samples and using its real future flow field distribution image sequence as labels.

[0140] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting downwash wind field of UAV based on deep learning, characterized in that: include: Analyze and design the rotor structure of the target multi-rotor UAV, and establish a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models; Calculating a historical flow field distribution image sequence of each of the multiple sections of the flow field model using a flow field numerical simulation method; Extracting the temporal features and spatial features of the historical flow field distribution image sequences corresponding to the multiple slices using a spatiotemporal prediction network model, and generating the future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features; The spatiotemporal prediction network model is obtained by training with a historical flow field distribution image sequence corresponding to multiple cut surfaces in the flow field model of the multi-rotor drone sample as samples and a real future flow field distribution image sequence corresponding to multiple cut surfaces in the flow field model of the multi-rotor drone sample as labels; The spatiotemporal prediction network model includes an encoder, a translator and a decoder; The encoder comprises a plurality of two-dimensional convolution blocks, wherein the two-dimensional convolution blocks are used to extract spatial features of the historical flow field distribution image sequence; The translator includes a plurality of time attention units, and the time attention units are used to learn the flow field features at different times in the historical flow field distribution image sequence, and generate a spatiotemporal feature matrix according to the flow field features at different times; The decoder includes a transposed convolution module and a ConvLSTM module. The transposed convolution module is used to restore the size of each flow field distribution image in the historical flow field distribution image sequence. The ConvLSTM module is used to fuse the spatial features and the spatiotemporal feature matrix, and then decode the fused features to obtain the future flow field distribution image sequence of the target multi-rotor UAV.

2. The method for predicting downwash wind field of unmanned aerial vehicle based on deep learning according to claim 1 is characterized in that: The analysis and design of the rotor structure of the target multi-rotor UAV includes: Performing aerodynamic characteristic analysis on the target multi-rotor UAV to determine the rotor type and rotor layout of the target multi-rotor UAV; The rotor structure of the target multi-rotor UAV is designed according to the rotor type and rotor layout of the target multi-rotor UAV.

3. The method for predicting downwash wind field of unmanned aerial vehicle based on deep learning according to claim 1 is characterized in that: The method of establishing a flow field model of the target multi-rotor UAV according to the rotor structure by using the basic control equation and the turbulence model includes: Using RANS equations as basic control equations for calculating the unsteady flow field of the target multi-rotor UAV, the RANS equations including source terms caused by the rotor rotation of the target multi-rotor UAV; The SST k-ω turbulence model is used to simulate the viscous effect of turbulence of the target multi-rotor UAV; The flow field model of the target multi-rotor UAV is established according to the rotor structure using basic control equations and turbulence models.

4. The method for predicting downwash wind field of unmanned aerial vehicle based on deep learning according to claim 3 is characterized in that: The formula of the RANS equation is: Where W is the conserved variable, F(W) and G(W) are the inviscid flux and viscous flux respectively, S is the control unit surface area, Q is the source term caused by the rotation of the rotor, V is the control unit volume, ρ is the fluid density, u, v and w are the three components of the fluid velocity, E is the unit fluid internal energy, p is the fluid pressure, H is the total enthalpy of the fluid, q n is the component of the fluid velocity along the normal direction of the mesh surface, q b is the component of the mesh movement velocity along the normal direction of the mesh surface, n x 、n y and n z To control the three components of the body normal vector, τ xx , τ yy , τ zz , τ xy , τ xz and τ yz are the components of the viscous force τ of the viscous flux G(W), φ x ,φ y and φ z is the viscosity term, and Ω is the angular velocity vector of the rotor.

5. The method for predicting downwash wind field of unmanned aerial vehicle based on deep learning according to claim 1 is characterized in that: Each of the temporal attention units includes a spatial attention module and a channel attention module; The spatial attention module is used to capture the characteristic expression of the key area in each flow field distribution image; The channel attention module is used to assign weights to different features.

6. The method for predicting downwash wind field of unmanned aerial vehicle based on deep learning according to claim 5 is characterized in that: The encoder formula is: S j =σ(GN(Conv 3×3 (S j-1 ))) Among them, S j-1 is the input of the encoder, S j is the output of the encoder, S0∈R (B·T)×C×H×W is the input historical flow field distribution image sequence, B represents the batch size, T is the time dimension of each flow field distribution image, C is the channel dimension of each flow field distribution image, H is the height of each flow field distribution image, W is the width of each flow field distribution image, GN is group normalization, Conv 3×3 is a convolutional layer with a kernel size of 3, and σ is an activation function; or, The formula of the translator is: S j =TAU(S j-1 ) Among them, TAU is the temporal attention unit; The formula of the temporal attention unit is: SA=Conv 1×1 (DW-D Conv(DW Conv(S j-1 ))) DA=FC(AvgPool(S j-1 )) Among them, Conv 1×1 is a convolutional layer with a convolution kernel size of 1, DW-D Conv is an expanded depth convolution, DW Conv is a convolutional layer with a convolution kernel size of 3, FC is a fully connected layer, AvgPool is an adaptive pooling layer, S j-1 is the input of the translator, S j is the output of the translator, SA is the output of the spatial attention module, and DA is the output of the channel attention module; or, The formula for the decoder is: S j =UpSampling(S j-1 ) S j+1 =ConvLSTM(S j ) Among them, UpSampling is the upsampling module, S j-1 is the input of the upsampling module, S j is the output of the upsampling module and the input of ConvLSTM, S j+1 is the output of ConvLSTM.

7. A UAV downwash wind field prediction device based on deep learning, characterized in that: include: A construction module is used to analyze and design the rotor structure of the target multi-rotor UAV, and establish a flow field model of the target multi-rotor UAV according to the rotor structure using basic control equations and turbulence models; An acquisition module, used for calculating a historical flow field distribution image sequence of each of the multiple sections of the flow field model by using a flow field numerical simulation method; A prediction module, used to extract the temporal features and spatial features of the historical flow field distribution image sequences corresponding to the multiple slices by using a spatiotemporal prediction network model, and generate a future flow field distribution image sequence of the target multi-rotor UAV based on the temporal features and spatial features; The spatiotemporal prediction network model is obtained by training with a historical flow field distribution image sequence corresponding to multiple cut surfaces in the flow field model of the multi-rotor drone sample as samples and a real future flow field distribution image sequence corresponding to multiple cut surfaces in the flow field model of the multi-rotor drone sample as labels; The spatiotemporal prediction network model includes an encoder, a translator and a decoder; The encoder comprises a plurality of two-dimensional convolution blocks, wherein the two-dimensional convolution blocks are used to extract spatial features of the historical flow field distribution image sequence; The translator includes a plurality of time attention units, and the time attention units are used to learn the flow field features at different times in the historical flow field distribution image sequence, and generate a spatiotemporal feature matrix according to the flow field features at different times; The decoder includes a transposed convolution module and a ConvLSTM module. The transposed convolution module is used to restore the size of each flow field distribution image in the historical flow field distribution image sequence. The ConvLSTM module is used to fuse the spatial features and the spatiotemporal feature matrix, and then decode the fused features to obtain the future flow field distribution image sequence of the target multi-rotor UAV.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the UAV downwash wind field prediction method based on deep learning is implemented as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for predicting downwash wind field of a UAV based on deep learning as described in any one of claims 1 to 6 is implemented.