Wind farm clutter identification method based on random forest

By establishing multiple decision tree classifiers and dual grid search strategies based on random forest methods, the accuracy and robustness problems in wind farm clutter identification are solved, and efficient and accurate identification and processing of complex data are achieved. , suitable for diverse wind farm layouts and weather conditions.

CN118656738APending Publication Date: 2024-09-17CHENGDU UNIV OF INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410759871.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology has insufficient accuracy and weak robustness in identifying wind farm clutter, and has limited feature selection. It is difficult to process high-dimensional and complex data, resulting in false positives and false negatives. Moreover, traditional methods are inefficient in real-time applications and have an impact. Reliability of radar data.

Method used

A wind farm clutter identification method based on random forest is used to classify and train the original data set by establishing multiple decision tree classifiers. The final prediction result is obtained by combining voting or averaging methods, and a dual grid search strategy is used to reduce the training time cost. Improve model robustness and select the most relevant features through feature importance ranking.

Benefits of technology

It improves the identification accuracy of wind farm clutter and real meteorological signals, enhances the robustness and adaptability of the model, reduces false positives and false negatives, can effectively handle high-dimensional and complex data, and provides real-time detection and identification capabilities. Suitable for different types of weather radar data and diverse wind farm layouts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656738A
    Figure CN118656738A
Patent Text Reader

Abstract

The invention relates to a wind power plant clutter recognition method based on a random forest, and the method comprises the steps: carrying out the classification training of a wind power plant data set based on a random forest classification method, constructing a wind power plant clutter recognition model based on the random forest, training a plurality of decision tree classifiers, and carrying out the recognition of the clutter. Prediction results of the decision tree classifiers are combined through a voting mechanism to obtain a final prediction result, so that the possibility of false report and missing report is reduced; a double-grid search strategy is adopted, rough search is carried out firstly, then fine search is carried out, and the time cost of model training is greatly reduced; through feature importance analysis, the model is helped to select the most relevant features, the robustness under different weather conditions is increased, and the generalization ability of predicting new radar data is improved. Particularly, derivative features of seven radar secondary products are considered, and the accuracy of model classification prediction can be improved by integrating multiple features for analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of weather radar echo data processing, and in particular to a wind farm clutter recognition method based on random forest. Background Art

[0002] Wind energy resources are extremely abundant worldwide, and the number of wind farms around the world is increasing. Radar echoes from wind turbines exhibit significant power scattering characteristics and Doppler spectrum broadening effects, which interfere with the detection of meteorological targets and thus affect weather forecasts and disaster warning decisions. Radar echoes from wind farms, also known as wind turbine clutter (WTC), wind turbines are densely arranged in clusters called wind parks (WPs), and WTC signals are sometimes similar to weather signals in power and spectral content, making them difficult to distinguish on plan-position indicator (PPI) weather radar images.

[0003] To analyze the impact of wind turbines in detail, researchers have recorded time series of raw radar data. Gallardo et al. collected several months of raw radar data from a Spanish C-band weather radar and analyzed the impact of large wind farms. Crum and Vogt et al. demonstrated the impact of wind turbines on radar products using US S-band weather radar data. Toth et al. studied the impact of wind turbines at close range using a mobile X-band Doppler radar, while Norin and Haase studied the same phenomenon using long time series of Swedish C-band weather radar products. Subsequently, Norin et al. further studied the impact of wind turbines on all three spectral moments (radar reflectivity factor, radial velocity and spectral width) to deepen the understanding of the impact of wind turbines on Doppler weather radar data. To observe the frequency domain feature map of wind turbines, a method for scanning weather radars was proposed. Gallardo-Hernando et al. proposed a frequency domain based wind turbine clutter detection algorithm using the typical characteristics of wind turbines (large radar scattering cross section and significant Doppler shift). Nai et al. suggested using range-Doppler domain signal processing to detect and eliminate the influence of wind turbines. Hood et al. combined fuzzy logic method to realize automatic identification of wind farm clutter based on the characteristics of wind farm echoes in radar echo time domain data. Cheong et al. used the reflectivity, Doppler velocity and spectral width characteristics in level-II data and combined with FIS method to identify wind farm clutter under normal meteorological conditions. Based on the wind farm identification method proposed by Cheong et al., He Weikun et al. determined the membership function of each feature quantity used to identify wind farm clutter by constructing the probability distribution histogram and one-dimensional range distribution of feature quantities, and set corresponding logical rules to realize adaptive detection and identification of wind farm clutter. Su Tianji et al. analyzed five radar-based data feature quantities, including wind turbine clutter with high reflectivity factor uplift and horizontal channel signal-to-noise ratio uplift, as well as large velocity singularity, with signal quality index close to 1 and spectral width close to 0 or greater than 7.0. Based on the statistical results of these characteristic quantities, a fuzzy logic algorithm is used to identify the characteristics of wind turbine clutter in radar-based data.

