Method for cleaning communication and collection data of energy consumption metering instrument in cigarette factory

By comparing meter readings with consumption, the system automatically cleans and corrects the energy consumption metering data in the cigarette factory, resolving data anomaly issues and ensuring the accuracy and orderliness of energy management.

CN116226109BActive Publication Date: 2026-05-01CHINA TOBACCO ZHEJIANG IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TOBACCO ZHEJIANG IND CO LTD
Filing Date
2023-03-02
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The energy management system of the cigarette factory has problems such as abnormal meter data, data jumps, and communication failures, which leads to inaccurate energy consumption measurement.

Method used

A method for cleaning communication data collected by energy consumption metering instruments in a cigarette factory is provided. By comparing the current and previous archived meter values, and combining the judgment of whether the meter has reached its full range and the consumption amount, the collected data is automatically cleaned and corrected to ensure the accuracy of consumption calculation.

Benefits of technology

It enables automatic cleaning and correction of energy metering data under various operating conditions, ensuring the orderly progress of energy conservation and emission reduction efforts and improving the accuracy and reliability of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116226109B_ABST
    Figure CN116226109B_ABST
Patent Text Reader

Abstract

The application discloses a cleaning method for communication collection data of energy consumption metering instruments in a cigarette factory, which comprises the following steps: obtaining a meter code value B2 collected this time; judging whether the meter code value B2 collected this time is less than a last time archived meter code value B1; if yes, determining a meter code value B and a consumption Y in a time interval between two times of collection according to whether the metering instrument is full of a range; if no, judging whether the consumption Y in the time interval between the two times of collection is normal according to a time period in which the collected data is located, and determining the meter code value B and the consumption Y in the time interval between the two times of collection according to a judgment result of the consumption Y. The cleaning method for communication collection data of energy consumption metering instruments in a cigarette factory can automatically clean and correct when factory energy metering collection data is abnormal, and can guarantee orderly promotion of energy saving and emission reduction work.
Need to check novelty before this filing date? Find Prior Art

Description

Cleaning method for communication data acquisition of energy consumption metering instruments in cigarette factories Technical Field

[0001] This invention relates to the field of energy management technology in cigarette factories, and in particular to a method for cleaning communication data collected by energy consumption metering instruments in cigarette factories. Background Technology

[0002] In the daily energy management work of cigarette factories, their energy management systems may encounter situations such as abnormal meter data, data jumps, communication failures, and even situations where meter data is reversed due to system reasons.

[0003] Therefore, there is an urgent need for a method to clean the communication data collected by energy consumption metering instruments in cigarette factories. Summary of the Invention

[0004] The purpose of this invention is to provide a method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, so as to solve the problems in the prior art. This method can automatically clean and correct data under various operating conditions when abnormalities occur in the data collected by energy metering instruments in cigarette factories.

[0005] This invention provides a method for cleaning communication data collected by energy consumption metering instruments in a cigarette factory, comprising the following steps:

[0006] Obtain the table code value B2 obtained in this collection;

[0007] Determine that the table code value B2 collected this time is less than the previously archived table code value B1;

[0008] If so, determine the meter code value B and the consumption Y between the two data collection intervals based on whether the meter has reached its full range.

[0009] If not, then determine whether the consumption Y during the interval between the two collections is normal based on the time period in which the data is collected, and determine the table code value B and the consumption Y during the interval between the two collections based on the judgment result of the consumption Y.

[0010] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably includes the following steps: If the meter code value B2 collected this time is less than the previously archived meter code value B1, then determining the meter code value B to be entered into the system and the consumption amount Y between the two collection intervals based on whether the meter has reached its full range.

[0011] If the meter code value does not flip from the full value of the meter to 0 and start counting again, then the meter code value B entered into the system this time is the previous archived meter code value B1, and the consumption Y during the interval between the two collections is 0.

[0012] If the meter reading flips from the full-scale value of the meter to 0 and starts counting again, the meter reading B entered into the system this time is the meter reading B2 collected this time. The consumption Y during the interval between the two collections is calculated using the following formula: Y = L - B1 + B2, where L represents the value of the meter at full scale.

