Local data management method and system for wind turbine generator and electronic equipment

By optimizing PLC storage space management and CPU usage monitoring, the problem of incomplete data recording of wind turbines is solved, and efficient data management is achieved under limited storage space to ensure data accuracy and integrity.

CN120596444APending Publication Date: 2025-09-05BEIJING HUANENG XINRUI CONTROL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410242459.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-04
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

The local data acquisition of PLC in the wind turbine has limited storage space and CPU usage, resulting in interruption or incomplete data recording, and the high-precision fault data acquisition of SCADA system is limited.

Method used

By controlling the initialization and management of PLC storage space, real-time detection of CPU usage, reasonably saving and deletion of data, ensuring that the data does not affect CPU usage under limited storage space, and temporarily store data in the cache area until the conditions are met before recovery and storage is restored.

Benefits of technology

With limited storage space, the accuracy and completeness of data recording are ensured, while avoiding excessive CPU usage affecting the operation of other programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120596444A_ABST
    Figure CN120596444A_ABST
Patent Text Reader

Abstract

The invention provides a wind turbine generator local data management method and system and electronic device.The method comprises the steps that a PLC is controlled to be started, and whether the storage space of the PLC meets the storage requirement or not is judged; if the storage requirement is met, initializing a parameter file of the PLC storage space, and storing the acquired wind turbine generator data in a specified folder of the PLC storage space according to a time sequence in the operation process of the wind turbine generator; the CPU utilization rate is detected in real time, if the CPU utilization rate does not meet the use requirement, the obtained wind turbine generator data are only stored in the cache region, and the wind turbine generator data are recovered and stored in the specified folder until the use requirement is met; in the wind turbine generator data storage process, whether the PLC storage space meets the storage requirement or not is judged in real time, and if not, the specified folder of the PLC storage space is deleted according to the time sequence till the storage requirement is met, so that in the limited storage space, it is guaranteed that the CPU utilization rate does not affect operation of other programs, and the accuracy and integrity of data recording can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data management, and in particular to a method, system and electronic equipment for managing local data of a wind turbine generator set. Background Art

[0002] Wind turbine data is of great significance for tracking the operating status of the unit, evaluating power generation performance, and analyzing the causes of failures. Therefore, wind turbine data has become a data resource, and how to better manage this resource is part of wind turbine control.

[0003] Wind turbine data can utilize the data processing capabilities of the local PLC (Programmable Logic Controller) and be saved in the PLC's local storage space in the form of files. However, due to the limited utilization of the PLC's central processing unit (CPU) and storage space issues, PLC local data collection may be interrupted or the records may be incomplete.

[0004] In addition, wind turbine data can be uploaded to a supervisory control and data acquisition (SCADA) system via the Internet, which then manages the data. However, due to the limitations of the SCADA system's inherent accuracy, it is limited in its ability to collect high-precision data such as fault information. Summary of the Invention

[0005] The present application aims to solve one of the technical problems in the related art at least to a certain extent.

[0006] To this end, the first purpose of this application is to propose a local data management method for a wind turbine, so as to ensure that the CPU usage does not affect the operation of other programs while ensuring the accuracy and integrity of data records under limited storage space.

[0007] The second objective of this application is to provide a local data management system for wind turbines.

[0008] The third objective of this application is to provide an electronic device.

[0009] The fourth object of this application is to provide a computer-readable storage medium.

[0010] To achieve the above-mentioned purpose, a first embodiment of the present application proposes a method for managing local data of a wind turbine generator system, comprising the following steps:

[0011] Control the startup of PLC and determine whether the PLC storage space meets the storage requirements;

[0012] If the storage requirements are met, the parameter file of the PLC storage space is initialized, and the acquired wind turbine data is saved in a specified folder of the PLC storage space in chronological order during the operation of the wind turbine;

[0013] Real-time detection of CPU usage. If the CPU usage does not meet the usage requirements, the acquired wind turbine data is stored only in the cache area until the usage requirements are met and then restored and stored in the designated folder.

