Wind shear risk prediction method and system combining gated loop and whale algorithm

By combining the gated cycle unit model and the improved whale algorithm to optimize the timing characteristics and geometeorological characteristics of wind shear risk data, the problem of inefficiency of traditional parameter adjustment methods is solved, and efficient and accurate prediction of wind shear risk prediction is achieved.

CN119623710BActive Publication Date: 2025-08-15CHINA ACAD OF CIVIL AVIATION SCI & TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411676228.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-08-15
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

In the wind shear risk prediction, the traditional manual parameter adjustment method is inefficient and difficult to find the optimal solution. The traditional optimization algorithm is prone to falling into local optimality, resulting in insufficient model prediction accuracy and generalization capabilities.

Method used

Combining the gating cyclic unit model and the improved whale optimization algorithm, we use the improved whale algorithm to optimize the hyperparameter combination of the gating cyclic unit model by capturing the timing characteristics and geometeorological data characteristics of the wind shear risk data, and using the improved whale algorithm to optimize the model parameters.

Benefits of technology

The model performance of wind shear risk prediction is significantly improved, the convergence speed, prediction accuracy and ability to adapt to complex data is improved, and the generalization ability and robustness of the model are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119623710B_ABST
    Figure CN119623710B_ABST
Patent Text Reader

Abstract

The present invention discloses a wind shear risk prediction method and system combining a gated loop and a whale algorithm. The method comprises the following steps: S1. Collecting historical wind shear data for several years in chronological order for all takeoff and landing transport aircraft in a study area; dividing the historical wind shear data into m time slices according to natural years, sorting the historical wind shear data into time slice risk values and time slice data for each time slice, and storing them in an associated encoding manner; S2. Using the time slice risk values as prediction values and the time slice data as data content, a gated loop unit model performs predictive learning and iterative training; S3. Using the spiral strategy of an improved whale algorithm, the gated loop unit model performs model hyperparameter optimization processing; S4. Collecting wind shear data for the current time slice, inputting it into the gated loop unit model, and outputting a risk prediction value. The present invention utilizes the whale optimization algorithm to optimize the hyperparameter combination of the gated loop unit model, demonstrating significant performance advantages in wind shear risk prediction tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wind shear risk prediction for take-off and landing transport aircraft, and in particular to a wind shear risk prediction method and system combining a gated loop with a whale algorithm. Background Art

[0002] Accurately predicting wind shear risk during civil aviation flights is crucial to ensuring flight safety. Wind shear refers to a phenomenon in which wind speed or direction changes dramatically over a short distance, posing a significant risk, particularly during aircraft takeoff and landing. Therefore, predicting wind shear risk requires addressing complex nonlinear dynamic characteristics and unstable atmospheric conditions (e.g., Reference 1: Mirjalili, S., & Lewis, A. (2016). The Whale Optimization Algorithm. Advances in Engineering Software, 95, 51-67; Reference 2: Vaswani, A., Shazeer, N., Parmar, N., et al. (2017). Attention is All You Need. Advances in Neural Information Processing Systems, 30, 5998-6008). In recent years, deep learning technology has been widely used in the field of time series prediction, providing new solutions for wind shear risk prediction. Among them, recursive neural networks (RNNs) and their variants (such as long short-term memory networks (LSTMs)) have been widely used in fields such as wind shear and meteorological data prediction due to their excellent performance in capturing nonlinear and time series features. However, the above network models rely heavily on the setting of hyperparameters, such as learning rate, number of hidden layer neurons, and batch size. Traditional manual parameter adjustment methods are inefficient and difficult to find the optimal solution (see reference 3: Pahwa, M., & Tiwari, S. (2021). A Study on Hyperparameter Optimization Techniques for Neural Networks. International Journal of Information Technology, 13 (1), 223-228). In model learning and training, optimization algorithms can tune hyperparameters, such as reference 4: [8] Liu, S., et al. (2019). A Survey on Deep Learning with Attention Mechanism. IEEE Access, 7, 42023-42045, studied various hyperparameter optimization methods, emphasizing the importance of intelligent optimization algorithms in deep learning. Traditional optimization methods, such as the particle swarm optimization algorithm (PSO), are prone to falling into local optimal solutions when improving model prediction accuracy. When predicting wind shear risk for takeoff and landing transport aircraft, it is urgent to develop a shear risk prediction method and model, along with an adaptive model hyperparameter optimization method and strategy, to effectively predict wind shear risk. Summary of the Invention

