A wind energy cogeneration unit log system and a data storage method thereof
By using a log system for wind power cogeneration units, employing multi-level counters and power outage protection modules, the problem of heating capacity fluctuations in wind power cogeneration systems has been solved, achieving accurate data recording and stable system operation, thereby improving the operational efficiency and management level of wind power cogeneration systems.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- INST OF ENGINEERING THERMOPHYSICS - CHINESE ACAD OF SCI
- Filing Date
- 2026-02-05
- Publication Date
- 2026-06-12
AI Technical Summary
In wind-powered combined heat and power systems, wind heating is affected by the fluctuations and intermittency of wind energy, resulting in fluctuations in real-time heating capacity. Existing technologies make it difficult to accurately record the annual operating time and heating capacity data of the units, which affects scientific research and system operation monitoring.
Design a log system for a wind-powered combined heat and power (CHP) unit. The system uses a timer and a multi-level counter (second counter, minute counter, hour counter, and day counter) to accurately measure the unit's operating time. The system stores the data in an orderly manner through a total heat output and daily heat output data storage system. A power outage protection module is set up to ensure data integrity.
It enables precise measurement of unit operating time and orderly storage of data, ensuring data continuity and integrity, supporting scientific research and real-time monitoring, and improving the operating efficiency and management level of wind power cogeneration systems.
Smart Images

