Wind speed and direction prediction method and model based on rotation coordinate axis vector decomposition, construction method and wind turbine control method
By using a rotating coordinate axis vector decomposition method to dynamically adjust the decomposition direction, and combining modal decomposition and machine learning models, the mismatch problem in wind speed and direction prediction under a fixed coordinate system is solved, thus improving prediction accuracy and stability.
Patent Information
- Application Number
- CN202611299151.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, when wind speed and direction vector decomposition is performed using a fixed coordinate system, the decomposition direction is not dynamically adjusted according to data characteristics, resulting in a mismatch between the decomposition results and the data distribution characteristics. This increases the difficulty of prediction and reduces the stability and accuracy of the prediction model.
A vector decomposition method based on rotating coordinate axes is adopted. By dynamically adjusting the decomposition direction, the wind direction distribution characteristics of a specific wind farm or a specific time period are considered. The vector decomposition based on rotating coordinate axes makes the fluctuation of the component sequence smoother. Combined with mode decomposition and machine learning models, the prediction accuracy is improved.
It improves the accuracy and stability of wind speed and direction prediction, reduces the difficulty of prediction, makes full use of the structural information in the data, and achieves better decomposition results.
Smart Images

Figure CN123156328A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of wind speed and direction prediction and wind turbine control technology, specifically to a wind speed and direction prediction method, model, construction method, and wind turbine control method based on rotating coordinate axis vector decomposition. Background Technology
[0002] Wind speed and direction prediction is one of the core technologies for wind farm power prediction and turbine control optimization. Due to the strong randomness and non-stationarity of wind speed and direction sequences, it is very difficult to directly make multi-step predictions of wind speed and direction.
[0003] In existing technologies, a common approach is to decompose wind speed and direction into two orthogonal vector components (e.g., eastward and northward components) in a fixed coordinate system, then predict each component separately, and finally synthesize them into wind speed and direction. While the fixed coordinate system vector decomposition method can avoid the calculation errors caused by the periodicity of wind direction (i.e., the wind direction angle crossing the 360° boundary), and can transform the problem of predicting wind speed and direction into predicting wind speed, reducing workload and improving prediction accuracy, the subsequent learning difficulty of the prediction model and the poor stability of the prediction model are significant when using a fixed coordinate system for wind speed and direction vector decomposition. Summary of the Invention
[0004] This application addresses the problems existing in the prior art by providing a wind speed and direction prediction method based on rotating coordinate axis vector decomposition. This method dynamically adjusts the decomposition direction according to data characteristics and considers the wind direction distribution characteristics of specific wind farms or specific time periods, ensuring that the decomposition results match the distribution characteristics of the data itself. This allows for full utilization of the structural information contained in the data, thus the decomposition results are superior to those of a fixed coordinate system. Furthermore, by using rotating coordinate axis vector decomposition, this application makes the fluctuations of the decomposed component sequences smoother, thereby reducing the difficulty of subsequent predictions and improving prediction accuracy.
[0005] To achieve the above objectives, the technical solution adopted in this application is as follows: In a first aspect, embodiments of this application propose a wind speed and direction prediction method based on rotating coordinate axis vector decomposition, including obtaining the current time series, the current time series representing the wind speed and direction time series of the current time window, and the current time window representing the first time window that takes the current moment as the termination moment; Based on the optimal rotation angle, the current time series is decomposed using the rotating coordinate axis method to obtain the current input wind speed component set; the optimal rotation angle is obtained by calculating the minimum average standard deviation based on the historical wind speed component set; the historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size and rotating coordinate axis method; the historical time series represents the wind speed and wind direction time series of historical periods. The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method and machine learning model; the predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components of the prediction period corresponding to the current time. At least one set of predicted wind speed and direction values for the prediction period is obtained based on the predicted wind speed component set.
[0006] In some embodiments, obtaining the optimal rotation angle includes: The set of rotation angles is obtained by traversing the candidate angle range based on a preset step size; The rotating coordinate axis decomposition method is adopted to decompose the historical time series based on each rotation angle to obtain the historical wind speed component set. The historical wind speed component set represents the set of historical wind speed component time series, and the historical wind speed component time series represents the first wind speed component time series and the second wind speed component time series of the historical period corresponding to each rotation angle. The first standard deviation of the corresponding rotation angle is obtained by calculating the standard deviation of the first wind speed component time series. The second standard deviation of the corresponding rotation angle is obtained by calculating the standard deviation of the second wind speed component time series. The average standard deviation of the corresponding rotation angle is obtained by averaging the first and second standard deviations. Based on the candidate angle range, the rotation angle with the smallest average standard deviation is taken as the optimal rotation angle.
[0007] In some embodiments, the range of the candidate angle interval includes .
[0008] In some embodiments, the range of values for the preset step size includes... .
[0009] In some embodiments, a prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition methods, and machine learning models, including: Based on the first time window, historical time series are processed to obtain an initial input time series set and an initial output time series set; the initial input time series set represents the set of initial input time series, and the initial input time series represents the wind speed and wind direction time series of each first time window in the historical period; the initial output time series set represents the set of initial output time series, and the initial output time series represents the wind speed and wind direction time series of the historical period and the prediction period corresponding to each first time window. Based on the optimal rotation angle, the historical input wind speed component set is obtained by decomposing the initial input time series set using the rotating coordinate axis method. Based on the optimal rotation angle, the historical output wind speed component set is obtained by decomposing the initial output time series set using the rotating coordinate axis method. A prediction model is obtained by using modal decomposition and machine learning models based on historical input wind speed component sets and historical output wind speed component sets.
[0010] In some embodiments, the wind speed and direction prediction values include wind speed prediction values and wind direction prediction values; At least one set of predicted wind speed and direction values for the prediction period is obtained based on the predicted wind speed component set, including: The wind speed prediction value for each group is obtained by taking the square root of the sum of squares of each predicted wind speed component. Based on the rotating coordinate axis method, the wind direction angle of the corresponding group based on the rotating coordinate axis is calculated based on each group of predicted wind speed components; The wind direction prediction value for the corresponding group is obtained based on the wind direction angle and the optimal rotation angle.
[0011] Secondly, this application proposes a wind speed and direction prediction model based on rotating coordinate axis vector decomposition, including a data acquisition module and a data processing module. The data acquisition module is used to obtain the current time series. The current time series represents the wind speed and wind direction time series of the current time window. The current time window represents the first time window with the current moment as the end moment. The data processing module is used to obtain the current input wind speed component set by decomposing the current time series based on the optimal rotation angle and the rotating coordinate axis method; to obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model; and to obtain at least one set of predicted wind speed and direction values for the prediction period based on the predicted wind speed component set. The optimal rotation angle is obtained by calculating the minimum mean standard deviation based on the historical wind speed component set. The historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size, and the rotating coordinate axis method. The historical time series represents the wind speed and direction time series of historical periods. The prediction model is obtained based on the historical time series, the optimal rotation angle, the modal decomposition method, and the machine learning model. The predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components for the prediction period corresponding to the current moment.
[0012] In some embodiments, the data processing module includes a decomposition unit and a prediction unit; The decomposition unit is used to decompose the current time series based on the optimal rotation angle and the rotating coordinate axis method to obtain the current input wind speed component set, and to obtain at least one set of wind speed and wind direction prediction values for the prediction period based on the predicted wind speed component set. The prediction unit is used to configure the prediction model and to obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model.
[0013] Thirdly, this application proposes a method for constructing a wind speed and direction prediction model based on the vector decomposition of rotating coordinate axes, which obtains historical time series, candidate angle intervals and preset step size respectively. The historical time series represents the wind speed and direction time series of historical periods. Historical wind speed component sets are obtained based on historical time series, candidate angle intervals, preset step size, and rotating coordinate axes. The optimal rotation angle is obtained by finding the minimum mean standard deviation based on the historical wind speed component set; A prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method, and machine learning model.
[0014] Fourthly, this application proposes a wind turbine control method based on rotating coordinate axis vector decomposition, including: acquiring the current time series, the current time series representing the wind speed and wind direction time series of the current time window, and the current time window representing the first time window that takes the current moment as the termination moment; Based on the optimal rotation angle, the current time series is decomposed using the rotating coordinate axis method to obtain the current input wind speed component set; the optimal rotation angle is obtained by calculating the minimum average standard deviation based on the historical wind speed component set; the historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size and rotating coordinate axis method; the historical time series represents the wind speed and wind direction time series of historical periods. The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method and machine learning model; the predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components of the prediction period corresponding to the current time. At least one set of predicted wind speed and direction values for the prediction period is obtained based on the predicted wind speed component set. Control commands are obtained based on at least one set of wind speed and direction prediction values; Control the wind turbine according to control commands.
[0015] Compared with the prior art, this application has the following advantages: The wind speed and direction prediction method based on rotating coordinate axis vector decomposition proposed in this application can dynamically adjust the decomposition direction according to data characteristics and consider the wind direction distribution characteristics of specific wind farms or specific time periods, so that the decomposition results match the distribution characteristics of the data itself. This method can make full use of the structural information contained in the data, and therefore the decomposition results are superior to those of a fixed coordinate system. At the same time, by using rotating coordinate axis vector decomposition, the component sequence after decomposition fluctuates more smoothly, thereby reducing the difficulty of subsequent prediction and improving prediction accuracy. Attached Figure Description
[0016] Figure 1This is a flowchart illustrating the wind speed and direction prediction method based on rotating coordinate axis vector decomposition in the embodiments of this application. Figure 2 This is a schematic diagram illustrating the process of obtaining the optimal rotation angle in an embodiment of this application; Figure 3 This is a schematic diagram illustrating the process of obtaining a prediction model based on historical time series, optimal rotation angle, modal decomposition method, and machine learning model in an embodiment of this application. Detailed Implementation
[0017] To address the problems in the background technology, when using a fixed coordinate system for vector decomposition of wind speed and direction, taking the commonly used fixed east-north coordinate system as an example, the component sequences exhibit violent oscillations with alternating positive and negative values when the wind direction frequently changes around 0°; similarly, violent oscillations occur when the wind direction changes around 90°. These violent fluctuations increase the learning difficulty of subsequent prediction models. Furthermore, when using a fixed coordinate system for vector decomposition of wind speed and direction, the prediction accuracy is highly dependent on the stability of the wind direction. When wind direction changes frequently, the volatility of the component sequences increases sharply, significantly degrading the performance of the prediction model and resulting in poor model stability. Therefore, it can be seen that the root cause of the defects in the vector decomposition of wind speed and direction using a fixed coordinate system in the background technology is the failure to dynamically adjust the decomposition direction according to the data characteristics. When using a fixed coordinate system for vector decomposition of wind speed and direction, the wind direction distribution characteristics of a specific wind farm or a specific time period are not considered, resulting in a mismatch between the decomposition results and the distribution characteristics of the data itself. This fails to fully utilize the structural information contained in the data, leading to suboptimal decomposition results. This application uses a rotating coordinate axis vector decomposition to make the fluctuations of the decomposed component sequence smoother, thereby reducing the difficulty of subsequent prediction and improving the prediction accuracy.
[0018] To clearly illustrate the technical features of this solution, the implementation methods of this application will be described in detail below with reference to the accompanying drawings and embodiments. This will allow for a full understanding and implementation of how this application uses technical means to solve technical problems and achieve corresponding technical effects. The embodiments of this application and the various features within them can be combined with each other without conflict, and the resulting technical solutions are all within the protection scope of this application.
[0019] Firstly, see [the following] Figure 1 This application proposes a wind speed and direction prediction method based on rotated coordinate axis vector decomposition, including obtaining the current time series, where the current time series represents the wind speed and direction time series of the current time window, and the current time window represents the first time window that takes the current moment as the termination moment; the current time window is... , For the current moment, The total duration of the first time window, which ranges from 3 seconds to 24 hours, is typically... Take 20 minutes; the current time series includes the wind speed time series and the wind direction time series for the current time window; the current time series is... : ; ; in, This is the wind speed time series for the current time window. For the current time window Wind speed at each sampling point This refers to the sampling point number within the current time window. This represents the total number of sampling intervals within the first time window. , This represents the total number of sampling points in the first time window. The sampling step size ranges from 1 second to 1 hour. Take 1 minute. for Wind speed at any moment This is the wind direction time series for the current time window. For the current time window Wind direction at each sampling point for The wind direction at any given moment.
[0020] Based on the optimal rotation angle, the current time series is decomposed using a rotating coordinate axis method to obtain the current input wind speed component set. The optimal rotation angle is obtained by calculating the minimum mean standard deviation of the historical wind speed component set. The historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size, and the rotating coordinate axis method. The historical time series represents the wind speed and wind direction time series of historical periods; that is, the historical time series represents the wind speed time series and the wind direction time series of historical periods. : ; in, This is a time series of wind speeds for a historical period. For the first historical period wind speed, This refers to the wind speed sequence number for a historical period. It also serves as a sequence number for wind direction in historical periods. This represents the total number of sampling points for the historical period. This is a time series of wind directions over a historical period. For the first historical period One wind direction.
[0021] See Figure 2 In some embodiments, obtaining the optimal rotation angle includes: The set of rotation angles is obtained by traversing the candidate angle intervals based on a preset step size. The rotation angle represents the angle by which the target rotation coordinate system rotates counterclockwise relative to the original coordinate system around the common origin. The original coordinate system represents the rotation with east as the reference direction. Axis, with north as the axis The coordinate system of the axes; the set of rotation angles is: ; in, A set of rotation angles For the first One rotation angle, The number represents the rotation angle. The total number of rotation angles in the set of rotation angles. To preset the step size, in some embodiments, the range of values for the preset step size includes... ,generally, .
[0022] The rotating coordinate axis decomposition method is adopted to decompose the historical time series based on each rotation angle to obtain the historical wind speed component set. The historical wind speed component set represents the set of historical wind speed component time series, and the historical wind speed component time series represents the first wind speed component time series and the second wind speed component time series of the historical period corresponding to each rotation angle. The first wind speed component time series characterization is based on the target rotating coordinate system obtained from the rotation angle. Time series of wind speed components along the axial direction; the time series of the first wind speed component is: ; in, For the first The time series of the first wind speed component corresponding to each rotation angle in the historical period, that is... To adopt the first When decomposing the rotation coordinate system of the target rotation coordinate system obtained by each rotation angle along the rotation coordinate axis, Time series of wind speed components in the axial direction for historical periods To adopt the first When decomposing the rotation coordinate system of the target rotation coordinate system obtained by the rotation angle, the first rotation angle... wind speed along Components along the axial direction; The second wind speed component time series characterization is based on the target rotating coordinate system obtained from the rotation angle. The time series of the wind speed component along the axial direction; the time series of the second wind speed component is: ; in, For the first The time series of the second wind speed component corresponding to each rotation angle in the historical period, that is... To adopt the first When decomposing the rotation coordinate system of the target rotation coordinate system obtained by each rotation angle along the rotation coordinate axis, Time series of wind speed components in the axial direction for historical periods To adopt the first When decomposing the rotation coordinate system of the target rotation coordinate system obtained by the rotation angle, the first rotation angle... wind speed along Components along the axial direction; The first standard deviation of the corresponding rotation angle is obtained by calculating the standard deviation of the time series of the first wind speed component; the first standard deviation is: ; in, For the first The first standard deviation of the historical time period corresponding to each rotation angle, that is... For the first The standard deviation of each wind speed component in the time series of the first wind speed component corresponding to each rotation angle in the historical period. For the first The arithmetic mean of each wind speed component in the time series of the first wind speed component of the historical period corresponding to each rotation angle; The second standard deviation of the corresponding rotation angle is obtained by calculating the standard deviation of the second wind speed component time series; the second standard deviation is: ; in, For the first The second standard deviation of the historical period corresponding to each rotation angle, that is... For the first The standard deviation of each wind speed component in the time series of the second wind speed component corresponding to each rotation angle in the historical period. For the first The arithmetic mean of each wind speed component in the time series of the second wind speed component corresponding to each rotation angle in the historical period. The average standard deviation of the corresponding rotation angle is obtained by averaging the first and second standard deviations; the average standard deviation is: ; in, For the first The mean standard deviation corresponding to each rotation angle; Based on the candidate angle intervals, the rotation angle with the smallest mean standard deviation is taken as the optimal rotation angle. The optimal rotation angle is: ; in, This is the optimal rotation angle.
[0023] Based on the optimal rotation angle, the current input wind speed component set obtained by decomposing the current time series using the rotating coordinate axis method is: : ; ; in, When decomposing the rotating coordinate system of the target rotating coordinate system using the optimal rotation angle, along... Time series of wind speed components in the current time window along the axis. When performing rotation axis decomposition on the target rotation coordinate system obtained using the optimal rotation angle, the current time window's first... Wind speed at each sampling point along Wind speed component in the axial direction, When decomposing the rotating coordinate system of the target rotating coordinate system using the optimal rotation angle, along... Time series of wind speed components in the current time window along the axis. When performing rotation axis decomposition on the target rotation coordinate system obtained using the optimal rotation angle, the current time window's first... Wind speed at each sampling point along Wind speed component in the axial direction; The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method and machine learning model; the predicted wind speed component set represents at least one set of predicted wind speed components, each sampling point corresponds to one set of predicted wind speed components, and the predicted wind speed component represents the wind speed component of the prediction period corresponding to the current time.
[0024] Determine the set of predicted wind speed components for the predicted time and / or predicted period as needed: If we need to obtain the predicted wind speed and direction for the next moment from the current moment, then the predicted wind speed component set represents the wind speed along the path based on the optimal rotation angle for the next moment. axial wind speed component and along The predicted wind speed components along the axial direction; the set of predicted wind speed components is ,in, for The edge based on the optimal rotation angle at any time The predicted wind speed component along the axial direction, For scheduling time intervals, for The edge based on the optimal rotation angle at any time The predicted wind speed component along the axial direction; If we need to obtain the predicted wind speed and direction values for the second time window after the current moment to understand the changes in wind speed and direction, then the predicted wind speed component set represents the wind speed along the path based on the optimal rotation angle for the second time window after the current moment. axial wind speed component and along The predicted wind speed component along the axial direction; the second time window is , The total duration of the second time window, typically when Take 20 minutes, Take 10 minutes, and the predicted wind speed component set is as follows : ; ; in, For the along based on the optimal rotation angle Time series of predicted wind speed components along the axial direction. For the along based on the optimal rotation angle Time series of predicted wind speed components along the axial direction. For the second time window Each sampling point, along the optimal rotation angle The predicted wind speed component along the axial direction, This refers to the sampling point number in the second time window. This represents the total number of sampling intervals for the second time window. , This represents the total number of sampling points in the second time window. For a moment Based on the optimal rotation angle along The predicted wind speed component along the axial direction, For the second time window Each sampling point, along the optimal rotation angle The predicted wind speed component along the axial direction, For a moment Based on the optimal rotation angle along The predicted wind speed component along the axial direction; At least one set of predicted wind speed and direction values for the prediction period is obtained based on the predicted wind speed component set. In some embodiments, the predicted wind speed and direction values include predicted wind speed values and predicted wind direction values; In some embodiments, the range of the candidate angle interval includes Based on the predicted wind speed component set, at least one set of predicted wind speed and direction values for the prediction period is obtained, including: The wind speed prediction value for each group is obtained by taking the square root of the sum of the squares of each predicted wind speed component; the predicted wind speed value is: ; in, For the second time window Predicted wind speed values at each sampling point; Based on the rotating coordinate axis method, the wind direction angle of the corresponding group based on the rotating coordinate axis is calculated based on each group of predicted wind speed components; ; in, For the second time window The wind direction angle at each sampling point is obtained by using the four-quadrant arctangent function. The angle between them; Based on the wind direction angle and the optimal rotation angle, the wind direction prediction value for the corresponding group is obtained. The wind direction prediction value is: ; in, For the second time window The wind direction prediction value at each sampling point. The angle between the two values is used to map the predicted wind direction value to the standard wind direction range, resulting in the standard wind direction prediction value:
[0025] in, For the second time window Standard wind direction prediction value for each sampling point This is the standard remainder function.
[0026] Beneficially, the wind speed and direction prediction method based on rotating coordinate axis vector decomposition proposed in this application can dynamically adjust the decomposition direction according to data characteristics and consider the wind direction distribution characteristics of specific wind farms or specific time periods, so that the decomposition results match the distribution characteristics of the data itself. This allows for full utilization of the structural information contained in the data, thus the decomposition results are superior to those of a fixed coordinate system. Furthermore, by using rotating coordinate axis vector decomposition, the component sequences after decomposition fluctuate more smoothly, thereby reducing the difficulty of subsequent predictions and improving prediction accuracy.
[0027] See Figure 3 In some embodiments, a predictive model is obtained based on historical time series, optimal rotation angle, mode decomposition method, and machine learning model, including: Based on the first time window, historical time series are processed to obtain an initial input time series set and an initial output time series set. The initial input time series set represents the set of initial input time series, and the initial input time series represents the wind speed and wind direction time series for each first time window in the historical period. The initial output time series set represents the set of initial output time series, and the initial output time series represents the wind speed and wind direction time series for the historical period and the prediction period corresponding to each first time window. Each initial input time series set for each first time window corresponds to an initial output time series set. Based on the optimal rotation angle, the historical input wind speed component set is obtained by decomposing the initial input time series set using the rotating coordinate axis method; the historical input wind speed component set is as follows: ; in, Input the historical wind speed component set. For the first A set of historical samples of input wind speed component time series. This refers to the historical sample sequence number. It also serves as the sequence number of the first time window after processing the historical time series. The total number of historical samples. It also serves as the sequence number of the first time window after processing the historical time series. For the first The input wind speed of each historical sample along Time series of axial components For the first The input wind speed of each historical sample along Time series of axial components; ; ; in, for The Middle Wind speed components at each input sampling point For the first The input sampling point number for each historical sample. For the first The first historical sample Wind speed at each input sampling point For the first The first historical sample Wind direction at each input sampling point for The Middle Wind speed components at each input sampling point.
[0028] Based on the optimal rotation angle, the historical output wind speed component set is obtained by decomposing the initial output time series set using the rotating coordinate axis method; the historical output wind speed component set is as follows: ; in, Output historical wind speed component sets. For the first A time series set of output wind speed components from historical samples. For the first The output wind speed of each historical sample along Time series of axial components For the first The output wind speed of each historical sample along Time series of axial components; ; ; in, for The Middle Wind speed components at each output sampling point For the first The output sampling point number of each historical sample. For the first The first historical sample Wind speed at each output sampling point For the first The first historical sample Wind direction at each output sampling point for The Middle The wind speed components at each output sampling point.
[0029] A prediction model is obtained based on historical input and output wind speed component sets using modal decomposition and machine learning models. Each first time window's historical input and output wind speed component sets are treated as samples, and a one-to-one correspondence between these sets is used as the historical sample set. The prediction model is then trained using modal decomposition and machine learning models. for: .
[0030] The training process consists of four stages: 1) Modal decomposition stage: The component sequence to be predicted, i.e., the wind speed component of the input sampling points, is input into the adaptive noise-complete empirical mode decomposition model (CEEMDAN) for adaptive decomposition. Its basic principle is to separate the fluctuations at different time scales in the original signal layer by layer, decomposing them into several intrinsic mode functions (IMFs) and a residual term. Each IMF represents a fluctuation component within a specific frequency range in the original signal, arranged sequentially from high to low frequency; the residual term represents the overall trend of the signal. The decomposition process specifically involves: first, adding adaptive Gaussian white noise to the original signal, performing multiple empirical mode decompositions, and averaging the decomposition results to eliminate mode aliasing. After multiple iterative decompositions, the original signal is decomposed into multiple IMF sequences and a residual sequence R.
[0031] 2) Modal classification stage: After decomposition, the energy percentage of each IMF sequence is calculated. Specifically: first, the variance of each IMF sequence is calculated, then the proportion of that IMF sequence's variance to the total variance of all IMF sequences is calculated. IMFs are classified according to their cumulative energy percentage: IMFs with a cumulative energy percentage of 90% or higher are classified as low-frequency modes; IMFs with a cumulative energy percentage between 90% and 98% are classified as mid-frequency modes; and IMFs with a cumulative energy percentage exceeding 98% are classified as high-frequency modes.
[0032] The above classification divides the different frequency components in the original sequence into categories, so that different prediction models can be selected for different categories of data features.
[0033] 3) Modal prediction stage: For low-frequency, mid-frequency, and high-frequency modes, prediction models of different complexities are selected respectively: Low-frequency modalities exhibit relatively smooth and regular sequence variations, making them suitable for prediction using a CNN-LSTM neural network. LSTM, short for Long Short-Term Memory network, is a variant of recurrent neural network specifically designed for processing time series data. Its core structure consists of memory units, which, through three gating mechanisms—input gate, forget gate, and output gate—can selectively remember or forget historical information, thereby effectively capturing long-term dependencies in time series data.
[0034] The sequence variations of mid-frequency modes are relatively complex, and the sample size is moderate, so the XGBoost model is used for prediction. XGBoost, short for Extreme Gradient Boosting Tree, is an ensemble learning algorithm based on decision trees. Its basic principle is to progressively build multiple decision trees, with each new tree used to correct the prediction residuals of the previous tree, and finally, the weighted sum of the prediction results from all trees is used as the final output. This model features fast training speed and high prediction accuracy, making it suitable for processing mid-frequency mode data.
[0035] High-frequency modes exhibit strong randomness and weak regularity, making them suitable for prediction using linear regression models. The basic principle of linear regression is to establish a linear mapping relationship between input features and the output target, determining the mapping coefficients by minimizing the prediction error. This model is simple in structure, computationally efficient, and suitable for handling high-frequency noise components with strong randomness.
[0036] Typically, during training, the historical sample set is divided into training set, validation set, and test set in proportions of 70%, 10%, and 20%, respectively.
[0037] 4) Result stacking stage: The prediction results of low-frequency mode, mid-frequency mode and high-frequency mode are added point by point at the same time position to obtain the prediction result of the original signal under the rotating coordinate axis.
[0038] The above training process can be carried out based on existing technology, and will not be described in detail here.
[0039] In addition, different forms of mode decomposition methods and machine learning models can be selected to meet different prediction accuracy requirements. Mode decomposition methods include EMD, VMD, wavelet decomposition, etc., while machine learning models include neural network prediction models, such as using LSTM, decision tree algorithms, or transformers for all modes. Currently, this part has been extensively studied by many scholars, who have proposed many more advanced models and published papers, so it will not be elaborated here.
[0040] Secondly, this application proposes a wind speed and direction prediction model based on rotating coordinate axis vector decomposition, including a data acquisition module and a data processing module. The data acquisition module is used to obtain the current time series. The current time series represents the wind speed and wind direction time series of the current time window. The current time window represents the first time window with the current moment as the end moment. The data processing module is used to obtain the current input wind speed component set by decomposing the current time series based on the optimal rotation angle and the rotating coordinate axis method; to obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model; and to obtain at least one set of predicted wind speed and direction values for the prediction period based on the predicted wind speed component set. The optimal rotation angle is obtained by calculating the minimum mean standard deviation based on the historical wind speed component set. The historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size, and the rotating coordinate axis method. The historical time series represents the wind speed and direction time series of historical periods. The prediction model is obtained based on the historical time series, the optimal rotation angle, the modal decomposition method, and the machine learning model. The predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components for the prediction period corresponding to the current moment.
[0041] In some embodiments, the data processing module includes a decomposition unit and a prediction unit; The decomposition unit is used to decompose the current time series based on the optimal rotation angle and the rotating coordinate axis method to obtain the current input wind speed component set, and to obtain at least one set of wind speed and wind direction prediction values for the prediction period based on the predicted wind speed component set. The prediction unit is used to configure the prediction model and to obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model.
[0042] Thirdly, this application proposes a method for constructing a wind speed and direction prediction model based on the vector decomposition of rotating coordinate axes, which obtains historical time series, candidate angle intervals and preset step size respectively. The historical time series represents the wind speed and direction time series of historical periods. Historical wind speed component sets are obtained based on historical time series, candidate angle intervals, preset step size, and rotating coordinate axes. The optimal rotation angle is obtained by finding the minimum mean standard deviation based on the historical wind speed component set; A prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method, and machine learning model.
[0043] Fourthly, this application proposes a wind turbine control method based on rotating coordinate axis vector decomposition, including: acquiring the current time series, the current time series representing the wind speed and wind direction time series of the current time window, and the current time window representing the first time window that takes the current moment as the termination moment; Based on the optimal rotation angle, the current time series is decomposed using the rotating coordinate axis method to obtain the current input wind speed component set; the optimal rotation angle is obtained by calculating the minimum average standard deviation based on the historical wind speed component set; the historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size and rotating coordinate axis method; the historical time series represents the wind speed and wind direction time series of historical periods. The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on historical time series, optimal rotation angle, mode decomposition method and machine learning model; the predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components of the prediction period corresponding to the current time. At least one set of predicted wind speed and direction values for the prediction period is obtained based on the predicted wind speed component set. Control commands are obtained based on at least one set of wind speed and direction prediction values; Control the wind turbine according to control commands.
[0044] Calculation example Taking the raw historical data of a single wind turbine in a wind farm as an example, with a sampling interval of 1 minute, a total of 527,040 valid data points (approximately 366 days) were collected. After preprocessing the data and removing outliers, the remaining 526,936 valid data points constitute the historical time series.
[0045] The optimal rotation angle was searched within the candidate angle range of 0° to 90° with a preset step size of 1°, and the optimal rotation angle was found to be 59°. At this optimal rotation angle, vector decomposition was performed on the historical time series to obtain the historical wind speed component set, and then... Axial components and The axial components are decomposed using CEEMDAN, yielding 19-20 IMFs and 1 residual for each. After classification based on energy proportion, the low-frequency mode is trained using a CNN-LSTM model (2 LSTM layers, 64 hidden units, and Dropout=0.2), the mid-frequency mode using an XGBoost model, and the high-frequency mode using a linear regression model. The training set comprises 70%, the validation set 10%, and the test set 20%. The predicted wind speed component set is obtained from the trained prediction model. Finally, the predicted results are inversely rotated and synthesized to obtain the predicted wind speed and direction values.
[0046] As a comparative example, a conventional decomposition method, i.e., a rotation angle of 0°, is used to perform vector decomposition on the historical time series to obtain the historical wind speed component set, and then... Axial components and The axial components are decomposed using CEEMDAN, yielding 19-20 IMFs and 1 residual for each. After classification based on energy proportion, the low-frequency mode is trained using a CNN-LSTM model (2 LSTM layers, 64 hidden units, and Dropout=0.2), the mid-frequency mode using an XGBoost model, and the high-frequency mode using a linear regression model. The training set comprises 70%, the validation set 10%, and the test set 20%. The predicted wind speed component set is obtained from the trained prediction model. Finally, the predicted results are inversely rotated and synthesized to obtain the predicted wind speed and direction values.
[0047] The prediction accuracy of the two methods is shown in Table 1. In Table 1: RMSE represents the root mean square error, which is the arithmetic square root of the mean square error. Its dimensions are completely consistent with the original wind speed and direction data, and it directly reflects the overall deviation level between the predicted and actual values. MAE represents the mean absolute error, which is the average of the absolute differences between the predicted and actual values. Its dimensions are completely consistent with the original wind speed and direction data, and it directly reflects the actual absolute magnitude of the prediction error, without amplifying the impact of abnormal errors through squaring. R² represents the coefficient of determination, which measures the model's ability to explain the overall variability of wind speed and direction data. Its value is usually between 0 and 1. The closer it is to 1, the higher the proportion of wind condition data variation that the model can explain, and the better the overall fit of the model.
[0048] Table 1 Comparison of Prediction Accuracy between the Two Methods
[0049] The results show that, compared with the prediction accuracy of conventional decomposition, the wind speed and direction prediction method based on rotated coordinate axis vector decomposition proposed in this application reduces the wind speed RMSE by 15.2%, the wind speed MAE by 23.4%, and the wind speed R² from 0.907 to 0.933. Although the RMSE for wind direction is slightly improved, this is partly due to the simplicity of the model, resulting in flat data and no significant improvement. The above results verify the effectiveness of the wind speed and direction prediction method based on rotated coordinate axis vector decomposition proposed in this application.
[0050] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus (systems), or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The solutions in the embodiments of this application can be implemented in various computer languages, such as the object-oriented programming language Java and the interpreted scripting language JavaScript.
[0051] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce an instruction that executes via the processor of the computer or other programmable data processing apparatus to create an instruction for implementing the flowchart. Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0052] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0053] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0054] Finally, it should be noted that the above content is only used to illustrate the technical solution of this application, and is not intended to limit the scope of protection of this application. Simple modifications or equivalent substitutions made by those skilled in the art to the technical solution of this application shall not depart from the substance and scope of the technical solution of this application.
Claims
1. A wind speed and wind direction prediction method based on the decomposition of the rotating coordinate axis vector, characterized by, This includes obtaining the current time series, which represents the wind speed and direction time series of the current time window, and the current time window represents the first time window with the current moment as the termination moment; Based on the optimal rotation angle, the current time series is decomposed using the rotating coordinate axis method to obtain the current input wind speed component set; the optimal rotation angle is obtained by calculating the minimum average standard deviation based on the historical wind speed component set, the historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size and the rotating coordinate axis method, and the historical time series represents the wind speed and wind direction time series of historical periods; The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on the historical time series, the optimal rotation angle, the mode decomposition method, and the machine learning model. The predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components for the predicted time period corresponding to the current time. At least one set of predicted wind speed and direction values for the predicted time period is obtained based on the predicted wind speed component set.
2. The wind speed and wind direction prediction method based on the decomposition of the rotating coordinate axis vectors according to claim 1, characterized in that, Obtaining the optimal rotation angle includes: The set of rotation angles is obtained by traversing the candidate angle interval based on the preset step size; The historical wind speed component set is obtained by decomposing the historical time series based on each rotation angle using the rotating coordinate axis decomposition method. The historical wind speed component set represents the set of historical wind speed component time series, and the historical wind speed component time series represents the first wind speed component time series and the second wind speed component time series of the historical period corresponding to each rotation angle. The first standard deviation corresponding to the rotation angle is obtained by calculating the standard deviation of the first wind speed component time series. The second standard deviation corresponding to the rotation angle is obtained by calculating the standard deviation of the second wind speed component time series. The average standard deviation corresponding to the rotation angle is obtained by averaging the first standard deviation and the second standard deviation. Based on the candidate angle range, the rotation angle with the smallest average standard deviation is taken as the optimal rotation angle.
3. The wind speed and direction prediction method based on rotating coordinate axis vector decomposition according to claim 2, characterized in that, The range of the candidate angle interval includes .
4. The wind speed and direction prediction method based on rotating coordinate axis vector decomposition according to claim 2, characterized in that, The preset step length has a value range including .
5. The wind speed and wind direction prediction method based on the decomposition of the rotating coordinate axis vector according to claim 1, characterized in that, The prediction model is obtained based on the historical time series, the optimal rotation angle, the mode decomposition method, and the machine learning model, including: Based on the first time window, the historical time series is processed to obtain an initial input time series set and an initial output time series set; the initial input time series set represents the set of initial input time series, and the initial input time series represents the wind speed and wind direction time series of each first time window in the historical period; the initial output time series set represents the set of initial output time series, and the initial output time series represents the wind speed and wind direction time series of the predicted period corresponding to each first time window in the historical period. Based on the optimal rotation angle, the initial input time series set is decomposed using the rotating coordinate axis method to obtain the historical input wind speed component set; Based on the optimal rotation angle, the initial output time series set is decomposed using the rotating coordinate axis method to obtain the historical output wind speed component set; The prediction model is obtained by using the modal decomposition method and the machine learning model, based on the historical input wind speed component set and the historical output wind speed component set.
6. The wind speed and direction prediction method based on the decomposition of the rotating coordinate axis vectors according to any of claims 1-5, characterized by, The predicted wind speed and wind direction values include predicted wind speed and predicted wind direction. Based on the predicted wind speed component set, at least one set of predicted wind speed and direction values for the predicted time period is obtained, including: The predicted wind speed value for each group is obtained by taking the square root of the sum of squares of each predicted wind speed component. Based on the rotating coordinate axis method, the wind direction angle of the corresponding group based on the rotating coordinate axis is calculated based on each group of predicted wind speed components; The wind direction prediction value for the corresponding group is obtained based on the wind direction angle and the optimal rotation angle.
7. A wind speed and wind direction prediction model based on decomposition of rotating coordinate axis vectors, characterized in that, It includes a data acquisition module and a data processing module; The data acquisition module is used to acquire the current time series, which represents the wind speed and wind direction time series of the current time window, and the current time window represents the first time window with the current moment as the termination moment. The data processing module is used to decompose the current time series based on the optimal rotation angle and the rotating coordinate axis method to obtain the current input wind speed component set, obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model, and obtain at least one set of wind speed and wind direction prediction values for the prediction period based on the predicted wind speed component set. The optimal rotation angle is obtained by calculating the minimum average standard deviation of the historical wind speed component set. The historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size, and the rotation coordinate axis method. The historical time series represents the wind speed and wind direction time series of historical periods. The prediction model is obtained based on the historical time series, the optimal rotation angle, the modal decomposition method, and the machine learning model. The predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components for the predicted time period corresponding to the current time.
8. The wind speed and wind direction prediction model based on the decomposition of the rotating coordinate axis vectors according to claim 7, characterized in that, The data processing module includes a decomposition unit and a prediction unit; The decomposition unit is used to decompose the current time series based on the optimal rotation angle and using the rotating coordinate axis method to obtain the current input wind speed component set, and to obtain at least one set of wind speed and wind direction prediction values for the prediction period based on the predicted wind speed component set. The prediction unit is used to configure the prediction model and to obtain the predicted wind speed component set based on the current input wind speed component set and the prediction model. 9.A method for constructing a wind speed and wind direction prediction model based on rotation coordinate axis vector decomposition, characterized in that, include: The historical time series, candidate angle intervals, and preset step size are obtained respectively, and the historical time series represents the wind speed and wind direction time series of historical periods; The historical wind speed component set is obtained based on the historical time series, the candidate angle interval, the preset step size, and the rotating coordinate axis method. The optimal rotation angle is obtained by finding the minimum mean standard deviation based on the historical wind speed component set. A prediction model is obtained based on the historical time series, the optimal rotation angle, the mode decomposition method, and the machine learning model.
10. A wind turbine control method based on rotating coordinate axis vector decomposition, characterized in that, include: Obtain the current time series, which represents the wind speed and direction time series of the current time window, and the current time window represents the first time window with the current moment as the termination moment; Based on the optimal rotation angle, the current time series is decomposed using the rotating coordinate axis method to obtain the current input wind speed component set; the optimal rotation angle is obtained by calculating the minimum average standard deviation based on the historical wind speed component set, the historical wind speed component set is obtained based on the historical time series, candidate angle intervals, preset step size and the rotating coordinate axis method, and the historical time series represents the wind speed and wind direction time series of historical periods; The predicted wind speed component set is obtained based on the current input wind speed component set and the prediction model; the prediction model is obtained based on the historical time series, the optimal rotation angle, the mode decomposition method, and the machine learning model. The predicted wind speed component set represents at least one set of predicted wind speed components, and the predicted wind speed components represent the wind speed components for the predicted time period corresponding to the current time. At least one set of predicted wind speed and direction values for the predicted time period is obtained based on the predicted wind speed component set. Control commands are obtained based on at least one set of predicted wind speed and direction values; Control the wind turbine according to the control command.