[0003] The purpose of the present invention is to provide a wind shear risk prediction method and system that combines gated circulation and whale algorithm. The gated cyclic unit model is used to capture the temporal characteristics of wind shear risk data and the characteristics of various weather and geographical data as factors. At the same time, the whale optimization algorithm is used to optimize the hyperparameter combination of the gated cyclic unit model, thereby effectively improving the generalization ability of the model.

[0004] The purpose of the present invention is achieved through the following technical solutions:

[0005] A wind shear risk prediction method combining gated loop and whale algorithm, the method comprising:

[0006] S1. Collect historical wind shear data for several years in chronological order for all take-off and landing transport aircraft in the study area. The historical wind shear data includes wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data, geographical data, and transport aviation time in the study area. Divide the historical wind shear data into m time slices according to the natural year, and sort out the time slice risk value and time slice data according to each time slice and store them in an associated code. The time slice data includes the meteorological data and geographic data corresponding to the time slice;

[0007] S2. Build a gated recurrent unit model and input the time slice risk value and time slice data stored in the association code. The gated recurrent unit model uses the time slice risk value as the prediction value and the time slice data as the data content to perform predictive learning iterative training.

[0008] S3. The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to optimize the model hyperparameters. The spiral strategy expression of the improved whale algorithm is as follows:

[0009]

[0010] Where X(j+1) represents the parameter output at the j+1th iteration, X * (j) represents the optimal solution parameter output at the jth iteration, X(j) represents the parameter output at the jth iteration, l represents a random number between -1 and 1, k represents a constant, and T represents the maximum number of iterations;

[0011] S4. Collect the wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes the wind shear event of the current time slice and the corresponding data of the event of the current time slice. The corresponding data of the event of the current time slice includes the meteorological data of the current time slice, the geographical data of the current time slice, and the transportation aviation time within the study area of the current time slice. The gated cyclic unit model outputs the risk prediction value corresponding to the current time slice.

[0012] In order to better implement the present invention, the time slice is time-series encoded, the time slice risk value and the time slice data are further encoded after the time-series encoding, and the encoded time slice risk value and time slice data are associated and stored.

[0013] Preferably, in step S2, the gated recurrent unit model includes a reset gate and an update gate, and the gated recurrent unit model outputs a risk prediction value expression as follows:

[0014] h t =(1-z t )×h t-1 +z t ×g t

[0015] g t =tanh(W t ×[r t ×h t-1 , x t ]+b t )

[0016] where h t Represents the output risk prediction value, z t Indicates that the time slice t updates the gate output data, h t-1 Represents the hidden state data of time slice t-1, r t Indicates that the time slice t resets the gate output data; g t Represents the memory data of time slice t, and the memory data is the data items and data extracted from the time slice data; x t Indicates the data content of time slice t, b t represents the bias term of time slice t, tanh represents the hyperbolic tangent activation function, W t Represents the weight matrix for time slice t in the model.

[0017] Preferably, the time slice t reset gate output data expression is as follows:

[0018] r t =σ(W r ×[h t-1 , x t ]+b r ), where W r represents the weight matrix of time slice t in the reset gate processing, b r Represents the weight matrix of time slice t in the reset gate processing, [h t-1 , x t ] represents the hidden state data of time slice t-1 corresponding to the data content of time slice t, [h t-1 , x t] Take the hidden state data of time slice t-1; σ represents the sigmoid activation function;

[0019] The expression of the gate output data for time slice t is as follows:

[0020] z t =σ(W z ×[h t-1 , x t ]+b z )

[0021] Where W z represents the weight matrix of time slice t in the update gate processing, b z Represents the weight matrix for time slice t in the update gate processing.

[0022] Preferably, in step S3, during the model hyperparameter optimization process, the gated recurrent unit model further selects some historical wind shear data as samples and uses the MSE loss function for loss constraint. The MSE loss function expression is as follows:

[0023]

[0024] where y i is the actual value, y 预测,i is the predicted value, and N is the number of samples.

[0025] Preferably, in step S3, the spiral strategy of the improved whale algorithm adopts adjusting the control parameter α to gradually shrink the search space and optimize the iteration, and adopts the coefficient A to determine the position update mode of the individual whale, A=2a×ra, a represents the control parameter, and the control parameter is a linearly decreasing variable in the iteration, and its value gradually decreases from 2 to 0, and r represents a random number between [0, 1]. The specific method is as follows:

[0026] If |A|<1, execute to make the current individual closer to the optimal solution output;

[0027] If |A| ≥ 1, execute the random selection of another whale individual from the population and update the current solution.

[0028] Preferably, the spiral strategy of the improved whale algorithm uses the current optimal solution as prey, and other solutions gradually approach the target. The position update expression is as follows:

[0029] D=|2*r*X * -X|

[0030] X 更新 =X * -A*D

[0031] X *Indicates the location of the current best solution, X indicates the current location, D indicates the distance between the current solution and the optimal solution, X 更新 Indicates the updated position.

[0032] Preferably, in step S3, when the improved whale algorithm performs model hyperparameter optimization processing on the gated recurrent unit model, the improved whale algorithm also adopts the following dynamic adjustment strategy:

[0033] X(j+1)=X(j)+μ*(X * (j)-X(j))-A*D j

[0034] D j =|2*r*X * (j)-X(j)|

[0035] D j Represents X * (j) is the distance from X(j), and μ represents the hyperparameter sensitivity factor.

[0036] A wind shear risk prediction system combining gated loop and whale algorithm includes a data collection module, a data sorting module, a gated loop unit model and a real-time data collection input module. The data collection module is used to collect historical wind shear data of several years in time sequence for all take-off and landing transport aircraft in a study area. The historical wind shear data includes wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data, geographical data, and transport aviation time in the study area. The data sorting module divides the historical wind shear data into m time slices according to the natural year, sorts the time slice risk value and time slice data according to each time slice, and stores them in an associated code. The time slice data includes meteorological data and geographic data corresponding to the time slice. The gated recurrent unit model inputs the time slice risk value and the time slice data stored in the association code. The gated recurrent unit model uses the time slice risk value as the prediction value and the time slice data as the data content to perform predictive learning iterative training. The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to optimize the model hyperparameters. The spiral strategy expression of the improved whale algorithm is as follows:

[0037]

[0038] Where X(j+1) represents the parameter output at the j+1th iteration, X * (j) represents the optimal solution parameter output at the jth iteration, X(j) represents the parameter output at the jth iteration, l represents a random number between -1 and 1, k represents a constant, and T represents the maximum number of iterations;

[0039] The real-time data collection and input module is used to collect the wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes the wind shear event of the current time slice and the corresponding data of the event of the current time slice. The corresponding data of the event of the current time slice includes the meteorological data of the current time slice, the geographical data of the current time slice, and the transportation aviation time within the study area of the current time slice; the trained gated cyclic unit model processes the wind shear data of the current time slice and outputs the risk prediction value corresponding to the current time slice.

[0040] An electronic device comprises at least one processor, at least one memory and a data bus; wherein: the processor and the memory communicate with each other via the data bus; the memory stores program instructions executed by the processor, and the processor calls the program instructions to execute the steps of the wind shear risk prediction method combining a gated loop and a whale algorithm according to the present invention.

[0041] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0042] (1) The present invention captures the time series of wind shear risk data and the characteristics of various weather and geographical data as factors through the gated recurrent unit model, and uses the whale optimization algorithm to optimize the hyperparameter combination of the gated recurrent unit model, thereby effectively improving the generalization ability of the model; the gated recurrent unit model shows good performance when processing long-term dependent data, and the whale optimization algorithm provides a powerful global search capability, enabling it to adjust the model parameter combination more accurately; the present invention shows significant performance advantages in the wind shear risk prediction task, and its superiority is mainly reflected in the convergence speed, prediction accuracy and the ability to adapt to complex data.

[0043] (2) The present invention also introduces a dynamic adjustment strategy for constraint conditions, which further improves the prediction accuracy and robustness of the model by adaptively adjusting the parameter search space according to real-time feedback during the training process. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a flow chart of the wind shear risk prediction method of the present invention;

[0045] Figure 2 Schematic diagram of the spiral strategy principle for improving the whale algorithm in the embodiment;

[0046] Figure 3 Schematic diagram of the iterative processing principle of the gated recurrent unit model after hyperparameter optimization in the embodiment;

[0047] Figure 4 This is a comparison chart of the convergence curves of the improved whale algorithm and other algorithms in the embodiment;