[0014] During the data storage process of the wind turbine generator set, it is determined in real time whether the PLC storage space meets the storage requirements. If not, the specified folders of the PLC storage space are deleted in chronological order until the storage requirements are met.

[0015] In the method of the first aspect of the present application, the initialization of the parameter file in the PLC storage space includes: reading the parameter file in the PLC storage space in the PLC initialization state, performing a numerical validity judgment on the reading result, and then discarding invalid data.

[0016] In the method of the first aspect of the present application, the wind turbine data includes fault data, status data and other important data; the acquired wind turbine data is saved in a designated folder of the PLC storage space in chronological order, including: for fault data, recording data at a specified time before and after the fault, and saving them in a corresponding designated folder in the PLC storage space in chronological order; for other important data, saving other important data once every set time period, and saving them in a corresponding designated folder in the PLC storage space in chronological order; for status data, saving related status data when the status data changes, and saving them in a corresponding designated folder in the PLC storage space in chronological order.

[0017] In the method of the first aspect of the present application, a first usage threshold and a second usage threshold are set, and the first usage threshold is less than the second usage threshold. If the CPU usage is greater than the second usage threshold, the CPU usage does not meet the usage requirements; if the CPU usage is less than the first usage threshold, the usage requirements are met.

[0018] The method of the first aspect of the present application also includes: setting a third usage threshold, the third usage threshold is greater than the second usage threshold; if the CPU usage is greater than the third usage threshold, the wind turbine is controlled to shut down, and the acquired wind turbine data is only saved in the cache area, and after the shutdown is completed and the CPU usage meets the usage requirements, it is restored and saved in the designated folder.

[0019] In the method of the first aspect of the present application, a first storage space threshold is set. If the PLC storage space is less than or equal to the first storage space threshold, the PLC storage space does not meet the storage demand.

[0020] The method of the first aspect of the present application also includes: setting a second space threshold, which is smaller than the first space threshold; if the PLC storage space is smaller than or equal to the second storage space threshold, the wind turbine is controlled to shut down, and after the shutdown is completed, the designated folder of the PLC storage space is deleted in chronological order.

[0021] To achieve the above objectives, a second embodiment of the present application proposes a wind turbine local data management system, including:

[0022] Control unit, used to control and start PLC;

[0023] The PLC storage space monitoring unit is used to determine whether the PLC storage space meets the storage requirements. It is also used to determine whether the PLC storage space meets the storage requirements in real time during the wind turbine data storage process.

[0024] A parameter initialization processing unit is used to initialize the parameter file of the PLC storage space when the PLC is started and the PLC storage space meets the storage requirements;

[0025] The data processing unit is used to save the acquired wind turbine data in a designated folder of the PLC storage space in chronological order during the operation of the wind turbine after initialization;

[0026] A CPU usage monitoring unit is used to detect the CPU usage in real time. If the CPU usage does not meet the usage requirements, the acquired wind turbine data is only stored in the cache area until the usage requirements are met and then restored and stored in the designated folder;

[0027] The local data deletion unit is used to delete the specified folders of the PLC storage space in chronological order until the storage requirement is met if the PLC storage space does not meet the storage requirement.

[0028] To achieve the above-mentioned purpose, the third aspect embodiment of the present application proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method proposed in the first aspect of the present application.

[0029] To achieve the above-mentioned purpose, the fourth embodiment of the present application proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method proposed in the first aspect of the present application.

[0030] The wind turbine local data management method, system, electronic device and storage medium provided by the present application start the PLC by controlling it and judging whether the PLC storage space meets the storage requirements; if the storage requirements are met, the parameter file of the PLC storage space is initialized, and during the operation of the wind turbine, the acquired wind turbine data is saved in a designated folder of the PLC storage space in chronological order; the CPU usage rate is detected in real time, and if the CPU usage rate does not meet the usage requirements, the acquired wind turbine data is saved only in the cache area until the usage requirements are met and then restored to the designated folder; during the wind turbine data saving process, it is judged in real time whether the PLC storage space meets the storage requirements, and if not, the designated folder of the PLC storage space is deleted in chronological order until the storage requirements are met. In this way, it is possible to avoid the CPU usage rate from affecting the operation of other programs, and when the CPU usage rate does not meet the usage requirements, the acquired wind turbine data is saved only in the cache area to ensure the accuracy and integrity of the data records, thereby achieving the goal of ensuring that the CPU usage rate does not affect the operation of other programs and the accuracy and integrity of the data records under limited storage space.