[0004] There are still some shortcomings in the existing methods. Insufficient accuracy. Existing methods, such as those based on fuzzy logic, may be inaccurate in distinguishing wind farm clutter from real weather signals. Especially when the weather conditions are complex and the interference signals generated by wind turbines are similar to the actual weather signals, the accuracy will decrease, which may lead to false alarms or missed alarms. Weak robustness. Many existing schemes show instability when dealing with different meteorological conditions and diverse wind farm layouts. Since these schemes usually rely on fixed thresholds or rules, they may not be able to be flexibly adjusted when weather conditions change, thus affecting the reliability of radar data. Limited feature selection. Some methods are based on only a few radar parameters, such as reflectivity factor, radial velocity, etc. This limitation of feature selection may lead to poor clutter recognition. At present, the new generation of weather radars are undergoing large-scale dual-polarization upgrades, and the dual-polarization parameter characteristics of wind farm clutter have become the focus of research. In addition, methods based on simple combinations or static thresholds may not be able to effectively distinguish wind farm clutter from real weather signals. Lack of machine learning technology. Many existing methods do not fully utilize the advantages of machine learning technology, especially the ability to handle high-dimensional and complex data. The logical rules of traditional methods may fail in complex scenarios, while machine learning techniques can process complex data more effectively and provide more robust solutions. Unable to process large amounts of data, existing solutions may be inefficient when processing large amounts of radar data, making it difficult to detect and identify wind farm clutter in real time. For high-dimensional data sets, traditional methods may face problems with computational efficiency and time cost, limiting their practicality in real-time applications. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention proposes a random forest-based wind farm clutter identification method. The clutter identification method is based on the random forest method, and multiple decision tree classifiers are established to classify and train the original data set. The results of each classifier are voted or averaged to obtain the final prediction result, thereby improving the classification accuracy. A dual grid search strategy is adopted to reduce the training time cost and improve the robustness of the model. Specifically, the method includes:

[0006] Step 1: Preprocess the radar echo base data. Based on the position invariance of wind farm clutter, use map information to obtain wind farm boundary data, and then convert it into radar azimuth distance information, including time information and position information, and further convert it into time and space coordinate prior information that can be determined by the radar echo processing program;

[0007] Step 2: Build a wind farm dataset, including:

[0008] Step 21: Slide the secondary radar data in a 4×4 window along the radial direction and the range library direction, with a sliding step of 1, to obtain a 4×4 data block. The secondary radar data includes reflectivity, radial velocity, velocity spectrum width, differential reflectivity, differential propagation phase shift, and correlation coefficient.

[0009] Step 22: Calculate the relevant features of each data block in step 21 and the wind farm clutter, the relevant features specifically including maximum value, minimum value, average value, polarization parameter, cutting edge speed, rotation speed, spectrum and momentum;

[0010] Step 23: Sample calibration: according to the time information, coordinate information and radar position information of the wind farm, the relevant features calculated in step 22 are annotated to obtain the wind farm data set;

[0011] Step 3: After completing the labeling operation of the wind farm data set in step 2, the random forest classification method is used to classify the data samples, which includes four stages: Bootstrap sampling, model training, model prediction and result evaluation. In the Bootstrap sampling stage, multiple training data sets are generated by sampling with replacement; in the model training stage, multiple decision tree models are trained using the sampled multiple training data sets; in the model prediction stage, the radar data samples to be classified are input into each trained decision tree model, and the prediction results of each decision tree model are integrated; finally, in the result evaluation stage, the final classification prediction results are determined by voting or averaging, and the model performance is evaluated;

[0012] Step 31: Construct a wind farm clutter recognition model based on random forest. First, read the wind farm data set and divide the wind farm data set into a training set and a test set according to a ratio of 8:2;

