Quality control method, device and equipment for clamping stagnation of wind speed sensor and wind direction sensor
Through multi-source data fusion analysis and threshold interval judgment methods, identifying wind speed and wind direction sensors stuck, solving the problem of the existing technology inability to effectively identify stuck, improving the quality of ground wind observation data, and realizing national business applications.
Patent Information
- Application Number
- CN202411478615.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2024-12-27
AI Technical Summary
The existing quality control methods for wind speed and direction sensors cannot effectively identify and solve the problem of stuckness, resulting in a decline in the quality of ground wind observation data.
Using a multi-source data fusion analysis method, the wind speed and wind direction data of the current site are obtained for pre-processing, and combining the extremely high wind speed, wind direction, two-minute average wind speed, instantaneous wind speed and other factors to determine whether the wind speed and wind direction sensors are stuck, and When there is or does not exist a neighboring site reference, a different threshold interval is used for judgment.
It can detect wind speed and wind direction sensor stuck phenomenon early, help business personnel quickly identify and solve problems, improve data quality, and has been integrated into the Tianheng system to achieve national business applications.
Smart Images

Figure CN119200048A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, in particular to the field of atmospheric detection technology, and specifically to a quality control method, device and equipment for wind speed and wind direction sensor jams. Background Art
[0002] Ground observation data is an important component of atmospheric sounding data, and is the basis for weather forecasting, weather research, agriculture, and water resources management, affecting our lives and society. As the ground observation station network becomes more and more dense and the temporal and spatial resolution continues to improve, the quality of meteorological observation data is directly related to its application effect. Therefore, it is very necessary to control the quality of ground observation data.
[0003] Ground wind is one of the basic elements of meteorological station observation. Conventional regional stations generally use 10-meter-high wind poles for ground wind observation. It is difficult for regional stations to perform corresponding maintenance. Long-term lack of maintenance of wind speed sensors and wind direction sensors will cause problems such as bearing aging, diode failure, and loose wiring, resulting in problems such as sticking and missing of wind speed and wind direction sensors, seriously affecting the data quality of ground wind observation data.
[0004] Specifically, wind speed and wind direction sensor jams usually refer to problems that occur in meteorological observations, that is, abnormal or inaccurate measurements of wind speed and wind direction, which may be caused by a variety of factors, including but not limited to equipment failure or damage, external interference, dust or pollutants, and calibration problems. When a wind speed sensor is jammed, the starting wind speed will increase, resulting in the maximum wind speed remaining at 0m / s for a long time when the wind is light on the ground; when a wind direction sensor is jammed, the wind direction will remain unchanged in a certain direction for a long time.
[0005] At present, there are relatively few quality control methods for wind speed and wind direction, which are mainly focused on limit value checking, extreme value checking, internal consistency, time consistency and other aspects. These quality control methods can only perform basic quality control on wind speed and wind direction element data, and cannot further accurately identify and quality control the stuck problems of wind speed and wind direction sensors. Summary of the invention
[0006] The present invention provides a quality control method, device and equipment for preventing a wind speed and wind direction sensor from getting stuck.
[0007] According to a first aspect of the present disclosure, a quality control method for wind speed and wind direction sensor stuck is provided. The method comprises:
[0008] Get the wind speed and direction data of the current site;
[0009] Preprocessing the wind speed and wind direction data;
[0010] When there is a neighboring site reference for the current site, determining whether the preprocessed wind speed and wind direction data are within a first threshold interval, and if so, the wind speed and wind direction sensor of the current site is stuck;
[0011] When there is no neighboring site reference for the current site, it is determined whether the preprocessed wind speed and wind direction data are within a second threshold interval. If so, the wind speed and wind direction sensor of the current site is stuck.
[0012] According to the above aspects and any possible implementation, there is further provided an implementation, wherein the wind speed and wind direction data include maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data;
[0013] The acquisition of wind speed and wind direction data of the current site includes:
[0014] Obtain the current site's maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data;
[0015] Based on the principal component analysis algorithm, the maximum wind speed data of the current site is determined as the identification factor for the wind speed sensor being stuck; the wind direction data of the maximum wind speed of the current site, the instantaneous wind direction data, and the two-minute average wind direction data are determined as the identification factors for the wind direction sensor being stuck.
[0016] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the preprocessing of the wind speed and wind direction data includes:
[0017] The wind speed and wind direction data are preprocessed based on hourly data limit value check, hourly data continuity check, and / or minute data limit value check and time variation check.
[0018] According to the above aspects and any possible implementation manner, an implementation manner is further provided, after the wind speed and wind direction data are preprocessed, the method further includes:
[0019] Taking the current site as the center, a window function within a preset range is used to calculate the similarity between the adjacent sites and the current site, and the site with the highest correlation is used as the neighboring site of the current site. The wind speed and wind direction data of the neighboring sites are the reference values of the wind speed and wind direction data of the current site.
[0020] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein when the current site has a neighboring site reference, determining whether the preprocessed wind speed and wind direction data are within a first threshold interval, and if so, the wind speed and wind direction sensor of the current site is stuck, including:
[0021] When there is a neighboring site reference for the current site, determine whether the number of times that the maximum wind speed data of the current site is continuously 0 is within a first threshold interval and the maximum wind speed data of the neighboring site is not 0 at the same time. If so, the wind speed sensor of the current site is stuck; or
[0022] When there is a neighboring site reference for the current site, determine whether the wind direction data of the maximum wind speed, the instantaneous wind direction data, and the time when the two-minute average wind direction data remain unchanged at the current site are in the first threshold interval and the wind direction of the neighboring site changes at the same time. If so, the wind direction sensor of the current site is stuck.
[0023] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein when there is no adjacent site reference for the current site, determining whether the preprocessed wind speed and wind direction data are within a second threshold interval, and if so, the wind speed and wind direction sensor of the current site is stuck, including:
[0024] When there is no neighboring site reference for the current site, determining whether the number of times that the maximum wind speed data of the current site is continuously 0 is within a second threshold interval, and if so, the wind speed sensor of the current site is stuck; or
[0025] When there is no adjacent site reference for the current site, determine whether the wind direction data of the maximum wind speed, the instantaneous wind direction data, and the time during which the two-minute average wind direction data remain unchanged at the current site are within the second threshold interval. If so, the wind direction sensor of the current site is stuck.
[0026] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the method further includes:
[0027] When the wind speed and wind direction sensors at the current site are stuck, a stuck alarm message is sent.
[0028] According to a second aspect of the present disclosure, a quality control device for wind speed and wind direction sensor stuck is provided. The device comprises:
[0029] The acquisition module is used to obtain the wind speed and direction data of the current site;
[0030] A preprocessing module, used for preprocessing the wind speed and wind direction data;
[0031] A recognition module, used for judging whether the pre-processed wind speed and wind direction data are within a first threshold interval when there is a neighboring site reference at the current site, and if so, the wind speed and wind direction sensor of the current site is stuck;
[0032] The identification module is also used to determine whether the pre-processed wind speed and wind direction data are within the second threshold range when there is no adjacent site reference for the current site. If so, the wind speed and wind direction sensor of the current site is stuck.
[0033] According to a third aspect of the present disclosure, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.
[0034] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described above is implemented.
[0035] The embodiment of the present application provides a quality control method, device and equipment for wind speed and wind direction sensor jams, which can obtain wind speed and wind direction data of the current site; then pre-process the wind speed and wind direction data; when there is a neighboring site reference for the current site, determine whether the pre-processed wind speed and wind direction data are in a first threshold interval, if so, the wind speed and wind direction sensor of the current site is jammed; when there is no neighboring site reference for the current site, determine whether the pre-processed wind speed and wind direction data are in a second threshold interval, if so, the wind speed and wind direction sensor of the current site is jammed; based on this, a comprehensive quality control method based on multi-source data fusion analysis can be proposed, and the quality control of near-ground wind is studied through multi-source data. First, the wind speed and wind direction data are pre-processed to eliminate erroneous data, and then the maximum wind speed and wind direction, two-minute average wind speed and wind direction, instantaneous wind speed, wind direction and other factors are combined to identify whether the wind speed and wind direction sensors are jammed, so as to discover the equipment problems behind the abnormal data as early as possible, and help business personnel at all levels to find, locate and solve problems as soon as possible. It has been integrated into the Tianheng system to realize national business applications.
[0036] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:
[0038] Figure 1 A flow chart showing a quality control method for wind speed and wind direction sensor stuck according to an embodiment of the present disclosure is shown;
[0039] Figure 2 A flow chart of wind speed sensor stuck identification according to an embodiment of the present disclosure is shown;
[0040] Figure 3 A flow chart of wind direction sensor stuck identification according to an embodiment of the present disclosure is shown;
[0041] Figure 4 A schematic diagram of evaluation results according to an embodiment of the present disclosure is shown;
[0042] Figure 5 A flow chart of wind speed and direction data quality control according to an embodiment of the present disclosure is shown;
[0043] Figure 6 A block diagram of a quality control device for a wind speed and wind direction sensor stuck according to an embodiment of the present disclosure is shown;
[0044] Figure 7 A block diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0046] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0047] In the present disclosure, a comprehensive quality control method based on multi-source data fusion analysis can be proposed. The quality control of near-surface wind is studied through multi-source data. First, the wind speed and direction data are pre-processed to eliminate erroneous data. Then, the maximum wind speed and wind direction, two-minute average wind speed and wind direction, instantaneous wind speed and wind direction and other factors are combined to identify whether the wind speed and wind direction sensors are stuck. The equipment problems behind the abnormal data can be discovered early, helping business personnel at all levels to discover, locate and solve problems as soon as possible. It has been integrated into the Tianheng system to realize national business applications.
[0048] Figure 1 A flow chart of a quality control method 100 for a wind speed and wind direction sensor stuck according to an embodiment of the present disclosure is shown.
[0049] In block 110 , the wind speed and wind direction data of the current site are obtained.
[0050] At block 120 , the wind speed and direction data are pre-processed.
[0051] In block 130 , when there is a neighboring site reference for the current site, it is determined whether the pre-processed wind speed and wind direction data are within a first threshold interval. If so, the wind speed and wind direction sensor of the current site is stuck.
[0052] In block 140 , when there is no neighboring site reference for the current site, it is determined whether the pre-processed wind speed and wind direction data are within a second threshold interval. If so, the wind speed and wind direction sensor of the current site is stuck.
[0053] In block 110, the real-time wind speed and wind direction data of the current site may be collected by wind speed and wind direction sensors. The historical wind speed and wind direction data and the corresponding quality control marks may also be extracted from historical meteorological data.
[0054] Among them, the historical wind speed and wind direction data and their corresponding quality control marks can be used to determine whether the data in the wind speed and wind direction data belongs to the wind speed sensor stuck identification element or the wind direction sensor stuck identification element.
[0055] In some embodiments, the wind speed and wind direction data include maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data;
[0056] The above acquisition of wind speed and direction data of the current site includes:
[0057] Obtain the current site's maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data;
[0058] Based on the principal component analysis algorithm, the maximum wind speed data of the current site is determined as the identification factor for the wind speed sensor being stuck; the wind direction data of the maximum wind speed of the current site, the instantaneous wind direction data, and the two-minute average wind direction data are determined as the identification factors for the wind direction sensor being stuck.
[0059] In some embodiments, the maximum wind speed and wind direction data of the ground station, the two-minute average wind speed and wind direction data, and the instantaneous wind speed and wind direction data can be extracted from the historical meteorological data, and then the extracted data can be cleaned to remove missing values, abnormal values and duplicate values to ensure data quality. The cleaned data can also be standardized to form a data set.
[0060] In some embodiments, the principal component analysis algorithm (PCA) can be used to analyze the effects of maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data on the wind speed and wind direction sensor stuck judgment. The idea of dimensionality reduction is used to transform multiple indicators into a few comprehensive indicators, extract the most effective features, and combine the calculation results with forecasting experience to determine the use of maximum wind speed data to judge the wind speed sensor stuck phenomenon, and use the maximum wind speed wind direction data, instantaneous wind direction data, and two-minute average wind direction data to judge the wind direction sensor stuck.
[0061] In block 120 , the wind speed and direction data may be preprocessed using a gross error detection method.
[0062] In some embodiments, the above-mentioned preprocessing of wind speed and wind direction data includes:
[0063] The wind speed and wind direction data are preprocessed based on hourly data limit value check, hourly data continuity check, and / or minute data limit value check and time variation check.
[0064] In some embodiments, preprocessing the wind speed and wind direction data based on the hourly data limit value check includes:
[0065] Determine whether the two-minute average wind speed, ten-minute average wind speed, hourly maximum wind speed, hourly maximum wind speed, instantaneous wind speed, maximum instantaneous wind speed in the past 6 hours, and maximum instantaneous wind speed in the past 12 hours are within the range of (0,60). If not, it is determined to be a data error.
[0066] Determine whether the two-minute average wind speed, ten-minute average wind speed, wind direction of the maximum wind speed within the hour, wind direction of the maximum wind speed within the hour, instantaneous wind direction, maximum instantaneous wind direction in the past 6 hours, and maximum instantaneous wind direction in the past 12 hours are within the range of (0,360). If not, it is determined to be a data error.
[0067] Determine whether the maximum wind speed within the hour and the hourly maximum wind speed occur between [01 minute of the previous hour and 00 minute of the current hour]. If not, it is determined to be a data error.
[0068] In some embodiments, preprocessing the wind speed and direction data based on the hourly data continuity check includes:
[0069] If the standard deviations of the corresponding elements of the two-minute average wind speed, ten-minute average wind speed, maximum wind speed within an hour, maximum wind speed within an hour, and instantaneous wind speed in the previous 12 hours are all 0 and all elements are greater than 0, it is judged that the data is wrong.
[0070] In some embodiments, preprocessing the wind speed and wind direction data based on minute data limit value check and time variation check includes:
[0071] Determine whether the one-minute average wind direction is within the range of (0,360), and whether the one-minute average wind speed is within the range of (0,60). If not, it is considered to be a data error.
[0072] If the minute changes of the two-minute average wind speed, ten-minute average wind speed, maximum wind speed within the hour, maximum wind speed within the hour, instantaneous wind speed, maximum instantaneous wind speed in the past 6 hours, and maximum instantaneous wind speed in the past 12 hours exceed 20m / s, it is judged as data error.
[0073] In some embodiments, after the wind speed and wind direction data are preprocessed, the method further includes:
[0074] With the current site as the center, a window function with a preset range is used to calculate the similarity between the adjacent sites and the current site, and the site with the highest correlation is taken as the neighboring site of the current site. The wind speed and wind direction data of the neighboring sites are used as reference values for the wind speed and wind direction data of the current site.
[0075] In some embodiments, the window function within the preset range can be set according to the actual needs of the user.
[0076] In some embodiments, a 20×20 window function may be used to calculate the similarity of the surface wind data between sites, and the correlation coefficient ρ of the surface wind data of the current site within a range of 20 km×20 km is calculated with the current site as the center, that is:
[0077]
[0078] d i =R(X i )-R(Y i )
[0079] Among them, R(X i ) and R(Y i ) are the ranks of the ith data point in variables X and Y, respectively, and n is the number of samples.
[0080] In some embodiments, the obtained correlation coefficients may be ranked to obtain the site with the highest correlation, which is a neighboring site of the site, and the data of the site is selected as a reference value for the current site data.
[0081] In block 130, when there is a neighboring site reference for the current site, it is determined whether the pre-processed wind speed and wind direction data are within the first threshold range. If so, the wind speed and wind direction sensor of the current site is stuck, specifically including:
[0082] When there is a neighboring site reference for the current site, determine whether the number of times that the maximum wind speed data of the current site is continuously 0 is within the first threshold interval and the maximum wind speed data of the neighboring site is not 0 at the same time. If so, the wind speed sensor of the current site is stuck; or
[0083] When the current site has a neighboring site reference, determine whether the wind direction data of the current site's maximum wind speed, instantaneous wind direction data, and the time when the two-minute average wind direction data remain unchanged are in the first threshold interval and the wind direction of the neighboring site changes at the same time. If so, the wind direction sensor of the current site is stuck.
[0084] In block 140, when there is no neighboring site reference for the current site, determining whether the preprocessed wind speed and wind direction data are within the second threshold range, if so, the wind speed and wind direction sensor stuck at the current site specifically includes:
[0085] When there is no neighboring site reference for the current site, determine whether the number of times that the maximum wind speed data of the current site is continuously 0 is within the second threshold interval, and if so, the wind speed sensor of the current site is stuck; or
[0086] When there is no neighboring site reference for the current site, determine whether the wind direction data of the maximum wind speed, the instantaneous wind direction data, and the time when the two-minute average wind direction data remain unchanged at the current site are within the second threshold interval. If so, the wind direction sensor of the current site is stuck.
[0087] In some embodiments, the first threshold interval and the second threshold interval may be determined based on historical data.
[0088] For example, the maximum duration of the maximum wind speed of 0m / s at the ground station in the past three years and the maximum duration of the wind direction of the maximum wind speed, the instantaneous wind direction and the two-minute average wind direction that remain unchanged can be counted, and their probability distribution can be calculated. According to the probability distribution, the maximum duration of the two-minute average wind speed of 0m / s and the duration of the two-minute average wind direction that remain unchanged are concentrated below 3 times, accounting for 99.04%, of which below 2 times account for 96.2%; the duration of the instantaneous wind direction that remains unchanged is concentrated below 3 times, accounting for 99%, of which below 2 times account for 96.2%; the maximum duration of the maximum wind speed and the wind direction of the maximum wind speed are mainly concentrated below 8 times, accounting for about 83%, below 6 times account for about 80%, and below 3 times account for about 74%. Select the station judged to be stuck, and count the maximum duration of the maximum wind speed of 0m / s and the maximum duration of the wind direction of the maximum wind speed, the instantaneous wind direction and the two-minute average wind direction that remain unchanged, and the results are all above 8 times.
[0089] In some embodiments, to ensure the accuracy of the judgment, two thresholds for judging the stuck wind speed sensor and wind direction sensor are set, which are the first threshold T1 and the second threshold T2. The first threshold interval and the second threshold interval are as follows:
[0090]
[0091] In some embodiments, when the site has a neighboring site reference, threshold T1 is used for judgment. When the site has no neighboring site or the neighboring site is not representative, threshold T2 is used for judgment. When the wind speed is continuously 0 m / s and the wind direction remains unchanged for a period of time within the threshold range, it is judged as stuck.
[0092] In some embodiments, in order to explain the identification of wind speed and wind direction sensor stuck in more detail, the identification of wind speed sensor stuck and the identification of wind direction sensor stuck will be explained respectively.
[0093] like Figure 2 As shown, before judging whether the wind speed and wind direction sensor is stuck, it is necessary to first judge whether there is a ground wind observation element at the site. If there is no wind observation element, no judgment on the stuck situation is made. Furthermore, the maximum wind speed is used to identify the stuck situation of the wind speed sensor. Some sites are affected by the environment and there will be calm wind at night. Therefore, the algorithm judgment time is 9:00-21:00 every day. Between 9:00 and 21:00, if the maximum wind speed is continuously 0m / s for T1 and the maximum wind speed of the adjacent site is not 0m / s at the same time or the maximum wind speed is continuously 0m / s for T2, it is judged that the wind speed sensor of the site is stuck, otherwise it is normal.
[0094] like Figure 3 As shown, when the instantaneous wind direction, the two-minute average wind direction and the wind direction of the maximum wind speed remain unchanged for a period of time (T1) and the wind directions of the adjacent stations change at the same time or remain unchanged for a period of time (T2), the wind direction sensor of the station is stuck.
[0095] In some embodiments, the quality control method for the wind speed and wind direction sensor stuck may be further tested and evaluated.
[0096] For example, the data time of the abnormal alarm station in the maintenance record table can be compared with the calculation result, and the ground wind alarm accuracy rate can be calculated to make a judgment. If the ground wind alarm accuracy rate is not less than 80%, it is a pass.
[0097] Specifically, the maximum wind speed, instantaneous wind direction, wind direction of the maximum wind speed, and two-minute average wind direction of the Tianqing ground data dataset "Ground Hourly Data" from June 29 to December 21, 2023 in a certain place are used as calculation data, and the ground manual maintenance record table is used as the true value for matching evaluation. As shown in Table 1, the quality control results are compared with the maintenance records of wind speed and wind direction sensors. The wind speed sensor stuck and hit 887 stations, and the alarm accuracy rate was 82.82%; the wind direction sensor stuck and hit 246 stations, and the alarm accuracy rate was 80.66%, which met the assessment index requirements and exceeded the set expected target (80%).
[0098] Table 1: Test results of wind speed and wind direction sensor stuck quality control method
[0099]
[0100] Furthermore, after the test is passed, the comprehensive wind speed and wind direction sensor stuck quality control method is integrated into the Tianheng system for business applications in a large range, and the wind speed and direction data in a large range are identified and applied.
[0101] For example, the wind speed and direction data in three areas in March 2024 were used to evaluate the wind speed and direction sensor stuck quality control method. The evaluation results are as follows: Figure 4 As shown, the recognition accuracy of the wind speed sensor stuck method is 98.01%, the recognition accuracy of the wind direction sensor stuck method is 96.99%, and the total recognition accuracy of the wind speed and wind direction sensor stuck methods is 97.80%.
[0102] According to the embodiments of the present disclosure, the following technical effects are achieved:
[0103] It can obtain the wind speed and wind direction data of the current site; then pre-process the wind speed and wind direction data; when the current site has a neighboring site reference, determine whether the pre-processed wind speed and wind direction data are in the first threshold interval, if so, the wind speed and wind direction sensors of the current site are stuck; when the current site does not have a neighboring site reference, determine whether the pre-processed wind speed and wind direction data are in the second threshold interval, if so, the wind speed and wind direction sensors of the current site are stuck; based on this, a comprehensive quality control method based on multi-source data fusion analysis can be proposed, and the quality control of near-ground wind is studied through multi-source data. First, the wind speed and wind direction data are pre-processed to eliminate erroneous data, and then the maximum wind speed and wind direction, average wind speed and wind direction, instantaneous wind speed and wind direction and other factors are combined to identify whether the wind speed and wind direction sensors are stuck, so as to discover the equipment problems behind the abnormal data as early as possible, and help business personnel at all levels to find, locate and solve problems as soon as possible. It has been integrated into the Tianheng system for national business applications.
[0104] In some embodiments, the above method further comprises:
[0105] When the wind speed and wind direction sensors at the current site are stuck, a stuck alarm message is sent.
[0106] In summary, the quality control method for wind speed and wind direction sensor jams is a multi-source quality control method based on multiple factors, continuity, spatial consistency, observation and pattern consistency detection, etc. This method analyzes the wind direction or wind speed change trend through multi-source data to determine whether the wind speed and wind direction sensors are working normally.
[0107] like Figure 5 As shown, the method first pre-processes the wind speed and direction data, performs gross error detection on the wind speed and direction data, removes erroneous data, and then determines whether it is stuck. If a stuck occurs, an abnormal alarm is issued.
[0108] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, 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 the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0109] The above is an introduction to the method embodiment. The following is a further explanation of the scheme disclosed in the present invention through an apparatus embodiment.
[0110] Figure 6 FIG. 6 is a block diagram of a quality control device 600 for a wind speed and wind direction sensor stuck according to an embodiment of the present disclosure. Figure 6 As shown, the device 600 includes:
[0111] The acquisition module 610 is used to obtain the wind speed and wind direction data of the current site;
[0112] A preprocessing module 620 is used to preprocess the wind speed and wind direction data;
[0113] The identification module 630 is used to determine whether the pre-processed wind speed and wind direction data are within the first threshold range when there is a neighboring site reference at the current site. If so, the wind speed and wind direction sensor of the current site is stuck;
[0114] The identification module 630 is also used to determine whether the pre-processed wind speed and wind direction data are within the second threshold range when there is no adjacent site reference for the current site. If so, the wind speed and wind direction sensor of the current site is stuck.
[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0116] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0117] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0118] Figure 7 A block diagram of an exemplary electronic device 700 capable of implementing an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0119] The electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a ROM 702 or a computer program loaded from a storage unit 708 into a RAM 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An I / O interface 705 is also connected to the bus 704.
[0120] Multiple components in the electronic device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0121] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708.
[0122] In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the method 100 in any other appropriate manner (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0127] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0128] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0129] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0130] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A quality control method for wind speed and wind direction sensor jamming, characterized in that: include: Get the wind speed and direction data of the current site; Preprocessing the wind speed and wind direction data; When there is a neighboring site reference for the current site, determining whether the preprocessed wind speed and wind direction data are within a first threshold interval, and if so, the wind speed and wind direction sensor of the current site is stuck; When there is no neighboring site reference for the current site, it is determined whether the preprocessed wind speed and wind direction data are within a second threshold interval. If so, the wind speed and wind direction sensor of the current site is stuck.
2. The method according to claim 1, characterized in that The wind speed and wind direction data include maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data; The acquisition of wind speed and wind direction data of the current site includes: Obtain the current site's maximum wind speed and wind direction data, two-minute average wind speed and wind direction data, and instantaneous wind speed and wind direction data; Based on the principal component analysis algorithm, the maximum wind speed data of the current site is determined as the identification factor for the wind speed sensor being stuck; the wind direction data of the maximum wind speed of the current site, the instantaneous wind direction data, and the two-minute average wind direction data are determined as the identification factors for the wind direction sensor being stuck.
3. The method according to claim 1, characterized in that The preprocessing of the wind speed and wind direction data comprises: The wind speed and wind direction data are preprocessed based on hourly data limit value check, hourly data continuity check, and / or minute data limit value check and time variation check.
4. The method according to claim 1, characterized in that After preprocessing the wind speed and wind direction data, the method further includes: Taking the current site as the center, a window function within a preset range is used to calculate the similarity between the adjacent sites and the current site, and the site with the highest correlation is used as the neighboring site of the current site. The wind speed and wind direction data of the neighboring sites are the reference values of the wind speed and wind direction data of the current site.
5. The method according to claim 2, characterized in that: When the current site has a neighboring site reference, determining whether the preprocessed wind speed and wind direction data are within a first threshold interval, and if so, determining that the wind speed and wind direction sensor of the current site is stuck includes: When there is a neighboring site reference for the current site, determine whether the number of times that the maximum wind speed data of the current site is continuously 0 is within a first threshold interval and the maximum wind speed data of the neighboring site is not 0 at the same time. If so, the wind speed sensor of the current site is stuck; or When there is a neighboring site reference for the current site, determine whether the wind direction data of the maximum wind speed, the instantaneous wind direction data, and the time when the two-minute average wind direction data remain unchanged at the current site are in the first threshold interval and the wind direction of the neighboring site changes at the same time. If so, the wind direction sensor of the current site is stuck.
6. The method according to claim 2, characterized in that When there is no neighboring site reference for the current site, determining whether the preprocessed wind speed and wind direction data are within a second threshold range, and if so, the wind speed and wind direction sensor of the current site is stuck includes: When there is no neighboring site reference for the current site, determining whether the number of times that the maximum wind speed data of the current site is continuously 0 is within a second threshold interval, and if so, the wind speed sensor of the current site is stuck; or When there is no adjacent site reference for the current site, determine whether the wind direction data of the maximum wind speed, the instantaneous wind direction data, and the time during which the two-minute average wind direction data remain unchanged at the current site are within the second threshold interval. If so, the wind direction sensor of the current site is stuck.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the wind speed and wind direction sensors at the current site are stuck, a stuck alarm message is sent.
8. A quality control device for wind speed and wind direction sensor jamming, characterized in that: include: The acquisition module is used to obtain the wind speed and direction data of the current site; A preprocessing module, used for preprocessing the wind speed and wind direction data; A recognition module, used for judging whether the pre-processed wind speed and wind direction data are within a first threshold interval when there is a neighboring site reference at the current site, and if so, the wind speed and wind direction sensor of the current site is stuck; The identification module is also used to determine whether the pre-processed wind speed and wind direction data are within the second threshold range when there is no adjacent site reference for the current site. If so, the wind speed and wind direction sensor of the current site is stuck.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.