[0031] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0033] Figure 1 A flow chart of a method for managing local data of a wind turbine generator system provided in an embodiment of the present application;

[0034] Figure 2 A schematic diagram of the PLC storage space monitoring process flow provided in an embodiment of the present application;

[0035] Figure 3 A flow chart showing the process of initializing the parameter file provided in the embodiment of the present application;

[0036] Figure 4 A flowchart of the data processing process provided in the embodiment of the present application;

[0037] Figure 5 A flowchart of the CPU usage monitoring process provided in an embodiment of the present application;

[0038] Figure 6 A schematic diagram of the local data deletion process provided in an embodiment of the present application;

[0039] Figure 7 This is a block diagram of a wind turbine local data management system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0041] The following describes a method and system for managing local data of a wind turbine generator system according to an embodiment of the present application with reference to the accompanying drawings.

[0042] The embodiment of the present application provides a method for managing local data of a wind turbine generator set, which ensures that the CPU usage does not affect the operation of other programs while ensuring the accuracy and integrity of data records under limited storage space.

[0043] Figure 1 This is a flow chart of a method for managing local data of a wind turbine provided in an embodiment of the present application. Figure 1 As shown, the wind turbine local data management method includes the following steps:

[0044] Step S101, controlling the startup of the PLC and determining whether the PLC storage space meets the storage requirement.

[0045] In step S101, the PLC is first controlled to start, and the PLC storage space value is monitored when the PLC is started for the first time to determine whether the PLC storage space meets the storage requirements. If so, the subsequent initialization steps are entered.

[0046] In step S101, a first storage space threshold α1 is set. If the PLC storage space value (hereinafter referred to as the storage space value) is less than or equal to the first storage space threshold, the PLC storage space does not meet the storage requirement. When the PLC storage space does not meet the storage requirement, the data in the designated folder of the PLC storage space is deleted in chronological order (the specific deletion process will be described later). If the PLC storage space value is greater than the first storage space threshold, the PLC storage space meets the storage requirement.

[0047] In step S101, a second space threshold α2 is set for the PLC storage space, and the second space threshold α2 is less than the first space threshold α1. If the PLC storage space value is less than or equal to the second storage space threshold α2, the wind turbine is controlled to shut down, and after the shutdown is completed, the data in the designated folder of the PLC storage space is deleted in chronological order (the specific deletion process is described later).

[0048] In step S101 , the monitoring process involving the PLC storage space is implemented by the PLC storage space monitoring unit.

[0049] Figure 2 A schematic diagram of the PLC storage space monitoring process flow provided in an embodiment of the present application. Figure 2 The PLC storage space monitoring process is implemented by the PLC storage space monitoring unit. Figure 2 As shown, the PLC storage space monitoring process includes: obtaining the PLC storage space value; determining whether the storage space value is less than or equal to the second storage space threshold α2; if so, executing a fault shutdown; and determining whether the shutdown is complete; if so, deleting local data in the local data deletion unit; if the storage space value is greater than the second storage space threshold α2, continuing to determine whether the storage space value is less than or equal to the first storage space threshold α1; if so, deleting local data in the local data deletion unit; if greater than the first storage space threshold α1, executing other processes. If this is the first time the PLC is started, the other processes are initialization processes.

[0050] Step S102: If the storage requirement is met, the parameter file of the PLC storage space is initialized, and the acquired wind turbine data is saved in a designated folder of the PLC storage space in chronological order during the operation of the wind turbine.