[0013] Step 32: Initialize the wind farm clutter recognition model, use the training set to train the clutter recognition model, for each sub-sample 1 to sub-sample n in the training set, establish decision trees 1 to decision trees n, learn the feature relationship between the sub-samples and the labeled samples, adopt a double grid search strategy, first grid search, use the grid search algorithm to combine model parameters for rough search, obtain a rough parameter combination, further refine the search range based on the rough parameter combination, perform interval refinement search, and obtain the optimal combination parameters and the optimal model;

[0014] Step 33: Feature importance sorting: The feature importance calculation module is used to calculate and sort the importance of 41 features, retain the top 25 features in importance, and remove the remaining 16 features.

[0015] Step 34: Retrain the optimization model, use the 25 retained features to retrain the wind farm clutter recognition model, and use a double grid search strategy to optimize the hyperparameter combination. The first search is a rough search to obtain rough parameters, and the second search is a fine search to obtain the optimal parameters and the optimal wind farm clutter recognition model.

[0016] Step 35: Model prediction. For each decision tree, the sub-sample to be predicted is input into the tree. Each decision tree will output a category label for the sub-sample to be predicted. The category labels output by all decision trees are voted or averaged to obtain the final prediction result.

[0017] Step 36: Model evaluation: Under the optimal parameters, the test set is input into the trained wind farm clutter recognition model, and the wind farm clutter recognition model is evaluated by calculating the objective evaluation score, which includes accuracy, precision, geometric mean, hit rate, ROC line area and false positive rate;

[0018] Step 4: Load the trained wind farm clutter recognition model, input actual radar data containing wind farm clutter for recognition, and analyze the characteristics that affect the clutter.

[0019] The beneficial effects of the present invention are:

[0020] 1. The method of the present invention has higher accuracy. The classification algorithm based on random forest (RF) can more accurately identify wind farm clutter and real meteorological signals. The random forest algorithm can process multi-dimensional features and flexibly adjust parameters to ensure high accuracy in complex data environments.

[0021] 2. The method of the present invention has stronger robustness. The method of the present invention takes into account a variety of radar features, including reflectivity factor, differential phase shift rate, radial velocity and velocity spectrum width, as well as differential reflectivity, differential phase shift and correlation coefficient. Comprehensive feature analysis enables the model to more accurately distinguish wind farm clutter from other radar signals. With changes in weather conditions and wind farm layout, traditional methods may not be able to operate stably. The random forest algorithm has strong adaptability. Through feature importance analysis, random forests can select the most relevant features, thereby maintaining robustness under different weather conditions. In addition, random forests usually have better generalization capabilities when faced with unseen data.

[0022] 3. Take advantage of machine learning. As the amount of data increases, traditional methods may have difficulty processing complex and high-dimensional data. Random forests are suitable for processing high-dimensional and complex data, such as data sets with a large number of features or data with complex nonlinear relationships. As a powerful machine learning algorithm, random forests can better process large amounts of data and provide real-time clutter detection and recognition capabilities.

[0023] 4. The method of the present invention can reduce false positives and false negatives. Random forest reduces the possibility of false positives and false negatives by constructing a large number of decision trees and adopting the majority voting method. This allows the model to reduce the risk of misidentification while ensuring high accuracy. The model is highly interpretable. Although random forest is a complex machine learning algorithm, it has strong interpretability. Researchers can understand the decision-making process of the model by analyzing the split characteristics of each decision tree, which facilitates further adjustment and optimization.

[0024] 5. Scalability and versatility. Random forest has good scalability and versatility. The detection and recognition method proposed in the present invention can be applied to different types of meteorological radar data and can be used in various wind farm layouts and weather conditions, and has wide applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a processing flow chart of the power plant clutter identification method of the present invention;

[0026] Figure 2 is a flow chart of constructing a wind farm data set according to the present invention;

[0027] Figure 3 It is a schematic diagram of data set labeling of the present invention;

[0028] Figure 4 is a random forest method processing flow chart of the present invention;

[0029] Figure 5 It is a training optimization flow chart of the clutter recognition model of the present invention;

[0030] Figure 6 It is the wind farm clutter identification result of the method of the present invention under the condition of no weather;

[0031] Figure 7 It is the wind farm clutter identification result of the method of the present invention under weather conditions;

[0032] Figure 8 This is the wind farm clutter recognition result of the method of the present invention on the radar data of Shangchuan Island in Guangdong;