[0013] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably involves determining whether the consumption amount Y during the interval between two collections is normal when the collected meter code value B2 is greater than or equal to the previously archived meter code value B1. Based on the time period of the collected data, and according to the determination of the consumption amount Y, the meter code value B to be entered into the system and the consumption amount Y during the interval between two collections are then determined. Specifically, this includes:

[0014] Determine the time period in which the collected data is located, wherein the time period in which the collected data is located is the normal production period Z, the abnormal production night shift and weekend period F, and the shutdown period T;

[0015] Within the corresponding time period, determine whether the consumption Y within the interval between the two collections is normal based on whether the difference between the current table code value B2 and the previous archived table code value B1 is greater than the product of the set upper limit of the consumption for the corresponding time period and the number of consecutive abnormalities n.

[0016] If the consumption Y is normal, the table code value B entered into the system this time is the table code value B2 collected this time, and the consumption Y between the two collection intervals is calculated by the following formula: Y = B2 - B1.

[0017] If the consumption Y is abnormal, the table code value B entered into the system this time will be the table code value B1 of the previous archive, and the consumption Y during the interval between the two collections will be 0; at the same time, the number of consecutive abnormalities n will be incremented by 1 until the consumption Y is normal.

[0018] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories as described above, preferably, involves determining whether the consumption Y within the interval between two collections is normal based on whether the difference between the currently collected meter code value B2 and the previously archived meter code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, this includes:

[0019] If the time period in which the data is collected is within the normal production time period Z, then determine whether the following formula B2-B1>nY is satisfied. Z上 , where Y Z上 This indicates the upper limit of usage during normal production periods;

[0020] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0021] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0022] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably involves calculating the upper limit value Y of energy consumption during normal production periods using the following formula. Z上 ,

[0023] Y Z上 =J*a,

[0024] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and a represents the upper limit coefficient of usage during the normal production period.

[0025] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably involves calculating the upper limit value Y of energy consumption during normal production periods using the following formula. Z上 ,

[0026] Y Z上 =J*a,

[0027] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and a represents the upper limit coefficient of usage during the normal production period.

[0028] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories as described above, preferably, involves determining whether the consumption Y within the interval between two collections is normal based on whether the difference between the currently collected meter code value B2 and the previously archived meter code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, this includes:

[0029] If the time period in which the data is collected is outside the normal production night shift and weekend period F, then determine whether the following formula B2-B1>nY is satisfied. F上 , where Y F上 This indicates the maximum usage limit during non-normal production night shifts and weekends;

[0030] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0031] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0032] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably involves calculating the upper limit value Y of energy consumption during non-normal production night shifts and weekend periods using the following formula. F上 ,

[0033] Y F上=J*b,

[0034] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and b represents the upper limit coefficient of usage during non-normal production night shifts and weekends.

[0035] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories as described above, preferably, involves determining whether the consumption Y within the interval between two collections is normal based on whether the difference between the currently collected meter code value B2 and the previously archived meter code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, this includes:

[0036] If the time period in which the data is collected is a production stoppage period T, then determine whether the following formula B2-B1>nY is satisfied. T上 , where Y T上 Indicates the maximum usage amount during the period of production stoppage;

[0037] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0038] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0039] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories, as described above, preferably involves calculating the upper limit value Y of the consumption during the shutdown period using the following formula. T上 ,

[0040] Y T上 =J*c,

[0041] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and c represents the upper limit coefficient of usage during the shutdown period.

[0042] The present invention provides a method for cleaning communication data collected by energy consumption metering instruments in cigarette factories. This method comprehensively determines the meter code value to be entered into the system and the consumption during the two collection intervals based on the comparison between the current collected meter code value and the previously archived meter code value, whether the meter has reached its full range, and whether the consumption during the interval between the two collections is normal. This method can automatically clean and correct abnormal energy metering data collected in the factory, ensuring the orderly progress of energy conservation and emission reduction efforts. Attached Figure Description

[0043] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described below with reference to the accompanying drawings, wherein:

[0044] Figure 1 is a flowchart of an embodiment of the cleaning method for communication data acquisition of energy consumption metering instruments in cigarette factories provided by the present invention;