[0051] In step S102, when the PLC is first started and the PLC storage space meets the storage requirements, the parameter file of the PLC storage space is initialized. Specifically, the parameter file of the PLC storage space is initialized, including: reading the parameter file in the PLC storage space in the PLC initialization state, determining the validity of the value of the read result, and then discarding invalid data.

[0052] In step S102, the initialization process may be implemented by a parameter initialization processing unit.

[0053] Figure 3 A flow chart of the process of initializing the parameter file provided in the embodiment of the present application. Figure 3 The process is implemented by the parameter initialization processing unit. When the PLC is started for the first time, the PLC storage space monitoring unit determines that the storage space value is greater than the first storage space threshold α1. Figure 3As shown, the initialization process includes: reading the parameter file in the initialization state; determining whether the reading result is abnormal; if so, assigning default data to the parameters; otherwise, assigning the parameters with values. Whether the reading result is abnormal is determined by checking the numerical validity of each reading result one by one. If invalid data is present, it is discarded and an alarm is issued. The parameters corresponding to the invalid data are reassigned. If all data are valid, the default data of the parameters in the parameter file in the PLC storage space in the initialization state can be directly assigned to each parameter. The parameters in the parameter file in the PLC storage space after the assignment are used in subsequent processes.

[0054] In step S102 , after initialization is completed, the acquired wind turbine data is stored in a designated folder of the PLC storage space in chronological order during the operation of the wind turbine.

[0055] Specifically, wind turbine data includes fault data, status data, and other important data; during the operation of the wind turbine, the acquired wind turbine data is saved in a designated folder of the PLC storage space in chronological order, including: for fault data, recording the data of the specified time before and after the fault, and saving it in the corresponding designated folder of the PLC storage space in chronological order; for other important data, saving other important data once every set time period, and saving it in the corresponding designated folder of the PLC storage space in chronological order; for status data, saving the relevant status data when the status data changes, and saving it in the corresponding designated folder of the PLC storage space in chronological order. Among them, the fault data in the designated folder can also be packaged by day when saving. This is because the fault data requires a higher sampling accuracy, and the data volume is relatively large compared to the data volume of the status data and other important data. This process can be implemented by the data processing unit.

[0056] In step S102 , the fault data may include but is not limited to wind turbine status, active power, 5-minute filtered wind speed, instantaneous wind speed, generator speed, impeller speed and other types of fault data.

[0057] In step S102, the status data may include but is not limited to data of types such as wind turbine status, login status, pitch status, yaw status, and backup power supply status.

[0058] In step S102, the set duration may be, for example, 10 minutes. Other important data may include, but are not limited to, the 10-minute average temperature of the cabin control cabinet, the 10-minute average active power, the 10-minute average wind speed, the 10-minute average generator winding temperature, and other types of data.

[0059] In step S102 , fault data, status data and other important data can all be directly acquired through the PLC side.

[0060] Figure 4 A flowchart of the data processing process provided in the embodiment of the present application. Figure 4 The process is implemented by the data processing unit. Figure 4 As shown, the data processing process includes:

[0061] For fault data, perform real-time updates on the fault data; determine whether a fault has occurred, and if not, return to update; if so, cache and update the fault data for the specified time before and after the fault, execute the data recording function, and save the file in the specified location (i.e., save it in the corresponding specified folder in the PLC storage space);

[0062] For 10-minute data (i.e. other important data with a set duration of 10 minutes), the 10-minute data is updated in real time; it is determined whether the 10-minute count has expired, if not, it returns to update; if so, the 10-minute data power-off retention area is updated, the data recording function is executed, and the file is saved in the specified location;

[0063] For status data, update the status data in real time; determine whether the status data has changed, if not, return to update, if so, update the data in the status data power-off holding area, execute the data recording function, and save the file in the specified location;

[0064] After the fault data, status data and other important data are saved to the specified location, determine whether the data is recorded in a conditional trigger manner (for example, set the time step to days and determine whether a day change occurs). If so, package the fault data at the specified location.

[0065] like Figure 4 As shown, during the data processing process (i.e., the PLC data local recording and processing process), it is also necessary to use a CPU usage monitoring unit to monitor the usage, which will be described in detail later. This prevents excessive CPU usage from affecting the running of other programs.

