Wind speed prediction method and system based on multi-scale convolution and residual multi-layer perceptron
Through multi-scale convolution and residual multi-layer perceptron methods, the sub-sequence features of the wind speed time series are extracted and their dependencies are learned, which solves the problem of low wind speed prediction accuracy in the existing technology and achieves more efficient and accurate wind speed prediction. .
Patent Information
- Application Number
- CN202410807717.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-11
AI Technical Summary
Existing wind speed prediction methods are highly subjective, pay insufficient attention to local features, and generally ignore the correlation between subsequences, resulting in low prediction accuracy, and are especially difficult to adapt to non-stationary wind speed time series.
Using a method based on multi-scale convolution and residual multi-layer perceptron, historical time series data is decomposed into sub-sequences through singular spectrum analysis, global and local features are extracted, and residual multi-layer perceptron is used to learn the differences between sub-sequences. Dependencies, build a wind speed prediction model to improve prediction accuracy.
The accuracy and precision of wind speed prediction are significantly improved, and the decision-making ability of the model is enhanced by focusing on the local information and interdependence of sub-sequences.
Smart Images

Figure CN118760963A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wind speed prediction, and in particular to a wind speed prediction method and system based on multi-scale convolution and residual multi-layer perceptron. Background Art
[0002] There are three main types of wind speed prediction methods:
[0003] (1) Make predictions based on personal experience combined with external physical information such as external temperature and humidity;
[0004] (2) Model and predict wind speed using existing time series forecasting statistical models, such as the moving average model (MA) and the autoregressive moving average model (ARMA);
[0005] (3) With the continuous iteration of artificial intelligence technology, machine learning and deep learning models have also been used by many scholars to predict wind speed. Common models include support vector machine (SVM), long short-term memory network (LSTM), etc. Wind speed time series has characteristics such as periodicity and seasonality. Therefore, many scholars will use decomposition algorithms to separate these characteristics to obtain subsequences and then use artificial intelligence models for prediction to reduce the negative impact of feature overlap on the model.
[0006] The existing methods still have some shortcomings. Predictions based on personal experience are highly subjective, and there will inevitably be large differences in the prediction results of different people. Traditional statistical models are more suitable for stationary time series, that is, the variance and mean do not change with time, but wind speed series are usually not stationary time series, so it is difficult to achieve high prediction accuracy. Although the combination of artificial intelligence models and decomposition methods can more effectively learn the characteristics of wind speed series, the existing prediction methods based on artificial intelligence models do not pay enough attention to local features and generally ignore the correlation between subsequences, which weakens the prediction performance.
[0007] Wind speed prediction is of great significance in wind farm planning, navigation safety, weather forecasting, etc. Accurate wind speed prediction can help optimize the operation plan of wind turbines, ensure aviation and navigation safety, respond to extreme weather in advance, and ensure the safety of life and property.
[0008] How to achieve efficient and accurate wind speed prediction is a technical problem that needs to be solved. Summary of the invention
[0009] The technical task of the present invention is to address the above shortcomings and provide a wind speed prediction method and system based on multi-scale convolution and residual multi-layer perceptron to solve the technical problem of how to achieve efficient and accurate wind speed prediction.
[0010] In a first aspect, the present invention provides a wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron, comprising the following steps:
[0011] Obtain the historical time series data of wind speed in the area to be measured, take the historical time series data as the target data, perform normalization preprocessing on the target data, and obtain the processed time series data;
[0012] Perform singular spectrum analysis on the processed time series data to obtain L subsequences;
[0013] Constructing a wind speed prediction model, wherein the wind speed prediction model is used to take L subsequences as input, extract global features and local features of the subsequences, learn the dependencies between the subsequences based on a residual multi-layer perceptron, obtain feature vectors, and predict output wind speed values based on the feature vectors;
[0014] A sample set is constructed based on historical time series data and the corresponding real wind speed values, and a wind speed prediction model is trained based on the sample set to obtain a trained wind speed prediction model;
[0015] The current time series data of wind speed in the test area is obtained, and the current time series data is used as the target data. The target data is normalized and preprocessed to obtain the processed time series data. The processed time series is used as input and the predicted wind speed value is output through the trained wind speed prediction model.
[0016] Preferably, the wind speed prediction model includes a global feature extraction model based on a long short-term memory network LSTM, a local feature extraction model based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer based on a fully connected neural network, a splicing layer, and a prediction model based on a fully connected neural network;
[0017] The global feature extraction model is used to extract global features from each subsequence, and form a global feature matrix based on the global feature vectors of the L subsequences;
[0018] There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds to the subsequences one by one, the convolution kernel sizes of the local feature extraction models between different groups are different, for each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences;
[0019] There are a total of M+1 residual multilayer perceptron modules. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences.
[0020] For the feature matrix integrating feature information of different subsequences corresponding to the global feature matrix and each local feature matrix, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix integrating feature information of different subsequences to obtain a one-dimensional feature vector;
[0021] The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors;
[0022] The prediction model is used to take the spliced feature vector as input and predict the output wind speed value.
[0023] Preferably, the residual multi-layer perception module includes a subsequence interaction layer and a channel interaction layer.
[0024] The subsequence interaction layer is used to perform the following: perform affine transformation on the input feature matrix to obtain a transformed feature matrix, perform transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, perform transposition and affine transformation on the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix;
[0025] The channel interaction layer is used to perform the following: taking the feature matrix after subsequence interaction as the input matrix, performing affine transformation on the input matrix to obtain the transformed matrix, taking the transformed matrix as the input, performing channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, performing affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, performing jump connection on the input matrix and the feature matrix after secondary transformation, and outputting the feature matrix that fuses the information of different subsequences.
[0026] Preferably, the target data is preprocessed for normalization, including performing sliding window segmentation and data standardization on the target data.
[0027] In a second aspect, the present invention provides a wind speed prediction system based on multi-scale convolution and residual multi-layer perception, which is used to predict wind speed values by using a wind speed prediction method based on multi-scale convolution and residual multi-layer perception mechanism as described in any one of the first aspects, wherein the system includes a data acquisition and processing module, a data analysis module, a model construction module, a model training module, and a wind speed prediction module;
[0028] The data acquisition and processing module is used to perform the following: obtain historical time series data of wind speed in the area to be measured, take the historical time series data as target data, perform normalization preprocessing on the target data, and obtain processed time series data;
[0029] The data analysis module is used to perform the following: perform singular spectrum analysis on the processed time series data to obtain L subsequences;
[0030] The model building module is used to perform the following: construct a wind speed prediction model, the wind speed prediction model is used to take L subsequences as input, extract global features and local features of the subsequences, and learn the dependency relationship between the subsequences based on the residual multi-layer perceptron to obtain a feature vector, and predict the output wind speed value based on the feature vector;
[0031] The model training module is used to perform the following: construct a sample set based on historical time series data and corresponding real wind speed values, and perform model training on the wind speed prediction model based on the sample set to obtain a trained wind speed prediction model;
[0032] The wind speed prediction module is used to perform the following: obtain the current time series data of wind speed in the area to be measured, take the current time series data as the target data, call the data acquisition and processing module to perform normalization preprocessing on the target data to obtain the processed time series data, take the processed time series as input, and output the predicted wind speed value through the trained wind speed prediction model.
[0033] Preferably, the wind speed prediction model includes a global feature extraction model based on a long short-term memory network LSTM, a local feature extraction model based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer based on a fully connected neural network, a splicing layer, and a prediction model based on a fully connected neural network;
[0034] The global feature extraction model is used to extract global features from each subsequence and form a global feature matrix based on the global feature vectors of the L subsequences;
[0035] There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds to the subsequences one by one, the convolution kernel sizes of the local feature extraction models between different groups are different, for each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences;
[0036] There are a total of M+1 residual multilayer perceptron modules. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences.
[0037] For the feature matrix integrating feature information of different subsequences corresponding to the global feature matrix and each local feature matrix, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix integrating feature information of different subsequences to obtain a one-dimensional feature vector;
[0038] The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors;
[0039] The prediction model is used to take the spliced feature vector as input and predict the output wind speed value.
[0040] Preferably, the residual multi-layer perception module includes a subsequence interaction layer and a channel interaction layer.
[0041] The subsequence interaction layer is used to perform the following: perform affine transformation on the input feature matrix to obtain a transformed feature matrix, perform transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, perform transposition and affine transformation on the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix;
[0042] The channel interaction layer is used to perform the following: taking the feature matrix after subsequence interaction as the input matrix, performing affine transformation on the input matrix to obtain the transformed matrix, taking the transformed matrix as the input, performing channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, performing affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, performing jump connection on the input matrix and the feature matrix after secondary transformation, and outputting the feature matrix that fuses the information of different subsequences.
[0043] Preferably, when normalization preprocessing is performed on the target data, the data acquisition and processing module is used to perform sliding window segmentation and data standardization processing on the target data.
[0044] The wind speed prediction method and system based on multi-scale convolution and residual multi-layer perceptron of the present invention have the following advantages:
[0045] 1. The maximum mutual information coefficient between subsequences is more significant, which proves that the subsequences are not independent of each other, but are interdependent. The residual multi-layer perceptron is used to model the interaction between subsequences, thereby providing more effective information for model decision-making and improving the accuracy of prediction;
[0046] 2. Using convolutional neural networks with different convolution kernel sizes to process subsequences can more effectively focus on the local information of the sequence, avoid information loss, and thus improve the accuracy of prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.
[0048] The present invention is further described below in conjunction with the accompanying drawings.
[0049] Figure 1 This is a flowchart of a wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron in Example 1;
[0050] Figure 2 This is a structural block diagram of a wind speed prediction model in a wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron in Example 1;
[0051] Figure 3 This is a structural block diagram of a residual multi-layer perceptron module in a wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron in Example 1. DETAILED DESCRIPTION
[0052] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments are not intended to limit the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments may be combined with each other.
[0053] The embodiments of the present invention provide a wind speed prediction method and system based on multi-scale convolution and residual multi-layer perceptron, which are used to solve the technical problem of how to achieve efficient and accurate wind speed prediction.
[0054] Embodiment 1:
[0055] The invention discloses a wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron, which comprises five steps of data collection and processing, data analysis, model construction, model training and wind speed prediction.
[0056] Step S100: Data collection and processing: Obtain historical time series data of wind speed in the area to be measured, take the historical time series data as target data, perform normalization preprocessing on the target data, and obtain processed time series data.
[0057] As a specific implementation of normalization preprocessing, the target data is segmented by sliding windows and the data is normalized.
[0058] Step S200: Data analysis: performing singular spectrum analysis on the processed time series data to obtain L subsequences.
[0059] Step S300: Model construction: construct a wind speed prediction model. The wind speed prediction model is used to take L subsequences as input, extract the global features and local features of the subsequences, learn the dependencies between the subsequences based on the residual multi-layer perceptron, obtain feature vectors, and predict the output wind speed value based on the feature vectors.
[0060] As a specific implementation of the wind speed prediction model, it includes a global feature extraction model built based on a long short-term memory network (LSTM), a local feature extraction model built based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer built based on a fully connected neural network, a splicing layer, and a prediction model built based on a fully connected neural network.
[0061] The global feature extraction model is used to extract global features from each subsequence and form a global feature matrix based on the global feature vectors of the L subsequences.
[0062] There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds one-to-one to the subsequences, and the convolution kernel sizes of local feature extraction models are different between different groups. For each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences.
[0063] As a specific implementation of the local feature extraction model group, there are three local feature extraction model groups, and the convolution kernel sizes of the local feature extraction models in each local feature extraction model group are 1*3, 1*5 and 1*7 respectively.
[0064] The historical sequence time data is divided into 4 subsequences, and each group of local feature extraction model groups has 4 local feature extraction models and corresponds to the subsequences one by one. Each local feature extraction model extracts local features of the corresponding subsequence and outputs a local feature vector. A local feature matrix is formed based on the 4 local feature vectors. There are 3 local feature matrices in total for the 3 groups of local feature extraction model groups.
[0065] There are M+1 residual multilayer perceptron modules in total. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences.
[0066] As a specific implementation of the residual multi-layer perception module, it includes a subsequence interaction layer and a channel interaction layer. The subsequence interaction layer is used to perform the following: perform an affine transformation on the input feature matrix to obtain a transformed feature matrix, perform a transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, perform transposition and affine transformation on the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix.
[0067] The channel interaction layer is used to perform the following: take the feature matrix after subsequence interaction as the input matrix, perform affine transformation on the input matrix to obtain the transformed matrix, take the transformed matrix as the input, perform channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, perform affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, perform jump connection on the input matrix and the feature matrix after secondary transformation, and output the feature matrix that fuses the information of different subsequences.
[0068] For the feature matrix corresponding to the global feature matrix and each local feature matrix that integrates feature information of different subsequences, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix that integrates feature information of different subsequences to obtain a one-dimensional feature vector.
[0069] The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors.
[0070] The prediction model is used to take the concatenated feature vector as input and predict the output wind speed value.
[0071] Step S400: Model training: construct a sample set based on historical time series data and corresponding real wind speed values, and perform model training on the wind speed prediction model based on the sample set to obtain a trained wind speed prediction model.
[0072] Step S500: wind speed prediction: obtain the current time series data of wind speed in the test area, take the current time series data as the target data, perform normalization preprocessing on the target data to obtain the processed time series data, take the processed time series as input, and output the predicted wind speed value through the trained wind speed prediction model.
[0073] The method of this embodiment obtains the wind speed time series to be predicted in the study area and performs preprocessing, performs singular spectrum analysis on the wind speed time series to obtain several subsequences, uses convolutional neural networks with different convolution kernel sizes to obtain local features of the subsequences, uses long short-term memory networks to obtain global features of the subsequences, performs feature correlation analysis between local features and global features through residual multi-layer perceptrons, and finally outputs wind speed prediction values through a fully connected neural network, thereby realizing wind speed prediction in the target area.
[0074] Embodiment 2:
[0075] The present invention discloses a wind speed prediction system based on multi-scale convolution and residual multi-layer perceptron, comprising a data acquisition and processing module, a data analysis module, a model building module, a model training module and a wind speed prediction module. The system can execute the method disclosed in Example 1 to realize wind speed value prediction.
[0076] The data acquisition and processing module is used to perform the following: obtain the historical time series data of wind speed in the test area, take the historical time series data as the target data, perform normalization preprocessing on the target data, and obtain the processed time series data.
[0077] As a specific implementation of normalization preprocessing, the data acquisition and processing module is used to perform sliding window segmentation and data standardization on the target data.
[0078] The data analysis module is used to perform the following: perform singular spectrum analysis on the processed time series data to obtain L subsequences.
[0079] The model building module is used to perform the following: build a wind speed prediction model, which is used to take L subsequences as input, extract the global features and local features of the subsequences, learn the dependencies between the subsequences based on the residual multi-layer perceptron, obtain the feature vector, and predict the output wind speed value based on the feature vector.
[0080] As a specific implementation of the wind speed prediction model, it includes a global feature extraction model built based on a long short-term memory network (LSTM), a local feature extraction model built based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer built based on a fully connected neural network, a splicing layer, and a prediction model built based on a fully connected neural network.
[0081] The global feature extraction model is used to extract global features from each subsequence and form a global feature matrix based on the global feature vectors of the L subsequences.
[0082] There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds one-to-one to the subsequences, and the convolution kernel sizes of local feature extraction models are different between different groups. For each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences.
[0083] As a specific implementation of the local feature extraction model group, there are three local feature extraction model groups, and the convolution kernel sizes of the local feature extraction models in each local feature extraction model group are 1*3, 1*5 and 1*7 respectively.
[0084] The historical sequence time data is divided into 4 subsequences, and each group of local feature extraction model groups has 4 local feature extraction models and corresponds to the subsequences one by one. Each local feature extraction model extracts local features of the corresponding subsequence and outputs a local feature vector. A local feature matrix is formed based on the 4 local feature vectors. There are 3 local feature matrices in total for the 3 groups of local feature extraction model groups.
[0085] There are M+1 residual multilayer perceptron modules in total. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences.
[0086] As a specific implementation of the residual multi-layer perception module, it includes a subsequence interaction layer and a channel interaction layer.
[0087] The subsequence interaction layer is used to perform the following: perform an affine transformation on the input feature matrix to obtain a transformed feature matrix, perform a transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, transpose and affine transform the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix.
[0088] The channel interaction layer is used to perform the following: take the feature matrix after subsequence interaction as the input matrix, perform affine transformation on the input matrix to obtain the transformed matrix, take the transformed matrix as the input, perform channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, perform affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, perform jump connection on the input matrix and the feature matrix after secondary transformation, and output the feature matrix that fuses the information of different subsequences.
[0089] For the feature matrix corresponding to the global feature matrix and each local feature matrix that integrates feature information of different subsequences, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix that integrates feature information of different subsequences to obtain a one-dimensional feature vector.
[0090] The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors.
[0091] The prediction model is used to take the concatenated feature vector as input and predict the output wind speed value.
[0092] The model training module is used to perform the following: construct a sample set based on historical time series data and the corresponding real wind speed values, perform model training on the wind speed prediction model based on the sample set, and obtain a trained wind speed prediction model.
[0093] The wind speed prediction module is used to perform the following: obtain the current time series data of wind speed in the test area, take the current time series data as the target data, call the data acquisition and processing module to perform normalization preprocessing on the target data, obtain the processed time series data, take the processed time series as input, and output the predicted wind speed value through the trained wind speed prediction model.
[0094] The system of this embodiment obtains the wind speed time series to be predicted in the study area and performs preprocessing, performs singular spectrum analysis on the wind speed time series to obtain several subsequences, uses convolutional neural networks with different convolution kernel sizes to obtain local features of the subsequences, uses long short-term memory networks to obtain global features of the subsequences, performs feature correlation analysis between local features and global features through residual multi-layer perceptrons, and finally outputs wind speed prediction values through a fully connected neural network, thereby realizing wind speed prediction in the target area.
[0095] The present invention has been shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the means in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.
Claims
1. A wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron, characterized in that: The steps include: Obtain the historical time series data of wind speed in the area to be measured, take the historical time series data as the target data, perform normalization preprocessing on the target data, and obtain the processed time series data; Perform singular spectrum analysis on the processed time series data to obtain L subsequences; Constructing a wind speed prediction model, wherein the wind speed prediction model is used to take L subsequences as input, extract global features and local features of the subsequences, learn the dependencies between the subsequences based on a residual multi-layer perceptron, obtain feature vectors, and predict output wind speed values based on the feature vectors; A sample set is constructed based on historical time series data and the corresponding real wind speed values, and a wind speed prediction model is trained based on the sample set to obtain a trained wind speed prediction model; The current time series data of wind speed in the test area is obtained, and the current time series data is used as the target data. The target data is normalized and preprocessed to obtain the processed time series data. The processed time series is used as input and the predicted wind speed value is output through the trained wind speed prediction model.
2. The wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron according to claim 1 is characterized in that: The wind speed prediction model includes a global feature extraction model based on a long short-term memory network (LSTM), a local feature extraction model based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer based on a fully connected neural network, a splicing layer, and a prediction model based on a fully connected neural network; The global feature extraction model is used to extract global features from each subsequence, and form a global feature matrix based on the global feature vectors of the L subsequences; There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds to the subsequences one by one, the convolution kernel sizes of the local feature extraction models between different groups are different, for each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences; There are a total of M+1 residual multilayer perceptron modules. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences. For the feature matrix integrating feature information of different subsequences corresponding to the global feature matrix and each local feature matrix, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix integrating feature information of different subsequences to obtain a one-dimensional feature vector; The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors; The prediction model is used to take the spliced feature vector as input and predict the output wind speed value.
3. The wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron according to claim 1 is characterized in that: The residual multi-layer perception module includes a subsequence interaction layer and a channel interaction layer. The subsequence interaction layer is used to perform the following: perform affine transformation on the input feature matrix to obtain a transformed feature matrix, perform transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, perform transposition and affine transformation on the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix; The channel interaction layer is used to perform the following: taking the feature matrix after subsequence interaction as the input matrix, performing affine transformation on the input matrix to obtain the transformed matrix, taking the transformed matrix as the input, performing channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, performing affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, performing jump connection on the input matrix and the feature matrix after secondary transformation, and outputting the feature matrix that fuses the information of different subsequences.
4. The wind speed prediction method based on multi-scale convolution and residual multi-layer perceptron according to any one of claims 1 to 3, characterized in that: The target data is preprocessed for normalization, including sliding window segmentation and data standardization.
5. A wind speed prediction system based on multi-scale convolution and residual multi-layer perceptron, characterized in that: Used to realize wind speed value prediction by a wind speed prediction method based on multi-scale convolution and residual multi-layer perception mechanism as described in any one of claims 1 to 4, the system includes a data acquisition and processing module, a data analysis module, a model building module, a model training module and a wind speed prediction module; The data acquisition and processing module is used to perform the following: obtain historical time series data of wind speed in the area to be measured, take the historical time series data as target data, perform normalization preprocessing on the target data, and obtain processed time series data; The data analysis module is used to perform the following: perform singular spectrum analysis on the processed time series data to obtain L subsequences; The model building module is used to perform the following: construct a wind speed prediction model, the wind speed prediction model is used to take L subsequences as input, extract global features and local features of the subsequences, and learn the dependency relationship between the subsequences based on the residual multi-layer perceptron to obtain a feature vector, and predict the output wind speed value based on the feature vector; The model training module is used to perform the following: construct a sample set based on historical time series data and corresponding real wind speed values, and perform model training on the wind speed prediction model based on the sample set to obtain a trained wind speed prediction model; The wind speed prediction module is used to perform the following: obtain the current time series data of wind speed in the area to be measured, take the current time series data as the target data, call the data acquisition and processing module to perform normalization preprocessing on the target data to obtain the processed time series data, take the processed time series as input, and output the predicted wind speed value through the trained wind speed prediction model.
6. The wind speed prediction system based on multi-scale convolution and residual multi-layer perceptron according to claim 5, characterized in that: The wind speed prediction model includes a global feature extraction model based on a long short-term memory network (LSTM), a local feature extraction model based on a convolutional neural network, a residual multi-layer perceptron module, a fully connected layer based on a fully connected neural network, a splicing layer, and a prediction model based on a fully connected neural network; The global feature extraction model is used to extract global features from each subsequence and form a global feature matrix based on the global feature vectors of the L subsequences; There are M groups of local feature extraction models in total, each group of local feature extraction model groups includes L local feature models and corresponds to the subsequences one by one, the convolution kernel sizes of the local feature extraction models between different groups are different, for each group of convolution feature extraction model groups, the local features of the relevant subsequences are extracted by the local convolution feature extraction model, and the local feature matrix corresponding to the convolution feature extraction model group is obtained based on the local feature vectors of the L subsequences; There are a total of M+1 residual multilayer perceptron modules. For the global feature matrix and each local feature matrix, a corresponding residual multilayer perceptron module is used to perform feature interaction in the subsequence dimension and the channel dimension to obtain a feature matrix that integrates feature information of different subsequences. For the feature matrix integrating feature information of different subsequences corresponding to the global feature matrix and each local feature matrix, the fully connected layer is used to perform dimensionality reduction processing on each feature matrix integrating feature information of different subsequences to obtain a one-dimensional feature vector; The concatenation layer is used to concatenate the feature vectors corresponding to the M+1 global feature matrices and the local feature matrices to obtain the concatenated feature vectors; The prediction model is used to take the spliced feature vector as input and predict the output wind speed value.
7. The wind speed prediction system based on multi-scale convolution and residual multi-layer perceptron according to claim 5, characterized in that: The residual multi-layer perception module includes a subsequence interaction layer and a channel interaction layer. The subsequence interaction layer is used to perform the following: perform affine transformation on the input feature matrix to obtain a transformed feature matrix, perform transposition operation on the transformed feature matrix to obtain a transposed feature matrix, use the transposed feature matrix as input, perform subsequence dimension interaction through a fully connected layer to obtain an interactive feature matrix, perform transposition and affine transformation on the interactive feature matrix to obtain a secondary transformed feature matrix, perform jump connection on the input feature matrix and the secondary transformed feature matrix, and output the subsequence interactive feature matrix; The channel interaction layer is used to perform the following: taking the feature matrix after subsequence interaction as the input matrix, performing affine transformation on the input matrix to obtain the transformed matrix, taking the transformed matrix as the input, performing channel dimension interaction through two fully connected layers and the activation function between the two fully connected layers to obtain the feature matrix after interaction, performing affine transformation on the feature matrix after interaction to obtain the feature matrix after secondary transformation, performing jump connection on the input matrix and the feature matrix after secondary transformation, and outputting the feature matrix that fuses the information of different subsequences.
8. The wind speed prediction system based on multi-scale convolution and residual multi-layer perceptron according to any one of claims 5 to 7, characterized in that: When normalization preprocessing is performed on the target data, the data acquisition and processing module is used to perform sliding window segmentation and data standardization processing on the target data.
Citation Information
Cited By
Wind speed prediction method and device and storage medium
CN120805076A
Electrolytic bath health state online prediction method and system based on state space model
CN121167243A
High-resolution city wind speed prediction method based on typical block model
CN121168341A
