Fan control method, device, electronic device and storage medium
By obtaining historical wind speed data of the fan environment, using Weibull distribution fitting to predict wind speed values, and controlling the fan activation status based on correlation, the problem of fan damage when the wind speed is too high is solved and the fan protection is achieved.
Patent Information
- Application Number
- CN202211548675.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-12-05
AI Technical Summary
In the prior art, the fan stops running only when the wind speed reaches the cut-out wind speed, resulting in excessive wind speed still causing damage to the fan.
By obtaining the historical wind speed data of the wind turbine environment, the predicted wind speed value is fitted using the Weibull distribution. Based on the correlation between the historical wind speed data and the predicted wind speed value, the activation status of the wind turbine is controlled in advance to prevent damage to the wind turbine when the wind speed is too high.
The accuracy of wind speed value prediction is achieved in advance, and the activation status of the fan is adjusted in advance to avoid damage to the fan due to excessive wind speed.
Smart Images

Figure CN115898765B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of fan control technology, and in particular to a fan control method, a fan control device, an electronic device, and a computer-readable storage medium. Background Art
[0002] In recent years, my country's wind power generation has developed rapidly, with installed wind turbine capacity doubling and its share of the nation's installed power generation capacity steadily increasing. To prevent damage from excessively high wind speeds, wind turbines are designed to operate only when the wind speed is greater than the cut-in speed and less than or equal to the cut-out speed. They are deactivated when the wind speed is greater than or equal to the cut-out speed.
[0003] Then, the current method is usually to monitor the wind speed in real time, and only control the wind turbine to stop running when the wind speed reaches the cut-out wind speed, resulting in excessive wind speed still causing damage to the wind turbine. Summary of the Invention
[0004] The embodiments of the present invention provide a wind turbine control method, device, electronic device and storage medium to solve the problem that the wind turbine is only stopped when the wind speed reaches the cut-out wind speed, resulting in excessive wind speed still causing damage to the wind turbine.
[0005] An embodiment of the present invention discloses a fan control method, the method comprising:
[0006] Obtaining historical wind speed data of the environment in which the wind turbine is located; wherein the historical wind speed data includes first historical wind speed values of multiple consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of multiple second historical time periods in the previous cycle, wherein the multiple second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle;
[0007] According to the historical wind speed data, a predicted wind speed value for the time period to be predicted is fitted using a Weibull distribution;
[0008] Comparing the first historical wind speed value with its corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value;
[0009] The activation state of the wind turbine is controlled according to the predicted wind speed value and the correlation.
[0010] Optionally, comparing the first historical wind speed value with the corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value includes:
[0011] Calculating a first wind speed difference between the first historical wind speed value and the corresponding second historical wind speed value;
[0012] The ratio of the number of first historical time periods corresponding to the first wind speed difference being less than the first preset wind speed difference to the total number of the first historical time periods is used as the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value.
[0013] Optionally, controlling the activation state of the wind turbine according to the predicted wind speed value and the correlation includes:
[0014] Determining whether the predicted wind speed value is accurate based on the correlation;
[0015] When the predicted wind speed value is accurate, the activation state of the wind turbine is controlled according to the predicted wind speed value.
[0016] Optionally, judging whether the predicted wind speed value is accurate based on the correlation includes:
[0017] When the correlation is greater than or equal to a preset correlation value, calculating a second wind speed difference between the predicted wind speed value and the second corresponding historical wind speed value;
[0018] When the second wind speed difference is less than a second preset wind speed difference, it is determined that the predicted wind speed value is accurate.
[0019] Optionally, controlling the activation state of the wind turbine according to the predicted wind speed value includes:
[0020] When the predicted wind speed value is less than a first preset wind speed value, or the predicted wind speed value is greater than or equal to a second preset wind speed value, adjusting the enabled state of the wind turbine to a disabled state; wherein the first preset wind speed value is less than the second preset wind speed value;
[0021] When the predicted wind speed value is greater than or equal to the first preset wind speed value and less than the second preset wind speed value, the activation state of the wind turbine is adjusted to the on state.
[0022] Optionally, it also includes:
[0023] Obtaining a true wind speed value of the environment in which the fan is located, a true output power value of the fan, and a reference wind speed value and a reference power value when the fan fails;
[0024] Calculating a third wind speed difference between the true wind speed value and the reference wind speed value, and a power difference between the true output power value and the reference power value;
[0025] The activation state of the wind turbine is controlled according to the third wind speed difference and the power difference.
[0026] Optionally, controlling the activation state of the wind turbine according to the third wind speed difference and the power difference includes:
[0027] When the third wind speed difference is less than a third preset wind speed difference, and / or the power difference is less than a preset power difference, the enabled state of the wind turbine is adjusted to a disabled state.
[0028] The embodiment of the present invention further discloses a fan control device, comprising:
[0029] a data acquisition module, configured to acquire historical wind speed data of the environment in which the wind turbine is located; wherein the historical wind speed data includes first historical wind speed values of a plurality of consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of a plurality of second historical time periods in a previous cycle, wherein the plurality of second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle;
[0030] A wind speed fitting module is used to fit the predicted wind speed value for the time period to be predicted using Weibull distribution based on the historical wind speed data;
[0031] a correlation determination module, configured to compare the first historical wind speed value with its corresponding second historical wind speed value, and determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value;
[0032] A fan control module is used to control the activation state of the fan according to the predicted wind speed value and the correlation.
[0033] Optionally, the correlation determination module includes:
[0034] a wind speed difference calculation submodule, configured to calculate a first wind speed difference between the first historical wind speed value and its corresponding second historical wind speed value;
[0035] The correlation determination submodule is used to use the ratio of the number of the first historical time periods corresponding to the first wind speed difference being less than the first preset wind speed difference to the total number of the first historical time periods as the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value.
[0036] Optionally, the fan control module includes:
[0037] an accuracy judgment submodule, configured to judge whether the predicted wind speed value is accurate based on the correlation; and execute the wind turbine control submodule when the predicted wind speed value is accurate;
[0038] The fan control submodule is used to control the activation state of the fan according to the predicted wind speed value.
[0039] Optionally, the accuracy determination submodule includes:
[0040] a wind speed difference calculation unit, configured to calculate a second wind speed difference between the predicted wind speed value and the corresponding second historical wind speed value when the correlation is greater than or equal to a preset correlation value;
[0041] The accuracy judgment unit is used to determine that the predicted wind speed value is accurate when the second wind speed difference is less than a second preset wind speed difference.
[0042] Optionally, the fan control submodule includes:
[0043] a first fan control unit, configured to adjust the fan's enabled state to a disabled state when the predicted wind speed value is less than a first preset wind speed value or when the predicted wind speed value is greater than or equal to a second preset wind speed value; wherein the first preset wind speed value is less than the second preset wind speed value;
[0044] The second fan control unit is used to adjust the activation state of the fan to the on state when the predicted wind speed value is greater than or equal to the first preset wind speed value and less than the second preset wind speed value.
[0045] Optionally, it also includes:
[0046] The data acquisition module is further used to obtain the real wind speed value of the environment in which the wind turbine is located, the real output power value of the wind turbine, and the reference wind speed value and reference power value when the wind turbine fails;
[0047] a difference calculation module, configured to calculate a third wind speed difference between the true wind speed value and the reference wind speed value, and a power difference between the true output power value and the reference power value;
[0048] The fan control module is further configured to control the activation state of the fan according to the third wind speed difference and the power difference.
[0049] Optionally, the fan control module includes:
[0050] The fan control submodule is further configured to adjust the enabled state of the fan to the disabled state when the third wind speed difference is less than a third preset wind speed difference and / or the power difference is less than a preset power difference.
[0051] An embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0052] The memory is used to store computer programs;
[0053] The processor is configured to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0054] An embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, the processors are enabled to execute the method according to the embodiment of the present invention.
[0055] The embodiment of the present invention includes the following advantages: obtaining historical wind speed data of the environment in which the wind turbine is located, the historical wind speed data including first historical wind speed values of multiple consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of multiple second historical time periods in the previous cycle, the multiple second historical time periods in the previous cycle respectively corresponding to the time period to be predicted and the first historical time period in the current cycle; according to the historical wind speed data, the predicted wind speed value of the time period to be predicted is fitted using Weibull distribution; the first historical wind speed value is compared with the corresponding second historical wind speed value; the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value is determined; according to the predicted wind speed value and the correlation, the activation state of the wind turbine is controlled; in the embodiment of the present invention, the predicted wind speed value of the next time period following the current time period can be predicted in advance; therefore, the activation state of the wind turbine can be controlled in advance according to the predicted wind speed value, so that before the wind speed is too high, the open state of the idle machine is adjusted to the stopped state to prevent damage to the wind turbine due to excessive wind speed.
[0056] However, the predicted wind speed value fitted by Weibull distribution alone is not very accurate. Therefore, the predicted wind speed value fitted by Weibull distribution can be combined with the determined correlation to further improve the accuracy of the predicted wind speed value and better control the activation status of the wind turbine. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 is a flow chart of the steps of a fan control method provided in an embodiment of the present invention;
[0058] Figure 2 This is a structural block diagram of a fan control device provided in an embodiment of the present invention;
[0059] Figure 3 This is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0061] Reference Figure 1 , shows a flow chart of a fan control method provided in an embodiment of the present invention, which may specifically include the following steps:
[0062] Step 101: Obtain historical wind speed data of the environment where the wind turbine is located.
[0063] The method in the embodiment of the present invention can be applied to microgrids that use wind power as the main power source, which is the application situation of most microgrids currently.
[0064] The historical wind speed data includes first historical wind speed values of multiple consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of multiple second historical time periods in the previous cycle, and the multiple second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle.
[0065] Historical wind speed data refers to historically measured wind speed data, and the wind speed value can be the average wind speed value of a time period.
[0066] The cycle can be one month, one quarter, or one year, and the time period can be one week, one day, one hour, one minute, etc. The cycle and time period can be set as needed and are not limited in the embodiment of the present invention. For example, if a period of one month is 2 hours, and the current time is 12:00 PM on May 7th, the time period to be predicted can be 12:00 PM to 2:00 PM on May 7th. The consecutive first historical time periods before the time period to be predicted can be 10:00 AM to 12:00 PM, 8:00 AM to 10:00 PM, 6:00 AM to 8:00 PM, 4:00 AM to 6:00 PM, 2:00 AM to 4:00 PM, 12:00 AM to 2:00 PM on May 7th, and 10:00 PM to 10:00 PM on May 6th, and so on. If the previous period is April, the multiple second historical time periods corresponding to the time period to be predicted and the first historical time periods can be 12:00 PM to 2:00 PM, 10:00 AM to 12:00 PM, 8:00 AM to 10:00 PM, 6:00 AM to 8:00 PM, 4:00 AM to 6:00 PM, 2:00 AM to 4:00 PM, 10:00 AM to 2:00 PM on April 7th, and 10:00 PM to 10:00 PM on April 6th, and so on.
[0067] The number of the multiple consecutive first historical time periods before the time period to be predicted can be set according to actual needs, and is not limited in the embodiment of the present invention.
[0068] Specifically, during the operation of the wind turbine, historical wind speed data of the environment in which the wind turbine is located is obtained. The historical wind speed data includes first historical wind speed values of multiple consecutive first historical time periods before the predicted time period and second historical wind speed values of multiple second historical time periods in the previous cycle.
[0069] Step 102: Based on the historical wind speed data, a predicted wind speed value for the time period to be predicted is fitted using Weibull distribution.
[0070] Specifically, based on historical wind speed data, the predicted wind speed value for the time period to be predicted can be fitted using Weibull distribution. As an example:
[0071] Based on the annual wind speed statistics, the wind speed changes in wind farms conform to statistical laws. Studies have shown that the probability density function of the average wind speed in most areas follows the Weibull distribution:
[0072]
[0073] Where v is the wind speed; c is the scale parameter describing the wind speed; and k is the shape parameter describing the wind speed distribution. A larger value of c results in a larger mean wind speed described by the Weibull distribution; a larger value of k results in a more concentrated wind speed distribution described by the Weibull distribution. There are several ways to calculate these key parameters, but a more commonly used one is shown below.
[0074] k=(σ / μ) -1.086 (2)
[0075]
[0076] Where μ is the mean of the measured wind speed in meters per second; σ is the standard deviation of the measured wind speed; and Γ is the Gamma function, which is defined as follows: When the values of c and k are known, integrating equation (1) yields equation (4):
[0077] v(t)=c(-lnx t ) 1 / k (4)
[0078] Where v(t) is the wind speed at the tth hour of simulation, X t is a random number uniformly distributed between (0, 1) generated at hour t.
[0079] Therefore, the probability density function can be simulated based on the historical wind speed data, and the predicted wind speed value of the future time period can be simulated based on the obtained shape parameters and scale parameters, so as to obtain the predicted wind speed value of the time period to be predicted.
[0080] Step 103: Compare the first historical wind speed value with the corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value.
[0081] Specifically, the first historical wind speed value of the first historical time period can be compared with the second historical wind speed value of the second historical time period corresponding to the first historical time period. The closer the first historical wind speed value and the second historical wind speed value are, the higher the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value. The higher the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value, the closer the wind speed value of the time period to be predicted and its corresponding second historical wind speed value are.
[0082] For example, there are multiple first historical time periods, and each of the multiple first historical time periods corresponds to a second historical time period. If the first historical wind speed values of all the first historical time periods are close to the second historical wind speed values of the corresponding second historical time periods, then the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value is very high. As the number of first historical time periods / second historical time periods in which the first historical wind speed values are not close to the second historical wind speed values increases, the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value gradually decreases.
[0083] Step 104: Controlling the activation state of the wind turbine according to the predicted wind speed value and the correlation.
[0084] Specifically, after obtaining the correlation between the predicted wind speed value and the wind speed in the next time period, the predicted wind speed value in the next time period can be combined with the correlation between the wind speed to improve the accuracy of the predicted wind speed value and control the activation status of the wind turbine in advance, for example, controlling the operation of the wind turbine according to the correlation between the predicted wind speed value and the wind speed, or controlling the wind turbine to stop running.
[0085] In an embodiment of the present invention, the predicted wind speed value for the next time period following the current time period can be predicted in advance, so that the activation state of the fan can be controlled in advance according to the predicted wind speed value, so that before the wind speed is too high, the open state of the idle machine can be adjusted to the stopped state to prevent damage to the fan due to excessive wind speed.
[0086] However, the predicted wind speed value fitted by Weibull distribution alone is not very accurate. Therefore, the predicted wind speed value fitted by Weibull distribution and the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value can be combined to further improve the accuracy of the predicted wind speed value and better control the activation status of the wind turbine.
[0087] Based on the above embodiment, a modified embodiment of the above embodiment is proposed. It should be noted that, in order to simplify the description, only the differences from the above embodiment are described in the modified embodiment.
[0088] In an optional embodiment of the present invention, the comparison of the first historical wind speed value and the corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value includes: calculating the first wind speed difference between the first historical wind speed value and the corresponding second historical wind speed value; taking the ratio of the number of the first historical time periods corresponding to the first wind speed difference being less than the first preset wind speed difference to the total number of the first historical time periods as the correlation between the wind speed value of the time period to be predicted and the corresponding second historical wind speed value.
[0089] The first preset wind speed difference may be set according to the actual wind speed requirements of the scene, and is not limited in the embodiment of the present invention.
[0090] Specifically, the first historical wind speed value of each first historical time period and the first wind speed difference between the first historical wind speed value and the second historical wind speed value of the second historical time period corresponding to the first historical time period can be calculated. When the first wind speed difference is less than the first preset wind speed difference, it indicates that the first historical wind speed value of the first historical time period is related to the second historical wind speed value of the second historical time period corresponding to the first historical time period.
[0091] The ratio of the number of the relevant first historical time periods / second historical time periods to the total number of the first historical time periods is used as the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value.
[0092] For example, using 10 consecutive first historical time periods before the time period to be predicted, among the 10 first historical time periods, there are 7 first historical time periods with the first historical wind speed values, and the first wind speed difference between the second historical wind speed values of the corresponding second historical time periods is less than the first preset wind speed difference, it means that 7 first historical time periods are respectively correlated with the historical wind speed values of the corresponding second historical time periods, and 3 first historical time periods are respectively uncorrelated with the historical wind speed values of the corresponding second historical time periods. At this time, the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value is 0.7.
[0093] In an optional embodiment of the present invention, the enabling state of the fan is controlled according to the predicted wind speed value and the correlation, including: judging whether the predicted wind speed value is accurate according to the correlation; when the predicted wind speed value is accurate, controlling the enabling state of the fan according to the predicted wind speed value.
[0094] Specifically, the accuracy of the predicted wind speed value can be determined based on the correlation. As an example, the accuracy of the predicted wind speed value can be determined based on the correlation. If the correlation is large, it means that the wind speed value of the time period to be predicted should be close to the second historical wind speed value corresponding to the second historical time period. Therefore, it can be determined whether the predicted wind speed value of the time period to be predicted is close to the second historical wind speed value corresponding to the second historical time period. If they are close, the accuracy of the predicted wind speed value is higher, and the predicted wind speed value is determined to be accurate. The activation state of the wind turbine is controlled according to the accurate predicted wind speed value.
[0095] If they are not close, it means that the predicted wind speed value may not be accurate. In this case, the activation state of the wind turbine cannot be directly controlled based on the predicted wind speed value.
[0096] It should be noted that when the predicted wind speed value is not necessarily accurate, the wind speed value predicted by other methods can be used to control the activation state of the fan, or other control methods can be used to control the activation state of the fan. The specific settings can be made according to actual needs. There is no restriction on this in the embodiment of the present invention. For example, the method of judging the health status of the fan in the embodiment of the present invention can be used to control the activation state of the fan.
[0097] In the above embodiment, the accuracy of the predicted wind speed value can be determined by correlation, thereby further improving the accuracy of the predicted wind speed value, so as to better control the activation state of the wind turbine based on the predicted wind speed value.
[0098] In an optional embodiment of the present invention, judging whether the predicted wind speed value is accurate based on the correlation includes: when the correlation is greater than or equal to a preset correlation value, calculating a second wind speed difference between the predicted wind speed value and its corresponding second historical wind speed value; when the second wind speed difference is less than a second preset wind speed difference, determining that the predicted wind speed value is accurate.
[0099] Specifically, after determining the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value, when the correlation is greater than or equal to the preset correlation value, for example, the correlation is 0.8, which is greater than the preset correlation value 0.6, it means that the wind speed value of the time period to be predicted is close to the second historical wind speed value of the second historical time period to which it corresponds. Therefore, the accuracy of the predicted wind speed value of the time period to be predicted can be judged by the second historical wind speed value of the second historical time period corresponding to the time period to be predicted, and the second wind speed difference between the predicted wind speed value and its corresponding second historical wind speed value is calculated. When the second wind speed difference is less than the second preset wind speed difference, it is determined that the predicted wind speed value is close to its corresponding second historical wind speed value. Then the accuracy of the predicted wind speed value is higher, and the predicted wind speed value is determined to be accurate.
[0100] It should be noted that the preset correlation value and the second preset wind speed difference value can be set according to actual needs, and there is no limitation on this in the embodiment of the present invention.
[0101] In the above embodiment, the accuracy of the predicted wind speed value can be determined by correlation, thereby further improving the accuracy of the predicted wind speed value, so as to better control the activation state of the wind turbine based on the predicted wind speed value.
[0102] In an optional embodiment of the present invention, the activation state of the fan is controlled according to the predicted wind speed value, including: when the predicted wind speed value is less than or equal to a first preset wind speed value, or the predicted wind speed value is greater than or equal to a second preset wind speed value, the activation state of the fan is adjusted to a shutdown state; wherein the first preset wind speed value is less than the second preset wind speed value; when the predicted wind speed value is greater than the first preset wind speed value and less than the second preset wind speed value, the activation state of the fan is adjusted to an on state.
[0103] The first preset wind speed value is the cut-in wind speed, and the second preset wind speed value is the cut-out wind speed.
[0104] Specifically, based on the typical steady-state output characteristics of a wind turbine, which are affected by wind speed and rated power, once the wind speed exceeds the cut-out wind speed, the wind turbine must be shut down to protect it, and this is controlled using a piecewise function.
[0105] The wind turbine output power characteristics are directly related to the cut-in wind speed and cut-out wind speed. ci When the wind speed reaches v ci After that, the output power is proportional to the wind speed; if the wind speed is higher than the rated wind speed v r , fan output rated power P r Once the wind speed is higher than the cut-out wind speed v co In order to protect the fan, it must be shut down. The relationship between the unit's output power and wind speed v can be described by a piecewise function:
[0106]
[0107] Where P(v) is the output power of the wind turbine when the wind speed is v, Pr is the rated power of the wind turbine, and V ci is the cut-in wind speed, V r is the rated wind speed, V co To cut out the wind speed,
[0108] Therefore, when the predicted wind speed value is less than the first preset wind speed value, or the predicted wind speed value is greater than or equal to the second preset wind speed value, the fan's enabled state is adjusted to the shutdown state; when the predicted wind speed value is greater than or equal to the first preset wind speed value and less than the second preset wind speed value, the fan's enabled state is adjusted to the on state.
[0109] In the above embodiment, the activation state of the wind turbine can be controlled in advance according to the predicted wind speed value to avoid damage to the wind turbine caused by excessively high wind speed.
[0110] In one embodiment of the present invention, it also includes: obtaining the real wind speed value of the environment in which the wind turbine is located, the real output power value of the wind turbine, and the reference wind speed value and reference power value when the wind turbine fails; calculating the third wind speed difference between the real wind speed value and the reference wind speed value, and the power difference between the real output power value and the reference power value; and controlling the activation state of the wind turbine according to the third wind speed difference and the power difference.
[0111] The reference wind speed value and the reference power value when the fan fails are the wind speed value and the fan output power value of the abnormal alarm in the log database.
[0112] Specifically, the real wind speed value (real-time wind speed value) of the environment in which the wind turbine is located, the real output power value (real-time output power value) of the wind turbine, and the reference wind speed value and reference power value when the wind turbine fails are obtained. The third wind speed difference between the real wind speed value and the reference wind speed value, and the power difference between the real output power value and the reference power value are calculated; the activation state of the wind turbine is controlled according to the third wind speed difference and the power difference. If the third wind speed difference and the power difference are both large, it means that the operating condition of the wind turbine is very healthy at this time, and the wind turbine is allowed to continue to operate. If the third wind speed difference and the power difference are both small, it means that the operating condition of the wind turbine is very close to the condition at the time of the alarm, and the operating condition of the wind turbine is very unhealthy at this time. The activation state of the wind turbine can be adjusted to the shutdown state to prevent the wind turbine from being damaged or failing.
[0113] In the above embodiment, the health status of the wind turbine power generation operation can be judged by comparing the difference between the actual output power value and the actual wind speed value and the output power and wind speed fitting values of the abnormal alarm in the log database, so that when the health status of the wind turbine power generation operation is poor, effective measures can be taken in advance to avoid wind turbine damage or failure.
[0114] An optional embodiment of the present invention, wherein the activation state of the wind turbine is controlled according to the third wind speed difference and the power difference, comprises: when the third wind speed difference is less than a third preset wind speed difference, and / or the power difference is less than a preset power difference, adjusting the activation state of the wind turbine to a shutdown state.
[0115] The third preset wind speed difference and the preset power difference can be set according to actual needs, and are not limited in this embodiment of the present invention.
[0116] Specifically, when the wind speed difference is less than the third preset wind speed difference, and / or the power difference is less than the preset power difference, it indicates that the health status of the wind turbine power generation operation is poor at this time, and the enabled state of the wind turbine is adjusted to the shutdown state to avoid damage or failure of the wind turbine.
[0117] In one example of the present invention, in addition to using the above-mentioned method to compare the difference between the actual output power value and the actual wind speed value and the output power and wind speed fitting values of the abnormal alarm in the log database, other methods can also be used, such as using the ridge regression method to build a dynamic threshold analysis model for analysis and optimization; the actual output power value / actual wind speed value is used as a simulation value and the reference power value / reference wind speed value difference is put into the actual value obtained by the dynamic threshold analysis model for difference comparison, and the current preset wind speed difference / predicted power difference is analyzed by the difference change to see whether it meets the business operation time situation. By replacing the existing method of setting thresholds based on experience and comparing the collected values with the thresholds to trigger alarms, it is made more accurate and intelligent and the energy consumption thresholds of each module are obtained dynamically and scientifically based on the business's own operation conditions.
[0118] Dynamic threshold analysis model formula: ||Xθ-y|| 2 +||Γθ|| 2 (6)
[0119] Where: X refers to the input training data, y refers to the output or prediction result, || = regularization, Γ = aI refers to the objective training result = fitting value, and θ is the fitting hyperparameter.
[0120] The step 3) also includes preventing overfitting operation process, and finding θ when a is determined: θ(a)=(X T X+aI) -1 X T y, where θ refers to the fitting hyperparameter; a refers to the weight of the identity matrix; T refers to the weight constant; X refers to the input training data, y refers to the output or prediction result; I is the identity matrix.
[0121] Ridge regression can be used to test whether a wind turbine has strong generalization ability. Generalization ability refers to the ability of a machine learning algorithm to adapt to new samples. The goal of learning is to learn the patterns underlying the data. This ability is called generalization, where the trained network can produce appropriate outputs for data outside the learning set that exhibits the same patterns.
[0122] The machine learning is represented as the operation of program simulation data corresponding to door or platform test data.
[0123] The causes of overfitting are usually the following:
[0124] (1) The data is noisy (waste data);
[0125] (2) Insufficient training data, limited training data;
[0126] (3) Overtraining the model leads to a very complex model.
[0127] Therefore, the ridge regression method is used to prevent the model from overfitting; the traditional least squares method lacks stability and reliability.
[0128] To solve the above problem, we need to transform the ill-posed problem into a well-posed problem: we add a regularization term to the above loss function.
[0129] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0130] Reference Figure 2 , shows a structural block diagram of a fan control device provided in an embodiment of the present invention. The fan control device may specifically include the following modules:
[0131] The data acquisition module 201 is configured to acquire historical wind speed data of the environment in which the wind turbine is located; wherein the historical wind speed data includes first historical wind speed values of a plurality of consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of a plurality of second historical time periods in the previous cycle, wherein the plurality of second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle;
[0132] A wind speed fitting module 202 is configured to fit the predicted wind speed value for the time period to be predicted using Weibull distribution based on the historical wind speed data;
[0133] A correlation determination module 203 is configured to compare the first historical wind speed value with its corresponding second historical wind speed value, and determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value;
[0134] The fan control module 204 is configured to control the activation state of the fan according to the predicted wind speed value and the correlation.
[0135] Optionally, the correlation determination module includes:
[0136] a wind speed difference calculation submodule, configured to calculate a first wind speed difference between the first historical wind speed value and its corresponding second historical wind speed value;
[0137] The correlation determination submodule is used to use the ratio of the number of the first historical time periods corresponding to the first wind speed difference being less than the first preset wind speed difference to the total number of the first historical time periods as the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value.
[0138] Optionally, the fan control module includes:
[0139] an accuracy judgment submodule, configured to judge whether the predicted wind speed value is accurate based on the correlation; and execute the wind turbine control submodule when the predicted wind speed value is accurate;
[0140] The fan control submodule is used to control the activation state of the fan according to the predicted wind speed value.
[0141] Optionally, the accuracy determination submodule includes:
[0142] a wind speed difference calculation unit, configured to calculate a second wind speed difference between the predicted wind speed value and the corresponding second historical wind speed value when the correlation is greater than or equal to a preset correlation value;
[0143] The accuracy judgment unit is used to determine that the predicted wind speed value is accurate when the second wind speed difference is less than a second preset wind speed difference.
[0144] Optionally, the fan control submodule includes:
[0145] a first fan control unit, configured to adjust the fan's enabled state to a disabled state when the predicted wind speed value is less than or equal to a first preset wind speed value, or greater than or equal to a second preset wind speed value; wherein the first preset wind speed value is less than the second preset wind speed value;
[0146] The second fan control unit is used to adjust the activation state of the fan to the on state when the predicted wind speed value is greater than the first preset wind speed value and less than the second preset wind speed value.
[0147] Optionally, it also includes:
[0148] The data acquisition module is further used to obtain the real wind speed value of the environment in which the wind turbine is located, the real output power value of the wind turbine, and the reference wind speed value and reference power value when the wind turbine fails;
[0149] a difference calculation module, configured to calculate a third wind speed difference between the true wind speed value and the reference wind speed value, and a power difference between the true output power value and the reference power value;
[0150] The fan control module is further configured to control the activation state of the fan according to the third wind speed difference and the power difference.
[0151] Optionally, the fan control module includes:
[0152] The fan control submodule is further configured to adjust the enabled state of the fan to the disabled state when the third wind speed difference is less than a third preset wind speed difference and the power difference is less than a preset power difference.
[0153] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0154] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned data acquisition method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0155] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the various processes of the above-described data acquisition method embodiment are implemented, and the same technical effects are achieved. To avoid repetition, the details are not described here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0156] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0157] The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311. It will be understood by those skilled in the art that Figure 3The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle terminal, a wearable device, and a pedometer.
[0158] It should be understood that in this embodiment of the present invention, the RF unit 301 can be used to receive and transmit signals during information transmission or calls. Specifically, it receives downlink data from the base station and transmits it to the processor 310 for processing; in addition, it transmits uplink data to the base station. Typically, the RF unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, the RF unit 301 can communicate with the network and other devices via a wireless communication system.
[0159] The electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0160] The audio output unit 303 can convert audio data received by the RF unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. In addition, the audio output unit 303 can also provide audio output related to a specific function performed by the electronic device 300 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, etc.
[0161] The input unit 304 is used to receive audio or video signals. The input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042. The GPU 3041 processes image data of still pictures or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 306. The image frames processed by the GPU 3041 can be stored in the memory 309 (or other storage medium) or transmitted via the RF unit 301 or the network module 302. The microphone 3042 can receive sound and process such sound into audio data. In the case of a telephone call mode, the processed audio data can be converted into a format that can be sent to a mobile communication base station via the RF unit 301 for output.
[0162] The electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and / or the backlight when the electronic device 300 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0163] The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 3061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0164] The user input unit 307 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 3071). The touch panel 3071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 310, which receives and executes the command sent by the processor 310. In addition, the touch panel 3071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 3071, the user input unit 307 may also include other input devices 3072. Specifically, other input devices 3072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0165] Furthermore, the touch panel 3071 may be overlaid on the display panel 3061. When the touch panel 3071 detects a touch operation on or near it, it transmits the information to the processor 710 to determine the type of touch event. Subsequently, the processor 310 provides corresponding visual output on the display panel 3061 according to the type of touch event. Figure 3 In the figure, the touch panel 3071 and the display panel 3061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0166] The interface unit 308 is an interface for connecting an external device to the electronic device 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 307 may be used to receive input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more components within the electronic device 300, or may be used to transmit data between the electronic device 300 and the external device.
[0167] Memory 309 can be used to store software programs and various data. Memory 309 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the mobile phone (such as audio data, a phone book, etc.). Furthermore, memory 309 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0168] The processor 310 is the control center of the electronic device. It connects all parts of the electronic device using various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 309 and accessing data stored in the memory 309, it performs various functions of the electronic device and processes data, thereby providing overall monitoring of the electronic device. The processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into the processor 310.
[0169] The electronic device 300 may also include a power supply 311 (such as a battery) to supply power to each component. Preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0170] In addition, the electronic device 300 includes some functional modules not shown, which will not be described here.
[0171] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0172] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0173] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.
[0174] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0175] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0176] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0177] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0178] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0179] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk.
[0180] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A fan control method, characterized in that: The method comprises: Obtaining historical wind speed data of the environment in which the wind turbine is located; wherein the historical wind speed data includes first historical wind speed values of multiple consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of multiple second historical time periods in the previous cycle, wherein the multiple second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle; According to the historical wind speed data, a predicted wind speed value for the time period to be predicted is fitted using a Weibull distribution; Comparing the first historical wind speed value with its corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value; The activation state of the wind turbine is controlled according to the predicted wind speed value and the correlation.
2. The method according to claim 1, characterized in that The comparing the first historical wind speed value with its corresponding second historical wind speed value to determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value includes: Calculating a first wind speed difference between the first historical wind speed value and the corresponding second historical wind speed value; The ratio of the number of first historical time periods corresponding to the first wind speed difference being less than the first preset wind speed difference to the total number of the first historical time periods is used as the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value.
3. The method according to claim 1, characterized in that The controlling the activation state of the wind turbine according to the predicted wind speed value and the correlation includes: Determining whether the predicted wind speed value is accurate based on the correlation; When the predicted wind speed value is accurate, the activation state of the wind turbine is controlled according to the predicted wind speed value.
4. The method according to claim 3, characterized in that The determining, based on the correlation, whether the predicted wind speed value is accurate includes: When the correlation is greater than or equal to a preset correlation value, calculating a second wind speed difference between the predicted wind speed value and the second corresponding historical wind speed value; When the second wind speed difference is less than a second preset wind speed difference, it is determined that the predicted wind speed value is accurate.
5. The method according to claim 3, characterized in that The controlling the activation state of the wind turbine according to the predicted wind speed value includes: When the predicted wind speed value is less than a first preset wind speed value, or the predicted wind speed value is greater than or equal to a second preset wind speed value, adjusting the enabled state of the wind turbine to a disabled state; wherein the first preset wind speed value is less than the second preset wind speed value; When the predicted wind speed value is greater than or equal to the first preset wind speed value and less than the second preset wind speed value, the activation state of the wind turbine is adjusted to the on state.
6. The method according to claim 1, characterized in that Also includes: Obtaining a true wind speed value of the environment in which the fan is located, a true output power value of the fan, and a reference wind speed value and a reference power value when the fan fails; Calculating a third wind speed difference between the true wind speed value and the reference wind speed value, and a power difference between the true output power value and the reference power; The activation state of the wind turbine is controlled according to the third wind speed difference and the power difference.
7. The method according to claim 6, characterized in that The controlling the activation state of the wind turbine according to the wind speed difference and the power difference includes: When the third wind speed difference is less than a third preset wind speed difference, and / or the power difference is less than a preset power difference, the enabled state of the wind turbine is adjusted to a disabled state.
8. A fan control device, characterized in that: include: a data acquisition module, configured to acquire historical wind speed data of the environment in which the wind turbine is located; wherein the historical wind speed data includes first historical wind speed values of a plurality of consecutive first historical time periods before the time period to be predicted, and second historical wind speed values of a plurality of second historical time periods in a previous cycle, wherein the plurality of second historical time periods in the previous cycle respectively correspond to the time period to be predicted and the first historical time period in the current cycle; A wind speed fitting module is used to fit the predicted wind speed value for the time period to be predicted using Weibull distribution based on the historical wind speed data; a correlation determination module, configured to compare the first historical wind speed value with its corresponding second historical wind speed value, and determine the correlation between the wind speed value of the time period to be predicted and its corresponding second historical wind speed value; A fan control module is used to control the activation state of the fan according to the predicted wind speed value and the correlation.
9. An electronic device, characterized in that: comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that Instructions are stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for ultra-short-term output prediction of wind power cluster
CN111191815A
Method, device and apparatus for predicting wind power and computer readable storage medium
CN112836870A