[0066] Step S103 , real-time detection of CPU usage rate. If the CPU usage rate does not meet the usage requirement, the acquired wind turbine data is only stored in the cache area until the usage requirement is met and then restored to the designated folder.

[0067] Specifically, considering that the PLC's file processing consumes a large amount of CPU usage, it is common for the PLC to freeze due to excessive CPU usage during the data file recording process. Furthermore, the amount of fault data is large, so when the fault data recording function is activated, the CPU usage monitoring function must be activated simultaneously. In step S103, a first usage threshold β0 and a second usage threshold β1 are set. The first usage threshold is less than the second usage threshold. If the CPU usage is greater than the second usage threshold, the CPU usage does not meet the usage requirements; if the CPU usage is less than the first usage threshold, the CPU usage requirements are met. If the CPU usage does not meet the usage requirements, the acquired wind turbine data will be stored only in the cache area until the usage requirements are met and then restored to the designated folder.

[0068] In step S103, it also includes: setting a third usage threshold β2, the third usage threshold is greater than the second usage threshold; if the CPU usage is greater than the third usage threshold, the wind turbine is controlled to shut down, and the acquired wind turbine data is only saved in the cache area, and after the shutdown is completed and the CPU usage meets the usage requirements, it is restored and saved in the designated folder.

[0069] In step S103 , the CPU usage monitoring process may be implemented by a CPU usage monitoring unit.

[0070] Figure 5 A flowchart of the CPU usage monitoring process provided in an embodiment of the present application. Figure 5 The monitoring process is implemented by the CPU usage monitoring unit. Figure 5 As shown in the figure, the CPU usage monitoring process includes:

[0071] Determine whether the detected CPU usage is greater than the third usage threshold β2. If so, shut down the wind turbine generator system; stop generating data files (i.e., stop saving data to the designated folder) and save the data in the buffer; determine whether the shutdown is complete. If the shutdown is not complete, continue the shutdown. If the shutdown is complete, determine whether the CPU usage is normal (i.e., the CPU usage is less than the first usage threshold β0). If so, continue recording the data files (i.e., continue saving data to the designated folder);

[0072] If the CPU usage is less than or equal to the third usage threshold β2, the CPU usage is further determined to be greater than the second usage threshold β1. If so, the data file generation is stopped, the data is saved in the buffer (i.e., the data to be recorded is saved in another data cache area), and the CPU usage is determined to be normal. If so, data file recording is continued. If the CPU usage is less than or equal to the second usage threshold β1, the CPU usage is further determined to be less than the first usage threshold β0. If so, data file recording is continued. If it is greater than or equal to the first usage threshold β0, the process returns to determine whether it is greater than the second usage threshold β1. When continuing to record data files, the data previously saved in the cache area is first saved in a designated folder.

[0073] Considering that the amount of fault data is relatively large compared to the amount of status data and other important data, Figure 5 The monitoring process stops generating data files, which may be files that stop generating fault data.

[0074] Step S104: During the data storage process of the wind turbine generator set, it is determined in real time whether the PLC storage space meets the storage requirements. If not, the designated folders of the PLC storage space are deleted in chronological order until the storage requirements are met.

[0075] Specifically, in step S104, during the data storage process of the wind turbine generator set, the PLC storage space value is monitored in real time, and it is determined whether the PLC storage space meets the storage requirements. The determination is set to two levels. When the first level is triggered (i.e., the storage space value <= α1), the local data deletion unit is deleted after the wind turbine generator set exits the power generation state; when the second level is triggered (i.e., the storage space value <= α2), a fault is directly triggered, forcing the wind turbine generator set to shut down. After the shutdown of the wind turbine generator set is completed, the local data deletion unit is deleted. After deleting the local data, if the storage space is sufficient (i.e., the storage space value > α1), other logic is executed. This process is implemented by the PLC storage space monitoring unit. For details, please refer to Figure 2 process.