[0045] Figure 2 is a logic block diagram of an embodiment of the method for cleaning communication data collected by energy consumption metering instruments in cigarette factories provided by the present invention. Detailed Implementation

[0046] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The descriptions of the exemplary embodiments are merely illustrative and are in no way intended to limit the present disclosure or its application or use. The present disclosure may be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that the present disclosure will be thorough and complete, and will fully express the scope of the disclosure to those skilled in the art. It should be noted that, unless specifically stated otherwise, the relative arrangement of components and steps, the composition of materials, numerical expressions, and values ​​set forth in these embodiments should be interpreted as exemplary only and not as limiting.

[0047] The terms “first,” “second,” and similar words used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different parts. Words such as “including” or “contains” mean that the element preceding the word encompasses the element listed after it, and do not exclude the possibility of encompassing other elements as well. Terms such as “above” and “below” are used only to indicate relative positional relationships; when the absolute position of the described object changes, this relative positional relationship may also change accordingly.

[0048] In this disclosure, when a specific component is described as being located between a first component and a second component, an intermediary component may or may not be present between the specific component and the first or second component. When a specific component is described as connecting to other components, the specific component may be directly connected to the other components without having an intermediary component, or it may not be directly connected to the other components but may have an intermediary component.

[0049] All terms used in this disclosure (including technical or scientific terms) have the same meaning as understood by one of ordinary skill in the art to which this disclosure pertains, unless otherwise specifically defined. It should also be understood that terms defined in a general dictionary, such as a dictionary, should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or highly formalized meaning, unless expressly defined herein.

[0050] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.

[0051] As shown in Figures 1 and 2, the method for cleaning communication data collected by energy consumption metering instruments in cigarette factories provided in this embodiment includes the following steps in actual implementation:

[0052] Step S1: Obtain the table code value B2 collected this time.

[0053] Step S2: Determine that the table code value B2 collected this time is less than the previously archived table code value B1.

[0054] Step S3: If yes, then determine the meter code value B and the consumption Y during the interval between the two data collections based on whether the meter has reached its full range.

[0055] In one embodiment of the cleaning method for communication acquisition data of energy consumption metering instruments in cigarette factories according to the present invention, step S3 may specifically include:

[0056] Step S31: If the meter code value does not flip from the full value of the meter to 0 and start counting again, then the meter code value B entered into the system this time is the previously archived meter code value B1, and the consumption Y during the interval between the two collections is 0.

[0057] Step S32: If the meter code value flips from the full value of the meter to 0 and starts counting again, then the meter code value B entered into the system this time is the meter code value B2 collected this time. The consumption Y between the two collection intervals is calculated by the following formula: Y = L - B1 + B2, where L represents the value of the meter when it is at full capacity.

[0058] Under normal circumstances, when the current table code value B2 is less than the previously archived value B1, the current table code value B is replaced by the previous value B1. There is one exception: if the table code value has flipped from its full value to 0 and is counting again, then a value B2 smaller than the previously archived value should be recorded. When calculating the consumption Y in this case, the consumption Y between the two data collection intervals is determined by subtracting the previously archived value B1 from the full-scale range L of the table, and then adding the current data collection value B2.

[0059] Step S4: If not, determine whether the consumption Y during the interval between the two collections is normal based on the time period in which the collected data is located, and determine the table code value B and the consumption Y during the interval between the two collections based on the judgment result of the consumption Y.

[0060] In one embodiment of the cleaning method for communication acquisition data of energy consumption metering instruments in cigarette factories according to the present invention, step S4 may specifically include:

[0061] Step S41: Determine the time period in which the collected data is located, wherein the time period in which the collected data is located is the normal production time period Z, the abnormal production night shift and weekend time period F, and the shutdown time period T.

[0062] Step S42: Within the corresponding time period, determine whether the consumption Y within the interval between the two collections is normal based on whether the difference between the current table code value B2 and the previous archived table code value B1 is greater than the product of the set upper limit of the consumption for the corresponding time period and the number of consecutive abnormalities n.

[0063] In one embodiment of the present invention, if the time period in which the data is collected is a normal production time period Z, then it is determined whether the following formula B2-B1>nY is satisfied. Z上 , where Y Z上 This represents the upper limit of usage during the normal production period, and the upper limit of usage Y during the normal production period is calculated using the following formula. Z上 ,