[0048] Figure 5 The comparison results between the test set and the actual value in the embodiment are shown;

[0049] Figure 6 A comparison of the convergence curves after 1000 iterations when the constraint dynamic adjustment strategy is introduced in the embodiment and when it is not introduced;

[0050] Figure 7 A performance comparison chart of the embodiment with and without the dynamic constraint adjustment strategy in 1000 iterations;

[0051] Figure 8 This is a principle structural block diagram of the wind shear risk prediction system of the present invention. DETAILED DESCRIPTION

[0052] Below in conjunction with embodiment, the present invention is described in further detail:

[0053] Example

[0054] like Figure 1 As shown, a wind shear risk prediction method combining gated loop and whale algorithm includes:

[0055] S1. Collect historical wind shear data for several years in chronological order for all transport aircraft taking off and landing in the study area (the study area can select transport aircraft taking off and landing within a certain country or province, and the transport aircraft are mainly medium and large passenger and cargo aircraft of the transport type). The historical wind shear data include wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data (including wind direction, wind speed, convective weather data, temperature, etc.), geographical data (including topography, surface roughness, interface data, etc., the interface includes water and land, land and mountain, etc.), and transport aviation time in the study area (transport aviation time only intercepts the time when the aircraft track is only within the study area). Divide the natural year into m time slices (set according to the required prediction time slice accuracy, the time slices are generally segmented by day, or by time period within a day and sliced into segments), and organize the historical wind shear data into time slice risk values and time slice data according to each time slice and store them in associated codes; preferably, the time slices are time series coded, and the time slice risk values and time slice data are further coded after the time series coding, and the coded time slice risk values and time slice data are stored in associated code.

[0056] The time slice data includes the meteorological data and geographic data corresponding to the time slice.

[0057] This example selects a study area and takes a monthly time slice as an example to perform historical wind shear data statistics. The historical wind shear data spans from January 2017 to November 2024. The time slice is divided into natural months. The obtained time slice risk value intercepts part of the data as shown in the following table:

[0058]

[0059] The present invention uses the time slice risk value as the risk value of wind shear occurring in the study area within the time slice. Based on this, the time slice risk value of the historical wind shear data is statistically analyzed as the model prediction value. The time slice risk value is used as the prediction value and the time slice data is used as the data content for predictive learning and iterative training. Subsequent meteorological data and geographic data (such as October, November, or December 2024 in the above table) are collected in real time and the corresponding time slice risk value is predicted. The above table takes the monthly value as an example. In specific implementations, time slicing can be performed according to the day, time period within a day, or hourly interval to achieve the purpose of more accurate risk prediction.

[0060] S2. Construct a gated recurrent unit model and input the time slice risk value and time slice data stored in the associated code. The gated recurrent unit model uses the time slice risk value as the prediction value and the time slice data as the data content to perform predictive learning iterative training.

[0061] In some embodiments, the gated recurrent unit model in step S2 includes a reset gate and an update gate, and the gated recurrent unit model outputs a risk prediction value expression as follows:

[0062] h t =(1-z t )×h t-1 +z t ×g t

[0063] g t =tanh(W t ×[r t ×h t-1 , x t ]+b t )

[0064] where h t Represents the output risk prediction value, z t Indicates that the time slice t updates the gate output data, h t-1 represents the hidden state data of time slice t-1, r t Indicates that the time slice t resets the gate output data. g t Represents the memory data of time slice t, and the memory data is the data items and data extracted from the time slice data. t Indicates the data content of time slice t, bt represents the bias term of time slice t, tanh represents the hyperbolic tangent activation function, W t Represents the weight matrix for time slice t in the model.

[0065] The expression of the reset gate output data in time slice t is as follows:

[0066] r t =σ(W r ×[h t-1 , x t ]+b t ), where W r represents the weight matrix of time slice t in the reset gate processing, b r Represents the weight matrix of time slice t in the reset gate processing, [h t-1 , x t ] represents the hidden state data of time slice t-1 corresponding to the data content of time slice t, [h t-1 , x t ] Take the hidden state data of time slice t-1. σ represents the sigmoid activation function.

[0067] The expression of the gate output data for time slice t is as follows:

[0068] z t =σ(W z ×[h t-1 , x t ]+b z )