[0076] Step S104: During the wind turbine data storage process, if the PLC storage space is insufficient, designated folders in the PLC storage space are deleted in chronological order until the storage requirement is met. This deletion process is implemented by the local data deletion unit. All data in the designated folders or files are deleted until the PLC storage space meets the storage requirement.

[0077] Figure 6 A schematic diagram of the local data deletion process provided in an embodiment of the present application. Figure 6 The deletion process shown is implemented by the local data deletion unit. Figure 6 As shown, the local data deletion process includes:

[0078] Send a local data backup request to the remote device; determine whether the remote data backup is complete, if so, execute the logic of deleting all local data; determine whether the data traversal is complete; if not, continue traversing; if traversal is complete, delete the data in the order of traversal; if the data deletion is complete, stop deleting, otherwise continue deleting;

[0079] If the remote data backup is not completed, continue to determine whether the remote data backup has timed out. If not, return to determine whether the backup is completed. If it has timed out, stop sending data. Execute some logic for local data deletion. Determine whether the specified data traversal is completed. If not, continue traversing. If traversal is completed, delete the data in the traversal order. Determine whether the data deletion is completed. If so, stop deleting. If not, continue deleting.

[0080] pass Figure 6 The local data deletion process shown is as follows: if a connection is established with the remote system, all data in the storage space can be sent to the remote system and the sent data is deleted; if a connection cannot be established with the remote system, the contents of the data storage space are traversed. Since the data content is named by time, the generated folders and data packets are also sorted in chronological order. By traversing the folders and data packets in time, a sequence table for deleting files is generated in chronological order, and the data files are deleted according to the sequence table. In this way, data in the specified folder of the PLC storage space is deleted in chronological order. The remote device and remote system, for example, can be a SCADA system or a remote file storage system.

[0081] Step S104: Since the CPU usage may be too high during the local data deletion process, the CPU usage monitoring function is started at the same time when the local data deletion process is performed. Once the CPU usage exceeds the second usage threshold β1, the file traversal and deletion are stopped, and the CPU usage is waited until it is lower than the first usage threshold β0 before continuing.

[0082] In order to implement the above embodiment, the present application also proposes a wind turbine local data management system.

[0083] Figure 7 This is a block diagram of a wind turbine local data management system provided in an embodiment of the present application.

[0084] like Figure 7 As shown, the wind turbine local data management system includes a control unit, a PLC storage space monitoring unit, a parameter initialization processing unit, a data processing unit, a CPU usage monitoring unit and a local data deletion unit, wherein:

[0085] Control unit, used to control and start PLC;

[0086] The PLC storage space monitoring unit is used to determine whether the PLC storage space meets the storage requirements. It is also used to determine whether the PLC storage space meets the storage requirements in real time during the wind turbine data storage process.

[0087] A parameter initialization processing unit is used to initialize the parameter file of the PLC storage space when the PLC is started and the PLC storage space meets the storage requirements;

[0088] The data processing unit is used to save the acquired wind turbine data in a designated folder of the PLC storage space in chronological order during the operation of the wind turbine after initialization;

[0089] The CPU usage monitoring unit is used to detect the CPU usage in real time. If the CPU usage does not meet the usage requirements, the acquired wind turbine data will be stored only in the cache area until it meets the usage requirements and then restored to the designated folder;

[0090] The local data deletion unit is used to delete the specified folders of the PLC storage space in chronological order until the storage requirement is met if the PLC storage space does not meet the storage requirement.

[0091] Furthermore, in a possible implementation of an embodiment of the present application, the CPU usage monitoring unit is specifically used to: read the parameter file in the PLC storage space in the PLC initialization state, perform numerical validity judgment on the reading result, and then discard invalid data.

[0092] Furthermore, in a possible implementation of an embodiment of the present application, the wind turbine data includes fault data, status data and other important data; the data processing unit is specifically used to: for fault data, record data at a specified time before and after the fault, and save them in a corresponding designated folder in the PLC storage space in chronological order; for other important data, save other important data once every set time period, and save them in a corresponding designated folder in the PLC storage space in chronological order; for status data, save related status data when the status data changes, and save them in a corresponding designated folder in the PLC storage space in chronological order.