[0033] Fig. 9 This is the wind farm clutter recognition result of the method of the present invention on Changsha radar data. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0035] The following is a detailed description with reference to the accompanying drawings.

[0036] The turbines and their rotating blades at wind farms generate clutter interference in weather radars, which in turn affects the accuracy of radar data. This problem is crucial for accurately predicting weather and monitoring dangerous weather events such as precipitation, wind shear, hail, rainstorms and tornadoes, because clutter interference may cause the quality of radar data to deteriorate, affecting meteorologists' interpretation of radar data and the accuracy of numerical weather forecast models. The specific technical problems solved by the present invention include the following aspects:

[0037] 1. Distinguishing between clutter and real weather signals: The radar echoes generated by wind turbines and rotating blades may overlap with natural meteorological phenomena (such as precipitation, clouds, etc.) in terms of reflectivity, radial velocity, spectral width and other parameters. This overlap makes it difficult to distinguish between clutter and real weather signals, which in turn affects the accuracy of weather forecasts.

[0038] 2. Impact of clutter on radar systems: Clutter can affect critical radar operations and may result in degradation of radar data, leading to erroneous forecasts and predictions. Phenomena such as Doppler shift, multiple scattering, and signal attenuation generated by wind turbines may cause instability and misinterpretation of radar data.

[0039] 3. Accurately identify wind farm clutter under various weather conditions: The impact of clutter may present different characteristics under different weather conditions. For example, under clear sky and precipitation conditions, the clutter generated by wind turbines may be more difficult to distinguish from weather phenomena. Therefore, a stable and effective method is needed to detect and identify wind farm clutter to ensure the accuracy of radar data.

[0040] Figure 1 The following is a detailed description of the wind farm clutter identification method of the present invention in conjunction with the accompanying drawings.

[0041] Step 1: Preprocess the radar echo base data. Based on the position invariance of wind farm clutter, use map information to obtain wind farm boundary data, and then convert it into radar azimuth distance information, including time information and location information, and convert it into time and space coordinate prior information that can be judged by the radar echo processing program. The radar echo processing program is used to judge and identify the time and space coordinates of radar data.

[0042] Specifically, the radar base data of Nantong City, Jiangsu Province is used to process the base data, including deleting outliers and missing values. If an item is missing, all data of the corresponding data block (here "block" refers to the data unit divided by space, such as the data set in a specific area) is deleted. The size of the data block is 4×4;

[0043] Step 2: Build a wind farm dataset. The process of building a wind farm dataset is as follows: Figure 2 As shown, specifically including:

[0044] Step 21: Slide the extracted secondary radar data in a 4×4 window along the radial direction and the range library direction, with a sliding step of 1, to obtain a 4×4 data block; the secondary radar data refers to the meteorological parameter data obtained by processing and calculating the original radar echo signal (primary data). The secondary radar data includes reflectivity, radial velocity, velocity spectrum width, differential reflectivity, differential propagation phase shift and correlation coefficient.

[0045] Setting the block size to 4×4 can usually contain most of the wind farm clutter sample information, annotating the sample vector information, which refers to the feature vector containing multiple meteorological parameters extracted from each 4×4 data block. Each data block contains a 4×4 data matrix, including reflectivity, radial velocity, velocity spectrum width, differential reflectivity, correlation coefficient and differential propagation phase shift, which will be used to calculate the characteristics related to wind turbine clutter.

[0046] Step 22: Calculate the relevant features of each data block in step 21 and the wind farm clutter, and the relevant feature calculation specifically includes maximum value, minimum value, average value, polarization parameter, cutting edge speed, rotation speed, spectrum and momentum.

[0047] For fixed targets with strong reflectivity, such as wind farm clutter, the reflectivity value is high, while for non-stationary targets, such as isolated storm cells, the feature quantity is small. Therefore, in the 4×4 reflectivity data block, the maximum, minimum and average reflectivity values ​​of the area where the data block is located are calculated, and these values ​​are used as the features of the wind farm data set.

[0048] The radial velocity of the weather radar provides information about the wind speed and direction of the target moving along the direction of the radar beam. A positive radial velocity indicates that the wind is moving away from the radar, and a negative value indicates that the wind is moving toward the radar. Radial velocity data plays a key role in the identification of clutter in wind farms. By calculating the velocity difference, it is possible to determine whether there are positive and negative radial velocities in the current area, as well as the size of the difference between them, thereby determining whether the area is located in the wind farm area. In addition, factors such as angular momentum (calculating the angular momentum between distance bins), shear (determining the shear value of clutter in the horizontal direction), and rotational speed (calculating the rotational speed value between distance bins) are also considered.