[0064] Y Z上 =J*a,

[0065] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and a represents the upper limit coefficient of usage during the normal production period.

[0066] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0067] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0068] In another embodiment of the present invention, if the time period in which the data is collected is the non-normal production night shift and weekend period F, then it is determined whether the following formula B2-B1>nY is satisfied. F上 , where Y F上 This represents the upper limit of usage during non-normal production night shifts and weekend periods, and the upper limit value Y for non-normal production night shifts and weekend periods is calculated using the following formula. F上 ,

[0069] Y F上 =J*b,

[0070] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and b represents the upper limit coefficient of usage during non-normal production night shifts and weekends.

[0071] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0072] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0073] In another embodiment of the present invention, if the time period in which the data is collected is a production stoppage period T, then it is determined whether the following formula B2-B1>nY is satisfied. T上 , where Y T上This represents the upper limit of usage during the shutdown period, and the upper limit of usage Y during the shutdown period is calculated using the following formula. T上 ,

[0074] Y T上 =J*c,

[0075] Where J represents the average usage value of the same month last year for the month in which the data point is collected, and c represents the upper limit coefficient of usage during the shutdown period.

[0076] If this condition is met, then the consumption Y during the interval between the two data collections is abnormal.

[0077] If this condition is not met, then the consumption Y during the interval between two data collections is normal.

[0078] Based on the actual operation of the factory, usage is divided into three categories: normal production time period Z, abnormal production night shift and weekend time period F, and shutdown time period T. Each time period has a corresponding upper limit for usage. When determining whether the consumption Y is abnormal, first determine the time period Z / F / T in which the data was collected, and then, within the corresponding time period, compare the current consumption B2-B1 with the set upper limit for consumption (Y). Z上 / Y F上 / Y T上 This is generated by comparing the number of consecutive anomalies (n). If the current consumption B2-B1 is less than or equal to the upper limit of consumption (Y)... Z上 / Y F上 / Y T上 If the current consumption is greater than the upper limit of consumption multiplied by the number of consecutive abnormalities (n), it is considered normal; if the current consumption is greater than the upper limit of consumption multiplied by the number of consecutive abnormalities, it is considered abnormal.

[0079] Step S43: If the consumption Y is normal, the table code value B entered into the system this time is the table code value B2 collected this time, and the consumption Y between the two collection intervals is calculated by the following formula: Y = B2 - B1.

[0080] Step S44: If the consumption Y is abnormal, the table code value B entered into the system this time is the table code value B1 of the previous archive, and the consumption Y during the interval between the two collections is 0; at the same time, the number of consecutive abnormalities n is incremented by 1 until the consumption Y is normal.

[0081] In this invention, when the current table code value B2 is greater than the previously archived value B1, it is determined whether the consumption Y is abnormal. If the consumption Y is normal, the current collection code B2 is archived; if the consumption Y is abnormal, the previous table code value B1 is archived, and a consecutive abnormality count n is recorded until the consumption Y is normal.

[0082] The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories provided in this embodiment of the invention comprehensively determines the meter code value to be entered into the system and the consumption during the two collection intervals based on the comparison result between the meter code value collected this time and the previously archived meter code value, whether the meter has reached its full range, and whether the consumption during the interval between the two collections is normal. This method can automatically clean and correct the energy metering data collected in the factory when it is abnormal, ensuring the orderly progress of energy conservation and emission reduction work.

[0083] The embodiments of this disclosure have now been described in detail. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.

[0084] While specific embodiments of this disclosure have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments or equivalent substitutions can be made to some technical features without departing from the scope and spirit of this disclosure. The scope of this disclosure is defined by the appended claims.

Claims