[0093] Furthermore, in a possible implementation of an embodiment of the present application, a first usage threshold and a second usage threshold are set, and the first usage threshold is less than the second usage threshold. If the CPU usage is greater than the second usage threshold, the CPU usage does not meet the usage requirements; if the CPU usage is less than the first usage threshold, the usage requirements are met.

[0094] Furthermore, in a possible implementation of an embodiment of the present application, the CPU usage monitoring unit is also used to set a third usage threshold, and the third usage threshold is greater than the second usage threshold; if the CPU usage is greater than the third usage threshold, the wind turbine is controlled to shut down, and the acquired wind turbine data is only saved in the cache area. After the shutdown is completed and the CPU usage meets the usage requirements, it is restored and saved in the designated folder.

[0095] Furthermore, in a possible implementation of the embodiment of the present application, a first storage space threshold is set. If the PLC storage space is less than or equal to the first storage space threshold, the PLC storage space does not meet the storage requirement.

[0096] Furthermore, in a possible implementation of an embodiment of the present application, the PLC storage space monitoring unit is also used to set a second space threshold, and the second space threshold is less than the first space threshold; if the PLC storage space is less than or equal to the second storage space threshold, the wind turbine is controlled to shut down, and after the shutdown is completed, the specified folder of the PLC storage space is deleted in chronological order.

[0097] It should be noted that the above explanations of the embodiment of the method for managing local data of a wind turbine generator set are also applicable to the local data management system for a wind turbine generator set of this embodiment, and will not be repeated here.

[0098] In the embodiment of the present application, the PLC is started by controlling and determining whether the PLC storage space meets the storage requirements; if the storage requirements are met, the parameter file of the PLC storage space is initialized, and during the operation of the wind turbine, the acquired wind turbine data is saved in a designated folder of the PLC storage space in chronological order; the CPU usage rate is detected in real time, and if the CPU usage rate does not meet the usage requirements, the acquired wind turbine data is saved only in the cache area until the usage requirements are met and then restored to the designated folder; during the wind turbine data saving process, it is determined in real time whether the PLC storage space meets the storage requirements, and if not, the designated folders of the PLC storage space are deleted in chronological order until the storage requirements are met. In this way, it is possible to avoid the CPU usage rate from affecting the operation of other programs, and when the CPU usage rate does not meet the usage requirements, the acquired wind turbine data is saved only in the cache area to ensure the accuracy and integrity of the data records, thereby achieving the goal of ensuring that the CPU usage rate does not affect the operation of other programs and the accuracy and integrity of the data records under limited storage space.

[0099] In the embodiments of the present application, the data management method and system are simple, reasonable, effective, and complete. They will not cause excessive CPU usage to affect the operation of other programs; they can also effectively utilize PLC storage space; and they can also ensure the accuracy and integrity of data files.

[0100] In order to implement the above embodiments, the present application also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

[0101] In order to implement the above embodiments, the present application also proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided in the above embodiments.

[0102] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0103] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this application are in compliance with relevant laws and regulations and do not violate public order and good morals.

[0104] It is important to note that personal information collected from users should be used for legitimate and reasonable purposes and should not be shared or sold beyond these legitimate uses. Furthermore, such collection / sharing should be conducted only after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign an agreement / authorization that includes the relevant user information before using the feature. Furthermore, any necessary steps must be taken to safeguard and secure access to such personal information and ensure that others with access to personal information comply with its privacy policy and procedures.

[0105] This application contemplates providing implementations that allow users to selectively block the use or access of personal information data. Specifically, this disclosure contemplates providing hardware and / or software to prevent or block access to such personal information data. Risks can be minimized by limiting data collection and deleting data once it is no longer needed. Furthermore, where applicable, such personal information can be de-identified to protect user privacy.

[0106] In the descriptions of the foregoing embodiments, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are mutually inconsistent.

[0107] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.

[0108] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.