Figure CN122200835A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wind power cogeneration technology, and in particular to a wind power cogeneration unit log system and its data storage method. Background Technology
[0002] With the increasing maturity of wind power technology and the gradual development of wind-powered heating, wind-powered combined heat and power (CHP) technology has been proposed to further improve the utilization rate of wind resources. The wind-powered heating method in a CHP system differs from traditional coal-fired or electric heating. Wind-powered heating is affected by the fluctuations and intermittency of wind energy, resulting in corresponding fluctuations in real-time heating output. Therefore, a log system for wind-powered CHP units is designed to accurately record operational data such as annual operating time, total heating output, and daily heating output. This data can serve as support for scientific research and also enables real-time and accurate monitoring of the unit's operating status. Summary of the Invention
[0003] In view of this, embodiments of this application provide a log system and data storage method for a wind power cogeneration unit, used to accurately record data such as the unit's annual working hours, total heating capacity, and daily heating capacity, to support scientific research and system operation monitoring.
[0004] In a first aspect, embodiments of this application provide a log system for a wind power cogeneration unit. The log system includes a timer, a second counter, a minute counter, an hour counter, and a day counter. The output of the timer is connected to the increment interface of the second counter, the output of the second counter is connected to the increment interface of the minute counter, the output of the minute counter is connected to the increment interface of the hour counter, the output of the hour counter is connected to the increment interface of the day counter, and the output of the hour counter is also connected to a total heat production data storage system and a daily heat production data storage system.
[0005] According to a specific implementation of an embodiment of this application, at least one of the second counter, minute counter, hour counter, and day counter has a reset signal set to zero.
[0006] According to a specific implementation of an embodiment of this application, in the total heat production data storage system, day n is the time the system has been in for the longest time since the current day, and day 1 is the time the system has been in for the shortest time since the current day, and a total of n days of total heat production are recorded.
[0007] According to a specific implementation of an embodiment of this application, in a daily heat production data storage system, the nth day is the time the system has been in contact with the current time for the longest period, and the 1st day is the time the system has been in contact with the current time for the shortest period, and a total of n days of daily heat production are recorded.
[0008] According to a specific implementation of an embodiment of this application, the total heat production data storage system and the daily heat production data storage system are respectively equipped with power failure protection modules.
[0009] Secondly, embodiments of this application also provide a data storage method for a wind power cogeneration unit log system, implemented based on the wind power cogeneration unit log system as described in any embodiment of the first aspect, the method comprising:
[0010] When the wind power cogeneration unit is put into operation and the system is working in heating mode, a timer is triggered, and the timer generates a rising edge every second. The rising edge of the timer is connected to the second counter increment interface. When the second counter counts to 60, the second counter is reset and simultaneously outputs a rising edge. The rising edge of the second counter is connected to the minute counter increment interface. When the minute counter counts to 60, the minute counter is reset and simultaneously outputs a rising edge. When the rising edge of the minute counter is connected to the hour counter increment interface, the hour counter is reset when the hour counter counts to 24, and the hour counter outputs a rising edge at the same time. The rising edge of the hour counter is connected to the day counter incrementing interface.
[0011] According to a specific implementation of an embodiment of this application, the method further includes: The rising edge of the time counter output triggers the transfer of the total heat production of day n-1 to the total heat production of day n, and at the same time outputs the rising edge n-1; The total heat output is transferred from day n-(k+1) to day nk according to the rising edge nk, and the total heat output is transferred sequentially according to the rising edge n-(k+1). The current total heating capacity is transferred to the total heating capacity of day 1 until the rising edge 1 is triggered, and the rising edge 0 is output at the same time.
[0012] According to a specific implementation of an embodiment of this application, the method further includes: The rising edge of the timer output to 0 triggers the daily heat data storage system, and the triggering process is as follows: The rising edge 0 triggers the transfer of the daily heating capacity of day n-1 to the daily heating capacity of day n, and at the same time outputs the rising edge n-1 of the day; The daily heat production is transferred from day n-(k+1) to day nk according to the single-day rising edge nk, and the single-day heat production is transferred sequentially according to the single-day rising edge n-(k+1). Until the rising edge 2 of a single day triggers the transfer of the daily heating capacity of day 1 to the daily heating capacity of day 2, and at the same time outputs the rising edge 1 of a single day, the rising edge 1 of a single day triggers the transfer of the difference between the total heating capacity of day 1 and the total heating capacity of day 2 to the daily heating capacity of day 1, and at the same time outputs the rising edge 0 of a single day.
[0013] According to a specific implementation of an embodiment of this application, the method further includes: When the system needs to be reset and the timer restarted, the rising edge of the reset command is triggered and connected to the reset terminal of the counter corresponding to the reset command.
[0014] Beneficial effects: The wind-powered combined heat and power (CHP) unit log system and its data storage method in this embodiment achieve precise measurement of unit operating time through the coordinated operation of timers and multi-level counters, and complete the orderly storage of relevant data using a total heat output data storage system and a daily heat output data storage system. The total heat output data storage system updates sequentially according to time to ensure continuous recording of long-term data; the daily heat output data storage system accurately acquires daily data through total heat output difference calculation, and the power outage protection module effectively ensures data integrity in the event of a sudden power outage. This design not only meets the needs of scientific research for long-term, accurate data, but also provides reliable data support for real-time monitoring of unit operating status, helping to improve the operating efficiency and management level of the wind-powered CHP system. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a timer logic diagram according to an embodiment of the present invention; Figure 2 This is a timing diagram of heat generation data transmission according to an embodiment of the present invention; Figure 3 This is a logic diagram of a power failure recovery function according to an embodiment of the present invention. Detailed Implementation
[0017] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0018] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this application, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0020] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The illustrations only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0021] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0022] In a first aspect, embodiments of this application provide a log system for a wind power combined heat and power (CHP) unit, referring to... Figure 1 The wind power cogeneration unit log system includes a timer, a second counter, a minute counter, an hour counter, and a day counter. The output of the timer is connected to the increment interface of the second counter, the output of the second counter is connected to the increment interface of the minute counter, the output of the minute counter is connected to the increment interface of the hour counter, the output of the hour counter is connected to the increment interface of the day counter, and the output of the hour counter is also connected to the total heat production data storage system and the daily heat production data storage system.
[0023] In this embodiment, a timer is designed to generate a rising edge every second. When the wind-powered cogeneration unit is put into operation and the system operates in heating mode, the timer is triggered, generating rising edges regularly. The second counter starts counting after receiving the rising edge from the timer, sending a rising edge signal to the minute counter every 60 rising edges, while simultaneously resetting itself to zero and restarting the count. The minute counter receives the rising edge from the second counter and starts counting, sending a rising edge signal to the hour counter after accumulating 60 rising edges, then resetting itself to zero and restarting the count. The hour counter receives the rising edge signal from the minute counter and counts, sending a rising edge signal to the day counter after accumulating 24 rising edges, while simultaneously resetting itself to zero. The total heating capacity data storage system, upon receiving the rising edge signal from the hour counter, summarizes and stores the heating capacity data generated by the wind-powered cogeneration unit in real time for the current period. The daily heating capacity data storage system, upon receiving the rising edge signal from the hour counter, stores the heating capacity data for that day separately, so that the daily heating capacity can be queried and analyzed later. This cascaded design of multi-level counters can accurately accumulate and divide time, providing an accurate time reference for time-sharing storage of heating data, ensuring the time correlation and accuracy of stored data, and enabling the system to clearly record the heating output of the unit in different time periods.
[0024] Furthermore, the reset terminal of at least one of the second counter, minute counter, hour counter, and day counter is set with a clear signal.
[0025] This reset signal can be triggered by an external control module or system management unit. When it is necessary to reset data statistics for a specific time dimension, such as when the annual cycle ends and timing needs to restart, or when the system malfunctions and needs to be restored to its initial state, the count value of the corresponding counter can be quickly reset to zero by inputting a reset signal to the reset terminal of the corresponding counter. For example, when the daily counter reaches the set maximum number of days in the year, the reset signal is triggered to reset the daily counter and start counting again from 0. At the same time, the total heat production data storage system and the daily heat production data storage system can also archive or initialize data based on the reset signal, ensuring that data recording for the next cycle can be performed accurately and independently, avoiding confusion between data from different cycles, and improving the system's flexibility and reliability in long-term data management.
[0026] Furthermore, in the total heat output data storage system, day n is the longest time since the system started, and day 1 is the shortest time since the system started. New data overwrites old data, and a total of n days of total heat output are recorded.
[0027] Furthermore, in the daily heat production data storage system, day n is the longest time since the system started, and day 1 is the shortest time since the system started. New data overwrites old data, and a total of n days of daily heat production are recorded.
[0028] In this embodiment, the value of n can be flexibly set according to actual application needs, such as 30 days, 90 days, or 365 days, to meet the requirements of historical data storage cycle in different scenarios. When the system runs to day n+1, the total heating data and daily heating data of day n will be automatically overwritten, and the newly generated data of the current day will be stored as the data of day 1. This cyclical update ensures the timeliness of data storage and retains key heating information of the recent period within a limited storage space, making it convenient for users to query and analyze the recent operating heat output trend of the unit at any time. This data overwrite mechanism eliminates the need for continuous expansion of storage media, reducing hardware costs while ensuring efficient data access and avoiding query delays caused by excessive data volume.
[0029] Furthermore, the total heat capacity data storage system and the daily heat capacity data storage system are each equipped with a power failure protection module.
[0030] In practice, the total heating capacity and daily heating capacity are used for system heat generation analysis and are data that needs to be maintained long-term. When a power outage occurs, such as an abnormal power failure during system operation, a power outage protection module must be set up for the total heating capacity and daily heating capacity registers to prevent data loss. Timers, second counters, minute counters, hour counters, and day counters are also set to power outage protection mode to ensure that critical data is not lost in the event of an abnormal power outage. After power is restored and the system is restarted, the power outage recovery function is activated to ensure normal and stable system operation and accurate re-recording of operating data. The logic of the power outage recovery function is as follows: Figure 3 As shown.
[0031] For specific operations, for example: Enter the "Power-off Recovery Password" in the host computer window. If the password is correct, the Power-off Recovery window will be displayed, and a "Start" button will appear. Click the "Start" button to re-establish communication, and the "Start" button will disappear. The window will then display the "Recover 1" button. Click the "Recover 1" button to make counter 1 ready to work, and the "Recover 1" button will disappear. The window will then display the "Recover 2" button. Click the "Recover 2" button to start counting, and the "Recover 2" button will disappear. And so on, until the window displays the "Recover n" button. Click the "Recover n" button to restore the corresponding functions of the system, and the "Recover n" button will disappear. The window will then display the "Complete" button. Click the "Complete" button, and the "Complete" button will disappear. The window will then display the "Start" button. Cancel the "Power-off Recovery Password" and the Power-off Recovery window will disappear.
[0032] By incorporating a power outage protection module, critical data from both the total heating capacity data storage system and the daily heating capacity data storage system can be rapidly written to non-volatile storage media during sudden power outages. Simultaneously, the current count values of timers and various counters are also saved in real time, preventing data loss or timing errors caused by power interruptions. Upon restoration of power, the power outage protection module automatically initiates a data recovery process, retrieving the total heating capacity, daily heating capacity data, and counter count values saved before the power outage from the non-volatile storage media and accurately restoring them to the corresponding registers and storage units. This allows the unit log system to continue operating from its pre-outage state, ensuring the continuity and integrity of data recording and providing a reliable foundation for subsequent data analysis and unit operation status assessment. Furthermore, this power outage protection module employs a low-power design, completing data backup in a very short time during a power outage. It also features a verification mechanism during data recovery, automatically detecting data integrity and accuracy. If data corruption is detected, an alarm is triggered, and backup data is attempted for repair, further enhancing the system's fault tolerance and data reliability under extreme conditions.
[0033] Secondly, embodiments of this application also provide a data storage method for a wind power cogeneration unit log system, implemented based on the wind power cogeneration unit log system as described in any embodiment of the first aspect, with reference to... Figure 1 The method includes: When the wind power cogeneration unit is put into operation and the system is working in heating mode, a timer is triggered, and the timer generates a rising edge every second. The rising edge of the timer is connected to the second counter increment interface. When the second counter counts to 60, the second counter is reset and simultaneously outputs a rising edge. The rising edge of the second counter is connected to the minute counter increment interface. When the minute counter counts to 60, the minute counter is reset and simultaneously outputs a rising edge. When the rising edge of the minute counter is connected to the hour counter increment interface, the hour counter is reset when the hour counter counts to 24, and the hour counter outputs a rising edge at the same time. The rising edge of the hour counter is connected to the day counter incrementing interface.
[0034] In this embodiment, the counting range of the daily counter can be set according to actual needs, such as 365 days. When the count value reaches the set upper limit, the daily counter automatically resets and outputs a rising edge signal to the monthly counter, thereby achieving continuous accumulation and accurate measurement of time. Through this cascaded design of multi-level counters, the system can accurately record the operating time of the unit in heating mode, providing accurate timestamps for subsequent log data storage, ensuring that each stored operating data accurately corresponds to the corresponding time node, facilitating subsequent analysis and traceability of the unit's operating status. Simultaneously, this counting logic adopts a combination of hardware triggering and software counting, ensuring both real-time performance and stability of the counting, while flexibly adapting to the time measurement needs of different operating scenarios, effectively avoiding time recording deviations caused by software delays or interruptions.
[0035] Furthermore, refer to Figure 2 The method further includes: The rising edge of the time counter output triggers the transfer of the total heat production of day n-1 to the total heat production of day n, and at the same time outputs the rising edge n-1; The total heat output is transferred from day n-(k+1) to day nk according to the rising edge nk, and the total heat output is transferred sequentially according to the rising edge n-(k+1). The current total heating capacity is transferred to the total heating capacity of day 1 until the rising edge 1 is triggered, and the rising edge 0 is output at the same time.
[0036] In this embodiment, the value of k can be flexibly set according to actual needs. For example, if k is set to 7, then when rising edge 7 is triggered, the total heating capacity of day n-8 will be transferred to the total heating capacity of day n-7, and rising edge 6 will be output simultaneously. This process continues until the total heating capacity of each day within a week is updated sequentially. This total heating capacity transfer mechanism enables the orderly rolling storage of historical daily total heating capacity data, ensuring that the system can always retain the latest total heating capacity information for several days under limited storage resources, facilitating subsequent short-term trend analysis of the unit's heating efficiency. Simultaneously, this transfer process is precisely controlled by hardware trigger signals, ensuring the accuracy and timeliness of data transmission and avoiding data transmission delays or losses caused by software scheduling issues. This provides a strong guarantee for the continuity and reliability of heating capacity data in the log system.
[0037] Furthermore, refer to Figure 2 The method further includes: The rising edge of the timer output to 0 triggers the daily heat data storage system, and the triggering process is as follows: The rising edge 0 triggers the transfer of the daily heating capacity of day n-1 to the daily heating capacity of day n, and at the same time outputs the rising edge n-1 of the day; The daily heat production is transferred from day n-(k+1) to day nk according to the single-day rising edge nk, and the single-day heat production is transferred sequentially according to the single-day rising edge n-(k+1). Until the rising edge 2 of a single day triggers the transfer of the daily heating capacity of day 1 to the daily heating capacity of day 2, and at the same time outputs the rising edge 1 of a single day, the rising edge 1 of a single day triggers the transfer of the difference between the total heating capacity of day 1 and the total heating capacity of day 2 to the daily heating capacity of day 1, and at the same time outputs the rising edge 0 of a single day.
[0038] In this embodiment, the transmission logic of daily heating data is similar to that of total heating data, both using rising edge signals to trigger the rolling update of historical data. When k is set to 7, the rising edge n-7 of a single day will trigger the transmission of the daily heating data of day n-8 to the daily heating data of day n-7, and simultaneously output the rising edge n-8 of a single day. This cycle repeats until the dynamic storage of daily heating data for the entire week is completed. This design allows the system to continuously retain the daily heating data of the most recent k days in a fixed storage unit, providing accurate data support for analyzing daily heating load fluctuations and changes in the daily operating efficiency of the unit. In conjunction with the total heating data transmission mechanism, the rolling storage of daily heating data further improves the data management architecture of the log system, ensuring that both the overall heating trend and the detailed daily data can be effectively recorded and updated. Moreover, the entire process relies on the accuracy of hardware triggering, avoiding errors or timing disorder in data transmission.
[0039] Furthermore, the method also includes: When the system needs to be reset and the timer restarted, the rising edge of the reset command is triggered and connected to the reset terminal of the counter corresponding to the reset command.
[0040] The embodiments provided by this invention, through the aforementioned wind-powered cogeneration unit log system and its data storage method, achieve precise control over time metering and heating capacity data storage under the unit's heating mode. The cascaded design of multi-level counters ensures the accuracy of time accumulation, providing a reliable benchmark for time-sharing data storage; the data overlay mechanism efficiently retains key information within limited storage space, reducing hardware costs and improving data access efficiency; the power outage protection module and recovery function ensure data integrity and continuous system operation in case of emergencies; and the rolling transmission logic of total heating capacity and daily heating capacity further improves the data management architecture, enabling clear recording and orderly updating of the unit's long-term operating heat output trend and daily detailed data. This system and method effectively solve problems such as inaccurate time correlation, low data storage efficiency, and easy data loss due to abnormal power outages in the recording of wind-powered cogeneration unit operating data. It provides comprehensive and reliable data support for unit operating status assessment, heating efficiency analysis, and subsequent optimized scheduling, possessing strong practical value and promotional significance.
[0041] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A log system for a wind-powered combined heat and power unit, characterized in that, The wind power cogeneration unit log system includes a timer, a second counter, a minute counter, an hour counter, and a day counter. The output of the timer is connected to the increment interface of the second counter, the output of the second counter is connected to the increment interface of the minute counter, the output of the minute counter is connected to the increment interface of the hour counter, the output of the hour counter is connected to the increment interface of the day counter, and the output of the hour counter is also connected to the total heat production data storage system and the daily heat production data storage system.
2. The log system for wind power cogeneration units according to claim 1, characterized in that, The reset terminal of at least one of the second counter, minute counter, hour counter, and day counter is set to a clear signal.
3. The log system for wind power cogeneration units according to claim 1, characterized in that, In the total heat output data storage system, day n is the time the system has been in for the longest time since the current day, and day 1 is the time the system has been in for the shortest time since the current day. A total of n days of total heat output are recorded.
4. The log system for a wind power cogeneration unit according to claim 1, characterized in that, In the daily heat production data storage system, day n is the time the system has been in for the longest time since the current day, and day 1 is the time the system has been in for the shortest time since the current day. A total of n days of daily heat production are recorded.
5. The log system for a wind power cogeneration unit according to claim 1, characterized in that, The total heat output data storage system and the daily heat output data storage system are each equipped with a power failure protection module.
6. A data storage method for a wind power cogeneration unit log system, implemented based on the wind power cogeneration unit log system as described in any one of claims 1-5, characterized in that, The method includes: When the wind power cogeneration unit is put into operation and the system is working in heating mode, a timer is triggered, and the timer generates a rising edge every second. The rising edge of the timer is connected to the second counter increment interface. When the second counter counts to 60, the second counter is reset and simultaneously outputs a rising edge. The rising edge of the second counter is connected to the minute counter increment interface. When the minute counter counts to 60, the minute counter is reset and simultaneously outputs a rising edge. When the rising edge of the minute counter is connected to the hour counter increment interface, the hour counter is reset when the hour counter counts to 24, and the hour counter outputs a rising edge at the same time. The rising edge of the hour counter is connected to the day counter incrementing interface.
7. The data storage method for the log system of a wind power cogeneration unit according to claim 6, characterized in that, The method further includes: The rising edge of the time counter output triggers the transfer of the total heat production of day n-1 to the total heat production of day n, and at the same time outputs the rising edge n-1; The total heat output is transferred from day n-(k+1) to day nk according to the rising edge nk, and the total heat output is transferred sequentially according to the rising edge n-(k+1). The current total heating capacity is transferred to the total heating capacity of day 1 until the rising edge 1 is triggered, and the rising edge 0 is output at the same time.
8. The data storage method for the log system of a wind power cogeneration unit according to claim 7, characterized in that, The method further includes: The rising edge of the timer output to 0 triggers the daily heat data storage system, and the triggering process is as follows: The rising edge 0 triggers the transfer of the daily heating capacity of day n-1 to the daily heating capacity of day n, and at the same time outputs the rising edge n-1 of the day; The daily heat production is transferred from day n-(k+1) to day nk according to the single-day rising edge nk, and the single-day heat production is transferred sequentially according to the single-day rising edge n-(k+1). Until the rising edge 2 of a single day triggers the transfer of the daily heating capacity of day 1 to the daily heating capacity of day 2, and at the same time outputs the rising edge 1 of a single day, the rising edge 1 of a single day triggers the transfer of the difference between the total heating capacity of day 1 and the total heating capacity of day 2 to the daily heating capacity of day 1, and at the same time outputs the rising edge 0 of a single day.
9. The data storage method for the log system of a wind power cogeneration unit according to claim 6, characterized in that, The method further includes: When the system needs to be reset and the timer restarted, the rising edge of the reset command is triggered and connected to the reset terminal of the counter corresponding to the reset command.