[0069] Where W z represents the weight matrix of time slice t in the update gate processing, b z Represents the weight matrix for time slice t in the update gate processing.

[0070] S3. The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to perform modular hyperparameter optimization. The spiral strategy expression of the improved whale algorithm is as follows:

[0071]

[0072] Where X(j+1) represents the parameter output at the j+1th iteration, X * (j) represents the optimal solution parameter output at the jth iteration, X(j) represents the parameter output at the jth iteration, l represents a random number between -1 and 1, k represents a constant, and T represents the maximum number of iterations. In this embodiment, The value of k is 5; when the search starts, the value of j is very small and T is large, so Close to 0, The value is close to e 5 ; With gradual iteration, j gradually equals T, Close to e -5 , is also close to 0. This means that the search range starts large and gradually shrinks, which is equivalent to starting with a global, large-scale search and then slowly narrowing it, resulting in good convergence. This embodiment uses a higher rate to converge to the optimal solution range in the early stages of the algorithm, improving global search capabilities. Later, the convergence rate is reduced to enhance local search capabilities. This allows the whale to dynamically adjust the spiral shape of the search based on the number of iterations during the search process, thereby increasing the diversity of search paths and obtaining the global optimal solution.

[0073] The present invention compares the improved whale algorithm (IWOA), grey wolf algorithm (GWO), crested porcupine algorithm (CPO), standard whale algorithm (WOA), particle swarm optimization algorithm (PSO), and the results are as follows: Figure 4 As shown in the figure, the horizontal axis represents the number of iterations, and the vertical axis represents the optimal fitness value (i.e., the function value, the smaller the function value, the better, that is, the lower the curve, the better). After comparative analysis, the improved whale algorithm (IWOA) of the present invention has the best search and convergence performance. The gated recurrent unit model of the present invention adopts the improved whale algorithm (IWOA) to optimize the model hyperparameters.

[0074] In some embodiments, during the model hyperparameter optimization process, the gated recurrent unit model further selects some historical wind shear data as samples and uses the MSE loss function for loss constraint. The MSE loss function expression is as follows:

[0075]

[0076] where y i is the actual value, y 预测,i is the predicted value, and N is the number of samples. The goal of the improved whale algorithm (IWOA) of the present invention is to minimize the MSE loss function through the optimization of hyperparameters, thereby improving the prediction accuracy of the gated recurrent unit model.

[0077] In some embodiments, the spiral strategy of the improved whale algorithm in step S3 adopts the adjustment of the control parameter α to gradually shrink the search space and optimize the iteration, and adopts the coefficient A to determine the position update mode of the individual whale, A=2a×ra, a represents the control parameter, and the control parameter is a linearly decreasing variable in the iteration, and its value gradually decreases from 2 to 0, and r represents a random number between [0, 1]. Figure 2 The specific method is as follows:

[0078] If |A|<1, execute to make the current individual closer to the optimal solution output;

[0079] If |A| ≥ 1, execute the random selection of another whale individual from the population and update the current solution.

[0080] The spiral strategy of the improved whale algorithm uses the current optimal solution as prey, and other solutions gradually approach the target. The position update expression is as follows:

[0081] D=|2*r*X * -X|

[0082] X 更新 =X * -A*D

[0083] X * Indicates the location of the current best solution, X indicates the current location, D indicates the distance between the current solution and the optimal solution, X 更新 The spiral strategy of the improved whale algorithm of the present invention is to update the hyperparameter combination (such as learning rate α, number of hidden layer neurons n) h , batch size B) to generate new model hyperparameter data of the gated recurrent unit model and calculate its loss function; after continuous iteration, the improved whale algorithm of the present invention gradually approaches the global optimal solution, thereby obtaining the optimal hyperparameter combination, and improving the performance of the gated recurrent unit model in wind shear risk prediction. Specifically, the optimization process of the improved whale algorithm of the present invention includes two behavioral strategies: "surrounding the prey" and "spiral position update". In the prey encirclement stage, the improved whale algorithm of the present invention assumes that the current optimal solution is the prey position, and other solutions gradually approach the optimal solution. In the spiral position update stage, when the distance between the individual and the optimal solution is small, the improved whale algorithm of the present invention simulates the spiral hunting behavior of the whale, updates the position through a spiral path, so as to increase the search diversity; the improved whale algorithm of the present invention gradually optimizes the hyperparameter combination of the gated recurrent unit model.