[0049] The rotation of wind turbine blades causes the radial velocity of each scattering point to show a large Doppler frequency broadening, so the average spectral width of the wind farm clutter area is usually large. Under normal meteorological conditions, the spectral width of meteorological targets is narrower than that of wind farm clutter, but when air movement produces turbulence, the spectral width will also become wider. When calculating features, the spectral width block is used, and the maximum value, minimum value, average value, range and threshold of the spectral width block of the corresponding area are used as the features of the spectral width grid.

[0050] Clutter caused by wind farms often manifests itself as anomalous variations in differential reflectivity. Such anomalous variations may indicate that the wind turbine blades cause asymmetric scattering characteristics, resulting in different echo intensities in the horizontal and vertical directions. Differential reflectivity plays a key role in identifying wind farm clutter, so it is critical to calculate the maximum, minimum, and average values ​​of the differential reflectivity for the area where the block is located.

[0051] The turbine blades in a wind farm usually cause in-phase scattering, that is, there is a correlation between the echoes in the horizontal and vertical directions. Therefore, the clutter caused by the turbine may appear as a high value on the correlation coefficient CC. By observing the changes in the correlation coefficient CC, it is possible to identify in-phase scatterers and further determine whether they are wind farm clutter. In weather radar echoes, atmospheric scatterers usually show a low correlation coefficient CC because their scattering characteristics in the horizontal and vertical directions may be different. In contrast, the echoes caused by the turbine blades in a wind farm may appear as a high value on the correlation coefficient CC, which helps to distinguish them from atmospheric scatterers. Combined with parameters such as reflectivity and differential reflectivity, the accurate judgment of clutter can be improved.

[0052] In specific applications, differential reflectivity and correlation coefficient CC may be used simultaneously to analyze radar returns to provide a comprehensive understanding of the target. In the context of wind farm clutter, both parameters may provide critical information to help determine the source and nature of the return.

[0053] Step 23: Sample calibration, label the features calculated in step 22 according to the time information, coordinate information and radar position information of the wind farm to obtain a wind farm dataset, namely, a WTC dataset. Specifically, the sample is a vector sample with categories 0 and 1.

[0054] Figure 3 It is a sample marking schematic diagram of the method of the present invention. After the feature calculation is completed, the sample is an unlabeled sample and cannot be applied to the supervised learning model. The samples in the sample set are marked as wind farm clutter samples and non-clutter samples using the prior information such as the recorded wind farm location information. All values ​​are stored as vector samples, and samples without null values ​​are marked as valid data, and the location information of each block is recorded. Each sample is manually marked, including time information and location information. If a data block is located at the location of the wind farm, the vector sample corresponding to the block is marked as 1; if it is not at the wind farm location, it is marked as 0.

[0055] The dataset mainly uses observations at the lowest elevation angles in radar data. Wind turbines are usually located above the ground, not in the air. Therefore, radar data with lower elevation angles are more suitable for capturing the height range of wind farms and can provide more directly relevant information. In addition, radar data with lower elevation angles are more likely to capture atmospheric movements close to the ground, because the ground effect is more significant in this height range, which helps to more accurately monitor and predict wind field changes at the ground level.

[0056] In order to reduce the impact of wind farm clutter on radar data, it is possible to consider using data from high-elevation scans as a reference, which are usually not affected by wind farms. In this case, the observations of each measurement unit in the high-elevation scan can be used to estimate the parameters of the corresponding low-elevation scan unit, thereby eliminating the impact of wind farm clutter. This approach can help improve the accuracy of radar data and ensure that the monitoring of atmospheric motion is not interfered by wind farm clutter.

[0057] Step 3: After completing the labeling operation of the data set in step 2, the random forest classification method is used to classify the data. The random forest algorithm includes four stages: Bootstrap sampling in stage 1, model training in stage 2, model prediction in stage 3, and result evaluation in stage 4. In the Bootstrap sampling stage of stage 1, multiple training data sets are generated by sampling with replacement; in the model training stage of stage 2, multiple decision tree models are trained using the wind farm data set; in the model prediction stage of stage 3, the data samples to be classified are input into each trained decision tree model, and the prediction results of each decision tree model are combined; finally, in the result evaluation stage of stage 4, the final classification result is determined by voting or averaging, and the model performance is evaluated.