1. A method for cleaning communication data collected by energy consumption metering instruments in a cigarette factory, characterized in that, The process includes the following steps: obtaining the meter code value B2 collected this time; determining whether the meter code value B2 collected this time is less than the previously archived meter code value B1; if so, determining the meter code value B entered into the system this time and the consumption Y during the interval between two collections based on whether the meter has reached its full range; if the meter code value B2 collected this time is greater than or equal to the previously archived meter code value B1, determining whether the consumption Y during the interval between two collections is normal based on the time period in which the collected data is located, and determining the meter code value B entered into the system this time and the consumption Y during the interval between two collections based on the determination result of the consumption Y. Specifically, this includes... The process involves determining the time period in which the collected data falls, where the time period is defined as normal production time period Z, abnormal production night shift and weekend time period F, and production stoppage time period T. Within the corresponding time period, the process checks whether the consumption Y during the interval between two collections is normal, based on whether the difference between the currently collected table code value B2 and the previously archived table code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. If the consumption Y is normal, then the table code value B entered into the system this time is the currently collected table code value B2, and the consumption Y during the interval between two collections is calculated using the following formula. If the consumption Y is abnormal, the current system input code value B is the previously archived code value B1, and the consumption Y during the interval between two data collections is 0. Simultaneously, the consecutive abnormal count n is incremented by 1 until the consumption Y returns to normal. If the current data collection code value B2 is less than the previously archived code value B1, the determination of the current system input code value B and the consumption Y during the interval between two data collections based on whether the meter has reached its full range includes: if the meter value has not flipped from its full value to 0 and is recounting, the current system input code value B is the previously archived code value B1, and the consumption Y during the interval between two data collections is 0; if the meter value has flipped from its full value to 0 and is recounting, the current system input code value B is the current data collection code value B2, and the consumption Y during the interval between two data collections is calculated using the following formula. , where L represents the value of the meter at full scale.

2. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 1, characterized in that, Within the corresponding time period, the method determines whether the consumption Y within the interval between two collections is normal based on whether the difference between the currently collected table code value B2 and the previously archived table code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, this includes: if the time period in which the collected data is located is a normal production time period Z, then determining whether the following formula is satisfied. ,in, This represents the upper limit of consumption during normal production periods; if it is met, the consumption Y during the interval between two data collections is abnormal; if it is not met, the consumption Y during the interval between two data collections is normal.

3. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 2, characterized in that, The upper limit of usage during normal production periods can be calculated using the following formula. , Where J represents the average usage value of the same month last year for the month in which the data point is collected, and a represents the upper limit coefficient of usage during the normal production period.

4. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 1, characterized in that, Within the corresponding time period, the method determines whether the consumption Y during the interval between two collections is normal based on whether the difference between the currently collected table code value B2 and the previously archived table code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, if the time period in which the data is collected is an abnormal production night shift and weekend period F, then it is determined whether the following formula is satisfied. ,in, This indicates the upper limit of usage during non-normal production night shifts and weekends; if this limit is met, the consumption Y during the interval between two data collections is abnormal; if this limit is not met, the consumption Y during the interval between two data collections is normal.

5. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 4, characterized in that, The upper limit of usage during non-normal production night shifts and weekends is calculated using the following formula. , Where J represents the average usage value of the same month last year for the month in which the data point is collected, and b represents the upper limit coefficient of usage during non-normal production night shifts and weekends.

6. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 1, characterized in that, Within the corresponding time period, the method determines whether the consumption Y within the interval between two collections is normal based on whether the difference between the current collected table code value B2 and the previously archived table code value B1 is greater than the product of the set upper limit of consumption for the corresponding time period and the number of consecutive abnormalities n. Specifically, this includes: if the time period in which the collected data is located is a production stoppage period T, then determining whether the following formula is satisfied. ,in, This indicates the upper limit of usage during the shutdown period; if it is met, the consumption Y during the interval between two data collections is abnormal; if it is not met, the consumption Y during the interval between two data collections is normal.

7. The method for cleaning communication data collected by energy consumption metering instruments in cigarette factories according to claim 6, characterized in that, The upper limit of usage during the shutdown period can be calculated using the following formula. , Where J represents the average usage value of the same month last year for the month in which the data point is collected, and c represents the upper limit coefficient of usage during the shutdown period.

Citation Information

Patent Citations

  • Acquisition fault point automatic diagnosis and repairing method

    CN108362958A

  • Metering automation system ammeter time-sharing meter code abnormity determination and restoration method

    CN111141950A