[0084] In some embodiments, when the improved whale algorithm in step S3 performs model hyperparameter optimization on the gated recurrent unit model, the improved whale algorithm also adopts the following dynamic adjustment strategy (the present invention can introduce a dynamic adjustment strategy to take into account the sensitivity of different hyperparameters, so that the update amount of each hyperparameter is adaptively adjusted according to its impact on the gated recurrent unit model, such as Figure 3 shown):

[0085] X(j+1)=X(j)+μ*(X * (j)-X(j))-A*D j

[0086] D j =|2*r*X * (j)-X(j)|

[0087] D j Represents X* (j) is the distance from X(j), μ represents the hyperparameter sensitivity factor (adjusted according to the contribution of each hyperparameter to MSE); by dynamically adjusting the strategy, it can ensure that the update step size of the hyperparameters that have a greater impact on the model is smaller, while the hyperparameters with less impact can have a larger adjustment space, thereby further accelerating convergence and improving the final model performance.

[0088] In a preferred embodiment, a constrained dynamic adjustment strategy is introduced into the optimization process of the wind shear risk prediction model of the present invention (including the gated cyclic unit model of the improved whale algorithm) to further improve the prediction accuracy, convergence speed and stability of the model. This strategy dynamically narrows the search space in each iteration, thereby effectively guiding the whale optimization algorithm (WOA) to search within a more optimal parameter range. This method is particularly suitable for high-dimensional and complex data sets, and helps to reduce randomness and fluctuations in the optimization process. Therefore, the convergence curves of the wind shear risk prediction model with a constrained dynamic adjustment strategy and the wind shear risk prediction model without a constrained dynamic adjustment strategy under 1000 iterations are as follows: Figure 6 As shown in the figure, the model with dynamic adjustment strategy shows a faster convergence speed in the initial stage, the MSE value decreases rapidly, and stabilizes after about 200 iterations, which is significantly earlier than the model without dynamic adjustment. In contrast, although the wind shear risk prediction model without dynamic adjustment also gradually decreases during the iteration process, the convergence speed is slower and fluctuates significantly in the first few hundred iterations; the dynamic adjustment strategy provides stronger convergence guidance in the optimization process, suppresses the disorder of parameter search, and enables the model to approach the global optimal solution faster. The models with and without constrained dynamic adjustment strategy are compared in terms of MSE, MAE and R 2 Comparisons are made on indicators such as Figure 7 As shown in the figure, the model with dynamic adjustment strategy outperforms the standard model (model without constrained dynamic adjustment strategy) in all the above evaluation indicators. Specifically, the dynamic adjustment strategy reduces the MSE to 0.01, the MAE index to 0.08, and the R 2The index is significantly improved to 0.95. These results show that the dynamic adjustment strategy can more effectively mine the nonlinear and time series features in the data, thereby improving the generalization ability and prediction accuracy of the model. The reason for these performance improvements is that the dynamic adjustment strategy enables the optimization process to adaptively adjust the search range by gradually narrowing the parameter search space, avoiding the "free" phenomenon caused by the whale optimization algorithm in the later stage due to the excessive search range. At the same time, the strategy also significantly improves the smoothness of the convergence curve, making the model more stable in the process of approaching the optimal solution; this convergence smoothness not only improves the training efficiency of the model, but also reduces the randomness and uncertainty in the optimization process, ensuring the efficiency and robustness of the model. In summary, the GRU-WOA model (the wind shear risk prediction model of the present invention, that is, the gated recurrent unit model containing the improved whale algorithm) after the introduction of the constrained dynamic adjustment strategy shows excellent performance and stability in the wind shear risk prediction task, demonstrating its application potential in the prediction of high-complexity time series data.

[0089] S4. Collect the wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes the wind shear event of the current time slice and the corresponding data of the event of the current time slice. The corresponding data of the event of the current time slice includes the meteorological data of the current time slice, the geographical data of the current time slice, and the transportation aviation time within the study area of the current time slice. The gated cyclic unit model outputs the risk prediction value corresponding to the current time slice.