[0058] Random Forest (RF) is an integrated classification / regression method. The key to random forest is to randomly select a subset of variables and then split each node according to certain indicators. In classification tasks, random forests always show the highest prediction accuracy compared to other models. Random Forest (RF) models have been widely used to process data sets with a large number of predictors.

[0059] Figure 4 This is the processing flow of the random forest method of the present invention.

[0060] First, multiple sub-datasets are randomly extracted from the original dataset using a replacement sampling method, and the size of each sub-dataset is the same as the original dataset. This means that each sample may appear multiple times in the same sub-dataset, or may not appear in some sub-datasets. The purpose of Bootstrap sampling is to create multiple slightly different training datasets to ensure that each model can be exposed to different parts of the dataset and improve the diversity of the model.

[0061] Next, the model is trained, using each sub-dataset to train a separate decision tree model. The decision tree model is the basic building block of the random forest, which divides the data set into different categories or values ​​by recursively splitting features. Each decision tree is trained based on its corresponding sub-dataset to ensure that each model has different features.

[0062] Then, the trained random forest model is used to classify and predict the new unknown samples. Each decision tree makes a prediction for the sample and determines the final classification result by voting or averaging.

[0063] Finally, the performance of the model is evaluated. This may involve calculating classification accuracy, regression accuracy, or other relevant metrics to determine how well the model performs when predicting new data. At the same time, the model may also be tuned or parameter optimized to further improve its performance.

[0064] Random forest uses the bagging method to generate training data sets. When generating these training data sets, some samples in the initial training set will not be extracted. The set of these samples is called out-of-bag (OOB). Out-of-bag samples are not only used for model training optimization in the random forest algorithm, but are also often used to evaluate the importance of features. The higher the feature importance score, the more important the feature is.

[0065] When training machine learning algorithm models, it is usually necessary to adjust and combine hyperparameters to achieve the best model performance and performance. In the random forest algorithm, the parameters that often need to be adjusted include the splitting criterion (criterion: using Entropy or Gini), the number of trees (nesimators: the number of trees in the random forest), and the splitting features (max features: the size of the feature subset randomly selected during splitting). Manually adjusting these hyperparameters is time-consuming and laborious, and it is often difficult to find the best combination. Therefore, it is necessary to use certain auxiliary algorithms to search for various combinations of hyperparameters. The GridSearch Algorithm (GSA) is an exhaustive algorithm that combines all hyperparameters within the range specified by the user, and trains and evaluates the model for all possible combinations to obtain the best hyperparameter combination.

[0066] Figure 5 The training and optimization process of the WTC-RF model is shown. When combining a large number of parameters using a grid search algorithm, multiple searches are usually required to improve efficiency and reduce time consumption. In the first search, the parameter range is wide and the interval is long, which is called a coarse search. Subsequent searches can use the results of the first search to further refine the search range and interval, which is called a fine search.

[0067] Step 31: Before building the wind turbine clutter detection model WTC-RF (Wind Turbine Clutter Detection Model based on Random Forest), first read the wind farm data set, store the radar data in a CSV file, and divide the wind farm data set into a training data set and a test data set according to a ratio of 8:2. The training set contains 7600 positive samples (class = 1) and 7600 negative samples (class = 0); the test set contains 1900 positive samples and 1900 negative samples. The positive sample is marked as 1, and the negative sample is marked as 0.

[0068] Step 32: Initialize the wind farm clutter recognition model, use the training set to train the clutter recognition model, and for each subsample 1-subsample n in the training set, establish decision trees 1 to decision trees n, and learn the characteristic relationship between the subsample and the labeled sample. Use two network search strategies, the first grid search, use the grid search algorithm to combine a large number of parameters, perform a rough search, and obtain a rough parameter combination. Based on the rough parameter combination, further refine the search range, perform interval refinement search, and obtain the optimal combination parameters and the optimal model (such as Figure 5 Model-1).

[0069] Step 33: Feature Importance Ranking, using the feature importance calculation module provided by the scikit-learn library, the importance of 41 features is calculated and ranked, as shown in Table 1. In view of the performance and speed of the model, the top 25 features are retained and the remaining 16 features are removed.

