A method and system for intelligent cleaning of boiler historical data
Three cluster trees are generated through the agglomerative clustering method to identify and process outliers in boiler pressure data, solving the problem of inaccurate boiler pressure data cleaning in the existing technology and improving data quality and work efficiency.
Patent Information
- Application Number
- CN202410650712.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-24
AI Technical Summary
It is difficult to accurately identify and clean abnormal data in boiler pressure data with existing technology, resulting in low data quality and affecting the safe and stable operation of the boiler.
The agglomerative clustering method is used to generate three clustering trees based on the pressure differences of all adjacent data points in the boiler historical data. Outliers are identified and processed through an improved similarity measurement method to achieve more accurate data cleaning.
It improves the accuracy and reliability of boiler pressure data, saves analysts' time and energy, improves work efficiency, and enables more accurate monitoring and cleaning of abnormal data.
Smart Images

Figure CN118227971B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an intelligent cleaning method and system for boiler historical data. Background Art
[0002] A boiler is a device used to generate steam or heat water. It is commonly used in industrial production, heating, power generation and other fields. Its data monitoring is of great significance for ensuring the safe and stable operation of equipment, improving energy utilization efficiency, preventive maintenance and complying with regulatory requirements. Among them, accurate monitoring of boiler pressure data is very important, and boiler pressure is one of the key parameters affecting the safe operation of the boiler. Boiler pressure data may be affected by various interferences and noises, such as sensor failure, signal drift, data loss, etc., resulting in low data quality. Through data cleaning, these abnormal data can be identified and processed, the accuracy and reliability of the data can be improved, the time and energy of analysts can be saved, and work efficiency can be improved.
[0003] In the related art, outlier detection is used to realize the identification and cleaning of boiler pressure data. In this method, since the boiler pressure data has a large variation range and the demand for boiler pressure in different time periods is different, it is impossible to accurately identify abnormal data in the boiler pressure data and perform effective cleaning based solely on the outlier detection method. Summary of the invention
[0004] In view of the above problems, the present application provides an intelligent cleaning method and system for boiler historical data, which takes the pressure difference of all adjacent data points as the initial cluster center, and uses an agglomerative clustering method to generate three clustering trees based on three improved suitable similarity measurement methods, thereby identifying and processing outliers based on the relationship between the pressure difference and the three clustering trees to clean abnormal data and more accurately monitor the boiler pressure data.
[0005] In a first aspect, an embodiment of the present application provides a method for intelligently cleaning boiler historical data, comprising:
[0006] Obtain historical boiler pressure data;
[0007] According to the pressure difference between all adjacent data points in the boiler historical pressure data, the initial clustering cluster is obtained;
[0008] According to the characteristic variation form of the pressure difference in the initial clusters, the preliminary similarities of the three different stages corresponding to the initial clusters are obtained;
[0009] According to the continuity of the pressure difference in different stages, the corresponding preliminary similarities are corrected to obtain the final similarities corresponding to the three different stages;
[0010] According to the final similarities of the three different stages, the initial clusters are clustered in an agglomerative manner to obtain clustering trees corresponding to the three different stages;
[0011] The cleaning data is determined based on the relationship between the pressure difference corresponding to the boiler's historical pressure data and the clustering trees at three different stages.
[0012] In a possible implementation, according to the characteristic variation form of the pressure difference in the initial clustering clusters, preliminary similarities of three different stages corresponding to the initial clustering clusters are obtained, including:
[0013] According to the characteristic variation form of the pressure difference in the initial clustering clusters, the initial clustering clusters of three different stages, namely, the boiler pressure stable stage, the boiler pressure rising stage, and the boiler pressure falling stage, are obtained;
[0014] According to the initial clustering clusters of the three different stages, namely, the boiler pressure stabilization stage, the boiler pressure rising stage, and the boiler pressure decreasing stage, the preliminary similarities of the three different stages corresponding to the initial clustering clusters are obtained.
[0015] In a possible implementation, the method further includes:
[0016] In the boiler pressure stabilization stage, the pressure difference tends to 0, and the pressure data of the data points corresponding to the pressure difference tend to be consistent or tend to the daytime stable pressure data and the nighttime stable pressure data respectively;
[0017] In the boiler pressure rising stage, the pressure difference is greater than 0, and the pressure difference presents an exponential function form;
[0018] During the boiler pressure drop stage, the pressure difference is less than 0, and the pressure difference presents an exponential function form.
[0019] In a possible implementation, the corresponding preliminary similarities are corrected according to the continuity of the pressure difference in different stages to obtain the final similarities corresponding to three different stages, including:
[0020] The corresponding preliminary similarities are corrected according to the preliminary similarities of the 10 pressure difference values on the side with the highest preliminary similarity, and the final similarities corresponding to the three different stages are obtained.
[0021] In a possible implementation, the method further includes:
[0022] The calculation formulas for the final similarity corresponding to the three stages of boiler pressure stabilization, boiler pressure increase, and boiler pressure decrease are:
[0023]
[0024]
[0025]
[0026] in, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The final similarity between represents the maximum and minimum normalization function, i represents the pressure difference in the corresponding three clustering trees The i-th one on the side with the highest similarity, j represents the pressure difference value in the corresponding three clustering trees The jth one on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the i-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the j-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The initial similarity between .
[0027] In a possible implementation, the initial clusters are clustered according to the final similarities of the three different stages to obtain clustering trees corresponding to the three different stages, including:
[0028] According to the difference between the final similarity of the two initial clusters to be merged corresponding to the three different stages and the similarity fluctuations of all previous merges, the termination similarity is determined;
[0029] The termination similarity is compared with the first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages.
[0030] In a possible implementation, the calculation formula for terminating similarity is:
[0031]
[0032] in, It means that for cluster tree A, The similarity fluctuation difference between the most similar cluster of the merged state and the similarity fluctuation difference between the similar clusters of the previous merges, Indicates merge, represents the similarity of the most similar clusters merged for the kth time, Indicates The similarity of the most similar clusters merged Indicates that before a clustering tree The average similarity of the most similar clusters merged.
[0033] In a possible implementation, the termination similarity is compared with a first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages, including:
[0034] When the similarity is greater than a first preset threshold, clustering is terminated;
[0035] When the termination similarity is less than or equal to the first preset threshold, the clusters are merged and updated to obtain clustering trees corresponding to three different stages.
[0036] In a possible implementation, the first preset threshold is 0.3.
[0037] In a second aspect, an embodiment of the present application provides an intelligent cleaning system for boiler historical data, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, various possible embodiments of the first aspect are implemented.
[0038] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed in a computer, the computer is caused to execute various possible implementation embodiments of the first aspect.
[0039] The beneficial effect of the present application is that the present application uses the pressure difference of all adjacent data points as the initial cluster center, and uses the agglomerative clustering method to generate a cluster tree according to the similarity. Because three cluster trees need to be generated at the same time, three suitable similarity measurement methods are improved for all initial cluster centers, and the two clusters with the closest similarity are first found, and the clusters are merged to form three new clusters. The merger is then recalculated, and the similarity threshold is set to determine the conditions under which the three trees are not updated. Three cluster trees are obtained. If there are still pressure differences that are not on the three trees, then the corresponding data points are the data points that should be cleaned. The present application can be used to identify and process outliers to clean abnormal data and more accurately monitor boiler pressure data. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 This is a schematic diagram of boiler historical data changing over time provided by an embodiment of the present application;
[0042] Figure 2 It is a flowchart of the steps of an intelligent cleaning method for boiler historical data provided by an embodiment of the present application;
[0043] Figure 3 It is a structural block diagram of a boiler historical data intelligent cleaning system provided in an embodiment of the present application;
[0044] Figure 4 It is a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a boiler historical data intelligent cleaning method and system proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0047] The purpose of this application is to generate three clustering trees based on agglomerative clustering to exclude data points corresponding to pressure differences that are not on the tree for data cleaning. Figure 1 As shown in the figure, it can be seen that during the daytime stable period, due to the large energy demand of factories and buildings, the boiler load is high, and the pressure state is relatively stable. Then it gradually decreases until the night stable period. During the night stable period, the boiler load is usually small, and the boiler pressure may be relatively stable at a low level. Then it gradually rises until the daytime stable period. Therefore, according to the difference between adjacent data points, it can be clustered into stable period, rising period, and falling period, and different clustering trees corresponding to the three periods can be determined. Then, according to whether the difference is in the clustering tree, abnormal data can be determined, and then the abnormal data can be cleaned.
[0048] The specific scheme of the intelligent cleaning method and system for boiler historical data provided by the present invention is described in detail below in conjunction with the accompanying drawings.
[0049] See also Figure 2 , which shows a method flow chart of a method for intelligent cleaning of boiler historical data provided by an embodiment of the present invention. The embodiment of the present application discloses a method for intelligent cleaning of boiler historical data, comprising:
[0050] Step S11, obtaining historical boiler pressure data;
[0051] Step S12, obtaining initial clusters according to the pressure differences between all adjacent data points in the boiler historical pressure data;
[0052] Step S13, obtaining preliminary similarities of three different stages corresponding to the initial clusters according to the characteristic variation form of the pressure difference in the initial clusters;
[0053] Step S14, correcting the corresponding preliminary similarities according to the continuity of the pressure difference values at different stages, and obtaining the final similarities corresponding to the three different stages;
[0054] Step S15, performing agglomerative clustering on the initial clusters according to the final similarities of the three different stages, to obtain clustering trees corresponding to the three different stages;
[0055] Step S16, determining the cleaning data according to the relationship between the pressure difference corresponding to the historical pressure data of the boiler and the clustering trees at three different stages.
[0056] The historical pressure data of the boiler is collected by a pressure sensor. Specifically, a pressure sensor is installed in the boiler to monitor the pressure data once every half a minute, thereby obtaining the historical pressure data of the boiler, and the method of obtaining the data is not specifically limited here.
[0057] In the steps of the above embodiment, the pressure sensor installed in the boiler is used to obtain the historical pressure data of the boiler, and then the initial clustering cluster is obtained according to the pressure difference between all adjacent data points in the historical pressure data of the boiler, and then the initial similarity of the three different stages corresponding to the initial clustering cluster is obtained according to the characteristic change form of the pressure difference in the initial clustering cluster, and then the corresponding preliminary similarity is corrected according to the continuity of the pressure difference in different stages to obtain the final similarity corresponding to the three different stages, and then the initial clustering cluster is agglomerated clustered according to the final similarity of the three different stages to obtain the clustering trees corresponding to the three different stages, and finally the cleaning data is determined according to the relationship between the pressure difference corresponding to the historical pressure data of the boiler and the clustering trees of the three different stages. The embodiment of the present application uses the pressure difference of all adjacent data points as the initial clustering center, and generates a clustering tree according to the similarity using the agglomerated clustering method. Because three clustering trees need to be generated at the same time, three appropriate similarity measurement methods are improved for all initial cluster centers. The two clusters with the closest similarity are found first, and the clusters are merged to form three new clusters. The merger is recalculated, and the similarity threshold is set to determine the conditions under which the three trees are not updated. Three clustering trees are obtained. If there are still pressure differences that are not on the three trees, then the corresponding data points are the data points that should be cleaned. The application can be used to identify and process outliers to clean abnormal data and monitor boiler pressure data more accurately.
[0058] It should be noted that the pressure difference between all adjacent data points (the latter minus the former) is used as the initial cluster. If we want to generate a cluster tree (Cluster Tree A) for the pressure difference between the daytime stable period and the nighttime stable period according to the agglomerative clustering method; generate a cluster tree (Cluster Tree B) for the pressure difference during the pressurization period according to the agglomerative clustering method; and generate a cluster tree (Cluster Tree C) for the pressure difference during the decompression period according to the agglomerative clustering method, we need to determine the changes in the differences within these trees based on feature analysis to determine the similarity measurement method for the initial clusters, and then determine the termination similarity of each tree based on the difference characteristics of several periods, and continuously merge and update the clusters based on the similarity, so that three cluster trees are generated in all pressure difference data points.
[0059] In an optional embodiment of the present application, according to the characteristic variation form of the pressure difference in the initial clustering cluster, the preliminary similarities of three different stages corresponding to the initial clustering cluster are obtained, including:
[0060] According to the characteristic variation form of the pressure difference in the initial clustering clusters, the initial clustering clusters of three different stages, namely, the boiler pressure stable stage, the boiler pressure rising stage, and the boiler pressure falling stage, are obtained;
[0061] According to the initial clustering clusters of the three different stages, namely, the boiler pressure stabilization stage, the boiler pressure rising stage, and the boiler pressure decreasing stage, the preliminary similarities of the three different stages corresponding to the initial clustering clusters are obtained.
[0062] Further, in an optional embodiment of the present application, in the boiler pressure stabilization stage, the pressure difference values all tend to 0, and the pressure data of the data points corresponding to the pressure difference values tend to be consistent or tend to the daytime stable pressure data and the nighttime stable pressure data respectively;
[0063] In the boiler pressure rising stage, the pressure difference is greater than 0, and the pressure difference presents an exponential function form;
[0064] During the boiler pressure drop stage, the pressure difference is less than 0, and the pressure difference presents an exponential function form.
[0065] It should be noted that in order to determine three appropriate similarity measurement methods for the initial clusters, the pressure difference values of cluster A should all tend to 0, and the pressure values of the data points corresponding to the difference values should tend to be consistent or tend to the daytime pressure value and the nighttime pressure value respectively; the pressure difference values of cluster B should all be greater than 0, and the difference values present an exponential function form; the pressure difference values of cluster C should all be less than 0, and the difference values also present an exponential function as time changes; based on this, the three preliminary similarity measurement methods for clustering are determined. Specifically, in cluster B, the difference values present an exponential function. In the C clustering tree, the difference presents an exponential function In the form of, the coefficients k and b, s and c can be determined according to the pressure difference, which will be described in detail below and will not be repeated here.
[0066] It should be further explained that, in the embodiment of the present application, it is assumed that for adjacent pressure data points between( in front, The pressure difference at the rear is , data points ( in front, The pressure difference between ,( In front) and based on the above description, the following formula is constructed to represent the pressure difference in the A clustering tree Initial similarity:
[0067]
[0068]
[0069]
[0070]
[0071] in, Represents the pressure difference in cluster tree A Initial similarity, represents the maximum and minimum normalized function, represents the logarithmic function, represents the selection of the maximum value function, It means the process of correcting the data points with the difference. represents the reciprocal of the exponential function with base e, Represents data points The corresponding pressure value, Represents data points The corresponding time value, Represents data points The corresponding pressure value, Represents data points The corresponding time value, Indicates the pressure data value corresponding to the sunrise stable period, Indicates the data value corresponding to the pressure during the sunset stable period, Indicates condition 1, Indicates condition 2, Indicates the end time of heating and pressurization. Indicates the start time of temperature and pressure reduction. Indicates the end time of temperature and pressure reduction. The moment when heating and pressurization start.
[0072] At the same time, it should be further explained that in the above formula, the difference between the sunrise stable period and the night stable period should be clustered to point A. The characteristics of these differences are that they tend to 0, so the pressure difference in cluster tree A is calculated. When calculating the initial similarity, the smaller the absolute value of the maximum difference, the higher the similarity, which is an inverse proportional function. A logarithmic function is used to construct this relationship. In addition, the pressure difference in the A clustering tree They should both be located in the stable sunrise period and the stable night period. If they are in the same period, that is, condition 1, the smaller the pressure difference between the corresponding points, the higher the similarity, showing an inverse proportional relationship. Here, exp(-) is used to construct this relationship. If they are located in these two periods respectively, that is, condition 2, the difference should tend to be the pressure corresponding to the stable sunrise period minus the pressure of the stable night period (here, all pressure values can be clustered by k-means, selecting k=2, and the cluster center is the pressure of the two periods). The smaller the difference, the higher the similarity, showing an inverse proportional relationship. Therefore, exp(-) is used to construct the above relationship.
[0073] It should be further explained that since the difference in the B cluster tree presents an exponential function The time point where the difference occurs is the mean of the time of the adjacent data points, so the following formula is constructed to represent the pressure difference in the B clustering tree: Initial similarity:
[0074]
[0075]
[0076] in, Indicates the pressure difference in the B clustering tree Initial similarity, represents the maximum and minimum normalized function, Indicates pressure difference Determined exponential function The number of upper difference clusters, Represents a screening process.
[0077] At the same time, for the above formula, it is necessary to further explain that the pressure difference of the B clustering tree should be greater than 0. Perform a screening and present the difference The exponential function form of , so we can first determine the k and b coefficients according to the two differences, and then determine the number of difference clusters on this exponential function for calculation. The more the difference clusters, the higher the similarity, showing a positive proportional relationship. Therefore, the calculation of the preliminary similarity of the B clustering tree can be realized.
[0078] It should be further explained that since the difference in the C clustering tree presents an exponential function In the form of, the following formula is constructed to represent the pressure difference in the C clustering tree Initial similarity:
[0079]
[0080]
[0081] in, Represents the pressure difference in the C clustering tree Initial similarity, represents the maximum and minimum normalized function, Indicates pressure difference Determined exponential function The number of upper difference clusters, Represents a screening process.
[0082] At the same time, for the above formula, it is necessary to further explain that the pressure difference of the B clustering tree should be less than 0. Perform a screening and present the difference The exponential function form of , so we can first determine the s and c coefficients according to the two differences, and then determine the number of difference clusters on this exponential function for calculation. The more the difference clusters, the higher the similarity, showing a positive proportional relationship. Therefore, the calculation of the preliminary similarity of the C clustering tree can be realized.
[0083] In an optional embodiment of the present application, the corresponding preliminary similarities are corrected according to the continuity of the pressure difference values at different stages to obtain the final similarities corresponding to three different stages, including:
[0084] The corresponding preliminary similarities are corrected according to the preliminary similarities of the 10 pressure difference values on the side with the highest preliminary similarity, and the final similarities corresponding to the three different stages are obtained.
[0085] Furthermore, the embodiment of the present application also includes: the calculation formulas of the final similarity corresponding to the three stages of boiler pressure stabilization stage, boiler pressure rising stage, and boiler pressure falling stage are respectively:
[0086]
[0087]
[0088]
[0089] in, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The final similarity between represents the maximum and minimum normalization function, i represents the pressure difference in the corresponding three clustering trees The i-th one on the side with the highest similarity, j represents the pressure difference value in the corresponding three clustering trees The jth one on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the i-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the j-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The initial similarity between .
[0090] It should be noted that for the data difference between daytime stability and nighttime stability, due to its continuity, in cluster A, it must have a high similarity with the difference values of the 10 points on one side. Therefore, the formula is constructed to determine the ten points with the highest similarity on one side for correction. Therefore, for cluster tree A, the pressure difference in cluster tree A is The final similarity is:
[0091]
[0092] in, Represents the pressure difference in cluster tree A The final similarity, represents the maximum and minimum normalization function, i represents the difference between cluster A and pressure The i-th one on the side with the highest similarity, j represents the pressure difference between cluster A and The jth one on the side with the highest similarity, Indicates the pressure difference of cluster A The similarity with the i-th pressure difference value on the side with the highest similarity, Indicates the pressure difference of cluster A The similarity with the j-th pressure difference value on the side with the highest similarity, Indicates the pressure difference of cluster A The initial similarity.
[0093] Similarly, the pressure difference in cluster trees B and C can be constructed separately The final similarity, the specific formula is as described above, and will not be repeated here.
[0094] It should be further explained that in this application, since the agglomerative clustering method finds two clusters with the highest similarity each time to merge into a new cluster, then finds two clusters with the highest similarity to merge into a new cluster, and finally generates a cluster tree. Because abnormal differences need to be screened here, not all differences can be generated into the tree. Here, it is required to determine the termination condition of each tree, and to generate three cluster trees. Here, the similarity of the two clusters merged at a certain time and the fluctuation difference of the similarity of all previous merges are used to determine the termination similarity. In this way, the pressure difference data can be generated into three trees respectively, and three cluster trees are determined.
[0095] In an optional embodiment of the present application, the initial clusters are subjected to agglomerative clustering according to the final similarities of the three different stages, and clustering trees corresponding to the three different stages are obtained, including:
[0096] According to the difference between the final similarity of the two initial clusters to be merged corresponding to the three different stages and the similarity fluctuations of all previous merges, the termination similarity is determined;
[0097] The termination similarity is compared with the first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages.
[0098] Furthermore, the calculation formula for the termination similarity is:
[0099]
[0100] in, It means that for cluster tree A, The similarity fluctuation difference between the most similar cluster of the merged state and the similarity fluctuation difference between the similar clusters of the previous merges, Indicates merge, represents the similarity of the most similar clusters merged for the kth time, Indicates The similarity of the most similar clusters merged Indicates that before a clustering tree The average similarity of the most similar clusters merged.
[0101] In an optional embodiment of the present application, the termination similarity is compared with a first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages, including:
[0102] When the similarity is greater than a first preset threshold, clustering is terminated;
[0103] When the termination similarity is less than or equal to the first preset threshold, the clusters are merged and updated to obtain clustering trees corresponding to three different stages.
[0104] In an optional embodiment of the present application, the first preset threshold is 0.3.
[0105] It should be noted that to determine the termination similarity of cluster tree A, we can calculate it based on the difference between a certain similarity and the previously determined similarity. If the difference is too large, it proves that the clustering process should be terminated. The difference between the similarity of this fluctuation and the previous similarity fluctuations, that is, the termination similarity is as described in the above formula. Specifically, because we need to find the termination condition of A condensed clustering tree, otherwise all data points can be clustered according to similarity. Here A is the clustering of the daytime stable period and the nighttime stable period. So when searching according to the similarity, the difference in similarity each time should not be large. If the similarity of a certain time is too different from the previous similarity, the average difference value of the similarity is divided by the previous similarity average value. If it is too large, the condensed clustering tree is terminated. In the embodiment of the present application, if the termination similarity (difference) is greater than 0.3, it is terminated. In addition, by the same token, the termination similarity formula of B and C clustering trees can be constructed, and the termination conditions are similar, which will not be described in detail here.
[0106] See also Figure 3 As shown, an embodiment of the present application discloses a boiler historical data intelligent cleaning system 20, including a processor 21 and a memory 22; wherein the memory 22 is used to store computer programs; the processor 21 is used to implement the boiler historical data intelligent cleaning method provided by the aforementioned method embodiment by executing the computer program.
[0107] For the specific process of the above-mentioned intelligent cleaning method for boiler historical data, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be described in detail here.
[0108] Furthermore, the memory 22, as a carrier for storing resources, may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the storage method may be temporary storage or permanent storage.
[0109] In addition, the electronic device 20 also includes a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26; wherein the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input / output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0110] Furthermore, the present application also discloses a computer-readable storage medium. Figure 4 As shown, it is used to store a computer program 31, wherein when the computer program is executed by a processor, the intelligent cleaning method for boiler historical data provided by the aforementioned method embodiment is implemented.
[0111] For the specific process of the above-mentioned intelligent cleaning method for boiler historical data, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be described in detail here.
[0112] The embodiment of the present application also provides a computer program product containing instructions. When the computer program product is run on a computer, it enables the computer to execute the intelligent cleaning method for boiler historical data shown in the method embodiment of the present application.
[0113] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0114] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0115] The above is a detailed introduction to the intelligent cleaning method and system for boiler historical data provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0116] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the phased results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0117] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for intelligent cleaning of boiler historical data, characterized in that: The method comprises: Obtain historical boiler pressure data; Obtaining initial clusters according to the pressure differences between all adjacent data points in the boiler historical pressure data; According to the characteristic variation form of the pressure difference in the initial clustering clusters, obtaining the preliminary similarities of three different stages corresponding to the initial clustering clusters; Correcting the corresponding preliminary similarities according to the continuity of the pressure difference values at different stages to obtain final similarities corresponding to three different stages; Performing agglomerative clustering on the initial clusters according to the final similarities at three different stages to obtain clustering trees corresponding to the three different stages; Determine cleaning data according to the relationship between the pressure difference corresponding to the historical pressure data of the boiler and the clustering trees at three different stages; According to the characteristic variation form of the pressure difference in the initial clustering cluster, the preliminary similarities of three different stages corresponding to the initial clustering cluster are obtained, including: According to the characteristic variation form of the pressure difference in the initial clustering clusters, the initial clustering clusters in three different stages, namely, the boiler pressure stabilization stage, the boiler pressure rising stage, and the boiler pressure falling stage, are obtained; According to the initial clustering clusters in three different stages, namely, boiler pressure stabilization stage, boiler pressure rising stage, and boiler pressure falling stage, obtaining preliminary similarities of the three different stages corresponding to the initial clustering clusters; In the boiler pressure stabilization stage, the pressure difference values all tend to 0, and the pressure data of the data points corresponding to the pressure difference values tend to be consistent or tend to the daytime stable pressure data and the nighttime stable pressure data respectively; In the boiler pressure rising stage, the pressure difference is greater than 0, and the pressure difference presents an exponential function form; During the boiler pressure drop stage, the pressure difference is less than 0, and the pressure difference presents an exponential function form.
2. The intelligent cleaning method for boiler historical data according to claim 1 is characterized in that: The corresponding preliminary similarities are corrected according to the continuity of the pressure difference in different stages to obtain the final similarities corresponding to three different stages, including: The corresponding preliminary similarities are corrected according to the preliminary similarities of the 10 pressure difference values on the side with the highest preliminary similarity, so as to obtain final similarities corresponding to three different stages.
3. The intelligent cleaning method for boiler historical data according to claim 2 is characterized in that: Further including: The calculation formulas for the final similarity corresponding to the three stages of boiler pressure stabilization stage, boiler pressure rising stage, and boiler pressure falling stage are respectively: in, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The final similarity between represents the maximum and minimum normalization function, i represents the pressure difference in the corresponding three clustering trees The i-th one on the side with the highest similarity, j represents the pressure difference value in the corresponding three clustering trees The jth one on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the i-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The similarity with the j-th pressure difference value on the side with the highest similarity, , , Respectively represent the pressure difference in cluster tree A, cluster tree B, and cluster tree C corresponding to the three stages The initial similarity between .
4. The intelligent cleaning method for boiler historical data according to claim 2 is characterized in that: The initial clusters are subjected to agglomerative clustering according to the final similarities at three different stages, to obtain clustering trees corresponding to the three different stages, including: According to the difference between the final similarity of the two initial clusters to be merged corresponding to the three different stages and the similarity fluctuations of all previous merges, the termination similarity is determined; The termination similarity is compared with the first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages.
5. The intelligent cleaning method for boiler historical data according to claim 4 is characterized in that: include: The calculation formula of the termination similarity is: in, It means that for cluster tree A, The similarity fluctuation difference between the most similar cluster of the merged cluster and the similarity fluctuation difference between the similar clusters of the previous merges, Indicates merge, represents the similarity of the most similar clusters merged for the kth time, Indicates The similarity of the most similar clusters merged Indicates that before a clustering tree The average similarity of the most similar clusters merged.
6. The intelligent cleaning method for boiler historical data according to claim 4 is characterized in that: The termination similarity is compared with the first preset threshold, and the clusters are updated according to the comparison result to obtain clustering trees corresponding to three different stages, including: When the similarity is greater than a first preset threshold, clustering is terminated; When the termination similarity is less than or equal to the first preset threshold, the clusters are merged and updated to obtain clustering trees corresponding to three different stages.
7. The intelligent cleaning method for boiler historical data according to claim 6 is characterized in that: include: The first preset threshold is 0.
3.
8. An intelligent cleaning system for boiler historical data, characterized in that: include: processor; a memory for storing a computer program executed by the processor; Wherein, when the processor executes the computer program, the intelligent cleaning method for boiler historical data according to any one of claims 1 to 7 is implemented.