[0090] A wind shear risk prediction system combining gated loop and whale algorithm, such as Figure 8 As shown, it includes a data collection module, a data sorting module, a gated cyclic unit model, and a real-time data collection and input module. The data collection module is used to collect historical wind shear data for several years in a time series for all take-off and landing transport aircraft in the study area. The historical wind shear data includes wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data, geographical data, and transport aviation time in the study area. The data sorting module divides the historical wind shear data into m time slices according to the natural year, sorts the time slice risk value and time slice data according to each time slice, and stores them in an associated code. The time slice data includes the meteorological data and geographic data corresponding to the time slice. The gated recurrent unit model inputs the time slice risk value and time slice data stored in the association code. The gated recurrent unit model uses the time slice risk value as the prediction value and the time slice data as the data content for predictive learning and iterative training. The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to optimize the model hyperparameters. The spiral strategy expression of the improved whale algorithm is as follows:

[0091]

[0092] Where X(j+1) represents the parameter output at the j+1th iteration, X * (j) represents the optimal solution parameter output at the j-th iteration, X(j) represents the parameter output at the j-th iteration, l represents a random number between -1 and 1, k represents a constant, and T represents the maximum number of iterations.

[0093] The real-time data collection and input module is used to collect wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes wind shear events of the current time slice and corresponding data of the events of the current time slice. The corresponding data of the events of the current time slice includes meteorological data of the current time slice, geographical data of the current time slice, and transportation aviation time within the study area of the current time slice. The trained gated cyclic unit model processes the wind shear data of the current time slice and outputs the risk prediction value corresponding to the current time slice; Figure 5 As shown, the historical wind shear data can be divided into a training set and a test set (in order to ensure the applicability of the model in different data environments, the data set of the historical wind shear data is preprocessed, including normalization and missing value filling steps to ensure the consistency of the data and the stability of the model training. In addition, the data set is divided into 70% training set and 30% test set, which are used for model training and verification respectively to ensure the objectivity and comprehensiveness of the model performance evaluation), and then the time slice risk value is predicted. The time slice risk value prediction of the trained gated cyclic unit model (at the same time, the model hyperparameters are optimized by the spiral strategy of the improved whale algorithm) has a good fit with the true value. At the same time, the present invention can also synchronously output the number of wind shears that have occurred in the current time slice and the number of wind shears that may occur in the current time slice. The number of wind shears that may occur in the current time slice = risk prediction value × transportation aviation time in the study area of the current time slice - transportation aviation time in the study area of the current time slice.

[0094] An electronic device includes at least one processor, at least one memory, and a data bus. The processor and the memory communicate with each other via the data bus. The memory stores program instructions executed by the processor, and the processor invokes the program instructions to execute the steps of the wind shear risk prediction method combining a gated loop and a whale algorithm according to the present invention.

[0095] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A wind shear risk prediction method combining gated loop and whale algorithm, characterized by: The methods include: S1. Collect historical wind shear data for several years in chronological order for all take-off and landing transport aircraft in the study area. The historical wind shear data includes wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data, geographical data, and transport aviation time in the study area. Divide the historical wind shear data into m time slices according to the natural year, and sort out the time slice risk value and time slice data according to each time slice and store them in an associated code. ,The time slice data includes the meteorological data and geographic data corresponding to the time slice; S2. Build a gated recurrent unit model and input the time slice risk value and time slice data stored in the association code. The gated recurrent unit model uses the time slice risk value as the prediction value and the time slice data as the data content to perform predictive learning iterative training. S3. The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to optimize the model hyperparameters. The spiral strategy expression of the improved whale algorithm is as follows: ; in Indicates the parameter output at the j+1th iteration, Indicates the optimal solution parameter output at the jth iteration, Represents the parameter output at the jth iteration, Represents a random number between -1 and 1, represents a constant, Indicates the maximum number of iterations; When the improved whale algorithm optimizes the model hyperparameters of the gated recurrent unit model, the improved whale algorithm also adopts the following dynamic adjustment strategy: ; ; express and distance, represents the hyperparameter sensitivity factor; is a coefficient that determines how the position of individual whales is updated. Represents a random number between [0,1]; S4. Collect the wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes the wind shear event of the current time slice and the corresponding data of the event of the current time slice. The corresponding data of the event of the current time slice includes the meteorological data of the current time slice, the geographical data of the current time slice, and the transportation aviation time within the study area of the current time slice. The gated cyclic unit model outputs the risk prediction value corresponding to the current time slice.

2. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 1 is characterized by: The time slice is time-series encoded, and the time slice risk value and the time slice data are further encoded after the time-series encoding, and the encoded time slice risk value and time slice data are associated and stored.

3. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 1, characterized in that: In step S2, the gated recurrent unit model includes a reset gate and an update gate. The gated recurrent unit model outputs a risk prediction value expression as follows: ; ; in Represents the output risk prediction value, Indicates that the gate output data is updated in time slice t, represents the hidden state data of time slice t-1, Indicates that time slice t resets the gate output data; Represents the memory data of time slice t, where the memory data is the data items and data extracted from the time slice data; Represents the data content of time slice t, represents the bias term of time slice t, represents the hyperbolic tangent activation function, Represents the weight matrix for time slice t in the model.

4. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 3 is characterized by: The expression of the reset gate output data in time slice t is as follows: ,in represents the weight matrix of time slice t in the reset gate processing, Indicates the hidden state data of time slice t-1 corresponding to the data content of time slice t; Represents the sigmoid activation function; The expression of the gate output data for time slice t is as follows: ; in Represents the weight matrix for time slice t in the update gate processing.

5. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 1, characterized in that: In step S3, during the model hyperparameter optimization process, the gated recurrent unit model also selects some historical wind shear data as samples. The loss function performs loss constraints, The loss function expression is as follows: ; in is the actual value, is the predicted value, is the number of samples.

6. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 1, characterized in that: In step S3, the spiral strategy of the improved whale algorithm uses the adjustment of the control parameter α to gradually shrink the search space and optimize the iteration, and the coefficient A is used to determine the position update method of the individual whale. , Represents the control parameter, which is a variable that decreases linearly during iteration, and its value gradually decreases from 2 to 0. Represents a random number between [0,1], the specific method is as follows: if , execute to make the current individual closer to the optimal solution output; if , executes to randomly select another whale individual from the population and update the current solution.

7. The wind shear risk prediction method combining gated loop and whale algorithm according to claim 6, characterized in that: The spiral strategy of the improved whale algorithm uses the current optimal solution as the prey, and other solutions gradually approach the prey. The position update expression is as follows: ; ; represents the current best solution position, Indicates the current location, Indicates the distance between the current solution and the optimal solution, Indicates the updated position.

8. A wind shear risk prediction system combining gated loop and whale algorithm to implement the wind shear risk prediction method according to claim 1, characterized in that: The system includes a data collection module, a data sorting module, a gated cyclic unit model and a real-time data collection input module. The data collection module is used to collect historical wind shear data of several years in time sequence for all take-off and landing transport aircraft in the study area. The historical wind shear data includes wind shear events and corresponding data of the events. The corresponding data of the events include meteorological data, geographical data, and transport aviation time in the study area. The data sorting module divides the historical wind shear data into m time slices according to the natural year, sorts out the time slice risk value and time slice data according to each time slice, and stores them in an associated code. ,The time slice data includes the meteorological data and geographic data corresponding to the time slice; The gated recurrent unit model inputs the time slice risk value and the time slice data stored in the associated code, and the gated recurrent unit model performs predictive learning iterative training with the time slice risk value as the prediction value and the time slice data as the data content; The gated recurrent unit model uses the spiral strategy of the improved whale algorithm to optimize the model hyperparameters. The spiral strategy expression of the improved whale algorithm is as follows: ; in Indicates the parameter output at the j+1th iteration, Indicates the optimal solution parameter output at the jth iteration, Represents the parameter output at the jth iteration, Represents a random number between -1 and 1, represents a constant, Indicates the maximum number of iterations; The real-time data collection and input module is used to collect wind shear data of the current time slice and input it into the trained gated cyclic unit model. The wind shear data of the current time slice includes wind shear events of the current time slice and data corresponding to events of the current time slice. The data corresponding to events of the current time slice include meteorological data of the current time slice, geographical data of the current time slice, and transportation aviation time within the study area of the current time slice. The trained gated recurrent unit model processes the wind shear data of the current time slice and outputs the risk prediction value corresponding to the current time slice.

9. An electronic device, characterized in that: The method comprises at least one processor, at least one memory and a data bus; wherein: the processor and the memory communicate with each other via the data bus; the memory stores program instructions executed by the processor, and the processor calls the program instructions to execute the steps of the wind shear risk prediction method combining a gated loop and a whale algorithm as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Airport wind shear unsafe event model prediction method and device and storage medium

    CN116629449A