[0070] Table 1. Importance ranking of features in the WTC-RF model

[0071]

[0072]

[0073] Step 34: Retrain the optimization model, use the 25 retained features to retrain the wind farm clutter recognition model, and use a double grid search strategy to optimize the hyperparameter combination. The first search is a rough search to obtain rough parameters, and the second search is a fine search to obtain the optimal parameters and the optimal wind farm clutter recognition model, such as Figure 5 Model-2 in.

[0074] Step 35: Model prediction, for each decision tree, the sub-sample to be predicted is input into the tree, and each decision tree will cast a category label for the sub-sample to be predicted, such as category 1 to category n in the figure. The output results of all decision trees are voted or averaged to obtain the final prediction result. Each tree is trained on the original training set, and the final output category is determined by the majority vote of each tree and converted into the corresponding classification probability.

[0075] Step 36: Model evaluation: under the optimal parameters, the test set is input into the trained wind farm clutter recognition model, and the model is evaluated by calculating the objective evaluation score. The objective evaluation score includes accuracy, precision, geometric mean, hit rate, ROC line area, and false positive rate. The calculation results are shown in Table 2. Table 2 is the objective evaluation score of the optimal clutter recognition model of the present invention on the test set.

[0076] Table 2 Objective evaluation scores on the test set

[0077]

[0078] Step 4: Load the trained wind farm clutter recognition model, input actual radar data containing wind farm clutter for recognition, and analyze the characteristics that affect the clutter.

[0079] In order to further illustrate the beneficial effects of the method of the present invention, the WTC-RF model was tested on an actual wind farm clutter case. Figure 6The results of wind farm clutter identification under non-precipitation weather conditions of the Nantong radar are shown. Points falling into the wind farm area are marked with small black rectangles. The direct impact of wind farm clutter on all parameters can be observed through the 50 km radial range ring. Given an elevation angle of 0.5°, Figure 6 (a) is the clutter identification result on the reflectivity data (Z). The reflectivity value falling into the wind farm area is about 30dBZ, while Figure 6 (c) is the identification result on the differential reflectivity. The difference is due to the fact that the wind turbine structure is a blocky high object, resulting in a vertically polarized reflectivity (Z V ) is higher than the horizontal polarization reflectivity (Z H ), so that the differential reflectivity (Z DR ) is negative (-0.8 to -1.6). Figure 6 In the radial velocity (V) identification result diagram (b), the observed velocity oscillates between negative and positive values, causing noise to be generated during the operation of the weather radar, making it impossible to accurately predict weather conditions. The rotation of the wind turbine blades causes the radial velocity measured in the clutter area to be higher than the actual wind speed.

[0080] Figure 7 The results of wind farm clutter recognition by Nantong radar under precipitation (rain) weather conditions are shown. Through observations within a 50km radial range, it is clear that wind farm clutter has a direct impact on all parameters. Figure 7 (a) is the recognition result on the reflectivity data (R). Compared with the reflectivity measured under non-precipitation weather conditions, the reflectivity values ​​of the two are very similar, roughly between 10 and 35 dBZ. Only when the precipitation intensity is large, the reflectivity value of a small area may be as high as 50 dBZ. Under precipitation conditions, Figure 7 (b) is the phase shift in differential propagation The recognition results on the data are Figure 7 (b) shows that the wind turbine has little effect on the measurement of the differential propagation phase shift. Figure 7 In the correlation coefficient (CC) plot in (c), the measured values ​​in the clutter region range from 0.72 to 0.88.

[0081] While using the Nantong dual-polarization radar data, in order to further illustrate the universality and generalization ability of the wind farm clutter recognition model WTC-RF of the present invention, the trained model is also applied to other radar data. Figure 8 and Fig. 9 The WTC-RF model is used to identify wind power interference clutter on radar data from Shangchuan Island in Guangdong and radar data from Changsha. Points falling into the wind farm area are marked with small black rectangles. Figure 8 (a) is the recognition result on reflectivity data. Figure 8 (b) is the identification result on radial velocity. Figure 8 (c) is the recognition result based on the velocity spectrum width data. Fig. 9 (a) is the recognition result on reflectivity data. Fig. 9 (b) is the identification result on radial velocity. Fig. 9 (c) is the recognition result on the velocity spectrum width (W) data. The area recognized by the method proposed in the present invention is consistent with the actual geographical location, and the two are highly consistent. This shows that the method proposed in the present invention has a good recognition effect on different radar data.