[0109] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and a portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0110] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0111] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0112] In addition, the functional units in the various embodiments of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into a module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0113] The storage medium mentioned above may be a read-only memory, a magnetic disk, or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application. Persons skilled in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for managing local data of a wind turbine generator system, characterized in that: The following steps are involved: Control the startup of PLC and determine whether the PLC storage space meets the storage requirements; If the storage requirements are met, the parameter file of the PLC storage space is initialized, and the acquired wind turbine data is saved in a specified folder of the PLC storage space in chronological order during the operation of the wind turbine; Real-time detection of CPU usage. If the CPU usage does not meet the usage requirements, the acquired wind turbine data is stored only in the cache area until the usage requirements are met and then restored and stored in the designated folder. During the data storage process of the wind turbine generator set, it is determined in real time whether the PLC storage space meets the storage requirements. If not, the specified folders of the PLC storage space are deleted in chronological order until the storage requirements are met.

2. The method for managing local data of a wind turbine generator system according to claim 1, wherein: Initializing the parameter file of the PLC storage space includes: Read the parameter file in the PLC storage space in the PLC initialization state, perform a value validity check on the read result, and then discard the invalid data.

3. The method for managing local data of a wind turbine generator system according to claim 1, wherein: The wind turbine data includes fault data, status data and other important data; The step of storing the acquired wind turbine data in a designated folder of the PLC storage space in chronological order includes: For fault data, record the data of the specified time before and after the fault, and save them in the corresponding specified folder in the PLC storage space in chronological order; For other important data, save it once every set time and save it in the corresponding designated folder in the PLC storage space in chronological order; For status data, relevant status data is saved when the status data changes, and is saved in the corresponding designated folder in the PLC storage space in chronological order.

4. The method for managing local data of a wind turbine generator system according to claim 1, wherein: A first usage threshold and a second usage threshold are set, where the first usage threshold is smaller than the second usage threshold. If the CPU usage is larger than the second usage threshold, the CPU usage does not meet the usage requirement; if the CPU usage is smaller than the first usage threshold, the usage requirement is met.

5. The method for managing local data of a wind turbine generator system according to claim 4, wherein: Also includes: Setting a third usage rate threshold, wherein the third usage rate threshold is greater than the second usage rate threshold; If the CPU usage is greater than a third usage threshold, the wind turbine generator set is controlled to shut down, and the acquired wind turbine generator set data is only saved in the cache area. After the shutdown is completed and the CPU usage meets the usage requirements, the data is restored and saved in the designated folder.

6. The method for managing local data of a wind turbine generator system according to claim 1, wherein: A first storage space threshold is set. If the PLC storage space is less than or equal to the first storage space threshold, the PLC storage space does not meet the storage requirement.

7. The method for managing local data of a wind turbine generator system according to claim 6, wherein: Also includes: Setting a second space threshold, wherein the second space threshold is smaller than the first space threshold; If the PLC storage space is less than or equal to the second storage space threshold, the wind turbine generator set is controlled to shut down, and after the shutdown is completed, the designated folders of the PLC storage space are deleted in chronological order.

8. A wind turbine local data management system, characterized in that: include: Control unit, used to control and start PLC; The PLC storage space monitoring unit is used to determine whether the PLC storage space meets the storage requirements. It is also used to determine whether the PLC storage space meets the storage requirements in real time during the wind turbine data storage process. A parameter initialization processing unit is used to initialize the parameter file of the PLC storage space when the PLC is started and the PLC storage space meets the storage requirements; The data processing unit is used to save the acquired wind turbine data in a designated folder of the PLC storage space in chronological order during the operation of the wind turbine after initialization; A CPU usage monitoring unit is used to detect the CPU usage in real time. If the CPU usage does not meet the usage requirements, the acquired wind turbine data is only stored in the cache area until the usage requirements are met and then restored and stored in the designated folder; The local data deletion unit is used to delete the specified folders of the PLC storage space in chronological order until the storage requirement is met if the PLC storage space does not meet the storage requirement.

9. An electronic device, characterized in that: include: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.