[0082] It should be noted that the above specific embodiments are exemplary, and those skilled in the art can come up with various solutions inspired by the disclosure of the present invention, and these solutions also belong to the disclosure scope of the present invention and fall within the protection scope of the present invention. Those skilled in the art should understand that the present invention description and its drawings are illustrative and do not constitute a limitation of the claims. The protection scope of the present invention is defined by the claims and their equivalents.

Claims

1. A random forest-based wind farm clutter identification method, characterized in that: The clutter identification method is based on the random forest method. It classifies and trains the original data set by establishing multiple decision tree classifiers, and obtains the final prediction result by voting or averaging the results of each classifier to improve the classification accuracy. It adopts a double grid search strategy to reduce the training time cost and improve the robustness of the model, specifically including: Step 1: Preprocess the radar echo base data. Based on the position invariance of wind farm clutter, use map information to obtain wind farm boundary data, and then convert it into radar azimuth distance information, including time information and position information, and further convert it into time and space coordinate prior information that can be determined by the radar echo processing program; Step 2: Build a wind farm dataset, including: Step 21: Slide the secondary radar data in a 4×4 window along the radial direction and the range library direction, with a sliding step of 1, to obtain a 4×4 data block. The secondary radar data includes reflectivity, radial velocity, velocity spectrum width, differential reflectivity, differential propagation phase shift, and correlation coefficient. Step 22: Calculate the relevant features of each data block in step 21 and the wind farm clutter, the relevant features specifically including maximum value, minimum value, average value, polarization parameter, cutting edge speed, rotation speed, spectrum and momentum; Step 23: Sample calibration: according to the time information, coordinate information and radar location information of the wind farm, the relevant features calculated in step 22 are labeled to obtain the wind farm data set; Step 3: After completing the labeling operation of the wind farm data set in step 2, the random forest classification method is used to classify the data samples, which includes four stages: Bootstrap sampling, model training, model prediction and result evaluation. In the Bootstrap sampling stage, multiple training data sets are generated by sampling with replacement; in the model training stage, multiple decision tree models are trained using the sampled multiple training data sets; in the model prediction stage, the radar data samples to be classified are input into each trained decision tree model, and the prediction results of each decision tree model are integrated; finally, in the result evaluation stage, the final classification prediction results are determined by voting or averaging, and the model performance is evaluated; Step 31: Construct a wind farm clutter recognition model based on random forest. First, read the wind farm data set and divide the wind farm data set into a training set and a test set according to a ratio of 8:2; Step 32: Initialize the wind farm clutter recognition model, use the training set to train the clutter recognition model, for each sub-sample 1 to sub-sample n in the training set, establish decision trees 1 to decision trees n, learn the feature relationship between the sub-samples and the labeled samples, adopt a double grid search strategy, first grid search, use the grid search algorithm to combine model parameters for rough search, obtain a rough parameter combination, further refine the search range based on the rough parameter combination, perform interval refinement search, and obtain the optimal combination parameters and the optimal model; Step 33: Feature importance sorting: The feature importance calculation module is used to calculate and sort the importance of 41 features, retain the top 25 features in importance, and remove the remaining 16 features. Step 34: Retrain the optimization model, use the 25 retained features to retrain the wind farm clutter recognition model, and use a double grid search strategy to optimize the hyperparameter combination. The first search is a rough search to obtain rough parameters, and the second search is a fine search to obtain the optimal parameters and the optimal wind farm clutter recognition model. Step 35: Model prediction. For each decision tree, the sub-sample to be predicted is input into the tree. Each decision tree will output a category label for the sub-sample to be predicted. The category labels output by all decision trees are voted or averaged to obtain the final prediction result. Step 36: Model evaluation: Under the optimal parameters, the test set is input into the trained wind farm clutter recognition model, and the wind farm clutter recognition model is evaluated by calculating the objective evaluation score, which includes accuracy, precision, geometric mean, hit rate, ROC line area and false positive rate; Step 4: Load the trained wind farm clutter recognition model, input actual radar data containing wind farm clutter for recognition, and analyze the characteristics that affect the clutter.

Citation Information

Cited By

  • Mine water inrush disaster prevention and control evaluation method based on fault water intelligent identification and early warning

    CN119784149A